{"version":3,"file":"lBpXK6FAQ.DSTeKyQH.mjs","names":["Filter"],"sources":["https:/framerusercontent.com/modules/owy3i0oXbG7aoXHFhH39/YYZuMJBmTyFpNguXDtOH/lBpXK6FAQ.js"],"sourcesContent":["// Generated by Framer (890879b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Filter from\"https://framerusercontent.com/modules/LYyAFjx6EnDQcWGl8jCk/ej7Nm6XLrLE9aAhkIiYe/Filter.js\";const FilterFonts=getFonts(Filter);const serializationHash=\"framer-ZF4iH\";const variantClassNames={qVag9VtX9:\"framer-v-1ynh0qr\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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 getProps=({cMSID,height,id,premiumFree,premiumFree1,togglePadding,width,...props})=>{return{...props,BhqRAA1P7:cMSID??props.BhqRAA1P7??1,oO25O27H0:premiumFree1??props.oO25O27H0??\"Premium\",Qg_oOfP8q:togglePadding??props.Qg_oOfP8q??\"0px\",VzK2Byoyq:premiumFree??props.VzK2Byoyq??true};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,VzK2Byoyq,BhqRAA1P7,Qg_oOfP8q,oO25O27H0,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"qVag9VtX9\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1ynh0qr\",className,classNames),\"data-framer-name\":\"Premium • Free\",layoutDependency:layoutDependency,layoutId:\"qVag9VtX9\",ref:refBinding,style:{\"--1azgi2e\":numberToPixelString(Qg_oOfP8q),...style},children:VzK2Byoyq&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1kmkytl-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"O4xBO1Hxw-container\",nodeId:\"O4xBO1Hxw\",rendersWithMotion:true,scopeId:\"lBpXK6FAQ\",children:/*#__PURE__*/_jsx(Filter,{buttonGroupLayout:{direction:\"horizontal\",distribute:\"center\",gapH:8,gapV:8,width:\"fit\",wrap:false},buttonGroupStyle:{bgBlur:0,defaultFontColor:\"rgb(0, 0, 0)\",fill:{colorAOff:\"rgb(237, 237, 237)\",colorAOn:\"rgb(112, 179, 255)\",colorBOff:\"rgb(204, 204, 204)\",colorBOn:\"rgb(0, 117, 255)\",colorOff:\"rgb(240, 240, 240)\",colorOn:\"rgb(0, 117, 255)\",gradientAngle:0,type:\"color\"},padding:16,paddingBottom:16,paddingIsMixed:false,paddingLeft:16,paddingRight:16,paddingTop:16,radius:8,radiusBottomLeft:8,radiusBottomRight:8,radiusIsMixed:false,radiusTopLeft:8,radiusTopRight:8,selectedFontColor:\"rgb(255, 255, 255)\",shadows:\"\",shadowsSelected:\"\"},checkboxStyle:{fillOff:\"rgb(237, 237, 237)\",fillOn:\"rgb(0, 117, 255)\",icon:{colorOn:\"rgb(255, 255, 255)\",lineWidth:2,rounded:true,size:16},radius:6,size:24},collectionList:[],dividerStyle:{color:\"rgba(0, 0, 0, 0.25)\",marginH:0,marginV:0,rounded:false,width:1},dropdownStyle:{arrow:{gap:10,size:12,stroke:2},bgBlur:0,fill:{color:\"rgb(240, 240, 240)\",colorA:\"rgb(255, 255, 255)\",colorB:\"rgb(189, 189, 189)\",gradientAngle:0,type:\"color\"},fontColor:\"rgb(0, 0, 0)\",padding:16,paddingBottom:16,paddingIsMixed:false,paddingLeft:16,paddingRight:16,paddingTop:16,radius:8,radiusBottomLeft:8,radiusBottomRight:8,radiusIsMixed:false,radiusTopLeft:8,radiusTopRight:8,shadows:\"\"},fieldName:oO25O27H0,fieldType:\"toggle\",filterBy:\"field\",filterTypeOption:\"buttonGroup\",filterTypeToggle:\"toggleSwitch\",font:{fontFamily:'\"Poppins\", \"Poppins Placeholder\", sans-serif',fontSize:\"14px\",fontStyle:\"normal\",fontWeight:700,letterSpacing:\"0em\",lineHeight:\"1.4em\"},height:\"100%\",id:\"O4xBO1Hxw\",layoutId:\"O4xBO1Hxw\",multipleOptionsNoneOption:\"\",multiSelect:false,optionFieldNames:[],options:{allOption:true,allText:\"All\",defaultValue:\"\",optionMode:\"auto\",optionOrder:\"default\",optionValues:[],placeholder:\"[Preview project]\"},referenceFieldName:\"Title\",referenceFieldType:\"text\",superfieldsId:BhqRAA1P7,textCondition:\"equals\",toggleMultiOptions:{allOption:true,allText:\"All\",defaultValue:\"all\",noOption:false,noText:\"Off\",order:\"yesNo\",yesOption:true,yesText:\"On\"},toggleSwitchStyle:{border:{colorOff:\"var(--token-61c366f2-b556-49f4-a4bf-6cbf1c3da8ad, rgb(232, 232, 232))\",colorOn:\"var(--token-61c366f2-b556-49f4-a4bf-6cbf1c3da8ad, rgb(232, 232, 232))\",style:\"solid\",width:1},fill:{colorAOff:\"rgb(237, 237, 237)\",colorAOn:\"rgb(112, 179, 255)\",colorBOff:\"rgb(204, 204, 204)\",colorBOn:\"rgb(0, 117, 255)\",colorOff:\"var(--token-61c366f2-b556-49f4-a4bf-6cbf1c3da8ad, rgb(232, 232, 232))\",colorOn:\"rgb(0, 117, 255)\",gradientAngle:0,type:\"color\"},height:32,padding:4,radius:16,shadows:\"0px 2px 4px 0px rgba(0, 0, 0, 0.2)\",switchFill:{colorAOff:\"var(--token-bafdfe4b-a3d7-4f26-936e-fe713d11170b, rgb(255, 255, 255))\",colorAOn:\"var(--token-bafdfe4b-a3d7-4f26-936e-fe713d11170b, rgb(255, 255, 255))\",colorBOff:\"var(--token-3b36c79a-ff1f-4db9-ab32-538dbc01a730, rgb(212, 212, 212))\",colorBOn:\"var(--token-3b36c79a-ff1f-4db9-ab32-538dbc01a730, rgb(212, 212, 212))\",colorOff:\"var(--token-4e9c1adf-1b18-486c-8017-facb415bc701, rgb(245, 245, 245))\",colorOn:\"var(--token-4e9c1adf-1b18-486c-8017-facb415bc701, rgb(245, 245, 245))\",gradientAngle:0,type:\"gradient\"}},toggleTwoStateOptions:{defaultValue:\"on\",offState:\"off\",onState:\"all\"},toggleTwoStateText:{fontColor:\"var(--token-64f05052-f0c7-47aa-83e8-51668d489cb1, rgb(110, 110, 110))\",gap:10,location:\"left\",offText:\"Free\",onText:\"Premium\"},transition:{bounce:0,delay:0,duration:.2,type:\"spring\"},width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ZF4iH.framer-9ob833, .framer-ZF4iH .framer-9ob833 { display: block; }\",\".framer-ZF4iH.framer-1ynh0qr { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: var(--1azgi2e); position: relative; width: min-content; }\",\".framer-ZF4iH .framer-1kmkytl-container { flex: none; height: auto; position: relative; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 132\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"VzK2Byoyq\":\"premiumFree\",\"BhqRAA1P7\":\"cMSID\",\"Qg_oOfP8q\":\"togglePadding\",\"oO25O27H0\":\"premiumFree1\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerlBpXK6FAQ=withCSS(Component,css,\"framer-ZF4iH\");export default FramerlBpXK6FAQ;FramerlBpXK6FAQ.displayName=\"Filter Bar\";FramerlBpXK6FAQ.defaultProps={height:32,width:132};addPropertyControls(FramerlBpXK6FAQ,{VzK2Byoyq:{defaultValue:true,title:\"Premium/Free\",type:ControlType.Boolean},BhqRAA1P7:{defaultValue:1,displayStepper:true,min:0,step:1,title:\"CMS ID\",type:ControlType.Number},Qg_oOfP8q:{defaultValue:\"0px\",title:\"Toggle Padding\",type:ControlType.Padding},oO25O27H0:{defaultValue:\"Premium\",placeholder:\"CMS Field Name\",title:\"Premium/Free\",type:ControlType.String}});addFonts(FramerlBpXK6FAQ,[{explicitInter:true,fonts:[{family:\"Poppins\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/EOHGWBZYYKO6R4PWP4S2B3FFWHHBEZN6/UWQLMF4AFWLXCJQCFV3WRVYC77KZXPRB/FYG6OCH7XOLUUSZTIZE65ATBZWF623O4.woff2\",weight:\"700\"}]},...FilterFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerlBpXK6FAQ\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"132\",\"framerVariables\":\"{\\\"VzK2Byoyq\\\":\\\"premiumFree\\\",\\\"BhqRAA1P7\\\":\\\"cMSID\\\",\\\"Qg_oOfP8q\\\":\\\"togglePadding\\\",\\\"oO25O27H0\\\":\\\"premiumFree1\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"32\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./lBpXK6FAQ.map"],"mappings":"ssBAY4kB,AAX5kB,GAA2C,IAA4L,IAAkE,IAA4B,CAA0B,GAA8G,CAAM,EAAY,EAASA,EAAO,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAmB,EAA8L,EAAoB,GAAO,CAAC,UAAU,GAAQ,SAAS,OAAO,EAAU,UAAO,SAAS,EAAM,CAAkB,MAAO,MAAK,IAAI,EAAE,EAAM,CAAC,IAAM,EAAO,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAS,EAAO,EAAW,CAAC,CAAC,QAAM,WAAS,GAAG,CAAC,IAAM,EAAO,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAa,EAAc,KAAK,CAAC,GAAG,EAAO,YAAW,GAAE,CAAC,KAAK,UAAU,EAAW,AAAC,EAAC,CAAC,MAAoB,GAAK,E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