import{o as e}from"./rolldown-runtime-iuO8RvI4.js";import{Mi as a,ki as o}from"./vendor-frame-CwiylG4Y.js";import{rn as s}from"./vendor-all-2-BJdkbLSj.js";import{t as i}from"./cd27d5348-DDEB43kT.js";var n=e(a()),r=o(),t={shown:"claudeai.cowork.imagine_launch_nudge.shown",dismissed:"claudeai.cowork.imagine_launch_nudge.dismissed",clicked:"claudeai.cowork.imagine_launch_nudge.clicked"},d=(0,n.memo)(({enabled:e,onDismiss:a,onAction:o})=>{const d=s(),l=(0,n.useMemo)(()=>{const e=d.formatMessage({defaultMessage:"Create an interactive version of the periodic table",id:"Tc1R6xAZMh"});return`/task/new?q=${encodeURIComponent(e)}`},[d]);return e?(0,r.jsx)(i,{href:l,imageUrl:"/images/spotlights/imagine-cowork-nudge.png",title:d.formatMessage({defaultMessage:"Ask Claude to show you",id:"KFr8VK8kjk"}),body:d.formatMessage({defaultMessage:"Turn any idea into a diagram, chart, or visual you can click and explore.",id:"/CbMIy5Lr5"}),buttonText:d.formatMessage({defaultMessage:"See for yourself",id:"hvkOAU2wAB"}),onDismiss:a,onClick:()=>o(),analyticsEvents:t}):null});export{d as ImagineLaunchNudge};