{"version":3,"file":"lXa_JMzSb.BWUtuNeO.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/yOmqZdQrtrGubowQe3V7/kFQEPeX8tWKKAcPfEeET/lXa_JMzSb.js"],"sourcesContent":["// Generated by Framer (a2fb474)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/CAjjxbTJBxHwH1MagCef/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const PhosphorControls=getPropertyControls(Phosphor);const enabledGestures={Vw5W4MLpF:{hover:true}};const cycleOrder=[\"Vw5W4MLpF\",\"T2X8vMZIK\"];const serializationHash=\"framer-2fm4b\";const variantClassNames={T2X8vMZIK:\"framer-v-1af6cjk\",Vw5W4MLpF:\"framer-v-ofyptf\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.2,ease:[.5,0,.88,.77],type:\"tween\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?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={\"Variant 1\":\"Vw5W4MLpF\",\"Variant 2\":\"T2X8vMZIK\"};const getProps=({buttonTitle,height,iconType,id,link,width,...props})=>{var _ref,_ref1,_humanReadableVariantMap_props_variant,_ref2;return{...props,c_LM4xLLc:(_ref=iconType!==null&&iconType!==void 0?iconType:props.c_LM4xLLc)!==null&&_ref!==void 0?_ref:\"Nut\",j9900EP44:(_ref1=buttonTitle!==null&&buttonTitle!==void 0?buttonTitle:props.j9900EP44)!==null&&_ref1!==void 0?_ref1:\"อุปกรณ์เสริม\",variant:(_ref2=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref2!==void 0?_ref2:\"Vw5W4MLpF\",zhTpOz0jQ:link!==null&&link!==void 0?link:props.zhTpOz0jQ};};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,j9900EP44,c_LM4xLLc,zhTpOz0jQ,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Vw5W4MLpF\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:zhTpOz0jQ,nodeId:\"Vw5W4MLpF\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(serializationHash,...sharedStyleClassNames,\"framer-ofyptf\",className,classNames)} framer-1a7urpa`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"Vw5W4MLpF\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"rgb(247, 250, 255)\",borderBottomLeftRadius:12,borderBottomRightRadius:12,borderTopLeftRadius:12,borderTopRightRadius:12,...style},variants:{\"Vw5W4MLpF-hover\":{backgroundColor:\"rgb(223, 228, 247)\"},T2X8vMZIK:{backgroundColor:\"rgb(97, 127, 232)\"}},...addPropertyOverrides({\"Vw5W4MLpF-hover\":{\"data-framer-name\":undefined},T2X8vMZIK:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-mhmf1-container\",layoutDependency:layoutDependency,layoutId:\"C8UJv0atV-container\",children:/*#__PURE__*/_jsx(Phosphor,{color:\"rgb(29, 73, 217)\",height:\"100%\",iconSearch:\"House\",iconSelection:c_LM4xLLc,id:\"C8UJv0atV\",layoutId:\"C8UJv0atV\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"light\",width:\"100%\",...addPropertyOverrides({T2X8vMZIK:{color:\"rgb(255, 255, 255)\"}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7Tm90byBTYW5zIFRoYWktcmVndWxhcg==\",\"--framer-font-family\":'\"Noto Sans Thai\", \"Noto Sans Thai Placeholder\", sans-serif',\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(0, 50, 214))\"},children:\"อุปกรณ์เสริม\"})}),className:\"framer-uwc7zc\",fonts:[\"GF;Noto Sans Thai-regular\"],layoutDependency:layoutDependency,layoutId:\"vgT6NUUYf\",style:{\"--extracted-r6o4lv\":\"rgb(0, 50, 214)\",\"--framer-paragraph-spacing\":\"0px\"},text:j9900EP44,variants:{T2X8vMZIK:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({T2X8vMZIK:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7Tm90byBTYW5zIFRoYWktcmVndWxhcg==\",\"--framer-font-family\":'\"Noto Sans Thai\", \"Noto Sans Thai Placeholder\", sans-serif',\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"อุปกรณ์เสริม\"})})}},baseVariant,gestureVariant)})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-2fm4b.framer-1a7urpa, .framer-2fm4b .framer-1a7urpa { display: block; }\",\".framer-2fm4b.framer-ofyptf { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 44px; justify-content: flex-start; overflow: hidden; padding: 0px 20px 0px 20px; position: relative; text-decoration: none; width: 290px; will-change: var(--framer-will-change-override, transform); }\",\".framer-2fm4b .framer-mhmf1-container { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 27px); position: relative; width: 24px; }\",\".framer-2fm4b .framer-uwc7zc { flex: none; height: auto; overflow: visible; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-2fm4b.framer-ofyptf { gap: 0px; } .framer-2fm4b.framer-ofyptf > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-2fm4b.framer-ofyptf > :first-child { margin-left: 0px; } .framer-2fm4b.framer-ofyptf > :last-child { margin-right: 0px; } }\",\".framer-2fm4b.framer-v-1af6cjk.framer-ofyptf { cursor: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 44\n * @framerIntrinsicWidth 290\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"T2X8vMZIK\":{\"layout\":[\"fixed\",\"fixed\"]},\"enEk_mvSp\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"j9900EP44\":\"buttonTitle\",\"c_LM4xLLc\":\"iconType\",\"zhTpOz0jQ\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerlXa_JMzSb=withCSS(Component,css,\"framer-2fm4b\");export default FramerlXa_JMzSb;FramerlXa_JMzSb.displayName=\"Tab Index\";FramerlXa_JMzSb.defaultProps={height:44,width:290};addPropertyControls(FramerlXa_JMzSb,{variant:{options:[\"Vw5W4MLpF\",\"T2X8vMZIK\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},j9900EP44:{defaultValue:\"อุปกรณ์เสริม\",displayTextArea:false,title:\"Button Title\",type:ControlType.String},c_LM4xLLc:(PhosphorControls===null||PhosphorControls===void 0?void 0:PhosphorControls[\"iconSelection\"])&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"Nut\",description:undefined,hidden:undefined,title:\"Icon Type\"},zhTpOz0jQ:{title:\"Link\",type:ControlType.Link}});addFonts(FramerlXa_JMzSb,[{explicitInter:true,fonts:[{family:\"Noto Sans Thai\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/notosansthai/v25/iJWnBXeUZi_OHPqn4wq6hQ2_hbJ1xyN9wd43SofNWcd1MKVQt_So_9CdU5RtpzR-QRvzzXg.woff2\",weight:\"400\"}]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerlXa_JMzSb\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"T2X8vMZIK\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"enEk_mvSp\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"290\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"44\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"j9900EP44\\\":\\\"buttonTitle\\\",\\\"c_LM4xLLc\\\":\\\"iconType\\\",\\\"zhTpOz0jQ\\\":\\\"link\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./lXa_JMzSb.map"],"mappings":"uZACiwB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,+CAAz5B,IAAgM,IAAkE,IAA4B,IAA0H,CAAM,EAAc,EAASA,EAAS,CAAO,EAAiB,EAAoBA,EAAS,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,CAAuO,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,KAAK,QAAQ,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAmC,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAA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