PageSourceSearch

https://parkroll.com/chunk-HMCZIQPQ.js

js parkroll.com collected 2026-10-09 23:00:27 UTC 7,602 bytes, 1 lines download raw bytes

1import{a as O}from"./chunk-OLN7EOST.js";import{a as $}from"./chunk-Y3VV2W3U.js";import"./chunk-FHLO2RUC.js";import{a as B}from"./chunk-ZG5534WS.js";import{a as z}from"./chunk-CAWLEGIC.js";import{a as U}from"./chunk-TA3ADEM3.js";import{c as q,e as p,f as k,g as j,j as w,m as D,p as V,v as S,w as L,x as A}from"./chunk-PFMIRK7D.js";import{m as M}from"./chunk-QZF4BYYK.js";import{d as I,e as F}from"./chunk-6PWC45SL.js";import"./chunk-CKMQKFKR.js";import"./chunk-47VOJU3P.js";import"./chunk-HYKIMZ2U.js";import{d as N,w as g}from"./chunk-Z7IJLIMF.js";import{Bb as m,Jb as C,Ob as s,Pa as E,Sb as i,Tb as n,Ub as _,aa as u,ac as h,bb as y,bc as f,f as x,ib as r,jb as d,mc as a,oc as P,qa as b,wc as T}from"./chunk-IPCK6OJA.js";import"./chunk-RVFOIZLJ.js";function Q(e,l){e&1&&(i(0,"div"),a(1,"First Name isrequired"),n())}function W(e,l){e&1&&(i(0,"div"),a(1,"First Name is notvalid"),n())}function X(e,l){if(e&1&&(i(0,"div",19),m(1,Q,2,0,"div")(2,W,2,0,"div"),n()),e&2){let t=f();r(),s(1,t.formControls.first_name.errors.required?1:-1),r(),s(2,t.formControls.first_name.errors.pattern?2:-1)}}function Y(e,l){e&1&&(i(0,"div"),a(1,"Last Name isrequired"),n())}function ee(e,l){e&1&&(i(0,"div"),a(1,"Last Name is notvalid"),n())}function te(e,l){if(e&1&&(i(0,"div",19),m(1,Y,2,0,"div")(2,ee,2,0,"div"),n()),e&2){let t=f();r(),s(1,t.formControls.last_name.errors.required?1:-1),r(),s(2,t.formControls.last_name.errors.pattern?2:-1)}}function ie(e,l){e&1&&(i(0,"div"),a(1,"Email is required"),n())}function ne(e,l){e&1&&(i(0,"div"),a(1,"Email is not valid"),n())}function oe(e,l){if(e&1&&(i(0,"div",19),m(1,ie,2,0,"div")(2,ne,2,0,"div"),n()),e&2){let t=f();r(),s(1,t.formControls.email.errors.required?1:-1),r(),s(2,t.formControls.email.errors.email?2:-1)}}function ae(e,l){e&1&&(i(0,"div"),a(1,"Phone Number is required "),n())}function re(e,l){if(e&1&&(i(0,"div",19),m(1,ae,2,0,"div"),n()),e&2){let t=f();r(),s(1,t.formControls.phone_number.errors.required?1:-1)}}function se(e,l){e&1&&(i(0,"div"),a(1,"Phone Number is Invalid"),n())}function le(e,l){if(e&1&&(i(0,"div",19),m(1,se,2,0,"div"),n()),e&2){let t=f();r(),s(1,t.formControls.phone_number.errors.required?-1:1)}}function me(e,l){e&1&&(i(0,"div"),a(1,"Message is required"),n())}function de(e,l){if(e&1&&(i(0,"div",19),m(1,me,2,0,"div"),n()),e&2){let t=f();r(),s(1,t.formControls.message.errors.required?1:-1)}}var Ne=(()=>{class e{constructor(t,c,o,v,G,R,Z,H,J,K){this.service=t,this.metaTagService=c,this.seoService=o,this.titleService=v,this.document=G,this.platformId=R,this.fb=Z,this.formBuilder=H,this.errorService=J,this.router=K,this.id=5,this.contactus=[],this.parkingRental=[],this.destroy$=new x,this.errorMessage(),this.formData()}ngOnInit(){this.getContactUsData(),g(this.platformId)&&this.document.body.classList.add("staticpage_cmn")}getContactUsData(){this.service.getTermConditions(this.id).pipe(u(this.destroy$)).subscribe(t=>{this.contactus=t.data,this.titleService.setTitle(t.data.meta_title),this.metaTagService.addTags([{name:"description",content:t.data.meta_description}])})}formData(){this.contactForm=this.formBuilder.group({first_name:["",[p.required,p.pattern("^([a-zA-Z]+[,.]?[ ]?|[a-zA-Z]+['-]?)+$")]],last_name:["",[p.required,p.pattern("^([a-zA-Z]+[,.]?[ ]?|[a-zA-Z]+['-]?)+$")]],phone_number:["",p.required],email:["",[p.required,p.email]],message:["",[p.required]]})}get formControls(){return this.contactForm.controls}contactSubmit(){this.isValid=!0,this.contactForm.valid&&this.service.contactUs(this.contactForm.value).pipe(u(this.destroy$)).subscribe(t=>{t.status===!0&&(this.message=t.message,this.type="success",this.show=!0,this.contactForm.reset(),this.isValid=!1)})}closed(){this.message="",this.type="",this.show=!1}errorMessage(){this.errorService.isError().pipe(u(this.destroy$)).subscribe(t=>{if(t&&t.status===422)if(t.error.message)this.message=t.error.message,this.type="error",this.show=!0;else{let c=[];for(let o in t.error)c.push(t.error[o]);this.message=c.join().split(",").toString(),this.type="error",this.show=!0}})}ngOnDestroy(){g(this.platformId)&&this.document.body.classList.remove("staticpage_cmn"),this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(c){return new(c||e)(d(O),d(I),d($),d(F),d(N),d(E),d(S),d(S),d(U),d(M))}}static{this.\u0275cmp=b({type:e,selectors:[["app-contact-page"]],standalone:!0,features:[T],decls:67,vars:12,consts:[[1,"parking-policy-page"],[1,"banner_sec_ind_pages",2,"background","url('assets/images/contact-bg.jpg')","background-size","cover"],[1,"container-fluid"],[1,"innercontent"],[1,"staticpage_content"],[1,"container"],[1,"term_condi_text",3,"innerHTML"],[1,"checkout_form","checkout_custom_width"],[1,"row"],[1,"col-sm-8","offset-sm-2"],[1,"checkout_title"],[1,"border_top_checkout"],[3,"closed","message","type","show"],[1,"form_main"],[3,"formGroup"],[1,"form_grid"],[1,"form_grid_container"],[1,"form_group"],["for",""],[1,"help-block"],["placeholder","First Name","formControlName","first_name","type","text","autocomplete","off",1,"form_control"],["placeholder","Last Name","type","text","formControlName","last_name","autocomplete","off",1,"form_control"],[1,""],["placeholder","Email Address","type","email","formControlName","email","autocomplete","off",1,"form_control"],["cssClass","form_control","formControlName","phone_number"],[1,"full_width"],["placeholder","Message","formControlName","message","rows","3",1,"form_control"],["type","button","tabindex","0",1,"btn","btn_cmn",3,"click"]],template:function(c,o){c&1&&(i(0,"div",0)(1,"section",1)(2,"div",2)(3,"div",3)(4,"h1"),a(5),n()()()(),i(6,"section",4)(7,"div",5),_(8,"div",6),n()(),i(9,"section",7)(10,"div",5)(11,"div",8)(12,"div",9)(13,"div",10)(14,"h4",11),a(15," Contact Information "),n()(),i(16,"app-error-message",12),h("closed",function(){return o.closed()}),n(),i(17,"div",13)(18,"form",14)(19,"div",15)(20,"ul",16)(21,"li")(22,"div",17)(23,"label",18),a(24,"First Name"),i(25,"span",19),a(26,"*"),n()(),_(27,"input",20),m(28,X,3,2,"div",19),n()(),i(29,"li")(30,"div",17)(31,"label",18),a(32,"Last Name"),i(33,"span",19),a(34,"*"),n()(),_(35,"input",21),m(36,te,3,2,"div",19),n()(),i(37,"li",22)(38,"div",17)(39,"label",18),a(40,"Email Address"),i(41,"span",19),a(42,"*"),n()(),_(43,"input",23),m(44,oe,3,2,"div",19),n()(),i(45,"li")(46,"div",17)(47,"label",18),a(48,"Phone Number"),i(49,"span",19),a(50,"*"),n()(),_(51,"app-phone-input",24),m(52,re,2,1,"div",19)(53,le,2,1,"div",19),n()(),i(54,"li",25)(55,"div",17)(56,"label",18),a(57,"Message"),i(58,"span",19),a(59,"*"),n()(),_(60,"textarea",26),m(61,de,2,1,"div",19),n()(),i(62,"li",25)(63,"div",17)(64,"div")(65,"button",27),h("click",function(){return o.contactSubmit()}),a(66,"Send Message"),n()()()()()()()()()()()()()),c&2&&(r(5),P(" ",o.contactus==null?null:o.contactus.page_title,""),r(3),C("innerHTML",o.contactus==null?null:o.contactus.page_content,y),r(8),C("message",o.message)("type",o.type)("show",o.show),r(2),C("formGroup",o.contactForm),r(10),s(28,o.isValid&&o.formControls.first_name.errors?28:-1),r(8),s(36,o.isValid&&o.formControls.last_name.errors?36:-1),r(8),s(44,o.isValid&&o.formControls.email.errors?44:-1),r(8),s(52,o.isValid&&o.formControls.phone_number.errors?52:-1),r(),s(53,o.isValid&&o.formControls.phone_number.errors?53:-1),r(8),s(61,o.isValid&&o.formControls.message.errors?61:-1))},dependencies:[z,L,w,q,k,j,A,D,V,B],styles:[".form_grid_container[_ngcontent-%COMP%]{display:block!important}textarea[_ngcontent-%COMP%]{height:auto!important}.staticpage_content[_ngcontent-%COMP%]{padding:10px 0!important}"]})}}return e})();export{Ne as ContactPageComponent};

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.