{"version":3,"file":"necsdbFCI.9d9stAST.mjs","names":["Rive","useRive","React","RiveComponent","PastedStateMachine1","React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId"],"sources":["https:/rive.app/api/s/t3JWZX62IE6WEbdM8vR81g/framer","https:/framerusercontent.com/modules/gOcDktn81s1en7rs4VkH/S6qg4oiPqQGXYUzjCNPL/Payoff.js","https:/framerusercontent.com/modules/trD9sX8u8Ktrdd9Q4XvF/gCwlTtnrHLXD2dx5we8P/necsdbFCI.js"],"sourcesContent":["import React, { useEffect } from \"react\";\nimport { addPropertyControls, ControlType, RenderTarget } from \"framer\";\nimport Rive, { useRive, useStateMachineInput } from \"@rive-app/react-canvas\";\nexport const componentName = \"pasted - State Machine 1\";\nexport default function Controls(props) {\n  const layout = new Rive.Layout({\n    fit: props.fit ?? \"contain\",\n    alignment: props.alignment ?? \"center\",\n  });\n  const params = {\n    src: \"https://public.rive.app/hosted/400657/171722/t3JWZX62IE6WEbdM8vR81g.riv\",\n    artboard: \"pasted\",\n    stateMachines: \"State Machine 1\",\n    autoplay: true && props.play,\n    automaticallyHandleEvents: true,\n    layout,\n  };\n  const { RiveComponent, rive } = useRive(params);\n  useEffect(() => {\n    if (rive) {\n      if (RenderTarget.current() === RenderTarget.canvas) {\n        if (props.playOnCanvas && props.play) {\n          rive.play();\n        } else {\n          rive.pause();\n        }\n      } else {\n        if (props.play) {\n          rive.play();\n        } else {\n          rive.pause();\n        }\n      }\n    }\n  }, [props.play]);\n  useEffect(() => {\n    if (rive && RenderTarget.current() === RenderTarget.canvas) {\n      if (props.playOnCanvas && props.play) {\n        rive.play();\n      } else {\n        rive.pause();\n      }\n    }\n  }, [rive, props.playOnCanvas, props.play]);\n  useEffect(() => {\n    if (rive) {\n      const layout = new Rive.Layout({\n        fit: props.fit ?? \"contain\",\n        alignment: props.alignment ?? \"center\",\n      });\n      rive.layout = layout;\n    }\n  }, [props.fit, props.alignment]);\n  return React.createElement(RiveComponent, {});\n}\nControls.defaultProps = { play: true, playOnCanvas: true };\nexport const propertyControls = {\n  play: {\n    title: \"Playback\",\n    type: ControlType.Boolean,\n    defaultValue: true,\n    enabledTitle: \"Play\",\n    disabledTitle: \"Pause\",\n  },\n  playOnCanvas: {\n    type: ControlType.Boolean,\n    title: \"Play on Canvas\",\n    defaultValue: true,\n    enabledTitle: \"Play\",\n    disabledTitle: \"Pause\",\n  },\n  fit: {\n    type: ControlType.Enum,\n    defaultValue: \"contain\",\n    displaySegmentedControl: false,\n    segmentedControlDirection: \"vertical\",\n    options: [\n      \"contain\",\n      \"cover\",\n      \"fill\",\n      \"fitWidth\",\n      \"fitHeight\",\n      \"none\",\n      \"scaleDown\",\n    ],\n    optionTitles: [\n      \"Contain\",\n      \"Cover\",\n      \"Fill\",\n      \"Fit Width\",\n      \"Fit Height\",\n      \"None\",\n      \"Scale Down\",\n    ],\n  },\n  alignment: {\n    type: ControlType.Enum,\n    defaultValue: \"center\",\n    displaySegmentedControl: false,\n    segmentedControlDirection: \"vertical\",\n    options: [\n      \"center\",\n      \"topLeft\",\n      \"topCenter\",\n      \"topRight\",\n      \"centerLeft\",\n      \"centerRight\",\n      \"bottomLeft\",\n      \"bottomCenter\",\n      \"bottomRight\",\n    ],\n    optionTitles: [\n      \"Center\",\n      \"Top Left\",\n      \"Top Center\",\n      \"Top Right\",\n      \"Center Left\",\n      \"Center Right\",\n      \"Bottom Left\",\n      \"Bottom Center\",\n      \"Bottom Right\",\n    ],\n  },\n};\naddPropertyControls(Controls, propertyControls);\n","import{addPropertyControls}from\"framer\";import RiveComponent,{componentName,propertyControls}from\"https://rive.app/api/s/t3JWZX62IE6WEbdM8vR81g/framer/\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default RiveComponent;RiveComponent.displayName=componentName;addPropertyControls(RiveComponent,propertyControls);\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RiveComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Payoff.map","// Generated by Framer (ddd30d5)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import PastedStateMachine1 from\"https://framerusercontent.com/modules/gOcDktn81s1en7rs4VkH/S6qg4oiPqQGXYUzjCNPL/Payoff.js\";const PastedStateMachine1Fonts=getFonts(PastedStateMachine1);const cycleOrder=[\"XH_2omYoN\",\"H8mLQ24SA\"];const serializationHash=\"framer-6Wd1v\";const variantClassNames={H8mLQ24SA:\"framer-v-cd0lob\",XH_2omYoN:\"framer-v-1jbm6lp\"};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={duration:0,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={Start:\"H8mLQ24SA\",Stop:\"XH_2omYoN\"};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:\"XH_2omYoN\"};};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:\"XH_2omYoN\",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(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-1jbm6lp\",className,classNames),\"data-framer-name\":\"Stop\",layoutDependency:layoutDependency,layoutId:\"XH_2omYoN\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({H8mLQ24SA:{\"data-framer-name\":\"Start\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-ti6nw3-container\",\"data-framer-name\":\"ConsumerLending / Rive-Payoffs\",layoutDependency:layoutDependency,layoutId:\"RS7KMWuQ2-container\",name:\"ConsumerLending / Rive-Payoffs\",style:{opacity:0},variants:{H8mLQ24SA:{opacity:1}},children:/*#__PURE__*/_jsx(PastedStateMachine1,{alignment:\"center\",fit:\"cover\",height:\"100%\",id:\"RS7KMWuQ2\",layoutId:\"RS7KMWuQ2\",name:\"ConsumerLending / Rive-Payoffs\",play:false,playOnCanvas:false,style:{height:\"100%\",width:\"100%\"},width:\"100%\",...addPropertyOverrides({H8mLQ24SA:{play:true,playOnCanvas:true}},baseVariant,gestureVariant)})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-6Wd1v.framer-w5yj38, .framer-6Wd1v .framer-w5yj38 { display: block; }\",\".framer-6Wd1v.framer-1jbm6lp { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 400px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 472px; }\",\".framer-6Wd1v .framer-ti6nw3-container { flex: 1 0 0px; height: 100%; position: relative; width: 1px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-6Wd1v.framer-1jbm6lp { gap: 0px; } .framer-6Wd1v.framer-1jbm6lp > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-6Wd1v.framer-1jbm6lp > :first-child { margin-left: 0px; } .framer-6Wd1v.framer-1jbm6lp > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 400\n * @framerIntrinsicWidth 472\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"H8mLQ24SA\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramernecsdbFCI=withCSS(Component,css,\"framer-6Wd1v\");export default FramernecsdbFCI;FramernecsdbFCI.displayName=\"ConsumerLending / Payoffs\";FramernecsdbFCI.defaultProps={height:400,width:472};addPropertyControls(FramernecsdbFCI,{variant:{options:[\"XH_2omYoN\",\"H8mLQ24SA\"],optionTitles:[\"Stop\",\"Start\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramernecsdbFCI,[{explicitInter:true,fonts:[]},...PastedStateMachine1Fonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramernecsdbFCI\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"472\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"H8mLQ24SA\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"400\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./necsdbFCI.map"],"mappings":"qpBAIA,SAAwB,EAAS,EAAO,CACtC,IAAM,EAAS,IAAIA,EAAK,OAAO,CAC7B,IAAK,EAAM,KAAO,UAClB,UAAW,EAAM,WAAa,SAC/B,CAAC,CACI,EAAS,CACb,IAAK,0EACL,SAAU,SACV,cAAe,kBACf,SAAkB,EAAM,KACxB,0BAA2B,GAC3B,SACD,CACK,CAAE,gBAAe,QAASC,EAAQ,EAAO,CAoC/C,OAnCA,MAAgB,CACV,IACE,EAAa,SAAS,GAAK,EAAa,OACtC,EAAM,cAAgB,EAAM,KAC9B,EAAK,MAAM,CAEX,EAAK,OAAO,CAGV,EAAM,KACR,EAAK,MAAM,CAEX,EAAK,OAAO,GAIjB,CAAC,EAAM,KAAK,CAAC,CAChB,MAAgB,CACV,GAAQ,EAAa,SAAS,GAAK,EAAa,SAC9C,EAAM,cAAgB,EAAM,KAC9B,EAAK,MAAM,CAEX,EAAK,OAAO,GAGf,CAAC,EAAM,EAAM,aAAc,EAAM,KAAK,CAAC,CAC1C,MAAgB,CACV,IAKF,EAAK,OAJU,IAAID,EAAK,OAAO,CAC7B,IAAK,EAAM,KAAO,UAClB,UAAW,EAAM,WAAa,SAC/B,CAAC,GAGH,CAAC,EAAM,IAAK,EAAM,UAAU,CAAC,CACzBE,EAAM,cAAc,EAAe,EAAE,CAAC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