{"version":3,"file":"ewP3rdsdT.CuCMISE2.mjs","names":["Question4","Question5","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/6H9jR2iZlPmJF25Pi8JE/AqP8UetcmU8R1mumYX1w/ewP3rdsdT.js"],"sourcesContent":["// Generated by Framer (cd22f02)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Question4 from\"https://framerusercontent.com/modules/YkWchqiCx6WrvH3vnkcF/WUMdiuQRpueyrb66IEV5/B7uJkMtGO.js\";import Question5 from\"https://framerusercontent.com/modules/xl54OBFPfUPlwugh6lWt/Lq6V1FUpzyVuZgBglMQ1/VDvfwHW8O.js\";const Question4Fonts=getFonts(Question4);const Question5Fonts=getFonts(Question5);const cycleOrder=[\"BIQ1vkEtd\",\"KTwtaStSP\",\"gM5iI_aBN\",\"jx0xtZEnh\"];const serializationHash=\"framer-e0d9M\";const variantClassNames={BIQ1vkEtd:\"framer-v-1jbcd11\",gM5iI_aBN:\"framer-v-v6uhhg\",jx0xtZEnh:\"framer-v-1ghq1hz\",KTwtaStSP:\"framer-v-1g6vjvt\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 humanReadableVariantMap={\"Variant 1\":\"BIQ1vkEtd\",\"Variant 2\":\"KTwtaStSP\",\"Variant 3\":\"gM5iI_aBN\",\"Variant 4\":\"jx0xtZEnh\"};const getProps=({answer1,answer2,height,id,question1,question2,transition,width,...props})=>{return{...props,hx0b_8Yll:question2??props.hx0b_8Yll??\"How do I add images?\",kr50LjJ8n:transition??props.kr50LjJ8n??{bounce:.2,delay:0,duration:.4,type:\"spring\"},lvMeUTpra:answer1??props.lvMeUTpra??\"To draw a Frame, click on Layout in the Toolbar, then select Frame. Now, you can click and drag anywhere on the Canvas.\",N1DFKMWNl:question1??props.N1DFKMWNl??\"How do I draw Frames?\",nNR17NJf8:answer2??props.nNR17NJf8??\"To add an image, select any Frame, and either double-click on it, or go to the Fill property. In the Fill property, switch to the image icon. Here, you can upload images.\",variant:humanReadableVariantMap[props.variant]??props.variant??\"BIQ1vkEtd\"};};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,N1DFKMWNl,lvMeUTpra,kr50LjJ8n,hx0b_8Yll,nNR17NJf8,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"BIQ1vkEtd\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const C4OcAfU0Y1xozmtm=activeVariantCallback(async(...args)=>{setVariant(\"KTwtaStSP\");});const C4OcAfU0Y35o07u=activeVariantCallback(async(...args)=>{setVariant(\"gM5iI_aBN\");});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:kr50LjJ8n,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1jbcd11\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"BIQ1vkEtd\",ref:refBinding,style:{...style},...addPropertyOverrides({gM5iI_aBN:{\"data-framer-name\":\"Variant 3\"},jx0xtZEnh:{\"data-framer-name\":\"Variant 4\"},KTwtaStSP:{\"data-framer-name\":\"Variant 2\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:76,width:componentViewport?.width||\"100vw\",y:(componentViewport?.y||0)+0+0,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-9zlru-container\",layoutDependency:layoutDependency,layoutId:\"tcO03M_PC-container\",nodeId:\"tcO03M_PC\",rendersWithMotion:true,scopeId:\"ewP3rdsdT\",children:/*#__PURE__*/_jsx(Question4,{C4OcAfU0Y:C4OcAfU0Y1xozmtm,height:\"100%\",I6WQqOURu:kr50LjJ8n,id:\"tcO03M_PC\",layoutId:\"tcO03M_PC\",n9YOVtVav:N1DFKMWNl,style:{width:\"100%\"},tJ_bRU_pm:lvMeUTpra,variant:\"NMjfhuCEv\",width:\"100%\",...addPropertyOverrides({KTwtaStSP:{variant:\"pfgvIaiHX\"}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:76,width:componentViewport?.width||\"100vw\",y:(componentViewport?.y||0)+0+81,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1gd65ra-container\",layoutDependency:layoutDependency,layoutId:\"c7bTh3VGF-container\",nodeId:\"c7bTh3VGF\",rendersWithMotion:true,scopeId:\"ewP3rdsdT\",children:/*#__PURE__*/_jsx(Question5,{C4OcAfU0Y:C4OcAfU0Y35o07u,height:\"100%\",I6WQqOURu:kr50LjJ8n,id:\"c7bTh3VGF\",layoutId:\"c7bTh3VGF\",n9YOVtVav:hx0b_8Yll,style:{width:\"100%\"},tJ_bRU_pm:nNR17NJf8,variant:\"Fu7ew9Ks9\",width:\"100%\",...addPropertyOverrides({gM5iI_aBN:{variant:\"JN2cpvcJa\"}},baseVariant,gestureVariant)})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-e0d9M.framer-1pf44x7, .framer-e0d9M .framer-1pf44x7 { display: block; }\",\".framer-e0d9M.framer-1jbcd11 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 340px; }\",\".framer-e0d9M .framer-9zlru-container, .framer-e0d9M .framer-1gd65ra-container { flex: none; height: auto; position: relative; width: 100%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 85\n * @framerIntrinsicWidth 340\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"KTwtaStSP\":{\"layout\":[\"fixed\",\"auto\"]},\"gM5iI_aBN\":{\"layout\":[\"fixed\",\"auto\"]},\"jx0xtZEnh\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"N1DFKMWNl\":\"question1\",\"lvMeUTpra\":\"answer1\",\"kr50LjJ8n\":\"transition\",\"hx0b_8Yll\":\"question2\",\"nNR17NJf8\":\"answer2\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerewP3rdsdT=withCSS(Component,css,\"framer-e0d9M\");export default FramerewP3rdsdT;FramerewP3rdsdT.displayName=\"qa-m\\xe4ssbyr\\xe5er-sthlm2\";FramerewP3rdsdT.defaultProps={height:85,width:340};addPropertyControls(FramerewP3rdsdT,{variant:{options:[\"BIQ1vkEtd\",\"KTwtaStSP\",\"gM5iI_aBN\",\"jx0xtZEnh\"],optionTitles:[\"Variant 1\",\"Variant 2\",\"Variant 3\",\"Variant 4\"],title:\"Variant\",type:ControlType.Enum},N1DFKMWNl:{defaultValue:\"How do I draw Frames?\",displayTextArea:false,title:\"Question 1\",type:ControlType.String},lvMeUTpra:{defaultValue:\"To draw a Frame, click on Layout in the Toolbar, then select Frame. Now, you can click and drag anywhere on the Canvas.\",displayTextArea:true,title:\"Answer 1\",type:ControlType.String},kr50LjJ8n:{defaultValue:{bounce:.2,delay:0,duration:.4,type:\"spring\"},title:\"Transition\",type:ControlType.Transition},hx0b_8Yll:{defaultValue:\"How do I add images?\",displayTextArea:false,title:\"Question 2\",type:ControlType.String},nNR17NJf8:{defaultValue:\"To add an image, select any Frame, and either double-click on it, or go to the Fill property. In the Fill property, switch to the image icon. Here, you can upload images.\",displayTextArea:true,title:\"Answer 2\",type:ControlType.String}});addFonts(FramerewP3rdsdT,[{explicitInter:true,fonts:[]},...Question4Fonts,...Question5Fonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerewP3rdsdT\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"340\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"KTwtaStSP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"gM5iI_aBN\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"jx0xtZEnh\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"85\",\"framerVariables\":\"{\\\"N1DFKMWNl\\\":\\\"question1\\\",\\\"lvMeUTpra\\\":\\\"answer1\\\",\\\"kr50LjJ8n\\\":\\\"transition\\\",\\\"hx0b_8Yll\\\":\\\"question2\\\",\\\"nNR17NJf8\\\":\\\"answer2\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ewP3rdsdT.map"],"mappings":"yZACu7B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAAtiC,IAAqN,IAAkE,IAA4B,IAA8I,IAAoH,CAAM,EAAe,EAASA,EAAU,CAAO,EAAe,EAASC,EAAU,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,YAAY,CAAO,GAAU,CAAC,UAAQ,UAAQ,SAAO,KAAG,YAAU,YAAU,aAAW,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAW,EAAM,WAAW,uBAAuB,UAAU,GAAY,EAAM,WAAW,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAC,UAAU,GAAS,EAAM,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