PageSourceSearch

https://community.addtocart.com.au/packs/js/68369-013f9d39d81358f2.js

js addtocart.com.au collected 2026-09-30 19:20:52 UTC 63,408 bytes, 2 lines download raw bytes

1"use strict";(self.rspackChunkcircle=self.rspackChunkcircle||[]).push([[68369],{511352(e,t,n){n.d(t,{u:()=>s});var r=n(391426),i=n(687559),o=n(417980),a=n(717526),l=n(907797),s=function(e){var t=e.turnstileRef,n=e.shouldShowTurnstile,s=e.dispatch,c=e.siteKey,u=void 0===c?window.TURNSTILE_CAPTCHA_SITE_KEY||"":c,f=(0,a.d)();return(0,r.jsx)(i.Xs,{ref:t,options:{theme:"light"},className:n?"":"hidden",onError:function(){s({type:"SET_FAILED"});var e=(0,o.t)("".concat(l.localeScope,".errors.failed"));f.error(e)},onExpire:function(){return s({type:"SET_FAILED"})},onSuccess:function(){return s({type:"SET_SUCCESS"})},onBeforeInteractive:function(){return s({type:"SET_INTERACTIVE"})},siteKey:u})}},907797(e,t,n){n.r(t),n.d(t,{CreateCommunityPage:()=>L,default:()=>V,localeScope:()=>z});var r=n(391426),i=n(927561),o=n(553756),a=n(455417),l=n(673257),s=n(618327),c=n(444821),u=n(556874),f=n(310860),d=n(781952),m=n(933578),p=n(258752),h=n(417980),y=n(258954),b=n(717526),g=n(674251),v=n(393235),x=n(968071),w=n(553030),j=n(370528),_=n(473458),S=n(361971),O=n(552013),P=function(){var e=(0,S.xW)().setValue,t="authentication_app.create_community",n=(0,o.h)().currentUser,a=function(e){var n=e.first_name,r=(0,h.t)("".concat(t,".autogenerated_name.community"));return"".concat(n,"'s ").concat(r)};return(0,m.useEffect)(function(){n&&e("community[name]",a(n))},[n]),(0,r.jsx)(i.l.Item,{isFirstChild:!0,name:"community[name]",label:(0,h.t)("".concat(t,".form.name")),hideDescription:!0,hideBorder:!0,rules:{required:(0,h.t)("".concat(t,".form.errors.name_required")),maxLength:{value:O.V.COMMUNITY_NAME_MAX_LENGTH,message:(0,h.t)("".concat(t,".form.errors.name_too_long"))}},children:(0,r.jsx)(i.l.Input,{autoFocus:!0,"data-testid":"community_name"})})},k=n(765724),C=function(){var e=(0,S.xW)(),t=e.watch,n=e.setValue,o=e.clearErrors,a=t("community[name]"),l="authentication_app.create_community";return(0,m.useEffect)(function(){n("community[slug]",(0,k.uG)(a)),o("community[slug]")},[a,n]),(0,r.jsx)(i.l.Item,{name:"community[slug]",label:(0,h.t)("".concat(l,".form.slug")),hideDescription:!0,hideBorder:!0,rules:{required:h.Ay.t("".concat(l,".form.errors.slug_required"))},tooltipText:(0,h.t)("url_description_setup_custom_domain_later"),children:(0,r.jsx)(i.l.Input,{suffix:"circle.so","data-testid":"community_slug"})})},N=n(654009),A=n(387099),I=function(e){var t=e.isDisabled,n=e.isLoading;return(0,r.jsx)("div",{className:"mt-12 w-full text-center",children:(0,r.jsx)("div",{className:"mx-auto flex w-full justify-end",children:(0,r.jsx)(A.$,{disabled:n||t,variant:"marketing-gradient-blue",type:"submit",className:"disabled:bg-brand disabled:text-brand-button",large:!0,children:n?(0,r.jsx)("div",{className:"flex items-center justify-center",children:(0,r.jsx)(N.y,{})}):(0,h.t)("".concat(z,".form.buttons.next"))})})})},E=n(511352);function T(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function q(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var z="authentication_app.create_community",L=function(){var e,t=(0,f.z)({select:function(e){return e.searchStr}}),n=(0,u.q4)(t),S=(0,o.h)(),O=S.updateCurrentCommunity,k=S.suggestedLanguage,N=S.isCaiSuf,A=(0,b.d)(),L=(0,w.e)(),V=L.source,D=L.navigateWithSource,F=(0,j.A)(),M=F.turnstileRef,W=F.turnstileResult,R=F.dispatch,U=F.canUseTurnstile,K=F.shouldShowTurnstile,G=(0,x.r)({step_number:1,total_steps:n,step:"create_community",source:V,isCaiSuf:N,fields:[{name:(0,h.t)("".concat(z,".form.name")),type:"text"},{name:(0,h.t)("".concat(z,".form.slug")),type:"text"},{name:(0,h.t)("authentication_app.new_onboarding_flow_april_2025.create_community.how_did_you_hear"),type:"text"}],config:{trackStartedAutomatically:!1}}),Y=G.trackStepStarted,$=G.trackStepCompleted;(0,m.useEffect)(function(){Y()},[Y]);var X=(0,p.n_)({mutationFn:function(e){return y.W.createCommunity(e)},onSuccess:function(e){var t;O(e),$([e.name,e.slug,(null==e||null==(t=e.sign_up_flow_responses)?void 0:t.how_did_you_hear_about_circle)||""]),D(v.aL.questions(e.id))},onError:function(e){var t;(null!=(t=Error)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t)&&A.error(e.message)}}),H=X.mutateAsync,J=X.isPending,Q=function(e){var t,n=e.sign_up_flow_responses,r=function(e,t){if(null==e)return{};var n,r,i,o={};if("u">typeof Reflect&&Reflect.ownKeys){for(n=Reflect.ownKeys(Object(e)),i=0;i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}if(o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.getOwnPropertyNames(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,t),Object.getOwnPropertySymbols)for(n=Object.getOwnPropertySymbols(e),i=0;i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}(e,["sign_up_flow_responses"]);return(null==n||null==(t=n.how_did_you_hear_about_circle)?void 0:t.trim())?q(B({},r),{sign_up_flow_responses:n}):r},Z=d.A.get(a.rx),ee=null!=(e=new URLSearchParams(t).get("onboarding_entry_point"))?e:"signup_direct";return(0,r.jsx)(i.l,{defaultValues:{community:{name:"",slug:"",plan_id:"",coupon_code:Z,onboarding_entry_point:ee}},onSubmit:function(e){var t;return(t=function(){var t,n,r,i,o;return function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:s(0)}),l(a,"throw",{value:s(1)}),l(a,"return",{value:s(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function s(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),n=U?null==(t=M.current)?void 0:t.getResponse():null,r=Q(e.community),[4,H(B(q(B({},e),{community:r}),n&&{turnstile_token:n}))];case 1:return a.sent(),[3,3];case 2:return(void 0===(i=a.sent())?"undefined":i&&"u">typeof Symbol&&i.constructor===Symbol?"symbol":typeof i)=="object"&&null!==i&&"message"in i&&(o=String(null==i?void 0:i.message)||(0,h.t)("community.creation_failed.generic"),A.error(o)),[3,3];case 3:return[2]}})},function(){var e=this,n=arguments;
1return new Promise(function(r,i){var o=t.apply(e,n);function a(e){T(o,r,i,a,l,"next",e)}function l(e){T(o,r,i,a,l,"throw",e)}a(void 0)})})()},children:function(e){var t=(0,e.watch)("community[name]")||"";return(0,r.jsxs)(_.h,{title:(0,h.t)("".concat(z,".title")),subtitle:(0,h.t)("".concat(z,".subtitle")),progress:{new:{currentStep:1,totalSteps:n},legacy:"".concat(1,"/").concat(n)},rightPanel:(0,r.jsx)(l.O,{communityName:t,animateOnMount:!0,shimmerTitle:!0}),background:"light",children:[(0,r.jsx)(s.s,{title:(0,h.t)("".concat(z,".page_title"))}),(0,r.jsxs)("div",{children:[(0,r.jsx)(P,{}),(0,r.jsx)(C,{}),(0,r.jsx)(i.l.Item,{name:"community[sign_up_flow_responses][how_did_you_hear_about_circle]",label:(0,r.jsxs)(r.Fragment,{children:[(0,h.t)("authentication_app.new_onboarding_flow_april_2025.create_community.how_did_you_hear")," ",(0,r.jsxs)(g.o.LabelXs,{color:"text-subtle",as:"span",children:["(",(0,h.t)("authentication_app.create_community.optional"),")"]})]}),hideDescription:!0,hideBorder:!0,children:(0,r.jsx)(i.l.Input,{"data-testid":"how_did_you_hear_about_circle"})}),k&&(0,r.jsx)(i.l.Item,{name:"community[locale]",label:(0,h.t)("".concat(z,".form.locale")),hideDescription:!0,hideBorder:!0,rules:{required:h.Ay.t("".concat(z,".form.errors.locale_required"))},tooltipText:(0,h.t)("".concat(z,".form.locale_tooltip")),children:(0,r.jsx)(i.l.SelectNative,{name:"locale",options:(0,c.CP)(),defaultValue:k})}),(0,r.jsx)(i.l.Item,{hiddenField:!0,name:"community[coupon_code]",hideDescription:!0,hideBorder:!0,hideLabel:!0,children:(0,r.jsx)(i.l.Input,{type:"hidden"})}),(0,r.jsx)(i.l.Item,{hiddenField:!0,name:"community[plan_id]",hideDescription:!0,hideBorder:!0,hideLabel:!0,children:(0,r.jsx)(i.l.Input,{type:"hidden"})}),(0,r.jsx)(i.l.Item,{hiddenField:!0,name:"community[onboarding_entry_point]",hideDescription:!0,hideBorder:!0,hideLabel:!0,children:(0,r.jsx)(i.l.Input,{type:"hidden"})}),(0,r.jsx)("div",{className:"mt-1 flex w-full items-center justify-center",children:(0,r.jsx)(E.u,{turnstileRef:M,shouldShowTurnstile:K,dispatch:R})}),(0,r.jsx)(I,{isDisabled:W.requiresInteraction&&!W.isInteractionSuccessful||W.hasFailed,isLoading:J||W.isLoading})]})]})}})};let V=L},828774(e,t,n){var r=n(380003),i=n(781952),o=function(e){return["production","staging"].includes(e)},a=function(e){return["production","staging","development"].includes(e)},l=function(){var e;return null!=(e=(0,r.GQ)())?e:""},s=function(){var e=i.A.get("cookieyes-consent");return null!=e&&""!==e&&(e.includes("consent:no")||e.includes("advertisement:no"))};n.d(t,{H5:()=>o,Qm:()=>l,dd:()=>s,yw:()=>a})},372319(e,t,n){var r=n(145878),i=function(){var e;return null==(e=(0,r.A_)({strict:!1}))?void 0:e.communityId};n.d(t,{z:()=>i})},370250(e,t,n){var r=n(818185),i=function(e){var t=(0,r.a)().request_host,n=null==e?void 0:e.root_url;return{shouldShowPoweredByCircle:!(null==e?void 0:e.white_label)&&("string"==typeof t?t:void 0)!==n}};n.d(t,{C:()=>i})},370528(e,t,n){var r=n(828774),i=n(933578);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function l(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var s=function(e,t){switch(t.type){case"SET_FAILED":return l(a({},e),{isLoading:!1,hasFailed:!0,requiresInteraction:!1,isInteractionSuccessful:!1});case"SET_SUCCESS":return l(a({},e),{isLoading:!1,hasFailed:!1,requiresInteraction:e.requiresInteraction,isInteractionSuccessful:e.requiresInteraction});case"SET_INTERACTIVE":return l(a({},e),{isLoading:!1,hasFailed:!1,requiresInteraction:!0,isInteractionSuccessful:!1});default:return e}},c=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=!t&&(0,r.yw)(window.RAILS_ENV),a=window.CUSTOM_TURNSTILE_CAPTCHA_SITE_KEY||"",l=n&&!!a,c=(0,i.useRef)(null),u=function(e){if(Array.isArray(e))return e}(e=(0,i.useReducer)(s,{isLoading:n,hasFailed:!1,requiresInteraction:!1,isInteractionSuccessful:!1}))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return i}}(e)||function(e){if(e){if("string"==typeof e)return o(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(e,2)}}
1(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),f=u[0],d=u[1],m=(0,i.useCallback)(function(){var e;null==(e=c.current)||e.reset()},[]),p=n&&!f.isLoading&&(f.requiresInteraction||f.hasFailed);return{turnstileRef:c,turnstileResult:f,dispatch:d,canUseTurnstile:n,resetTurnstileToken:m,shouldShowTurnstile:p,shouldUseTurnstile:l,turnstileSiteKey:a}};n.d(t,{A:()=>c})},498201(e,t,n){var r=n(391426),i=n(869889),o=n(570310),a=n(355104),l=n(559362),s=n(579871),c=n(892907),u=n(666836),f=n(370250),d=function(e){var t=e.children,n=e.currentCommunity,d=e.shouldShowPoweredByCircle,m=e.step,p=e.subtitle,h=e.title;(0,l.u)(),(0,s.p)();var y=(0,a.c)().isCircleV4,b=(0,f.C)(n).shouldShowPoweredByCircle;return(0,r.jsx)("div",{className:(0,o.x)("min-h-screen w-full",{"bg-primary dark:bg-secondary":!!n&&y,"bg-primary":!!n&&!y,"bg-white":!n}),children:(0,r.jsx)("div",{className:"text-dark flex min-h-screen w-full min-w-full justify-center md:items-center",children:(0,r.jsxs)("div",{className:"my-10 w-full max-w-[520px]",children:[(0,r.jsxs)("div",{className:"m-auto flex w-full flex-col items-center p-6 py-0 md:rounded-xl md:p-12 md:py-10",children:[(0,r.jsx)(u.f,{community:n,withCircleBranding:!n,displayCommunityName:!1}),m&&(0,r.jsx)("p",{className:"text-light -mb-5 mt-5 text-center text-xs",children:m}),(0,r.jsx)(c.o5,{variant:"heading-xl",component:"h1",className:"mt-4 max-w-[468px] text-center md:mt-6",children:h}),p&&(0,r.jsx)(c.o5,{variant:"body-md",color:"tertiary",className:"mt-1 max-w-[468px] text-center",children:p}),(0,r.jsx)("div",{className:"mt-10 w-full",children:t})]}),(null!=d?d:b)&&(0,r.jsx)("div",{className:"md:mt-2",children:(0,r.jsx)(i.i,{className:"justify-center",communitySlug:null==n?void 0:n.slug})})]})})})};n.d(t,{q:()=>d})},558856(e,t,n){n.d(t,{u:()=>m});var r=n(391426),i=n(869889),o=n(666836),a=function(e){var t=e.status;return(0,r.jsx)("li",{className:"flex-1",children:(0,r.jsx)("div",{className:"h-2 ".concat(function(){switch(t){case"complete":return"bg-blue-700";case"current":return"bg-blue-700 loading";default:return"bg-gray-100"}}()," transition-all duration-300 ease-in-out")})})},l=function(e){var t=e.currentStep,n=Array.from({length:e.totalSteps},function(e,n){var i=n+1,o=i<t?"complete":i===t?"current":"incomplete";return(0,r.jsx)(a,{status:o},i)});return(0,r.jsx)("ul",{className:"flex w-full list-none",children:n})},s=n(570310),c=n(605274),u=n(559362),f=n(579871),d=function(e){var t,n,i=e.children,o=e.withCircleBranding,a=e.isVerticallyCenteredOnMobile,l=e.background,s=(t=(0,c.Ab)(),n=void 0===o||o,t||!n?"bg-primary md:bg-secondary":"discover"===l?"discoverBackground":"light"===l?"lightBackgroun
1d":"darkBackground");return(0,r.jsx)("div",{className:"text-dark flex min-h-screen w-full min-w-full justify-center ".concat(void 0!==a&&a?"items-center":"md:items-center"," ").concat(s),children:i})},m=function(e){var t=e.children,n=e.community,a=e.isNarrow,m=void 0!==a&&a,p=e.isVerticallyCenteredOnMobile,h=e.progress,y=e.shouldShowPoweredByCircle,b=e.step,g=e.subtitle,v=e.title,x=e.withCircleBranding,w=void 0===x||x,j=e.background,_=void 0===j?"dark":j,S=null==n?void 0:n.slug,O=Number(null==h?void 0:h.split("/")[0]),P=Number(null==h?void 0:h.split("/")[1]),k=(0,c.Ab)();(0,u.u)(),(0,f.p)();var C="light"!=_||k?"":"shadow-[0px_4px_6px_-2px_rgba(25,27,31,0.03),0px_12px_16px_-4px_rgba(25,27,31,0.08)]";return(0,r.jsxs)(r.Fragment,{children:[h&&O&&P&&(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(l,{currentStep:O,totalSteps:P})}),(0,r.jsx)(d,{background:_,withCircleBranding:w,isVerticallyCenteredOnMobile:void 0!==p&&p,children:(0,r.jsxs)("div",{className:(0,s.x)("my-10 w-full",{"max-w-[450px]":m,"max-w-[520px]":!m}),children:[(0,r.jsxs)("div",{className:"bg-primary border-primary m-auto flex w-full flex-col items-center p-6 py-0 md:rounded-xl md:border md:p-12 md:py-10 ".concat(C),children:[(0,r.jsx)(o.f,{community:n,withCircleBranding:w}),b&&(0,r.jsx)("p",{className:"text-light -mb-5 mt-5 text-center text-xs",children:b}),(0,r.jsx)("h1",{className:"mt-4 text-center text-lg font-bold md:mt-6 md:text-xl",children:v}),g&&(0,r.jsx)("p",{className:"text-light mt-1 text-center text-sm",children:g}),(0,r.jsx)("div",{className:"mt-10 w-full",children:t})]}),void 0!==y&&y&&(0,r.jsx)("div",{className:"md:mt-2",children:(0,r.jsx)(i.i,{className:"justify-center",communitySlug:S})})]})})]})}},170314(e,t,n){var r=n(391426),i=n(553756),o=n(34819),a=n(519104),l=n(417980),s=n(387099),c=n(231127),u=function(e){var t=e.getPreviousStepPagePath,n=e.disabled,u=void 0!==n&&n,f=(0,a.Z)(),d=(0,i.h)().currentCommunity,m=(0,c.T)("circle_v4_buttons_enabled"),p=function(){t&&f({to:t(String(d.id))})};return m?(0,r.jsx)(o.K,{type:"button",variant:"outline",size:"sm",icon:"arrow-left",onClick:p,"aria-label":(0,l.t)("back"),disabled:u}):(0,r.jsx)(s.$,{type:"button",variant:"secondary",onClick:p,className:"flex size-12 items-center justify-center rounded-full border !border-[#E1E6EA] p-0","aria-label":(0,l.t)("back"),disabled:u,children:(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M2.75537 7.98682H13.25",stroke:"#545861",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6.75674 4L2.75 8L6.75674 12",stroke:"#545861",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})]})})};n.d(t,{o:()=>u})},673257(e,t,n){n.d(t,{O:()=>M});var r=n(391426),i=n(568316),o=n(361971),a=n(417980),l=n(570310),s=n(674251),c=function(e){var t=e.label;return(0,r.jsx)("div",{className:(0,l.x)("rounded-full border border-[#4E1FD4] bg-white px-2.5 py-1 text-sm"),children:(0,r.jsx)(s.o.LabelXs,{color:"text-[#4E1FD4]",children:t})})},u=function(e){var t=e.blocks;return(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map(function(e){return(0,r.jsx)(c,{label:e},e)})})},f=n(734527),d=function(e){var t=e.fullName,n=e.email,o=e.initials,a=e.avatar_url;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(i.o.TitleSm,{color:"text-default",weight:"bold",children:t}),(0,r.jsx)(i.o.BodySm,{color:"text-default",children:n})]}),(0,r.jsx)("div",{className:"flex size-10 items-center justify-center overflow-hidden rounded-full bg-gray-200",children:a?(0,r.jsx)(f.J,{src:a,name:t,size:"10"}):(0,r.jsx)(i.o.BodySm,{color:"text-default",children:o})})]})},m=n(553756),p=n(933578);function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function y(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||b(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}}var g=function(e,t){if(!e&&!t)return"";var n=[];return e&&n.push(y(e)[0]),t&&n.push(y(t)[0]),n.join("").toUpperCase()},v=function(e,t,n,r,i){var o,a,l,s,c,u,f,d=(0,m.h)(),h=d.currentUser,y=d.currentCommunity,v=null!=(a=null==h?void 0:h.first_name)?a:"",x=null!=(l=null==h?void 0:h.last_name)?l:"",w=g(v,x),j=[v,x].filter(
1Boolean).join(" "),_=null==y||null==(s=y.sign_up_flow_responses)?void 0:s.annual_revenue,S=null==y||null==(c=y.sign_up_flow_responses)?void 0:c.achieve_with_circle,O=null==y||null==(u=y.sign_up_flow_responses)?void 0:u.community_size,P=null==y||null==(f=y.sign_up_flow_responses)?void 0:f.customer_journey_stage,k=e||(null==y?void 0:y.name)||"",C=null==y?void 0:y.slug,N=i||k,A=function(e){if(Array.isArray(e))return e}(o=(0,p.useState)(!1))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return i}}(o)||b(o,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),I=A[0],E=A[1],T=(0,p.useRef)(i);return(0,p.useEffect)(function(){I||void 0===i||i===T.current||E(!0)},[i,I]),{displayName:k,annualRevenue:_,achieveWithCircle:S,communitySize:O,buildingBlocks:null!=t?t:[],userInitials:w,fullName:j,email:null==h?void 0:h.email,avatar_url:null==h?void 0:h.avatar_url,customerJourneyStage:P,shouldAnimateAchieveWithCircle:"achieveWithCircle"===n,shouldAnimateBusinessSize:"customerJourneyStage"===n||"communitySize"===n,slug:C,slugToUse:r||C,nameToUse:N,hasUserModifiedName:I}},x=n(621180);function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,l=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw r}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var _=function(e){var t=e.children,n=e.enabled,i=void 0!==n&&n,o=j((0,p.useState)(!1),2),a=o[0],l=o[1],s=j((0,p.useState)(!1),2),c=s[0],u=s[1];(0,p.useEffect)(function(){i&&l(!0)},[i]);var f={};return i&&!c&&(f=a?{animation:"fadeInDownLocal 0.6s ease-out forwards"}:{opacity:0}),(0,r.jsxs)("div",{style:f,onAnimationEnd:function(){return u(!0)},children:[i&&!c&&(0,r.jsx)("style",{children:"\n  @keyframes fadeInDownLocal {\n    0% {\n      opacity: 0;\n      transform: translateY(-100px);\n    }\n    100% {\n      opacity: 1;\n      transform: translateY(0);\n    }\n  }\n"}),t]})},S=function(e){var t=e.children,n=e.animateOnMount;return(0,r.jsx)(_,{enabled:n,children:(0,r.jsx)(x.z,{children:(0,r.jsx)("div",{className:"overflow-hidden rounded-3xl bg-white",children:t})})})},O=function(e){var t=e.label,n=e.children;return(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("div",{className:"mb-1",children:(0,r.jsx)("span",{className:"bg-gradient-to-r from-[#4B1DD4] to-[#B14AEC] bg-clip-text text-sm font-semibold leading-5 text-transparent",children:t})}),n]})},P=function(e){var t=e.children,n=e.className;return(0,r.jsx)("div",{className:(0,l.x)("p-7",n),children:t})},k=n(983979);let C="Tbwz1t_VAgI9YD1w",N="FGRUpQVrDkntV1Z7";function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var I=function(e){var t,n=e.children,i=e.className,o=e.animate,a=void 0!==o&&o,l=function(e){if(Array.isArray(e))return e}(t=(0,p.useState)(!1))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return i}}(t)||function(e){if(e){if("string"==typeof e)return A(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return A(e,2)}}
1(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=l[0],c=l[1];return((0,p.useEffect)(function(){if(a){var e,t,n=function(){c(!0),e=setTimeout(function(){return c(!1)},1e3)};return e=setTimeout(function(){n(),t=setInterval(n,1e4)},2e3),function(){clearTimeout(e),clearInterval(t)}}},[a]),a&&s)?(0,r.jsx)("span",{className:i?"".concat(C," ").concat(i):C,children:n}):(0,r.jsx)("span",{className:i?"".concat(N," ").concat(i):N,children:n})},E=function(e){var t=e.title,n=e.subtitle,o=e.shimmer;return(0,r.jsxs)("div",{className:"mb-7",children:[(0,r.jsx)(i.o.LabelXs,{textTransform:"uppercase",weight:"semibold",color:"text-light",children:n}),t?(0,r.jsx)(i.o.TitleLg,{color:"text-black-900",tracking:"tighter",weight:"bold",children:(0,r.jsx)(I,{animate:void 0!==o&&o,children:t})}):(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(k.f,{xxl:!0,almostFull:!0})})]})},T=n(288513),B=function(e){var t=e.children;return(0,r.jsx)("div",{className:(0,l.x)((0,T._h)("border-default"),"border-t bg-gray-100 p-7"),children:(0,r.jsx)("div",{className:"flex items-center justify-between gap-4",children:t})})},q=function(e){var t=e.value,n=e.children,i=e.animate;return void 0===i||i?(0,r.jsxs)("div",{className:"block w-auto translate-y-0 opacity-100 transition-all duration-300 ease-out",children:[(0,r.jsx)("div",{className:(0,l.x)((0,T._h)("animate-fade-slide-in"),"block w-full translate-y-2 opacity-0"),children:n}),(0,r.jsx)("style",{children:"\n        .animate-fade-slide-in {\n          animation: fadeSlideUp 1s cubic-bezier(0.4,0,0.2,1);\n          animation-fill-mode: forwards;\n        }\n        @keyframes fadeSlideUp {\n          0% {\n            opacity: 0;\n            transform: translateY(8px);\n          }\n          100% {\n            opacity: 1;\n            transform: translateY(0);\n          }\n        }\n      "})]},String(t)):(0,r.jsx)("div",{children:n},"".concat(t))},z=function(e){var t=e.content;return(0,r.jsx)(i.o.BodySm,{color:"text-default",children:t})},L=function(){return(0,r.jsx)("div",{className:"h-3 w-1/2 animate-pulse rounded-sm bg-gray-200 dark:bg-gray-700"})},V=function(e){var t=e.shouldShowSkeleton,n=e.value,i=e.shouldAnimate;return t?(0,r.jsx)(L,{}):(0,r.jsx)(q,{value:null!=n?n:"",animate:i,children:(0,r.jsx)(z,{content:null!=n?n:""})})},D=function(e){var t=e.achieveWithCircle,n=e.businessSizeValue,i=e.field,o=e.isAchieveWithCircleFieldVisible,l=e.isBusinessSizeFieldVisible,s=e.shouldAnimateAchieveWithCircle,c=e.shouldAnimateBusinessSize,u=e.shouldShowAchieveWithCircleSkeleton,f=e.shouldShowBusinessSizeSkeleton;return"achieveWithCircle"===i?o?(0,r.jsx)(O,{label:(0,a.t)("authentication_app.new_onboarding_flow_april_2025.community_preview.achieve_with_circle"),children:(0,r.jsx)(V,{shouldShowSkeleton:u,value:t,shouldAnimate:s})}):null:l?(0,r.jsx)(O,{label:(0,a.t)("authentication_app.new_onboarding_flow_april_2025.community_preview.business_size"),children:(0,r.jsx)(V,{shouldShowSkeleton:f,value:n,shouldAnimate:c})}):null},F=["businessSize","achieveWithCircle"],M=function(e){var t=e.communityName,n=e.buildingBlocks,l=e.animateOnMount,s=e.animateField,c=e.previewFieldOrder,f=e.shimmerTitle,m=e.showSkeletonForAchieveWithCircle,p=e.showSkeletonForBusinessSize,h=(0,o.xW)(),y=v(t,n,s,null==h?void 0:h.watch("community[slug]"),null==h?void 0:h.watch("community[name]")),b=y.annualRevenue,g=y.achieveWithCircle,x=y.communitySize,w=y.buildingBlocks,j=y.userInitials,_=y.fullName,k=y.email,C=y.avatar_url,N=y.customerJourneyStage,A=y.shouldAnimateAchieveWithCircle,I=y.shouldAnimateBusinessSize,T=y.slugToUse,q=y.nameToUse,z=y.hasUserModifiedName,L=m||!!g,V=!!(m||!g),M=[x,b,N].filter(Boolean).join(", "),W=p||!!M,R=!!(p||!M);return(0,r.jsxs)(S,{animateOnMount:l,children:[(0,r.jsxs)(P,{children:[(0,r.jsx)(E,{subtitle:(0,a.t)("authentication_app.new_onboarding_flow_april_2025.community_preview.title"),title:q,shimmer:void 0!==f&&f&&!z}),T&&(0,r.jsx)(O,{label:(0,a.t)("authentication_app.new_onboarding_flow_april_2025.community_preview.community_url"),children:(0,r.jsx)(i.o.BodySm,{color:"text-default",children:"https://".concat(T,".circle.so")})}),(null!=c?c:F).map(function(e){return(0,r.jsx)(D,{field:e,achieveWithCircle:g,businessSizeValue:
1M,isAchieveWithCircleFieldVisible:L,isBusinessSizeFieldVisible:W,shouldAnimateAchieveWithCircle:A,shouldAnimateBusinessSize:I,shouldShowAchieveWithCircleSkeleton:V,shouldShowBusinessSizeSkeleton:R},e)}),w.length>0&&(0,r.jsx)(O,{label:(0,a.t)("authentication_app.new_onboarding_flow_april_2025.community_preview.blocks_title"),children:(0,r.jsx)(u,{blocks:w})})]}),(0,r.jsx)(B,{children:(0,r.jsx)(d,{fullName:_,email:k,initials:j,avatar_url:C})})]})}},296443(e,t,n){n.d(t,{G:()=>k});var r=n(391426),i=n(605274),o=n(568316),a=n(570310),l=n(933578),s=function(e){var t=e.currentStep,n=e.totalSteps,i=Math.max(1,Math.min(t,n)),o=(0,l.useMemo)(function(){return Array.from({length:n},function(e,t){return t+1})},[n]),a=18+6*n+8*(n-1);return(0,r.jsxs)("div",{className:"relative flex items-center",style:{width:a,height:6,paddingLeft:9,paddingRight:9},"aria-label":"Progress: step ".concat(i," of ").concat(n),children:[o.map(function(e){return(0,r.jsx)("div",{className:"bg-[#D2D7DB]",style:{width:6,height:6,borderRadius:30,marginRight:8*(e!==n)}},e)}),(0,r.jsx)("div",{className:"absolute top-0 transition-transform duration-200",style:{width:20,height:6,borderRadius:30,left:9+(i-1)*14,background:"linear-gradient(90deg, #4F7EF4 0%, #4A2FFE 100%)",top:"50%",transform:"translateY(-50%)"},"aria-hidden":"true"})]})};function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return c(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var f={mobile:"max-w-[450px]",tablet:"md:max-w-2xl",desktop:"lg:max-w-2xl",wide:"xl:max-w-lg"},d={mobile:"mt-2",tablet:"md:mt-12",desktop:"md:mt-12",wide:"xl:mt-16"},m=function(e){var t=e.children,n=e.title,i=e.subtitle,l=e.progress,c=e.customMarginTop;return(0,r.jsxs)("div",{className:a.x.apply(void 0,["mx-auto w-full"].concat(u(Object.values(f)),u(c?[c]:Object.values(d)))),children:[l&&(0,r.jsx)("div",{className:"mb-6 flex justify-start",children:(0,r.jsx)(s,{currentStep:l.currentStep,totalSteps:l.totalSteps})}),(n||i)&&(0,r.jsxs)("div",{className:"mb-8",children:[n&&(0,r.jsx)(o.o.TitleXl,{leading:"leading-1",children:n}),i&&(0,r.jsx)("div",{className:"mt-2",children:(0,r.jsx)(o.o.BodyMd,{color:"text-light",children:i})})]}),t]})},p=n(39755),h=n(288513);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function b(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return y(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return y(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var g={mobile:"max-w-[450px]",tablet:"md:max-w-2xl",desktop:"lg:max-w-2xl",xl:"xl:max-w-lg"},v={mobile:"mt-2",tablet:"md:mt-12",desktop:"lg:mt-12",xl:"xl:mt-16"},x=function(){return(0,r.jsx)("div",{className:["mx-auto w-full"].concat(b(Object.values(g)),b(Object.values(v))).join(" "),children:(0,r.jsx)("div",{className:"mb-8 flex items-center justify-between",children:(0,r.jsx)(p.i,{className:(0,a.x)((0,h._h)("text-primary-900"),"h-8")})})})};function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var j={mobile:"px-4 py-4",tablet:"md:px-12 md:py-8",desktop:"lg:px-12 lg:py-8"},_=function(e){var t,n=e.children,i=e.progress,o=e.title,a=e.subtitle,l=e.customMarginTop;return(0,r.jsx)("div",{className:["animate-fade-in-slow flex w-full flex-col bg-white lg:w-[45%]"].concat(function(e){if(Array.isArray(e))return w(e)}(t=Object.values(j))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return w(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return w(e,void 0)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).join(" "),children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(x,{}),(0,r.jsx)(m,{title:o,subtitle:a,progress:i,customMarginTop:l,children:n})]})})},S=function(e){var t=e.children,n=e.className;return(0,r.jsx)("div",{className:(0,a.x)("size-full items-center justify-center rounded-lg lg:flex",n),style:{background:"\n        radial-gradient(circle at top left, #4855bf 0%, rgba(28, 17, 68, 0) 40%),\n        radial-gradient(circle at bottom right, #2c256f 0%, rgba(28, 17, 68, 0) 20%),\n        linear-gradient(to bottom, #180e3a, #211450)\n      ",backgroundSize:"cover",backgroundPosition:"center"},children:t})},O=function(e){var t=e.children,n=e.className;return(0,r.jsx)("div",{className:(0,a.x)("hidden w-1/2 flex-col items-center justify-center bg-white p-6 lg:flex lg:w-[55%]",n),children:t})},P=function(e){var t=e.children;return(0,r.jsx)(O,{children:(0,r.jsx)(S,{children:(0,r.jsx)("div",{className:"w-full lg:max-w-md xl:max-w-lg",children:t})})})},k=function(e){var t=e.children,n=e.rightPanel,o=e.progress,a=e.title,l=e.subtitle,s=e.customMarginTop,c=(0,i.Ab)();return(0,r.jsxs)("div",{className:"flex min-h-screen w-full",children:[(0,r.jsx)(_,{progress:o,title:a,subtitle:l,customMarginTop:s,children:t}),!c&&(0,r.jsx)(P,{children:n})]})}},473458(e,t,n){var r=n(391426),i=n(553756),o=n(498201),a=n(558856),l=n(296443),s=function(e){var t=e.children,n=e.title,s=e.subt
1itle,c=e.step,u=e.progress,f=e.isNarrow,d=e.withCircleBranding,m=e.shouldShowPoweredByCircle,p=void 0!==m&&m,h=e.isVerticallyCenteredOnMobile,y=e.background,b=e.rightPanel,g=e.isRegisteringAsACommunityMember,v=void 0!==g&&g,x=e.customMarginTop,w=e.isSignUpOrLogIn,j=(0,i.h)().currentCommunity;return!v&&void 0!==w&&w?(0,r.jsx)(o.q,{title:n,subtitle:s,currentCommunity:j,shouldShowPoweredByCircle:p,children:t}):v?(0,r.jsx)(a.u,{community:j,title:n,subtitle:s,step:c,progress:null==u?void 0:u.legacy,isNarrow:void 0!==f&&f,withCircleBranding:void 0===d||d,shouldShowPoweredByCircle:p,isVerticallyCenteredOnMobile:void 0!==h&&h,background:void 0===y?"dark":y,children:t}):(0,r.jsx)(l.G,{title:n,subtitle:s,progress:null==u?void 0:u.new,rightPanel:b,customMarginTop:x,children:t})};n.d(t,{h:()=>s})},618327(e,t,n){var r=n(391426),i=n(553756),o=n(451430),a=function(e){var t=e.title,n=(0,i.h)().currentCommunity,a=(0,o.compact)([t,null==n?void 0:n.name]).join(" | ");return(0,r.jsx)("title",{children:a})};n.d(t,{s:()=>a})},444821(e,t,n){var r=n(417980),i=["en","fr","it","es","pt","pt-PT"],o=function(){return i.map(function(e){return{label:(0,r.t)("supported_locales.locale_name.".concat(e)),value:e}})};n.d(t,{CP:()=>o})},552013(e,t,n){var r={COMMUNITY_NAME_MAX_LENGTH:100,MEMBER_NAME_MAX_LENGTH:80};n.d(t,{V:()=>r})},559362(e,t,n){var r=n(310860),i=n(781952),o=n(933578),a=n(90914);function l(){var e=(0,r.z)().searchStr;(0,o.useEffect)(function(){var t=new URLSearchParams(e).get("locale");t&&i.A.set("locale",t,{expires:1,path:"/",domain:"."+(0,a.n)(window.location.hostname)})},[e])}n.d(t,{u:()=>l})},579871(e,t,n){var r=n(455417),i=n(781952),o=n(933578),a=n(90914);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var s=function(e){if(!e)return null;try{return decodeURIComponent(escape(window.atob(e)))}catch(e){return null}},c=function(){(0,o.useEffect)(function(){var e=new URLSearchParams(location.search),t=Object.fromEntries(Object.entries({utm_source:e.get("utm_source"),utm_referrer:e.get("utm_referrer"),utm_medium:e.get("utm_medium"),utm_campaign:e.get("utm_campaign"),utm_term:e.get("utm_term"),utm_content:e.get("utm_content"),original_url:s(e.get("original_url"))||window.location.href,referrer_url:s(e.get("referrer_url"))||document.referrer,conversion_url:s(e.get("conversion_url")),conversion_button:e.get("conversion_button")}).filter(function(e){return null!==(function(e){if(Array.isArray(e))return e}(e)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i=[],o=!0,a=!1;try{for(r=r.call(e);!(o=(t=r.next()).done)&&(i.push(t.value),2!==i.length);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(a)throw n}}return i}}(e)||function(e){if(e){if("string"==typeof e)return l(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(e,2)}}(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]}));Object.keys(t).length>0&&i.A.set(r.R,JSON.stringify(t),{expires:1,path:"/",domain:"."+(0,a.n)(location.hostname)})},[])};n.d(t,{p:()=>c})},556874(e,t,n){n.d(t,{Of:()=>X,cw:()=>H,q4:()=>$});var r=n(391426),i=n(927561),o=n(553756),a=n(417980),l=n(361971),s=n(406776),c=function(e){var t=e.name,n=e.onSelect,r=(0,l.xW)(),i=r.register;return{selectedValue:(0,r.watch)(t),radioProps:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},i(t,{onChange:function(){null==n||n()}}))}},u=function(e){var t=e.name,n=e.options,i=e.onSelect,o=e.size,a=void 0===o?"md":o,l=e.isSubmitting,u=void 0!==l&&l,f=c({name:t,onSelect:i}),d=f.selectedValue,m=f.radioProps;return(0,r.jsx)("div",{className:"space-y-3",children:n.map(function(e){return(0,r.jsx)(s.C,{value:e.value,label:e.label,isSelected:d===e.value,radioProps:m,size:a,isLoading:u&&d===e.value,isDisabled:u},e.value)})})},f=function(e){var t=e.name,n=e.options,i=e.responseKey,o=e.onSubmit,a=e.isSubmitting,s=(0,l.xW)().getValues;return(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(u,{name:t,options:n,onSelect:function(){o(s(),i)},isSubmitting:a})})},d=n(372319),m=n(603103),p=n(170314),h=n(673257),y=n(296443),b=function(e){return e.options.map(function(e){var t=(0,a.t)(e);return{label:t,value:t}})};function g(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){v(e,t,n[t])})}return e}function w(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var j=function(e){var t=e.title,n=e.stepNumber,l=e.totalSteps,s=e.showBackButton,c=e.getPreviousStepPagePath,u=e.getNextStepPagePath,j=e.fields,_=e.defaultState,S=e.previewPageConfig,O=e.previewFieldOrder,P=e.trackingConfig,k=e.getTrackingValues,C=(0,d.z)(),N=(0,o.h)(),A=N.currentCommunity,I=N.updateCurrentCommunity,E=(0,m.z)(C,{trackingConfig:w(x({},P),{stepNumber:n,totalSteps:l}),getTrackingValues:k,fields:j,defaultState:_,redirectPath:u(C)}).handleSubmit,T=function(e,t){var n;return(n=function(){return function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:s(0)}),l(a,"throw",{value:s(1)}),l(a,"return",{value:s(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function s(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){switch(n.label){case 0:return[4,E(e)];case 1:return n.sent(),I(w(x({},A),{sign_up_flow_responses:w(x({},A.sign_up_flow_responses),v({},t,e.responses[t]))})),[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,i){var o=n.apply(e,t);function a(e){g(o,r,i,a,l,"next",e)}function l(e){g(o,r,i,a,l,"throw",e)}a(void 0)})})()};return(0,r.jsx)(y.G,{title:(0,a.t)(t),subtitle:"",progress:{currentStep:n,totalSteps:l},rightPanel:(0,r.jsx)(h.O,x({communityName:(null==A?void 0:A.name)||"",previewFieldOrder:O},S)),children:(0,r.jsx)("div",{className:"flex w-full flex-col",children:(0,r.jsxs)(i.l,{defaultValues:_,onSubmit:function(e){E(e)},children:[j.map(function(e){return(0,r.jsx)(f,{name:e.name,responseKey:e.responseKey,options:"options"in e?b(e):[],onSubmit:T},e.name)}),s&&(0,r.jsx)("div",{className:"mt-6 flex w-full items-center justify-between",children:(0,r.jsx)(p.o,{getPreviousStepPagePath:c})})]})})})},_=n(568316),S=function(e){var t=e.onSubmit,n=e.options,i=e.name,o=e.responseKey,s=(0,l.xW)().getValues;return(0,r.jsxs)("div",{className:"mt-4",children:[(0,r.jsx)("div",{className:"mb-2",children:(0,r.jsx)(u,{name:i,options:n,onSelect:function(){t(s(),o)}})}),(0,r.jsx)(_.o.LabelXs,{color:"text-light",children:(0,a.t)("authentication_app.new_onboarding_flow_april_2025.revenue_questions.all_amounts")})]})};function O(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){P(e,t,n[t])})}return e}function C(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var N=function(e){var t=e.title,n=e.stepNumber,l=e.totalSteps,s=e.showBackButton,c=e.getPreviousStepPagePath,u=e.getNextStepPagePath,f=e.fields,g=e.defaultState,v=e.previewPageConfig,x=e.previewFieldOrder,w=e.trackingConfig,j=e.getTrackingValues,_=(0,d.z)(),N=(0,o.h)(),A=N.currentCommunity,I=N.updateCurrentCommunity,E=(0,m.z)(_,{trackingConfig:C(k({},w),{stepNumber:n,totalSteps:l}),getTrackingValues:j,fields:f,defaultState:g,redirectPath:u(_)}).handleSubmit,T=function(e,t){var n;return(n=function(){return function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:s(0)}),l(a,"throw",{value:s(1)}),l(a,"return",{value:s(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function s(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){switch(n.label){case 0:return[4,E(e)];case 1:return n.sent(),I(C(k({},A),{sign_up_flow_responses:C(k({},A.sign_up_flow_responses),P({},t,e.responses[t]))})),[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,i){var o=n.apply(e,t);function a(e){O(o,r,i,a,l,"next",e)}function l(e){O(o,r,i,a,l,"throw",e)}a(void 0)})})()};return(0,r.jsx)(y.G,{title:(0,a.t)(t),subtitle:"",progress:{currentStep:n,totalSteps:l},rightPanel:(0,r.jsx)(h.O,k({communityName:(null==A?void 0:A.name)||"",previewFieldOrder:x},v)),children:(0,r.jsx)("div",{className:"flex w-full flex-col",children:(0,r.jsxs)(i.l,{defaultValues:g,onSubmit:function(e){E(e)},children:[f.map(function(e){return(0,r.jsx)(S,{name:e.name,responseKey:e.responseKey,options:"options"in e?b(e):[],onSubmit:T},e.name)}),s&&(0,r.jsx)("div",{className:"mt-6 flex w-full items-center justify-between",children:(0,r.jsx)(p.o,{getPreviousStepPagePath:c})})]})})})},A=n(393235),I="authentication_app.new_onboarding_flow_april_2025",E={variants:{"":{pageComponent:N,pageConfig:{title:"".concat(I,".revenue_questions.title"),stepNumber:2,totalSteps:5,showBackButton:!1,getPreviousStepPagePath:null,getNextStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"goals"),"&version=v1")},fields:[{name:"responses.customer_journey_stage",responseKey:"customer_journey_stage",type:"select",options:["".concat(I,".revenue_questions.options.over_250k"),"".concat(I,".revenue_questions.options.100k_250k"),"".concat(I,".revenue_questions.options.50k_100k"),"".concat(I,".revenue_questions.options.25k_50k"),"".concat(I,".revenue_questions.options.under_25k")],required:!0}],defaultState:{responses:{customer_journey_stage:""}},previewPageConfig:{animateField:"customerJourneyStage",showSkeletonForBusinessSize:!0},trackingConfig:{step:"revenue",trackStartedAutomatically:!0},getTrackingValues:function(e){return[e.responses.customer_journey_stage]}}},goals:{pageComponent:j,pageConfig:{title:"".concat(I,".goal_questions.title"),stepNumber:3,totalSteps:5,showBackButton:!0,getPreviousStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,""),"&version=v1")},getNextStepPagePath:function(e){return"".concat(A.aL.templates(e),"?version=v1")},fields:[{name:"responses.achieve_with_circle",responseKey:"achieve_with_circle",type:"select",options:["".concat(I,".goal_questions.options.build_new_community"),"".concat(I,".goal_questions.options.migrate_to_circle"),"".concat(I,".goal_questions.options.exploring")],required:!0}],defaultState:{responses:{achieve_with_circle:""}},previewPageConfig:{showSkeletonForAchieveWithCircle:!0},trackingConfig:{step:"goal",trackStartedAutomatically:!0},getTrackingValues:function(e){return[e.responses.achieve_with_circle]}}}},templates:{getPreviousStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"goals"),"&version=v1")},stepNumber:4,totalSteps:5}};function T(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){B(e,t,n[t])})}return e}function z(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function L(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(e){n(e);return}l.done?t(s):Promise.resolve(s).then(r,i)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){V(e,t,n[t])})}return e}function F(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var M="authentication_app.new_onboarding_flow_march_2026",W=["achieveWithCircle","businessSize"];function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function U(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function K(e,t){if(null==e)return{};var n,r,i,o={};if("u">typeof Reflect&&Reflect.ownKeys){for(n=Reflect.ownKeys(Object(e)),i=0;i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}if(o=function(e,t){if(null==e)return{};var n,r,i={},o=Object.getOwnPropertyNames(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n]);return i}(e,t),Object.getOwnPropertySymbols)for(n=Object.getOwnPropertySymbols(e),i=0;i<n.length;i++)r=n[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}var G={default:{config:{variants:{"":{pageComponent:j,pageConfig:{title:"".concat(M,".goal_questions.title"),stepNumber:2,totalSteps:6,showBackButton:!1,getPreviousStepPagePath:null,getNextStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"community-size"))},fields:[{name:"responses.achieve_with_circle",responseKey:"achieve_with_circle",type:"select",options:["".concat(M,".goal_questions.options.build_new_community"),"".concat(M,".goal_questions.options.migrate_to_circle"),"".concat(M,".goal_questions.options.exploring")],required:!0}],defaultState:{responses:{achieve_with_circle:""}},previewPageConfig:{showSkeletonForAchieveWithCircle:!0,fieldOrder:W},trackingConfig:{step:"goal",trackStartedAutomatically:!0},getTrackingValues:function(e){return[e.responses.achieve_with_circle]}}},"community-size":{pageComponent:function(e){var t=e.title,n=e.stepNumber,l=e.totalSteps,s=e.showBackButton,c=e.getPreviousStepPagePath,u=e.getNextStepPagePath,g=e.fields,v=e.defaultState,x=e.previewPageConfig,w=e.previewFieldOrder,j=e.trackingConfig,_=e.getTrackingValues,S=(0,d.z)(),O=(0,o.h)(),P=O.currentCommunity,k=O.updateCurrentCommunity,C=(0,m.z)(S,{trackingConfig:z(q({},j),{stepNumber:n,totalSteps:l}),getTrackingValues:_,fields:g,defaultState:v,redirectPath:u(S)}).handleSubmit,N=function(e,t){var n;return(n=function(){return function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:s(0)}),l(a,"throw",{value:s(1)}),l(a,"return",{value:s(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function s(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){switch(n.label){case 0:return[4,C(e)];case 1:return n.sent(),k(z(q({},P),{sign_up_flow_responses:z(q({},P.sign_up_flow_responses),B({},t,e.responses[t]))})),[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,i){var o=n.apply(e,t);function a(e){T(o,r,i,a,l,"next",e)}
1function l(e){T(o,r,i,a,l,"throw",e)}a(void 0)})})()};return(0,r.jsx)(y.G,{title:(0,a.t)(t),subtitle:"",progress:{currentStep:n,totalSteps:l},rightPanel:(0,r.jsx)(h.O,q({communityName:(null==P?void 0:P.name)||"",previewFieldOrder:w},x)),children:(0,r.jsx)("div",{className:"flex w-full flex-col",children:(0,r.jsxs)(i.l,{defaultValues:v,onSubmit:function(e){C(e)},children:[g.map(function(e){return(0,r.jsx)(f,{name:e.name,responseKey:e.responseKey,options:"options"in e?b(e):[],onSubmit:N},e.name)}),s&&(0,r.jsx)("div",{className:"mt-6 flex w-full items-center justify-between",children:(0,r.jsx)(p.o,{getPreviousStepPagePath:c})})]})})})},pageConfig:{title:"".concat(M,".community_size_questions.title"),stepNumber:3,totalSteps:6,showBackButton:!0,getPreviousStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,""))},getNextStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"revenue"))},fields:[{name:"responses.community_size",responseKey:"community_size",type:"select",options:["".concat(M,".community_size_questions.options.over_5000"),"".concat(M,".community_size_questions.options.1000_5000"),"".concat(M,".community_size_questions.options.100_1000"),"".concat(M,".community_size_questions.options.1_100"),"".concat(M,".community_size_questions.options.sep_2026.no_community_yet")],required:!0}],defaultState:{responses:{community_size:""}},previewPageConfig:{showSkeletonForBusinessSize:!0,animateField:"communitySize",fieldOrder:W},trackingConfig:{step:"community_size",trackStartedAutomatically:!0},getTrackingValues:function(e){return[e.responses.community_size]}}},revenue:{pageComponent:N,pageConfig:{title:"".concat(M,".annual_revenue_questions.title"),stepNumber:4,totalSteps:6,showBackButton:!0,getPreviousStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"community-size"))},getNextStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"team"))},fields:[{name:"responses.annual_revenue",responseKey:"annual_revenue",type:"select",options:["".concat(M,".annual_revenue_questions.options.over_10m"),"".concat(M,".annual_revenue_questions.options.1m_10m"),"".concat(M,".annual_revenue_questions.options.250k_1m"),"".concat(M,".annual_revenue_questions.options.100k_250k"),"".concat(M,".annual_revenue_questions.options.50k_100k"),"".concat(M,".annual_revenue_questions.options.under_50k")],required:!0}],defaultState:{responses:{annual_revenue:""}},previewPageConfig:{fieldOrder:W},trackingConfig:{step:"revenue",trackStartedAutomatically:!0},getTrackingValues:function(e){return[e.responses.annual_revenue]}}},team:{pageComponent:function(e){var t=e.title,n=e.stepNumber,l=e.totalSteps,s=e.showBackButton,c=e.getPreviousStepPagePath,u=e.getNextStepPagePath,g=e.fields,v=e.defaultState,x=e.previewPageConfig,w=e.previewFieldOrder,j=e.trackingConfig,_=e.getTrackingValues,S=(0,d.z)(),O=(0,o.h)(),P=O.currentCommunity,k=O.updateCurrentCommunity,C=(0,m.z)(S,{trackingConfig:F(D({},j),{stepNumber:n,totalSteps:l}),getTrackingValues:_,fields:g,defaultState:v,redirectPath:u(S)}),N=C.handleSubmit,A=C.isLoadingSubmitQuestions,I=function(e,t){var n;return(n=function(){return function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:s(0)}),l(a,"throw",{value:s(1)}),l(a,"return",{value:s(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function s(l){return function(s){var c=[l,s];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,r=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(n){switch(n.label){case 0:return[4,N(e)];case 1:return n.sent(),k(F(D({},P),{sign_up_flow_responses:F(D({},P.sign_up_flow_responses),V({},t,e.responses[t]))})),[2]}})},function(){var e=this,t=arguments;return new Promise(function(r,i){var o=n.apply(e,t);function a(e){L(o,r,i,a,l,"next",e)}function l(e){L(o,r,i,a,l,"throw",e)}a(void 0)})})()};return(0,r.jsx)(y.G,{title:(0,a.t)(t),subtitle:"",progress:{currentStep:n,totalSteps:l},rightPanel:(0,r.jsx)(h.O,D({communityName:(null==P?void 0:P.name)||"",previewFieldOrder:w}
1,x)),children:(0,r.jsx)("div",{className:"flex w-full flex-col",children:(0,r.jsxs)(i.l,{defaultValues:v,onSubmit:function(e){N(e)},children:[g.map(function(e){return(0,r.jsx)(f,{name:e.name,responseKey:e.responseKey,options:"options"in e?b(e):[],onSubmit:I,isSubmitting:A},e.name)}),s&&(0,r.jsx)("div",{className:"mt-6 flex w-full items-center justify-between",children:(0,r.jsx)(p.o,{getPreviousStepPagePath:c,disabled:A})})]})})})},pageConfig:{title:"".concat(M,".team_questions.title"),stepNumber:5,totalSteps:6,showBackButton:!0,getPreviousStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"revenue"))},getNextStepPagePath:function(e){return A.aL.templates(e)},fields:[{name:"responses.team_size",responseKey:"team_size",type:"select",options:["".concat(M,".team_questions.options.full_time_teammates"),"".concat(M,".team_questions.options.part_time_contractors"),"".concat(M,".team_questions.options.just_me")],required:!0}],defaultState:{responses:{team_size:""}},previewPageConfig:{fieldOrder:W},trackingConfig:{step:"team",trackStartedAutomatically:!0},getTrackingValues:function(e){return[e.responses.team_size]}}}},templates:{getPreviousStepPagePath:function(e){return"".concat(A.aL.questionsWithVariant(e,"team"))},previewFieldOrder:["achieveWithCircle","businessSize"],stepNumber:6,totalSteps:6}},totalSteps:6},v1:{config:E,totalSteps:5}},Y=function(e){var t,n;return null!=(n=G[null!=(t=new URLSearchParams(e).get("version"))?t:"default"])?n:G.default},$=function(e){return Y(e).totalSteps},X=function(e){return Y(e).config.templates},H=function(e){var t,n,r=null!=(t=new URLSearchParams(e).get("variant"))?t:"",i=Y(e).
1config,o=null!=(n=i.variants[r])?n:i.variants[""],a=o.pageComponent,l=o.pageConfig,s=l.previewPageConfig,c=s.fieldOrder,u=K(s,["fieldOrder"]);return U(R(U(R({},K(l,["previewPageConfig"])),{previewPageConfig:u}),c&&c.length>0&&{previewFieldOrder:c}),{page:a})}}}]);
2//# sourceMappingURL=/packs/js/68369-013f9d39d81358f2.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.