PageSourceSearch

https://app.getpaloma.com/_next/static/chunks/pages/marketing-4ed06b7674561966.js

js getpaloma.com collected 2026-09-26 02:59:16 UTC 6,364 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3664],{82333:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/marketing",function(){return t(88565)}])},40085:(e,a,t)=>{"use strict";t.d(a,{_:()=>s});var l=t(74848),r=t(89459);let i=e=>{let{name:a,valid:t}=e;return(0,l.jsxs)("span",{className:"".concat(t?"text-success-highlight":"text-gray-dark"," flex items-center pr-4 whitespace-nowrap"),children:[(0,l.jsx)(r.A,{className:"block mr-2 md:mr-1",src:t?"/images/icons/ellipse-green.svg":"/images/icons/ellipse-gray.svg",width:8,height:8}),a]})},s=e=>{let{hasNumber:a,hasSpecialCharacter:t,reachedCharacterCount:r}=e;return(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"justify-start flex-row flex-wrap flex mb-4",children:[(0,l.jsx)(i,{name:"One number",valid:a}),(0,l.jsx)(i,{name:"One special character",valid:t}),(0,l.jsx)(i,{name:"8 characters minimum",valid:r})]})})}},91990:(e,a,t)=>{"use strict";t.d(a,{A:()=>r});var l=t(86715);function r(){var e;switch(null===(e=(0,l.useRouter)().query)||void 0===e?void 0:e.error){case"general":return"An unexpected error occurred! Please refresh and try again. If the error persists please contact support by clicking the Help icon.";case"merchant_already_exists":return"This store already exists in Paloma. Please try to connect to a different store.";case"authorization_failed":return"An authorization error occurred! Please refresh and try again. If the error persists please contact support by clicking the Help icon.";case"user_denied":return"An authorization error occurred! Please reconnect to your store and allow the connection.";case"email_already_exists":return"An account with this email already exists. Please try using a different email.";case"invalid_shopify_domain":return"Your shopify domain was invalid. Please try again using a different Shopify store or check your store's settings and setup before trying again.";case"user_canceled_facebook_auth":return"Facebook linking canceled. Please refresh and try again.";default:return null}}},88565:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>v});var l=t(74848),r=t(96540),i=t(86715),s=t(82746),n=t(94335),o=t(69258),u=t
1(24186),c=t(13260),d=t(91990),m=t(48784),h=t(40085);t(96124);var p=t(91309);function v(){var e;let a=(0,i.useRouter)(),[t,v]=(0,r.useState)(""),[f,g]=(0,r.useState)(""),[y,x]=(0,r.useState)(""),[b,w]=(0,r.useState)(!1),[_,j]=(0,r.useState)(null),[N,k]=(0,r.useState)(null),[A,S]=(0,r.useState)(""),[P,q]=(0,r.useState)(""),E=(null==P?void 0:P.length)>=8,C=/\d+/g.test(P),I=/[ `!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~]/g.test(P),O=(0,u.A)("api/signup/email_subscriptions","post",null),T=(0,u.A)("api/signup","post",null,{onSuccess:e=>{var l,r,i,s;O.mutate({email:t,optIn:!0}),w(!1);let{redirect:n}=null==a?void 0:a.query;if(e&&(0,o.f7)(e.token),n)return(null==e?void 0:null===(r=e.current_user)||void 0===r?void 0:r.verified_email)===!1?a.push("".concat(n,"&modal=email-verification")):a.push(n);(null==e?void 0:null===(l=e.current_user)||void 0===l?void 0:l.webshop_signup)?window.top.location.href="".concat("https://app.getpaloma.com","/login?redirect=onboarding/webshop-setup").concat((null==e?void 0:null===(i=e.current_user)||void 0===i?void 0:i.verified_email)===!1?"?modal=email-verification":"","&token=").concat(e.token):window.top.location.href="".concat("https://app.getpaloma.com","/login?redirect=onboarding/experience-buyer").concat((null==e?void 0:null===(s=e.current_user)||void 0===s?void 0:s.verified_email)===!1?"?modal=email-verification":"","&token=").concat(e.token)},onError:e=>{w(!1),j(e)}}),V=(0,u.A)("api/signup/create","post",null,{onSuccess:e=>{var a;z(t,null==e?void 0:null===(a=e.message)||void 0===a?void 0:a.id)}}),z=e=>{let{cookie:t}=null==a?void 0:a.query;t&&n.A.post("https://api.hsforms.com/submissions/v3/integration/submit/".concat("4546074","/").concat("262a95d9-35db-499e-825c-2ec38aa7d971"),{fields:[{name:"email",value:e}],context:{hutk:t}})},F=e=>"@"===e[0]?e.slice(1):e;(0,r.useEffect)(()=>{var e,t;(null==a?void 0:null===(e=a.query)||void 0===e?void 0:e.email)&&v(null==a?void 0:null===(t=a.query)||void 0===t?void 0:t.email)},[null==a?void 0:null===(e=a.query)||void 0===e?void 0:e.email]);let D=(0,d.A)()||N||_;return(0,l.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),!(0,p.D)(t)){k("Please enter a valid email address");return}k(null),w(!0);let{state:l=null,utm_id:r=null,utm_source:i=null,utm_medium:s=null,utm_campaign:n=null,utm_term:o=null,utm_content:u=null,webshop:c=!1}=null==a?void 0:a.query;V.mutate({email:t,mobilephone:A,firstname:f,instagram_handle:F(y),lifecyclestage:"lead",utm_id:r,utm_source:i,utm_medium:s,utm_campaign:n,utm_term:o,utm_content:u}),z(t),T.mutate({email:t,password:P,mobilephone:A,firstname:f,ighandle:F(y),state:l,webshop:c})},className:"w-full bg-white p-8",children:[(0,l.jsx)(c.A,{title:"First Name",placeholder:"First Name",value:f,setValue:g,required:!0,className:"mb-7",autofill:"name"}),(0,l.jsx)(c.A,{title:"Instagram handle",placeholder:"@instagramhandle",value:y,helperText:"Share the Instagram handle for the page you’ll be selling through",setValue:x,required:!0,className:"mb-7",autofill:"instagram handle",maxLength:120}),(0,l.jsxs)("div",{className:"w-full flex flex-col",children:[(0,l.jsxs)("div",{className:"w-full flex justify-between items-end mb-2.5",children:[(0,l.jsx)("h3",{children:"Phone number"}),(0,l.jsx)("div",{className:"type-details text-gray-dark mb-1",children:"Optional"})]}),(0,l.jsx)("div",{className:"w-full bg-white rounded-md border border-gray-light mb-7 flex justify-between items-center h-10",children:(0,l.jsx)(s.Ay,{defaultCountry:"US",value:A,onChange:S,"data-hj-allow":!0})})]}),(0,l.jsx)(c.A,{title:"Email",placeholder:"[email protected]",value:t,setValue:v,required:!0,className:"mb-7",type:"email"}),(0,l.jsx)(c.A,{autofill:"new-password",className:"mb-3",title:"Password",value:P,setValue:q,required:!0,sensitivity:!0}),(0,l.jsx)(h._,{hasNumber:C,hasSpecialCharacter:I,reachedCharacterCount:E}),D&&(0,l.jsx)("div",{className:"pb-3 w-full mt-3 text-action-primary type-footnote",children:(0,l.jsx)("span",{children:D})}),(0,l.jsx)(m.A,{className:"button-primary w-full tracking-wide",disabled:!t||!f||!y||!P||!C||!I||!E,isLoading:b,type:"submit",children:"Signup for Paloma"})]})}}},e=>{var a=a=>e(e.s=a);e.O(0,[1505,636,6593,8792],()=>a(82333)),_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.