{"version":3,"file":"PhoneNumberInput.gXaRrpCe.mjs","names":["_Fragment","useState","useRef","__esmMin","ce","c","init_jsx_runtime","init_npm_react_18_3_1","p","l","de","_e","motion","init_framer_motion_DhsWWWsN","addPropertyControls","RenderTarget","ControlType","init_framer_D1IzEvwH","init_FramerFormsShared","Icon","iconProp","HiddenInput","createBackground","Border","parsePadding","countryEmojis","getPhoneFormatByCountry","dropdownProp","countryDialCodes","init_Countries","init_DropdownUtilities","init_CountryDropdown","getCountryByDialCode","getSharedStyleControls","countries","getDialCodeByCountry","CountryDropdown","formatPhoneNumber","phoneNumber","index","cutOffIndex","result","format","offset","replaceXWithNumbers","count","input","number","unformatValue","value","isLastCharacterANumber","str","lastChar","countXCharacters","matches","Divider","width","inset","color","CountryCodeSelector","pt","pr","pb","pl","padding","tl","tr","br","bl","radius","bwt","bwr","bwb","bwl","border","fill","countryCodeFocused","invalid","shadows","ccConnected","px","bgBlur","countryDropdownOpen","countryCodeRef","onCountryCodeClick","onCountryCodeFocus","onCountryCodeBlur","selectedCountryEmoji","font","countryCode","countryCodeOptions","phoneNumberFocused","PhoneNumberInputField","phoneNumberInputRef","formattedValue","onPhoneNumberChange","onPhoneNumberFocus","onPhoneNumberBlur","onPhoneNumberKeyDown","PhoneNumberInput","props","id","useInstanceId","isCanvas","hasCC","defaultCountry","defaultCountryIndex","defaultDialCode","selectedCountry","setSelectedCountry","setCountryCode","setPhoneNumber","setCountryDropdownOpen","setCountryCodeFocused","setPhoneNumberFocused","setInvalid","searchQuery","setSearchQuery","dialCodeManuallySet","persistenceInitialized","isRestoringFromPersistence","dropdownRef","searchInputRef","phoneFormat","maxDigits","isComplete","filteredCountries","searchLower","country","selectedCountryIndex","timeoutId","formElement","countryInputs","handleCountryChange","countryValue","event","dialCode","handleClickOutside","target","isOutsideDropdown","isOutsideCountryCode","isPhoneInput","unformatted","currentFormatted","onCountrySelect","willBeOpen","relatedTarget","onSetValueEvent","valueStr","match","phonePart","restoredMaxDigits","init_PhoneNumberInput","a","b","d"],"sources":["https:/framerusercontent.com/modules/IQzDFpniaD3AmKydBXP4/QvPA4fCy9V3B9uZeWxK0/PhoneNumberInput.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useState,useEffect,useRef}from\"react\";import{motion}from\"framer-motion\";import{Border,createBackground,parsePadding,useInstanceId,HiddenInput,Icon,iconProp}from\"https://framerusercontent.com/modules/DwWOdDzQZGCuvkNlbUjZ/hMz2wp3CWZkNwPJFGPgQ/FramerFormsShared.js\";import{countries,countryEmojis,countryDialCodes,getDialCodeByCountry,getPhoneFormatByCountry,getCountryByDialCode}from\"https://framerusercontent.com/modules/1LECUrurTpenvfDn1ShM/nL9gmnXABjh04Nl8aaL8/Countries.js\";import{CountryDropdown}from\"https://framerusercontent.com/modules/SRHLnHriy9CtZfYf0KJF/l79PAJhiVgI4zvdb2YN1/CountryDropdown.js\";import{dropdownProp,getSharedStyleControls}from\"https://framerusercontent.com/modules/PwJ4k4IqmEWPlM2ZI4Eu/Ow3xyrL3YR7stkg8VL2K/DropdownUtilities.js\";// ============================================================================\n// UTILITY FUNCTIONS\n// ============================================================================\nfunction formatPhoneNumber(phoneNumber,format){if(!phoneNumber)return\"\";let index=0;let cutOffIndex=null;const result=format.replace(/[Xx]/g,(match,offset)=>{if(index<phoneNumber.length){return phoneNumber[index++];}else{if(phoneNumber.length<10&&cutOffIndex===null){cutOffIndex=offset;}return\"\";}});return cutOffIndex!==null?result.slice(0,cutOffIndex):result;}function replaceXWithNumbers(input){let count=1;return input.replace(/[Xx]/g,()=>{const number=count%10;count++;return String(number);});}function unformatValue(value){return value.replace(/\\D/g,\"\");}function isLastCharacterANumber(str){if(str.length===0)return false;const lastChar=str[str.length-1];return!isNaN(Number(lastChar))&&!isNaN(parseFloat(lastChar));}function countXCharacters(str){const lowercaseStr=str.toLowerCase();const xRegex=/x/g;const matches=lowercaseStr.match(xRegex);return matches?matches.length:0;}const px=(a,b,c,d)=>`${a}px ${b}px ${c}px ${d}px`;function Divider({isVisible,width,color,inset,transition}){return /*#__PURE__*/_jsx(motion.div,{animate:{opacity:isVisible?0:1},style:{position:\"absolute\",opacity:1,width,right:-width/2,top:inset,bottom:inset,backgroundColor:color,zIndex:1e3},initial:false,transition:transition});}function CountryCodeSelector({countryCodeRef,selectedCountryEmoji,countryCode,isCanvas,showDropdown,countryCodeFocused,countryDropdownOpen,onCountryCodeClick,onCountryCodeFocus,onCountryCodeBlur,countryCodeOptions,ccConnected,padding,color,font,transition,border,invalid,phoneNumberFocused,radius,dropdownRef,searchInputRef,searchQuery,onSearchChange,filteredCountries,selectedCountry,onCountrySelect,containerId,fill,shadows,bgBlur,placeholderColor,dropdownStyle}){const[pt,pr,pb,pl]=parsePadding(padding);const[tl,tr,br,bl]=parsePadding(radius);const[bwt,bwr,bwb,bwl]=parsePadding(border?.width);return /*#__PURE__*/_jsxs(motion.div,{animate:{...createBackground(fill,null,countryCodeFocused,invalid),boxShadow:invalid&&shadows?.invalid||countryCodeFocused&&shadows?.focus||shadows?.default},style:{gap:8,position:\"relative\",borderRadius:ccConnected?px(tl,0,0,bl):radius},initial:false,transition:transition,children:[bgBlur!==0&&bgBlur!==undefined&&/*#__PURE__*/_jsx(\"div\",{style:{zIndex:-1,position:\"absolute\",inset:0,backdropFilter:`blur(${bgBlur}px)`}}),/*#__PURE__*/_jsx(CountryDropdown,{isOpen:countryDropdownOpen,dropdownRef:dropdownRef,searchInputRef:searchInputRef,searchQuery:searchQuery,onSearchChange:onSearchChange,filteredCountries:filteredCountries,selectedCountry:selectedCountry,onCountrySelect:onCountrySelect,containerId:containerId,fill:fill,color:color,font:font,isCanvas:isCanvas,showDropdown:showDropdown,showFlags:true,showDialCodes:true,right:ccConnected?0:undefined,padding:padding,borderRadius:radius,placeholderColor:placeholderColor,bgBlur:bgBlur,dropdownStyle:dropdownStyle}),/*#__PURE__*/_jsxs(\"div\",{ref:countryCodeRef,onClick:onCountryCodeClick,onFocus:onCountryCodeFocus,onBlur:onCountryCodeBlur,tabIndex:0,style:{display:\"flex\",alignItems:\"center\",gap:4,padding:px(pt,pr,pb,pl),cursor:\"pointer\",width:\"fitContent\",height:\"100%\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:\"18px\",lineHeight:1},children:selectedCountryEmoji}),/*#__PURE__*/_jsxs(\"span\",{style:{color,...font,width:\"fitContent\",whiteSpace:\"nowrap\"},children:[\"+\",countryCode]}),countryCodeOptions.icon&&/*#__PURE__*/_jsx(Icon,{...countryCodeOptions.icon,style:{transform:countryDropdownOpen?\"rotate(180deg)\":\"rotate(0deg)\",transition:\"transform 0.2s\"},defaultImage:`url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path d=\"M 3.5 6 L 8 10.5 L 12.5 6\" fill=\"transparent\" stroke-width=\"1.5\" stroke=\"rgb(153, 153, 153)\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>')`}),countryCodeOptions?.style===\"divider\"&&/*#__PURE__*/_jsx(Divider,{isVisible:!!(border?.colorFocus&&(countryCodeFocused||phoneNumberFocused)),width:countryCodeOptions.divider.width,color:countryCodeOptions.divider.color,inset:countryCodeOptions.divider.inset,transition:transition})]}),border&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Border,{...border,borderColor:invalid&&border?.colorInvalid||border.color,width:ccConnected?px(bwt,0,bwb,bwl):border.width,opacity:countryCodeFocused&&border?.colorFocus?0:1,transition:transition}),border?.colorFocus&&/*#__PURE__*/_jsx(Border,{...border,borderColor:border.colorFocus,width:border.width,opacity:countryCodeFocused?1:0,transition:transition})]})]});}function PhoneNumberInputField({phoneNumberInputRef,autoFocus,formattedValue,onPhoneNumberChange,onPhoneNumberFocus,onPhoneNumberBlur,onPhoneNumberKeyDown,placeholder,padding,color,font,ccConnected,phoneNumberFocused,invalid,border,transition,fill,shadows,bgBlur,radius}){const[tr,br]=parsePadding(radius);const[bwt,bwr,bwb]=parsePadding(border?.width);return /*#__PURE__*/_jsxs(motion.div,{animate:{...createBackground(fill,null,phoneNumberFocused,invalid),boxShadow:invalid&&shadows?.invalid||phoneNumberFocused&&shadows?.focus||shadows?.default},style:{position:\"relative\",borderRadius:ccConnected?px(0,tr,br,0):radius,flex:1,backdropFilter:bgBlur?`blur(${bgBlur}px)`:undefined},initial:false,transition:transition,children:[/*#__PURE__*/_jsx(\"input\",{ref:phoneNumberInputRef,autoFocus:autoFocus,value:formattedValue,onChange:onPhoneNumberChange,onFocus:onPhoneNumberFocus,onBlur:onPhoneNumberBlur,onKeyDown:onPhoneNumberKeyDown,placeholder:placeholder,style:{background:\"none\",border:\"none\",color,margin:0,display:\"block\",padding,width:\"100%\",height:\"100%\",textOverflow:\"ellipsis\",...font},\"data-framerforms-no-prefill\":true}),border&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Border,{...border,borderColor:invalid&&border?.colorInvalid||border.color,width:ccConnected?px(bwt,bwr,bwb,0):border.width,opacity:phoneNumberFocused&&border?.colorFocus?0:1,transition:transition}),border?.colorFocus&&/*#__PURE__*/_jsx(Border,{...border,borderColor:border.colorFocus,width:border.width,opacity:phoneNumberFocused?1:0,transition:transition})]})]});}// ============================================================================\n// MAIN COMPONENT\n// ============================================================================\n/**\n * @framerSupportedLayoutWidth fixed\n * @framerIntrinsicWidth 400\n * @framerDisableUnlink\n */export default function PhoneNumberInput(props){const{countryCodeOptions,border,shadows}=props;const id=useInstanceId();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const hasCC=!!countryCodeOptions;const ccConnected=hasCC&&countryCodeOptions?.style!==\"split\";// Get default country\nconst getDefaultCountry=()=>{if(countryCodeOptions?.defaultCountry){const index=countries.indexOf(countryCodeOptions.defaultCountry);if(index>=0)return countries[index];}return\"United States\";};const defaultCountry=getDefaultCountry();const defaultCountryIndex=countries.indexOf(defaultCountry);const defaultDialCode=countryDialCodes[defaultCountryIndex>=0?defaultCountryIndex:countries.indexOf(\"United States\")];// State\nconst[selectedCountry,setSelectedCountry]=useState(defaultCountry);const[countryCode,setCountryCode]=useState(defaultDialCode);const[phoneNumber,setPhoneNumber]=useState(\"\");const[countryDropdownOpen,setCountryDropdownOpen]=useState(false);const[countryCodeFocused,setCountryCodeFocused]=useState(false);const[phoneNumberFocused,setPhoneNumberFocused]=useState(false);const[invalid,setInvalid]=useState(false);const[searchQuery,setSearchQuery]=useState(\"\");// Use refs for flags that need to be synchronous (not batched like state)\n// to avoid race conditions with event listeners\nconst dialCodeManuallySet=useRef(false);const persistenceInitialized=useRef(false);const isRestoringFromPersistence=useRef(false);// Refs\nconst countryCodeRef=useRef(null);const phoneNumberInputRef=useRef(null);const dropdownRef=useRef(null);const searchInputRef=useRef(null);// Get phone format\nconst phoneFormat=props.formatting===\"auto\"?getPhoneFormatByCountry(selectedCountry):props.format===\"custom\"?props.customFormat===\"\"?\"XXXXXXXXXX\":props.customFormat:props.format;const maxDigits=countXCharacters(phoneFormat);const formattedValue=formatPhoneNumber(phoneNumber,phoneFormat);const isComplete=phoneNumber.length===maxDigits;// Filter countries based on search query\nconst filteredCountries=searchQuery?countries.filter((country,index)=>{const searchLower=searchQuery.toLowerCase();return country.toLowerCase().includes(searchLower)||countryDialCodes[index].includes(searchQuery)||(countryEmojis[index]+\" \"+country).toLowerCase().includes(searchLower);}):countries;const selectedCountryIndex=countries.indexOf(selectedCountry);const selectedCountryEmoji=selectedCountryIndex>=0?countryEmojis[selectedCountryIndex]:\"🇺🇸\";// Auto-sync with Country field earlier in the form\n// Only pre-fills if dial code hasn't been manually set and phone number is empty\n// Delayed to allow form persistence to initialize first\nuseEffect(()=>{if(!hasCC)return;// Wait for form persistence to have a chance to restore values\n// before enabling auto-sync\nconst timeoutId=setTimeout(()=>{persistenceInitialized.current=true;},100);const formElement=countryCodeRef.current?.closest(\"form\");if(!formElement)return;// Listen for both select and input elements with country-related names\n// CountryInput uses a hidden input, not a select\nconst countryInputs=formElement.querySelectorAll('select[name*=\"Country\" i], select[name*=\"country\" i], input[name*=\"Country\" i], input[name*=\"country\" i]');const handleCountryChange=event=>{// Only auto-sync if:\n// 1. Persistence has initialized (avoid race with form restoration)\n// 2. We're not currently restoring from persistence\n// 3. Phone number is empty\n// 4. Dial code hasn't been manually set\nif(persistenceInitialized.current&&!isRestoringFromPersistence.current&&phoneNumber.length===0&&!dialCodeManuallySet.current){const target=event.target;const countryValue=target.value;if(countryValue&&countries.includes(countryValue)){setSelectedCountry(countryValue);const dialCode=getDialCodeByCountry(countryValue);setCountryCode(dialCode);}}};countryInputs.forEach(input=>{input.addEventListener(\"change\",handleCountryChange);});return()=>{clearTimeout(timeoutId);countryInputs.forEach(input=>{input.removeEventListener(\"change\",handleCountryChange);});};},[hasCC,phoneNumber]);// Close dropdown when clicking outside\nuseEffect(()=>{const handleClickOutside=event=>{const target=event.target;const isOutsideDropdown=dropdownRef.current&&!dropdownRef.current.contains(target);const isOutsideCountryCode=countryCodeRef.current&&!countryCodeRef.current.contains(target);const isPhoneInput=phoneNumberInputRef.current&&phoneNumberInputRef.current.contains(target);if(isOutsideDropdown&&isOutsideCountryCode||isPhoneInput){setCountryDropdownOpen(false);setSearchQuery(\"\");setCountryCodeFocused(false);countryCodeRef.current?.blur();}};if(countryDropdownOpen||countryCodeFocused){document.addEventListener(\"mousedown\",handleClickOutside);return()=>{document.removeEventListener(\"mousedown\",handleClickOutside);};}},[countryDropdownOpen,countryCodeFocused]);// Focus search input when dropdown opens\nuseEffect(()=>{if(countryDropdownOpen&&searchInputRef.current){setTimeout(()=>{searchInputRef.current?.focus();},100);}},[countryDropdownOpen]);useEffect(()=>{if(invalid){props.invalidEvent?.();}},[invalid]);// Event handlers\nfunction onPhoneNumberChange(event){const unformatted=unformatValue(event.target.value).substring(0,maxDigits);const currentFormatted=formatPhoneNumber(phoneNumber,phoneFormat);if(!isLastCharacterANumber(currentFormatted)&&event.target.value.length<currentFormatted.length){setPhoneNumber(unformatted.slice(0,-1));}else{setPhoneNumber(unformatted);}}function onCountrySelect(country){setSelectedCountry(country);const dialCode=getDialCodeByCountry(country);setCountryCode(dialCode);// Mark dial code as manually set when user selects from dropdown\ndialCodeManuallySet.current=true;setCountryDropdownOpen(false);setSearchQuery(\"\");setCountryCodeFocused(false);countryCodeRef.current?.blur();setTimeout(()=>{phoneNumberInputRef.current?.focus();},10);}function onCountryCodeClick(){if(!hasCC)return;const willBeOpen=!countryDropdownOpen;setCountryDropdownOpen(willBeOpen);setCountryCodeFocused(willBeOpen);if(invalid){setInvalid(false);}if(willBeOpen){props.focusEvent?.();}else{setTimeout(()=>{setCountryCodeFocused(false);countryCodeRef.current?.blur();},100);}}function onCountryCodeFocus(){setCountryCodeFocused(true);if(invalid){setInvalid(false);}props.focusEvent?.();}function onPhoneNumberKeyDown(event){if(hasCC&&phoneNumber===\"\"){if(event.key===\"Backspace\"){countryCodeRef.current?.focus();}if(event.key===\"ArrowLeft\"){countryCodeRef.current?.focus();event.preventDefault();}}}function onCountryCodeBlur(event){const relatedTarget=event.relatedTarget;if(dropdownRef.current?.contains(relatedTarget)||searchInputRef.current===relatedTarget){return;}if(!countryDropdownOpen){setCountryCodeFocused(false);setSearchQuery(\"\");props.blurEvent?.();}}function onPhoneNumberFocus(){setPhoneNumberFocused(true);setCountryCodeFocused(false);props.focusEvent?.();if(invalid){setInvalid(false);}}function onPhoneNumberBlur(){setPhoneNumberFocused(false);props.blurEvent?.();}// Handle value restoration from FormPersistence\nfunction onSetValueEvent(event){// Mark that we're restoring from persistence to prevent auto-sync from interfering\nisRestoringFromPersistence.current=true;// Mark persistence as initialized immediately\npersistenceInitialized.current=true;const value=event.detail;if(!value){setSelectedCountry(defaultCountry);setCountryCode(defaultDialCode);setPhoneNumber(\"\");dialCodeManuallySet.current=false// Reset when clearing\n;// Re-enable auto-sync after a short delay\nsetTimeout(()=>{isRestoringFromPersistence.current=false;},200);return;}const valueStr=String(value);if(valueStr.startsWith(\"+\")){const match=valueStr.match(/^\\+(\\d+)(?:\\s+(.*))?$/);if(match){const dialCode=match[1];const phonePart=match[2]||\"\";// If dial code matches default and there's no phone number, use default country\n// This prevents issues where dial code \"1\" could map to Canada instead of United States\nif(dialCode===defaultDialCode&&!phonePart){setSelectedCountry(defaultCountry);setCountryCode(defaultDialCode);setPhoneNumber(\"\");dialCodeManuallySet.current=false// Not manually set if using default\n;// Re-enable auto-sync after a short delay\nsetTimeout(()=>{isRestoringFromPersistence.current=false;},200);return;}// For dial code \"1\" with no phone number, prefer \"United States\" over \"Canada\"\n// (since dial code \"1\" is shared by multiple countries)\nlet country=getCountryByDialCode(dialCode);if(dialCode===\"1\"&&!phonePart&&country===\"Canada\"){country=\"United States\";}if(country){setSelectedCountry(country);setCountryCode(dialCode);// Mark as manually set since we're restoring a persisted value\ndialCodeManuallySet.current=true;const restoredFormat=props.formatting===\"auto\"?getPhoneFormatByCountry(country):props.format===\"custom\"?props.customFormat===\"\"?\"XXXXXXXXXX\":props.customFormat:props.format;const restoredMaxDigits=countXCharacters(restoredFormat);setPhoneNumber(unformatValue(phonePart).substring(0,restoredMaxDigits));}else{setCountryCode(dialCode);// Mark as manually set since we're restoring a persisted value\ndialCodeManuallySet.current=true;setPhoneNumber(unformatValue(phonePart).substring(0,maxDigits));}}}else{setPhoneNumber(unformatValue(valueStr).substring(0,maxDigits));}// Re-enable auto-sync after restoration is complete\n// Use a delay to ensure all form fields have been restored\nsetTimeout(()=>{isRestoringFromPersistence.current=false;},200);}return /*#__PURE__*/_jsxs(\"div\",{\"data-framerforms\":true,id:id,style:{display:\"flex\",flexDirection:\"row\",gap:countryCodeOptions?.style===\"split\"?countryCodeOptions.gap:0,...props.style},children:[/*#__PURE__*/_jsx(HiddenInput,{name:props.name,required:props.required,value:props.required&&!isComplete?\"\":hasCC?phoneNumber.length>0?`+${countryCode} ${phoneNumber}`:`+${countryCode}`:phoneNumber,setInvalid:setInvalid,onSetValueEvent:onSetValueEvent}),hasCC&&/*#__PURE__*/_jsx(CountryCodeSelector,{isCanvas:isCanvas,showDropdown:props.showDropdown,countryCodeRef:countryCodeRef,selectedCountryEmoji:selectedCountryEmoji,countryCode:countryCode,countryCodeFocused:countryCodeFocused,countryDropdownOpen:countryDropdownOpen,onCountryCodeClick:onCountryCodeClick,onCountryCodeFocus:onCountryCodeFocus,onCountryCodeBlur:onCountryCodeBlur,countryCodeOptions:countryCodeOptions,ccConnected:ccConnected,padding:props.padding,color:props.color,font:props.font,transition:props.transition,border:border,invalid:invalid,phoneNumberFocused:phoneNumberFocused,radius:props.radius,dropdownRef:dropdownRef,searchInputRef:searchInputRef,searchQuery:searchQuery,onSearchChange:setSearchQuery,filteredCountries:filteredCountries,selectedCountry:selectedCountry,onCountrySelect:onCountrySelect,containerId:id,fill:props.fill,shadows:shadows,bgBlur:props.bgBlur,placeholderColor:props.placeholderColor,dropdownStyle:props.dropdown}),/*#__PURE__*/_jsx(PhoneNumberInputField,{phoneNumberInputRef:phoneNumberInputRef,autoFocus:props.autoFocus,formattedValue:formattedValue,onPhoneNumberChange:onPhoneNumberChange,onPhoneNumberFocus:onPhoneNumberFocus,onPhoneNumberBlur:onPhoneNumberBlur,onPhoneNumberKeyDown:onPhoneNumberKeyDown,placeholder:props.placeholder||replaceXWithNumbers(phoneFormat),padding:props.padding,color:props.color,font:props.font,ccConnected:ccConnected,phoneNumberFocused:phoneNumberFocused,invalid:invalid,border:border,transition:props.transition,fill:props.fill,shadows:shadows,bgBlur:props.bgBlur,radius:props.radius}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`\n                    #${id} input::placeholder {\n                        color: ${props.placeholderColor};\n                    }\n                    #${id} input:focus {\n                        outline: none;\n                    }`}})]});}PhoneNumberInput.displayName=\"Phone Number Input\";// ============================================================================\n// PROPERTY CONTROLS\n// ============================================================================\naddPropertyControls(PhoneNumberInput,{name:{type:ControlType.String,defaultValue:\"Phone Number\"},showDropdown:{type:ControlType.Boolean,defaultValue:false,title:\"Dropdown\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},dropdown:dropdownProp(),required:{type:ControlType.Boolean,defaultValue:false},autoFocus:{type:ControlType.Boolean,defaultValue:false,title:\"Auto-Focus\"},countryCodeOptions:{type:ControlType.Object,optional:true,defaultValue:{defaultCountry:\"United States\",width:120},title:\"Country Code\",controls:{defaultCountry:{title:\"Default Country\",type:ControlType.Enum,defaultValue:\"United States\",options:countries,optionTitles:countries},width:{type:ControlType.Number,defaultValue:120,min:80,step:1,title:\"Width\"},style:{type:ControlType.Enum,defaultValue:\"divider\",options:[\"connected\",\"divider\",\"split\"],optionTitles:[\"Connected\",\"Divider\",\"Split\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},divider:{type:ControlType.Object,hidden:props=>props.style!==\"divider\",controls:{color:{type:ControlType.Color,defaultValue:\"rgba(136, 136, 136, 0.15)\"},width:{type:ControlType.Number,defaultValue:1,min:1,step:1,displayStepper:true},inset:{type:ControlType.Number,defaultValue:8,min:0,step:1,displayStepper:true}}},gap:{type:ControlType.Number,defaultValue:8,min:0,step:1,hidden:props=>props.style!==\"split\"},icon:iconProp({buttonTitle:\"Caret Icon\",size:16})}},formatting:{type:ControlType.Enum,defaultValue:\"auto\",options:[\"auto\",\"manual\"],optionTitles:[\"Auto (by Country)\",\"Manual\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",title:\"Formatting\"},format:{type:ControlType.Enum,defaultValue:\"(XXX) XXX - XXXX\",options:[\"(XXX) XXX - XXXX\",\"(XXX) XXX-XXXX\",\"XXX-XXX-XXXX\",\"XXX.XXX.XXXX\",\"XXX XXX XXXX\",\"XXXXXXXXXXX\",\"XX XXXX XXXX\",\"custom\"],optionTitles:[\"(123) 456 - 7890\",\"(123) 456-7890\",\"123-456-7890\",\"123.456.7890\",\"123 456 7890\",\"1234567890\",\"12 3456 7890\",\"Custom Format\"],hidden:props=>props.formatting===\"auto\"},customFormat:{title:\"Custom ->\",type:ControlType.String,defaultValue:\"(XXX) XXX - XXXX\",description:\"*X* -> phone number\",hidden:props=>props.formatting===\"auto\"||props.format!==\"custom\"},placeholder:{type:ControlType.String,defaultValue:\"\",placeholder:\"Auto\"},// Shared style controls - includes placeholderColor with default from SHARED_DEFAULTS\n// Component-specific controls (like placeholder text above) are defined separately\n// To override a default value, pass it as an option:\n// Example: color: \"#999999\" to override the default color\n// Example: placeholderColor: \"#666\" to override the default placeholder color\n// See Dropdown.tsx SHARED_DEFAULTS for all available defaults\n...getSharedStyleControls({placeholderColorTitle:\"Placeholder\",placeholderColorOptional:false,invalid:true})});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PhoneNumberInput\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PhoneNumberInput.map"],"mappings":"A,ueAGA,SAASqC,EAAkB,EAAY,EAAO,CAAC,GAAG,CAACC,EAAY,MAAM,GAAG,IAAIC,EAAM,EAAMC,EAAY,KAAWC,EAAOC,EAAO,QAAQ,SAAS,EAAM,IAAaH,EAAMD,EAAY,OAAeA,EAAY,MAAkBA,EAAY,OAAO,IAAIE,IAAc,OAAM,EAAYG,GAAc,GAAK,EAAE,OAAOH,IAAc,KAAiCC,EAA5BA,EAAO,MAAM,EAAED,CAAW,CAAS,CAAC,SAASI,GAAoB,EAAM,CAAC,IAAIC,EAAM,EAAE,OAAOC,EAAM,QAAQ,YAAY,CAAC,IAAMC,EAAOF,EAAM,GAAW,MAAR,KAAe,OAAOE,CAAM,CAAE,CAAC,CAAE,CAAC,SAASC,EAAc,EAAM,CAAC,OAAOC,EAAM,QAAQ,MAAM,EAAE,CAAE,CAAC,SAASC,EAAuB,EAAI,CAAC,GAAGC,EAAI,SAAS,EAAE,MAAO,GAAM,IAAMC,EAASD,EAAIA,EAAI,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