_n("%s paid subscriber","%s paid subscribers",v,"jetpack"),(0,f.ZV)(v));return(0,p.jsxs)("div",{className:"newsletter-widget",children:[_&&(0,p.jsx)("div",{className:"newsletter-widget__header",children:(0,p.jsxs)("div",{className:"newsletter-widget__stats",children:[(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:s.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(!0,(0,f.R8)(e,t),"all_subscribers_click",M)})})]}),(0,p.jsxs)("span",{className:"newsletter-widget__stat-item",children:[(0,p.jsx)("span",{className:"newsletter-widget__icon",children:(0,p.jsx)(o.Icon,{icon:c.A,size:24})}),(0,p.jsx)("span",{className:"newsletter-widget__stat-content",children:(0,p.jsx)("span",{className:"newsletter-widget__stat-label",children:(0,d.j)(!0,(0,f.R8)(e,t),"paid_subscribers_click",A)})})]})]})}),w&&(0,p.jsxs)("div",{className:"newsletter-widget__chart",children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Total Subscribers","jetpack")}),(0,p.jsx)(h.w,{subscriberTotalsByDate:b})]}),(0,p.jsxs)("div",{className:"newsletter-widget__footer",children:[(0,p.jsx)("p",{className:"newsletter-widget__footer-msg",children:(0,a.createInterpolateElement)(__("Effortlessly turn posts into emails with our Newsletter feature. Expand your reach, engage readers, and monetize your writing. No coding required. <link>Learn more</link>","jetpack"),{link:(0,d.j)(n,n?"https://wordpress.com/learn/courses/newsletters-101/wordpress-com-newsletter":"https://jetpack.com/support/newsletter","learn_more_click")})}),(0,p.jsxs)("div",{children:[(0,p.jsx)("h3",{className:"newsletter-widget__heading",children:__("Quick Links","jetpack")}),(0,p.jsxs)("ul",{className:"newsletter-widget__footer-list",children:[(0,p.jsx)("li",{children:(0,p.jsx)("a",{href:`${t}post-new.php`,onClick:(0,f.R)(x,"publish_post_click"),children:__("Publish your next post","jetpack")})}),g&&(0,p.jsx)("li",{children:(0,d.j)(!0,(0,f.R8)(e,t),"view_stats_click",__("View subscriber stats","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n),{anchor:"add-subscribers"}),"import_subscribers_click",__("Import subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`subscribers/${e}`,n)),"manage_subscribers_click",__("Manage subscribers","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(n,(0,r.A)((0,f.Qj)(`${n?"earn":"monetize"}/${e}`,n)),"monetize_click",__("Monetize","jetpack"))}),(0,p.jsx)("li",{children:(0,d.j)(!0,(0,f.iP)(e,n,t),"newsletter_settings_click",__("Newsletter settings","jetpack"))})]})]})]})]})}},51984(e,t,n){"use strict";n.d(t,{w:()=>P});varr=n(85985),i=n(22994),o=n(53207),a=n(37372),u=n(6699),s=n(62643),c=n(7401),l=n(76883),f=n(27917),d=n(65573),h=n(94648),p=n(86087),g=n(27723),y=n(51720),v=n(54060),m=n(10790);const__=g.__,b=(0,u.A)({domain:["all","paid"],range:[y.hg.all,y.hg.paid]}),_=(0,h.A)({backgroundColor:"white",colors:[y.hg.all,y.hg.paid],gridColor:"#e0e0e0",gridColorDark:"#e0e0e0",tickLength:0,gridStyles:{strokeWidth:1},svgLabelSmall:{fill:"#1e1e1e",fontSize:13,fontWeight:400}}),w=e=>e.date,x=e=>e.all,M=e=>e.paid,A=e=>y.hg[e],O=e=>y.aH[e],k=({key:e,color:t,x:n,y:r})=>{consti=y.hg[e]||t;return(0,m.jsx)("circle",{cx:n,cy:r,r:4,fill:i,stroke:"white",strokeWidth:2},`glyph-${e}`)},j=({tooltipData:e})=>{if(!e?.nearestDatum)returnnull;constt=e.nearestDatum.datum,n=w(t);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"subscribers-chart__tooltip-date",children:(0,v.Yq)(n,"full")}),(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stats",children:[(0,m.jsxs)("div",{className:"subscribers-chart__tooltip-stat",children:[(0,m.jsx)("div",{style:{backgroundColor:y.hg.all},className:"subscribers-chart__tooltip-indicator"}),(0,m.jsx)("span",{children:(0,g.sprintf)(