1"use strict";(self.webpackChunkbasecampjobs_angular=self.webpackChunkbasecampjobs_angular||[]).push([[1519],{6634:(C,u,l)=>{l.d(u,{$3:()=>m,Mr:()=>f,dW:()=>v});var e=l(4006),p=l(4349),c=l(1867);class m{constructor(){this.name=new e.NI("",{nonNullable:!0,validators:[e.kI.required,e.kI.maxLength(100),c.EX]}),this.parent=new e.NI(""),this.companySize=new e.NI(null),this.locations=new e.NI([],[e.kI.required,e.kI.minLength(1)]),this.otherAddresses=new e.NI([]),this.otherLocations=new e.NI([]),this.description=new e.NI("",{nonNullable:!0,validators:[e.kI.required,c.DH,(0,c.l7)(8e3)]}),this.remoteLocations=new e.NI([]),this.additionalLocationInformation=new e.NI(""),this.socialLinks=new e.NI([]),this.website=new e.NI("",{validators:[e.kI.required,e.kI.pattern(p.Ni)]}),this.outdoorIndustries=new e.NI([]),this.leaderships=new e.NI([]),this.benefits=new e.NI([]),this.visions=new e.NI([]),this.socialInProgress=new e.NI("",[e.kI.pattern(p.Ni)])}static getViewModel(o){return{name:o.value.name??"",website:o.value.website??"",parentId:o.value.parent??"",locations:o.value.locations??[],companySize:o.value.companySize??void 0,description:o.value.description,socialLinks:o.value.socialLinks??[],otherAddresses:o.value.otherAddresses??[],remoteLocations:o.value.remoteLocations??[],additionalLocationInformation:o.value.additionalLocationInformation??void 0,outdoorIndustries:o.value.outdoorIndustries?.filter(s=>"number"==typeof s)??[],leaderships:o.value.leaderships?.filter(s=>"number"==typeof s)??[],benefits:o.value.benefits?.filter(s=>"number"==typeof s)??[],Visions:o.value.visions?.filter(s=>"number"==typeof s)??[]}}}class f extends m{constructor(){super(...arguments),this.website=new e.NI(""),this.logo=new e.NI(""),this.benefitsSuggestions=new e.NI(""),this.outdoorsSuggestions=new e.NI(""),this.firstName=new e.NI("",[e.kI.required,e.kI.maxLength(50),c.EX]),this.lastName=new e.NI("",[e.kI.required,e.kI.maxLength(50),c.EX]),this.email=new e.NI("",[e.kI.required,e.kI.pattern(p.s9)]),this.title=new e.NI("",[e.kI.maxLength(100)])}}class v{constructor(){this.company=new e.NI("",[e.kI.required])}}},8879:(C,u,l)=>{l.d(u,{$:()=>O});var e=l(4650),p=l(5412),c=l(7185),m=l(1208);let f=(()=>{class a{constructor(t,n,i){this.data=t,this.dialogRef=n,this.toastr=i}imageCropped(t){this.croppedImage=t.blob??void 0}loadImageFailed(){this.toastr.warning("Image upload failed")}close(){this.dialogRef.close(void 0)}save(){if(!this.croppedImage)return;const t={file:new File([this.croppedImage],this.data.file.name,{lastModified:(new Date).getTime()})};this.dialogRef.close(t)}}return a.\u0275fac=function(t){return new(t||a)(e.\u0275\u0275directiveInject(p.WI),e.\u0275\u0275directiveInject(p.so),e.\u0275\u0275directiveInject(c._W))},a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-image-cropper-dialog"]],decls:12,vars:14,consts:[["mat-dialog-content",""],[1,"cropper"],["output","blob",3,"backgroundColor","format","aspectRatio","imageQuality","resizeToWidth","resizeToHeight","cropperMinWidth","cropperMinHeight","roundCropper","onlyScaleDown","maintainAspectRatio","containWithinAspectRatio","imageFile","imageCropped","loadImageFailed"],[1,"buttons"],[1,"btn-outline","btn-large","btn-rounded","btn-caps",3,"click"],[1,"josefin-center"],[1,"btn-main","btn-large","btn-rounded","btn-caps",3,"click"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"h3"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"div",0)(3,"div",1)(4,"image-cropper",2),e.\u0275\u0275listener("imageCropped",function(g){return n.imageCropped(g)})("loadImageFailed",function(){return n.loadImageFailed()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(5,"div",3)(6,"button",4),e.\u0275\u0275listener("click",function(){return n.close()}),e.\u0275\u0275elementStart(7,"span",5),e.\u0275\u0275text(8,"Cancel"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"button",6),e.\u0275\u0275listener("click",function(){return n.save()}),e.\u0275\u0275elementStart(10,"span",5),e.\u0275\u0275text(11,"Save"),e.\u0275\u0275elementEnd()()()),2&t&&(e.\u0275\u0275advance(1),e.\u0275\u0275textInterpolate(n.data.title),e.\u0275\u0275advance(3),e.\u0275\u0275property("backgroundColor","image/png"==n.data.file.type?"transparent":"white")("format","image/png"==n.data.file.type?"png":"jpeg")("aspectRatio",1)("imageQuality",90)("resizeToWidth",768)("resizeToHeight",768)("cropperMinWidth",128)("cropperMinHeight",128)("roun
1dCropper",!0)("onlyScaleDown",!0)("maintainAspectRatio",!0)("containWithinAspectRatio",!0)("imageFile",n.data.file))},dependencies:[m.ap],styles:["[_ngcontent-%COMP%]:root{--primary-cream: #E6E1CE;--primary-muted-purple: #715F61;--primary-purple: #5F4A4D;--primary-dark-teal: #19363B;--secondary-dark-salmon: #BD675B;--secondary-salmon: #ED7660;--accent-bright-salmon: #EE6853;--accent-green: #809482;--accent-yellow: #E1B624;--accent-yellow-light: #f7e091;--accent-gray: #989898;--third-dark-salmon: #B8594C;--dark-green: #19373C;--red-error: #E30C0C;--primary-cream-light: #F4F2EB;--secondary-cream-light: #DBD7CA;--brown-muted: #726062;--dark-salmon-2: #be675b;--accent-brown: #604b4e;--accent-olive: #33594e;--dark-gray: #6f6f6f;--dark-olive: #272E1F;--header-height-max: 85px;--header-height-medium: 65px;--header-height-min: 55px;--accent-salmon: #E89B82;--main-color: #ed7660;--primary-default: #19363b;--secondary-default: #5f4a4d;--primary-light: #B2B2B2;--primary-white: #e6e1ce;--error-default: #f23d3d;--white: #ffffff;--black: #000000}h3[_ngcontent-%COMP%]{text-align:center;margin-bottom:20px}image-cropper[_ngcontent-%COMP%]{max-height:66vh}.cropper[_ngcontent-%COMP%]{margin:0 auto}.actions-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:first-child{margin-right:10px}.actions-btn[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:last-child{margin-left:10px}.buttons[_ngcontent-%COMP%]{display:flex;gap:10px;justify-content:flex-end}"]}),a})();var v=l(6797),d=l(6895),o=l(7392);const s=["trash"];function I(a,r){if(1&a&&(e.\u0275\u0275elementStart(0,"div",10),e.\u0275\u0275element(1,"img",11),e.\u0275\u0275elementEnd()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(1),e.\u0275\u0275property("src",t.logo,e.\u0275\u0275sanitizeUrl)}}function b(a,r){if(1&a&&(e.\u0275\u0275elementStart(0,"div",12)(1,"span"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(t.placeholder)}}function y(a,r){if(1&a&&(e.\u0275\u0275elementStart(0,"div",13)(1,"span",14)(2,"span"),e.\u0275\u0275element(3,"mat-icon",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("svgIcon","upload"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate("Upload "+t.text)}}function w(a,r){if(1&a&&(e.\u0275\u0275elementStart(0,"div",16)(1,"span",14)(2,"span"),e.\u0275\u0275element(3,"mat-icon",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("svgIcon","upload"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate("Upload "+t.text)}}function M(a,r){if(1&a&&(e.\u0275\u0275elementStart(0,"div",17)(1,"span",14)(2,"span"),e.\u0275\u0275element(3,"mat-icon",15),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"span"),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()),2&a){const t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("svgIcon","edit-logo"),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate("Update "+t.text)}}function P(a,r){if(1&a){const t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",18,19),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(t);const i=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(i.removeLogo())}),e.\u0275\u0275element(2,"img",20),e.\u0275\u0275elementStart(3,"span"),e.\u0275\u0275text(4,"Delete"),e.\u0275\u0275elementEnd()()}}const x=function(a,r,t,n){return{width:a,"min-width":r,height:t,"min-height":n}};let O=(()=>{class a{constructor(t,n,i){this.dialog=t,this.el=n,this.renderer=i,this.uploadImage=new e.EventEmitter,this.text="",this.size=130,this.disable=!1,this.timeout=null,this.hover=!1,this.fileData=null,this.disableInput=!1}onUploadChange(t){const n=t.target,i=n?.files?.[0];i&&this.dialog.open(f,{width:"600px",data:{title:"Upload Logo",file:i}}).afterClosed().subscribe(_=>{if(_?.file){const h=new FileReader;h.onloadend=()=>{"string"==typeof h.result&&(this.logo=h.result)}
1,h.readAsDataURL(_.file),this.fileData=new FormData,this.fileData.append("File",_.file),this.uploadImage.emit(this.fileData)}setTimeout(()=>n.value="",300)})}removeLogo(){this.disableInput=!0,this.logo="",this.fileData=null,this.uploadImage.emit(new FormData),this.disableInput=!1}showFilePicker(){const t=this.el.nativeElement.querySelector("#file");this.renderer.selectRootElement(t).click()}onMouseEnter(){if(this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.showTrash(),!this.trash)return;const t=this;this.trash.nativeElement.onmouseenter=()=>{t.timeout&&clearTimeout(t.timeout),t.timeout=null,this.hover=!0},this.trash.nativeElement.onmouseleave=()=>{t.hover=!1,t.hideTrash()}}onMouseLeave(){this.hover||this.hideTrash()}showTrash(){!this.trash||(this.trash.nativeElement.style.opacity="1",this.trash.nativeElement.style.visibility="visible")}hideTrash(){this.timeout=setTimeout(()=>{this.trash&&!this.hover&&(this.trash.nativeElement.style.opacity="0",this.trash.nativeElement.style.visibility="hidden")},500)}}return a.\u0275fac=function(t){return new(t||a)(e.\u0275\u0275directiveInject(v.x),e.\u0275\u0275directiveInject(e.ElementRef),e.\u0275\u0275directiveInject(e.Renderer2))},a.\u0275cmp=e.\u0275\u0275defineComponent({type:a,selectors:[["app-image-uploader"]],viewQuery:function(t,n){if(1&t&&e.\u0275\u0275viewQuery(s,5),2&t){let i;e.\u0275\u0275queryRefresh(i=e.\u0275\u0275loadQuery())&&(n.trash=i.first)}},inputs:{text:"text",size:"size",disable:"disable",logo:"logo",placeholder:"placeholder"},outputs:{uploadImage:"uploadImage"},decls:10,vars:13,consts:[["fileDrag","",1,"main-wrapper",3,"ngStyle"],["type","file","id","file","accept","image/*","hidden","",3,"disabled","change"],["fileInput",""],[3,"click","mouseenter","mouseleave"],["class","cropped-img text-center",4,"ngIf"],["class","placeholder-initials",4,"ngIf"],["class","placeholder-overlay actions",4,"ngIf"],["class","overlay actions",4,"ngIf"],["class","hidden-overlay actions",4,"ngIf"],["class","delete-btn",3,"click",4,"ngIf"],[1,"cropped-img","text-center"],[1,"logo",3,"src"],[1,"placeholder-initials"],[1,"placeholder-overlay","actions"],[1,"upload-btn"],[1,"trash",3,"svgIcon"],[1,"overlay","actions"],[1,"hidden-overlay","actions"],[1,"delete-btn",3,"click"],["trash",""],["src","assets/images/icons/trash.svg",1,"trash"]],template:function(t,n){1&t&&(e.\u0275\u0275elementStart(0,"div",0)(1,"input",1,2),e.\u0275\u0275listener("change",function(g){return n.onUploadChange(g)}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"label",3),e.\u0275\u0275listener("click",function(){return n.showFilePicker()})("mouseenter",function(){return n.onMouseEnter()})("mouseleave",function(){return n.onMouseLeave()}),e.\u0275\u0275template(4,I,2,1,"div",4),e.\u0275\u0275template(5,b,3,1,"div",5),e.\u0275\u0275template(6,y,6,2,"div",6),e.\u0275\u0275template(7,w,6,2,"div",7),e.\u0275\u0275template(8,M,6,2,"div",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,P,5,0,"div",9),e.\u0275\u0275elementEnd()),2&t&&(e.\u0275\u0275property("ngStyle",e.\u0275\u0275pureFunction4(8,x,n.size+"px",n.size+"px",n.size+"px",n.size+"px")),e.\u0275\u0275advance(1),e.\u0275\u0275property("disabled",n.disable||n.disableInput),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",n.logo),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.logo&&n.placeholder),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.disable&&!n.logo&&n.placeholder),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.disable&&!n.logo&&!n.placeholder),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.disable&&n.logo),e.\u0275\u0275advance(1),e.\u0275\u0275property("ngIf",!n.disable&&n.logo))},dependencies:[d.O5,d.PC,o.Hw],styles:["[_ngcontent-%COMP%]:root{--primary-cream: #E6E1CE;--primary-muted-purple: #715F61;--primary-purple: #5F4A4D;--primary-dark-teal: #19363B;--secondary-dark-salmon: #BD675B;--secondary-salmon: #ED7660;--accent-bright-salmon: #EE6853;--accent-green: #809482;--accent-yellow: #E1B624;--accent-yellow-light: #f7e091;--accent-gray: #989898;--third-dark-salmon: #B8594C;--dark-green: #19373C;--red-error: #E30C0C;--primary-cream-light: #F4F2EB;--secondary-cream-light: #DBD7CA;--brown-muted: #726062;--dark-salmon-2: #be675b;--accent-brown: #604b4e;--accent-olive: #33594e;--dark-gray: #6f6f6f;--dark-olive: #272E1F;--header-height-max: 85px;--header-height-medium: 65px;--header-height-min: 55px;--accent-salmon: #E89B82;--main-color: #ed7660;--primary-default: #19363b;--secondary-default: #5f4a4d;--primary-light: #B2B2B2;--primary-white: #e6e1ce;--error-default: #f23d3d;--white: #ffffff;--black: #000000}.main-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px dashed var(--accent-gray);position:relative}.main-wrapper[_ngcontent-%COMP%]:hover label[_ngcontent-%COMP%] .hidden-overlay[_ngcontent-%COMP%]{opacity:1;visibility:visible;transition:all .5s ease-in-out 0s;-webkit-transition:.5s ease-in-out;-moz-transition:.5s ease-in-out}.main-wrapper[_ngcontent-%COMP%]:hover label[_ngcontent-%COMP%] .hidden-overlay[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{position:relative;font-family:Lato-Regular;font-style:normal;font-weight:400;font-size:10px;line-height:12px;letter-spacing:.25px;color:var(--accent-gray);display:flex;flex-direction:column;align-items:center;cursor:pointer;width:100%;height:100%;justify-content:center}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .cropped-img[_ngcontent-%COMP%]{width:calc(100% - 10px
1);height:calc(100% - 10px);border-radius:50%}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .cropped-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:50%}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .placeholder-initials[_ngcontent-%COMP%]{width:calc(100% - 10px);height:calc(100% - 10px);border-radius:50%;background-color:var(--secondary-salmon);display:flex;align-items:center;justify-content:center}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .placeholder-initials[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:Lato-Bold;font-size:32px;color:#fff;text-transform:uppercase;letter-spacing:2px}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .upload-btn[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .placeholder-overlay[_ngcontent-%COMP%]{background-color:#ffffff4d;position:absolute;height:100%;width:100%;top:0;left:0;display:flex;justify-content:center;align-items:center;border-radius:50%}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .placeholder-overlay[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:var(--accent-gray);opacity:.8}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .placeholder-overlay[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--accent-gray);opacity:.9}.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%] .hidden-overlay[_ngcontent-%COMP%]{background-color:#19363bcc;position:absolute;height:100%;width:100%;top:0;left:0;display:flex;justify-content:center;align-items:center;opacity:0;visibility:hidden;transition:all .5s ease-in-out 0s;-webkit-transition:.5s ease-in-out;-moz-transition:.5s ease-in-out;border-radius:50%}.main-wrapper[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%]{position:absolute;bottom:-28px;color:var(--secondary-salmon);display:block;align-items:center;cursor:pointer;visibility:hidden;opacity:0;transition:opacity .5s linear,visibility .5s linear}.main-wrapper[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:auto}.main-wrapper[_ngcontent-%COMP%] .delete-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:13px;margin-top:3px}@media screen and (min-width: 1440px){.main-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:13px;line-height:130%}}"]}),a})()}}]);
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.