1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="0aa3f0e7-bd93-98bf-efb3-3423f9abdfe0")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,998544,(e,t,r)=>{"use strict";var i=e.r(82554),n=e.r(533006),a=e.r(795565),o=e.r(485302);r._=function(e){return i._(e)||n._(e)||o._(e)||a._()}},605500,(e,t,r)=>{"use strict";var i=e.r(344086),n=e.r(204571),a=e.r(95692),o=e.r(891470),l=e.r(998544),s=e.r(621991),u=e.r(368996);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return C}});var c=e.r(555682),d=e.r(190809),f=e.r(843476),p=d._(e.r(271645)),g=c._(e.r(174080)),m=c._(e.r(325633)),h=e.r(908927),v=e.r(987690),b=e.r(918556),y=e.r(65856),_=c._(e.r(1948)),w=e.r(818581),P={deviceSizes:[640,750,828,1080,1200,1920],imageSizes:[16,32,48,64,96,128,256],qualities:[50,75,80,92],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function x(e,t,r,a,o,l,s){var u=null==e?void 0:e.src;e&&e["data-loaded-src"]!==u&&(e["data-loaded-src"]=u,("decode"in e?e.decode():Promise.resolve()).catch(function(){}).then(function(){if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){var l=new Event("load");Object.defineProperty(l,"target",{writable:!1,value:e});var s=!1,u=!1;r.current(n._(i._({},l),{nativeEvent:l,currentTarget:e,target:e,isDefaultPrevented:function(){return s},isPropagationStopped:function(){return u},persist:function(){},preventDefault:function(){s=!0,l.preventDefault()},stopPropagation:function(){u=!0,l.stopPropagation()}}))}(null==a?void 0:a.current)&&a.current(e)}}))}function S(e){return p.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);var j="u"<typeof window?p.useEffect:p.useLayoutEffect,O=(0,p.forwardRef)(function(e,t){var r=l._([e,t]),s=r[0],u=r.slice(1),c=s.src,d=s.srcSet,g=s.sizes,m=s.height,h=s.width,v=s.decoding,b=s.className,y=s.style,_=s.fetchPriority,P=s.placeholder,O=s.loading,E=s.unoptimized,C=s.fill,z=s.onLoadRef,R=s.onLoadingCompleteRef,k=s.setBlurComplete,N=s.setShowAltText,T=s.sizesInput,L=(s.onLoad,s.onError),I=a._(s,["src","srcSet","sizes","height","width","decoding","className","style","fetchPriority","placeholder","loading","unoptimized","fill","onLoadRef","onLoadingCompleteRef","setBlurComplete","setShowAltText","sizesInput","onLoad","onError"]),G=o._(u,1)[0],A=(0,p.useRef)(!1),M=(0,p.useRef)(null);j(function(){var e=A.current,t=M.current;e||null===t||(L&&(t.src=t.src),t.complete&&x(t,P,z,R,k,E,T),A.current=!0)},[c,P,z,R,L,E,T]);var U=(0,w.useMergedRef)(G,M);return(0,f.jsx)("img",n._(i._({},I,S(_)),{loading:O,width:h,height:m,decoding:v,"data-nimg":C?"fill":"1",className:b,style:y,sizes:g,srcSet:d,src:c,ref:U,onLoad:function(e){x(e.currentTarget,P,z,R,k,E,T)},onError:function(e){N(!0),"empty"!==P&&k(!0),L&&L(e)}}))});function E(e){var t=e.isAppRouter,r=e.imgAttributes,n=i._({as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy},S(r.fetchPriority));return t&&g.default.preload?(g.default.preload(r.src,n),null):(0,f.jsx)(m.default,{children:(0,f.jsx)("link",i._({rel:"preload",href:r.srcSet?void 0:r.src},n),"__nimg-"+r.src+r.srcSet+r.sizes)})}var C=(0,p.forwardRef)(function(e,t){var r=(0,p.useContext)(y.RouterContext),a=(0,p.useContext)(b.ImageConfigContext),l=(0,p.useMemo)(function(){var e,t=P||a||v.imageConfigDefault,r=s._(t.deviceSizes).concat(s._(t.imageSizes)).sort(function(e,t){return e-t}),o=t.deviceSizes.sort(function(e,t){return e-t}),l=null==(e=t.qualities)?void 0:e.sort(function(e,t){return e-t});return n._(i._({},t),{allSizes:r,deviceSizes:o,qualities:l,localPatterns:"u"<typeof window?null==a?void 0:a.localPatterns:t.localPatterns})},[a]),u=e.onLoad,c=e.onLoadingComplete,d=(0,p.useRef)(u);(0,p.useEffect)(function(){d.current=u},[u]);var g=(0,p.useRef)(c);(0,p.useEffect)(function(){g.current=c},[c]);var m=o._((0,p.useState)(!1),2),w=m[0],x=m[1],S=o._((0,p.useState)(!1),2),j=S[0],C=S[1],z=(0,h.getImgProps)(e,{defaultLoader:_.default,imgConf:l,blurComplete:w,showAltText:j}),R=z.props,k=z.meta;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(O,n._(i._({},R),{unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:d,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:C,sizesInput:e.sizes,ref:t})),k.preload?(0,f.jsx)(E,{isAppRouter:!r,imgAttributes:R}):null]})});("function"==typeof r.default||"object"===u._(r.default)&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},670965,(e,t,r)=>{"use strict";function i(e,t){var r,i=e||75;return(null==t||null==(r=t.qualities)?void 0:r.length)?t.qualities.reduce(function(e,t){return Math.abs(t-i)<Math.abs(e-i)?t:e},t.qualities[0]):i}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return i}})},908927,(e,t,r)=>{"use strict";var i=e.r(344086),n=e.r(204571),a=e.r(95692),o=e.r(891470),l=e.r(998544),s=e.r(621991),u=e.r(368996);Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return h}});var c=e.r(543369),d=e.r(488143),f=e.r(987690),p=["-moz-initial","fill","none","scale-down",void 0];function g(e){return void 0!==e.default}function m(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function h(e,t){var r,h,v,b=l._([e,t]),y=b[0],_=b.slice(1),w=y.src,P=y.sizes,x=y.unoptimized,S=void 0!==x&&x,j=y.priority,O=void 0!==j&&j,E=y.preload,C=void 0!==E&&E,z=y.loading,R=y.className,k=y.quality,N=y.width,T=y.height,L=y.fill,I=void 0!==L&&L,G=y.style,A=y.overrideSrc,M=(y.onLoad,y.onLoadingComplete,y.placeholder),U=void 0===M?"empty":M,D=y.blurDataURL,B=y.fetchPriority,q=y.decoding,F=y.layout,W=y.objectFit,H=y.objectPosition,X=(y.lazyBoundary,y.lazyRoot,a._(y,["src","sizes","unoptimized","priority","preload","loading","className","quality","width","height","fill","style","overrideSrc","onLoad","onLoadingComplete","placeholder","blurDataURL","fetchPriority","decoding","layout","objectFit","objectPosition","lazyBoundary","lazyRoot"])),J=o._(_,1)[0],V=J.imgConf,Y=J.showAltText,$=J.blurComplete,K=J.defaultLoader,Q=V||f.imageConfigDefault;if("allSizes"in Q)Z=Q;else{var Z,ee,et=s._(Q.deviceSizes).concat(s._(Q.imageSizes)).sort(function(e,t){return e-t}),er=Q.deviceSizes.sort(function(e,t){return e-t}),ei=null==(ee=Q.qualities)?void 0:ee.sort(function(e,t){return e-t});Z=n._(i._({},Q),{allSizes:et,deviceSizes:er,qualities:ei})}if(void 0===K)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});var en=X.loader||K;delete X.loader,delete X.srcSet;var ea="__next_img_default"in en;if(ea){if("custom"===Z.loader)throw Object.defineProperty(Error('Image with src "'.concat(w,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader"),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{var eo=en;en=function(e){return e.config,eo(a._(e,["config"]))}}if(F){"fill"===F&&(I=!0);var el={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[F];el&&(G=i._({},G,el));var es={responsive:"100vw",fill:"100vw"}[F];es&&!P&&(P=es)}var eu="",ec=m(N),ed=m(T);if((r=w)&&(void 0===r?"undefined":u._(r))==="object"&&(g(r)||void 0!==r.src)){var ef=g(w)?w.default:w;if(!ef.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(ef))),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!ef.height||!ef.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(ef))),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(h=ef.blurWidth,v=ef.blurHeight,D=D||ef.blurDataURL,eu=ef.src,!I)if(ec||ed){if(ec&&!ed){var ep=ec/ef.width;ed=Math.round(ef.height*ep)}else if(!ec&&ed){var eg=ed/ef.height;ec=Math.round(ef.width*eg)}}else ec=ef.width,ed=ef.height}var em=!O&&!C&&("lazy"===z||void 0===z);
2(!(w="string"==typeof w?w:eu)||w.startsWith("data:")||w.startsWith("blob:"))&&(S=!0,em=!1),Z.unoptimized&&(S=!0),ea&&!Z.dangerouslyAllowSVG&&w.split("?",1)[0].endsWith(".svg")&&(S=!0);var eh=m(k),ev=Object.assign(I?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:W,objectPosition:H}:{},Y?{}:{color:"transparent"},G),eb=$||"empty"===U?null:"blur"===U?'url("data:image/svg+xml;charset=utf-8,'.concat((0,d.getImageBlurSvg)({widthInt:ec,heightInt:ed,blurWidth:h,blurHeight:v,blurDataURL:D||"",objectFit:ev.objectFit}),'")'):'url("'.concat(U,'")'),ey=p.includes(ev.objectFit)?"fill"===ev.objectFit?"100% 100%":"cover":ev.objectFit,e_=eb?{backgroundSize:ey,backgroundPosition:ev.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:eb}:{},ew=function(e){var t=e.config,r=e.src,i=e.unoptimized,n=e.width,a=e.quality,o=e.sizes,l=e.loader;if(i){if(r.startsWith("/")&&!r.startsWith("//")){var u=(0,c.getDeploymentId)();if(r.includes("/_next/static/immutable")&&!(0,c.getAssetToken)())u=void 0;else if(u){var d=r.indexOf("?");
2if(-1!==d){var f=new URLSearchParams(r.slice(d+1));f.get("dpl")||(f.append("dpl",u),r=r.slice(0,d)+"?"+f.toString())}else r+="?dpl=".concat(u)}}return{src:r,srcSet:void 0,sizes:void 0}}var p=function(e,t,r){var i=e.deviceSizes,n=e.allSizes;if(r){for(var a=/(^|\s)(1?\d?\d)vw/g,o=[];l=a.exec(r);)o.push(parseInt(l[2]));if(o.length){var l,u,c=.01*(u=Math).min.apply(u,s._(o));return{widths:n.filter(function(e){return e>=i[0]*c}),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof t?{widths:i,kind:"w"}:{widths:s._(new Set([t,2*t].map(function(e){return n.find(function(t){return t>=e})||n[n.length-1]}))),kind:"x"}}(t,n,o),g=p.widths,m=p.kind,h=g.length-1;return{sizes:o||"w"!==m?o:"100vw",srcSet:g.map(function(e,i){return"".concat(l({config:t,src:r,quality:a,width:e})," ").concat("w"===m?e:i+1).concat(m)}).join(", "),src:l({config:t,src:r,quality:a,width:g[h]})}}({config:Z,src:w,unoptimized:S,width:ec,quality:eh,sizes:P,loader:en}),eP=em?"lazy":z;return{props:n._(i._({},X),{loading:eP,fetchPriority:B,width:ec,height:ed,decoding:void 0===q?"async":q,className:R,style:i._({},ev,e_),sizes:ew.sizes,srcSet:ew.srcSet,src:A||ew.src}),meta:{unoptimized:S,preload:C||O,placeholder:U,fill:I}}}},325633,(e,t,r)=>{"use strict";var i=e.r(368996);Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return h},defaultHead:function(){return f}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});var o=e.r(555682),l=e.r(190809),s=e.r(843476),u=l._(e.r(271645)),c=o._(e.r(898879)),d=e.r(742732);function f(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===u.default.Fragment?e.concat(u.default.Children.toArray(t.props.children).reduce(function(e,t){return"string"==typeof t||"number"==typeof t?e:e.concat(t)},[])):e.concat(t)}var g=["name","httpEquiv","charSet","itemProp"];function m(e){var t,r,i,n;return e.reduce(p,[]).reverse().concat(f().reverse()).filter((t=new Set,r=new Set,i=new Set,n={},function(e){var a=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;var l=e.key.slice(e.key.indexOf("$")+1);t.has(l)?a=!1:t.add(l)}switch(e.type){case"title":case"base":r.has(e.type)?a=!1:r.add(e.type);break;case"meta":for(var s=0,u=g.length;s<u;s++){var c=g[s];if(e.props.hasOwnProperty(c))if("charSet"===c)i.has(c)?a=!1:i.add(c);else{var d=e.props[c],f=n[c]||new Set;("name"!==c||!o)&&f.has(d)?a=!1:(f.add(d),n[c]=f)}}}return a})).reverse().map(function(e,t){var r=e.key||t;return u.default.cloneElement(e,{key:r})})}var h=function(e){var t=e.children,r=(0,u.useContext)(d.HeadManagerContext);return(0,s.jsx)(c.default,{reduceComponentsToState:m,headManager:r,children:t})};("function"==typeof r.default||"object"===i._(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)},488143,(e,t,r)=>{"use strict";function i(e){var t=e.widthInt,r=e.heightInt,i=e.blurWidth,n=e.blurHeight,a=e.blurDataURL,o=e.objectFit,l=i?40*i:t,s=n?40*n:r,u=l&&s?"viewBox='0 0 ".concat(l," ").concat(s,"'"):"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' ".concat(u,"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='").concat(20,"'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='").concat(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none","' style='filter: url(%23b);' href='").concat(a,"'/%3E%3C/svg%3E")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},918556,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});var i=e.r(555682)._(e.r(271645)),n=e.r(987690),a=i.default.createContext(n.imageConfigDefault)},987690,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0});var i={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return o}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});var a=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},794909,(e,t,r)=>{"use strict";var i=e.r(891470);Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return d},getImageProps:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});var o=e.r(555682),l=e.r(908927),s=e.r(605500),u=o._(e.r(1948));function c(e){var t=(0,l.getImgProps)(e,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920],imageSizes:[16,32,48,64,96,128,256],qualities:[50,75,80,92],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}}).props,r=!0,n=!1,a=void 0;try{for(var o,s=Object.entries(t)[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=i._(o.value,2),d=c[0],f=c[1];void 0===f&&delete t[d]}}catch(e){n=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw a}}return{props:t}}var d=s.Image},657688,(e,t,r)=>{t.exports=e.r(794909)},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});var i=e.r(670965),n=e.r(543369);function a(e){var t,r=e.config,a=e.src,o=e.width,l=e.quality,s=(0,n.getDeploymentId)();if(a.startsWith("/")&&!a.startsWith("//"))if(a.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())s=void 0;else{var u=a.indexOf("?");if(-1!==u){var c=new URLSearchParams(a.slice(u+1)),d=c.get("dpl");if(d){s=d,c.delete("dpl");var f=c.toString();a=a.slice(0,u)+(f?"?"+f:"")}}}if(a.startsWith("/")&&a.includes("?")&&(null==(t=r.localPatterns)?void 0:t.length)===1&&"**"===r.localPatterns[0].pathname&&""===r.localPatterns[0].search)throw Object.defineProperty(Error('Image with src "'.concat(a,'" is using a query string which is not configured in images.localPatterns.')+"\nRead more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});var p=(0,i.findClosestQuality)(l,r);return"".concat(r.path,"?url=").concat(encodeURIComponent(a),"&w=").concat(o,"&q=").concat(p).concat(a.startsWith("/")&&s?"&dpl=".concat(s):"")}a.__next_img_default=!0;var o=a},65856,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return i}});var i=e.r(555682)._(e.r(271645)).default.createContext(null)},898879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});var i=e.r(271645),n="u"<typeof window,a=n?function(){}:i.useLayoutEffect,o=n?function(){}:i.useEffect;function l(e){var t,r=e.headManager,l=e.reduceComponentsToState;function s(){if(r&&r.mountedInstances){var e=i.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(l(e))}}return n&&(null==r||null==(t=r.mountedInstances)||t.add(e.children),s()),a(function(){var t;return null==r||null==(t=r.mountedInstances)||t.add(e.children),function(){var t;null==r||null==(t=r.mountedInstances)||t.delete(e.children)}}),a(function(){return r&&(r._pendingUpdate=s),function(){r&&(r._pendingUpdate=s)}}),o(function(){return r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),function(){r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)}}),null}},524712,e=>{"use strict";
2var t=e.i(120786),r=e.i(92808),i=e.i(233027),n=e.i(651682),a=e.i(843476),o=e.i(861745),l=e.i(948148),s=e.i(657688),u=e.i(271645),c=e.i(659544),d=e.i(611286),f=e.i(304236),p=e.i(843523),g=function(e){var t=e.className;return(0,a.jsx)("span",{"aria-hidden":"true",className:"inline-block animate-spin rounded-full border-2 border-neutral-200 border-t-neutral-900 ".concat(void 0===t?"":t)})},m=function(){var e=(0,o.useLocale)(),t=(0,l.useTranslations)("GooglePopupSignup"),r=(0,n._)((0,u.useState)("idle"),2),i=r[0],m=r[1],h=(0,u.useRef)(null),v=(0,u.useRef)(null),b=function(){var e;null==(e=h.current)||e.close(),h.current=null},y=function(){var e=h.current;e&&!e.closed&&e.focus()},_=function(){window.location.href=(0,d.enhanceAppUrl)((0,d.getGoogleSignupUrl)(e))};(0,u.useEffect)(function(){if("waiting"===i){var t=function(t){if(t.origin===(0,p.getGooglePopupCallbackOrigin)()){var r=t.data;if((null==r?void 0:r.type)===p.GOOGLE_POPUP_MESSAGE_TYPE&&r.state===v.current){if(b(),!r.credential)return void m("idle");m("redirecting"),(0,f.continueToAppWithGoogleCredential)(e,r.credential)}}},r=window.setInterval(function(){(!h.current||h.current.closed)&&(window.clearInterval(r),window.setTimeout(function(){return m(function(e){return"waiting"===e?"idle":e})},800))},500);return window.addEventListener("message",t),function(){window.removeEventListener("message",t),window.clearInterval(r)}}},[i,e]);var w="waiting"===i||"redirecting"===i,P={waiting:{title:t("waitingTitle"),subtitle:t("waitingSubtitle")},redirecting:{title:t("redirectingTitle"),subtitle:t("redirectingSubtitle")}},x="idle"!==i?(0,a.jsxs)("div",{role:"dialog","aria-modal":"true","aria-live":"polite",className:"fixed inset-0 z-[100] flex items-center justify-center bg-neutral-900/40 p-6 backdrop-blur-sm",children:[(0,a.jsx)("button",{type:"button","aria-label":t("bringBack"),onClick:y,className:"absolute inset-0 cursor-default"}),(0,a.jsx)("div",{className:"relative w-full max-w-sm rounded-3xl border border-neutral-200 bg-white text-center shadow-2xl shadow-neutral-900/20",children:(0,a.jsxs)("div",{className:"px-8 py-10",children:[(0,a.jsxs)("div",{className:"relative mx-auto h-14 w-14",children:[w?(0,a.jsx)(g,{className:"absolute inset-0 h-14 w-14"}):(0,a.jsx)("span",{className:"absolute inset-0 rounded-full border-2 border-neutral-200"}),(0,a.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",children:(0,a.jsx)(s.default,{src:"/images/icons/google.svg",alt:"",width:22,height:22})})]}),(0,a.jsx)("p",{className:"mt-6 text-lg font-semibold tracking-tight text-neutral-900",children:P[i].title}),(0,a.jsx)("p",{className:"mt-1.5 text-sm text-neutral-500",children:P[i].subtitle}),"waiting"===i?(0,a.jsxs)("div",{className:"mt-6 flex flex-col items-center gap-3",children:[(0,a.jsx)(c.Button,{type:"button",variant:"dark",size:"md",onClick:y,children:t("bringBack")}),(0,a.jsx)("button",{type:"button",onClick:function(){b(),m("idle")},className:"text-sm font-medium text-neutral-500 underline decoration-neutral-300 underline-offset-4 hover:text-neutral-900 hover:decoration-neutral-900",children:t("cancel")})]}):null]})})]}):null;return{open:function(){if(!(0,p.isGooglePopupSignupEnabled)())return void _();var t=(0,p.encodeGooglePopupState)({token:crypto.randomUUID().replace(/-/g,""),origin:window.location.origin}),r=new URL(p.GOOGLE_POPUP_START_PATH,window.location.origin);r.searchParams.set("state",t),r.searchParams.set("lang",e);var i=window.screenX+Math.max(0,(window.outerWidth-500)/2),n=window.screenY+Math.max(0,(window.outerHeight-640)/2),a=window.open(r.toString(),"holded-google-signup","popup=yes,width=".concat(500,",height=").concat(640,",left=").concat(Math.round(i),",top=").concat(Math.round(n)));a?(v.current=t,h.current=a,m("waiting")):_()},busy:w,dialog:x}},h=function(e){var t=e.children,r=e.variant,i=e.size,n=e.className,l=e.arrow,u=e.trackType,f=(0,o.useLocale)();return(0,a.jsxs)(c.Button,{href:(0,d.getGoogleSignupUrl)(f),variant:r,size:i,arrow:l,className:n,"data-track-event":"cta_signup","data-track-props":JSON.stringify({type:u}),children:[(0,a.jsx)(s.default,{src:"/images/icons/google.svg",alt:"Google",width:18,height:18,className:"shrink-0"}),t]})};e.s(["GooglePopupSignupButton",0,function(e){var t=e.children,r=e.variant,i=void 0===r?"secondary":r,n=e.size,o=void 0===n?"lg":n,l=e.className,u=e.arrow,d=e.trackType,f=void 0===d?"cta_google_popup":d,v=m(),b=v.open,y=v.busy,_=v.dialog;return(0,p.isGooglePopupSignupEnabled)()?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c.Button,{type:"button",onClick:b,disabled:y,"aria-busy":y,variant:i,size:o,arrow:u,className:l,"data-track-event":"cta_signup","data-track-props":JSON.stringify({type:"".concat(f,"_click")}),children:[y?(0,a.jsx)(g,{className:"h-[18px] w-[18px] shrink-0"}):(0,a.jsx)(s.default,{src:"/images/icons/google.svg",alt:"Google",width:18,height:18,className:"shrink-0"}),t]}),_]}):(0,a.jsx)(h,{variant:i,size:o,className:l,arrow:u,trackType:f,children:t})},"GooglePopupSignupTrigger",0,function(e){var n=e.trackType,l=e.children,s=(0,i._)(e,["trackType","children"]),u=(0,o.useLocale)(),c=m(),f=c.open,g=c.busy,h=c.dialog;if(!(0,p.isGooglePopupSignupEnabled)()){var v=s.className,b=s.title,y=s["aria-label"];return(0,a.jsx)("a",{href:(0,d.getGoogleSignupUrl)(u),className:v,title:b,"aria-label":y,"data-track-event":"cta_signup","data-track-props":JSON.stringify({type:void 0===n?"cta_google_popup":n}),children:l})}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",(0,r._)((0,t._)({type:"button",onClick:f,disabled:g,"aria-busy":g},s),{children:l})),h]})},"useGooglePopupSignup",0,m])},304236,843523,e=>{"use strict";var t=e.i(651682),r=e.i(611286),i=e.i(247167);e.i(540316);var n=e.i(500075),a=e.i(231335),o="/api/auth/google/continue",l=function(){return true},s=function(e){try{var t,r=null!=(t=e.split(".")[1])?t:"",i=atob(r.replace(/-/g,"+").replace(/_/g,"/")),a=JSON.parse(i);if(a&&(void 0===a?"undefined":(0,n._)(a))==="object"&&"email"in a&&"string"==typeof a.email)return a.email}catch(e){}return null};e.s(["GOOGLE_POPUP_CONTINUE_PATH",0,o,"GOOGLE_POPUP_MESSAGE_TYPE",0,"holded:google-signup","GOOGLE_POPUP_START_PATH",0,"/api/auth/google/start","encodeGooglePopupState",0,function(e){return btoa(JSON.stringify(e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},"getGooglePopupCallbackOrigin",0,function(){var e;return null!=(e=i.default.env.NEXT_PUBLIC_GOOGLE_POPUP_CALLBACK_ORIGIN)?e:l()?a.SITE_URL:"https://holded-website-ai.vercel.app"},"isGooglePopupSignupEnabled",0,function(){return!0},"readEmailFromIdToken",0,s],843523),e.s(["continueToAppWithGoogleCredential",0,function(e,i){var n=new URL((0,r.getGoogleSignupUrl)(e));n.searchParams.set("credential",i);var a=(0,r.enhanceAppUrl)(n.toString()),l=s(i);if(!l){window.location.href=a;return}var u=document.createElement("form");u.method="post",u.action=o;for(var c=0,d=[["next",a],["hint",l]];c<d.length;c++){var f=(0,t._)(d[c],2),p=f[0],g=f[1],m=document.createElement("input");m.type="hidden",m.name=p,m.value=g,u.appendChild(m)}document.body.appendChild(u),u.submit()}],304236)}]); 3 4//# debugId=0aa3f0e7-bd93-98bf-efb3-3423f9abdfe0
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.