{"version":3,"file":"ThentyErrorMessage.CSdMGQ8S.mjs","names":["useRef","useState","p","HIDDEN_CLASS_NAME","CANVAS_HIDDEN_CLASS_NAME","useRef","useState","_Fragment","useRef","useState","useRef","textOptions"],"sources":["https:/framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/k488EAt1FhWtVFD0n6vD/ThentyShared.js","https:/framerusercontent.com/modules/qWJhxYMaYl3NiGIZjw7a/hvyYHyyN5exkpGRJWsU5/ThentyForm.js","https:/framerusercontent.com/modules/e61m4Fbk5eP9eHvcc7Z8/H9AcDGcCkQB5BUQZdxUl/SubmitButton.js","https:/framerusercontent.com/modules/qERhjgPA4cB5k1EvYnU6/jP9hO16IwQv4zVHfJYdW/ThentyErrorMessage.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,RenderTarget,withCSS,Link}from\"framer\";import{forwardRef,useEffect,useState,useRef,useId,useMemo,cloneElement}from\"react\";import{motion}from\"framer-motion\";import{thentyAuth}from\"https://cdn.thenty.io/beta/thenty-sdk.min.js\";export var FormState;(function(FormState){FormState[\"Default\"]=\"default\";FormState[\"Loading\"]=\"loading\";FormState[\"Success\"]=\"success\";FormState[\"Error\"]=\"error\";})(FormState||(FormState={}));export var Events;(function(Events){Events[\"FormStateChange\"]=\"thenty-form-state-change\";Events[\"SubmitButtonClick\"]=\"thenty-submit-button-click\";Events[\"GoogleSignIn\"]=\"thenty-google-sign-in\";Events[\"Error\"]=\"thenty-form-error\";Events[\"FormInitialized\"]=\"thenty-form-initialized\";})(Events||(Events={}));export const GoogleProductStateKey=\"thenty-google-planid-override\";export const HIDDEN_CLASS_NAME=\"thenty-hidden\";const CANVAS_HIDDEN_CLASS_NAME=\"thenty-canvas-hidden\";export const useInstanceId=()=>{const id=useId();const cleanId=id.replace(/:/g,\"\");const instanceId=`thenty-${cleanId}`;return instanceId;};export const ALIGNMENT_MAP={left:\"flex-start\",center:\"center\",right:\"flex-end\",justify:\"flex-start\"};export const useThenty=()=>{const metaKey=thentyAuth.fetchMetadataKey();const authKey=thentyAuth.fetchAuthorizationKey();const[authorization,updateAuthorization]=useState(thentyAuth.fetchAuthorization());const[siteMeta,updateSiteMeta]=useState(thentyAuth.fetchMetadata());useEffect(()=>{// Event listener callback\nconst handleStorageChange=event=>{const eventKey=event.detail?.key??event.key;const eventNewValue=event.detail?.newValue??event.newValue;try{if(eventKey===authKey){updateAuthorization(typeof eventNewValue===\"string\"?JSON.parse(eventNewValue):eventNewValue);}else if(eventKey===metaKey){updateSiteMeta(typeof eventNewValue===\"string\"?JSON.parse(eventNewValue):eventNewValue);}}catch(error){console.error(\"Failed to handle Thenty storage change\");}};window.addEventListener(\"storage\",handleStorageChange);return()=>{window.removeEventListener(\"storage\",handleStorageChange);};},[]);return{authorization,siteMeta};};export const hasProducts=(productIds=[])=>{const{authorization}=useThenty();const canAccess=useMemo(()=>{return thentyAuth.checkForProduct(productIds);},[authorization,productIds]);return canAccess;};export const fetchUserData=()=>{const{authorization}=useThenty();const userData=authorization?.member??null;return{loggedIn:!!userData,userData};};// const clearQueryParams = () => {\n//     if (window?.history?.replaceState) {\n//         const newUrl = window.location.pathname\n//         window.history.replaceState(null, \"\", newUrl)\n//     }\n// }\nconst clearQueryParams=()=>{if(window?.history?.replaceState){const url=new URL(window.location.href);url.searchParams.delete(\"code\");url.searchParams.delete(\"token\");window.history.replaceState(null,\"\",url.toString());}};export const useSSO=planIdOverride=>{const[firstRender,setFirstRender]=useState(true);const[isLoadingGoogle,setIsLoadingGoogle]=useState(false);useEffect(()=>{if(firstRender){const searchParams=window?.location?new URLSearchParams(window?.location?.search):{};clearQueryParams();setFirstRender(false);if(thentyAuth.isGoogleRedirect(searchParams)){setIsLoadingGoogle(true);thentyAuth.fetchGoogleCallback(planIdOverride,searchParams);}}},[firstRender]);return{isLoadingGoogle};};const HideElementComponent=/*#__PURE__*/forwardRef(({},ref)=>{return /*#__PURE__*/_jsx(\"div\",{ref:ref,className:HIDDEN_CLASS_NAME});});export const HideElement=withCSS(HideElementComponent,[`div:has(> .${HIDDEN_CLASS_NAME}) { display: none; }`,`.${HIDDEN_CLASS_NAME} { display: none; }`],HIDDEN_CLASS_NAME);HideElement.displayName=\"Hide Element\";export const HiddenComponentLabel=/*#__PURE__*/forwardRef(({text,subtext=\"\",children=null,...otherProps},ref)=>{const isCanvas=RenderTarget.current()===RenderTarget.canvas;return isCanvas?/*#__PURE__*/_jsxs(\"div\",{...otherProps,ref:ref,className:CANVAS_HIDDEN_CLASS_NAME,style:{backgroundColor:\"rgba(187, 187, 187, 0.15)\",borderRadius:10,padding:\"12px 16px\",fontFamily:\"Inter\",fontWeight:500,fontSize:12,color:\"#999\",display:\"flex\",flexDirection:\"column\",gap:6,alignItems:\"center\",textAlign:\"center\",width:\"100%\",height:\"100%\",textWrap:\"nowrap\"},children:[text,subtext&&/*#__PURE__*/_jsx(\"span\",{style:{opacity:.7,whiteSpace:\"pre\",lineHeight:1.4},children:subtext}),children,/*#__PURE__*/_jsx(Border,{width:\"1px\",style:\"solid\",borderColor:\"rgba(136, 136, 136, 0.1)\"}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`[data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) { display: none !important; }`}})]}):/*#__PURE__*/_jsx(\"div\",{...otherProps,ref:ref,className:HIDDEN_CLASS_NAME,children:/*#__PURE__*/_jsx(HideElement,{})});});HiddenComponentLabel.displayName=\"Hidden Component Label\";export function Border({border,hoverState=null,hover=false,transition=null}){const hoverBorder=hoverState?.border??border;return hoverBorder?/*#__PURE__*/_jsx(motion.div,{animate:{borderColor:hover?hoverBorder.borderColor:border?.borderColor,borderWidth:hover?hoverBorder.borderWidth:border?.borderWidth,opacity:hover?1:border?1:0},style:{position:\"absolute\",inset:0,borderStyle:hover?hoverBorder.borderStyle:border?.borderStyle,borderRadius:\"inherit\",pointerEvents:\"none\"},initial:false,transition:transition||hoverState?.transition}):null;}export function fillProp({optional=false,defaultValue=true,hidden=null,color=\"#F3F3F3\",colorA=\"#FFFFFF\",colorB=\"#000000\"}={}){return{type:ControlType.Object,optional,hidden,icon:\"color\",defaultValue:defaultValue?{type:\"color\",color,colorA,colorB}:null,controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"linearGradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:color,hidden:props=>props.type!==\"color\"},colorA:{type:ControlType.Color,defaultValue:colorA,title:\"Colors\",hidden:props=>props.type!==\"linearGradient\"},colorB:{type:ControlType.Color,defaultValue:colorB,title:\" \",hidden:props=>props.type!==\"linearGradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"linearGradient\"}}};}export function createBackground(fill){return fill.type===\"linearGradient\"?`linear-gradient(${fill.gradientAngle}deg, ${fill.colorB}, ${fill.colorA})`:fill.color;}export function stateStyleProp({defaultFill=\"#EDEDED\"}={defaultFill:\"#EDEDED\"}){const fill=fillProp({optional:true,color:defaultFill});return{type:ControlType.Object,optional:true,icon:\"effect\",buttonTitle:\"Styles\",defaultValue:{fill:fill.defaultValue,radiusEnabled:false,radius:\"10px\"},controls:{fill,color:{type:ControlType.Color,optional:true},border:{type:ControlType.Border,optional:true},shadows:{type:ControlType.BoxShadow},radiusEnabled:{type:ControlType.Boolean,defaultValue:false,title:\"Radius\"},radius:{type:ControlType.BorderRadius,defaultValue:\"10px\",title:\" \",hidden:props=>!props.radiusEnabled}}};}export const transitionProp=()=>({type:ControlType.Transition,defaultValue:{type:\"spring\",duration:.2,bounce:0}});export function Icon({image,color,size,style={},defaultImage}){return /*#__PURE__*/_jsx(\"div\",{style:{width:size,height:size,minWidth:size,minHeight:size,pointerEvents:\"none\",backgroundColor:color,backgroundImage:color?\"none\":image?`url('${image}')`:defaultImage,maskImage:image?`url('${image}')`:defaultImage,backgroundSize:\"contain\",backgroundPosition:\"center\",maskSize:\"contain\",maskPosition:\"center\",...style}});}export function compileHoverStyle(hover){const whileHover={};if(hover){if(hover.fill){whileHover.background=createBackground(hover.fill);}if(hover.color){whileHover.color=hover.color;}if(hover.shadows){whileHover.boxShadow=hover.shadows;}if(hover.radiusEnabled){whileHover.borderRadius=hover.radius;}}return whileHover;}export function styleLayer(layer,style){layer=Array.isArray(layer)?layer[0]:layer;let newLayer=layer;const width=style?.width;const height=style?.height;if(layer&&layer.props&&style&&(width||height)){if(typeof layer.type===\"function\"&&typeof layer.props.children===\"object\"){newLayer=/*#__PURE__*/cloneElement(layer,{children:{...layer.props.children,props:{...layer.props.children.props,style:{...layer.props.children.props.style,...width&&{width},...height&&{height}}}}});}else{newLayer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width},...height&&{height}}});}}return newLayer;}export function EmptyState({title,subtitle}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",width:\"100%\",height:\"100%\",flexDirection:\"column\",alignContent:\"center\",justifyContent:\"center\",gap:12,backgroundColor:\"rgba(255, 74, 41, 0.1)\",borderRadius:6,border:\"1px dashed rgb(255, 74, 41)\",color:\"rgb(255, 74, 41)\",fontSize:16,padding:20,minHeight:200,textWrap:\"balance\",maxWidth:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"row\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(ThentyLogo,{})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",gap:8,width:\"100%\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontWeight:600,textAlign:\"center\",maxWidth:500},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7,lineHeight:1.5,textAlign:\"center\",maxWidth:500},children:subtitle})]})]});}EmptyState.displayName=\"Empty State\";export function ThentyLogo(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"74\",height:\"19\",viewBox:\"0 0 111 29\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",children:[/*#__PURE__*/_jsxs(\"g\",{\"clip-path\":\"url(#clip0_115_8)\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M34.807 5.70097H30.823V9.82197H27.876V13.137H30.823V19.345C30.823 22.447 32.643 24.225 35.816 24.225C36.965 24.225 37.852 24.035 38.785 23.584L38.847 23.555V20.157L38.684 20.241C38.112 20.532 37.473 20.68 36.827 20.672C35.449 20.672 34.808 19.984 34.808 18.508V13.137H38.981V9.82197H34.808L34.807 5.70097ZM48.317 9.56197C46.657 9.56197 45.356 10.164 44.252 11.452V5.02197H40.239V23.964H44.252V16.272C44.252 14.274 45.305 12.985 46.927 12.985C48.545 12.985 49.381 14.028 49.381 16.089V23.964H53.367V14.858C53.367 11.592 51.432 9.56197 48.317 9.56197ZM69.057 17.796C69.403 15.498 68.819 13.377 67.412 11.826C66.089 10.366 64.156 9.56197 61.964 9.56197C57.709 9.56197 54.623 12.624 54.623 16.841C54.623 21.244 57.591 24.198 62.019 24.198C65.643 24.198 68.199 22.368 69.028 19.161L69.061 19.032H65.073L65.052 19.106C64.625 20.454 63.52 21.198 61.936 21.198C60.104 21.198 58.997 20.053 58.729 17.884H69.044L69.057 17.796ZM58.787 15.38C59.128 13.45 60.195 12.432 61.879 12.432C63.561 12.432 64.679 13.56 64.821 15.38H58.787ZM78.489 9.56197C76.757 9.56197 75.255 10.266 74.123 11.604V9.82397H70.411V23.965H74.424V16.27C74.424 14.273 75.477 12.984 77.097 12.984C78.717 12.984 79.553 14.028 79.553 16.088V23.964H83.539V14.858C83.539 11.592 81.604 9.56197 78.489 9.56197ZM91.173 5.70097H87.189V9.82197H84.243V13.137H87.189V19.345C87.189 22.447 89.009 24.225 92.184 24.225C93.333 24.225 94.219 24.035 95.153 23.584L95.213 23.555V20.157L95.052 20.241C94.48 20.532 93.841 20.68 93.195 20.672C91.817 20.672 91.176 19.984 91.176 18.508V13.137H95.351V9.82197H91.175L91.173 5.70097ZM107.028 9.82397L103.773 19.16L100.197 9.82397H95.867L101.641 23.704L99.525 29H103.883L111.056 9.82397H107.028Z\",fill:\"#FF4A29\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M19.933 14.528V5C14.429 5 9.967 9.267 9.967 14.528V5.056C4.463 5.056 0 9.321 0 14.584H4.955V24.052C4.955 24.055 4.956 24.056 4.959 24.056C10.46 24.056 14.921 19.788 14.921 14.528H19.933Z\",fill:\"#FF4A29\"})]}),/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsx(\"clipPath\",{id:\"clip0_115_8\",children:/*#__PURE__*/_jsx(\"rect\",{width:\"111\",height:\"29\",fill:\"white\"})})})]});}ThentyLogo.displayName=\"Thenty Logo\";export function textOptionsToStyles({transform,decoration,balance,userSelect}){return{userSelect:userSelect?\"auto\":\"none\",textDecoration:decoration,textWrap:balance?\"balance\":undefined,textTransform:transform};}export function textOptions({title=\"Options\"}={title:\"Options\"}){return{type:ControlType.Object,title,controls:{transform:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"inherit\",\"capitalize\",\"uppercase\",\"lowercase\"],optionTitles:[\"None\",\"Inherit\",\"Capitalize\",\"Uppercase\",\"Lowercase\"]},decoration:{type:ControlType.Enum,defaultValue:\"none\",options:[\"none\",\"underline\",\"line-through\"],optionTitles:[\"None\",\"Underline\",\"Strikethrough\"]},balance:{type:ControlType.Boolean,defaultValue:false},userSelect:{type:ControlType.Boolean,defaultValue:true},tag:{type:ControlType.Enum,defaultValue:\"p\",options:[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"p\",\"span\"]}}};}export const StandardButton=/*#__PURE__*/forwardRef(({children,href,newTab,fill,color,radius,padding,shadows,decoration,hover,border,bgBlur,transition,font,gap,clickEvent,hoverEvent,style,onClick,loadingSpinner,loading=false,...props},ref)=>{const MotionTag=href?motion.a:motion.button;const[buttonHover,setButtonHover]=useState(false);const handleClick=()=>{clickEvent?.();onClick?.();};const onHoverStart=()=>{setButtonHover(true);hoverEvent?.();};const onHoverEnd=()=>{setButtonHover(false);};const element=/*#__PURE__*/_jsxs(MotionTag,{ref:ref,href:href,target:newTab?\"_blank\":undefined,type:\"button\",onClick:handleClick,onHoverStart:onHoverStart,onHoverEnd:onHoverEnd,style:{appearance:\"none\",border:\"none\",outline:\"none\",userSelect:\"none\",cursor:\"pointer\",...style,...font},animate:{background:createBackground(fill),color,borderRadius:radius,padding,boxShadow:shadows,backdropFilter:bgBlur?`blur(${bgBlur}px)`:undefined},whileHover:compileHoverStyle(hover),initial:false,transition:transition,...props,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:ALIGNMENT_MAP[font?.textAlign]||\"center\",textAlign:\"center\",gap,opacity:loading&&loadingSpinner&&loadingSpinner.location===\"center\"?0:1},children:children}),loading&&loadingSpinner&&/*#__PURE__*/_jsx(LoadingSpinner,{...loadingSpinner,color:loadingSpinner.color||color,padding:padding}),/*#__PURE__*/_jsx(Border,{border:border,hoverState:hover,hover:buttonHover,transition:transition})]});return href?/*#__PURE__*/_jsx(Link,{href:href,openInNewTab:newTab,children:element}):element;});export function standardButtonPropertyControls({defaultColor=\"#000000\",defaultFill=\"#F3F3F3\",defaultHoverFill=\"EDEDED\",hasDefaultBorder=true,loadingSpinner=false,defaultLoadingSpinnerLocation=\"center\",iconProps={}}){return{font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4}},color:{type:ControlType.Color,defaultValue:defaultColor},fill:fillProp({optional:true,color:defaultFill}),radius:{type:ControlType.BorderRadius,defaultValue:\"10px\"},padding:{type:ControlType.Padding,defaultValue:\"10px 15px 10px 15px\"},...iconProps,...loadingSpinner?{loadingSpinner:{type:ControlType.Object,title:\"Loading\",buttonTitle:\"Spinner\",controls:{size:{type:ControlType.Number,defaultValue:16,min:1,max:100,step:1},strokeWidth:{type:ControlType.Number,defaultValue:2,min:1,max:50,step:1,displayStepper:true,title:\"Stroke\"},color:{type:ControlType.Color,optional:true},rounded:{type:ControlType.Boolean,defaultValue:true},location:{type:ControlType.Enum,defaultValue:defaultLoadingSpinnerLocation,options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true}}}}:{},border:{type:ControlType.Border,optional:true,defaultValue:hasDefaultBorder?{borderColor:\"rgba(0, 0, 0, 0.08)\",borderWidth:1,borderStyle:\"solid\"}:undefined},shadows:{type:ControlType.BoxShadow},bgBlur:{type:ControlType.Number,min:0,max:100,step:1,displayStepper:true,title:\"BG Blur\"},hover:stateStyleProp({defaultFill:defaultHoverFill}),transition:transitionProp(),hoverEvent:{type:ControlType.EventHandler,title:\"Hover\"},clickEvent:{type:ControlType.EventHandler,title:\"Click\"}};}export function useThentyForm(ref){const formRef=useRef(null);const[formState,setFormState]=useState(\"default\");const[formError,setFormError]=useState(null);useEffect(()=>{const onFormStateChange=event=>{if(Object.values(FormState).includes(event.detail)){setFormState(event.detail);}};const onError=event=>{setFormError(event.detail??null);};const updateFormRef=()=>{if(ref.current){const form=ref.current.closest(\"[data-thenty-form]\");formRef.current=form;if(form){const state=form.getAttribute(\"data-thenty-form-state\");if(Object.values(FormState).includes(state)){setFormState(state);}form.addEventListener(\"thenty-form-error\",onError);form.addEventListener(\"thenty-form-state-change\",onFormStateChange);}}};const onEvent=()=>{updateFormRef();};window.addEventListener(\"thenty-form-initialized\",onEvent);updateFormRef();return()=>{window.removeEventListener(\"thenty-form-initialized\",onEvent);if(formRef.current){formRef.current.removeEventListener(\"thenty-form-error\",onError);formRef.current.removeEventListener(\"thenty-form-state-change\",onFormStateChange);}};},[ref]);const fireFormEvent=(event,detail=null)=>{if(formRef.current){formRef.current.dispatchEvent(new CustomEvent(event,{detail}));}};const changeFormState=state=>{if(formRef.current){formRef.current.setAttribute(\"data-thenty-form-state\",state);fireFormEvent(\"thenty-form-state-change\",state);}};return{formRef,formState,formError,setFormState:changeFormState,fireFormEvent};}function LoadingSpinner({size=16,strokeWidth=2,color=\"#000000\",rounded=true,location=\"center\",padding=\"0px\"}){const[pt,pr,pb,pl]=parsePadding(padding);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:location===\"center\"?\"50%\":location===\"left\"?pl:undefined,right:location===\"right\"?pr:undefined,transform:location===\"center\"?\"translate(-50%, -50%)\":\"translateY(-50%)\",width:size,height:size,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(motion.div,{animate:{rotate:360},transition:{duration:1,repeat:Infinity,ease:\"linear\"},style:{position:\"absolute\",inset:0,borderRadius:\"50%\",background:`conic-gradient(transparent, ${color} 340deg)`,maskImage:`radial-gradient(transparent ${size/2-strokeWidth}px, white ${size/2-strokeWidth}px, white ${size/2}px, transparent ${size/2}px)`},children:strokeWidth<size/2&&rounded&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:(size-strokeWidth)/2,width:strokeWidth,height:strokeWidth,backgroundColor:color,borderRadius:\"50%\"}})})});}export function parsePadding(padding){if(typeof padding!==\"string\"){return[0,0,0,0];}const values=padding.split(\" \");const parsedValues=values.map(value=>parseInt(value.replace(\"px\",\"\"),10));switch(parsedValues.length){case 1:const p=parsedValues[0];return[p,p,p,p];case 4:return parsedValues;}return[0,0,0,0];}\nexport const __FramerMetadata__ = {\"exports\":{\"useInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HiddenComponentLabel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALIGNMENT_MAP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"styleLayer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useThenty\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateStyleProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StandardButton\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ThentyLogo\":{\"type\":\"reactComponent\",\"name\":\"ThentyLogo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchUserData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"GoogleProductStateKey\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideElement\":{\"type\":\"reactComponent\",\"name\":\"HideElement\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasProducts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"transitionProp\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Events\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HIDDEN_CLASS_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useThentyForm\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmptyState\":{\"type\":\"reactComponent\",\"name\":\"EmptyState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSSO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"textOptions\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"textOptionsToStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"compileHoverStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"standardButtonPropertyControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ThentyShared.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,Link}from\"framer\";import{useRef,useEffect,useState}from\"react\";import{HiddenComponentLabel,FormState,Events,ThentyLogo,useThentyForm,useThenty,GoogleProductStateKey}from\"https://framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/k488EAt1FhWtVFD0n6vD/ThentyShared.js\";import{thentyAuth}from\"https://cdn.thenty.io/beta/thenty-sdk.min.js\";const formInputNames=[\"email_address\",\"password\",\"name\",\"conditions\"];const updateProfilePrefillInputs=[\"email_address\",\"name\"];var FormType;(function(FormType){FormType[\"SignUp\"]=\"signUp\";FormType[\"LogIn\"]=\"logIn\";FormType[\"ForgotPassword\"]=\"forgotPassword\";FormType[\"UpdateProfile\"]=\"updateProfile\";FormType[\"UpdatePassword\"]=\"updatePassword\";FormType[\"AcceptInvite\"]=\"acceptInvite\";})(FormType||(FormType={}));const FORM_TYPE_NAME={[\"signUp\"]:\"Sign Up\",[\"logIn\"]:\"Log In\",[\"forgotPassword\"]:\"Forgot Password\",[\"updateProfile\"]:\"Update Profile\",[\"updatePassword\"]:\"Update Password\",[\"acceptInvite\"]:\"Accept Invite\"};/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function ThentyForm({formType,productId,redirectLink,redirectDelay,prefillUrlParameters,successEvent,errorEvent,loadingEvent}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=useRef(null);const redirectLinkRef=useRef(null);const[redirectHref,setRedirectHref]=useState(redirectLink);const{formRef,setFormState,fireFormEvent}=useThentyForm(ref);const{authorization}=useThenty();const onError=error=>{setFormState(FormState.Error);if(typeof error===\"string\"){fireFormEvent(Events.Error,error);}else if(error instanceof Error){fireFormEvent(Events.Error,error.message);}errorEvent?.();};useEffect(()=>{const onSubmitButtonClick=async()=>{const form=formRef.current;if(!form){return;}const formData=collectFormData(form);setFormState(FormState.Loading);loadingEvent?.();let endpoint=\"\";let data=formData;let method=\"POST\";let updateAuthorization=false;let authValue=undefined;switch(formType){case\"signUp\":endpoint=`/auth/members/register`;data={...data,...getThentyFetchData(productId)};updateAuthorization=true;break;case\"logIn\":endpoint=`/auth/members/login`;updateAuthorization=true;break;case\"forgotPassword\":endpoint=`/auth/members/reset`;break;case\"updateProfile\":endpoint=`/members/${authorization?.member?.id}`;method=\"PUT\";authValue=authorization?.authorization?.key;if(!data.hasOwnProperty(\"email_address\")&&authorization?.member?.email){data={...data,email_address:authorization.member.email};}break;case\"updatePassword\":case\"acceptInvite\":const url=window?.location?new URL(window.location.toString()):null;const token=url?.searchParams?.get(\"token\");endpoint=`/auth/members/password/${token}`;method=\"PUT\";break;}if(endpoint){try{const responseBody=await thentyAuth.fetchGeneric(endpoint,method,data,authValue);if(updateAuthorization){thentyAuth.setAuthorization(responseBody);}setFormState(FormState.Success);successEvent?.();let hasRedirect=redirectLink?true:false;const responseRedirectUrl=responseBody?.redirect_url;if(responseRedirectUrl&&!hasRedirect){const relativePath=getRelativePath(responseRedirectUrl);setRedirectHref(relativePath);hasRedirect=true;}if(hasRedirect&&redirectLinkRef.current){setTimeout(()=>{if(redirectLinkRef.current){redirectLinkRef.current.click();}},Math.max(redirectDelay*1e3,100));}}catch(error){onError(error);}}};const onGoogleSignIn=async()=>{try{const responseBody=await thentyAuth.fetchGeneric(`/oauth/members/code/google`,\"POST\",getThentyFetchData(productId));if(productId&&localStorage){localStorage.setItem(GoogleProductStateKey,productId);}if(responseBody.redirect_url){window.open(toURLPath(responseBody.redirect_url),\"_self\");}}catch(error){onError(error);}};const handleEnterKey=e=>{if(e.key===\"Enter\"&&e.target.tagName!==\"TEXTAREA\"){e.preventDefault();const form=formRef.current;if(!form)return;const inputs=getInputsInForm(form);const currentIndex=inputs.indexOf(e.target);if(currentIndex===inputs.length-1){// If on last input, submit the form\nfireFormEvent(Events.SubmitButtonClick);}else if(currentIndex!==-1){// Focus next input\ninputs[currentIndex+1].focus();}}};if(ref.current){const form=ref.current.parentElement.parentElement;if(form){form.setAttribute(\"data-thenty-form\",\"true\");formRef.current=form;window.dispatchEvent(new Event(Events.FormInitialized));// Add keypress event listener\nform.addEventListener(\"keydown\",handleEnterKey);// Check URL parameters for prefill values\nif(prefillUrlParameters){const urlParams=new URLSearchParams(window?.location?.search);const nameParam=urlParams.get(prefillUrlParameters.name);if(nameParam){prefillInput(form,\"name\",nameParam);}const emailParam=urlParams.get(prefillUrlParameters.email);if(emailParam){prefillInput(form,\"email_address\",emailParam);}}form.addEventListener(Events.SubmitButtonClick,onSubmitButtonClick);form.addEventListener(Events.GoogleSignIn,onGoogleSignIn);// Pre-fill update profile fields\nif(formType===\"updateProfile\"&&!isCanvas){if(authorization?.member){setFormState(FormState.Default);for(const[key,value]of Object.entries(authorization.member)){if(updateProfilePrefillInputs.includes(key)||key.startsWith(\"custom:\")){prefillInput(form,key,value);}// Legacy fix for cognito change\nif(key===\"email\"){prefillInput(form,\"email_address\",value);}}}}}}return()=>{if(formRef.current){formRef.current.removeEventListener(Events.SubmitButtonClick,onSubmitButtonClick);formRef.current.removeEventListener(Events.GoogleSignIn,onGoogleSignIn);formRef.current.removeEventListener(\"keydown\",handleEnterKey);}};},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(HiddenComponentLabel,{ref:ref,\"data-thenty-form-manager\":true,children:[/*#__PURE__*/_jsx(ThentyLogo,{}),/*#__PURE__*/_jsxs(\"span\",{children:[FORM_TYPE_NAME[formType],\" Form\"]})]}),/*#__PURE__*/_jsx(Link,{ref:redirectLinkRef,href:redirectHref,openInNewTab:false,smoothScroll:false,children:/*#__PURE__*/_jsx(\"a\",{style:{display:\"none\"}})})]});}ThentyForm.displayName=\"Thenty Form Manager\";addPropertyControls(ThentyForm,{formType:{type:ControlType.Enum,defaultValue:\"signUp\",options:Object.keys(FORM_TYPE_NAME),optionTitles:Object.values(FORM_TYPE_NAME),displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},productId:{type:ControlType.String,defaultValue:\"\",placeholder:\"Thenty Product ID\",title:\"Product ID\",hidden:props=>props.formType!==\"signUp\"},redirectLink:{type:ControlType.Link,title:\"Redirect Override\",description:\"Note: This will override the redirect URL returned from thenty including stripe checkout links\"},redirectDelay:{type:ControlType.Number,defaultValue:0,min:0,step:.1,displayStepper:true,title:\"Delay\"},prefillUrlParameters:{type:ControlType.Object,optional:true,defaultValue:{name:\"name\",email:\"email_address\"},title:\"Prefill\",controls:{name:{type:ControlType.String,defaultValue:\"name\",title:\"Name\"},email:{type:ControlType.String,defaultValue:\"email_address\",title:\"Email\",description:\"Prefill the name and email fields with URL parameters.\"}}},successEvent:{type:ControlType.EventHandler,title:\"Success\"},errorEvent:{type:ControlType.EventHandler,title:\"Error\"},loadingEvent:{type:ControlType.EventHandler,title:\"Loading\"}});function collectFormData(form){const data={};const inputs=form.querySelectorAll(\"input, textarea, select\");let isValid=true;let errorMessage=\"\";for(let i=0;i<inputs.length;i++){const input=inputs[i];if(input&&input.name&&!input.disabled&&input.type!==\"submit\"&&input.type!==\"button\"&&(formInputNames.includes(input.name)||input.name.startsWith(\"custom:\")||input.hasAttribute(\"required\"))){// Check if the field is required and empty\nif(input.hasAttribute(\"required\")&&!input.value.trim()){isValid=false;errorMessage=`${input.name} is required.`;input.focus();input.setCustomValidity(\"Please fill out this field.\");input.reportValidity();break;}else{input.setCustomValidity(\"\");}// Validate email address\nif(input.name===\"email_address\"&&input.value.trim()){if(!isValidEmail(input.value.trim())){isValid=false;errorMessage=\"Please enter a valid email address.\";input.focus();input.setCustomValidity(\"Please enter a valid email address.\");input.reportValidity();break;}}if(input.type===\"checkbox\"||input.type===\"radio\"){// For checkboxes and radio buttons, only include if checked\nif(input.checked){data[input.name]=input.value;}}else{// For all other inputs (text, number, etc.), add the value directly\ndata[input.name]=input.value;}}}return data;}function getThentyFetchData(productId){const urlParams=new URLSearchParams(window?.location?.search);const planId=urlParams?.get(\"planID\");const rewardfulReferral=window?.Rewardful?.referral;const promotekitReferral=window?.promotekit_referral;return{...productId?{planIdOverride:productId}:{},...planId&&{planIdOverride:planId},...rewardfulReferral&&{rewardfulReferral},...promotekitReferral&&{promotekitReferral}};}function prefillInput(form,inputName,value){const input=form.querySelector(`\n\t\tinput[name=\"${inputName}\" i]:not([data-framerforms-no-prefill]),\n\t\tselect[name=\"${inputName}\" i]:not([data-framerforms-no-prefill]),\n\t\ttextarea[name=\"${inputName}\" i]:not([data-framerforms-no-prefill])`);if(input){if(input.tagName==\"INPUT\"&&input.getAttribute(\"type\")==\"hidden\"){if(input.hasAttribute(\"data-framerforms-set-value-event\")){input.dispatchEvent(new CustomEvent(\"framerFormsSetValue\",{bubbles:true,detail:value}));}}else{const elementType=input.tagName==\"INPUT\"?window.HTMLInputElement:input.tagName==\"TEXTAREA\"?window.HTMLTextAreaElement:input.tagName==\"SELECT\"?window.HTMLSelectElement:null;if(elementType){const nativeInputValueSetter=Object.getOwnPropertyDescriptor(elementType.prototype,\"value\").set;nativeInputValueSetter.call(input,value);input.dispatchEvent(new Event(\"input\",{bubbles:true}));}else{input.value=value;}}}}const getRelativePath=url=>{if(typeof window===\"undefined\"){return url;}// If it's already a relative path starting with '/', return it as is\nif(url.startsWith(\"/\")){return thentyAuth.assessPathForAccess(url);}// If it's an absolute URL, check if it's on the same domain\nif(url.startsWith(\"http\")){try{const urlObj=new URL(url);const currentDomain=window.location.origin;if(urlObj.origin===currentDomain){return thentyAuth.assessPathForAccess(urlObj.pathname,urlObj.search+urlObj.hash);}return url;}catch(e){// If URL is invalid, return the original input\nreturn url;}}// For any other case, add a leading '/'\nreturn thentyAuth.assessPathForAccess(url);};const toURLPath=url=>{if(url.startsWith(\"http\")){return url;}if(url.startsWith(\"/\")){return url;}return`/${url}`;};function getInputsInForm(form){return Array.from(form.querySelectorAll(`input:not([type=\"hidden\"]):not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]):not([data-framerforms-set-value-event]),\n\t\t\ttextarea:not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]),\n\t\t\tselect:not([disabled]):not([name=\"\"]):not([tabindex=\"-1\"]),\n\t\t\tbutton:not([disabled]):not([tabindex=\"-1\"]):not([data-no-enter-focus])`)).filter(el=>window.getComputedStyle(el).display!==\"none\");}function isValidEmail(email){// Regular expression pattern for email validation\nconst emailRegex=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;// Test the email against the regex pattern\nreturn emailRegex.test(email);}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ThentyForm\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{FormState,Events,StandardButton,standardButtonPropertyControls,useThentyForm}from\"https://framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/k488EAt1FhWtVFD0n6vD/ThentyShared.js\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 300\n * @framerDisableUnlink\n */export default function SubmitButton(props){const{defaultText,successText,errorText,successEvent,errorEvent,loadingEvent}=props;const ref=useRef(null);const[loading,setLoading]=useState(false);const{formState,setFormState,fireFormEvent}=useThentyForm(ref);useEffect(()=>{switch(formState){case FormState.Success:successEvent?.();setLoading(false);break;case FormState.Error:errorEvent?.();setLoading(false);break;case FormState.Loading:loadingEvent?.();setLoading(true);break;}},[formState]);const onClick=()=>{fireFormEvent(Events.SubmitButtonClick);};return /*#__PURE__*/_jsx(StandardButton,{ref:ref,...props,loading:loading,\"data-thenty-submit-button\":true,onClick:onClick,\"data-no-enter-focus\":true,children:formState===FormState.Success?successText||defaultText:formState===FormState.Error?errorText||defaultText:defaultText});}SubmitButton.displayName=\"Thenty Submit Button\";addPropertyControls(SubmitButton,{defaultText:{type:ControlType.String,placeholder:\"Button Text\",defaultValue:\"Submit\",title:\"Default\"},successText:{type:ControlType.String,placeholder:\"Success Text\",defaultValue:\"Success!\",title:\"Success\"},errorText:{type:ControlType.String,placeholder:\"Error Text\",defaultValue:\"Error\",title:\"Error\"},...standardButtonPropertyControls({defaultColor:\"#FFFFFF\",defaultFill:\"#0075FF\",defaultHoverFill:\"#1A81FF\",hasDefaultBorder:false,loadingSpinner:true}),successEvent:{type:ControlType.EventHandler,title:\"Success\"},errorEvent:{type:ControlType.EventHandler,title:\"Error\"},loadingEvent:{type:ControlType.EventHandler,title:\"Loading\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SubmitButton\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,withCSS}from\"framer\";import{useRef}from\"react\";import{textOptions,textOptionsToStyles,useThentyForm}from\"https://framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/k488EAt1FhWtVFD0n6vD/ThentyShared.js\";const CANVAS_HIDDEN_CLASS_NAME=\"thenty-error-canvas-hidden\";const HIDDEN_CLASS_NAME=\"thenty-error-hidden\";function ThentyFormErrorMessageComponent(props){const{font,color,prefix,suffix,style,textOptions}=props;const Tag=props.tag||\"p\";const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=useRef(null);const{formError}=useThentyForm(ref);let className=\"\";if(isCanvas){className=CANVAS_HIDDEN_CLASS_NAME;}else if(!formError){className=HIDDEN_CLASS_NAME;}return /*#__PURE__*/_jsxs(Tag,{ref:ref,className:className,style:{color,margin:0,whiteSpace:style?.width?undefined:\"nowrap\",fontWeight:400,textAlign:\"center\",...textOptionsToStyles(textOptions),...font,...style},children:[prefix,isCanvas?\"Error message\":formError,suffix]});}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 300\n * @framerDisableUnlink\n */const ThentyFormErrorMessage=withCSS(ThentyFormErrorMessageComponent,[`[data-framer-component-container=\"true\"] div:has(> .${CANVAS_HIDDEN_CLASS_NAME}) { display: none !important; }`,`div:has(> .${HIDDEN_CLASS_NAME}) { display: none !important; }`,`.${HIDDEN_CLASS_NAME} { display: none !important; }`],\"\");export default ThentyFormErrorMessage;ThentyFormErrorMessage.displayName=\"Thenty Error Message\";addPropertyControls(ThentyFormErrorMessage,{font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:12,lineHeight:1.4,textAlign:\"center\"}},color:{type:ControlType.Color,defaultValue:\"#FF5A6F\"},prefix:{type:ControlType.String,defaultValue:\"\"},suffix:{type:ControlType.String,defaultValue:\"\"},textOptions:textOptions()});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ThentyFormErrorMessage\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"300\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"8UAO4nE,SAAgB,EAAO,CAAC,SAAO,a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