{"version":3,"file":"SelectField.sKHO2ddf.mjs","names":["mask","Base","MotionSVG","SVG","svg","getProps","Icon","SHARED_VISIBILITY_GROUP","useState","useRef","useMemo"],"sources":["https:/framerusercontent.com/modules/FkZd5HGV2AKnradbFrFT/0tKlhfGsXzTchyMSE4Ql/rBV10wjU7.js","https:/framerusercontent.com/modules/KcjzTBRSIvvQzanFZKHh/h8lpBroPmkWc0BVuwUm3/Z57gvtJ2V.js","https:/framerusercontent.com/modules/jGDRwUN8C3dSx4an2Rnk/2NG4zlD6gMsuP5CVFLo9/controls.js","https:/framerusercontent.com/modules/EAqQWXlNB7I0PDrJI272/7NNCuxTkyvvZJZRL3ckn/SelectField.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 19.472 0.953 C 19.545 0.692 19.472 0.412 19.28 0.22 C 19.088 0.028 18.808 -0.045 18.546 0.028 L 0.546 5.486 C 0.245 5.571 0.029 5.834 0.003 6.145 C -0.023 6.457 0.147 6.752 0.429 6.886 L 8.626 10.874 L 12.614 19.07 C 12.748 19.352 13.043 19.522 13.354 19.496 C 13.666 19.47 13.929 19.253 14.013 18.953 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"19.498812438350562px\" id=\"VRZKpSmTT\" transform=\"translate(1.499 3.001)\" width=\"19.49974993835056px\"/><path d=\"M 0 4.875 L 4.875 0\" fill=\"transparent\" height=\"4.875px\" id=\"QRgHy819f\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(10.125 9)\" width=\"4.875px\"/><path d=\"M 19.472 0.953 C 19.545 0.692 19.472 0.412 19.28 0.22 C 19.088 0.028 18.808 -0.045 18.546 0.028 L 0.546 5.486 C 0.245 5.571 0.029 5.834 0.003 6.145 C -0.023 6.457 0.147 6.752 0.429 6.886 L 8.626 10.874 L 12.614 19.07 C 12.748 19.352 13.043 19.522 13.354 19.496 C 13.666 19.47 13.929 19.253 14.013 18.953 Z\" fill=\"transparent\" height=\"19.498812438350562px\" id=\"e4MqjlSIZ\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(1.499 3.001)\" width=\"19.49974993835056px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"777087443\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-XkeER\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-XkeER { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Paper Plane Tilt\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-XkeER\");Icon.displayName=\"Paper Plane Tilt\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Paper Plane Tilt\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 2.063 0 L 15.938 0 C 16.272 0 16.566 0.222 16.658 0.544 L 18 5.25 L 0 5.25 L 1.344 0.544 C 1.436 0.223 1.729 0.001 2.063 0 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"5.25px\" id=\"Bmer5dd_V\" transform=\"translate(3 3.75)\" width=\"18px\"/><path d=\"M 6 0 L 6 1.5 C 6 3.157 4.657 4.5 3 4.5 C 1.343 4.5 0 3.157 0 1.5 L 0 0 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"4.5px\" id=\"WwSKAgCcb\" transform=\"translate(3 9)\" width=\"6px\"/><path d=\"M 6 0 L 6 1.5 C 6 3.157 4.657 4.5 3 4.5 C 1.343 4.5 0 3.157 0 1.5 L 0 0 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"4.5px\" id=\"YFbye7qQR\" transform=\"translate(15 9)\" width=\"6px\"/><path d=\"M 0 0 L 0 7.163 L 15 7.163 L 15 0\" fill=\"transparent\" height=\"7.163437500000001px\" id=\"htnHatx0n\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(4.5 13.087)\" width=\"15px\"/><path d=\"M 2.063 0 L 15.938 0 C 16.272 0 16.566 0.222 16.658 0.544 L 18 5.25 L 0 5.25 L 1.344 0.544 C 1.436 0.223 1.729 0.001 2.063 0 Z\" fill=\"transparent\" height=\"5.25px\" id=\"l72Ovid1s\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3 3.75)\" width=\"18px\"/><path d=\"M 6 0 L 6 1.5 C 6 3.157 4.657 4.5 3 4.5 C 1.343 4.5 0 3.157 0 1.5 L 0 0\" fill=\"transparent\" height=\"4.5px\" id=\"puFF5XNd8\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(3 9)\" width=\"6px\"/><path d=\"M 6 0 L 6 1.5 C 6 3.157 4.657 4.5 3 4.5 C 1.343 4.5 0 3.157 0 1.5 L 0 0\" fill=\"transparent\" height=\"4.5px\" id=\"JPRjdhO0z\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(9 9)\" width=\"6px\"/><path d=\"M 6 0 L 6 1.5 C 6 3.157 4.657 4.5 3 4.5 C 1.343 4.5 0 3.157 0 1.5 L 0 0\" fill=\"transparent\" height=\"4.5px\" id=\"GAStXM4uf\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(15 9)\" width=\"6px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"861919685\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-hFJns\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-hFJns { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Storefront\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-hFJns\");Icon.displayName=\"Storefront\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerVector\":\"{\\\"name\\\":\\\"Storefront\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerIntrinsicWidth\":\"24\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{ControlType}from\"framer\";import{FIELD_BASE_GROUP,BASE_VALIDATION_GROUP,INPUT_LIKE_STYLES_GROUP,VISIBILITY_GROUP as SHARED_VISIBILITY_GROUP}from\"https://framerusercontent.com/modules/C8tNKt5QFlvgRghgBcI7/lkdAf5AmIOJZojvFNhus/groups.js\";// Behavior-only (base + select-specific bits)\nexport const SELECT_BEHAVIOR_CONTROLS={...FIELD_BASE_GROUP,placeholder:{type:ControlType.String,title:\"Placeholder\",defaultValue:\"Select an option\"},options:{type:ControlType.Array,title:\"Options\",propertyControl:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Option Label\"},value:{type:ControlType.String,title:\"Value\",defaultValue:\"option_value\"}}},defaultValue:[{title:\"First option\",value:\"1\"},{title:\"Second option\",value:\"2\"},{title:\"Third option\",value:\"3\"}]},// shared validation (regex/min/max stay conditional via BASE_VALIDATION_GROUP)\n...BASE_VALIDATION_GROUP};// One “Styles” object with nested sections from shared groups\nexport const STYLES_GROUP={styles:{type:ControlType.Object,title:\"Styles\",controls:{...INPUT_LIKE_STYLES_GROUP}}};// Visibility (shared)\nexport const VISIBILITY_GROUP=SHARED_VISIBILITY_GROUP;\nexport const __FramerMetadata__ = {\"exports\":{\"STYLES_GROUP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SELECT_BEHAVIOR_CONTROLS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VISIBILITY_GROUP\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo,useState,useRef,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{FieldShell}from\"https://framerusercontent.com/modules/Y7BsCDAZ62PW8UCuAxAR/eYfP4PWTX5NJfei4V1k9/FieldShell.js\";import{resolveBorderColor}from\"https://framerusercontent.com/modules/SuWmgiqEfziwld4tZjk0/vb8Ppfe3v4uGW3SEUjKK/resolveBorderColor.js\";import{resolveInputStyles}from\"https://framerusercontent.com/modules/TTk3k6z1DBNnw11HPDoi/UW2qJn2g2OkOcIXT204S/resolveInputStyles.js\";import{buildValidationConfig}from\"https://framerusercontent.com/modules/ZAzAf2l3YtTE023XEAPY/6IKs8kEebel4WFLLKexC/buildValidationConfig.js\";import{requiredWhenVisible}from\"https://framerusercontent.com/modules/e3bwJJzcbGbYL2t6KZy3/kO1TIg95YTyfRIpPfLWl/requiredWhenVisible.js\";import{useFieldController}from\"https://framerusercontent.com/modules/De6fH1u2sz6OPdwkg379/c5eGHCJIlfWJ7dt3PkdF/useFieldController.js\";import{useRenderKey,useTouched}from\"https://framerusercontent.com/modules/Ax3pgpFugmVtkLyjK0aB/gZOKh60dY2F3zSGCnXy3/formStores.js\";import{SELECT_BEHAVIOR_CONTROLS,STYLES_GROUP,VISIBILITY_GROUP}from\"https://framerusercontent.com/modules/jGDRwUN8C3dSx4an2Rnk/2NG4zlD6gMsuP5CVFLo9/controls.js\";export function SelectField(props){const{// base\nlabel,apiName,required=false,errorRequired,errorInvalid,errorTooYoung,validationRule=\"none\",minLength,maxLength,regex,regexFlags,visibility,styles={},// select-specific\noptions=[],placeholder=\"Select an option\",// optional icon\nicon}=props;const{value,setValue,error,isTouched,visible,validateNow,validateSoon,markTouched,handleFocus,handleBlur,handleChange}=useFieldController({apiName,initialValue:\"\",visibility,validation:buildValidationConfig({required,errorRequired,errorInvalid,errorTooYoung,validationRule,minLength,maxLength,regex,regexFlags})});const[isFocused,setIsFocused]=useState(false);const[iconWidth,setIconWidth]=useState(0);const renderKey=useRenderKey()[0];const[,setTouched]=useTouched();const selectRef=useRef(null);const iconRef=useRef(null);const lastRenderKeyRef=useRef(renderKey);const lastEffectRenderKeyRef=useRef(renderKey);// Reset field controller state when render key changes (synchronous)\nif(lastRenderKeyRef.current!==renderKey){lastRenderKeyRef.current=renderKey;setValue(\"\")// Reset field controller state immediately\n;setTouched(prev=>({...prev,[apiName]:false}))// Clear touched state\n;}// Reset DOM select value when render key changes\nuseEffect(()=>{if(lastEffectRenderKeyRef.current!==renderKey){lastEffectRenderKeyRef.current=renderKey;if(selectRef.current){selectRef.current.value=\"\";}}},[renderKey]);useEffect(()=>{if(!iconRef.current)return;const observer=new ResizeObserver(entries=>{for(const entry of entries){setIconWidth(entry.contentRect.width);}});observer.observe(iconRef.current);return()=>observer.disconnect();},[iconRef.current]);const normalizedOptions=useMemo(()=>(options||[]).map(o=>({title:o.title,value:String(o.value)})),[options]);const{fontSize,fontWeight,letterSpacing,lineHeight,textAlign,textColor,placeholderColor,backgroundColor,borderColor,focusBorderColor,errorBorderColor,borderRadius,borderWidth,paddingV,paddingH,height,labelStyle,labelSpacing,errorStyle}=resolveInputStyles(styles);const border=resolveBorderColor({showError:isTouched,error,isFocused,errorColor:errorBorderColor,focusColor:focusBorderColor,baseColor:borderColor});const ICON_GAP=8;const hasIcon=Boolean(icon);const leftPad=hasIcon&&iconWidth>0?paddingH+iconWidth+ICON_GAP:paddingH;const wrapperStyle={position:\"relative\",width:\"100%\",display:\"flex\",alignItems:\"center\"};const selectStyle={width:\"100%\",display:\"block\",boxSizing:\"border-box\",color:value?textColor:placeholderColor,backgroundColor,borderColor:border,borderWidth,borderStyle:\"solid\",borderRadius,paddingTop:paddingV,paddingBottom:paddingV,paddingRight:paddingH,paddingLeft:leftPad,height:height?`${height}px`:undefined,outline:\"none\",fontSize,fontWeight,fontFamily:\"Figtree, sans-serif\",letterSpacing,lineHeight:`${lineHeight}px`,textAlign,transition:\"border-color 120ms ease, color 120ms ease\",appearance:\"none\"};const iconStyle={position:\"absolute\",left:paddingH,top:\"50%\",transform:\"translateY(-50%)\",display:hasIcon?\"flex\":\"none\",alignItems:\"center\",justifyContent:\"center\",pointerEvents:\"none\"};const onChange=e=>{const next=e.target.value;setValue(next);handleChange(next);validateSoon(next);};const onBlur=()=>{markTouched();validateNow(selectRef.current?.value??\"\");handleBlur();setIsFocused(false);};const onFocus=()=>{handleFocus();setIsFocused(true);};return /*#__PURE__*/_jsx(FieldShell,{visible:visible,label:label,labelStyle:labelStyle,labelSpacing:labelSpacing,error:isTouched&&error?error:null,errorStyle:errorStyle,children:/*#__PURE__*/_jsxs(\"div\",{style:wrapperStyle,children:[icon?/*#__PURE__*/_jsx(\"div\",{ref:iconRef,style:iconStyle,children:icon}):null,/*#__PURE__*/_jsxs(\"select\",{ref:selectRef,name:apiName,required:requiredWhenVisible(required,visible),style:selectStyle,defaultValue:value??\"\",onChange:onChange,onBlur:onBlur,onFocus:onFocus,children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",disabled:true,hidden:true,children:placeholder}),normalizedOptions.map(opt=>/*#__PURE__*/_jsx(\"option\",{value:opt.value,children:opt.title},opt.value))]}),/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 20 20\",width:\"16\",height:\"16\",fill:\"none\",stroke:textColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{position:\"absolute\",pointerEvents:\"none\",right:paddingH,top:\"50%\",transform:\"translateY(-50%)\"},children:/*#__PURE__*/_jsx(\"polyline\",{points:\"6 8 10 12 14 8\"})})]})});}addPropertyControls(SelectField,{...SELECT_BEHAVIOR_CONTROLS,...STYLES_GROUP,...VISIBILITY_GROUP,icon:{type:ControlType.ComponentInstance,title:\"Icon\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"SelectField\":{\"type\":\"reactComponent\",\"name\":\"SelectField\",\"slots\":[\"icon\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"weAC2C,IAAqF,IAA4B,CAAoCA,EAAK,0BAAgCC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,SAAS,CAAC,EAAG,CAAOC,EAAU,EAAO,OAAOD,EAAK,CAAOE,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAKD,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,WAAS,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,WAAS,CAAC,EAAG,CAAOE,EAAI,w6CAA86CC,GAAU,CAAC,QAAM,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,U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