1import{l as a,A as e,S as g,o as b}from"./index.d5ed491e.1790691266856.js";import{u,r as v}from"./agentation.5cf31a33.1790691266856.js";const o={"login-alert-popup-container":"_login-alert-popup-container_mcrog_1","login-alert-open":"_login-alert-open_mcrog_12","login-alert-overlay":"_login-alert-overlay_mcrog_16","login-alert":"_login-alert_mcrog_1","login-alert-header":"_login-alert-header_mcrog_41","alert-title":"_alert-title_mcrog_59","alert-close":"_alert-close_mcrog_64","login-alert-body":"_login-alert-body_mcrog_68","alert-btn":"_alert-btn_mcrog_78"},j=()=>{const{t:l}=u(["login"]),d=a.useDispatch(),m=v.useHistory(),p=a.useSelector(n=>n?.portal?.showLoginAlert),h=a.useSelector(n=>n?.screen?.viewType==="web"),t=window?.loginAlertLayout||{},s=t?.hideLoginBtn||!1,_=t?.closeBtnIcon||"D-closebtn",r=()=>{d(b.showLoginAlert(!1))},i=()=>{document.body.scrollTo({top:0,behavior:"smooth"})},c=()=>{h||m.push("/login"),i(),r()};return e.jsxs("div",{className:`login-alert-popup-container ${o["login-alert-popup-container"]} ${p?o["login-alert-open"]:""}`,children:[e.jsx("div",{className:`login-alert-overlay ${o["login-alert-overlay"]}`,onClick:r}),e.jsxs("div",{className:`login-alert ${o["login-alert"]}`,children:[e.jsxs("div",{className:`login-alert-header ${o["login-alert-header"]}`,children:[e.jsx("div",{className:`alert-title ${o["alert-title"]}`,children:l("login:login.proceed")}),!s&&e.jsx("div",{className:`alert-close ${o["alert-close"]}`,onClick:r,children:e.jsx(g,{category:"SVGTransfer",name:_,className:"fillsecond"})})]}),e.jsx("div",{className:`login-alert-body ${o["login-alert-body"]}`,children:s?e.jsx("div",{className:`alert-btn standard-submit-form-button ${o["alert-btn"]}`,onClick:c,children:e.jsx("div",{className:"alert-btn-text",children:l("global:global.verification.close","Close")})}):e.jsxs("div",{className:`alert-btn standard-submit-form-button ${o["alert-btn"]}`,onClick:c,children:[!t?.hideLoginBtnIcon&&e.jsx(g,{category:"SVGDeposit",name:"D-verified"}),e.jsx("div",{className:"alert-btn-text",children:l("home:home.mobile.login","Login")})]})})]})]})};export{j as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.