"use strict";({initialize:function(){this.initializeHsslCheck()},debug:function(){var e=!1;return e="undefined"!=typeof DFM_AD_MODS_DEBUG?!0:e},checkForBangPremiumOffer:function(){var o,n,i=window.blueConicClient.profile.getProfile(),e=(this.debug()&&console.log("DEBUG: blueconic profile = "+i),["bang_accept_premium_offer","bang_accept_premium_offer_date"]);this.debug()&&console.log("DEBUG: blueconic premium offer properties = "+e),i.loadValues(e,this,function(){var e;o=i.getValue("bang_accept_premium_offer"),n=i.getValue("bang_accept_premium_offer_date"),"yes"===o&&0{var t={7757:(t,e,n)=>{t.exports=n(5666)},5666:t=>{var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var i=e&&e.prototype instanceof S?e:S,a=Object.create(i.prototype),o=new B(r||[]);return a._invoke=function(t,e,n){var r=u;return function(i,a){if(r===d)throw new Error("Generator is already running");if(r===N){if("throw"===i)throw a;return G()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var c=g(o,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===u)throw r=N,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var s=A(t,e,n);if("normal"===s.type){if(r=n.done?N:E,s.arg===h)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=N,n.method="throw",n.arg=s.arg)}}}(t,n,o),a}function A(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var u="suspendedStart",E="suspendedYield",d="executing",N="completed",h={};function S(){}function I(){}function p(){}var O={};s(O,a,(function(){return this}));var R=Object.getPrototypeOf,T=R&&R(R(m([])));T&&T!==n&&r.call(T,a)&&(O=T);var L=p.prototype=S.prototype=Object.create(O);function C(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function f(t,e){function n(i,a,o,c){var s=A(t[i],t,a);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,o,c)}),(function(t){n("throw",t,o,c)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return n("throw",t,o,c)}))}c(s.arg)}var i;this._invoke=function(t,r){function a(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(a,a):a()}}function g(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,g(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=A(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function B(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function m(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--a){var o=this.tryEntries[a],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;M(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:m(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var a=e[r]={exports:{}};return t[r](a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e,n,r,i,a,o){try{var c=t[a](o),s=c.value}catch(t){return void n(t)}c.done?e(s):Promise.resolve(s).then(r,i)}function r(t){return function(){var n=this,r=arguments;return new Promise((function(i,a){var o=t.apply(n,r);function c(t){e(o,i,a,c,s,"next",t)}function s(t){e(o,i,a,c,s,"throw",t)}c(void 0)}))}}var i=n(7757),a=n.n(i);const o={debug:!!window.authentication_config.debug,sessionManagementEnabled:!!window.authentication_config&&"1"===window.authentication_config.sessionManagementEnabled,sessionServer:window.authentication_config?window.authentication_config.sessionServer:"",entitlementsEnabled:!!window.authentication_config&&"1"===window.authentication_config.entitlementsEnabled,dropdownEnabled:!!window.authentication_config&&"1"===window.authentication_config.dropdownEnabled,oneTapEnabled:!!window.authentication_config&&"1"===window.authentication_config.oneTapEnabled,useTribMainGoogle:!!window.authentication_config&&"1"===window.authentication_config.useTribMainGoogle,isAdfreeArticle:!!window.authentication_config&&"1"===window.authentication_config.isAdfreeArticle,auth0Domain:window.authentication_config?window.authentication_config.auth0Domain:"",auth0ClientId:window.authentication_config?window.authentication_config.auth0ClientId:"",entitlementsEndpoint:window.authentication_config?window.authentication_config.entitlementsEndpoint:"",entitlementsApiKey:window.authentication_config?window.authentication_config.entitlementsAPIKey:"",linaCheckOnArticles:!!window.authentication_config&&window.authentication_config.linaCheckOnArticles,serverEntitlements:!!window.authentication_config&&window.authentication_config.serverEntitlements,googleClientId:window.authentication_config?window.authentication_config.googleClientId:"",newsletterId:window.authentication_config?window.authentication_config.newsletterId:0,connextStorageKey:"",auth0SubKey:"auth0_sub",auth0Authenticated:"auth0.is.authenticated",secret:window.authentication_config?window.authentication_config.pluginSecret:"",newslettersEnabled:!!window.authentication_config&&"1"===window.authentication_config.newslettersEnabled,bcLowaSegements:!!window.authentication_config.bcLowaSegements&&"1"===window.authentication_config.bcLowaSegements,blueconicEnabled:!!window.authentication_config.blueconicEnabled&&"1"===window.authentication_config.blueconicEnabled};const c=function(){if(o.debug){for(var t,e=arguments.length,n=new Array(e),r=0;r>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return o};function A(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(l(t).replace(/(.)/g,(function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(e)}catch(t){return l(e)}}function u(t){this.message=t}u.prototype=new Error,u.prototype.name="InvalidTokenError";const E=function(t,e){if("string"!=typeof t)throw new u("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(A(t.split(".")[n]))}catch(t){throw new u("Invalid token specified: "+t.message)}},d="c_mId",N="cs_mId",h="__MNG_Session",S="isAuthenticatedSSOR";var I=function(){var t=window.location.href;return new URL(t)},p=function(t){for(var e="".concat(t,"="),n=decodeURIComponent(document.cookie).split(";"),r=0;r0&&void 0!==arguments[0]&&arguments[0],e=I(),n=e.hostname,r=n;t&&"string"==typeof t&&(r=t);var i=r.split(".");return"".concat(i[i.length-2],".").concat(i[i.length-1])},R=function(t){return E(t)},T=function(){return"complete"===document.readyState},L=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return new Promise((function(e){var n=!0;if(T())e();else{c("UIHandler: ","Waiting for the body to load...");var i=setInterval(r(a().mark((function r(){return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t&&(n=T()),document.querySelector("body")&&n&&(clearInterval(i),e(!0));case 2:case"end":return r.stop()}}),r)}))),200)}}))},C=function(){var t=r(a().mark((function t(e){var n,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,new Promise((function(t){if(T())t();else{c("Utils digisubsDataLayerLoaded: ","Waiting for the dataLayer to load...");var e=setInterval(r(a().mark((function n(){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:window.dataLayer&&window.dataLayer.length>2&&(clearInterval(e),t(!0));case 1:case"end":return n.stop()}}),n)}))),200)}}));case 2:if(c("Utils getDataLayerObject: looking for this dataLayer object ",e),window.dataLayer=window.dataLayer||[],n="",c("Utils getDataLayerObject: here is dataLayer length ",dataLayer.length),i=function(t){return c("Utils dataLayerLoop: look for this element ",t),t[e]?(c("Utils dataLayerLoop: found ",t[e]),n=t[e],t[e]):(c("Utils dataLayerLoop: dataLayer search ",!1),!1)},!dataLayer.some(i)){t.next=10;break}return t.abrupt("return",n);case 10:return t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=r(a().mark((function t(){var e,n,r=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=r.length>0&&void 0!==r[0]?r[0]:"Page Type",t.next=3,C(e);case 3:return n=t.sent,c("utils.js | pageType: page type is ",n),t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),g=function(t){c("starting simpleEmailValidation");var e=new RegExp(/^(([^<>()[\]\\.,;:\s@']+(\.[^<>()[\]\\.,;:\s@']+)*)|('.+'))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i);if(!t)return{valid:!1,message:"Please enter an email."};if(!e.test(t))return{valid:!1,message:"Please enter a valid email."};var n=t.match(/\.([^.\n\s]*)$/)[1].toUpperCase(),r=["AAA","AARP","ABARTH","ABB","ABBOTT","ABBVIE","ABC","ABLE","ABOGADO","ABUDHABI","AC","ACADEMY","ACCENTURE","ACCOUNTANT","ACCOUNTANTS","ACO","ACTOR","AD","ADS","ADULT","AE","AEG","AERO","AETNA","AF","AFL","AFRICA","AG","AGAKHAN","AGENCY","AI","AIG","AIRBUS","AIRFORCE","AIRTEL","AKDN","AL","ALFAROMEO","ALIBABA","ALIPAY","ALLFINANZ","ALLSTATE","ALLY","ALSACE","ALSTOM","AM","AMAZON","AMERICANEXPRESS","AMERICANFAMILY","AMEX","AMFAM","AMICA","AMSTERDAM","ANALYTICS","ANDROID","ANQUAN","ANZ","AO","AOL","APARTMENTS","APP","APPLE","AQ","AQUARELLE","AR","ARAB","ARAMCO","ARCHI","ARMY","ARPA","ART","ARTE","AS","ASDA","ASIA","ASSOCIATES","AT","ATHLETA","ATTORNEY","AU","AUCTION","AUDI","AUDIBLE","AUDIO","AUSPOST","AUTHOR","AUTO","AUTOS","AVIANCA","AW","AWS","AX","AXA","AZ","AZURE","BA","BABY","BAIDU","BANAMEX","BANANAREPUBLIC","BAND","BANK","BAR","BARCELONA","BARCLAYCARD","BARCLAYS","BAREFOOT","BARGAINS","BASEBALL","BASKETBALL","BAUHAUS","BAYERN","BB","BBC","BBT","BBVA","BCG","BCN","BD","BE","BEATS","BEAUTY","BEER","BENTLEY","BERLIN","BEST","BESTBUY","BET","BF","BG","BH","BHARTI","BI","BIBLE","BID","BIKE","BING","BINGO","BIO","BIZ","BJ","BLACK","BLACKFRIDAY","BLOCKBUSTER","BLOG","BLOOMBERG","BLUE","BM","BMS","BMW","BN","BNPPARIBAS","BO","BOATS","BOEHRINGER","BOFA","BOM","BOND","BOO","BOOK","BOOKING","BOSCH","BOSTIK","BOSTON","BOT","BOUTIQUE","BOX","BR","BRADESCO","BRIDGESTONE","BROADWAY","BROKER","BROTHER","BRUSSELS","BS","BT","BUILD","BUILDERS","BUSINESS","BUY","BUZZ","BV","BW","BY","BZ","BZH","CA","CAB","CAFE","CAL","CALL","CALVINKLEIN","CAM","CAMERA","CAMP","CANON","CAPETOWN","CAPITAL","CAPITALONE","CAR","CARAVAN","CARDS","CARE","CAREER","CAREERS","CARS","CASA","CASE","CASH","CASINO","CAT","CATERING","CATHOLIC","CBA","CBN","CBRE","CBS","CC","CD","CENTER","CEO","CERN","CF","CFA","CFD","CG","CH","CHANEL","CHANNEL","CHARITY","CHASE","CHAT","CHEAP","CHINTAI","CHRISTMAS","CHROME","CHURCH","CI","CIPRIANI","CIRCLE","CISCO","CITADEL","CITI","CITIC","CITY","CITYEATS","CK","CL","CLAIMS","CLEANING","CLICK","CLINIC","CLINIQUE","CLOTHING","CLOUD","CLUB","CLUBMED","CM","CN","CO","COACH","CODES","COFFEE","COLLEGE","COLOGNE","COM","COMCAST","COMMBANK","COMMUNITY","COMPANY","COMPARE","COMPUTER","COMSEC","CONDOS","CONSTRUCTION","CONSULTING","CONTACT","CONTRACTORS","COOKING","COOKINGCHANNEL","COOL","COOP","CORSICA","COUNTRY","COUPON","COUPONS","COURSES","CPA","CR","CREDIT","CREDITCARD","CREDITUNION","CRICKET","CROWN","CRS","CRUISE","CRUISES","CU","CUISINELLA","CV","CW","CX","CY","CYMRU","CYOU","CZ","DABUR","DAD","DANCE","DATA","DATE","DATING","DATSUN","DAY","DCLK","DDS","DE","DEAL","DEALER","DEALS","DEGREE","DELIVERY","DELL","DELOITTE","DELTA","DEMOCRAT","DENTAL","DENTIST","DESI","DESIGN","DEV","DHL","DIAMONDS","DIET","DIGITAL","DIRECT","DIRECTORY","DISCOUNT","DISCOVER","DISH","DIY","DJ","DK","DM","DNP","DO","DOCS","DOCTOR","DOG","DOMAINS","DOT","DOWNLOAD","DRIVE","DTV","DUBAI","DUNLOP","DUPONT","DURBAN","DVAG","DVR","DZ","EARTH","EAT","EC","ECO","EDEKA","EDU","EDUCATION","EE","EG","EMAIL","EMERCK","ENERGY","ENGINEER","ENGINEERING","ENTERPRISES","EPSON","EQUIPMENT","ER","ERICSSON","ERNI","ES","ESQ","ESTATE","ET","ETISALAT","EU","EUROVISION","EUS","EVENTS","EXCHANGE","EXPERT","EXPOSED","EXPRESS","EXTRASPACE","FAGE","FAIL","FAIRWINDS","FAITH","FAMILY","FAN","FANS","FARM","FARMERS","FASHION","FAST","FEDEX","FEEDBACK","FERRARI","FERRERO","FI","FIAT","FIDELITY","FIDO","FILM","FINAL","FINANCE","FINANCIAL","FIRE","FIRESTONE","FIRMDALE","FISH","FISHING","FIT","FITNESS","FJ","FK","FLICKR","FLIGHTS","FLIR","FLORIST","FLOWERS","FLY","FM","FO","FOO","FOOD","FOODNETWORK","FOOTBALL","FORD","FOREX","FORSALE","FORUM","FOUNDATION","FOX","FR","FREE","FRESENIUS","FRL","FROGANS","FRONTDOOR","FRONTIER","FTR","FUJITSU","FUN","FUND","FURNITURE","FUTBOL","FYI","GA","GAL","GALLERY","GALLO","GALLUP","GAME","GAMES","GAP","GARDEN","GAY","GB","GBIZ","GD","GDN","GE","GEA","GENT","GENTING","GEORGE","GF","GG","GGEE","GH","GI","GIFT","GIFTS","GIVES","GIVING","GL","GLASS","GLE","GLOBAL","GLOBO","GM","GMAIL","GMBH","GMO","GMX","GN","GODADDY","GOLD","GOLDPOINT","GOLF","GOO","GOODYEAR","GOOG","GOOGLE","GOP","GOT","GOV","GP","GQ","GR","GRAINGER","GRAPHICS","GRATIS","GREEN","GRIPE","GROCERY","GROUP","GS","GT","GU","GUARDIAN","GUCCI","GUGE","GUIDE","GUITARS","GURU","GW","GY","HAIR","HAMBURG","HANGOUT","HAUS","HBO","HDFC","HDFCBANK","HEALTH","HEALTHCARE","HELP","HELSINKI","HERE","HERMES","HGTV","HIPHOP","HISAMITSU","HITACHI","HIV","HK","HKT","HM","HN","HOCKEY","HOLDINGS","HOLIDAY","HOMEDEPOT","HOMEGOODS","HOMES","HOMESENSE","HONDA","HORSE","HOSPITAL","HOST","HOSTING","HOT","HOTELES","HOTELS","HOTMAIL","HOUSE","HOW","HR","HSBC","HT","HU","HUGHES","HYATT","HYUNDAI","IBM","ICBC","ICE","ICU","ID","IE","IEEE","IFM","IKANO","IL","IM","IMAMAT","IMDB","IMMO","IMMOBILIEN","IN","INC","INDUSTRIES","INFINITI","INFO","ING","INK","INSTITUTE","INSURANCE","INSURE","INT","INTERNATIONAL","INTUIT","INVESTMENTS","IO","IPIRANGA","IQ","IR","IRISH","IS","ISMAILI","IST","ISTANBUL","IT","ITAU","ITV","JAGUAR","JAVA","JCB","JE","JEEP","JETZT","JEWELRY","JIO","JLL","JM","JMP","JNJ","JO","JOBS","JOBURG","JOT","JOY","JP","JPMORGAN","JPRS","JUEGOS","JUNIPER","KAUFEN","KDDI","KE","KERRYHOTELS","KERRYLOGISTICS","KERRYPROPERTIES","KFH","KG","KH","KI","KIA","KIDS","KIM","KINDER","KINDLE","KITCHEN","KIWI","KM","KN","KOELN","KOMATSU","KOSHER","KP","KPMG","KPN","KR","KRD","KRED","KUOKGROUP","KW","KY","KYOTO","KZ","LA","LACAIXA","LAMBORGHINI","LAMER","LANCASTER","LANCIA","LAND","LANDROVER","LANXESS","LASALLE","LAT","LATINO","LATROBE","LAW","LAWYER","LB","LC","LDS","LEASE","LECLERC","LEFRAK","LEGAL","LEGO","LEXUS","LGBT","LI","LIDL","LIFE","LIFEINSURANCE","LIFESTYLE","LIGHTING","LIKE","LILLY","LIMITED","LIMO","LINCOLN","LINDE","LINK","LIPSY","LIVE","LIVING","LK","LLC","LLP","LOAN","LOANS","LOCKER","LOCUS","LOFT","LOL","LONDON","LOTTE","LOTTO","LOVE","LPL","LPLFINANCIAL","LR","LS","LT","LTD","LTDA","LU","LUNDBECK","LUXE","LUXURY","LV","LY","MA","MACYS","MADRID","MAIF","MAISON","MAKEUP","MAN","MANAGEMENT","MANGO","MAP","MARKET","MARKETING","MARKETS","MARRIOTT","MARSHALLS","MASERATI","MATTEL","MBA","MC","MCKINSEY","MD","ME","MED","MEDIA","MEET","MELBOURNE","MEME","MEMORIAL","MEN","MENU","MERCKMSD","MG","MH","MIAMI","MICROSOFT","MIL","MINI","MINT","MIT","MITSUBISHI","MK","ML","MLB","MLS","MM","MMA","MN","MO","MOBI","MOBILE","MODA","MOE","MOI","MOM","MONASH","MONEY","MONSTER","MORMON","MORTGAGE","MOSCOW","MOTO","MOTORCYCLES","MOV","MOVIE","MP","MQ","MR","MS","MSD","MT","MTN","MTR","MU","MUSEUM","MUSIC","MUTUAL","MV","MW","MX","MY","MZ","NA","NAB","NAGOYA","NAME","NATURA","NAVY","NBA","NC","NE","NEC","NET","NETBANK","NETFLIX","NETWORK","NEUSTAR","NEW","NEWS","NEXT","NEXTDIRECT","NEXUS","NF","NFL","NG","NGO","NHK","NI","NICO","NIKE","NIKON","NINJA","NISSAN","NISSAY","NL","NO","NOKIA","NORTHWESTERNMUTUAL","NORTON","NOW","NOWRUZ","NOWTV","NP","NR","NRA","NRW","NTT","NU","NYC","NZ","OBI","OBSERVER","OFFICE","OKINAWA","OLAYAN","OLAYANGROUP","OLDNAVY","OLLO","OM","OMEGA","ONE","ONG","ONL","ONLINE","OOO","OPEN","ORACLE","ORANGE","ORG","ORGANIC","ORIGINS","OSAKA","OTSUKA","OTT","OVH","PA","PAGE","PANASONIC","PARIS","PARS","PARTNERS","PARTS","PARTY","PASSAGENS","PAY","PCCW","PE","PET","PF","PFIZER","PG","PH","PHARMACY","PHD","PHILIPS","PHONE","PHOTO","PHOTOGRAPHY","PHOTOS","PHYSIO","PICS","PICTET","PICTURES","PID","PIN","PING","PINK","PIONEER","PIZZA","PK","PL","PLACE","PLAY","PLAYSTATION","PLUMBING","PLUS","PM","PN","PNC","POHL","POKER","POLITIE","PORN","POST","PR","PRAMERICA","PRAXI","PRESS","PRIME","PRO","PROD","PRODUCTIONS","PROF","PROGRESSIVE","PROMO","PROPERTIES","PROPERTY","PROTECTION","PRU","PRUDENTIAL","PS","PT","PUB","PW","PWC","PY","QA","QPON","QUEBEC","QUEST","RACING","RADIO","RE","READ","REALESTATE","REALTOR","REALTY","RECIPES","RED","REDSTONE","REDUMBRELLA","REHAB","REISE","REISEN","REIT","RELIANCE","REN","RENT","RENTALS","REPAIR","REPORT","REPUBLICAN","REST","RESTAURANT","REVIEW","REVIEWS","REXROTH","RICH","RICHARDLI","RICOH","RIL","RIO","RIP","RO","ROCHER","ROCKS","RODEO","ROGERS","ROOM","RS","RSVP","RU","RUGBY","RUHR","RUN","RW","RWE","RYUKYU","SA","SAARLAND","SAFE","SAFETY","SAKURA","SALE","SALON","SAMSCLUB","SAMSUNG","SANDVIK","SANDVIKCOROMANT","SANOFI","SAP","SARL","SAS","SAVE","SAXO","SB","SBI","SBS","SC","SCA","SCB","SCHAEFFLER","SCHMIDT","SCHOLARSHIPS","SCHOOL","SCHULE","SCHWARZ","SCIENCE","SCOT","SD","SE","SEARCH","SEAT","SECURE","SECURITY","SEEK","SELECT","SENER","SERVICES","SES","SEVEN","SEW","SEX","SEXY","SFR","SG","SH","SHANGRILA","SHARP","SHAW","SHELL","SHIA","SHIKSHA","SHOES","SHOP","SHOPPING","SHOUJI","SHOW","SHOWTIME","SI","SILK","SINA","SINGLES","SITE","SJ","SK","SKI","SKIN","SKY","SKYPE","SL","SLING","SM","SMART","SMILE","SN","SNCF","SO","SOCCER","SOCIAL","SOFTBANK","SOFTWARE","SOHU","SOLAR","SOLUTIONS","SONG","SONY","SOY","SPA","SPACE","SPORT","SPOT","SR","SRL","SS","ST","STADA","STAPLES","STAR","STATEBANK","STATEFARM","STC","STCGROUP","STOCKHOLM","STORAGE","STORE","STREAM","STUDIO","STUDY","STYLE","SU","SUCKS","SUPPLIES","SUPPLY","SUPPORT","SURF","SURGERY","SUZUKI","SV","SWATCH","SWISS","SX","SY","SYDNEY","SYSTEMS","SZ","TAB","TAIPEI","TALK","TAOBAO","TARGET","TATAMOTORS","TATAR","TATTOO","TAX","TAXI","TC","TCI","TD","TDK","TEAM","TECH","TECHNOLOGY","TEL","TEMASEK","TENNIS","TEVA","TF","TG","TH","THD","THEATER","THEATRE","TIAA","TICKETS","TIENDA","TIFFANY","TIPS","TIRES","TIROL","TJ","TJMAXX","TJX","TK","TKMAXX","TL","TM","TMALL","TN","TO","TODAY","TOKYO","TOOLS","TOP","TORAY","TOSHIBA","TOTAL","TOURS","TOWN","TOYOTA","TOYS","TR","TRADE","TRADING","TRAINING","TRAVEL","TRAVELCHANNEL","TRAVELERS","TRAVELERSINSURANCE","TRUST","TRV","TT","TUBE","TUI","TUNES","TUSHU","TV","TVS","TW","TZ","UA","UBANK","UBS","UG","UK","UNICOM","UNIVERSITY","UNO","UOL","UPS","US","UY","UZ","VA","VACATIONS","VANA","VANGUARD","VC","VE","VEGAS","VENTURES","VERISIGN","VERSICHERUNG","VET","VG","VI","VIAJES","VIDEO","VIG","VIKING","VILLAS","VIN","VIP","VIRGIN","VISA","VISION","VIVA","VIVO","VLAANDEREN","VN","VODKA","VOLKSWAGEN","VOLVO","VOTE","VOTING","VOTO","VOYAGE","VU","VUELOS","WALES","WALMART","WALTER","WANG","WANGGOU","WATCH","WATCHES","WEATHER","WEATHERCHANNEL","WEBCAM","WEBER","WEBSITE","WED","WEDDING","WEIBO","WEIR","WF","WHOSWHO","WIEN","WIKI","WILLIAMHILL","WIN","WINDOWS","WINE","WINNERS","WME","WOLTERSKLUWER","WOODSIDE","WORK","WORKS","WORLD","WOW","WS","WTC","WTF","XBOX","XEROX","XFINITY","XIHUAN","XIN","XN--11B4C3D","XN--1CK2E1B","XN--1QQW23A","XN--2SCRJ9C","XN--30RR7Y","XN--3BST00M","XN--3DS443G","XN--3E0B707E","XN--3HCRJ9C","XN--3PXU8K","XN--42C2D9A","XN--45BR5CYL","XN--45BRJ9C","XN--45Q11C","XN--4DBRK0CE","XN--4GBRIM","XN--54B7FTA0CC","XN--55QW42G","XN--55QX5D","XN--5SU34J936BGSG","XN--5TZM5G","XN--6FRZ82G","XN--6QQ986B3XL","XN--80ADXHKS","XN--80AO21A","XN--80AQECDR1A","XN--80ASEHDB","XN--80ASWG","XN--8Y0A063A","XN--90A3AC","XN--90AE","XN--90AIS","XN--9DBQ2A","XN--9ET52U","XN--9KRT00A","XN--B4W605FERD","XN--BCK1B9A5DRE4C","XN--C1AVG","XN--C2BR7G","XN--CCK2B3B","XN--CCKWCXETD","XN--CG4BKI","XN--CLCHC0EA0B2G2A9GCD","XN--CZR694B","XN--CZRS0T","XN--CZRU2D","XN--D1ACJ3B","XN--D1ALF","XN--E1A4C","XN--ECKVDTC9D","XN--EFVY88H","XN--FCT429K","XN--FHBEI","XN--FIQ228C5HS","XN--FIQ64B","XN--FIQS8S","XN--FIQZ9S","XN--FJQ720A","XN--FLW351E","XN--FPCRJ9C3D","XN--FZC2C9E2C","XN--FZYS8D69UVGM","XN--G2XX48C","XN--GCKR3F0F","XN--GECRJ9C","XN--GK3AT1E","XN--H2BREG3EVE","XN--H2BRJ9C","XN--H2BRJ9C8C","XN--HXT814E","XN--I1B6B1A6A2E","XN--IMR513N","XN--IO0A7I","XN--J1AEF","XN--J1AMH","XN--J6W193G","XN--JLQ480N2RG","XN--JVR189M","XN--KCRX77D1X4A","XN--KPRW13D","XN--KPRY57D","XN--KPUT3I","XN--L1ACC","XN--LGBBAT1AD8J","XN--MGB9AWBF","XN--MGBA3A3EJT","XN--MGBA3A4F16A","XN--MGBA7C0BBN0A","XN--MGBAAKC7DVF","XN--MGBAAM7A8H","XN--MGBAB2BD","XN--MGBAH1A3HJKRD","XN--MGBAI9AZGQP6J","XN--MGBAYH7GPA","XN--MGBBH1A","XN--MGBBH1A71E","XN--MGBC0A9AZCG","XN--MGBCA7DZDO","XN--MGBCPQ6GPA1A","XN--MGBERP4A5D4AR","XN--MGBGU82A","XN--MGBI4ECEXP","XN--MGBPL2FH","XN--MGBT3DHD","XN--MGBTX2B","XN--MGBX4CD0AB","XN--MIX891F","XN--MK1BU44C","XN--MXTQ1M","XN--NGBC5AZD","XN--NGBE9E0A","XN--NGBRX","XN--NODE","XN--NQV7F","XN--NQV7FS00EMA","XN--NYQY26A","XN--O3CW4H","XN--OGBPF8FL","XN--OTU796D","XN--P1ACF","XN--P1AI","XN--PGBS0DH","XN--PSSY2U","XN--Q7CE6A","XN--Q9JYB4C","XN--QCKA1PMC","XN--QXA6A","XN--QXAM","XN--RHQV96G","XN--ROVU88B","XN--RVC1E0AM3E","XN--S9BRJ9C","XN--SES554G","XN--T60B56A","XN--TCKWE","XN--TIQ49XQYJ","XN--UNUP4Y","XN--VERMGENSBERATER-CTB","XN--VERMGENSBERATUNG-PWB","XN--VHQUV","XN--VUQ861B","XN--W4R85EL8FHU5DNRA","XN--W4RS40L","XN--WGBH1C","XN--WGBL6A","XN--XHQ521B","XN--XKC2AL3HYE2A","XN--XKC2DL3A5EE0H","XN--Y9A3AQ","XN--YFRO4I67O","XN--YGBI2AMMX","XN--ZFR164B","XXX","XYZ","YACHTS","YAHOO","YAMAXUN","YANDEX","YE","YODOBASHI","YOGA","YOKOHAMA","YOU","YOUTUBE","YT","YUN","ZA","ZAPPOS","ZARA","ZERO","ZIP","ZM","ZONE","ZUERICH","ZW"].includes(n);return c("simpleEmailValidation: ","TLD search ".concat(r)),!1===r?{valid:!1,message:"Please enter a valid email domain."}:-1===["zzz.pl"].findIndex((function(e){return e===t.split("@")[1]}))?{valid:!0,message:"Valid"}:{valid:!1,message:"Please enter a valid email."}};window.simpleEmailValidation=g;window.validatePhoneNumber=function(t){return/^[0-9]([0-9 -])*[0-9]$/.test(t)};var w=function(t){try{window.dataLayer.push({event:t}),c("ANALYTICS: ".concat(t," event")),c("ANALYTICS: GA/ datalayer ",window.dataLayer)}catch(e){c("ANALYTICS: Failed to send ".concat(t," event: "),e)}};var M="#main .article-share ul",B=".dropdown-menu .account-settings",m="#push-account-link",G=".nav-wrapper-secondary .article-share ul",v=function(t,e){var n=t,r=document.getElementById("article-share-copy-link-text".concat(e));"COPIED!"!==t&&(document.getElementById("article-share-copy-btn".concat(e)).disabled=!0);c("article sharing: user message inside share button: ",t,e),document.getElementById("articleCopyLinkSpinner".concat(e)).setAttribute("style","display:none"),document.getElementById("article-share-copy-btn".concat(e)).classList.remove("spinner-pad"),document.getElementById("articleCopyLinkSpinner".concat(e)).classList.remove("spring-spinner-mar"),document.getElementById("article-share-copy-link-text".concat(e)).setAttribute("style","display:inline;"),r.innerHTML="COPIED!"===t?"".concat(n,' \n\t\n\t'):t},y=function(){var e=r(a().mark((function e(n){var r,i,o,s,l;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(localStorage.getItem("__MNG_Session")||"undefined"==typeof MNGAuthentication){e.next=6;break}return c("Article Sharing: no cookie found state: ",MNGAuthentication.isUserSubscriber(),"undefined"==typeof MNGAuthentication?"undefined":t(MNGAuthentication),t(MNGAuthentication.isUserSubscriber)),c("Article Sharing: awaiting auth event "),e.next=5,window.MNGAuthentication.init();case 5:c("Article Sharing: auth event complete - is user subscriber ",MNGAuthentication.isUserSubscriber(),"undefined"==typeof MNGAuthentication?"undefined":t(MNGAuthentication),t(MNGAuthentication.isUserSubscriber));case 6:if(null===localStorage.getItem(h)||"{}"===localStorage.getItem(h)){e.next=30;break}if(r=JSON.parse(localStorage.getItem(h)),(i=p(d))||(i=p(N)),o={},c("article sharing: checking session object",r.entitlementToken),i||null!==r.idToken&&null!==r.entitlementToken){e.next=15;break}return v('Error: please logout and back in again',n),e.abrupt("return",!1);case 15:if(!r.idToken||!r.entitlementToken||r.idToken.includes(S)){e.next=22;break}o=R(r.idToken),s=R(r.entitlementToken),c("Article sharing: sessionID ",o),c("Article sharing: sessionEntitlements ",s),e.next=27;break;case 22:if(!(i&&i.length>1&&r.entitlementToken)){e.next=26;break}o.sub=i,e.next=27;break;case 26:return e.abrupt("return",!1);case 27:return l={uuid:o.sub},c("Article sharing: get user UUID",l.uuid),e.abrupt("return",l);case 30:return c("Article sharing: user doesn't appear to be logged in"),v('Error: please logout and back in again',n),e.abrupt("return",!1);case 33:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=function(){var t=r(a().mark((function t(e){var n,i,s,l,A;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y(e);case 2:return n=t.sent,i=o.entitlementsApiKey,s="".concat(o.entitlementsEndpoint,"articleSharing/checkRemaining"),c("Article sharing: api data: ",i),l={uid:n.uuid},A=function(){var t=r(a().mark((function t(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c("Article sharing: updaing article count everythwere with ",e),document.querySelectorAll(".article-share-count").forEach((function(t){c("article sharing: updated article count! ",t),t.innerHTML=e})),c("Article sharing: update finished, return true"),t.abrupt("return",!0);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c("Article sharing: articles remaining api body: ",l),t.abrupt("return",$.ajax({type:"POST",url:s,headers:{"X-Api-Key":o.entitlementsApiKey},data:JSON.stringify(l),success:function(){var t=r(a().mark((function t(e){var n;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c("Article sharing: checkRemaining response: successful: ",e.remaining),n="10",n="This user does not exists in the databse. Return 10 for sharesRemaining."===e.remaining?"10":e.remaining,t.next=5,A(n);case 5:return t.abrupt("return",!0);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),error:function(){var t=r(a().mark((function t(e,n,r){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c("Article sharing: checkRemaining Failure: ",r),t.next=3,A("Error, reload page");case 3:case"end":return t.stop()}}),t)})));return function(e,n,r){return t.apply(this,arguments)}}()}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),U=function(){var t=r(a().mark((function t(e){var n,r,i,s,l,A,u,E,d,N;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return A=function(t){for(var e="",n=s.replace(/[^0-9a-zA-Z]+/gm,""),r=n.length,i=0;i "),c("Article sharing: dropdown content: ",s),n.insertAdjacentHTML("beforebegin",s),i.insertAdjacentHTML("beforebegin",s),""!==(l=b(window.article_config.article_sharing_faq)?window.article_config.article_sharing_faq:"")&&(A='?'),null==(u=document.querySelectorAll(".article-share-h6"))||u.forEach((function(t){t.insertAdjacentHTML("beforeend",A)})));case 21:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),P=function(t){var e,n=document.getElementById("share-icon-position".concat(t));"rgba(0, 0, 0, 0)"===window.getComputedStyle(document.querySelector("li.share-article")).backgroundColor?(n.classList.add("article-share-icon-invert"),e=window.getComputedStyle(document.getElementById("page")).getPropertyValue("--primary")):e="white";var r='\n\t\t\n\t\t'),i=window.btoa(r),a="url(data:image/svg+xml;base64,".concat(i,")");return n.style.background=a,"url(data:image/svg+xml;base64,".concat(i,")")},X=function(t){t.classList.contains("article-share-fixed")&&t.classList.remove("article-share-fixed")};document.addEventListener("scroll",(function(){var t=document.querySelector(".share-box-position0");t&&t.classList.contains("show-article-sharing")&&(window.scrollY>=228?X(t):t.classList.contains("article-share-fixed")||t.classList.add("article-share-fixed"))}));var F=function(){var t=r(a().mark((function t(e){var n,i,o,s,l,A,u,E,d;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c("Article sharing: build menu here"),t.next=3,L();case 3:if(c(" Article Sharing: Build sharing menuz!"),n="",i=function(){var t=r(a().mark((function t(r){var i,o,s,l,A;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(w("articleshare-openui"),i=document.getElementById("share-box-position".concat(r)),c("Article Sharing: i clicked this ",i,r),o=document.getElementById(i.id),c("article sharing: look for this box: ",i),i.classList.contains("show-article-sharing")||(c("article sharing: box already open, do not show spinner"),document.getElementById("articleShareBtnSpinner".concat(r)).setAttribute("style","display:block"),document.getElementById("share-icon-position".concat(r)).setAttribute("style","display:none!important;")),s=!1,e&&!i.classList.contains("show-article-sharing")){t.next=11;break}s=!0,t.next=20;break;case 11:return t.prev=11,t.next=14,D(r);case 14:s=t.sent,t.next=20;break;case 17:t.prev=17,t.t0=t.catch(11),c("Article share article count api error");case 20:c("article sharing: api request done, show results ",s),document.getElementById("share-icon-position".concat(r)).setAttribute("style","background:".concat(n,"; display:block!important;")),document.getElementById("articleShareBtnSpinner".concat(r)).setAttribute("style","display:none"),i.classList.toggle("show-article-sharing"),o.classList.toggle("show"),0===r&&(a=void 0,(a=i.getBoundingClientRect()).top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)||i.classList.add("article-share-fixed")),l=document.querySelector("#article-share-position".concat(r," .article-share-link")),c("article sharing: accessible ",l),A=o.classList.contains("show"),c("article sharing: box isOpen ",A),A||(o.setAttribute("aria-expanded","false"),l.setAttribute("aria-press","false")),A&&(o.setAttribute("aria-expanded","true"),l.setAttribute("aria-press","true")),s.remaining<=0&&(c("article share: user out of free views ",s),v("No more shares left",r));case 34:case"end":return t.stop()}var a}),t,null,[[11,17]])})));return function(e){return t.apply(this,arguments)}}(),o='\n\tGet Share Link\n\t\n\t\n\t',s=function(t){var n=document.getElementById("share-box-position".concat(t));if(n&&n.classList.contains("show-article-sharing")){var r=document.getElementById("article-share-copy-link-text".concat(t));e&&r&&(r.innerHTML=o),i(t,"close"),0===t&&X(n)}},l=function(t,e){e.addEventListener("click",(function(){s(t)}))},window.addEventListener("click",(function(t){var n=t.target,r=n.closest(".article-share-link"),i=n.closest("#share-box-position0");if(null===(i&&i.classList.contains("show-article-sharing"))&&null===r&&s(0),e){var a=n.closest("#share-box-position1");null===(a&&a.classList.contains("show-article-sharing"))&&null===r&&s(1)}})),A=function(){var t=r(a().mark((function t(r){var s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,C("Page Title");case 2:s=t.sent,r.map((function(t,r){c("Article sharing: create button for this: ",t,r);var a=document.createElement("li");a.className="share-article",a.id="article-share-position".concat(r),a.setAttribute("tabindex","0");var A=document.createElement("button");A.className="article-share-link",A.setAttribute("aria-pressed","false"),A.setAttribute("aria-controls","share-box-position".concat(r)),A.setAttribute("aria-label","Article Sharing Button"),A.setAttribute("tabindex","0"),a.append(A);var u=document.createElement("span");u.style.display="none",u.classList.add("spring-spinner"),u.id="articleShareBtnSpinner".concat(r),u.innerHTML='\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t
';var E=document.querySelector("li.share-facebook"),d=window.getComputedStyle(E),N=document.createElement("span");c("article sharing: share icon color: ",d.backgroundColor),"rgba(0, 0, 0, 0)"===d.backgroundColor&&u.classList.add("spring-spinner-invert"),A.append(u),N.id="share-icon-position".concat(r),N.className="article-share-icon";var h=document.createElement("span");h.className="sharing-screen-reader-text",h.innerHTML="Click to share a free article with a friend",a.append(h),t.appendChild(a),A.append(N),n=P(r);var S=document.createElement("div");S.id="share-box-position".concat(r),S.className="article-share-box share-box-position".concat(r);var I,p="GIFT THIS ARTICLE",O='You have '.concat("10"," gift articles remaining this month");c(I=s),c("article sharing article title: ",I);var R=document.location.host;!1===e?(S.classList.add("no-share"),O='Subscibers get '.concat("10"," gift articles each month"),S.innerHTML='\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
').concat(p,"
\n\t\t\t\t\t
What is article sharing?
\n\t\t\t\t\t

Subscribers are entitled to 10 gift sharing articles each month. These can be shared with friends and family who are not subscribers.

\n\t\t\t\t\t\n\t\t\t\t\t

Subscribe now! or log in to your account.

\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t')):S.innerHTML='\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t
').concat(p,"
\n\t\t\t\t\t
").concat(O,"
\n\t\t\t\t\t

").concat(I,"

\n\t\t\t\t\t\n\t\t\t\t\t
Copy the link
\n\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t'),t.appendChild(S);var T=document.getElementById("article-share-position".concat(r));T.addEventListener("click",(function(){i(r,"open")})),T.addEventListener("keydown",(function(t){"q"===t.key&&i(r,"open")}));var L=document.getElementById("article-share-close".concat(r));l(r,L);var C=document.getElementById("cancel-button".concat(r));return l(r,C),document.getElementById("article-share-copy-btn".concat(r)).addEventListener("click",(function(){K(r)})),"done"}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),u=[document.querySelector(M),document.querySelector(G)],c("article sharing: target elements are ",u),u.filter((function(t){return null!==t})).length!==u.length){t.next=17;break}return t.next=17,A(u);case 17:if(c("Article Sharing: appending sticky nav too"),!e){t.next=25;break}return t.next=21,H();case 21:(E=document.querySelectorAll("#article-share-dropdown-article-page"))&&E.forEach((function(t){t.addEventListener("click",(function(){i(0,"open")}))})),(d=document.querySelector(".border-container #push-account-content #article-share-dropdown-article-page"))&&d.addEventListener("click",(function(){document.getElementById("digisubs-toggle").click()}));case 25:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),K=function(){var t=r(a().mark((function t(e){var n,r,i;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,U(e);case 2:return n=t.sent,t.next=5,C("URL");case 5:if(r=t.sent,c("Article sharing: check article endpoint response: successful: ",n),n.sharedCode&&"null"!==n.sharedCode&&void 0!==n.sharedCode){t.next=11;break}v("Network error, try again",e),t.next=16;break;case 11:return v("COPIED!",e),i="".concat(r,"?share=").concat(n.sharedCode),navigator.clipboard.writeText(i).then((function(){c("Article sharing: URL copied!")})),t.next=16,D(e);case 16:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),k=function(){var t=r(a().mark((function t(){var e,n,r,i,s;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return window.MNGAuthentication=window.MNGAuthentication||{},window.MNGAuthentication.articleShareConvo=!1,window.MNGAuthentication.articleShare="",c("article sharing: code check: checking free artricle code"),e=window.location.search,n=new URLSearchParams(e),t.next=8,C("Content ID");case 8:return r=t.sent,t.next=11,O();case 11:if(i=t.sent,c("article sharing: code check: url params array ",n.getAll("share")),0!==n.getAll("share").length){t.next=15;break}return t.abrupt("return",!1);case 15:return window.MNGAuthentication.articleShareConvo=!0,s=n.getAll("share"),w("articleshare-readingshare"),c("Article sharing: code check: check share code: ",s),o.entitlementsApiKey,"".concat(o.entitlementsEndpoint,"articleSharing/checkArticleSharedLink"),{articleName:r,publication:i,code:s[0]},w("articleshare-readshare-verified"),c("Article sharing: temp fix, let reader through"),window.MNGAuthentication.articleShare="sharing",t.abrupt("return",!0);case 26:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();(function(){var t=r(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("undefined"==typeof MNGAuthentication||"function"!=typeof MNGAuthentication.isUserSubscriber||!MNGAuthentication.isUserSubscriber()){t.next=15;break}return c("article sharing: subscriber, show sharing tool"),t.next=4,f();case 4:if(e=t.sent,c("article sharing: page type is ",e),"article"!==e){t.next=11;break}return t.next=9,F(!0);case 9:t.next=13;break;case 11:return t.next=13,H();case 13:t.next=20;break;case 15:return c("article sharing: not a subscriber, show marketing message and check for share code"),t.next=18,k();case 18:return t.next=20,F(!1);case 20:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}})()()})()})(); //# sourceMappingURL=mng-digisubs.articleShare.bundle.js.map;