{"version":3,"file":"iJ30RU_ja.BwfeTWO2.mjs","names":["Phosphor","UIDivider","React.useId","sharedStyle.className","className","RichText","React.Fragment","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/tOVEkQGpUsqjDbBdVxdp/hec9hIcDCc4IKj9Jdg4y/iJ30RU_ja.js"],"sourcesContent":["// Generated by Framer (8602779)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,getPropertyControls,RichText,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/CAjjxbTJBxHwH1MagCef/Phosphor.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/ZJWw0CNPWrFdVvRfhLuL/SlbSK7koSkFppUqlmJhd/YoA3gknJd.js\";import UIDivider from\"https://framerusercontent.com/modules/xobRrr9IiCz2LFbhjkmN/yJSMMp6MMd3sPWtDoAYM/gz5tvZ8Us.js\";const PhosphorFonts=getFonts(Phosphor);const UIDividerFonts=getFonts(UIDivider);const PhosphorControls=getPropertyControls(Phosphor);const cycleOrder=[\"R5zYmBB89\",\"Cv5oOHBvy\",\"go9qFErgf\"];const variantClassNames={Cv5oOHBvy:\"framer-v-nkfkrz\",go9qFErgf:\"framer-v-1bgogb2\",R5zYmBB89:\"framer-v-1jxtzil\"};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 humanReadableVariantMap={Desktop:\"R5zYmBB89\",Phone:\"go9qFErgf\",Tablet:\"Cv5oOHBvy\"};const transitions={default:{damping:60,delay:0,duration:.3,ease:[.44,0,.56,1],mass:1,stiffness:500,type:\"spring\"}};const Component=/*#__PURE__*/React.forwardRef(function({id,style,className,width,height,layoutId,variant:outerVariant=\"R5zYmBB89\",visible:Kz5DrCOEz=true,showIcon:RkYu33oxP=true,icon:FxyjxNVYF=\"Info\",text:DbCrFN8Lt=\"Heads up! This is a super-simple alert.\",border:uLCgyBOl2=true,...restProps},ref){const outerVariantId=humanReadableVariantMap[outerVariant];const variant=outerVariantId||outerVariant;const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"R5zYmBB89\",transitions,variant,variantClassNames});const layoutDependency=variants.join(\"-\")+restProps.layoutDependency;const defaultLayoutId=React.useId();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(motion.div,{initial:variant,animate:variants,onHoverStart:()=>setGestureState({isHovered:true}),onHoverEnd:()=>setGestureState({isHovered:false}),onTapStart:()=>setGestureState({isPressed:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),className:cx(\"framer-lTsZP\",sharedStyle.className,classNames),style:{display:\"contents\"},children:Kz5DrCOEz&&/*#__PURE__*/_jsx(motion.div,{...restProps,className:cx(\"framer-1jxtzil\",className),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"R5zYmBB89\",ref:ref,style:{backgroundColor:\"var(--token-a0902d3e-cbb2-4a80-a007-763a1bd6393b, rgb(255, 255, 255))\",...style},transition:transition,...addPropertyOverrides({Cv5oOHBvy:{\"data-framer-name\":\"Tablet\"},go9qFErgf:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1rjinw1\",\"data-framer-name\":\"Container\",layoutDependency:layoutDependency,layoutId:\"HxgmJXsFv\",transition:transition,children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ckunrb\",layoutDependency:layoutDependency,layoutId:\"fTyXCG7lF\",transition:transition,children:[RkYu33oxP&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1586eri-container\",layoutDependency:layoutDependency,layoutId:\"dl0eN5Git-container\",transition:transition,children:/*#__PURE__*/_jsx(Phosphor,{color:'var(--token-7d56f77d-9701-4bcb-8707-181e39b667c2, rgb(91, 94, 98)) /* {\"name\":\"$secondary\"} */',height:\"100%\",iconSearch:\"House\",iconSelection:FxyjxNVYF,id:\"dl0eN5Git\",layoutId:\"dl0eN5Git\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"thin\",width:\"100%\"})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-abs99d\",\"data-styles-preset\":\"YoA3gknJd\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv)\"},children:\"A simple primary alert—check it out!\"})}),className:\"framer-1dg7hnz\",\"data-framer-name\":\"Label\",layoutDependency:layoutDependency,layoutId:\"pCbzys2Tx\",style:{\"--extracted-r6o4lv\":\"var(--token-7d56f77d-9701-4bcb-8707-181e39b667c2, rgb(91, 94, 98))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:DbCrFN8Lt,transition:transition,verticalAlignment:\"top\",withExternalLayout:true})]}),uLCgyBOl2&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1m57hh6-container\",layoutDependency:layoutDependency,layoutId:\"TvxqUQylp-container\",transition:transition,children:/*#__PURE__*/_jsx(UIDivider,{height:\"100%\",id:\"TvxqUQylp\",layoutId:\"TvxqUQylp\",style:{width:\"100%\"},width:\"100%\"})})]})})})});});const css=['.framer-lTsZP [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-lTsZP .framer-1opomqp { display: block; }\",\".framer-lTsZP .framer-1jxtzil { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 600px; }\",\".framer-lTsZP .framer-1rjinw1 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; max-width: 1600px; overflow: hidden; padding: 0px 100px 0px 100px; position: relative; width: 100%; z-index: 1; }\",\".framer-lTsZP .framer-ckunrb { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: flex-start; overflow: visible; padding: 16px 0px 16px 0px; position: relative; width: 100%; }\",\".framer-lTsZP .framer-1586eri-container { flex: none; height: 24px; position: relative; width: 24px; }\",\".framer-lTsZP .framer-1dg7hnz { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-lTsZP .framer-1m57hh6-container { flex: none; height: auto; position: relative; width: 100%; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-lTsZP .framer-1jxtzil, .framer-lTsZP .framer-1rjinw1, .framer-lTsZP .framer-ckunrb { gap: 0px; } .framer-lTsZP .framer-1jxtzil > *, .framer-lTsZP .framer-1rjinw1 > * { margin: 0px; margin-bottom: calc(0px / 2); margin-top: calc(0px / 2); } .framer-lTsZP .framer-1jxtzil > :first-child, .framer-lTsZP .framer-1rjinw1 > :first-child { margin-top: 0px; } .framer-lTsZP .framer-1jxtzil > :last-child, .framer-lTsZP .framer-1rjinw1 > :last-child { margin-bottom: 0px; } .framer-lTsZP .framer-ckunrb > * { margin: 0px; margin-left: calc(12px / 2); margin-right: calc(12px / 2); } .framer-lTsZP .framer-ckunrb > :first-child { margin-left: 0px; } .framer-lTsZP .framer-ckunrb > :last-child { margin-right: 0px; } }\",\".framer-lTsZP.framer-v-nkfkrz .framer-1jxtzil, .framer-lTsZP.framer-v-1bgogb2 .framer-1jxtzil { width: 390px; }\",\".framer-lTsZP.framer-v-nkfkrz .framer-1rjinw1 { padding: 0px 50px 0px 50px; }\",\".framer-lTsZP.framer-v-1bgogb2 .framer-1rjinw1 { padding: 0px 25px 0px 25px; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 57\n * @framerIntrinsicWidth 600\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"Cv5oOHBvy\":{\"layout\":[\"fixed\",\"auto\"]},\"go9qFErgf\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"Kz5DrCOEz\":\"visible\",\"RkYu33oxP\":\"showIcon\",\"FxyjxNVYF\":\"icon\",\"DbCrFN8Lt\":\"text\",\"uLCgyBOl2\":\"border\"}\n */const FrameriJ30RU_ja=withCSS(Component,css,\"framer-lTsZP\");export default FrameriJ30RU_ja;FrameriJ30RU_ja.displayName=\"UI / Alert\";FrameriJ30RU_ja.defaultProps={height:57,width:600};addPropertyControls(FrameriJ30RU_ja,{variant:{options:[\"R5zYmBB89\",\"Cv5oOHBvy\",\"go9qFErgf\"],optionTitles:[\"Desktop\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum},Kz5DrCOEz:{defaultValue:true,title:\"Visible\",type:ControlType.Boolean},RkYu33oxP:{defaultValue:true,title:\"Show Icon\",type:ControlType.Boolean},FxyjxNVYF:(PhosphorControls===null||PhosphorControls===void 0?void 0:PhosphorControls[\"iconSelection\"])&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"Info\",hidden:undefined,title:\"Icon\"},DbCrFN8Lt:{defaultValue:\"Heads up! This is a super-simple alert.\",displayTextArea:true,title:\"Text\",type:ControlType.String},uLCgyBOl2:{defaultValue:true,title:\"Border\",type:ControlType.Boolean}});addFonts(FrameriJ30RU_ja,[...PhosphorFonts,...UIDividerFonts,...sharedStyle.fonts]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameriJ30RU_ja\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"Cv5oOHBvy\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"go9qFErgf\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"57\",\"framerVariables\":\"{\\\"Kz5DrCOEz\\\":\\\"visible\\\",\\\"RkYu33oxP\\\":\\\"showIcon\\\",\\\"FxyjxNVYF\\\":\\\"icon\\\",\\\"DbCrFN8Lt\\\":\\\"text\\\",\\\"uLCgyBOl2\\\":\\\"border\\\"}\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yaACo5B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,qCAA5iC,IAA8H,IAA8C,IAA4B,IAA0H,IAAyH,IAAoH,CAAM,EAAc,EAASA,EAAS,CAAO,EAAe,EAASC,EAAU,CAAO,EAAiB,EAAoBD,EAAS,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,CAAuO,EAAwB,CAAC,QAAQ,YAAY,MAAM,YAAY,OAAO,YAAY,CAAO,EAAY,CA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