{
  "version": 3,
  "sources": ["ssg:https://cdn.thenty.io/beta/thenty-sdk.min.js", "ssg:https://framerusercontent.com/modules/diyk5889JEo4mM5y5sJr/WO0BY8LwVoqggEJBPHWk/ThentyShared.js"],
  "sourcesContent": ["const logStyle=\"color:white;background-color:#FF4A29;font-family:system-ui;font-size:1.2rem;font-weight:bold\";class ThentySDK{constructor(){console.log(\"%cthenty SDK Module\",logStyle),this.apiURL=\"https://api.thenty.io\"}fetchAuthorizationKey(){return(window?.location?new URL(window.location.origin):\"\").host+\".authorization\"}fetchAuthorization(){var e=localStorage.getItem(this.fetchAuthorizationKey());return e?JSON.parse(e):null}setAuthorization(e){var t=this.fetchAuthorizationKey();localStorage.setItem(t,JSON.stringify(e)),window.dispatchEvent(new CustomEvent(\"storage\",{detail:{key:t,newValue:e}}))}fetchMetadataKey(){return(window?.location?new URL(window.location.origin):\"\").host+\".metadata\"}fetchMetadata(){var e=localStorage.getItem(this.fetchMetadataKey());return e?JSON.parse(e):null}logout(e=\"/\"){localStorage.removeItem(this.fetchAuthorizationKey()),window.location.pathname=e}checkForProduct(e=[],t=null){let r=t,o=(r=r||this.fetchAuthorization(),!1);if(r?.hasOwnProperty(\"member\"))for(const a of(r.member.products??[]).map(e=>e.id))if(e.includes(a)){o=!0;break}return o}getDataForCanvas(){var e=this.fetchMetadataKey(),t=this.fetchAuthorizationKey();let r=localStorage.getItem(e),o=localStorage.getItem(t)??null;o=o&&JSON.parse(o),r=r&&JSON.parse(r);var e=o?.hasOwnProperty(\"authorization\")&&o?.hasOwnProperty(\"member\"),t=o?.key?r?.logged_in_access_denied_redirect_path??\"#\":r?.login_redirect_path??\"#\",a=o?.member?.products??[];return{siteMeta:r,authorization:o,isLoggedIn:e,redirect_path:t,memberProducts:a}}isAccessDenied({regex_pattern:e,product_ids:t},r=[],o){e=new RegExp(e),t=!t.length||t.findIndex(e=>r.includes(e));return e.test(o)&&-1===t}assessPathForAccess(e,t=\"\"){var{siteMeta:r,redirect_path:o,memberProducts:a}=this.getDataForCanvas(),i=a.map(e=>e.id),n=e.startsWith(\"/\")?(\"\"+e).slice(1):e;for(const s of r?.protected_pages||[])if(this.isAccessDenied(s,i,n))return o?\"/\"+o:\"/access-denied\";return e+t}getRequestHeaders(e=!1){let t=!1;return e&&(t=this.fetchAuthorization()),{\"Content-Type\":\"application/json\",Accept:\"application/json\",\"x-secret-key\":window.variables.secretKey,\"x-site-key\":window.variables.siteKey,\"x-refresh-token\":window.variables.siteKey,...t&&{authorization:t?.authorization?.key,\"x-refresh-token\":t?.authorization.refresh}}}isGoogleRedirect(e=null){e=e??new URLSearchParams(window.location.search);return e?.has(\"code\")&&e?.has(\"state\")&&\"GOOGLE_LOGIN\"===e?.get(\"state\")}fetchGoogleCallback(e=null,t=null){const r=t??new URLSearchParams(window.location.search);fetch(this.apiURL+\"/oauth/members/callback/google\",{method:\"POST\",headers:this.getRequestHeaders(),body:JSON.stringify({code:r.get(\"code\"),...e&&{planIdOverride:e},...window?.Rewardful?.referral&&{rewardfulClientReferenceId:window.Rewardful.referral}})}).then(async e=>{var t=await e.json();if(200<e.status)throw new Error(t.errorMessage);return t}).then(e=>{r.delete(\"code\"),r.delete(\"state\");var t=new URL(window.location.href);t.search=r.toString(),history.replaceState(null,\"\",t.toString()),this.setAuthorization(e),setTimeout(()=>{window.open(e.redirect_url??\"#\",\"_self\")},500)})}refetchSiteMetadataTrigger=()=>{var e=new URL(window.location.origin);window.dispatchEvent(new CustomEvent(\"storage\",{detail:{key:e.host+\".reauth\",newValue:!0}}))};toggleBookmark(e,t,r=void 0){var o=this.fetchAuthorization();return this.fetchGeneric(\"/bookmarks\",\"POST\",{slug:t,collection:e,...void 0!==r&&{value:r}},o?.authorization?.key).then(this.refetchSiteMetadataTrigger)}fetchGeneric(e,t=\"GET\",r=null,o=null){return fetch(\"\"+this.apiURL+e,{method:t,headers:this.getRequestHeaders(o),...r&&{body:JSON.stringify(r)}}).then(async e=>{var t=await e.json();if(200<e.status)throw new Error(t.errorMessage);return t})}}const thentyAuth=new ThentySDK;\"undefined\"!=typeof window&&(window.thentyAuth=thentyAuth);export{thentyAuth};", "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 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=()=>{if(window?.history?.replaceState){const newUrl=window.location.pathname;window.history.replaceState(null,\"\",newUrl);}};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\":{\"textOptions\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Icon\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"FormState\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StandardButton\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useThenty\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Events\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useThentyForm\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"standardButtonPropertyControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stateStyleProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideElement\":{\"type\":\"reactComponent\",\"name\":\"HideElement\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"compileHoverStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HiddenComponentLabel\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"textOptionsToStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parsePadding\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"transitionProp\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSSO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchUserData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmptyState\":{\"type\":\"reactComponent\",\"name\":\"EmptyState\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasProducts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInstanceId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HIDDEN_CLASS_NAME\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"styleLayer\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ALIGNMENT_MAP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ThentyLogo\":{\"type\":\"reactComponent\",\"name\":\"ThentyLogo\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ThentyShared.map"],
  "mappings": "0LAAA,IAAMA,EAAS,+FAAqGC,EAAN,KAAe,CAAC,aAAa,CAAC,QAAQ,IAAI,sBAAsBD,CAAQ,EAAE,KAAK,OAAO,uBAAuB,CAAC,uBAAuB,CAAC,OAAOE,GAAQ,SAAS,IAAI,IAAIA,EAAO,SAAS,MAAM,EAAE,IAAI,KAAK,gBAAgB,CAAC,oBAAoB,CAAC,IAAIC,EAAE,aAAa,QAAQ,KAAK,sBAAsB,CAAC,EAAE,OAAOA,EAAE,KAAK,MAAMA,CAAC,EAAE,IAAI,CAAC,iBAAiBA,EA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,QAAQ,EAAE,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,aAAa,MAAM,WAAW,+BAA+BnB,CAAK,WAAW,UAAU,+BAA+B2D,EAAK,EAAEC,CAAW,aAAaD,EAAK,EAAEC,CAAW,aAAaD,EAAK,CAAC,mBAAmBA,EAAK,CAAC,KAAK,EAAE,SAASC,EAAYD,EAAK,GAAGE,GAAsB5E,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,MAAM0E,EAAKC,GAAa,EAAE,MAAMA,EAAY,OAAOA,EAAY,gBAAgB5D,EAAM,aAAa,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAQ,SAASmE,GAAajE,EAAQ,CAAC,GAAG,OAAOA,GAAU,SAAU,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,EAAmC,IAAMkE,EAAzBlE,EAAQ,MAAM,GAAG,EAA4B,IAAImE,GAAO,SAASA,EAAM,QAAQ,KAAK,EAAE,EAAE,EAAE,CAAC,EAAE,OAAOD,EAAa,OAAO,CAAC,IAAK,GAAE,IAAMnF,EAAEmF,EAAa,CAAC,EAAE,MAAM,CAACnF,EAAEA,EAAEA,EAAEA,CAAC,EAAE,IAAK,GAAE,OAAOmF,CAAa,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAE",
  "names": ["logStyle", "ThentySDK", "window", "e", "t", "a", "r", "o", "i", "n", "s", "thentyAuth", "FormState", "Events", "HIDDEN_CLASS_NAME", "CANVAS_HIDDEN_CLASS_NAME", "ALIGNMENT_MAP", "useThenty", "metaKey", "thentyAuth", "authKey", "authorization", "updateAuthorization", "ye", "siteMeta", "updateSiteMeta", "ue", "handleStorageChange", "event", "eventKey", "eventNewValue", "window", "HideElementComponent", "Y", "ref", "p", "HIDDEN_CLASS_NAME", "HideElement", "withCSS", "HiddenComponentLabel", "text", "subtext", "children", "otherProps", "RenderTarget", "u", "CANVAS_HIDDEN_CLASS_NAME", "Border", "border", "hoverState", "hover", "transition", "hoverBorder", "motion", "fillProp", "optional", "defaultValue", "hidden", "color", "colorA", "colorB", "ControlType", "props", "createBackground", "fill", "stateStyleProp", "defaultFill", "transitionProp", "compileHoverStyle", "hover", "whileHover", "createBackground", "EmptyState", "title", "subtitle", "u", "p", "ThentyLogo", "textOptionsToStyles", "transform", "decoration", "balance", "userSelect", "textOptions", "ControlType", "StandardButton", "Y", "children", "href", "newTab", "fill", "color", "radius", "padding", "shadows", "hover", "border", "bgBlur", "transition", "font", "gap", "clickEvent", "hoverEvent", "style", "onClick", "loadingSpinner", "loading", "props", "ref", "MotionTag", "motion", "buttonHover", "setButtonHover", "ye", "element", "createBackground", "compileHoverStyle", "ALIGNMENT_MAP", "LoadingSpinner", "Border", "Link", "standardButtonPropertyControls", "defaultColor", "defaultFill", "defaultHoverFill", "hasDefaultBorder", "defaultLoadingSpinnerLocation", "iconProps", "fillProp", "stateStyleProp", "transitionProp", "useThentyForm", "formRef", "pe", "formState", "setFormState", "formError", "setFormError", "ue", "onFormStateChange", "event", "FormState", "onError", "updateFormRef", "form", "state", "onEvent", "window", "fireFormEvent", "detail", "size", "strokeWidth", "rounded", "location", "pt", "pr", "pb", "pl", "parsePadding", "parsedValues", "value"]
}
