define("net.comcast/core/register",["io.ox/core/extensions"],function(a){"use strict";if(require(["gettext!com.xfinity/i18n"],function(a){try{$("div.throbber").css("top","40%"),$("div.throbber").prepend('
'+a("Welcome to Xfinity Connect")+'
'+a("We are now loading your email")+"
")}catch(b){console.error("There was an to append the info before throbber loading: ",b)}}),ox.serverConfig.openidURL){ox.off("login:fail:session-based");var b=function(){var a={};_.url.hash("app")&&(a.uiState="#&app="+_.url.hash("app"));try{a.verifier=_.url.hash("inviteCode")}catch(b){}try{a.tzOffset=""+6e4*-(new Date).getTimezoneOffset()}catch(b){}try{a.lesssecure=_.url.hash("less_secure")}catch(b){}try{a.failureCount=_.url.hash("xfFailureCount")}catch(b){}try{a.newUser=_.url.hash("user_status")}catch(b){}try{a=btoa(JSON.stringify(a))}catch(b){a=""}var c=ox.serverConfig.openidURL;return a&&c&&-1===c.indexOf("custom_error")&&(c+="&state="+a),$.get("/appsuite/api/comcast/openid?action=recordRedirect").always(function(){_.url.redirect(c)})},c=ox.trigger;ox.trigger=function(a){return"relogin:required"===a?void b():c.apply(ox,$.makeArray(arguments))},a.point("io.ox/core/boot/login").extend({id:"openid-comcast",before:"default",login:b})}});
/* :oxoptions: null :/oxoptions: */
/*:oxsep:*/