PageSourceSearch

https://www.curbnturf.com/default-libs_affiliate_src_lib_affiliate…s_affiliate_src_-74a657.77b28c8eca45d3d8.js

js curbnturf.com collected 2026-10-02 15:49:43 UTC 33,576 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcurbnturf=self.webpackChunkcurbnturf||[]).push([["default-libs_affiliate_src_lib_affiliate-host_affiliate-host_component_ts-libs_affiliate_src_-74a657"],{17410:(q,F,n)=>{n.d(F,{$:()=>D});var U=n(15861),v=n(96814),e=n(56223),d=n(64190),r=n(30122),P=n(59889),w=n(15847),C=n(21670),Z=n(96432),T=n(44206),m=n(51055),c=n(42935),f=n(30541),l=n(23498),t=n(19212);const _=["formSection"];function N(h,b){if(1&h){const s=t.EpF();t.TgZ(0,"form",39),t.NdJ("ngSubmit",function(){t.CHM(s);const u=t.oxw();return t.KtG(u.register())}),t.TgZ(1,"div",40)(2,"div",41)(3,"label",42),t._uU(4," First Name "),t.qZA(),t._UZ(5,"input",43),t.qZA(),t.TgZ(6,"div",44)(7,"label",45),t._uU(8," Last Name "),t.qZA(),t._UZ(9,"input",46),t.qZA()(),t.TgZ(10,"div",47)(11,"div",48)(12,"label",49),t._uU(13," Phone Number "),t.qZA(),t._UZ(14,"input",50),t.qZA(),t.TgZ(15,"div",51)(16,"label",52),t._uU(17," Email Address "),t.qZA(),t._UZ(18,"input",53),t.qZA()(),t.TgZ(19,"div",54)(20,"label",55),t._uU(21," Street Address "),t.qZA(),t._UZ(22,"input",56),t.TgZ(23,"div",57)(24,"div",58)(25,"label",59),t._uU(26," City "),t.qZA(),t._UZ(27,"input",60),t.qZA(),t.TgZ(28,"div",61)(29,"label",62),t._uU(30," State "),t.qZA(),t._UZ(31,"input",63),t.qZA(),t.TgZ(32,"div",64)(33,"label",65),t._uU(34," ZIP Code "),t.qZA(),t._UZ(35,"input",66),t.qZA()()(),t._UZ(36,"input",67),t.qZA()}if(2&h){const s=t.oxw();t.Q6J("formGroup",s.registerForm)}}const O=()=>[""];function k(h,b){1&h&&(t.TgZ(0,"div",68)(1,"a",69),t._uU(2," Thank you! Your submission has been received! Please check your email. "),t.qZA()()),2&h&&(t.xp6(1),t.Q6J("routerLink",t.DdM(1,O)))}function E(h,b){if(1&h&&(t.TgZ(0,"div"),t._uU(1),t.qZA()),2&h){const s=b.$implicit;t.xp6(1),t.Oqu(s)}}function I(h,b){if(1&h&&(t.TgZ(0,"div",70)(1,"p"),t._uU(2,"Oops! Something went wrong while submitting the form."),t.qZA(),t.YNc(3,E,2,1,"div",71),t.qZA()),2&h){const s=t.oxw();t.xp6(3),t.Q6J("ngForOf",s.errors)}}let D=(()=>{class h{constructor(s,p,u,a,x,o){this.authService=s,this.fb=p,this.route=u,this.statusFacade=a,this.urlControlFacade=x,this.userFacade=o,this.subscriptions=[],this.errors=[],this.showThankYou=!1,this.refId="",this.getPhotoUrl=w.HelperFunctions.getPhotoUrlSquareSmall,this.minimumFee=w.CC5,this.percentageFee=100*w.LOn}ngOnInit(){this.registerForm=this.fb.group({email:this.fb.control("",[e.kI.required,e.kI.email]),firstName:this.fb.control("",[e.kI.required]),lastName:this.fb.control("",[e.kI.required]),phone:this.fb.control("",[e.kI.required]),source:this.fb.control(""),address:(0,C.cI)(this.fb,void 0,{updateOn:"change"})}),this.subscriptions.push(this.statusFacade.loggedIn$.subscribe(s=>this.showThankYou=s),this.route.params.subscribe(s=>{if(s?.ref){const p=s.ref;this.refId=p,this.userFacade.load({refId:p}),this.urlControlFacade.setReferenceId(p),this.subscriptions.push(this.userFacade.allUsers$.subscribe(a=>{this.referrer=a.find(x=>x.affiliateRef===p)}));const u=this.registerForm.get("source");u&&u.setValue(p)}}),this.route.data.subscribe(s=>{s.refType&&(this.refType=s.refType)})),this.registerForm.markAllAsTouched()}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}register(){var s=this;return(0,U.Z)(function*(){s.errors.length=0;const p={};s.registerForm.valid?s.authService.registerWithoutPassword({email:s.registerForm.value.email||"",firstName:s.registerForm.value.firstName||"",lastName:s.registerForm.value.lastName||"",phone:s.registerForm.value.phone||"",source:s.registerForm.value.source||"",address:{address:s.registerForm.value.address?.address||"",city:s.registerForm.value.address?.city||"",state:s.registerForm.value.address?.state||"",zipcode:s.registerForm.value.address?.zipcode||""}}).subscribe(u=>u?s.showThankYou=!0:s.errors.length=0,u=>{s.errors.push(`Error Signing Up User: ${u?.error?.message}`)}):((0,C.jh)(s.registerForm).forEach(u=>p[u]=""),s.errors=Object.keys(p))})()}scrollToForm(){this.formSectionEl&&this.formSectionEl.nativeElement&&this.formSectionEl.nativeElement.scrollIntoView({behavior:"smooth",block:"end",inline:"start"})}static#e=this.\u0275fac=function(p){return new(p||h)(t.Y36(r.e8),t.Y36(e.qu),t.Y36(d.gz),t.Y36(Z.m),t.Y36(c.B),t.Y36(f.N))};static#t=this.\u0275cmp=t.Xpm({type:h,selectors:[["curbnturf-affiliate-host"]],viewQuery:function(p,u){if(1&p&&t.Gf(_,7),2&p){let a;t.iGM(a=t.CRH())&&(u.formSectionEl=a.first)}},standalone:!0,features:[t.jDz],decls:83,vars:9,consts:[[1,"page"],[1,"banner-outer"],[1,"banner-inner"],[1,"bold-text"],[1,"breakpoint-wrapper"],[1,"content-section","regular"],[1,"content-inner-wrapper"],["id","Content",1,"content-wrapper","content","short"],[1,"content-grid"],["id","w-node-_8cfa8c1a-39db-1a81-1ea5-fa862e884b2f-f4334373",1,"content-outer","tundora"],[1,"tagline"],[1,"tagline-line","trinidad"],["id","best",1,"heading-tagline","trinidad"],[1,"trinidad"],[1,"h2-head"],[1,"button-large-wrapper","tp-36"],[1,"button","trinidad","center","w-button",3,"click"],["id","w-node-_8cfa8c1a-39db-1a81-1ea5-fa862e884b2e-f4334373",1,"grid-photo","success"],["id","w-node-_5ddc49a6-5a2b-01f4-617c-1fcf62f2ecd8-f4334373",1,"content-wrapper","content","short"],["id","w-node-_7671c44f-fa00-e59a-339a-a65518be95c3-f4334373",1,"w-video","w-embed",2,"padding-top","56.17021276595745%"],["src","https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FT7CZGDXC9Ag%3Ffeature%3Doembed&display_name=YouTube&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DT7CZGDXC9Ag&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FT7CZGDXC9Ag%2Fhqdefault.jpg&key=96f1f04c5f4143bcb0f2e68c87d65feb&type=text%2Fhtml&schema=youtube","scrolling","no","allowfullscreen","","title","Your Property is Their Park",1,"embedly-embed"],[1,"nandor-bg"],["id","w-node-a53ab655-d529-97fd-054d-42c5975a64e0-f4334373",1,"content-wrapper","content","short"],["id","w-node-a53ab655-d529-97fd-054d-42c5975a64e2-f4334373",1,"grid-photo","money"],["id","w-node-a53ab655-d529-97fd-054d-42c5975a64e3-f4334373",1,"content-outer"],[1,"tagline-line"],[1,"heading-tagline"],[1,"navajo-white-bold"],[1,"content-wrapper","content"],["formSection",""],["id","w-node-_4f083071-38ed-6c11-7af2-ccb91bd02b46-f4334373",1,"signup-text"],[1,"w-form"],[3,"formGroup","ngSubmit",4,"ngIf"],[1,"logo-block"],[1,"cnt-logo-wrapper","w-inline-block",3,"routerLink"],["src","/img/wf/CNT_Logo_V_White.svg","width","72","alt","CurbNTurf Logo",1,"image-8"],["class","success-message w-form-done",4,"ngIf"],["class","alert-danger",4,"ngIf"],[3,"dark"],[3,"formGroup","ngSubmit"],[1,"name-wrapper"],[1,"first-name-wrapper"],["for","first-name",1,"field-label","white","form"],["formControlName","firstName","type","text","maxlength","256","name","first-name","id","first-name","required","",1,"text-field","w-input"],[1,"last-name-wrapper"],["for","last-name",1,"field-label","white","form"],["formControlName","lastName","type","text","maxlength","256","name","last-name","id","last-name","required","",1,"text-field","w-input"],[1,"contact-wrapper"],[1,"ph
1one-number-wrapper"],["for","phone-number",1,"field-label","white","form"],["formControlName","phone","type","tel","maxlength","256","name","phone-number","id","phone-number","required","","cntMaskPhone","",1,"text-field","w-input"],[1,"email-wrapper"],["for","email",1,"field-label","white","form"],["formControlName","email","type","email","maxlength","256","name","email","id","email","required","",1,"text-field","w-input"],["formGroupName","address",1,"address-wrapper"],["for","street-address",1,"field-label","white","form"],["formControlName","address","type","text","maxlength","256","name","street-address","id","street-address","required","",1,"text-field","w-input"],[1,"city-state-zip-wrapper"],[1,"city-inner"],["for","city",1,"field-label","white","form"],["formControlName","city","type","text","maxlength","256","name","city","id","city","required","",1,"text-field","w-input"],[1,"state-inner"],["for","state",1,"field-label","white","form"],["formControlName","state","type","text","maxlength","256","name","state","id","state","required","",1,"text-field","w-input"],[1,"zip-inner"],["for","zip",1,"field-label","white","form"],["formControlName","zipcode","type","text","maxlength","256","name","zip","id","zip","required","",1,"text-field","w-input"],["type","submit","value","SUBMIT",1,"button","form","w-button"],[1,"success-message","w-form-done"],[3,"routerLink"],[1,"alert-danger"],[4,"ngFor","ngForOf"]],template:function(p,u){1&p&&(t.TgZ(0,"div",0),t._UZ(1,"curbnturf-header"),t.TgZ(2,"div",1)(3,"div",2)(4,"div")(5,"strong",3),t._uU(6),t.qZA()()()(),t.TgZ(7,"div",4)(8,"div",5)(9,"div",6)(10,"div",7)(11,"div",8)(12,"div",9)(13,"div",10),t._UZ(14,"div",11),t.TgZ(15,"h5",12)(16,"strong",13),t._uU(17,"Are you a landowner?"),t.qZA()()(),t.TgZ(18,"h2",14)(19,"strong"),t._uU(20,"Earn recurring income by allowing RVers to park on your property."),t.qZA()(),t.TgZ(21,"p"),t._uU(22," Did you know that more than 500,000 RVs are purchased each year, but there are only 18,000 public and private campgrounds? This means there is a huge opportunity for you to make recurring income by allowing RVers to park on your property. "),t.qZA(),t.TgZ(23,"p"),t._uU(24," CurbNTurf helps property owners make more money from RVers looking for a place to camp. We are looking for property owners who are willing to share their beautiful land with RVers to give them a unique experience. "),t.qZA(),t.TgZ(25,"div",15)(26,"a",16),t.NdJ("click",function(){return u.scrollToForm()}),t._uU(27,"Start hosting"),t.qZA()()(),t._UZ(28,"div",17),t.qZA()(),t.TgZ(29,"div",18)(30,"h2",14)(31,"strong"),t._uU(32,"Become a host today!"),t.qZA()(),t.TgZ(33,"div",8)(34,"div",19),t._UZ(35,"iframe",20),t.qZA()()()()()(),t.TgZ(36,"div",21)(37,"div",4)(38,"div",5)(39,"div",6)(40,"div",22)(41,"div",8),t._UZ(42,"div",23),t.TgZ(43,"div",24)(44,"div",10),t._UZ(45,"div",25),t.TgZ(46,"h5",26),t._uU(47,"Help grow the community and get paid for it!"),t.qZA()(),t.TgZ(48,"h2",14)(49,"strong"),t._uU(50,"How it works:"),t.qZA()(),t.TgZ(51,"p")(52,"strong",27),t._uU(53,"List your property for free."),t.qZA(),t._uU(54," We believe your land has something unique to offer the RV community, that\u2019s why we don\u2019t charge any sign-up or listing fees. As a host, you post your land on the CurbNTurf site. We list and promote your property as an opportunity for guests\u2014RV travelers\u2014 to reserve your property. "),t.qZA(),t.TgZ(55,"p")(56,"strong",27),t._uU(57,"Allow RV guests to find and book your property."),t.qZA(),t._uU(58," Once your property is live, qualified guests can search CurbNTurf using desired search features to plan their trip and pay for their stay. Guests can reach out to you and get more details about your property, and in return, you can ask questions of your own before confirming the booking. You have the final say in approving any booking. "),t.qZA(),t.TgZ(59,"p"),t._uU(60," CurbNTurf provides payment processing, payment security, identity verification of all parties, and a dedicated communication channel between parties. We also have supplemental stay insurance available. "),t.qZA(),t.TgZ(61,"p")(62,"strong",27),t._uU(63,"Get paid fast."),t.qZA(),t._uU(64),t.qZA()()()(),t.TgZ(65,"div",28,29)(67,"div",8)(68,"div",30)(69,"h3")(70,"strong"),t._uU(71," Start earning recurring income by allowing RVers to park on your property. "),t.qZA()()(),t.TgZ(72,"div",31),t.YNc(73,N,37,1,"form",32),t.TgZ(74,"div",33)(75,"a",34),t._UZ(76,"img",35),t.qZA()(),t.YNc(77,k,3,2,"div",36)(78,I,4,1,"div",37),t.qZA()()()()()()(),t.TgZ(79,"div",21)(80,"div",4),t._UZ(81,"div",5),t.qZA()(),t._UZ(82,"curbnturf-footer",38),t.qZA()),2&p&&(t.xp6(6),t.hij(" ",null==u.referrer?null:u.referrer.firstName," wants to send you $25 of CurbNTurf cash. Earn the credit as soon as you sign up as a CurbNTurf host! "),t.xp6(58),t.AsE(" We charge a flat fee to the guest: the greater of a $",u.minimumFee," fee or a ",u.percentageFee,"% surcharge for services rendered. Once your guest checks out, your money becomes available. CurbNTurf receives the funds when the reservations are made, then the funds are released when your guest\u2019s stay is over. You choose where your money is sent. "),t.xp6(9),t.Q6J("ngIf",!u.showThankYou),t.xp6(2),t.Q6J("routerLink",t.DdM(8,O)),t.xp6(2),t.Q6J("ngIf",u.showThankYou),t.xp6(1),t.Q6J("ngIf",u.errors.length>0),t.xp6(4),t.Q6J("dark",!0))},dependencies:[C.DP,C.L6,C.AP,T.c,e.u5,e._Y,e.Fj,e.JJ,e.JL,e.Q7,e.nD,m.G,l.Pc,l.Fo,v.O5,v.ax,P.v,e.UX,e.sg,e.u,e.x0,d.rH],styles:[".text-field[_ngcontent-%COMP%]{background-color:var(--white);margin-bottom:20px;padding-left:10px;color:var(--secondary)}.image-uploader-wrapper[_ngcontent-%COMP%]:hover{background-color:var(--secondary-80)}.button[_ngcontent-%COMP%]{align-items:center}
1h2[_ngcontent-%COMP%], .cnt-logo-wrapper[_ngcontent-%COMP%]{margin-bottom:20px}.full-name[_ngcontent-%COMP%]{color:var(--white);font-weight:700}.user-info-block[_ngcontent-%COMP%]{margin-top:100px}.description[_ngcontent-%COMP%]{padding:0 32px 32px}.w-form-done[_ngcontent-%COMP%]{display:block}.signup-text[_ngcontent-%COMP%]{color:#fbd784}.banner-outer[_ngcontent-%COMP%]{position:sticky;inset:72px 0 auto;z-index:100;display:flex;width:100%;max-width:1440px;margin-right:auto;margin-left:auto;padding-right:80px;padding-left:80px;justify-content:center;align-items:center}.banner-inner[_ngcontent-%COMP%]{display:flex;width:100%;height:72px;padding-right:80px;padding-left:80px;justify-content:center;align-items:center;background-color:#e3530d;color:#fff}"]})}return h})()},1799:(q,F,n)=>{n.d(F,{K:()=>m});var U=n(15861),v=n(96814),e=n(23498),d=n(40362),r=n(19212);let P=(()=>{class c{constructor(l){this.modalController=l}onCloseModal(){this.modalController.dismiss()}static#e=this.\u0275fac=function(t){return new(t||c)(r.Y36(e.IN))};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["curbnturf-apply-already-modal"]],standalone:!0,features:[r.jDz],decls:10,vars:0,consts:[["slot","end"],[3,"click"],[1,"ion-padding"],[1,"acknowledge-content"]],template:function(t,_){1&t&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r._uU(3,"Already Signed Up"),r.qZA(),r.TgZ(4,"ion-buttons",0)(5,"ion-button",1),r.NdJ("click",function(){return _.onCloseModal()}),r._uU(6,"Close"),r.qZA()()()(),r.TgZ(7,"ion-content",2)(8,"div",3),r._uU(9,"You have already signed up as an affiliate."),r.qZA()())},dependencies:[e.Pc,e.YG,e.Sm,e.W2,e.Gu,e.wd,e.sr],styles:[".acknowledge-content[_ngcontent-%COMP%]{padding:20px}"]})}return c})();var w=n(64190);const C=()=>[""];let Z=(()=>{class c{constructor(l){this.modalController=l,this.title="Refer a Friend Program"}onCloseModal(){this.modalController.dismiss()}static#e=this.\u0275fac=function(t){return new(t||c)(r.Y36(e.IN))};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["curbnturf-apply-completed-modal"]],inputs:{title:"title"},standalone:!0,features:[r.jDz],decls:17,vars:3,consts:[["slot","end"],[3,"click"],[1,"ion-padding"],[1,"acknowledge-content"],[1,"logo-block"],[1,"cnt-logo-wrapper","w-inline-block",3,"routerLink"],["src","img/CNT_Logo_V_Orange.svg","width","72","alt","CurbNTurf Logo",1,"image-8"]],template:function(t,_){1&t&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r._uU(3,"Completed"),r.qZA(),r.TgZ(4,"ion-buttons",0)(5,"ion-button",1),r.NdJ("click",function(){return _.onCloseModal()}),r._uU(6,"Close"),r.qZA()()()(),r.TgZ(7,"ion-content",2)(8,"div",3)(9,"div")(10,"h3"),r._uU(11),r.qZA(),r.TgZ(12,"p"),r._uU(13," We are excited that you'll be able start making income with us. Tell your friends, family and neighbors about us. We want to help you and the RV community. Please check your email confirmation for your new password. "),r.qZA(),r.TgZ(14,"div",4)(15,"a",5),r._UZ(16,"img",6),r.qZA()()()()()),2&t&&(r.xp6(11),r.hij("Thank you for your submission for the ",_.title,"."),r.xp6(4),r.Q6J("routerLink",r.DdM(2,C)))},dependencies:[e.Pc,e.YG,e.Sm,e.W2,e.Gu,e.wd,e.sr,e.Fo,w.rH],styles:[".acknowledge-content[_ngcontent-%COMP%]{padding:20px}"]})}return c})();function T(c,f){if(1&c){const l=r.EpF();r.TgZ(0,"curbnturf-apply",4),r.NdJ("completed",function(_){r.CHM(l);const N=r.oxw();return r.KtG(N.completed(_))}),r.qZA()}if(2&c){const l=r.oxw();r.Q6J("type",l.type)("light",!0)}}let m=(()=>{class c{constructor(l){this.modalController=l,this.title="Refer a Friend Program"}ngAfterViewInit(){setTimeout(()=>{this.ready=!0,this.ngOnChanges()},100)}ngOnChanges(){"grow"===this.type&&(this.title="Grow Program")}completed(l){var t=this;setTimeout((0,U.Z)(function*(){yield t.modalController.dismiss(),l?yield(yield t.modalController.create({component:P,cssClass:"acknowledge-modal"})).present():yield(yield t.modalController.create({component:Z,cssClass:"acknowledge-modal",componentProps:{title:t.title}})).present()}))}onCloseModal(){this.modalController.dismiss()}static#e=this.\u0275fac=function(t){return new(t||c)(r.Y36(e.IN))};static#t=this.\u0275cmp=r.Xpm({type:c,selectors:[["curbnturf-apply-modal"]],inputs:{type:"type"},standalone:!0,features:[r.TTD,r.jDz],decls:9,vars:2,consts:[["slot","end"],[3,"click"],[1,"ion-padding"],[3,"type","light","completed",4,"ngIf"],[3,"type","light","completed"]],template:function(t,_){1&t&&(r.TgZ(0,"ion-header")(1,"ion-toolbar")(2,"ion-title"),r._uU(3),r.qZA(),r.TgZ(4,"ion-buttons",0)(5,"ion-button",1),r.NdJ("click",function(){return _.onCloseModal()}),r._uU(6,"Close"),r.qZA()()()(),r.TgZ(7,"ion-content",2),r.YNc(8,T,1,2,"curbnturf-apply",3),r.qZA()),2&t&&(r.xp6(3),r.Oqu(_.title),r.xp6(5),r.Q6J("ngIf",_.ready))},dependencies:[d.X,e.Pc,e.YG,e.Sm,e.W2,e.Gu,e.wd,e.sr,v.O5],styles:["ion-modal.acknowledge-modal::part(content){height:440px;max-height:100%}"]})}return c})()},53646:(q,F,n)=>{n.d(F,{f:()=>T});var U=n(96814),v=n(64190),e=n(23498),d=n(40362),r=n(19212);function P(m,c){if(1&m&&(r.TgZ(0,"h2",9),r._uU(1),r.qZA()),2&m){const f=r.oxw();r.xp6(1),r.Oqu(f.title)}}
1function w(m,c){if(1&m){const f=r.EpF();r.TgZ(0,"curbnturf-apply",10),r.NdJ("completed",function(){r.CHM(f);const t=r.oxw();return r.KtG(t.completed())}),r.qZA()}if(2&m){const f=r.oxw();r.Q6J("type",f.type)}}function C(m,c){if(1&m&&(r.TgZ(0,"div")(1,"h2",9),r._uU(2,"Thank you for your submission "),r._UZ(3,"br"),r._uU(4),r.qZA(),r.TgZ(5,"p",11),r._uU(6," We are excited that you\u2019ll be able start making income with us. Tell your friends, family and neighbors about us. We want to help you and the RV community. Please check your email confirmation for your new password. "),r.qZA()()),2&m){const f=r.oxw();r.xp6(4),r.hij("for the ",f.title,".")}}const Z=()=>[""];let T=(()=>{class m{constructor(f){this.route=f,this.subscriptions=[],this.title="Refer a Friend Program",this.showThankYou=!1}ngOnInit(){this.subscriptions.push(this.route.data.subscribe(f=>{this.type=f.refType,"grow"===this.type&&(this.title="Grow Program")}))}ngOnDestroy(){this.subscriptions.forEach(f=>f.unsubscribe())}completed(){this.showThankYou=!0}static#e=this.\u0275fac=function(l){return new(l||m)(r.Y36(v.gz))};static#t=this.\u0275cmp=r.Xpm({type:m,selectors:[["curbnturf-apply-page"]],standalone:!0,features:[r.jDz],decls:9,vars:5,consts:[[1,"hero-background"],[1,"overlay"],[1,"vertical-center","w-container"],["class","white-centered",4,"ngIf"],[3,"type","completed",4,"ngIf"],[4,"ngIf"],[1,"logo-block"],[1,"cnt-logo-wrapper","w-inline-block",3,"routerLink"],["src","img/CNT_Logo_V_White.svg","width","72","alt","CurbNTurf Logo",1,"image-8"],[1,"white-centered"],[3,"type","completed"],[1,"white-paragraph"]],template:function(l,t){1&l&&(r.TgZ(0,"div",0)(1,"div",1)(2,"div",2),r.YNc(3,P,2,1,"h2",3)(4,w,1,1,"curbnturf-apply",4)(5,C,7,1,"div",5),r.TgZ(6,"div",6)(7,"a",7),r._UZ(8,"img",8),r.qZA()()()()()),2&l&&(r.xp6(3),r.Q6J("ngIf",!t.showThankYou),r.xp6(1),r.Q6J("ngIf",!t.showThankYou),r.xp6(1),r.Q6J("ngIf",t.showThankYou),r.xp6(2),r.Q6J("routerLink",r.DdM(4,Z)))},dependencies:[U.O5,d.X,e.Pc,e.Fo,v.rH]})}return m})()},40362:(q,F,n)=>{n.d(F,{X:()=>u});var U=n(15861),v=n(96814),e=n(19212),d=n(56223),r=n(64190),P=n(30122),w=n(28452),C=n(59889),Z=n(15847),T=n(21670),m=n(42935),c=n(56156),f=n(38844),l=n(30541),t=n(98131),_=n(69862);const N=Z.MrZ+"affiliate/code-valid";let O=(()=>{class a{constructor(o){this.http=o}validateAffiliateRef(o){return this.http.get(`${N}/${o}`)}static#e=this.\u0275fac=function(g){return new(g||a)(e.LFG(_.eN))};static#t=this.\u0275prov=e.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})();var k=n(23498);function E(a,x){if(1&a&&(e.TgZ(0,"p",41),e._UZ(1,"i",42),e._uU(2),e.TgZ(3,"span",43),e._uU(4),e.qZA(),e._uU(5," is available "),e.qZA()),2&a){const o=e.oxw();e.xp6(2),e.hij(" Unfortunately ",o.desired," code wasn't available. However "),e.xp6(2),e.Oqu(o.suggested)}}function I(a,x){if(1&a&&(e.TgZ(0,"div"),e._uU(1),e.qZA()),2&a){const o=x.$implicit;e.xp6(1),e.Oqu(o)}}function D(a,x){if(1&a&&(e.TgZ(0,"div",44)(1,"p"),e._uU(2,"Oops! Something went wrong while submitting the form."),e.qZA(),e.YNc(3,I,2,1,"div",45),e.qZA()),2&a){const o=e.oxw();e.xp6(3),e.Q6J("ngForOf",o.errors)}}const h=(a,x)=>({white:a,light:x}),b=a=>({white:a}),s=()=>["","terms"],p=()=>["","terms","privacy"];let u=(()=>{class a{constructor(o,g,i,y,A,M,R,S,L){this.authService=o,this.fb=g,this.referenceCodeService=i,this.urlControlFacade=y,this.userFacade=A,this.userMarketingService=M,this.actions$=R,this.alertController=S,this.authModalFacade=L,this.light=!1,this.completed=new e.vpe,this.subscriptions=[],this.errors=[],this.title="Refer a Friend Program"}ngOnChanges(){"grow"===this.type?this.registerForm?.get("affiliateType")?.setValue("grow"):this.registerForm?.get("affiliateType")?.setValue("raf")}ngOnInit(){this.registerForm=this.fb.nonNullable.group({email:this.fb.nonNullable.control("",[d.kI.required,d.kI.email]),firstName:this.fb.nonNullable.control("",[d.kI.required]),lastName:this.fb.nonNullable.control("",[d.kI.required]),phone:this.fb.nonNullable.control("",[d.kI.required]),source:this.fb.nonNullable.control(""),address:(0,T.cI)(this.fb,void 0,{updateOn:"change"}),role:this.fb.nonNullable.control(Z.uUj.affiliate),affiliateType:this.fb.nonNullable.control("grow"===this.type?"grow":"raf"),affiliateRef:this.fb.nonNullable.control("",[d.kI.required]),newsletter:this.fb.nonNullable.control(!0),sendSmss:this.fb.nonNullable.control(!1)}),this.subscriptions.push(this.userFacade.currentUserOnce$.subscribe(o=>{if(o?.id){if(this.user=o,o.affiliateType)return this.completed.emit(!0);o.email&&(this.registerForm.get("email")?.setValue(o.email),this.registerForm.get("email")?.disable()),o.firstName&&(this.registerForm.get("firstName")?.setValue(o.firstName),this.registerForm.get("firstName")?.disable()),o.lastName&&(this.registerForm.get("lastName")?.setValue(o.lastName),this.registerForm.get("lastName")?.disable()),o.phone&&(this.registerForm.get("phone")?.setValue(o.phone),this.registerForm.get("phone")?.disable()),o.address&&(o.address.address&&(this.registerForm.get("address")?.get("address")?.setValue(o.address.address),this.registerForm.get("address")?.get("address")?.disable()),o.address.city&&(this.registerForm.get("address")?.get("
1city")?.setValue(o.address.city),this.registerForm.get("address")?.get("city")?.disable()),o.address.state&&(this.registerForm.get("address")?.get("state")?.setValue(o.address.state),this.registerForm.get("address")?.get("state")?.disable()),o.address.zipcode&&(this.registerForm.get("address")?.get("zipcode")?.setValue(o.address.zipcode),this.registerForm.get("address")?.get("zipcode")?.disable())),o.role!==Z.uUj.guest&&o.role!==Z.uUj.boondocker&&o.role!==Z.uUj.host&&this.registerForm.get("role")?.setValue(o.role),o.affiliateRef?this.registerForm.get("affiliateRef")?.setValue(o.affiliateRef):o.firstName&&this.suggestReferenceCode(o.firstName)}})),this.urlControlFacade.referenceIdOnce$.subscribe(o=>{if(o){const g=this.registerForm.get("source");g&&g.setValue(o)}}),this.registerForm.markAllAsTouched()}ngOnDestroy(){this.subscriptions.forEach(o=>o.unsubscribe())}register(){var o=this;return(0,U.Z)(function*(){o.errors.length=0;const g={};if(o.registerForm.valid){const i=o.registerForm.value;return o.user?.id?(o.completed.emit(!1),i.newsletter&&o.actions$.pipe((0,t.l4)(f.Ak)).subscribe(y=>{const A=y.user;o.userMarketingService.getStatus().subscribe({next:M=>{"subscribed"!==M?.status&&o.userMarketingService.updateSubscription(A,!0).subscribe()},error:()=>{o.userMarketingService.updateSubscription(A,!0).subscribe()}}),o.userMarketingService.registerForNewsletter(A)}),o.userFacade.update({...o.user,email:i.email||o.user.email||"",firstName:i.firstName||o.user.firstName||"",lastName:i.lastName||o.user.lastName||"",phone:i.phone||o.user.phone||"",source:i.source||o.user.source||"",address:{address:i.address?.address||o.user.address?.address||"",city:i.address?.city||o.user.address?.city||"",state:i.address?.state||o.user.address?.state||"",zipcode:i.address?.zipcode||o.user.address?.zipcode||""},role:i.role,affiliateType:i.affiliateType,affiliateRef:i.affiliateRef,sendSmss:i.sendSmss})):o.authService.registerWithoutPassword({email:i.email||"",firstName:i.firstName||"",lastName:i.lastName||"",phone:i.phone||"",source:i.source||"",address:{address:i.address?.address||"",city:i.address?.city||"",state:i.address?.state||"",zipcode:i.address?.zipcode||""},role:i.role,affiliateType:i.affiliateType,affiliateRef:i.affiliateRef,sendSmss:i.sendSmss}).subscribe({next:y=>y?(i.newsletter&&o.userMarketingService.registerForNewsletter(y).subscribe(),o.completed.emit(!1)):o.errors.length=0,error:(y=(0,U.Z)(function*(A){o.errors.push(`Error Signing Up User: ${A?.error?.message||A?.message||A}`),409===A.error.statusCode&&(yield(yield o.alertController.create({header:"Email in Use!",message:"This email address is already in use. Would you like to sign in instead?",buttons:[{role:"cancel",text:"Cancel"},{text:"Log In",handler:()=>{o.authModalFacade.openAuthModal("login"),o.errors.length=0}}]})).present())}),function(M){return y.apply(this,arguments)})})}var y;(0,T.jh)(o.registerForm).forEach(i=>g[i]=""),o.errors=Object.keys(g)})()}suggestReferenceCode(o){this.referenceCodeService.validateAffiliateRef(o).subscribe(g=>{this.registerForm.get("affiliateRef")?.setValue(g)})}validateReferenceCode(){const o=this.registerForm.get("affiliateRef")?.value;o?this.referenceCodeService.validateAffiliateRef(o).subscribe(g=>{o.toLocaleLowerCase()!==g.toLocaleLowerCase()?(this.desired=o,this.suggested=g.toLocaleLowerCase(),this.registerForm.get("affiliateRef")?.setValue("")):(delete this.desired,delete this.suggested)}):this.registerForm.get("firstName")?.value&&this.suggestReferenceCode(this.registerForm.get("firstName")?.value||"")}toggleNewsletter(){this.registerForm.patchValue({newsletter:!this.registerForm.controls.newsletter.value})}static#e=this.\u0275fac=function(g){return new(g||a)(e.Y36(P.e8),e.Y36(d.qu),e.Y36(O),e.Y36(m.B),e.Y36(l.N),e.Y36(c.tb),e.Y36(t.eX),e.Y36(k.Br),e.Y36(w.C9))};static#t=this.\u0275cmp=e.Xpm({type:a,selectors:[["curbnturf-apply"]],inputs:{type:"type",light:"light"},outputs:{completed:"completed"},standalone:!0,features:[e.TTD,e.jDz],decls:57,vars:45,consts:[[1,"w-form"],[3,"formGroup","ngClass","ngSubmit"],[1,"name-wrapper"],[1,"first-name-wrapper"],["for","First-Name",1,"field-label","form",3,"ngClass"],["formControlName","firstName","type","text","maxlength","256","name","First-Name","required","true","id","First-Name",1,"text-field","w-input",3,"blur"],[1,"last-name-wrapper"],["for","Last-Name",1,"field-label","form",3,"ngClass"],["formControlName","lastName","type","text","maxlength","256","name","Last-Name","id","Last-Name","required","true",1,"text-field","w-input"],[1,"contact-wrapper"],[1,"ph
1one-number-wrapper"],["for","Phone-Number",1,"field-label","form",3,"ngClass"],["formControlName","phone","type","tel","maxlength","256","name","Phone-Number","id","Phone-Number","required","true","cntMaskPhone","",1,"text-field","w-input"],[1,"email-wrapper"],["for","Email",1,"field-label","form",3,"ngClass"],["formControlName","email","type","email","maxlength","256","name","Email","id","Email","required","true",1,"text-field","w-input"],["formGroupName","address",1,"address-wrapper"],["for","Street-Address",1,"field-label","form",3,"ngClass"],["formControlName","address","type","text","maxlength","256","name","Street-Address","required","true","id","Street-Address",1,"text-field","w-input"],[1,"city-state-zip-wrapper"],[1,"city-inner"],["for","City",1,"field-label","form",3,"ngClass"],["formControlName","city","type","text","maxlength","256","name","City","required","true","id","City",1,"text-field","w-input"],[1,"state-inner"],["for","State",1,"field-label","form",3,"ngClass"],["formControlName","state","type","text","maxlength","256","name","State","required","true","id","State",1,"text-field","w-input"],[1,"zip-inner"],["for","zip",1,"field-label","form",3,"ngClass"],["formControlName","zipcode","type","text","maxlength","256","name","zip","required","true","id","zip",1,"text-field","w-input"],[1,"reference-code-wrapper"],["for","Reference-Code",1,"field-label","form",3,"ngClass"],["formControlName","affiliateRef","type","text","maxlength","256","name","Reference-Code","required","true","id","Reference-Code",1,"text-field","w-input",3,"blur"],["class","alert-danger ng-star-inserted",4,"ngIf"],[1,"d-flex"],["formControlName","newsletter","type","checkbox","name","newsletter","id","newsletter",1,"checkbox-field",3,"value","click"],["for","newsletter",1,"field-label","form",3,"ngClass"],["formControlName","sendSmss","type","checkbox","name","sendSmss","id","sendSmss",1,"checkbox-field"],["for","sendSmss",1,"field-label","form",3,"ngClass"],[1,"fine-print-trinidad",3,"routerLink"],["type","submit","value","submit",1,"button","form","w-button"],["class","alert-danger",4,"ngIf"],[1,"alert-danger","ng-star-inserted"],[1,"icon-cnt-times-circle"],[1,"font-weight-bold","ng-star-inserted"],[1,"alert-danger"],[4,"ngFor","ngForOf"]],template:function(g,i){1&g&&(e.TgZ(0,"div",0)(1,"form",1),e.NdJ("ngSubmit",function(){return i.register()}),e.TgZ(2,"div",2)(3,"div",3)(4,"label",4),e._uU(5," First Name "),e.qZA(),e.TgZ(6,"input",5),e.NdJ("blur",function(){return i.validateReferenceCode()}),e.qZA()(),e.TgZ(7,"div",6)(8,"label",7),e._uU(9," Last Name "),e.qZA(),e._UZ(10,"input",8),e.qZA()(),e.TgZ(11,"div",9)(12,"div",10)(13,"label",11),e._uU(14," Phone Number "),e.qZA(),e._UZ(15,"input",12),e.qZA(),e.TgZ(16,"div",13)(17,"label",14),e._uU(18," Email Address "),e.qZA(),e._UZ(19,"input",15),e.qZA()(),e.TgZ(20,"div",16)(21,"label",17),e._uU(22," Street Address "),e.qZA(),e._UZ(23,"input",18),e.TgZ(24,"div",19)(25,"div",20)(26,"label",21),e._uU(27," City "),e.qZA(),e._UZ(28,"input",22),e.qZA(),e.TgZ(29,"div",23)(30,"label",24),e._uU(31," State "),e.qZA(),e._UZ(32,"input",25),e.qZA(),e.TgZ(33,"div",26)(34,"label",27),e._uU(35," ZIP Code "),e.qZA(),e._UZ(36,"input",28),e.qZA()()(),e.TgZ(37,"div",29)(38,"label",30),e._uU(39," Custom CurbNTurf Code "),e.qZA(),e.TgZ(40,"input",31),e.NdJ("blur",function(){return i.validateReferenceCode()}),e.qZA(),e.YNc(41,E,6,2,"p",32),e.qZA(),e.TgZ(42,"div",33)(43,"input",34),e.NdJ("click",function(){return i.toggleNewsletter()}),e.qZA(),e.TgZ(44,"label",35),e._uU(45," Keep me up to date on CurbNTurf products and service by subscribing to the newsletter. "),e.qZA()(),e.TgZ(46,"div",33),e._UZ(47,"input",36),e.TgZ(48,"label",37),e._uU(49," Notify me of important account updates by Text Message (SMS) from CurbNTurf. You can change what messages you receive or opt out by going to your profile page. Message and data rates may apply. Message frequency varies. Reply HELP for help and STOP to cancel. "),e.TgZ(50,"a",38),e._uU(51," Terms & Conditions "),e.qZA(),e._uU(52,", "),e.TgZ(53,"a",38),e._uU(54," Privacy Policy "),e.qZA()()(),e._UZ(55,"input",39),e.qZA(),e.YNc(56,D,4,1,"div",40),e.qZA()),2&g&&(e.xp6(1),e.Q6J("formGroup",i.registerForm)("ngClass",e.WLB(18,h,!i.light,i.light)),e.xp6(3),e.Q6J("ngClass",e.VKq(21,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(23,b,!i.light)),e.xp6(
15),e.Q6J("ngClass",e.VKq(25,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(27,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(29,b,!i.light)),e.xp6(5),e.Q6J("ngClass",e.VKq(31,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(33,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(35,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(37,b,!i.light)),e.xp6(3),e.Q6J("ngIf",i.desired&&i.suggested),e.xp6(2),e.Q6J("value",!0),e.xp6(1),e.Q6J("ngClass",e.VKq(39,b,!i.light)),e.xp6(4),e.Q6J("ngClass",e.VKq(41,b,!i.light)),e.xp6(2),e.Q6J("routerLink",e.DdM(43,s)),e.xp6(3),e.Q6J("routerLink",e.DdM(44,p)),e.xp6(3),e.Q6J("ngIf",i.errors.length>0))},dependencies:[T.DP,T.L6,T.AP,d.u5,d._Y,d.Fj,d.Wl,d.JJ,d.JL,d.Q7,d.nD,v.mk,v.O5,v.ax,C.v,d.UX,d.sg,d.u,d.x0,r.Bz,r.rH],styles:[".visible[_ngcontent-%COMP%]{display:block}.logo-link-wrapper[_ngcontent-%COMP%]{text-align:center}.profile-image[_ngcontent-%COMP%]{border-radius:12px}.white[_ngcontent-%COMP%]   .text-field[_ngcontent-%COMP%]{background-color:var(--white);color:var(--secondary)}.light[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%], .light[_ngcontent-%COMP%]   .text-field[_ngcontent-%COMP%]{border:var(--secondary) 1px solid;color:var(--secondary)}.button[_ngcontent-%COMP%]{align-items:center}.cnt-logo-wrapper[_ngcontent-%COMP%]{margin-bottom:20px}.w-form-done[_ngcontent-%COMP%]{display:block}.user-info-block[_ngcontent-%COMP%]{justify-content:center}.field-label.form[_ngcontent-%COMP%]{margin-top:10px}.w-input[disabled][_ngcontent-%COMP%]{background-color:var(--light)}.text-field[_ngcontent-%COMP%]{padding-left:12px}.d-flex[_ngcontent-%COMP%]{display:flex}"]}
1)}return 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.