{"version":3,"file":"DPrQLvtSA.1_U2CopM.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Testimonials","_Fragment","cbBoODfyfoeP5aY1Vg","idoeP5aY1Vg","p3YpDJvq5oeP5aY1Vg","Image"],"sources":["https:/framerusercontent.com/modules/PVvvQAOmRCQhxaO8loZS/pD7MMSLurzsT48bUs0bb/DPrQLvtSA.js"],"sourcesContent":["// Generated by Framer (2e9e6ed)\nimport{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ChildrenCanSuspend,ControlType,cx,getLoadingLazyAtYPosition,Image,PathVariablesContext,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useQueryData,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Testimonials from\"https://framerusercontent.com/modules/KLpmrT8gUcfzgTwkTeSO/52YDG4ppMMkTVcVGzSWd/IrJVpmTMR.js\";const serializationHash=\"framer-xpXNV\";const variantClassNames={YdjkwzCm8:\"framer-v-10l6d8f\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const query=(prequery,{v_cF6wv93})=>prequery({from:{alias:\"oeP5aY1Vg\",data:Testimonials,type:\"Collection\"},limit:{type:\"LiteralValue\",value:1},select:[{collection:\"oeP5aY1Vg\",name:\"cbBoODfyf\",type:\"Identifier\"},{collection:\"oeP5aY1Vg\",name:\"p3YpDJvq5\",type:\"Identifier\"},{collection:\"oeP5aY1Vg\",name:\"id\",type:\"Identifier\"}],where:{left:{collection:\"oeP5aY1Vg\",name:\"p3YpDJvq5\",type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:v_cF6wv93},type:\"BinaryOperation\"}});const QueryData=({query,pageSize,children})=>{const data=useQueryData(query);return children(data);};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=({click,height,id,slug,width,...props})=>{return{...props,R6w_yAPPk:click??props.R6w_yAPPk,v_cF6wv93:slug??props.v_cF6wv93};};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,v_cF6wv93,R6w_yAPPk,cbBoODfyfoeP5aY1Vg,p3YpDJvq5oeP5aY1Vg,idoeP5aY1Vg,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"YdjkwzCm8\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap8h9h3j=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(R6w_yAPPk){const res=await R6w_yAPPk(...args);if(res===false)return false;}});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-10l6d8f\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"YdjkwzCm8\",onTap:onTap8h9h3j,ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,boxShadow:\"0px 0.6021873017743928px 0.6021873017743928px -1.5px rgba(0, 0, 0, 0.21), 0px 2.288533303243457px 2.288533303243457px -3px rgba(0, 0, 0, 0.18), 0px 10px 10px -4.5px rgba(0, 0, 0, 0.02)\",...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1loy8by\",layoutDependency:layoutDependency,layoutId:\"oeP5aY1Vg\",children:/*#__PURE__*/_jsx(ChildrenCanSuspend,{children:/*#__PURE__*/_jsx(QueryData,{query:{from:{alias:\"oeP5aY1Vg\",data:Testimonials,type:\"Collection\"},limit:{type:\"LiteralValue\",value:1},select:[{collection:\"oeP5aY1Vg\",name:\"cbBoODfyf\",type:\"Identifier\"},{collection:\"oeP5aY1Vg\",name:\"p3YpDJvq5\",type:\"Identifier\"},{collection:\"oeP5aY1Vg\",name:\"id\",type:\"Identifier\"}],where:{left:{collection:\"oeP5aY1Vg\",name:\"p3YpDJvq5\",type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:v_cF6wv93},type:\"BinaryOperation\"}},children:(collection,paginationInfo,loadMore)=>/*#__PURE__*/_jsx(_Fragment,{children:collection?.map(({cbBoODfyf:cbBoODfyfoeP5aY1Vg,id:idoeP5aY1Vg,p3YpDJvq5:p3YpDJvq5oeP5aY1Vg},index)=>{p3YpDJvq5oeP5aY1Vg??=\"\";return /*#__PURE__*/_jsx(LayoutGroup,{id:`oeP5aY1Vg-${idoeP5aY1Vg}`,children:/*#__PURE__*/_jsx(PathVariablesContext.Provider,{value:{p3YpDJvq5:p3YpDJvq5oeP5aY1Vg},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1mxfx4v\",layoutDependency:layoutDependency,layoutId:\"f0Wb60TcI\",children:/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+0+0),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(cbBoODfyfoeP5aY1Vg)},className:\"framer-ulb5cj\",layoutDependency:layoutDependency,layoutId:\"VtaNLDTXI\",style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}})})})},idoeP5aY1Vg);})})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-xpXNV.framer-ki1mxn, .framer-xpXNV .framer-ki1mxn { display: block; }\",\".framer-xpXNV.framer-10l6d8f { cursor: pointer; height: 338px; overflow: hidden; position: relative; width: 282px; will-change: var(--framer-will-change-override, transform); }\",\".framer-xpXNV .framer-1loy8by { align-content: flex-start; align-items: flex-start; bottom: 0px; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 20px; justify-content: center; left: 0px; padding: 0px; position: absolute; right: 0px; top: 0px; }\",\".framer-xpXNV .framer-1mxfx4v { align-content: center; align-items: center; bottom: 0px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; justify-content: flex-start; left: 0px; padding: 0px; position: absolute; right: 0px; top: 0px; z-index: 1; }\",\".framer-xpXNV .framer-ulb5cj { bottom: 0px; flex: none; left: 0px; position: absolute; right: 0px; top: 0px; z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-xpXNV .framer-1loy8by, .framer-xpXNV .framer-1mxfx4v { gap: 0px; } .framer-xpXNV .framer-1loy8by > * { margin: 0px; margin-bottom: calc(20px / 2); margin-top: calc(20px / 2); } .framer-xpXNV .framer-1loy8by > :first-child { margin-top: 0px; } .framer-xpXNV .framer-1loy8by > :last-child { margin-bottom: 0px; } .framer-xpXNV .framer-1mxfx4v > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-xpXNV .framer-1mxfx4v > :first-child { margin-left: 0px; } .framer-xpXNV .framer-1mxfx4v > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 338\n * @framerIntrinsicWidth 282\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"v_cF6wv93\":\"slug\",\"R6w_yAPPk\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerDPrQLvtSA=withCSS(Component,css,\"framer-xpXNV\");export default FramerDPrQLvtSA;FramerDPrQLvtSA.displayName=\"Testimonial Image\";FramerDPrQLvtSA.defaultProps={height:338,width:282};addPropertyControls(FramerDPrQLvtSA,{v_cF6wv93:{defaultValue:\"\",title:\"slug\",type:ControlType.String},R6w_yAPPk:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerDPrQLvtSA,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerDPrQLvtSA\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"282\",\"framerIntrinsicHeight\":\"338\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"v_cF6wv93\\\":\\\"slug\\\",\\\"R6w_yAPPk\\\":\\\"click\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wcACiE,IAAyO,I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