Help

"use strict";var Event=require("./libs/event.js"),Utils=require("./libs/utils.js");!function(){Event.addEvent(document,"click",function(t){var e=t.target||t.srcElement;switch(e.tagName){case"A":break;case"INPUT":case"BUTTON":if("submit"!==e.getAttribute("type"))return;window.lastClickedSubmitButton=e;break;default:return}Utils.isOnline()||(t.preventDefault(),t.stopPropagation(),e.blur(),Utils.showNetworkError())})}(); },{"./libs/event.js":6,"./libs/utils.js":10}],2:[function(require,module,exports){ "use strict";!function(r){var e,i=r.comscoreBeaconUrl,t=r.document;i&&(t.images?(e=new Image(1,1),e.src=i,e.setAttribute("referrerpolicy","origin")):t.write("<","p","><",'img src="',i,'" height="1" width="1" alt="*" referrerpolicy="origin"',"><","/p",">"))}(window); },{}],3:[function(require,module,exports){ "use strict";var events=require("./libs/event.js"),dom=require("./libs/dom.js"),utils=require("./libs/utils.js");!function(e){function n(){return(new Date).getTime()}function t(){if(!L){var e=D&&$sf.host.get(g)||I&&$sf.host.get(A)||h&&$sf.host.get(v),n=document.getElementById("login-info-box"),t=document.getElementsByTagName("body");e||(n&&(n.style.display="block"),t&&dom.addClass(t[0],"dark-bg")),L=!0}}function o(){var e=!1;try{e=DARLA.prefetched()||!1}catch(n){e=!1}return e}function r(e){return e&&e.length||0}function i(e){var i=o(),d=r(i),l=!1,s=n(),c="";if(0===d&&!1===i)return void t();e?(c=i.join(","),-1===c.indexOf(e)||DARLA.inProgress()||(l=DARLA.render(e))):d&&!DARLA.inProgress()&&(l=DARLA.render(i)),l||u(s)}function u(e){r(o())?y&&y>R&&e>y?(DARLA.render.RenderMgr.nuke(g),DARLA.render.RenderMgr.nuke(A),DARLA.render.RenderMgr.nuke(v),DARLA.abort(),t()):setTimeout(i,10):D||I||h||t()}function d(){if(null!==p){try{e.clearInterval(p);var n=document.getElementById("login-info-box");"on"===utils.getAdBlockerState()&&n&&(n.style.display="block")}catch(e){return!1}p=null}}function l(){if(s.positions.RICH&&s.positions.RICH.timeout){var t=e.pageStartTime,o=n()-t,r=s.positions.RICH.timeout;return null!==b?void d():o>=r?void d():void(null===p&&(p=e.setInterval(l,100)))}}var s=e.darlaConfig,c=s&&s.url;if(s){var a=document.getElementById("login-ad-rich"),f=document.getElementById("login-ad-mon"),m=document.getElementById("login-ad-sky");if(a&&f&&m){var g="RICH",A="MON",v="SKY",R=null,y=null,b=null,D=!1,I=!1,h=!1,L=!1;delete s.url,s.renderTimeout=18e3,s.onFinishParse=function(){},s.onFailure=function(){i()},s.onRenderTimeout=function(){i()},s.onFinishPosRender=function(e,t,o){o&&e&&e===g&&!D&&(D=!0,b=n()),o&&e&&e===A&&!I&&(I=!0,b=n()),o&&e&&e===v&&!h&&(h=!0,b=n())},s.onSuccess=function(){setTimeout(i,10)};var p=null;events.addEvent(document,"DOMContentLoaded",function(){e.DARLA_CONFIG=s,R=n(),y=R+18e3,l();var t=document.createElement("script");t.setAttribute("src",c),document.body.appendChild(t)})}}}(window); },{"./libs/dom.js":5,"./libs/event.js":6,"./libs/utils.js":10}],4:[function(require,module,exports){ "use strict";function Ajax(){}Ajax.prototype.send=function(e,t,s,r){this._xhr=new XMLHttpRequest||new window.ActiveXObject("Microsoft.XMLHTTP");var n,h=this;n=s.body,this._xhr.open(e,t,!0),"POST"===e&&this._xhr.setRequestHeader("content-type","application/x-www-form-urlencoded; charset=UTF-8"),s.bucket&&this._xhr.setRequestHeader("bucket",s.bucket),this._xhr.setRequestHeader("X-Requested-With","XMLHttpRequest"),this._xhr.onreadystatechange=function(){if(4===h._xhr.readyState){var e={statusCode:h._xhr.status,responseText:h._xhr.responseText};return void r(null,e)}},this._xhr.send(n)},module.exports=Ajax; },{}],5:[function(require,module,exports){ "use strict";var testObj=document.getElementsByTagName("body")[0],hasClassList="classList"in testObj,domLib={containsClass:function(s,a){return s.classList.contains(a)},addClass:function(s,a){this.containsClass(s,a)||s.classList.add(a)},removeClass:function(s,a){this.containsClass(s,a)&&s.classList.remove(a)},replaceClass:function(s,a,t){this.containsClass(s,a)&&s.classList.remove(a),s.classList.add(t)}};hasClassList||(domLib={containsClass:function(s,a){return new RegExp("(?:^|\\s+)"+a+"(?:\\s+|$)").test(s.className)},addClass:function(s,a){if(!this.containsClass(s,a)){var t=s.className;s.className=t?[t,a].join(" "):a}},removeClass:function(s,a){if(this.containsClass(s,a)){var t=s.className;s.className=t.replace(new RegExp("(?:^|\\s+)"+a+"(?:\\s+|$)","g"),"")}},replaceClass:function(s,a,t){var n=s.className;this.containsClass(s,a)&&(n=n.replace(new RegExp("(?:^|\\s+)"+a+"(?:\\s+|$)","g"),"")),s.className=n?[n,t].join(" "):t}}),module.exports=domLib; },{}],6:[function(require,module,exports){ "use strict";var events={};document.addEventListener&&(document.addEventListener("touchstart",function(){},!1),events.addEvent=function(n,e,t){var c=[].slice.call(arguments,3);n.addEventListener(e,function(n){t.apply(this,[n].concat(c))},!1)}),"createEvent"in document&&(events.fireOnChange=function(n){var e=document.createEvent("HTMLEvents");e.initEvent("change",!1,!0),n.dispatchEvent(e)}),function(){events.addEvent||(events.addEvent=function(n,e,t){var c=[].slice.call(arguments,3);document.attachEvent&&n.attachEvent("on"+e,function(n){t.apply(this,[n].concat(c))})}),events.fireOnChange||(events.fireOnChange=function(n){n.fireEvent("onchange")})}(),module.exports=events; },{}],7:[function(require,module,exports){ "use strict";function getFieldValue(e){var t,i,s;if(e.name&&!e.disabled)switch(i=encodeURIComponent(e.name)+"=",s=encodeURIComponent(e.value),e.type){case"select-one":return e.selectedIndex>-1&&(t=e.options[e.selectedIndex],i+encodeURIComponent(t.attributes.value&&t.attributes.value.specified?t.value:t.text));case"radio":case"checkbox":if(e.checked)return i+s;case"select-multiple":case"file":case"reset":case"button":case void 0:return!1;case"submit":if(e!==window.lastClickedSubmitButton)return!1;default:return i+s}return!1}function serializeFormFields(e){var t,i,s=[],l=e&&e.elements.length||0;for(i=0;i'+n+""),o}function showErrorMessageOnAjax(e,r,t){var o,n=document.getElementById(r),s=document.getElementById(t);n&&e.render&&e.render.error&&(n.setAttribute("data-error",e.render.error),(o=getErrorStringFromMessageTbl(e.render.error,e.intl.messages,{helpUrl:"messages.ERROR_INVALID_COOKIE"===e.render.error&&e.render.cookieHelpUrl,helpTextId:e.render.cookieHelpTextId}))&&(n.innerHTML=o.replace(searchLastWordRegex," $1"),Dom.removeClass(n,"hide"),s&&Dom.addClass(s,"field-error")))}function hideErrorMessage(e,r){var t=document.getElementById(e),o=document.getElementById(r);t&&(t.setAttribute("data-error",""),Dom.addClass(t,"hide")),o&&Dom.containsClass(o,"field-error")&&(o.setAttribute("aria-invalid","false"),Dom.removeClass(o,"field-error"))}function isOnline(){var e=!0;return navigator&&void 0!==navigator.onLine&&(e=navigator.onLine),void 0!==window.onLineStatus?window.onLineStatus:e}function showNetworkError(){var e=document.getElementById("error-offline");e&&Dom.removeClass(e,"hide")}function endsWith(e,r){return e.slice(-r.length)===r}function cleanUpUrl(e){return e.replace("&&","&").replace("?&","?").replace(REGEX_CLEANUP_URL,"")}function getAdBlockerState(){var e,r=document.getElementById("ad");return window.getComputedStyle&&r?(e=window.getComputedStyle(r,null),"none"===e.getPropertyValue("display")?"on":"off"):"unknown"}var Dom=require("./dom.js"),searchLastWordRegex=/[\s]([\w]+[.,!\:;\\"\-?]{0,1})$/,KEYMAP={ENTER_KEY:13,BACKSPACE_KEY:8,IOS_SIMULATOR_BS:0,ANDROID_PLACEHOLDER:229},REGEX_CLEANUP_URL=/&$/;module.exports={KEYMAP:KEYMAP,isOnline:isOnline,showNetworkError:showNetworkError,showErrorMessageOnAjax:showErrorMessageOnAjax,hideErrorMessage:hideErrorMessage,endsWith:endsWith,cleanUpUrl:cleanUpUrl,getAdBlockerState:getAdBlockerState}; },{"./dom.js":5}],11:[function(require,module,exports){ "use strict";var fcLogout=document.getElementById("frontchannel-logout");if(fcLogout){var fcFrames=fcLogout.getElementsByClassName("fc-iframes"),noOfFrames=fcFrames.length,index,loadedFrames=0,loaded=function(){(loadedFrames+=1)===noOfFrames&&(window.location=fcLogoutDone)};for(index=0;index-1&&Event.addEvent(document,"DOMContentLoaded",function(){var n=Utils.cleanUpUrl(v.replace("aembed=1",""));E=!0,u.disabled=!0,(new Ajax).send("GET",n,{bucket:m},function(t,o){var r,i,a;try{if(r=JSON.parse(o.responseText),r.location)return void(e.location.href=r.location);i=document.getElementsByName("sessionIndex")[0],a=document.getElementsByName("acrumb")[0],i.value=r.render.challenge.sessionIndex,a.value=r.render.challenge.acrumb}catch(t){return void(e.location.href=n)}E=!1,u.disabled=!1})}))}(window); },{"./libs/ajax.js":4,"./libs/dom.js":5,"./libs/event.js":6,"./libs/form.js":7,"./libs/inline-country-dropdown.js":8,"./libs/utils.js":10}]},{},[1,2,3,4,5,6,7,8,9,10,11,12]) //