1var j2w=j2w||{}; 2j2w.Apply=function(){var f={},h=!1,g="";return{init:function(a){h?a=!1:(f=a,a=h=!0);return a},Args:{get:function(a){return j2w.Args.get(a,f)}},isUseOnPageBusinessCard:function(){return j2w.Args.get("useOnPageBusinessCard",f)},getPreApplyServiceURL:function(){return"/services/applycontroller/apply/"},getSocialSource:function(){return g},setSocialSource:function(a){switch(a){case "li":case "xi":case "sk":g=a;break;default:g=""}},applyDestinationHelper:function(a,c){var b=[],d="";"string"===typeof c.email&& 3c.email.length&&b.push("email="+c.email);b.length&&(d=b.join("&"),d=-1===a.indexOf("?")?"?"+d:"&"+d,-1!==a.indexOf("#")?(b=a.split("#"),a=b[0]+d+"#"+b[1]):a+=d,-1!==a.indexOf("?&")&&(a=a.replace("?&","?")));return a},countApplyGoToJob:function(a){j2w.xhrRequest=$.ajax({type:"GET",url:"/services/user/apply",data:{jobid:a},dataType:"json",error:function(a,b,d){j2w.Util.recoverFromAjaxError(a)},success:function(a){j2w.Apply.setApplyID(a.applyid);j2w.Apply.goToJob()}})},goToApply:function(a,c,b){if(null!== 4b){a=!("boolean"!==typeof a||!0!==a);c=c||{};var d={},e="/talentcommunity/apply/"+b+"/";j2w.Apply.Args.get("locale")&&j2w.Apply.Args.get("locale").length&&(e+="?locale="+j2w.Apply.Args.get("locale"));0<b&&(e+="&jobID="+b);"object"===typeof j2w.SAB&&j2w.SAB.email&&j2w.SAB.email.length?d.email=j2w.SAB.email:c.hasOwnProperty("email")&&(d.email=c.email);e+="#tracked";b=j2w.Util.needToSwitchToSSL()?"https://"+window.location.host+e:e;null!=c&&"object"===typeof c&&(b=j2w.Apply.applyDestinationHelper(b, 5c));b=j2w.Util.removeQueryStringParameter("email",b);a&&history.replaceState({},null,b);$.redirectPost(b,d)}},goToJob:function(a){var c=[],b=j2w.Apply.getPreApplyServiceURL();"number"===typeof j2w.applyID?c.push("applyid="+j2w.applyID):j2w.Apply.Args.get("jobID")&&c.push("jobid="+j2w.Apply.Args.get("jobID"));c.length&&(b+="?"+c.join("&"));a&&a.hasOwnProperty("openInNewWindow")&&!0===a.openInNewWindow?(a=window.open(),a.opener=null,a.location=b):document.location.href=b},handleApplyNowButton:function(a){var c= 6"undefined"===typeof a.handler&&"boolean"===typeof a.custom&&!0===a.custom?a:void 0;j2w.Util.eventPreventer(a);if(j2w.Util.getCheckCookie()){if(j2w.Apply.Args.get("jobID")&&(!window.j2w.applyInProgress||j2w.SAB))switch(window.j2w.applyInProgress=!0,"undefined"!==typeof $gaApply&&TrackGoogleAnalytics($gaApply.link,$gaApply.id,$gaApply.value,$gaApply.name,$gaApply.group,$gaApply.site),j2w.Args.get("useCASWorkflow")){case !0:c={emailAddress:j2w.SAB?j2w.SAB.email:"",action:"apply",socialSrc:"",sourceId:j2w.Apply.Args.get("sourceId")}; 7j2w.TC.collectForCASWorkflow(c);break;default:if(j2w.Apply.Args.get("subscribeAtApply")){var b=j2w.Apply.Args.get("jobID");j2w.xhrRequest=$.ajax({type:"GET",url:"/services/security/loginstatus/",dataType:"json",error:function(a,b,c){j2w.Util.recoverFromAjaxError(a)},success:function(a){a.success?j2w.SSO&&j2w.SSO.isEnabled()&&j2w.SSO.ready||(j2w.Args.get("dpcsStateValid")?j2w.Apply.countApplyGoToJob(b):j2w.Apply.isUseOnPageBusinessCard()?j2w.SSO.openOPBC():j2w.Apply.goToApply(!1,c,j2w.Apply.Args.get("jobID"))): 8j2w.SSO&&(j2w.SSO.isEnabled()&&j2w.SSO.ready||j2w.Apply.isUseOnPageBusinessCard())?j2w.SSO.start():(j2w.SAB&&j2w.SAB.email&&("object"!==typeof c&&(c={}),c.email=j2w.SAB.email),j2w.Apply.goToApply(!1,c,j2w.Apply.Args.get("jobID")))}})}else j2w.Apply.goToJob()}}else switch(j2w.Args.get("useCASWorkflow")){case !0:c={emailAddress:j2w.SAB.email,action:"apply",socialSrc:"",sourceId:j2w.Apply.Args.get("sourceId")};j2w.TC.collectForCASWorkflow(c);break;default:j2w.Apply.goToJob()}},setApplyID:function(a){j2w.applyID= 9parseInt(a)},isExistingMember:function(a,c,b){j2w.Validation.isStringWithContent(a)||"function"!==typeof b?j2w.xhrRequest=$.ajax({type:"POST",url:"/services/security/validateemail/",data:{email:a},dataType:"json",error:function(a,b,c){j2w.Util.recoverFromAjaxError(a)},success:function(a){if(a.rmk8&&"function"===typeof c)c();else{if(a.rmk8||"function"!==typeof b)return a.rmk8;b()}}}):b()}}}();if("object"!==typeof startupArgs)var startupArgs={};$.extend(j2w.Apply,startupArgs);$(".dialogApplyBtn").click(j2w.Apply.handleApplyNowButton); 10$(".dialogApplyBtn").bind("contextmenu",function(f){return!1});
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.