PageSourceSearch

https://www.skadden.com/bundles/standardform?v=8uZNK4h-lobvs7AZdtm7TT9dGhvJl1XXJYI2nXt3AdI1

js skadden.com collected 2026-09-24 08:37:20 UTC 13,533 bytes, 1 lines download raw bytes

1function n(){n=function(){};l.Symbol||(l.Symbol=p)}function q(){n();var t=l.Symbol.iterator;t||(t=l.Symbol.iterator=l.Symbol("iterator"));"function"!=typeof Array.prototype[t]&&k(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return u(this)}});q=function(){}}function u(n){var t=0;return v(function(){return t<n.length?{done:!1,value:n[t++]}:{done:!0}})}function v(n){return q(),n={next:n},n[l.Symbol.iterator]=function(){return this},n}function w(t){q();n();q();var i=t[Symbol.iterator];return i?i.call(t):u(t)}var g,k="function"==typeof Object.defineProperties?Object.defineProperty:function(n,t,i){n!=Array.prototype&&n!=Object.prototype&&(n[t]=i.value)},l="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,p=function(){var n=0;return function(t){return"jscomp_symbol_"+(t||"")+n++}}(),H,K;if(!window.FormData||!window.FormData.prototype.keys){var x=function(n,t,i){if(2>arguments.length)throw new TypeError("2 arguments required, but only "+arguments.length+" present.");return t instanceof Blob?[n+"",t,void 0!==i?i+"":"string"==typeof t.name?t.name:"Blob"]:[n+"",t+""]},y=function(n){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");return[n+""]},A=function(n){var t=w(n);return n=t.next().value,t=t.next().value,n instanceof Blob&&(n=new File([n],t,{type:n.type,lastModified:n.lastModified})),n},B=window.FormData,C=window.XMLHttpRequest.prototype.send,D=window.Request&&window.fetch;n();var E=window.Symbol&&Symbol.toStringTag,F=new WeakMap,G=Array.from||function(n){return[].slice.call(n)};E&&(Blob.prototype[E]||(Blob.prototype[E]="Blob"),"File"in window&&!File.prototype[E]&&(File.prototype[E]="File"));try{new File([],"")}catch(b){window.File=function(n,t,i){return n=new Blob(n,i),i=i&&void 0!==i.lastModified?new Date(i.lastModified):new Date,Object.defineProperties(n,{name:{value:t},lastModifiedDate:{value:i},lastModified:{value:+i},toString:{value:function(){return"[object File]"}}}),E&&Object.defineProperty(n,E,{value:"File"}),n}}H=function(n){var t,r,i;if(F.set(this,Object.create(null)),!n)return this;for(n=w(G(n.elements)),t=n.next();!t.done;t=n.next())if(t=t.value,t.name&&!t.disabled)if("file"===t.type)for(r=w(t.files),i=r.next();!i.done;i=r.next())this.append(t.name,i.value);else if("select-multiple"===t.type||"select-one"===t.type)for(r=w(G(t.options)),i=r.next();!i.done;i=r.next())i=i.value,i.selected&&this.append(t.name,i.value);else"checkbox"===t.type||"radio"===t.type?t.checked&&this.append(t.name,t.value):this.append(t.name,t.value)};g=H.prototype;g.append=function(n,t,i){var r=F.get(this);r[n]||(r[n]=[]);r[n].push([t,i])};g["delete"]=function(n){delete F.get(this)[n]};g.entries=function(){function s(s,c,a){for(;;)switch(n){case 0:o=F.get(l);u=[];e=o;for(t in e)u.push(t);r=0;case 1:if(!(r<u.length)){n=3;break}if(t=u[r],t in e){n=4;break}n=2;break;case 4:f=w(o[t]);i=f.next();case 5:if(i.done){n=7;break}return h=i.value,n=8,{value:[t,A(h)],done:!1};case 8:if(1!=s){n=9;break}n=-1;throw a;case 9:case 6:i=f.next();n=5;break;case 7:case 2:r++;n=1;break;case 3:n=-1;default:return{value:void 0,done:!0}}}var n=0,h,i,f,t,e,r,u,o,l=this,c={next:function(n){return s(0,n,void 0)},"throw":function(n){return s(1,void 0,n)},"return":function(){throw Error("Not yet implemented");}};return q(),c[Symbol.iterator]=function(){return this},c};g.forEach=function(n,t){for(var r,u=w(this),i=u.next();!i.done;i=u.next())r=w(i.value),i=r.next().value,r=r.next().value,n.call(t,r,i,this)};g.get=function(n){var t=F.get(this);return t[n]?A(t[n][0]):null};g.getAll=function(n){return(F.get(this)[n]||[]).map(A)};g.has=function(n){return n in F.get(this)};g.keys=function(){function r(r,o,h){for(;;)switch(n){case 0:i=w(s);t=i.next();case 1:if(t.done){n=3;break}return e=t.value,f=w(e),u=f.next().value,n=4,{value:u,done:!1};case 4:if(1!=r){n=5;break}n=-1;throw h;case 5:case 2:t=i.next();n=1;break;case 3:n=-1;default:return{value:void 0,done:!0}}}var n=0,u,f,e,t,i,s=this,o={next:function(n){return r(0,n,void 0)},"throw":function(n){return r(1,void 0,n)},"return":function(){throw Error("Not yet implemented");}};return q(),o[Symbol.iterator]=function(){return this},o};g.set=function(n,t,i){F.get(this)[n]=[[t,i]]};g.values=function(){function u(u,o,h){for(;;)switch(n){case 0:r=w(s);t=r.next();case 1:if(t.done){n=3;break}return e=t.value,i=w(e),i.next(),f=i.next().value,n=4,{value:f,done:!1};case 4:if(1!=u){n=5;break}n=-1;throw h;case 5:case 2:t=r.next();n=1;break;case 3:n=-1;default:return{value:void 0,done:!0}}}var n=0,f,i,e,t,r,s=this,o={next:function(n){return u(0,n,void 0)},"throw":function(n){return u(1,void 0,n)},"return":function(){throw Error("Not yet implemented");}};return q(),o[Symbol.iterator]=function(){return this},o};H.prototype._asNative=function(){for(var t,i=new B,r=w(this),n=r.next();!n.done;n=r.next())t=w(n.value),n=t.next().value,t=t.next().value,i.append(n,t);return i};H.prototype._blob=function(){for(var n,r="----formdata-polyfill-"+Math.random(),i=[],u=w(this),t=u.next();!t.done;t=u.next())n=w(t.value),t=n.next().value,n=n.next().value,i.push("--"+r+"\r\n"),n instanceof Blob?i.push('Content-Disposition: form-data; name="'+t+'"; filename="'+n.name+'"\r\n',"Content-Type: "+(n.type||"application/octet-stream")+"\r\n\r\n",n,"\r\n"):i.push('Content-Disposition: form-data; name="'+t+'"\r\n\r\n'+n+"\r\n");return i.push("--"+r+"--"),new Blob(i,{type:"multipart/form-data; boundary="+r})};n();q();H.prototype[Symbol.iterator]=function(){return this.entries()};H.prototype.toString=function(){return"[object FormData]"};
1E&&(H.prototype[E]="FormData");[["append",x],["delete",y],["get",y],["getAll",y],["has",y],["set",x]].forEach(function(n){var t=H.prototype[n[0]];H.prototype[n[0]]=function(){return t.apply(this,n[1].apply(this,G(arguments)))}});XMLHttpRequest.prototype.send=function(n){n instanceof H&&(n=n._blob(),this.setRequestHeader("Content-Type",n.type));C.call(this,n)};D&&(K=window.fetch,window.fetch=function(n,t){return t&&t.body&&t.body instanceof H&&(t.body=t.body._blob()),K(n,t)});window.FormData=H}skadden.ng.directive("ngEnter",function(){return function(n,t,i){t.bind("keydown keypress",function(t){t.which===13&&(n.$apply(function(){n.$eval(i.ngEnter)}),t.preventDefault())})}});skadden.ng.directive("ngValidFile",function(){return{require:"ngModel",link:function(n,t,i,r){t.bind("change",function(){n.$apply(function(){r.$setViewValue(t.val());r.$render()})})}}});skadden.ng.factory("utilService",["$window",function(){function n(n){n.preventDefault()}return{scrollTo:function(t,i,r){window.addEventListener("wheel",n);$("html, body").stop().animate({scrollTop:t+i},{duration:1e3,complete:function(){window.removeEventListener("wheel",n);r&&r()}})},removeItem:function(n){for(var t,i=arguments,r=i.length,u;r>1&&n.length;)for(t=i[--r];(u=n.indexOf(t))!==-1;)n.splice(u,1);return n}}}]);skadden.ng.controller("StandardFormController",["$scope","$http","$element","$location","utilService",function(n,t,i,r,u){function l(t){n.fullname=t.Form.FullName;n.email=t.Form.Email}n.hasSubmit=!1;n.formsuccess=!1;n.resume=null;n.coverletter=null;n.file1=null;n.opportunities=[];n.selectedOpportunity="";n.filteredOpportunities=[];n.emailFormat=/^.+@.+\..+$/;n.showExtrenalLinkButton=!1;n.externalURL="";var e=document.getElementById("standard-form"),c=$(document).find(".js-site-header").height()*2,f=$(e).offset().top-c,o=i.attr("data-file-placeholder"),s=i.find("#hValue"),h=750;n.init=function(t,i){localStorage.getItem("selected-office-name")&&(n.selectedOfficeName=localStorage.getItem("selected-office-name"),n.selectedOffice=JSON.parse(localStorage.getItem("selected-office")),localStorage.removeItem("selected-office-name"),localStorage.removeItem("selected-office"));var r=i.filter(function(n){return n.ID===t})[0];if(r&&r.ExternalURL){n.externalURL=r.ExternalURL;n.showExtrenalLinkButton=!0;return}n.opportunities=i;t?(n.selectedOpportunity=t,n.filteredOpportunities=[],angular.forEach(n.opportunities,function(t){t.OfficeID===n.selectedOffice&&n.filteredOpportunities.push(t)})):n.filteredOpportunities=i};n.initForm=function(t){n.ViewModel=t;n.ViewModel.hasOwnProperty("Form")&&n.ViewModel.Form.hasOwnProperty("HoneyPotValue")&&!!s&&(n.ViewModel.Form.HoneyPotValue=s.val())};n.initRequestType=function(t,i){if(t&&i)switch(i){case"sharepost":l(t)}n.requesttype=r.hash()!==""?r.hash():"general"};n.submit=function(r,o,s){var c,l,a;r.$valid?(window.AnimationSearchLogic.showLoadingScreen(),c=null,l=!1,n.hasOwnProperty("ViewModel")&&n.ViewModel.hasOwnProperty("Form")&&(c=n.ViewModel.Form,l=!0),c||(c=new FormData(e)),s&&(a=/[:<>]+/gi,s.forEach(function(n){var t;l?(t=c[n],t&&(c[n]=t.replace(a,""))):(t=c.get(n),t&&c.set(n,t.replace(a,"")))})),l?t.post(o,JSON.stringify(c),{headers:{"Content-Type":"application/json; charset=utf-8"}}).then(function(t){u.scrollTo(f,0);n.responseMessage=t.data.msg;n.formsuccess=t.data.status=="success";n.hasSubmit=!0;setTimeout(window.AnimationSearchLogic.hideLoadingScreen(),h)}
1):t.post(o,c,{headers:{"Content-Type":undefined},transformRequest:angular.identity}).then(function(t){u.scrollTo(f,0);n.responseMessage=t.data.msg;n.formsuccess=t.data.status=="success";n.hasSubmit=!0;setTimeout(window.AnimationSearchLogic.hideLoadingScreen(),h)})):u.scrollTo(f,0,function(){i.find(".form--invalid-message").focus()})};n.validateFile=function(t,i){var u=document.getElementById(i),e,r,f;if(n.form[t].$setValidity("fileType",!0),n.form[t].$setValidity("fileSize",!0),e=[],u.accept&&(e=u.accept.split(/, +/)),e)for(r=0;r<u.files.length;r++)f=u.files[r],e.indexOf(f.type)==-1&&n.form[t].$setValidity("fileType",!1);for(r=0;r<u.files.length;r++)f=u.files[r],f.size>5e6&&n.form[t].$setValidity("fileSize",!1)};n.removeAttachment=function(t,r){n.form[r].$setValidity("fileType",!0);n.form[r].$setValidity("fileSize",!0);switch(r){case"resume":n.resume=null;break;case"coverletter":n.coverletter=null;break;case"file1":n.file1=null;break;case"transcript":n.transcript=null;break;case"transcript2":n.transcript2=null;break;case"essay":n.essay=null;case"essay2":n.essay2=null}$(i.find('[name="'+r+'"]')).val("")};n.getFileName=function(n){return n?n.replace(/^.*[\\\/]/,""):o?o:"No file chosen"};n.changeOffice=function(){n.selectedOpportunity="";n.selectedOpportunityName="";n.selectedOfficeName=document.getElementById(n.selectedOffice).text;n.showExtrenalLinkButton=!1;history.replaceState(null,"",window.location.pathname);localStorage.setItem("selected-office-name",document.getElementById(n.selectedOffice).text);localStorage.setItem("selected-office",JSON.stringify(n.selectedOffice));n.londonOffice&&n.selectedOffice==n.londonOffice?(window.location=n.londonUrl,n.selectedOpportunityName=n.londonOfficeLabel):window.location.pathname===n.londonUrl&&n.selectedOffice!==n.londonOffice&&(window.location=n.standardUrl);n.filteredOpportunities=[];angular.forEach(n.opportunities,function(t){t.OfficeID===n.selectedOffice&&n.filteredOpportunities.push(t)})};n.changeOpportunity=function(){n.hideDetailsUntilRefresh=!0;n.showExtrenalLinkButton=!1;n.selectedOpportunityName=document.getElementById(n.selectedOpportunity).text;var t=n.filteredOpportunities.filter(function(t){return t.ID===n.selectedOpportunity})[0];t.ExternalURL?(n.externalURL=t.ExternalURL,n.showExtrenalLinkButton=!0):window.location=n.londonUrl&&n.londonOffice==n.selectedOffice?n.londonUrl:n.standardUrl+"?id="+n.selectedOpportunity};n.validateSalary=function(){var t=n.salary.replace(/,/g,"").replace(/[^0-9.,]*/g,""),i;t=t.replace(/\.{2,}/g,".");t=t.replace(/\.,/g,",");t=t.replace(/\,\./g,",");t=t.replace(/\,{2,}/g,",");t=t.replace(/\.[0-9]+\./g,".");i=t.toString().split(".");i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,",");n.salary=i.join(".")};n.openFileExplorer=function(n){var i=document.getElementById(n),t;i&&document.createEvent&&(t=document.createEvent("MouseEvents"),t.initEvent("click",!0,!1),i.dispatchEvent(t))}}]);skadden.ng.controller("ProBonoFormController",["$scope","$http","$element","$location","utilService",function(n,t,i,r,u){n.hasSubmit=!1;n.formsuccess=!1;n.emailFormat=/^.+@.+\..+$/;n.showExtrenalLinkButton=!1;n.externalURL="";var f=document.getElementById("standard-form"),o=$(document).find(".js-site-header").height()*2,e=$(f).offset().top-o,h=i.attr("data-file-placeholder"),c=i.find("#hValue"),s=750;n.TypeOfLegalIssueSelections={};n.TypeOfLegalIssueRequired="";n.updateTypeOfLegalIssueValidation=function(){var t=!1;angular.forEach(n.TypeOfLegalIssueSelections,function(n){n&&(t=!0)});n.TypeOfLegalIssueRequired=t?"selected":""};n.init=function(){n.updateTypeOfLegalIssueValidation()};n.initForm=function(t){n.ViewModel=t;n.ViewModel.hasOwnProperty("Form")};n.initRequestType=function(){n.requesttype=r.hash()!==""?r.hash():"general"};n.submit=function(r,o,h){var c,l,a;r.$valid?(window.AnimationSearchLogic.showLoadingScreen(),c=null,l=!1,n.hasOwnProperty("ViewModel")&&n.ViewModel.hasOwnProperty("Form")&&(c=n.ViewModel.Form,l=!0),c||(c=new FormData(f)),h&&(a=/[:<>]+/gi,h.forEach(function(n){var t;l?(t=c[n],t&&(c[n]=t.replace(a,""))):(t=c.get(n),t&&c.set(n,t.replace(a,"")))})),t.post(o,c,{headers:{"Content-Type":undefined},transformRequest:angular.identity}).then(function(t){u.scrollTo(e,0);n.responseMessage=t.data.msg;t.data.status==="error"?(n.hasSubmit=!1,n.formsuccess=!1,i.find(".form-response").removeClass("form-response")):(n.hasSubmit=!0,n.formsuccess=!0);setTimeout(window.AnimationSearchLogic.hideLoadingScreen(),s)})):u.scrollTo(e,0,function(){i.find(".form--invalid-message").focus()})}}])

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.