PageSourceSearch

https://www.theglobeandmail.com/pf/dist/components/combinations/AlertsModal.chunk.js?d=961&mxId=00000000

js theglobeandmail.com collected 2026-09-24 06:43:00 UTC 3,199 bytes, 1 lines download raw bytes

1"use strict";(this.webpackChunkFusion_components=this.webpackChunkFusion_components||[]).push([[2749],{16278:function(e,n,o){o.r(n);var l=o(86780),s=o.n(l),t=(o(40809),o(78299)),a=o(15710),r=o(67195),i=o(159),c=o(70568),d=o(85349);const u="Welcome to Alerts",m="fin-alerts",f={isOpen:s().bool,onRequestClose:s().func,onAfterClose:s().func};function p({isOpen:e,onRequestClose:n=a.lQ,onAfterClose:o=a.lQ}){const{logInUrl:l,logInModalOpen:s,logInModalAnalytics:f,logInModalLazy:p}=(0,r.A)({intcmp:m}),{registerUrl:h,registerModalOpen:y,registerModalAnalytics:C,registerModalLazy:b}=(0,i.A)({intcmp:m});return(0,d.jsxs)(c.A,{title:u,isOpen:e,onRequestClose:n,onAfterClose:o,children:[(0,d.jsxs)("div",{className:"fin-modal-row fin-modal-row--main",children:[(0,d.jsx)("h2",{className:"fin-modal-header font-pratt",children:u}),(0,d.jsx)("p",{className:"fin-modal-text font-gmsans",children:"The perfect tool to receive price, news and technical alerts about your investments sent to your email inbox."})]}),(0,d.jsxs)("div",{className:"fin-modal-row fin-modal-row--grey fin-modal-row--footer",children:[(0,d.jsx)("p",{className:"fin-modal-text font-gmsans",children:"You need to register to The Globe and Mail to access Alerts. Create an account for free. If you have already registered, then Log In."}),(0,d.jsx)(t.Ay,{analytics:C,className:"mr-8",href:h,onClick:y,rel:h?"external":void 0,theme:"teal",children:"Create an account"}),(0,d.jsx)(t.Ay,{analytics:f,href:l,onClick:s,rel:l?"external":void 0,theme:"teal",variant:"outline",children:"Log in"})]}),b,p]})}p.propTypes=f,p.displayName="AlertsModal",n.default=p},70568:function(e,n,o){var l=o(86780),s=o.n(l),t=o(40809),a=o(81862),r=o.n(a),i=o(78299),c=o(28782),d=o(15710),u=o(85349);const m="#fusion-app";r().setAppElement(m);const f={children:s().node,title:s().string,isOpen:s().bool,onRequestClose:s().func,onAfterClose:s().func};function p({title:e,isOpen:n,children:o,onRequestClose:l=d.lQ,onAfterClose:s=d.lQ}){const{scrollbarWidth:a}=(0,c.z)();(0,t.useEffect)(()=>{document.body.style.setProperty("--scroll-padding",`${a}px`)},[a]);const f=(0,t.useCallback)(()=>{document.querySelector(m).setAttribute("inert","")},[]),p=(0,t.useCallback)(()=>{document.querySelector(m).removeAttribute("inert"),document.body.style.setProperty("--scroll-padding","0px"),s()},[s]);return(0,u.jsx)(r(),{id:"financial-modal",isOpen:n,className:"fin-modal-content",overlayClassName:"fin-modal-overlay",bodyOpenClassName:"u-no-scroll",shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,contentLabel:e,onRequestClose:l,onAfterClose:p,onAfterOpen:f,children:(0,u.jsxs)("div",{className:"fin-modal-container fin-modal-container--anonymous",children:[(0,u.jsx)("div",{className:"fin-modal-row fin-modal-row--blue fin-modal-row--close",children:(0,u.jsx)(i.Ay,{"aria-label":"Close modal",className:"tgam-button--fin-modal-close",icon:"close",onClick:l})}),o]})})}p.propTypes=f,p.displayName="FinancialModal",n.A=p},28782:function(e,n,o){o.d(n,{z:function(){return s}});var l=o(94566);function s(){if(!l.Sw)return{scrollbarVisible:!1,scrollbarWidth:0};const e=window?.innerWidth||0,n=document?.body?.clientWidth||0;return{scrollbarVisible:e>n,scrollbarWidth:e-n}}}}]);

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.