PageSourceSearch

https://www.zawda.me/_next/static/chunks/02~jp4a970fo2.js

js zawda.me collected 2026-10-04 06:39:03 UTC 19,364 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,59544,e=>{"use strict";var t=e.i(43476);let r={primary:"bg-gold text-white font-semibold hover:brightness-110",ghost:"border border-border text-text hover:border-text-muted hover:bg-bg-surface",outline:"border border-gold text-gold hover:bg-gold hover:text-white",dark:"bg-bg-dark text-white font-semibold hover:bg-[#1a2236]"},n="inline-flex items-center justify-center gap-2 rounded-full px-8 py-3 font-medium transition-all focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gold disabled:opacity-50 disabled:pointer-events-none cursor-pointer";e.s(["Button",0,function({variant:e="primary",className:a="",...l}){return(0,t.jsx)("button",{className:`${n} ${r[e]} ${a}`,...l})},"LinkButton",0,function({variant:e="primary",className:a="",href:l,...s}){return(0,t.jsx)("a",{href:l,className:`${n} ${r[e]} ${a}`,...s})}])},91040,e=>{"use strict";var t=e.i(43476);let r=e.i(47167).default.env.NEXT_PUBLIC_BRAND_NAME??"Zawda";e.s(["BrandName",0,function({className:e}){return(0,t.jsx)("span",{className:e,children:r})}],91040)},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return o},formatWithValidation:function(){return c},urlObjectKeys:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",o=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(l.urlQueryToSearchParams(i)));let d=e.search||i&&`?${i}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),o&&"#"!==o[0]&&(o="#"+o),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${a}${d}${o}`}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return o(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(71645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=l(e,n)),t&&(a.current=l(t,n))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return l}});let n=e.r(18967),a=e.r(52817);function l(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return p},useLinkStatus:function(){return v}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let l=e.r(90809),s=e.r(43476),o=l._(e.r(71645)),i=e.r(95057),c=e.r(8372),d=e.r(18581),u=e.r(18967),f=e.r(5550);e.r(33525);let x=e.r(88540),m=e.r(91949),h=e.r(73668),g=e.r(9396);function p(t){var r,n;let a,l,p,[v,y]=(0,o.useOptimistic)(m.IDLE_LINK_STATUS),j=(0,o.useRef)(null),{href:N,as:w,children:k,prefetch:C=null,passHref:P,replace:S,shallow:M,scroll:_,onClick:R,onMouseEnter:A,onTouchStart:E,legacyBehavior:L=!1,onNavigate:B,transitionTypes:O,ref:T,unstable_dynamicOnHover:U,...$}=t;a=k,L&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let F=o.default.useContext(c.AppRouterContext),D=!1!==C,I=!1!==C?null===(n=C)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,Z="str
1ing"==typeof(r=w||N)?r:(0,i.formatUrl)(r);if(L){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});l=o.default.Children.only(a)}let K=L?l&&"object"==typeof l&&l.ref:T,q=o.default.useCallback(e=>(null!==F&&(j.current=(0,m.mountLinkInstance)(e,Z,F,I,D,y)),()=>{j.current&&((0,m.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,m.unmountPrefetchableInstance)(e)}),[D,Z,F,I,y]),z={ref:(0,d.useMergedRef)(q,K),onClick(t){L||"function"!=typeof R||R(t),L&&l.props&&"function"==typeof l.props.onClick&&l.props.onClick(t),!F||t.defaultPrevented||function(t,r,n,a,l,s,i){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);o.default.startTransition(()=>{u(r,a?"replace":"push",!1===l?x.ScrollBehavior.NoScroll:x.ScrollBehavior.Default,n.current,i)})}}(t,Z,j,S,_,B,O)},onMouseEnter(e){L||"function"!=typeof A||A(e),L&&l.props&&"function"==typeof l.props.onMouseEnter&&l.props.onMouseEnter(e),F&&D&&(0,m.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){L||"function"!=typeof E||E(e),L&&l.props&&"function"==typeof l.props.onTouchStart&&l.props.onTouchStart(e),F&&D&&(0,m.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,u.isAbsoluteUrl)(Z)?z.href=Z:L&&!P&&("a"!==l.type||"href"in l.props)||(z.href=(0,f.addBasePath)(Z)),p=L?o.default.cloneElement(l,z):(0,s.jsx)("a",{...$,...z,children:a}),(0,s.jsx)(b.Provider,{value:v,children:p})}e.r(84508);let b=(0,o.createContext)(m.IDLE_LINK_STATUS),v=()=>(0,o.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},89184,e=>{"use strict";var t=e.i(43476);e.s(["BrandMark",0,function({size:e=28,className:r,title:n="Zawda"}){let a=Math.round(41/104*e);return(0,t.jsxs)("svg",{width:e,height:a,viewBox:"0 0 104 41",fill:"none",className:r,role:"img","aria-label":n,children:[(0,t.jsx)("title",{children:n}),(0,t.jsx)("path",{d:"M97.58 9.18L71.67 35.14l5.72 5.73 25.91-25.96-5.72-5.73Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M64.33 22.22L53.06 10.91l-5.73 5.74 5.57 5.57-7.18 7.2 5.73 5.72 12.89-12.91Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M87.93 0L80.65 7.30l7.28 7.29 7.28-7.29L87.93 0Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M79.95 10.91L74.52 5.48 63.38 16.64l5.43 5.44-13.05 13.07 5.72 5.73 24.19-24.24-5.72-5.73Zm-5.43 8.39l-2.64-2.65 2.64-2.65 2.64 2.65-2.64 2.65Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M37.46 11.06L26.31 22.23l11.14 11.16 11.14-11.16L37.46 11.06Zm0 13.81l-2.64-2.65 2.64-2.65 2.64 2.65-2.64 2.65Z",fill:"currentColor"})]})}])},86906,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(22016),a=e.i(18566),l=e.i(60999),s=e.i(27085),o=e.i(91040),i=e.i(89184),c=e.i(59544),d=e.i(67391);function u(e){if(!e)return"An unexpected error occurred. Please try again.";if("string"==typeof e)return e;if("object"==typeof e){if("errors"in e&&Array.isArray(e.errors)){let t=e.errors[0];if(t?.message)return t.message}if("message"in e&&"string"==typeof e.message)return e.message;if("longMessage"in e&&"string"==typeof e.longMessage)return e.longMessage}return"Could not create account. Please try again."}function f(){let e=(0,a.useSearchParams)(),{update:f}=(0,d.useOnboarding)(),{signUp:x}=(0,l.useSignUp)(),m=(0,s.useClerk)(),[h,g]=(0,r.useState)({name:"",email:"",company:"",password:""}),[p,b]=(0,r.useState)(!1),[v,y]=(0,r.useState)(""),[j,N]=(0,r.useState)(!1),[w,k]=(0,r.useState)(""),C=e.get("plan");function P(e){g({...h,[e.target.name]:e.target.value})}async function S(e){e.preventDefault(),y(""),b(!0);try{if(m.loaded||await Promise.race([new Promise(e=>{let t=setInterval(()=>{m.loaded&&(clearInterval(t),e())},100)}),new Promise((e,t)=>
1setTimeout(()=>t(Error("Clerk is taking too long to load. Please refresh the page and try again.")),1e4))]),!x)return void y("Authentication service is not available. Please refresh and try again.");let e=h.name.trim().split(" "),t=e[0],r=e.slice(1).join(" ")||void 0,n=await x.create({emailAddress:h.email,password:h.password,firstName:t,lastName:r});if(n?.error){console.error("[Register] signUp.create error:",n.error),y(u(n.error));return}let a=await x.verifications.sendEmailCode();if(a?.error){console.error("[Register] sendEmailCode error:",a.error),y(u(a.error));return}f({companyName:h.company,...C?{plan:C}:{}}),N(!0)}catch(e){console.error("[Register] unexpected error:",e),y(u(e))}finally{b(!1)}}async function M(e){if(e.preventDefault(),x){y(""),b(!0);try{let e=await x.verifications.verifyEmailCode({code:w});if(e?.error){console.error("[Register] verifyEmailCode error:",e.error),y(u(e.error));return}if("complete"===x.status){let e=await x.finalize();if(e?.error){console.error("[Register] finalize error:",e.error),y(u(e.error));return}window.location.href="/onboarding"}else y("Verification could not be completed. Please try again.")}catch(e){console.error("[Register] verify unexpected error:",e),y(u(e))}finally{b(!1)}}}(0,r.useEffect)(()=>{C&&f({plan:C})},[C]);let _=(0,t.jsxs)("div",{className:"relative hidden lg:flex lg:w-1/2 bg-bg-dark text-text-on-dark flex-col justify-between p-12 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-zawda-pattern opacity-[0.06] pointer-events-none","aria-hidden":"true"}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)(n.default,{href:"/",className:"inline-flex items-center gap-3",children:[(0,t.jsx)(i.BrandMark,{size:32,className:"text-gold shrink-0"}),(0,t.jsx)(o.BrandName,{className:"font-display font-bold text-[length:var(--text-lg)] tracking-[0.08em] text-white uppercase"})]})}),(0,t.jsxs)("div",{className:"relative max-w-md",children:[(0,t.jsx)("p",{className:"font-mono text-gold uppercase tracking-widest text-[length:var(--text-xs)] mb-4",children:"navigator"===C?"Licensing Navigator":"Regulatory Intelligence"}),(0,t.jsx)("h1",{className:"font-display font-bold text-[length:var(--text-xl)] leading-tight mb-4",children:"navigator"===C?"Get licensed without the noise.":"Stay ahead of every MENA digital asset regulation."}),(0,t.jsx)("p",{className:"text-text-on-dark/70 text-[length:var(--text-base)] leading-relaxed",children:"navigator"===C?"Clear licensing guidance, document tracking, and risk warnings — built for the companies actually going through the process.":"Join the compliance teams already using Zawda to track enforcement actions and regulatory changes across 7 MENA jurisdictions."}),(0,t.jsx)("div",{className:"mt-10 space-y-4",children:["Real-time alerts on VARA, ADGM, CBB enforcement actions","Licensing roadmap with hidden risk warnings per jurisdiction","Document vault with audit-ready tracking"].map(e=>(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("span",{className:"text-gold mt-0.5",children:"✓"}),(0,t.jsx)("span",{className:"text-text-on-dark/80 text-[length:var(--text-sm)]",children:e})]},e))})]}),(0,t.jsxs)("p",{className:"relative text-text-on-dark/40 text-[length:var(--text-xs)]",children:["© ",new Date().getFullYear()," ",(0,t.jsx)(o.BrandName,{}),". All rights reserved."]})]});return j?(0,t.jsxs)("div",{className:"min-h-screen flex",children:[_,(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center p-6 sm:p-12 bg-bg-primary",children:(0,t.jsxs)("div",{className:"w-full max-w-md",children:[(0,t.jsx)("div",{className:"lg:hidden mb-8",children:(0,t.jsxs)(n.default,{href:"/",className:"inline-flex items-center gap-2.5",children:[(0,t.jsx)(i.BrandMark,{size:28,className:"text-gold shrink-0"}),(0,t.jsx)(o.BrandName,{className:"font-display font-bold text-[length:var(--text-lg)] tracking-[0.08em] text-text uppercase"})]})}),(0,t.jsx)("h2",{className:"font-display font-bold text-text text-[length:var(--text-xl)] mb-2",children:"Check your email"}),(0,t.jsxs)("p",{className:"text-text-muted text-[length:var(--text-sm)] mb-8",children:["We sent a 6-digit code to ",(0,t.jsx)("strong",{children:h.email}),". Enter it below to verify your account."]}),v&&(0,t.jsx)("div",{className:"mb-5 px-4 py-3 rounded-xl bg-red-50 border border-red-200 text-red-700 text-[length:var(--text-sm)]",children:v}),(0,t.jsxs)("form",{onSubmit:M,className:"space-y-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"code",className:"block text-text text-[length:var(--text-sm)] font-medium mb-1.5",children:"Verification code"}),(0,t.jsx)("input",{id:"code",name:"code",type:"text",required:!0,value:w,onChange:e=>k(e.target.value),className:"w-full px-4 py-3 rounded-xl border border-border bg-bg-surface text-text text-[length:var(--text-sm)] placeholder:text-text-faint focus:outline-none focus:border-gold focus:ring-1 focus:ring-gold transition-colors tracking-widest text-center text-lg",placeholder:"123456",maxLength:6})]}),(0,t.jsx)(c.Button,{type:"submit",variant:"primary",className:"w-full text-[length:var(--text-sm)]",disabled:p,children:p?"Verifying…":"Verify Email"})]}),(0,t.jsxs)("p",{className:"text-text-muted text-[length:var(--text-xs)] mt-6 text-center",children:["Didn't receive it?"," ",(0,t.jsx)("button",{type:"button",className:"text-gold hover:underline font-medium bg-transparent border-none cursor-pointer",onClick:async()=>{x&&await x.verifications.sendEmailCode()},children:"Resend code"})]})]})})]}):(0,t.jsxs)("div",{className:"min-h-screen flex",children:[_,(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center p-6 sm:p-12 bg-bg-primary",children:(0,t.jsxs)("div",{className:"w-full max-w-md",children:[(0,t.jsx)("div",{className:"lg:hidden mb-8",children:(0,t.jsxs)(n.default,{href:"/",className:"inline-flex items-center gap-2.5",children:[(0,t.jsx)(i.BrandMark,{size:28,className:"text-gold shrink-0"}),(0,t.jsx)(o.BrandName,{className:"font-display font-bold text-[length:var(--text-lg)] tracking-[0.08em] text-text uppercase"})]})}),(0,t.jsx)("h2",{className:"font-display font-bold text-text text-[length:var(--text-xl)] mb-2",children:"Start your 14-day free trial"}),(0,t.jsx)("p",{className:"text-text-muted text-[length:var(--text-sm)] mb-2",children:C?`You selected the ${C.charAt(0).toUpperCase()+C.slice(1)} plan. Full access for 14 days — no charge.`:"Full dashboard access for 14 days. No credit card required to start."}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-6 px-3 py-2 bg-green-50 border border-green-200 rounded-xl",children:[(0,t.jsx)("span",{className:"text-green-600 text-[length:var(--text-sm)]",children:"✓"}),(0,t.jsx)("span",{className:"text-green-700 text-[length:var(--text-xs)] font-medium",children:"14-day free trial · Cancel anytime · No setup fees"})]}),v&&(0,t.jsx)("div",{className:"mb-5 px-4 py-3 rounded-xl bg-red-50 border border-red-200 text-red-700 text-[length:var(--text-sm)]",children:v}),(0,t.jsxs)("form",{onSubmit:S,className:"space-y-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"name",className:"block text-text text-[length:var(--text-sm)] font-medium mb-1.5",children:"Full name"}),(0,t.jsx)("input",{id:"name",name:"name",type:"text",required:!0,value:h.name,onChange:P,className:"w-full px-4 py-3 rounded-xl border border-border bg-bg-surface text-text text-[length:var(--text-sm)] placeholder:text-text-faint focus:outline-none focus:border-gold focus:ring-1 focus:ring-gold transition-colors",placeholder:"Fatima Al-Rashid"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"email",className:"block text-text text-[length:var(--text-sm)] font-medium mb-1.5",children:"Work email"}),(0,t.jsx)("input",{id:"email",name:"email",type:"email",required:!0,value:h.email,onChange:P,className:"w-full px-4 py-3 rounded-xl border border-border bg-bg-surface text-text text-[length:var(--text-sm)] placeholder:text-text-faint focus:outline-none focus:border-gold focus:ring-1 focus:ring-gold transition-colors",placeholder:"[email protected]"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"company",className:"block text-text text-[length:var(--text-sm)] font-medium mb-1.5",children:"Company name"}),(0,t.jsx)("input",{id:"company",name:"company",type:"text",required:!0,value:h.company,onChange:P,className:"w-full px-4 py-3 rounded-xl border border-border bg-bg-surface text-text text-[length:var(--text-sm)] placeholder:text-text-faint focus:outline-none focus:border-gold focus:ring-1 focus:ring-gold transition-colors",placeholder:"Acme Holdings"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"password",className:"block text-text text-[length:var(--text-sm)] font-medium mb-1.5",children:"Password"}),(0,t.jsx)("input",{id:"password",name:"password",type:"password",required:!0,minLength:8,value:h.password,onChange:P,className:"w-full px-4 py-3 rounded-xl border border-border bg-bg-surface text-text text-[length:var(--text-sm)] placeholder:text-text-faint focus:outline-none focus:border-gold focus:ring-1 focus:ring-gold transition-colors",placeholder:"Min. 8 characters"})]}),(0,t.jsx)(c.Button,{type:"submit",variant:"primary",className:"w-full text-[length:var(--text-sm)]",disabled:p,children:p?"Creating account…":"Start 14-Day Free Trial"}),(0,t.jsxs)("p",{className:"text-text-faint text-[length:var(--text-xs)] text-center mt-2",children:["After your trial, plans start at $799/mo."," ",(0,t.jsx)(n.default,{href:"/#pricing",className:"text-gold hover:underline",children:"View pricing"})]})]}),(0,t.jsxs)("p",{className:"text-text-muted text-[length:var(--text-xs)] mt-6 text-center",children:["Already have an account?"," ",(0,t.jsx)(n.default,{href:"/login",className:"text-gold hover:underline font-medium",children:"Sign in"})]}),(0,t.jsxs)("p",{className:"text-text-faint text-[length:var(--text-xs)] mt-4 text-center leading-relaxed",children:["By creating an account you agree to our ",(0,t.jsx)(n.default,{href:"/terms",className:"text-gold hover:underline",children:"Terms of Service"})," and"," ",(0,t.jsx)(n.default,{href:"/privacy",className:"text-gold hover:underline",children:"Privacy Policy"}),". Your trial will begin immediately and you will not be charged during the 14-day trial period."]})]})})]})}e.s(["default",0,function(){return(0,t.jsx)(r.Suspense,{children:(0,t.jsx)(f,{})})}])}]);

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.