{"version":3,"file":"ho8F_okAv.fOuPlotS.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/ER2x1Gz3xjQftnUxx6xY/CGI5xQHY3XhR5RWEpsuD/ho8F_okAv.js"],"sourcesContent":["// Generated by Framer (f318921)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const cycleOrder=[\"NT4khXtab\",\"ZAnvAiuMR\",\"bAZmL9YpP\",\"p2MtR9Rj6\",\"KZ4G4b3CL\"];const serializationHash=\"framer-DMa8m\";const variantClassNames={bAZmL9YpP:\"framer-v-1rutgyd\",KZ4G4b3CL:\"framer-v-1v0ghvc\",NT4khXtab:\"framer-v-10p8cz6\",p2MtR9Rj6:\"framer-v-1t4uzp\",ZAnvAiuMR:\"framer-v-1twmfls\"};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={bounce:.2,delay:0,duration:.4,type:\"spring\"};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={\"1 Star\":\"KZ4G4b3CL\",\"2 Stars\":\"p2MtR9Rj6\",\"3 Stars\":\"bAZmL9YpP\",\"4 Stars\":\"ZAnvAiuMR\",\"5 Stars\":\"NT4khXtab\"};const getProps=({height,id,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"NT4khXtab\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"NT4khXtab\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"KZ4G4b3CL\")return false;return true;};const isDisplayed1=()=>{if([\"p2MtR9Rj6\",\"KZ4G4b3CL\"].includes(baseVariant))return false;return true;};const isDisplayed2=()=>{if([\"bAZmL9YpP\",\"p2MtR9Rj6\",\"KZ4G4b3CL\"].includes(baseVariant))return false;return true;};const isDisplayed3=()=>{if([\"ZAnvAiuMR\",\"bAZmL9YpP\",\"p2MtR9Rj6\",\"KZ4G4b3CL\"].includes(baseVariant))return false;return true;};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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-10p8cz6\",className,classNames),\"data-framer-name\":\"5 Stars\",layoutDependency:layoutDependency,layoutId:\"NT4khXtab\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({bAZmL9YpP:{\"data-framer-name\":\"3 Stars\"},KZ4G4b3CL:{\"data-framer-name\":\"1 Star\"},p2MtR9Rj6:{\"data-framer-name\":\"2 Stars\"},ZAnvAiuMR:{\"data-framer-name\":\"4 Stars\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+(0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||18)-0-18)/2)),pixelHeight:15,pixelWidth:15,src:\"https://framerusercontent.com/images/V1q2I216ZzyyP53B4VGD644ktH4.svg\"},className:\"framer-bnyc8a\",\"data-framer-name\":\"Star Badge\",layoutDependency:layoutDependency,layoutId:\"WvmQNuB1n\"}),isDisplayed()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+(0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||18)-0-18)/2)),pixelHeight:15,pixelWidth:15,src:\"https://framerusercontent.com/images/V1q2I216ZzyyP53B4VGD644ktH4.svg\"},className:\"framer-72kdpq\",\"data-framer-name\":\"Star Badge\",layoutDependency:layoutDependency,layoutId:\"WuovkilE6\"}),isDisplayed1()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+(0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||18)-0-18)/2)),pixelHeight:15,pixelWidth:15,src:\"https://framerusercontent.com/images/V1q2I216ZzyyP53B4VGD644ktH4.svg\"},className:\"framer-1ty5j1y\",\"data-framer-name\":\"Star Badge\",layoutDependency:layoutDependency,layoutId:\"tdEDPGvVz\"}),isDisplayed2()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+(0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||18)-0-18)/2)),pixelHeight:15,pixelWidth:15,src:\"https://framerusercontent.com/images/V1q2I216ZzyyP53B4VGD644ktH4.svg\"},className:\"framer-1uhifew\",\"data-framer-name\":\"Star Badge\",layoutDependency:layoutDependency,layoutId:\"kiaBr7gjY\"}),isDisplayed3()&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+(0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||18)-0-18)/2)),pixelHeight:15,pixelWidth:15,src:\"https://framerusercontent.com/images/V1q2I216ZzyyP53B4VGD644ktH4.svg\"},className:\"framer-1jb6g5k\",\"data-framer-name\":\"Star Badge\",layoutDependency:layoutDependency,layoutId:\"qxdndZIrU\"})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-DMa8m.framer-1iszm4b, .framer-DMa8m .framer-1iszm4b { display: block; }\",\".framer-DMa8m.framer-10p8cz6 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-DMa8m .framer-bnyc8a, .framer-DMa8m .framer-72kdpq, .framer-DMa8m .framer-1ty5j1y, .framer-DMa8m .framer-1uhifew, .framer-DMa8m .framer-1jb6g5k { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 18px); position: relative; width: 18px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-DMa8m.framer-10p8cz6 { gap: 0px; } .framer-DMa8m.framer-10p8cz6 > * { margin: 0px; margin-left: calc(5px / 2); margin-right: calc(5px / 2); } .framer-DMa8m.framer-10p8cz6 > :first-child { margin-left: 0px; } .framer-DMa8m.framer-10p8cz6 > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 18\n * @framerIntrinsicWidth 110\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"ZAnvAiuMR\":{\"layout\":[\"auto\",\"auto\"]},\"bAZmL9YpP\":{\"layout\":[\"auto\",\"auto\"]},\"p2MtR9Rj6\":{\"layout\":[\"auto\",\"auto\"]},\"KZ4G4b3CL\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerho8F_okAv=withCSS(Component,css,\"framer-DMa8m\");export default Framerho8F_okAv;Framerho8F_okAv.displayName=\"Helper/Stars\";Framerho8F_okAv.defaultProps={height:18,width:110};addPropertyControls(Framerho8F_okAv,{variant:{options:[\"NT4khXtab\",\"ZAnvAiuMR\",\"bAZmL9YpP\",\"p2MtR9Rj6\",\"KZ4G4b3CL\"],optionTitles:[\"5 Stars\",\"4 Stars\",\"3 Stars\",\"2 Stars\",\"1 Star\"],title:\"Variant\",type:ControlType.Enum}});addFonts(Framerho8F_okAv,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerho8F_okAv\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"110\",\"framerIntrinsicHeight\":\"18\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"ZAnvAiuMR\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"bAZmL9YpP\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\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