{"version":3,"file":"ValidatePhoneNumber.ZQnnmmDD.mjs","names":["React.useContext","React.useMemo","React.Fragment","sharedStyle.className","React.useRef","React.useId","className","RichText","sharedStyle.css","sharedStyle.fonts","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/9JW3VVAvhT0Bg2l1VSAS/xrzYkurJrhhvRi9rVvss/jeIIip8Yb.js","https:/framerusercontent.com/modules/edsROsui4C0ungxm4y0t/x7JmvvsKao9SNXQfRLfs/lzo0wJsdX.js","https:/framerusercontent.com/modules/Hp3KDDTLkYMuEa0qEYYv/JkhV0myU7vfMazwo6gAI/ValidatePhoneNumber.js"],"sourcesContent":["// Generated by Framer (6807895)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;Satoshi-medium\",\"FS;Satoshi-bold\",\"FS;Satoshi-bold italic\",\"FS;Satoshi-medium italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Satoshi\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/P2LQKHE6KA6ZP4AAGN72KDWMHH6ZH3TA/ZC32TK2P7FPS5GFTL46EU6KQJA24ZYDB/7AHDUZ4A7LFLVFUIFSARGIWCRQJHISQP.woff2\",weight:\"500\"},{family:\"Satoshi\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/LAFFD4SDUCDVQEXFPDC7C53EQ4ZELWQI/PXCT3G6LO6ICM5I3NTYENYPWJAECAWDD/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2\",weight:\"700\"},{family:\"Satoshi\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/CDEBEFT2R7XKNGXSBBLZGMY4MMHZG75P/HEVKDGQCYDZ7Z6CDVR2ZQGBCTUD6ZARH/BKWEE3VKGTFABE37K2DTH625VUSN2N35.woff2\",weight:\"700\"},{family:\"Satoshi\",source:\"fontshare\",style:\"italic\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/NID3I7RITWZSKXRCJGOCMP5NOADJK6IG/2HLHGD7OBTWCOHW64YXOE5KFXHU4KJHM/ZHME2QIRFR7UPJ47NLY27RCAFY44CKZJ.woff2\",weight:\"500\"}]}];export const css=['.framer-iQSLF .framer-styles-preset-swuwne:not(.rich-text-wrapper), .framer-iQSLF .framer-styles-preset-swuwne.rich-text-wrapper p { --framer-font-family: \"Satoshi\", \"Satoshi Placeholder\", sans-serif; --framer-font-family-bold: \"Satoshi\", \"Satoshi Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Satoshi\", \"Satoshi Placeholder\", sans-serif; --framer-font-family-italic: \"Satoshi\", \"Satoshi Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 15px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 500; --framer-letter-spacing: 1px; --framer-line-height: 120%; --framer-paragraph-spacing: 0px; --framer-text-alignment: left; --framer-text-color: var(--token-c5c4fdcb-9482-48bb-aedf-353188472aae, #dac5a7); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }'];export const className=\"framer-iQSLF\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c76752e)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/9JW3VVAvhT0Bg2l1VSAS/xrzYkurJrhhvRi9rVvss/jeIIip8Yb.js\";const MotionDivWithFX=withFX(motion.div);const enabledGestures={dMvoqIk4r:{hover:true,pressed:true}};const cycleOrder=[\"dMvoqIk4r\",\"w69Zs6EWW\",\"vCcD7DxMg\",\"ZjkEOWbQB\",\"mFA16Nswc\"];const serializationHash=\"framer-oguP4\";const variantClassNames={dMvoqIk4r:\"framer-v-1du08h4\",mFA16Nswc:\"framer-v-s2plp3\",vCcD7DxMg:\"framer-v-14st2pq\",w69Zs6EWW:\"framer-v-1jox74e\",ZjkEOWbQB:\"framer-v-vfol4f\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const transition2={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"dMvoqIk4r\",Disabled:\"vCcD7DxMg\",Error:\"mFA16Nswc\",Loading:\"w69Zs6EWW\",Success:\"ZjkEOWbQB\"};const getProps=({height,id,title,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"dMvoqIk4r\",VVdOm8Gws:title??props.VVdOm8Gws??\"Submit\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,VVdOm8Gws,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"dMvoqIk4r\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"w69Zs6EWW\")return false;return true;};const isDisplayed1=()=>{if(baseVariant===\"w69Zs6EWW\")return true;return false;};const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1du08h4\",className,classNames),\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"dMvoqIk4r\",ref:ref??ref1,style:{backgroundColor:\"var(--token-dca875b7-f855-43c1-bf73-97596e452266, rgb(203, 251, 69))\",borderBottomLeftRadius:500,borderBottomRightRadius:500,borderTopLeftRadius:500,borderTopRightRadius:500,opacity:1,...style},variants:{\"dMvoqIk4r-hover\":{opacity:1},\"dMvoqIk4r-pressed\":{opacity:1},mFA16Nswc:{backgroundColor:\"rgba(255, 34, 68, 0.15)\",opacity:1},vCcD7DxMg:{opacity:.5},ZjkEOWbQB:{opacity:1}},...addPropertyOverrides({\"dMvoqIk4r-hover\":{\"data-framer-name\":undefined},\"dMvoqIk4r-pressed\":{\"data-framer-name\":undefined},mFA16Nswc:{\"data-framer-name\":\"Error\"},vCcD7DxMg:{\"data-framer-name\":\"Disabled\"},w69Zs6EWW:{\"data-framer-name\":\"Loading\"},ZjkEOWbQB:{\"data-framer-name\":\"Success\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-swuwne\",\"data-styles-preset\":\"jeIIip8Yb\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-c5446a54-80de-4f79-b24b-55997bf1fe5e, rgb(255, 255, 255)))\"},children:\"Submit\"})}),className:\"framer-1q5c70k\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"uhuJYsj40\",style:{\"--extracted-r6o4lv\":\"var(--token-c5446a54-80de-4f79-b24b-55997bf1fe5e, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:VVdOm8Gws,variants:{mFA16Nswc:{\"--extracted-r6o4lv\":\"rgb(255, 34, 68)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({mFA16Nswc:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-swuwne\",\"data-styles-preset\":\"jeIIip8Yb\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 34, 68))\"},children:\"Something went wrong\"})}),text:undefined},ZjkEOWbQB:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-swuwne\",\"data-styles-preset\":\"jeIIip8Yb\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-c5446a54-80de-4f79-b24b-55997bf1fe5e, rgb(255, 255, 255)))\"},children:\"Thank you\"})}),text:undefined}},baseVariant,gestureVariant)}),isDisplayed1()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-w58x9l\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"a898g3zdL\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-m1zn2p\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"xH9gviqO1\",style:{background:\"conic-gradient(from 180deg at 50% 50%, rgb(68, 204, 255) 0deg, rgb(68, 204, 255) 360deg)\",backgroundColor:\"rgb(68, 204, 255)\",mask:\"none\",WebkitMask:\"none\"},variants:{w69Zs6EWW:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 7.208614864864882deg, rgb(255, 255, 255) 342deg)\",backgroundColor:\"rgba(0, 0, 0, 0)\",mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"}},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-ntsi6r\",\"data-framer-name\":\"Rounding\",layoutDependency:layoutDependency,layoutId:\"PGBYKXPsH\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1},transformTemplate:transformTemplate1})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-oguP4.framer-xmfggj, .framer-oguP4 .framer-xmfggj { display: block; }\",\".framer-oguP4.framer-1du08h4 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: center; overflow: visible; padding: 18px 30px 18px 30px; position: relative; width: min-content; }\",\".framer-oguP4 .framer-1q5c70k { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-oguP4 .framer-w58x9l { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); overflow: hidden; position: relative; width: 20px; }\",\".framer-oguP4 .framer-m1zn2p { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-oguP4 .framer-ntsi6r { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 2px); left: 50%; overflow: visible; position: absolute; top: 0px; width: 2px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-oguP4.framer-1du08h4 { gap: 0px; } .framer-oguP4.framer-1du08h4 > * { margin: 0px; margin-left: calc(8px / 2); margin-right: calc(8px / 2); } .framer-oguP4.framer-1du08h4 > :first-child { margin-left: 0px; } .framer-oguP4.framer-1du08h4 > :last-child { margin-right: 0px; } }\",\".framer-oguP4.framer-v-1jox74e.framer-1du08h4, .framer-oguP4.framer-v-14st2pq.framer-1du08h4, .framer-oguP4.framer-v-vfol4f.framer-1du08h4, .framer-oguP4.framer-v-s2plp3.framer-1du08h4 { cursor: unset; }\",\".framer-oguP4.framer-v-1jox74e .framer-m1zn2p { overflow: hidden; }\",\".framer-oguP4.framer-v-s2plp3 .framer-1q5c70k { order: 0; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 54\n * @framerIntrinsicWidth 120\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"w69Zs6EWW\":{\"layout\":[\"auto\",\"auto\"]},\"vCcD7DxMg\":{\"layout\":[\"auto\",\"auto\"]},\"ZjkEOWbQB\":{\"layout\":[\"auto\",\"auto\"]},\"mFA16Nswc\":{\"layout\":[\"auto\",\"auto\"]},\"LsHXwS0Wr\":{\"layout\":[\"auto\",\"auto\"]},\"qQXcoWCWo\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"VVdOm8Gws\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerlzo0wJsdX=withCSS(Component,css,\"framer-oguP4\");export default Framerlzo0wJsdX;Framerlzo0wJsdX.displayName=\"Components/Button Form\";Framerlzo0wJsdX.defaultProps={height:54,width:120};addPropertyControls(Framerlzo0wJsdX,{variant:{options:[\"dMvoqIk4r\",\"w69Zs6EWW\",\"vCcD7DxMg\",\"ZjkEOWbQB\",\"mFA16Nswc\"],optionTitles:[\"Default\",\"Loading\",\"Disabled\",\"Success\",\"Error\"],title:\"Variant\",type:ControlType.Enum},VVdOm8Gws:{defaultValue:\"Submit\",displayTextArea:false,title:\"Title\",type:ControlType.String}});addFonts(Framerlzo0wJsdX,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerlzo0wJsdX\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"w69Zs6EWW\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"vCcD7DxMg\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"ZjkEOWbQB\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"mFA16Nswc\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"LsHXwS0Wr\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"qQXcoWCWo\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"54\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"VVdOm8Gws\\\":\\\"title\\\"}\",\"framerIntrinsicWidth\":\"120\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./lzo0wJsdX.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef}from\"react\";const ATTRIBUTION_FIELD_NAMES=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_content\",\"utm_term\",\"utm_id\",\"fbclid\",\"gclid\",\"ttclid\",\"msclkid\",\"first_landing_page\",\"current_page\",\"referrer\",\"attribution_captured_at\"];const QUERY_PARAM_KEYS=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_content\",\"utm_term\",\"utm_id\",\"fbclid\",\"gclid\",\"ttclid\",\"msclkid\"];const ATTRIBUTION_STORAGE_KEY=\"framer_attribution_fields\";export function ValidatePhoneNumber(Component){return /*#__PURE__*/forwardRef(function ValidatePhoneNumberOverride(props,ref){const formRef=useRef(null);const errorMessage=typeof props?.phoneErrorMessage===\"string\"&&props.phoneErrorMessage.trim().length>0?props.phoneErrorMessage:\"Lūdzu, ievadiet derīgu tālruņa numuru.\";const setRefs=useCallback(node=>{formRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const findPhoneInput=useCallback(form=>{const namedInputs=Array.from(form.querySelectorAll(\"input[name]\"));const byName=namedInputs.find(input=>input.getAttribute(\"name\")?.trim().toLowerCase()===\"phone\");if(byName)return byName;return form.querySelector('input[type=\"tel\"]');},[]);const normalizePhoneValue=useCallback(value=>{const trimmed=value.replace(/[^\\d+\\s\\-().]/g,\"\");const hasLeadingPlus=trimmed.startsWith(\"+\");const withoutPlus=trimmed.replace(/\\+/g,\"\");return hasLeadingPlus?`+${withoutPlus}`:withoutPlus;},[]);const applyPhoneValidity=useCallback(input=>{const normalized=normalizePhoneValue(input.value);if(input.value!==normalized){input.value=normalized;}const value=normalized.trim();if(value.length===0){input.setCustomValidity(\"\");return true;}const hasLetters=/[a-z]/i.test(value);const hasInvalidChars=!/^\\+?[\\d\\s\\-().]+$/.test(value);const plusCount=(value.match(/\\+/g)||[]).length;const plusNotLeading=plusCount>0&&!value.startsWith(\"+\");const digitsOnly=value.replace(/\\D/g,\"\");const hasRealisticDigitCount=digitsOnly.length>=8&&digitsOnly.length<=15;const isValid=!hasLetters&&!hasInvalidChars&&plusCount<=1&&!plusNotLeading&&hasRealisticDigitCount;input.setCustomValidity(isValid?\"\":errorMessage);return isValid;},[errorMessage,normalizePhoneValue]);useEffect(()=>{if(typeof window===\"undefined\")return;const form=formRef.current;if(!form)return;const phoneInput=findPhoneInput(form);if(!phoneInput)return;phoneInput.setAttribute(\"inputmode\",\"tel\");phoneInput.setAttribute(\"autocomplete\",\"tel\");const handleValidate=()=>{applyPhoneValidity(phoneInput);};const handleSubmit=event=>{const isValid=applyPhoneValidity(phoneInput);if(!isValid){event.preventDefault();phoneInput.reportValidity();phoneInput.focus();}};phoneInput.addEventListener(\"input\",handleValidate);phoneInput.addEventListener(\"blur\",handleValidate);form.addEventListener(\"submit\",handleSubmit);return()=>{phoneInput.removeEventListener(\"input\",handleValidate);phoneInput.removeEventListener(\"blur\",handleValidate);form.removeEventListener(\"submit\",handleSubmit);};},[applyPhoneValidity,findPhoneInput]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props});});}export function CaptureAttributionFields(Component){return /*#__PURE__*/forwardRef(function CaptureAttributionFieldsOverride(props,ref){const formRef=useRef(null);const setRefs=useCallback(node=>{formRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const readStoredAttribution=useCallback(()=>{if(typeof window===\"undefined\")return{};try{const raw=window.localStorage.getItem(ATTRIBUTION_STORAGE_KEY);if(!raw)return{};const parsed=JSON.parse(raw);if(!parsed||typeof parsed!==\"object\")return{};const result={};for(const key of ATTRIBUTION_FIELD_NAMES){const value=parsed[key];if(typeof value===\"string\"&&value.length>0){result[key]=value;}}return result;}catch{return{};}},[]);const writeStoredAttribution=useCallback(values=>{if(typeof window===\"undefined\")return;try{window.localStorage.setItem(ATTRIBUTION_STORAGE_KEY,JSON.stringify(values));}catch{// Ignore write errors (private mode / blocked storage).\n}},[]);const captureAttribution=useCallback(()=>{if(typeof window===\"undefined\")return{};const existing=readStoredAttribution();const next={...existing};let search=\"\";let href=\"\";let referrer=\"\";if(typeof window!==\"undefined\"){search=window.location.search;href=window.location.href;}if(typeof document!==\"undefined\"){referrer=document.referrer||\"\";}const params=new URLSearchParams(search);for(const key of QUERY_PARAM_KEYS){const value=params.get(key)?.trim();if(value){next[key]=value;}}if(!next.first_landing_page&&href){next.first_landing_page=href;}if(href){next.current_page=href;}if(!next.referrer&&referrer){next.referrer=referrer;}if(!next.attribution_captured_at){next.attribution_captured_at=new Date().toISOString();}writeStoredAttribution(next);return next;},[readStoredAttribution,writeStoredAttribution]);const fillAttributionFields=useCallback(form=>{if(typeof document===\"undefined\")return;if(!form)return;const values=readStoredAttribution();const fields=form.querySelectorAll(\"input[name], select[name], textarea[name]\");fields.forEach(field=>{const name=field.getAttribute(\"name\")?.trim();if(!name)return;if(!ATTRIBUTION_FIELD_NAMES.includes(name))return;const value=values[name];if(typeof value!==\"string\")return;if(field.value===value)return;field.value=value;field.dispatchEvent(new Event(\"input\",{bubbles:true}));field.dispatchEvent(new Event(\"change\",{bubbles:true}));});},[readStoredAttribution]);useEffect(()=>{if(typeof window===\"undefined\")return;captureAttribution();fillAttributionFields(formRef.current);const form=formRef.current;if(!form)return;const handleInteraction=()=>{captureAttribution();fillAttributionFields(form);};const handleSubmitCapture=()=>{captureAttribution();fillAttributionFields(form);};form.addEventListener(\"focusin\",handleInteraction);form.addEventListener(\"click\",handleInteraction);form.addEventListener(\"submit\",handleSubmitCapture,true);return()=>{form.removeEventListener(\"focusin\",handleInteraction);form.removeEventListener(\"click\",handleInteraction);form.removeEventListener(\"submit\",handleSubmitCapture,true);};},[captureAttribution,fillAttributionFields]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props});});}export function ValidatePhoneNumberAndCaptureAttribution(Component){return CaptureAttributionFields(ValidatePhoneNumber(Component));}\nexport const __FramerMetadata__ = {\"exports\":{\"ValidatePhoneNumber\":{\"type\":\"reactHoc\",\"name\":\"ValidatePhoneNumber\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ValidatePhoneNumberAndCaptureAttribution\":{\"type\":\"reactHoc\",\"name\":\"ValidatePhoneNumberAndCaptureAttribution\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CaptureAttributionFields\":{\"type\":\"reactHoc\",\"name\":\"CaptureAttributionFields\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ValidatePhoneNumber.map"],"mappings":"sZAC8B,GAAU,UAAU,CAAC,oBAAoB,kBAAkB,yBAAyB,2BAA2B,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,YAAY,MAAM,SAAS,IAAI,yKAAyK,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,ooCAAooC,CAAc,EAAU,kBCAp/C,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EA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