!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["plug-client"]=e():t["plug-client"]=e()}(this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=146)}([function(t,e,n){"use strict";n.d(e,"a",function(){return o});const r={trace:0,debug:1,info:2,warn:3,error:4};function o(t,...e){var n;const o=r[t];let i=r.warn;const a=function(t=window.location.href){const e={};return new URL(t).searchParams.forEach((t,n)=>{e[n]=t}),e}().plugLog;a&&Object.getOwnPropertyDescriptor(r,a)&&(i=r[a]),o=r.warn&&["prod","stg"].includes("prod")&&(null===(n=null===window||void 0===window?void 0:window.newrelic)||void 0===n||n.addPageAction("PlugClient-Log",{env:"prod",level:t,messages:e})))}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(96))},function(t,e,n){"use strict";n.d(e,"d",function(){return r}),n.d(e,"e",function(){return o}),n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a}),n.d(e,"c",function(){return s});const r="plug-modal-outlet",o="plug-overlay",i="plug-banner-outlet",a="plug-close-button-clicked",s=864e5},function(t,e,n){var r=n(1),o=n(52),i=n(5),a=n(53),s=n(60),u=n(112),c=o("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return i(c,t)||(s&&i(l,t)?c[t]=l[t]:c[t]=f("Symbol."+t)),c[t]}},function(t,e,n){t.exports=function(){"use strict";function t(t){for(var e=1;e";var i={loginUrl:"iframe/login",registerUrl:"iframe/register",uverifyUrl:"iframe/uverify",terminalRegisterUrl:"iframe/terminal-register",bwRegisterUrl:"iframe/magazine",settingsUrl:"account",userInfoUrl:"user-info",bssoUrl:"api/login/bloomberg-auth-redirect",optInToReferralsUrl:"api/referrals/opt-in",optOutFromReferralsUrl:"api/referrals/opt-out",preferredEmailPath:"api/account/update-preferred-email",preferredEmailUIPath:"iframe/terminal-preferred-email",verifyVerificationCodePath:"api/user-verify/verify-verification-code",registerPath:"api/v3/register/bconnect",sendVerificationEmailPath:"api/user-verify/send-verification-email",sendEmailToEloquaAndCprefPath:"api/marketing",userSignInPath:"api/login",groupSubsSSOLoginPath:"api/login/sso-login-url",trackingPixelSrc:"/psz/pixel.gif",googleAuthPath:"api/login/google-auth",logoutUrl:"api/logout",socialSignInPath:"api/login/".concat(e.SOCIAL_SITE_PLACEHOLDER,"-auth-redirect")};e.URLS_MAP={development:(0,o.default)({baseUrl:"http://local.bloomberg.com:4004/account/",apiBaseUrl:"http://local-login.bloomberg.com:4004/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),developmentTLS:(0,o.default)({baseUrl:"https://local.bloomberg.com:8008/account/",apiBaseUrl:"https://local.bloomberg.com:8008/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),red:(0,o.default)({baseUrl:"https://origin.red.bloomberg.com/account/",apiBaseUrl:"https://red-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),orange:(0,o.default)({baseUrl:"https://origin.orange.bloomberg.com/account/",apiBaseUrl:"https://orange-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),yellow:(0,o.default)({baseUrl:"https://origin.yellow.bloomberg.com/account/",apiBaseUrl:"https://yellow-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),green:(0,o.default)({baseUrl:"https://origin.green.bloomberg.com/account/",apiBaseUrl:"https://green-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),blue:(0,o.default)({baseUrl:"https://origin.blue.bloomberg.com/account/",apiBaseUrl:"https://blue-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),purple:(0,o.default)({baseUrl:"https://origin.purple.bloomberg.com/account/",apiBaseUrl:"https://purple-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),sandcastle:(0,o.default)({baseUrl:"https://origin.sandcastle.bloomberg.com/account/",apiBaseUrl:"https://sandcastle-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),staging:(0,o.default)({baseUrl:"https://origin.staging.bloomberg.com/account/",apiBaseUrl:"https://staging-login.bloomberg.com/",personalizationBaseUrl:"https://tracking.stg.bloomberg.com/"},i),production:(0,o.default)({baseUrl:"https://www.bloomberg.com/account/",apiBaseUrl:"https://login.bloomberg.com/",personalizationBaseUrl:"https://tracking.bloomberg.com/"},i)}},function(t,e,n){var r=n(1),o=n(30).f,i=n(8),a=n(15),s=n(34),u=n(100),c=n(57);t.exports=function(t,e){var n,l,f,d,p,h=t.target,_=t.global,g=t.stat;if(n=_?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in e){if(d=e[l],f=t.noTargetGet?(p=o(n,l))&&p.value:n[l],!c(_?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&i(d,"sham",!0),a(n,l,d,t)}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(54),o=n(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){var r=n(7);t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e,n){var r=n(13),o=n(51),i=n(6),a=n(50),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(1),o=n(8),i=n(5),a=n(34),s=n(35),u=n(26),c=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,s){var u,c=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(u=l(n)).source||(u.source=f.join("string"==typeof e?e:""))),t!==r?(c?!p&&t[e]&&(d=!0):delete t[e],d?t[e]=n:o(t,e,n)):d?t[e]=n:a(e,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||s(this)})},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){"use strict";function r(t){return"modal"===t||"banner"===t}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";const r="_user-data";var o=n(4),i=n.n(o),a=n(0);const s={getSubscriptions:()=>{let t;try{t=JSON.parse(i.a.get(r))}catch(t){}return t&&t.subscriptionsData?t.subscriptionsData.reduce((t,{entitlements:e})=>(e&&e.forEach(e=>t.add(e)),t),new Set):new Set},getSubscriberData:()=>{let t;try{return t=JSON.parse(i.a.get(r)),t&&t.subscriberData?t.subscriberData:{}}catch(t){return{}}},getNewsletters:()=>{const t=i.a.get(r);if(t)try{const e=JSON.parse(t);if(!e)return;const n=e.newsletterIds;if(!Array.isArray(n)||0===n.length)return;return n.join("|")}catch(t){return void a.a("error","Failed to parse newsletters from cookie. Error: ",t)}},getExperiencePreference:()=>i.a.get("exp_pref")||"AMER",isLoggedIn:()=>{let t;try{t=JSON.parse(i.a.get(r))}catch(t){}return"logged_in"===(null==t?void 0:t.status)}};e.a=s},function(t,e){t.exports=!1},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(16),o=function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){"use strict";e.a=function(t){var e;const n=document.querySelector(t);null===(e=null==n?void 0:n.parentElement)||void 0===e||e.removeChild(n)}},function(t,e,n){"use strict";n.d(e,"c",function(){return S}),n.d(e,"b",function(){return E}),n.d(e,"a",function(){return I});var r=n(2);function o(t,e,n="beforeend"){t&&t.insertAdjacentHTML(n,e)}const i=27,a=9;function s(){return document.activeElement===document.querySelector("body")}function u(t,e){return function(t){return(t.keyCode===a||"Tab"===t.key)&&!0===t.shiftKey}(t)&&(document.activeElement===e[0]||s())}function c(t,e){return function(t){return(t.keyCode===a||"Tab"===t.key)&&!1===t.shiftKey}(t)&&(document.activeElement===e[e.length-1]||s())}var l=n(22);const f=1e3,d=200;var p=n(17),h=n(0),_=function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}u((r=r.apply(t,e||[])).next())})};const g=`\n
\n