PageSourceSearch

https://cdn.shopify.com/shopifycloud/world/brochure/production-shopify/assets/useSignupUrl-l3YFYzSL.js

js shopify.com collected 2026-09-24 03:05:45 UTC 1,313 bytes, 2 lines download raw bytes

1import{K as e,Y as t}from"./chunk-62JRHF6Z-Bxb16a7V.js";import{d as n}from"./env.shared-DIm6L4Rg.js";import{i as r}from"./utils-DRACzxXx.js";import{n as i,x as a}from"./enums-uzFiC21y.js";import{A as o,M as s,N as c,j as l}from"./SiteData-a7TrFedL.js";var u=t(e(),1);function d(e,t,n){for(let r of e){let e=n.get(r);e&&t.set(r,e)}}function f(e=l){let{url:t=s,email:n,pageViewToken:u}={...l,...e},f=new URL(t,`https://www.shopify.com`),p=f.searchParams;if(typeof window>`u`)return f;let m=new URL(window.location.href,`https://www.shopify.com`).searchParams,h=r(i.MultiTrackToken);h&&p.set(a.MultiTrackToken,h);let g=r(i.SessionToken);g&&p.set(a.SessionToken,g),u&&p.set(a.PageViewToken,u);let _=new URL(p.get(a.SignupPage)||window.location.href,`https://www.shopify.com`);if(d(o,_.searchParams,m),p.set(a.SignupPage,_.href),n){let e=window.btoa(encodeURIComponent(n));p.set(a.Login,e),p.set(`account_signup`,`true`)}return d(c,p,m),f}function p(e,t){let n=new URL(e,`https://shopify.com`);return n.searchParams.set(`extra[selected_domain]`,t),n.toString()}function m(){let e=n(e=>e.store);return{getSignupURL:(0,u.useCallback)(({url:t,email:n})=>{let r=e?.pageViewToken;return f({url:t,email:n,pageViewToken:r})},[e?.pageViewToken])}}export{p as n,f as r,m as t};
2//# sourceMappingURL=useSignupUrl-l3YFYzSL.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.