1 line
1.3 KiB
JavaScript
1 line
1.3 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7815],{17815:function(t,e,o){"use strict";o.r(e),o.d(e,{NotifyReminderPopup:function(){return l}});var n=o(85893),i=o(55241),p=o(97937),r=o(67294),s=o(93162),u=o.n(s);let l=t=>{let{children:e,open:o,notificationClicked:s,notificationClosed:l}=t,[c,a]=(0,r.useState)(o),[d,f]=(0,r.useState)(!1);(0,r.useEffect)(()=>{a(o)},[o]),(0,r.useEffect)(()=>{f(!0)},[]);let m=(0,n.jsx)("div",{className:u().title,children:"Stay updated!"}),_=t=>{t.stopPropagation(),s()},b=t=>{t.stopPropagation(),a(!1),l()},x=(0,n.jsxs)("div",{onClick:_,onKeyDown:_,role:"menuitem",tabIndex:0,children:[(0,n.jsx)("button",{type:"button",className:u().closebutton,onClick:b,children:(0,n.jsx)(p.Z,{})}),(0,n.jsxs)("div",{className:u().contentbutton,children:["Click and never miss",(0,n.jsx)("br",{}),"future streams!"]})]});return d&&(0,n.jsx)(i.Z,{placement:"topLeft",defaultOpen:c,open:c,destroyTooltipOnHide:!0,title:m,content:x,overlayInnerStyle:{borderRadius:"5px",cursor:"pointer",paddingTop:"10px",paddingRight:"10px",fontSize:"16px"},color:u().popupBackgroundColor,children:e})}},93162:function(t){t.exports={popupBackgroundColor:"var(--theme-color-palette-7)",contentbutton:"NotifyReminderPopup_contentbutton__a_tsp",closebutton:"NotifyReminderPopup_closebutton__GVcP3",title:"NotifyReminderPopup_title__Dm9Iy"}}}]); |