{"version":3,"file":"InsuranceUseCases.DhdfLDMw.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/hwqcqxXUDQ4yjRE8tbQo/aY0WLUPvlYfRLLPlL516/InsuranceUseCases.js"],"sourcesContent":["// Insurance Use Cases Section Component\n// Creates a section displaying insurance industry use cases with categories and features\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function InsuranceUseCases(props){const{heading,headingFont,headingColor,useCases,categoryFont,categoryColor,featureFont,featureColor,backgroundColor,cardBackground,gap,padding,cardPadding,cardRadius,cardsPerRow,showCardShadow,showCardBorder,borderColor,enableHoverEffect,accentColor,style}=props;const[hoveredCard,setHoveredCard]=useState(null);const[isMobile,setIsMobile]=useState(false);const[isTablet,setIsTablet]=useState(false);const[isTouchDevice,setIsTouchDevice]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const checkDevice=()=>{const width=window.innerWidth;setIsMobile(width<768);setIsTablet(width>=768&&width<1024);setIsTouchDevice(\"ontouchstart\"in window||navigator.maxTouchPoints>0);};checkDevice();window.addEventListener(\"resize\",checkDevice);return()=>window.removeEventListener(\"resize\",checkDevice);},[]);// Responsive column count\nconst getColumnCount=()=>{if(isMobile)return 1;if(isTablet)return Math.min(cardsPerRow,3);return cardsPerRow;};// Responsive spacing\nconst responsivePadding=isMobile?padding*.5:isTablet?padding*.75:padding;const responsiveGap=isMobile?gap*.5:isTablet?gap*.75:gap;const responsiveCardPadding=isMobile?cardPadding*.6:isTablet?cardPadding*.8:cardPadding;// Disable hover on touch devices\nconst shouldEnableHover=enableHoverEffect&&!isTouchDevice;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:\"100%\",maxWidth:\"100%\",backgroundColor,padding:responsivePadding,display:\"flex\",flexDirection:\"column\",gap:responsiveGap*1.5,boxSizing:\"border-box\",overflowX:\"hidden\"},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,color:headingColor,...headingFont,maxWidth:\"100%\",wordWrap:\"break-word\"},children:heading}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:`repeat(${getColumnCount()}, 1fr)`,gap:responsiveGap,width:\"100%\"},children:useCases.map((useCase,index)=>/*#__PURE__*/_jsxs(\"div\",{onMouseEnter:()=>shouldEnableHover&&setHoveredCard(index),onMouseLeave:()=>shouldEnableHover&&setHoveredCard(null),style:{backgroundColor:cardBackground,padding:responsiveCardPadding,borderRadius:cardRadius,display:\"flex\",flexDirection:\"column\",gap:isMobile?12:16,border:showCardBorder?`1px solid ${borderColor}`:\"none\",boxShadow:showCardShadow?hoveredCard===index&&shouldEnableHover?\"0 12px 32px rgba(0, 0, 0, 0.12)\":\"0 2px 8px rgba(0, 0, 0, 0.04)\":\"none\",transition:\"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)\",transform:hoveredCard===index&&shouldEnableHover?\"translateY(-4px)\":\"translateY(0)\",cursor:shouldEnableHover?\"pointer\":\"default\",boxSizing:\"border-box\",minWidth:0},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:isMobile?8:12,paddingBottom:isMobile?8:12,borderBottom:`2px solid ${accentColor}`},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:isMobile?6:8,height:isMobile?6:8,borderRadius:\"50%\",backgroundColor:accentColor,boxShadow:`0 0 0 4px ${accentColor}20`,flexShrink:0}}),/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,color:categoryColor,...categoryFont,wordWrap:\"break-word\",minWidth:0},children:useCase.title})]}),/*#__PURE__*/_jsx(\"ul\",{style:{margin:0,padding:0,listStyle:\"none\",display:\"flex\",flexDirection:\"column\",gap:isMobile?8:12},children:useCase.features.map((feature,featureIndex)=>/*#__PURE__*/_jsxs(\"li\",{style:{color:featureColor,...featureFont,paddingLeft:isMobile?20:24,position:\"relative\",opacity:.9,wordWrap:\"break-word\",minWidth:0},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,top:\"50%\",transform:\"translateY(-50%)\",width:isMobile?10:12,height:2,backgroundColor:accentColor,borderRadius:1}}),feature]},featureIndex))})]},index))})]});}addPropertyControls(InsuranceUseCases,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Insurance Use Cases We Enable\"},headingFont:{type:ControlType.Font,title:\"Heading Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}},headingColor:{type:ControlType.Color,title:\"Heading Color\",defaultValue:\"#000000\"},cardsPerRow:{type:ControlType.Number,title:\"Cards Per Row\",defaultValue:4,min:1,max:6,step:1,displayStepper:true},useCases:{type:ControlType.Array,title:\"Use Cases\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Category\",defaultValue:\"Category\"},features:{type:ControlType.Array,title:\"Features\",control:{type:ControlType.String},defaultValue:[\"Feature 1\",\"Feature 2\",\"Feature 3\"]}}},defaultValue:[{title:\"Underwriting\",features:[\"Risk scoring and decision support\",\"Explainable model outputs\",\"Workflow-embedded intelligence\"]},{title:\"Claims\",features:[\"Triage and prioritization\",\"Fraud detection support\",\"Faster resolution with auditability\"]},{title:\"Risk & Compliance\",features:[\"Transparent decision trails\",\"Regulatory-aligned AI governance\",\"Ongoing performance monitoring\"]},{title:\"Operations\",features:[\"Capacity planning\",\"Process optimization\",\"Operational intelligence\"]}]},categoryFont:{type:ControlType.Font,title:\"Category Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"22px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},categoryColor:{type:ControlType.Color,title:\"Category Color\",defaultValue:\"#000000\"},featureFont:{type:ControlType.Font,title:\"Feature Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},featureColor:{type:ControlType.Color,title:\"Feature Color\",defaultValue:\"#000000\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#0099FF\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},cardBackground:{type:ControlType.Color,title:\"Card Background\",defaultValue:\"#FFFFFF\"},showCardShadow:{type:ControlType.Boolean,title:\"Card Shadow\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showCardBorder:{type:ControlType.Boolean,title:\"Card Border\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\"},enableHoverEffect:{type:ControlType.Boolean,title:\"Hover Effect\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:24,min:0,max:100,step:4,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:40,min:0,max:100,step:4,unit:\"px\"},cardPadding:{type:ControlType.Number,title:\"Card Padding\",defaultValue:32,min:0,max:60,step:4,unit:\"px\"},cardRadius:{type:ControlType.Number,title:\"Card Radius\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InsuranceUseCases\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InsuranceUseCases.map"],"mappings":"6MAKG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,UAAQ,cAAY,eAAa,WAAS,eAAa,gBAAc,cAAY,eAAa,kBAAgB,iBAAe,MAAI,UAAQ,cAAY,aAAW,cAAY,iBAAe,iBAAe,cAAY,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