PageSourceSearch

https://zoona.ai/_next/static/chunks/9313-904185e3d6cad80d.js

js zoona.ai collected 2026-10-05 13:21:04 UTC 39,593 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9313],{9192:(e,o,a)=>{a.d(o,{s:()=>n});var t=a(89173),m=a(33891),l=a(21626),i=a(17299);function n(){let e,o,a,n,g,f,h,y,b,x,w,v=(0,t.c)(34),{getUTMForSubmission:k,hasUTMSession:j,utmData:N,getAllCampaigns:S,getCampaignCount:z,getFirstPageForSubmission:_}=function(){let e=(0,l.usePathname)(),[o,a]=(0,m.useState)(null),[t,n]=(0,m.useState)(!1),r=(0,i.P2)(),c=(0,m.useCallback)(()=>{try{let o=new URLSearchParams(window.location.search),t=window.location.origin+window.location.pathname;if((0,i.qU)(t,document.referrer),(0,i.z$)(o)){let t=(0,i.gb)(o),m=(0,i.sG)(t,e,document.referrer);(0,i.Eg)(m),(0,i.oj)(t,e,document.referrer),a(t),n(!0)}else{let e=(0,i.wl)();if(e&&(0,i.h9)(e)){let{timestamp:o,landingPage:t,referrer:m,...l}=e;a(l),n(!0)}else e&&!(0,i.h9)(e)&&((0,i.wK)(),a(null),n(!1))}}catch(e){console.warn("Error processing UTM parameters:",e)}},[e]),s=(0,m.useCallback)(()=>{(0,i.KP)(),a(null),n(!1)},[]),d=(0,m.useCallback)(()=>(0,i.cP)(),[]),u=(0,m.useCallback)(()=>(0,i.e2)(),[]),p=(0,m.useCallback)(()=>(0,i.e2)().length,[]),g=(0,m.useCallback)(()=>(0,i.QK)(),[]);return(0,m.useEffect)(()=>{c()},[c]),{utmData:o,hasUTMSession:r,isTracking:t,clearUTM:s,getUTMForSubmission:d,getAllCampaigns:u,getCampaignCount:p,getFirstPageForSubmission:g}}();v[0]!==k?(e=()=>({...k()}),v[0]=k,v[1]=e):e=v[1];let C=e;v[2]!==k?(o=()=>({...k()}),v[2]=k,v[3]=o):o=v[3];let D=o;v[4]!==j||v[5]!==N?(a=()=>j&&null!==N,v[4]=j,v[5]=N,v[6]=a):a=v[6];let P=a;v[7]!==k?(n=e=>{let o=k();return null==o?void 0:o[e]},v[7]=k,v[8]=n):n=v[8];let E=n;v[9]!==S?(g=()=>S(),v[9]=S,v[10]=g):g=v[10];let T=g;v[11]!==z?(f=()=>z(),v[11]=z,v[12]=f):f=v[12];let I=f;v[13]!==S?(h=()=>{let e=S();return e.length>0?e[0]:null},v[13]=S,v[14]=h):h=v[14];let U=h;v[15]!==S?(y=()=>{let e=S();return e.length>0?e[e.length-1]:null},v[15]=S,v[16]=y):y=v[16];let q=y;v[17]!==S?(b=()=>{let e=S();if(0===e.length)return{};let o=e.map(p).filter(Boolean),a=e.map(u).filter(Boolean),t=e.map(d).filter(Boolean),m=e.map(s).filter(Boolean),l=e.map(c).filter(Boolean),i=e.map(r).filter(Boolean);return{utmSource:o.join(","),utmMedium:a.join(","),utmCampaign:t.join(","),utmAdGroup:m.join(","),keyword:l.join(","),gclid:i.join(",")}},v[17]=S,v[18]=b):b=v[18];let F=b;v[19]!==_?(x=()=>_(),v[19]=_,v[20]=x):x=v[20];let O=x;return v[21]!==P||v[22]!==T||v[23]!==F||v[24]!==q||v[25]!==O||v[26]!==U||v[27]!==I||v[28]!==C||v[29]!==D||v[30]!==E||v[31]!==j||v[32]!==N?(w={getUTMData:C,getUTMDataWithFallback:D,cameFromCampaign:P,getUTMParameter:E,hasUTMSession:j,utmData:N,getAllCampaignData:T,getTotalCampaigns:I,getLatestCampaign:U,getFirstCampaign:q,getAllCampaignsAsStrings:F,getFirstPageSeen:O},v[21]=P,v[22]=T,v[23]=F,v[24]=q,v[25]=O,v[26]=U,v[27]=I,v[28]=C,v[29]=D,v[30]=E,v[31]=j,v[32]=N,v[33]=w):w=v[33],w}function r(e){return e.gclid}function c(e){return e.keyword}function s(e){return e.adGroup}function d(e){return e.campaignName}function u(e){return e.campaignMedium}function p(e){return e.campaignSource}},17299:(e,o,a)=>{a.d(o,{KP:()=>x,wK:()=>d,sG:()=>p,e2:()=>b,QK:()=>v,wl:()=>s,cP:()=>g,z$:()=>r,P2:()=>u,h9:()=>f,gb:()=>n,qU:()=>w,oj:()=>h,Eg:()=>c});let t="sparrowdesk_utm_tracking",m="sparrowdesk_utm_multi_campaigns",l="sparrowdesk_utm_session",i="sparrowdesk_first_page_seen";function n(e){let o={},a=e.get("utm_source"),t=e.get("utm_medium"),m=e.get("utm_campaign"),l=e.get("utm_adgroup"),i=e.get("utm_term"),n=e.get("gclid");return a&&(o.campaignSource=decodeURIComponent(a)),t&&(o.campaignMedium=decodeURIComponent(t)),m&&(o.campaignName=decodeURIComponent(m)),l&&(o.adGroup=decodeURIComponent(l)),i&&(o.keyword=decodeURIComponent(i)),n&&(o.gclid=n),o}function r(e){return["utm_source","utm_medium","utm_campaign","utm_adgroup","utm_term","gclid"].some(o=>e.has(o))}function c(e){try{localStorage.setItem(t,JSON.stringify(e)),sessionStorage.setItem(l,"true")}catch(e){console.warn("Failed to store UTM data:",e)}}function s(){try{let e=localStorage.getItem(t);return e?JSON.parse(e):null}catch(e){return console.warn("Failed to retrieve UTM data:",e),null}}function d(){try{localStorage.removeItem(t),sessionStorage.removeItem(l)}catch(e){console.warn("Failed to clear UTM data:",e)}}function u(){return"true"===sessionStorage.getItem(l)}function p(e,o,a){return{...e,timestamp:Date.now(),landingPage:o,referrer:a||document.referrer||void 0}}function g(){let e=s();if(!e)return null;let{timestamp:o,landingPage:a,referrer:t,...m}=e;return m}function f(e){return Date.now()-e.timestamp<2592e6}function h(e,o,a){try{let t=y(),l=(null==t?void 0:t.campaigns)||[],i=function(e){let o=[e.campaignSource,e.campaignMedium,e.campaignName,e.adGroup,e.keyword].filter(
1Boolean).join("|"),a=0;for(let e=0;e<o.length;e++)a=(a<<5)-a+o.charCodeAt(e),a&=a;return"utm_".concat(Math.abs(a))}(e),n=l.findIndex(e=>e.campaignId===i);if(-1!==n){let e=l[n];e.timestamp=Date.now(),e.landingPage=o,e.referrer=a||document.referrer||void 0,l.splice(n,1),l.unshift(e)}else{let t={...e,timestamp:Date.now(),landingPage:o,referrer:a||document.referrer||void 0,campaignId:i};l.unshift(t)}let r={campaigns:l.slice(0,10),lastUpdated:Date.now()};localStorage.setItem(m,JSON.stringify(r)),c({...e,timestamp:Date.now(),landingPage:o,referrer:a||document.referrer||void 0})}catch(e){console.warn("Failed to store multi-campaign UTM data:",e)}}function y(){try{let e=localStorage.getItem(m);return e?JSON.parse(e):null}catch(e){return console.warn("Failed to retrieve multi-campaign UTM data:",e),null}}function b(){let e=y();return e?e.campaigns.filter(e=>Date.now()-e.timestamp<2592e6):[]}function x(){try{localStorage.removeItem(t),localStorage.removeItem(m),sessionStorage.removeItem(l),function(){try{localStorage.removeItem(i)}catch(e){console.warn("Failed to clear first page seen:",e)}}()}catch(e){console.warn("Failed to clear all UTM campaign data:",e)}}function w(e,o){try{if(localStorage.getItem(i))return!1;let a={page:e,timestamp:Date.now(),referrer:o||document.referrer||void 0};return localStorage.setItem(i,JSON.stringify(a)),!0}catch(e){return console.warn("Failed to store first page seen:",e),!1}}function v(){let e=function(){try{let e=localStorage.getItem(i);return e?JSON.parse(e):null}catch(e){return console.warn("Failed to retrieve first page seen:",e),null}}();return e?e.page:null}},55824:(e,o,a)=>{a.d(o,{SignupForm:()=>f});var t=a(29635),m=a(33891),l=a(98038),i=a(47043);a(5150);var n=a(68503),r=a(60359),c=a(77696),s=a(62876),d=a(86618),u=a(91736),p=a(9192),g=a(17299);function f(e){var o;let{email:a,leadSource:f}=e,{getAllCampaignsAsStrings:h,getFirstPageSeen:y}=(0,p.s)(),{ipData:b}=(0,l.P)(),[x,w]=(0,m.useState)(!1),v=(0,m.useMemo)(()=>h(),[h]),k=(0,m.useMemo)(()=>(null==b?void 0:b.countryName)||"",[b]),j=(0,m.useMemo)(()=>y(),[y]),N=window.location.pathname,{register:S,handleSubmit:z,setError:_,formState:{errors:C,isSubmitting:D},reset:P,setValue:E,clearErrors:T}=(0,s.mN)({defaultValues:{email:"",phone:""}});async function I(e){let{isInvalid:o,company:a,isPersonal:t}=(0,d.D)(e.email);if(o)return void _("email",{type:"custom",message:"Please type a valid business email"});if(e.phone&&(!(0,i.h1)(e.phone)||!(0,i.g0)(e.phone)))return void _("phone",{type:"custom",message:"Please enter a valid phone number"});try{let o=(0,u.Q)("im_ref"),m=await fetch("https://app.sparrowdesk.com/api/internal/signup",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({user:{email:e.email,strategy:"password"},leadData:{...(null==e?void 0:e.phone)&&{phone:null==e?void 0:e.phone},company:a,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,isBusinessEmail:!t,leadSource:f||"Zoona Sign Up",lifecyclestage:"lead",preSignupUrl:N,...v,sdFirstPageSeen:j,country:k},timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,...o&&{imRef:o}})});if(!m.ok){let e=await m.json();409===m.status?_("email",{type:"custom",message:e.message?"".concat(e.message,'. <a href="https://app.sparrowdesk.com" target="_blank" rel="noopener noreferrer" class="text-sd-blue-500 hover:text-sd-blue-600 underline max-sm:hidden">sign in</a>'):'This email is already registered. Please try a different email or <a href="https://app.sparrowdesk.com" target="_blank" rel="noopener noreferrer" class="text-sd-blue-500 hover:text-sd-blue-600 underline">sign in</a>.'}):_("email",{type:"custom",message:e.message||"Something went wrong. Please try again later. "});return}let l=await m.json();(null==l?void 0:l.clientRedirectUrl)&&((0,g.KP)(),P(),window.location.href=null==l?void 0:l.clientRedirectUrl)}catch(e){w(!0),_("email",{type:"custom",message:"Something went wrong. Please try again later."}),console.error(e)}}return(0,m.useEffect)(()=>{a&&P({email:a})},[a,P]),(0,t.jsxs)("form",{onSubmit:z(I),children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(n.Z,{type:"email",label:"Email",placeholder:"Enter your work email",autoFocus:!0,error:null==(o=C.email)?void 0:o.message,errorClassName:"absolute bottom-[-19px] left-0 !my-0 text-sm font-normal text-red-500",labelClassName:"text-sd-gray-800 text-base font-normal leading-3 font-overpass tracking-none",inputClassName:"text-sd-olive-700 text-base font-[350] leading-6 tracking-[-0.25px] bg-transparent border border-sd-gray-300 rounded-sm h-11 w-full pl-3 focus:outline-sd-blue-300",...S("email",{required:"Email is required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Please enter a valid email address"}})}),(0,t.jsxs)("div",{className:"relative mt-1",children:[(0,t.jsx)("label",{htmlFor:"phone",className:"tracking-none font-overpass text-base leading-3 font-normal text-sd-gray-800",children:"Phone"}),(0,t.jsx)(i.Ay,{flagUrl:"https://catamphetamine.gitlab.io/country-flag-icons/3x2/{XX}.svg",defaultCountry:null==b?void 0:b.countryCode,onChange:e=>{E("phone",e),C.phone&&T("phone")},placeholder:"Phone Number",className:"h-11 w-full rounded-sm border border-sd-gray-300 bg-transparent pl-3 text-base leading-6 font-350 tracking-spacing-slight text-sd-olive-700 focus-within:ring-1 focus-within:ring-sd-blue-300 focus-within:ring-offset-0 focus:outline-sd-blue-300 focus:outline-none [&>input]:outline-none"}),C.phone&&(0,t.jsx)(r.j,{className:"absolute bottom-[-19px] left-0 my-0! text-sm font-normal text-red-500",error:C.phone.message}),x&&(0,t.jsx)(r.j,{className:"absolute bottom-[-19px] left-0 my-0! text-sm font-normal text-red-500",children:"Something went wrong. Please try again later."})]})]}),(0,t.jsx)("button",{type:"submit",className:"mt-7 flex h-11 w-full items-center justify-center gap-2 rounded-sm bg-sd-blue-500 font-overpass text-xl leading-6 font-semibold tracking-spacing-slight text-sd-blue-100 transition-all duration-300 hover:bg-sd-blue-600",disabled:D,children:D?"Submitting...":"Submit"}),(0,t.jsxs)(c.E,{className:"mt-4 text-center font-overpass text-font-size-sm leading-5 font-350 tracking-spacing-slight text-sd-olive-700",children:["By continuing, you're agreeing to SparrowDesk",(0,t.jsx)("a",{href:"https://www.sparrowdesk.com/legal/privacy-policy",className:"mx-1 text-sd-blue-500 hover:underline",children:"Privacy Policy"}),"and",(0,t.jsx)("a",{href:"https://www.sparrowdesk.com/legal/terms-of-service",className:"ml-1 text-sd-blue-500 hover:underline",children:"Terms of Service"})]})]})}},57716:(e,o,a)=>{a.d(o,{D:()=>m,E:()=>l.E});var t=a(29635);let m=a(33891).forwardRef((e,o)=>{let{variant:a="h1",className:m,children:l,...i}=e;return(0,t.jsx)(a,{ref:o,className:m,...i,children:l})});m.displayName="Heading";var l=a(77696)},60359:(e,o,a)=>{a.d(o,{j:()=>m});var t=a(29635);let m=(0,a(33891).forwardRef)((e,o)=>{let{error:a="",children:m,className:l,...i}=e;return(0,t.jsxs)("p",{className:"mt-2 text-sm font-medium text-red-600 ".concat(l),...i,ref:o,children:[a,m]})});m.displayName="FormError"},63402:(e,o,a)=>{a.d(o,{DemoBtn:()=>w});var t=a(29635),m=a(89173),l=a(92166),i=a(57716),n=a(27545),r=a(33891),c=a(98038),s=a(47043);a(5150);var d=a(68503),u=a(60359),p=a(77696),g=a(62876),f=a(86618),h=a(9192),y=a(17299);function b(e){let o,a,l=(0,m.c)(4),{data:i}=e;if(l[0]!==i.email){var n;o=null==i||null==(n=i.email)?void 0:n.split("@")[0],l[0]=i.email,l[1]=o}else o=l[1];let r=o,c="https://meetings.hubspot.com/webdemos/sparrow-desk?embed=true&email=".concat(i.email,"&firstName=").concat(r,"&lastName=").concat(r);return l[2]!==c?(a=(0,t.jsx)("div",{className:"flex items-center justify-center py-10 container max-h-[550px]",children:(0,t.jsx)("iframe",{title:"hubspot-iframe",name:"sparrow-desk-booking-iframe",src:c,className:"min-h-[600px]! border-none px-[15px] max-lg:w-[90vw] max-md:w-screen lg:min-w-[501px]"})}),l[2]=c,l[3]=a):a=l[3],a}function x(e){var o;let{email:a,leadSource:m,getSubmissionStatus:l}=e,[i,n]=(0,r.useState)(!1),[x,w]=(0,r.useState)({}),[v,k]=(0,r.useState)(!1),{ipData:j}=(0,c.P)(),{getAllCampaignsAsStrings:N,getFirstPageSeen:S}=(0,h.s)(),z=(0,r.useMemo)(()=>N(),[N]),_=(0,r.useMemo)(()=>(null==j?void 0:j.countryName)||"",[j]),C=(0,r.useMemo)(()=>S(),[S]),{register:D,handleSubmit:P,setError:E,clearErrors:T,setValue:I,formState:{errors:U,isSubmitting:q},reset:F}
1=(0,g.mN)({defaultValues:{email:"",phone:""}});async function O(e){let o=window.location.pathname,{isInvalid:a,company:t,isPersonal:i,domain:r}=(0,f.D)(e.email);if(a||r.includes("surveysparrow"))return void E("email",{type:"custom",message:"Please type a valid business email"});if(e.phone&&(!(0,s.h1)(e.phone)||!(0,s.g0)(e.phone)))return void E("phone",{type:"custom",message:"Please enter a valid phone number"});try{await fetch("https://64zlj6jyud.execute-api.us-east-1.amazonaws.com/production/add-leads",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,company:t,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,isBusinessEmail:!i,leadSource:m||"Desk Demo Form",preDemoUrl:o,...z,country:_,sdFirstPageSeen:C})}),w({email:e.email,phone:e.phone,companyName:t}),(0,y.KP)(),n(!0),null==l||l(!0)}catch(e){k(!0),console.error(e)}F()}return((0,r.useEffect)(()=>{a&&F({email:a})},[a,F]),i)?(console.log("hubspotData",i),(0,t.jsx)(b,{data:x})):(0,t.jsxs)("form",{onSubmit:P(O),children:[(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(d.Z,{type:"email",label:"Email",placeholder:"Enter your work email",autoFocus:!0,error:null==(o=U.email)?void 0:o.message,errorClassName:"absolute bottom-[-19px] left-0 !my-0 text-sm font-normal text-red-500",labelClassName:"text-sd-gray-800 text-base font-normal leading-3 font-overpass tracking-none my-0.5",inputClassName:"text-sd-olive-700 text-base font-[350] leading-6 tracking-[-0.25px] bg-transparent border border-sd-gray-300 rounded-sm h-11 w-full pl-3 focus:outline-sd-blue-300",...D("email",{required:"Email is required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Please enter a valid email address"}})}),(0,t.jsxs)("div",{className:"relative mt-1",children:[(0,t.jsx)("label",{htmlFor:"phone",className:"tracking-none my-0! font-overpass text-base leading-3 font-normal text-sd-gray-800",children:"Phone"}),(0,t.jsx)(s.Ay,{flagUrl:"https://catamphetamine.gitlab.io/country-flag-icons/3x2/{XX}.svg",defaultCountry:null==j?void 0:j.countryCode,onChange:e=>{I("phone",e),U.phone&&T("phone")},placeholder:"Phone Number",className:"h-11 w-full rounded-sm border border-sd-gray-300 bg-transparent pl-3 text-base leading-6 font-350 tracking-spacing-slight text-sd-olive-700 focus-within:ring-1 focus-within:ring-sd-blue-300 focus-within:ring-offset-0 focus:outline-sd-blue-300 focus:outline-none [&>input]:outline-none"}),U.phone&&(0,t.jsx)(u.j,{className:"absolute bottom-[-19px] left-0 my-0! text-left text-sm font-normal text-red-500",error:U.phone.message}),v&&(0,t.jsx)(u.j,{className:"absolute bottom-[-19px] left-0 my-0! text-left text-sm font-normal text-red-500",children:"Something went wrong. Please try again later."})]})]}),(0,t.jsx)("button",{type:"submit",className:"mt-7 flex h-11 w-full items-center justify-center gap-2 rounded-sm bg-sd-blue-500 font-overpass text-xl leading-6 font-semibold tracking-spacing-slight text-sd-blue-100 transition-all duration-300 hover:bg-sd-blue-600",disabled:q,children:q?"Submitting...":"Submit"}),(0,t.jsxs)(p.E,{className:"mt-4 text-center font-overpass text-font-size-sm leading-5 font-350 tracking-spacing-slight text-sd-olive-700",children:["By continuing, you're agreeing to SparrowDesk",(0,t.jsx)("a",{href:"https://www.sparrowdesk.com/legal/privacy-policy",className:"mx-1 text-sd-blue-500 hover:underline",children:"Privacy Policy"}),"and",(0,t.jsx)("a",{href:"https://www.sparrowdesk.com/legal/terms-of-service",className:"ml-1 text-sd-blue-500 hover:underline",children:"Terms of Service"})]})]})}function w(e){let o,a,c,s,d,u,p,g,f,h,y,b=(0,m.c)(22),{buttonText:w,title:v,buttonClassName:k}=e,[j,N]=(0,r.useState)(!1);b[0]===Symbol.for("react.memo_cache_sentinel")?(o=e=>N(e),b[0]=o):o=b[0];let S=o,z=w||v||"Book a demo";return b[1]!==k||b[2]!==z?(a=(0,t.jsx)(l.DialogTrigger,{asChild:!0,children:(0,t.jsx)("button",{className:k,children:z})}),b[1]=k,b[2]=z,b[3]=a):a=b[3],b[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(l.DialogOverlay,{className:"data-[state=open]:animate-overlayShow fixed inset-0 bg-black/80"}),b[4]=c):c=b[4],b[5]!==j||b[6]!==v?(s=!j&&(0,t.jsx)(i.D,{variant:"h2",className:"mb-9 font-fraunces text-[40px] font-medium text-sd-olive-700",children:v||"Book a demo"}),b[5]=j,b[6]=v,b[7]=s):s=b[7],b[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(x,{getSubmissionStatus:S}),b[8]=d):d=b[8],b[9]!==s?(u=(0,t.jsxs)("div",{className:"max-w-full px-14 pt-12 pb-12 max-md:flex max-md:h-full max-md:flex-col max-md:items-start max-md:justify-center max-sm:px-6",children:[s,d]}),b[9]=s,b[10]=u):u=b[10],b[11]!==j?(p=!j&&(0,t.jsx)("div",{className:"h-full max-md:hidden",children:(0,t.jsx)(n.default,{src:"".concat("https://static.cdn.sparrowdesk.com","/site/signup-modal/demo-illustration.png"),alt:"Sign up modal image",width:170,height:200,className:"md:min-h-[510px]"})}),b[11]=j,b[12]=p):p=b[12],b[13]!==u||b[14]!==p?(g=(0,t.jsxs)("div",{className:"relative flex items-center bg-white max-md:h-full max-md:justify-center",children:[u,p]}),b[13]=u,b[14]=p,b[15]=g):g=b[15],b[16]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(l.DialogClose,{asChild:!0,children:(0,t.jsx)("button",{className:"text-violet11 bg-gray3 hover:bg-violet4 focus:shadow-violet7 absolute top-2.5 right-2.5 inline-flex size-[25px] appearance-none items-center justify-center rounded-full focus:shadow-[0_0_0_2px] focus:outline-none","aria-label":"Close",children:"X"})}),b[16]=f):f=b[16],b[17]!==g?(h=(0,t.jsxs)(l.DialogPortal,{children:[c,(0,t.jsxs)(l.DialogContent,{className:"data-[state=open]:animate-contentShow fixed top-1/2 left-1/2 max-h-[85vh] w-[90vw] max-w-[650px] -translate-x-1/2 -translate-y-1/2 roun
1ded-md bg-gray-400 focus:outline-none",children:[g,f]})]}),b[17]=g,b[18]=h):h=b[18],b[19]!==h||b[20]!==a?(y=(0,t.jsxs)(l.Dialog,{children:[a,h]}),b[19]=h,b[20]=a,b[21]=y):y=b[21],y}},68503:(e,o,a)=>{a.d(o,{Z:()=>n});var t=a(29635),m=a(89173),l=a(23145),i=a(33891);function n(e){let o,a,n,r,c,s,d,u,p,g,f,h,y,b,x=(0,m.c)(29);x[0]!==e?({label:p,id:r,placeholder:d,className:o,type:g,error:a,errorClassName:n,inputClassName:c,labelClassName:s,...u}=e,x[0]=e,x[1]=o,x[2]=a,x[3]=n,x[4]=r,x[5]=c,x[6]=s,x[7]=d,x[8]=u,x[9]=p,x[10]=g):(o=x[1],a=x[2],n=x[3],r=x[4],c=x[5],s=x[6],d=x[7],u=x[8],p=x[9],g=x[10]);let w=void 0===p?"":p,v=void 0===g?"text":g,k=(0,i.useId)(),j=r||k,N="relative flex flex-col items-start gap-1 ".concat(o);return x[11]!==j||x[12]!==w||x[13]!==s||x[14]!==u?(f=w?(0,t.jsxs)("label",{className:s,htmlFor:j,children:[w," ",u.required?(0,t.jsx)("span",{className:"required-asterisk text-red-500",children:"*"}):null]}):null,x[11]=j,x[12]=w,x[13]=s,x[14]=u,x[15]=f):f=x[15],x[16]!==c||x[17]!==d||x[18]!==u||x[19]!==v?(h=(0,t.jsx)("input",{className:c,placeholder:d,type:v,...u}),x[16]=c,x[17]=d,x[18]=u,x[19]=v,x[20]=h):h=x[20],x[21]!==a||x[22]!==n?(y=a?(0,t.jsx)("p",{className:"".concat(n," text-left text-sm font-normal text-red-500"),children:(0,l.Ay)(a)}):null,x[21]=a,x[22]=n,x[23]=y):y=x[23],x[24]!==N||x[25]!==f||x[26]!==h||x[27]!==y?(b=(0,t.jsxs)("div",{className:N,children:[f,h,y]}),x[24]=N,x[25]=f,x[26]=h,x[27]=y,x[28]=b):b=x[28],b}},77696:(e,o,a)=>{a.d(o,{E:()=>m});var t=a(29635);let m=a(33891).forwardRef((e,o)=>{let{className:a,children:m,...l}=e;return(0,t.jsx)("p",{ref:o,className:a,...l,children:m})});m.displayName="Text"},86618:(e,o,a)=>{a.d(o,{D:()=>i});let t=["nus.edu.sg","btinternet.com","cbn.org","clrmail.com","duck.com","example.com","ggmaill.com","gmaiil.com","gmasdk.com","gmeil.com","gmsil.com","gx.com","hormai.com","hotmai.com","icloud.com","ieee.com","kpnmail.com","live.com","mail.space","micamail.in","protonmail.com","rediffmail.com","rocketmail.com","tuta.io","yandex.com","yeah.net","ymail.com","gmail.com","yahoo.com","hotmail.com","aol.com","hotmail.co.uk","hotmail.fr","msn.com","yahoo.fr","wanadoo.fr","orange.fr","comcast.net","yahoo.co.uk","yahoo.com.br","yahoo.co.in","live.com","rediffmail.com","free.fr","gmx.de","web.de","yandex.ru","ymail.com","libero.it","outlook.com","uol.com.br","bol.com.br","mail.ru","cox.net","hotmail.it","sbcglobal.net","sfr.fr","live.fr","verizon.net","live.co.uk","googlemail.com","yahoo.es","ig.com.br","live.nl","bigpond.com","terra.com.br","yahoo.it","neuf.fr","yahoo.de","alice.it","rocketmail.com","att.net","laposte.net","facebook.com","bellsouth.net","yahoo.in","hotmail.es","charter.net","yahoo.ca","yahoo.com.au","rambler.ru","hotmail.de","tiscali.it","shaw.ca","yahoo.co.jp","sky.com","earthlink.net","optonline.net","freenet.de","t-online.de","aliceadsl.fr","virgilio.it","home.nl","qq.com","telenet.be","me.com","yahoo.com.ar","tiscali.co.uk","yahoo.com.mx","voila.fr","gmx.net","planet.nl","tin.it","live.it","ntlworld.com","arcor.de","yahoo.co.id","frontiernet.net","hetnet.nl","live.com.au","yahoo.com.sg","zonnet.nl","club-internet.fr","juno.com","optusnet.com.au","blueyonder.co.uk","bluewin.ch","skynet.be","sympatico.ca","windstream.net","mac.com","centurytel.net","chello.nl","live.ca","aim.com","bigpond.net.au"],m=["aikunkun.com","yevme.com","yopmail.com","qq.com","123.com","163.com","0815.ru","0wnd.net","0wnd.org","10minutemail.co.za","10minutemail.com","123-m.com","1fsdfdsfsdf.tk","1pad.de","20minutemail.com","21cn.com","2fdgdfgdfgdf.tk","2prong.com","30minutemail.com","33mail.com","3trtretgfrfe.tk","4gfdsgfdgfd.tk","4warding.com","5ghgfhfghfgh.tk","6hjgjhgkilkj.tk","6paq.com","7tags.com","9ox.net","a-bc.net","agedmail.com","ama-trade.de","amilegit.com","amiri.net","amiriindustries.com","anonmails.de","anonymbox.com","antichef.com","antichef.net","antireg.ru","antispam.de","antispammail.de","armyspy.com","artman-conception.com","azmeil.tk","baxomale.ht.cx","beefmilk.com","bigstring.com","binkmail.com","bio-muesli.net","bobmail.info","bodhi.lawlita.com","bofthew.com","bootybay.de","boun.cr","bouncr.com","breakthru.com","brefmail.com","bsnow.net","bspamfree.org","bugmenot.com","bund.us","burstmail.info","buymoreplays.com","byom.de","c2.hu","card.zp.ua","casualdx.com","cek.pm","centermail.com","centermail.net","chammy.info","childsavetrust.org","chogmail.com","choicemail1.com","clixser.com","cmail.net","cmail.org","coldemail.info","cool.fr.nf","courriel.fr.nf","courrieltemporaire.com","crapmail.org","cust.in","cuvox.de","d3p.dk","dacoolest.com","dandikmail.com","dayrep.com","dcemail.com","deadaddress.com","deadspam.com","delikkt.de","despam.it","despammed.com","devnullmail.com","dfgh.net","digitalsanctuary.com","dingbone.com","disposableaddress.com","disposableemailaddresses.com","disposableinbox.com","dispose.it","dispostable.com","dodgeit.com","dodgit.com","donemail.ru","dontreg.com","dontsendmespam.de","drdrb.net","dump-email.info","dumpandjunk.com","dumpyemail.com","e-mail.com","e-mail.org","e4ward.com","easytras
1hmail.com","einmalmail.de","einrot.com","eintagsmail.de","emailgo.de","emailias.com","emaillime.com","emailsensei.com","emailtemporanea.com","emailtemporanea.net","emailtemporar.ro","emailtemporario.com.br","emailthe.net","emailtmp.com","emailwarden.com","emailx.at.hm","emailxfer.com","emeil.in","emeil.ir","emz.net","ero-tube.org","evopo.com","explodemail.com","express.net.ua","eyepaste.com","fakeinbox.com","fakeinformation.com","fansworldwide.de","fantasymail.de","fightallspam.com","filzmail.com","fivemail.de","fleckens.hu","frapmail.com","friendlymail.co.uk","fuckingduh.com","fudgerub.com","fyii.de","garliclife.com","gehensiemirnichtaufdensack.de","get2mail.fr","getairmail.com","getmails.eu","getonemail.com","giantmail.de","girlsundertheinfluence.com","gishpuppy.com","gmial.com","goemailgo.com","gotmail.net","gotmail.org","gotti.otherinbox.com","great-host.in","greensloth.com","grr.la","gsrv.co.uk","guerillamail.biz","guerillamail.com","guerrillamail.biz","guerrillamail.com","guerrillamail.de","guerrillamail.info","guerrillamail.net","guerrillamail.org","guerrillamailblock.com","gustr.com","harakirimail.com","hat-geld.de","hatespam.org","herp.in","hidemail.de","hidzz.com","hmamail.com","hopemail.biz","ieh-mail.de","ikbenspamvrij.nl","imails.info","inbax.tk","inbox.si","inboxalias.com","inboxclean.com","inboxclean.org","infocom.zp.ua","instant-mail.de","ip6.li","irish2me.com","iwi.net","jetable.com","jetable.fr.nf","jetable.net","jetable.org","jnxjn.com","jourrapide.com","jsrsolutions.com","kasmail.com","kaspop.com","killmail.com","killmail.net","klassmaster.com","klzlk.com","koszmail.pl","kurzepost.de","lawlita.com","letthemeatspam.com","lhsdv.com","lifebyfood.com","link2mail.net","litedrop.com","lol.ovpn.to","lolfreak.net","lookugly.com","lortemail.dk","lr78.com","lroid.com","lukop.dk","m21.cc","mail-filter.com","mail-temporaire.fr","mail.by","mail.mezimages.net","mail.zp.ua","mail1a.de","mail21.cc","mail2rss.org","mail333.com","mailbidon.com","mailbiz.biz","mailblocks.com","mailbucket.org","mailcat.biz","mailcatch.com","mailde.de","mailde.info","maildrop.cc","maileimer.de","mailexpire.com","mailfa.tk","mailforspam.com","mailfreeonline.com","mailguard.me","mailin8r.com","mailinater.com","mailinator.com","mailinator.net","mailinator.org","mailinator2.com","mailincubator.com","mailismagic.com","mailme.lv","mailme24.com","mailmetrash.com","mailmoat.com","mailms.com","mailnesia.com","mailnull.com","mailorg.org","mailpick.biz","mailrock.biz","mailscrap.com","mailshell.com","mailsiphon.com","mailtemp.info","mailtome.de","mailtothis.com","mailtrash.net","mailtv.net","mailtv.tv","mailzilla.com","makemetheking.com","manybrain.com","mbx.cc","mega.zik.dj","meinspamschutz.de","meltmail.com","messagebeamer.de","mezimages.net","ministry-of-silly-walks.de","mintemail.com","misterpinball.de","moncourrier.fr.nf","monemail.fr.nf","monmail.fr.nf","monumentmail.com","mt2009.com","mt2014.com","mycard.net.ua","mycleaninbox.net","mymail-in.net","mypacks.net","mypartyclip.de","myphantomemail.com","mysamp.de","mytempemail.com","mytempmail.com","mytrashmail.com","nabuma.com","neomailbox.com","nepwk.com","nervmich.net","nervtmich.net","netmails.com","netmails.net","neverbox.com","nice-4u.com","nincsmail.hu","nnh.com","no-spam.ws","noblepioneer.com","nomail.pw","nomail.xl.cx","nomail2me.com","nomorespamemails.com","nospam.ze.tc","nospam4.us","nospamfor.us","nospammail.net","notmailinator.com","nowhere.org","nowmymail.com","nurfuerspam.de","nus.edu.sg","objectmail.com","obobbo.com","odnorazovoe.ru","oneoffemail.com","onewaymail.com","onlatedotcom.info","online.ms","opayq.com","ordinaryamerican.net","otherinbox.com","ovpn.to","owlpic.com","pancakemail.com","pcusers.otherinbox.com","pjjkp.com","plexolan.de","poczta.onet.pl","politikerclub.de","poofy.org","pookmail.com","privacy.net","privatdemail.net","proxymail.eu","prtnx.com","putthisinyourspamdatabase.com","putthisinyourspamdatabase.com","qq.com","quickinbox.com","rcpt.at","reallymymail.com","realtyalerts.ca","recode.me","recursor.net","reliable-mail.com","rhyta.com","rmqkr.net","royal.net","rtrtr.com","s0ny.net","safe-mail.net","safersignup.de","safetymail.info","safetypost.de","saynotospams.com","schafmail.de","schrott-email.de","secretemail.de","secure-mail.biz","senseless-entertainment.com","services391.com","sharklasers.com","shieldemail.com","shiftmail.com","shitmail.me","shitware.nl","shmeriously.com","shortmail.net","sibmail.com","sinnlos-mail.de","slapsfromlastnight.com","slaskpost.se","smashmail.de","smellfear.com","snakemail.com","sneakemail.com","sneakmail.de","snkmail.com","sofimail.com","solvemail.info","sogetthis.com","soodonims.com","spam4.me","spamail.de","spamarrest.com","spambob.net","spambog.ru","spambox.us","spamcannon.com","spamcannon.net","spamcon.org","spamcorptastic.com","spamcowboy.com","spamcowboy.net","spamcowboy.org","spamday.com","spamex.com","spamfree.eu","spamfree24.com","spamfree24.de","spamfree24.org","spamgoes.in","spamgourmet.com","spamgourmet.net","spamgourmet.org","spamherelots.com","spamherelots.com","spamhereplease.com","spamhereplease.com","spamhole.com","spamify.com","spaml.de","spammotel.com","spamobox.com","spamslicer.com","spamspot.com","spamthis.co.uk","spamtroll.net","speed.1s.fr","spoofmail.de","stuffmail.de","super-auswahl.de","supergreatmail.com","supermailer.jp","superrito.com","superstachel.de","suremail.info","talkinator.com","teewars.org","teleworm.com","teleworm.us","temp-mail.org","temp-mail.ru","tempe-mail.com","tempemail.co.za","tempemail.com","tempemail.net","tempemail.net","tempinbox.co.uk","tempinbox.com","tempmail.eu","tempmaildemo.com","tempmailer.com","tempmailer.de","tempomail.fr","temporaryemail.net","temporaryforwarding.com","temporaryinbox.com","temporarymailaddress.com","tempthe.net","thankyou2010.com","thc.st","thelimestones.com","thisisnotmyrealemail.com","thismail.net","throwawayemailaddress.com","tilien.com","tittbit.in","tizi.c
1om","tmailinator.com","toomail.biz","topranklist.de","tradermail.info","trash-mail.at","trash-mail.com","trash-mail.de","trash2009.com","trashdevil.com","trashemail.de","trashmail.at","trashmail.com","trashmail.de","trashmail.me","trashmail.net","trashmail.org","trashymail.com","trialmail.de","trillianpro.com","twinmail.de","tyldd.com","uggsrock.com","umail.net","uroid.com","us.af","venompen.com","veryrealemail.com","viditag.com","viralplays.com","vpn.st","vsimcard.com","vubby.com","wasteland.rfc822.org","webemail.me","weg-werf-email.de","wegwerf-emails.de","wegwerfadresse.de","wegwerfemail.com","wegwerfemail.de","wegwerfmail.de","wegwerfmail.info","wegwerfmail.net","wegwerfmail.org","wh4f.org","whyspam.me","willhackforfood.biz","willselfdestruct.com","winemaven.info","wronghead.com","www.e4ward.com","www.mailinator.com","wwwnew.eu","x.ip6.li","xagloo.com","xemaps.com","xents.com","xmaily.com","xoxy.net","yep.it","yogamaven.com","yopmail.com","yopmail.fr","yopmail.net","yourdomain.com","yuurok.com","z1p.biz","za.com","zehnminuten.de","zehnminutenmail.de","zippymail.info","zoemail.net","zomg.info"],l=["icloud.com","gmail.com","hotmail.com","outlook.com","outloo.com","hotmail.ca","hotmail.it","iclouf.com","yahoo.com","yahoo.com.br","yahoo.ca","yahoo.es","yahoo.co","yahoo.co.uk","yahoo.com.ar","yahoo.in","outliok.com","gmaim.com","gmail.com.ar","gmail.net","gmsil.com","gmail.com.br","gmaiil.com","gmaol.com","gmeil.com","gmal.com","gamil.com","126.com","123.com","xxx.com","abcdef.com","aol.com","att.net","24682.net","719.com","aol.co","yandex.com","comcast.net","cbn.com","email.com","gamail.com","ggmaill.com","gmasdk.com","gmbh.mx","hey.com","hhh.com","hmhn.org","jbltd.com","live.ca","live.com","mac.com","me.com","msn.com","ppsd.org","protonmail.com","randk.com","rocketmail.com","ymail.com","kjhky.com","gts.in","test.com","testr.com","testing.com","tst.com","11392433cainc.ca","12345.com","0123.com","1234456789.com","2343.com","mail.ru","a.com","b.com","xyz.com","abc.com","abcd.com","qwerty.com","nope.com","fgdgf.com","gimel.com","gamal.com","x.co","x.com","c.co","gimall.com","ass.com","hotmail.co.uk","gmqil.com","ghty.com","btinternet.com","gmaill.com","gmailc.mo","fmldkfdk.com","gmall.com","gmile.com","kvhrw.com","0gmail.com","gmali.com","gmaull.com","0000.com","02.pl","021.capital","09gmail.com","10.hotmail.com","10minut.xyz","11.com","110gmail.com","12.co","12345gmil.com","123test.com","14gmai.com","163.com","163.com.cn","192gemail.com","2.com","20minutemai.com","2323.com","25sprot.com","2gmail.com","2gmamail.com","365mc.com","479.gm","55.gmail.com","59693gmail.com","5email.com","684hh.com","6paqsidjicnsdcs.com","aa.com","aaa.cc","aaa.com","qq.com","gmx.com","appzily.com","thejoker5.com","yevme.com","tssaero.ae","ss.com","gmil.com","uniromax.com","gmai.com","yopmail.com","yandex.ru","wp.pl","rediffmail.com","popcornfarm7.com","yahoo.co.in","gemail.com","cc.com","gmail.co","hotmail.fr","gmail.om","windowslive.com","emailnax.com","gnail.com","abv.bg","dispostable.com","privacy-mail.top","hmail.com","nwytg.net","google.com","yahoo.fr","zooants.com","gmail.cm","bbc.com","g.com","sdvgeft.com","sbcglobal.net","hotmail.com.tr","bptfp.net","dd.com","hotmai.com","kiabws.com","gimail.com","gmaul.com","hotmail.com.au","web.de","op.pl","pptrvv.com","gimal.com","surveysparrow.net","surveysaprrow.com","surveysparow.com","surveysparrrow.com","surveysparrow.in","altmails.com","ss.so","sstestaug.com","uflexltd.com","gail.com","gmail.org","gmaio.com","hotmail.es","gma.com","email1.pro","fake.com","asdsd.com","junk.com","mailhub.pro","outlook.es","mhzayt.online","example.com","apple.com","just4fun.me","quick-mail.cc","yanex.com","arts.ac.uk","aqwerfgh.com","asd.com","tghjc.com","hotmil.com","gmiail.com","g.mail.com","zqrni.com","gmakl.com","gmaiil.com","check.com","gmx.d","wanadoo.fr","orange.fr","free.fr","gmx.de","libero.it","uol.com.br","bol.com.br","cox.net","sfr.fr","live.fr","verizon.net","live.co.uk","googlemail.com","ig.com.br","live.nl","bigpond.com","terra.com.br","yahoo.it","neuf.fr","yahoo.de","alice.it","laposte.net","facebook.com","bellsouth.net","charter.net","yahoo.com.au","rambler.ru","hotmail.de","tiscali.it","shaw.ca","yahoo.co.jp","sky.com","earthlink.net","optonline.net","freenet.de","t-online.de","aliceadsl.fr","virgilio.it","home.nl","telenet.be","tiscali.co.uk","yahoo.com.mx","voila.fr","gmx.net","planet.nl","tin.it","live.it","ntlworld.com","arcor.de","yahoo.co.id","frontiernet.net","hetnet.nl","live.com.au","yahoo.com.sg","zonnet.nl","club-internet.fr","juno.com","optusnet.com.au","blueyonder.co.uk","bluewin.ch","skynet.be","sympatico.ca","windstream.net","centurytel.net","chello.nl","aim.com","bigpond.net.au","gmailll.com","gmllla.com"];function i(e){let o=e.split("@")[1]||"",a=o.split(".")[0]||"",i=t.includes(o),n=[t,m,l].some(e=>e.includes(o));return{domain:o,company:a,isPersonal:i,isInvalid:n}}},91736:(e,o,a)=>{a.d(o,{Q:()=>t});let t=e=>{let o=globalThis.window;return void 0===o?null:new URLSearchParams(o.location.search).get(e)}},92166:(e,o,a)=>{a.d(o,{Dialog:()=>r,DialogClose:()=>g,DialogContent:()=>u,DialogOverlay:()=>d,DialogPortal:()=>s,DialogTrigger:()=>c});var t=a(29635),m=a(89173),l=a(33891),i=a(37364),n=a(52229);let r=e=>{let o,a,l,n=(0,m.c)(6);return n[0]!==e?({children:o,...a}=e,n[0]=e,n[1]=o,n[2]=a):(o=n[1],a=n[2]),n[3]!==o||n[4]!==a?(l=(0,t.jsx)(i.bL,{...a,children:o}),n[3]=o,n[4]=a,n[5]=l):l=n[5],l};
1r.displayName="Dialog";let c=(0,l.forwardRef)((e,o)=>{let a,l,n,r=(0,m.c)(7);return r[0]!==e?({children:a,...l}=e,r[0]=e,r[1]=a,r[2]=l):(a=r[1],l=r[2]),r[3]!==a||r[4]!==o||r[5]!==l?(n=(0,t.jsx)(i.l9,{...l,ref:o,children:a}),r[3]=a,r[4]=o,r[5]=l,r[6]=n):n=r[6],n});c.displayName="DialogTrigger";let s=e=>{let o,a,l,n=(0,m.c)(6);return n[0]!==e?({children:o,...a}=e,n[0]=e,n[1]=o,n[2]=a):(o=n[1],a=n[2]),n[3]!==o||n[4]!==a?(l=(0,t.jsx)(i.ZL,{...a,children:o}),n[3]=o,n[4]=a,n[5]=l):l=n[5],l};s.displayName="DialogPortal";let d=(0,l.forwardRef)((e,o)=>{let a,l,n,r,c=(0,m.c)(9);c[0]!==e?({children:a,className:l,...n}=e,c[0]=e,c[1]=a,c[2]=l,c[3]=n):(a=c[1],l=c[2],n=c[3]);let s="".concat(l," z-999999");return c[4]!==a||c[5]!==o||c[6]!==n||c[7]!==s?(r=(0,t.jsx)(i.hJ,{...n,ref:o,className:s,children:a}),c[4]=a,c[5]=o,c[6]=n,c[7]=s,c[8]=r):r=c[8],r});d.displayName="DialogOverlay";let u=(0,l.forwardRef)((e,o)=>{let a,l,r,c,s,d=(0,m.c)(10);d[0]!==e?({children:a,className:l,...r}=e,d[0]=e,d[1]=a,d[2]=l,d[3]=r):(a=d[1],l=d[2],r=d[3]);let u="".concat(l," z-999999");return d[4]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsxs)(n.s6,{children:[(0,t.jsx)(p,{})," //radix dialog wont work without title so we are hiding it with visually hidden"]}),d[4]=c):c=d[4],d[5]!==a||d[6]!==o||d[7]!==r||d[8]!==u?(s=(0,t.jsxs)(i.UC,{...r,ref:o,className:u,children:[a,c]}),d[5]=a,d[6]=o,d[7]=r,d[8]=u,d[9]=s):s=d[9],s});u.displayName="DialogContent";let p=(0,l.forwardRef)((e,o)=>{let a,l,n,r,c=(0,m.c)(9);return c[0]!==e?({children:a,className:l,...n}=e,c[0]=e,c[1]=a,c[2]=l,c[3]=n):(a=c[1],l=c[2],n=c[3]),c[4]!==a||c[5]!==l||c[6]!==o||c[7]!==n?(r=(0,t.jsx)(i.hE,{...n,ref:o,className:l,children:a}),c[4]=a,c[5]=l,c[6]=o,c[7]=n,c[8]=r):r=c[8],r});p.displayName="DialogTitle";let g=(0,l.forwardRef)((e,o)=>{let a,l,n,r=(0,m.c)(7);return r[0]!==e?({children:a,...l}=e,r[0]=e,r[1]=a,r[2]=l):(a=r[1],l=r[2]),r[3]!==a||r[4]!==o||r[5]!==l?(n=(0,t.jsx)(i.bm,{...l,ref:o,children:a}),r[3]=a,r[4]=o,r[5]=l,r[6]=n):n=r[6],n});g.displayName="DialogClose"},98038:(e,o,a)=>{a.d(o,{IpDataProvider:()=>c,P:()=>s});var t=a(29635),m=a(33891);let l=function(e,o){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:30;if("undefined"==typeof document)return;let t=new Date;t.setTime(t.getTime()+24*a*36e5),document.cookie="".concat(e,"=").concat(o,";expires=").concat(t.toUTCString(),";path=/")},i="ip_data",n=(0,m.createContext)(void 0);async function r(e){let o=await fetch("".concat("https://geoip.tools.surveysparrow.com/get-country-infoCLOUDFLARE_API_TOKEN=5CO9iOFxDUqEw8W_weHwXkEFYiMrw2X8Puv_UZvN"),{method:"GET",headers:{accept:"application/json"},signal:e});if(!o.ok)throw Error("HTTP error! status: ".concat(o.status));let a=await o.json();return{ip:null==a?void 0:a.ip,country:null==a?void 0:a.country,city:null==a?void 0:a.city,region:null==a?void 0:a.region,regionCode:null==a?void 0:a.region_code,countryName:null==a?void 0:a.country_name,countryCode:null==a?void 0:a.country_code,latitude:null==a?void 0:a.latitude,longitude:null==a?void 0:a.longitude,postal:null==a?void 0:a.postal,timezone:null==a?void 0:a.timezone,continentCode:null==a?void 0:a.continent_code,inEu:null==a?void 0:a.in_eu,currency:null==a?void 0:a.currency,countryCallingCode:null==a?void 0:a.country_calling_code}}function c(e){let{children:o}=e,[a,c]=(0,m.useState)(null),[s,d]=(0,m.useState)(!0),[u,p]=(0,m.useState)(null),g=(0,m.useCallback)(async e=>{d(!0),p(null);try{let o=await r(e);c(o),o&&l(i,JSON.stringify(o),7)}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;p(e instanceof Error?e.message:"Failed to fetch country details")}finally{d(!1)}},[]);(0,m.useEffect)(()=>{let e=new AbortController;return(async()=>{let o=(e=>{if("undefined"==typeof document)return null;let o="".concat(e,"="),a=document.cookie.split(";");for(let e=0;e<a.length;e++){let t=a[e];for(;" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(o))return t.substring(o.length,t.length)}return null})(i);if(o)try{let e=JSON.parse(o);if("object"==typeof e&&null!==e&&"countryCode"in e&&"ip"in e){c(e),d(!1);return}}catch(e){}await g(e.signal)}
1)(),()=>e.abort()},[g]);let f=(0,m.useMemo)(()=>({ipData:a,loading:s,error:u,refreshIpData:g}),[a,s,u,g]);return(0,t.jsx)(n.Provider,{value:f,children:o})}function s(){let e=(0,m.useContext)(n);if(void 0===e)throw Error("useIpData must be used within a IpDataProvider");return e}}}]);

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.