PageSourceSearch

https://parkroll.com/chunk-4356KGOC.js

js parkroll.com collected 2026-10-09 23:00:12 UTC 17,351 bytes, 1 lines download raw bytes

1import{a as He}from"./chunk-EIMZ2KHW.js";import{a as Ne}from"./chunk-2OWA4IKX.js";import{a as Te,b as Ae,c as Ye}from"./chunk-K2TIXJB4.js";import{a as Ce}from"./chunk-Y3VV2W3U.js";import"./chunk-FHLO2RUC.js";import"./chunk-BRLMSXF2.js";import{a as Ie}from"./chunk-JFWDEDZZ.js";import{a as Fe}from"./chunk-CAWLEGIC.js";import{a as Ee}from"./chunk-TA3ADEM3.js";import{d as Se,f as $e,g as we,h as De}from"./chunk-M7TADY4E.js";import"./chunk-QTV3IYRX.js";import"./chunk-LEUAFVGP.js";import{c as fe,e as O,f as ge,g as ve,j as _e,m as ke,p as ye,v as Me,w as be,x as xe}from"./chunk-PFMIRK7D.js";import{a as Oe,b as je}from"./chunk-O2SLTBF3.js";import"./chunk-BG6Y35XF.js";import"./chunk-QYOPBLEW.js";import{m as pe,n as he}from"./chunk-QZF4BYYK.js";import{d as ce,e as ue}from"./chunk-6PWC45SL.js";import"./chunk-CKMQKFKR.js";import{d as me}from"./chunk-47VOJU3P.js";import{a as Pe}from"./chunk-HYKIMZ2U.js";import{q as le}from"./chunk-Z7IJLIMF.js";import{Bb as S,Cc as ae,Ec as de,Jb as T,Ob as $,Pb as G,Qb as L,Rb as U,Sb as s,Tb as a,Ub as z,aa as ee,ac as H,ba as te,bc as Y,ec as ne,f as X,ha as ie,ib as c,jb as b,ma as B,mc as p,nc as N,qa as oe,vc as re,wc as se,xc as W}from"./chunk-IPCK6OJA.js";import{e as Ue,g as R}from"./chunk-RVFOIZLJ.js";var Ve=Ue((Q,J)=>{(function(n,d){typeof Q=="object"&&typeof J<"u"?J.exports=d():typeof define=="function"&&define.amd?define(d):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_duration=d()})(Q,function(){"use strict";var n,d,e=1e3,i=6e4,r=36e5,y=864e5,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,E=31536e6,F=2628e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,x={years:E,months:F,days:y,hours:r,minutes:i,seconds:e,milliseconds:1,weeks:6048e5},D=function(l){return l instanceof Z},P=function(l,o,t){return new Z(l,t,o.$l)},I=function(l){return d.p(l)+"s"},j=function(l){return l<0},C=function(l){return j(l)?Math.ceil(l):Math.floor(l)},f=function(l){return Math.abs(l)},g=function(l,o){return l?j(l)?{negative:!0,format:""+f(l)+o}:{negative:!1,format:""+l+o}:{negative:!1,format:""}},Z=function(){function l(t,m,h){var u=this;if(this.$d={},this.$l=h,t===void 0&&(this.$ms=0,this.parseFromMilliseconds()),m)return P(t*x[I(m)],this);if(typeof t=="number")return this.$ms=t,this.parseFromMilliseconds(),this;if(typeof t=="object")return Object.keys(t).forEach(function(M){u.$d[I(M)]=t[M]}),this.calMilliseconds(),this;if(typeof t=="string"){var v=t.match(A);if(v){var _=v.slice(2).map(function(M){return M!=null?Number(M):0});return this.$d.years=_[0],this.$d.months=_[1],this.$d.weeks=_[2],this.$d.days=_[3],this.$d.hours=_[4],this.$d.minutes=_[5],this.$d.seconds=_[6],this.calMilliseconds(),this}}return this}var o=l.prototype;return o.calMilliseconds=function(){var t=this;this.$ms=Object.keys(this.$d).reduce(function(m,h){return m+(t.$d[h]||0)*x[h]},0)},o.parseFromMilliseconds=function(){var t=this.$ms;this.$d.years=C(t/E),t%=E,this.$d.months=C(t/F),t%=F,this.$d.days=C(t/y),t%=y,this.$d.hours=C(t/r),t%=r,this.$d.minutes=C(t/i),t%=i,this.$d.seconds=C(t/e),t%=e,this.$d.milliseconds=t},o.toISOString=function(){var t=g(this.$d.years,"Y"),m=g(this.$d.months,"M"),h=+this.$d.days||0;this.$d.weeks&&(h+=7*this.$d.weeks);var u=g(h,"D"),v=g(this.$d.hours,"H"),_=g(this.$d.minutes,"M"),M=this.$d.seconds||0;this.$d.milliseconds&&(M+=this.$d.milliseconds/1e3,M=Math.round(1e3*M)/1e3);var V=g(M,"S"),Ge=t.negative||m.negative||u.negative||v.negative||_.negative||V.negative,Le=v.format||_.format||V.format?"T":"",q=(Ge?"-":"")+"P"+t.format+m.format+u.format+Le+v.format+_.format+V.format;return q==="P"||q==="-P"?"P0D":q},o.toJSON=function(){return this.toISOString()},o.format=function(t){var m=t||"YYYY-MM-DDTHH:mm:ss",h={Y:this.$d.years,YY:d.s(this.$d.years,2,"0"),YYYY:d.s(this.$d.years,4,"0"),M:this.$d.months,MM:d.s(this.$d.months,2,"0"),D:this.$d.days,DD:d.s(this.$d.days,2,"0"),H:this.$d.hours,HH:d.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:d.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:d.s(this.$d.seconds,2,"0"),SSS:d.s(this.$d.milliseconds,3,"0")};return m.replace(w,function(u,v){return v||String(h[u])})},o.as=function(t){return this.$ms/x[I(t)]},o.get=function(t){var m=this.$ms,h=I(t);return h==="milliseconds"?m%=1e3:m=h==="weeks"?C(m/x[h]):this.$d[h],m||0},o.add=function(t,m,h){var u;return u=m?t*x[I(m)]:D(t)?t.$ms:P(t,this).$ms,P(this.$ms+u*(h?-1:1),this)},o.subtract=function(t,m){return this.add(t,m,!0)},o.locale=function(t){var m=this.clone();return m.$l=t,m},o.clone=function(){return P(this.$ms,this)},o.humanize=function(t){return n().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},o.valueOf=function(){return this.asMilliseconds()},o.milliseconds=function(){return this.get("milliseconds")},o.asMilliseconds=function(){return this.as("milliseconds")},o.seconds=function(){return this.get("seconds")},o.asSeconds=function(){return this.as("seconds")},o.minutes=function(){return this.get("minutes")},o.asMinutes=function(){return this.as("minutes")},o.hours=function(){return this.get("hours")},o.asHours=function(){return this.as("hours")},o.days=function(){return this.get("days")},o.asDays=function(){return this.as("days")},o.weeks=function(){return this.get("weeks")},o.asWeeks=function(){return this.as("weeks")},o.months=function(){return this.get("months")},o.asMonths=function(){return this.as("months")},o.years=function(){return this.get("years")},o.asYears=function(){return this.as("years")},l}(),K=function(l,o,t){return l.add(o.years()*t,"y").add(o.months()*t,"M").add(o.days()*t,"d").add(o.hours()*t,"h").add(o.minutes()*t,"m").add(o.seconds()*t,"s").add(o.milliseconds()*t,"ms")};return function(l,o,t){n=t,d=t().$utils(),t.duration=function(u,v){var _=t.locale();return P(u,{$l:_},v)},t.isDuration=D;var m=o.prototype.add,h=o.prototype.subtract;o.prototype.add=function(u,v){return D(u)?K(this,u,1):m.bind(this)(u,v)},o.prototype.subtract=function(u,v){return D(u)?K(this,u,-1):h.bind(this)(u,v)}}})});var k=R(Ie());var qe=R(Ie()),Re=R(Ve());qe.default.extend(Re.default);var Be=(()=>{class n{constructor(e,i){this.extendParkingStore=e,this.http=i,this.baseUrl=Pe.API_URL}get(e){return this.http.post(this.baseUrl+"/web/extendParking",e).pipe(te(i=>{i.status===!0&&this.extendParkingStore.set(i.data)}))}add(e){this.extendParkingStore.add(e)}update(e,i){this.extendParkingStore.update(e,i)}remove(e){this.extendParkingStore.remove(e)}static{this.\u0275fac=function(i){return new(i||n)(B(He),B(me))}}static{this.\u0275prov=ie({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Qe=()=>({dateInputFormat:"DD-MMM-YYYY",showWeekNumbers:!1,customTodayClass:"custom-today-class",adaptivePosition:"true"}),Je=()=>["/how-it-work"];function Ze(n,d){n&1&&(s(0,"div"),p(1,"Last Name is required"),a())}function Ke(n,d){if(n&1&&(s(0,"div",10),S(1,Ze,2,0,"div"),a()),n&2){let e=Y();c(),$(1,e.formControls.last_name.errors.required?1:-1)}}function Xe(n,d){n&1&&(s(0,"div"),p(1,"Confirmation ID is required"),a())}function et(n,d){if(n&1&&(s(0,"div",10),S(1,Xe,2,0,"div"),a()),n&2){let e=Y();c(),$(1,e.formControls.booking_id.errors.required?1:-1)}}function tt(n,d){n&1&&(s(0,"div"),p(1,"To Date is required"),a())}function it(n,d){if(n&1&&(s(0,"div",10),S(1,tt,2,0,"div"),a()),n&2){let e=Y();c(),$(1,e.formControls.toDate.errors.required?1:-1)}}function ot(n,d){if(n&1&&(s(0,"ng-option",24),p(1),a()),n&2){let e=d.$implicit;ne("value",e),c(),N(e)}}function nt(n,d){n&1&&(s(0,"div"),p(1,"End Time is required"),a())}function rt(n,d){if(n&1&&(s(0,"div",10),S(1,nt,2,0,"div"),a()),n&2){let e=Y();c(),$(1,e.formControls.toHour.errors.required?1:-1)}}function st(n,d){if(n&1&&(s(0,"div",34)(1,"div",35)(2,"h4"),p(3),a(),s(4,"h3"),p(5),a(),s(6,"p"),p(7),a()()()),n&2){let e=d.$implicit;c(3),N(e.step),c(2),N(e.heading),c(2),N(e.content)}}var It=(()=>{class n{constructor(e,i,r,y,w,E,F,A,x){this.formBuilder=e,this.service=i,this.checkout=r,this.checkoutQuery=y,this.router=w,this.metaTagService=E,this.seoService=F,this.titleService=A,this.errorService=x,this.Dateformat="YYYY-MM-DD",this.hours=["12:00 AM","12:30 AM","01:00 AM","01:30 AM","02:00 AM","02:30 AM","03:00 AM","03:30 AM","04:00 AM","04:30 AM","05:00 AM","05:30 AM","06:00 AM","06:30 AM","07:00 AM","07:30 AM","08:00 AM","08:30 AM","09:00 AM","09:30 AM","10:00 AM","10:30 AM","11:00 AM","11:30 AM","12:00 PM","12:30 PM","01:00 PM","01:30 PM","02:00 PM","02:30 PM","03:00 PM","03:30 PM","04:00 PM","04:30 PM","05:00 PM","05:30 PM","06:00 PM","06:30 PM","07:00 PM","07:30 PM","08:00 PM","08:30 PM","09:00 PM","09:30 PM","10:00 PM","10:30 PM","11:00 PM","11:30 PM"],this.Howitworks=[{step:"Step 1",heading:"Find the spot.",content:"Find the spot by entering the time & location you would like to park. Compare rates and pick your perfect parking spot."},{step:"Step 2",heading:"Pay in advance.",content:"Pay in advance for your spot and get the parking pass instantly via text message and email."},{step:"Step 3",heading:"Show your pass.",content:"Upon arrival, show your parking pass and follow the instructions in the parking pass. You're all set."}],this.Howitworksslider={slidesPerView:1,slidesPerGroup:1,spaceBetween:16,showNavigation:!0,showPagination:!0,pagination:{clickable:!0,renderBullet:(D,P)=>`<a class="${P} dot"><div class="d-flex"><span>Step </span><span> ${D+1}</span></div></a>`},breakpoints:{768:{slidesPerView:2,slidesPerGroup:1},1101:{slidesPerView:3,slidesPerGroup:1}}},this.destroy$=new X}ngOnInit(){this.errorMessage(),this.titleService.setTitle("Extend Parking | Prepay and Get Extended Parking Pass"),this.metaTagService.addTags([{name:"description",content:"Extend your parking with Parkroll - Prepay for the additional hours or days of extension and get the extended parking pass instantly via text message and email"}]),this.toMinDate=(0,k.default)(new Date).subtract(7,"days").toDate(),this.toDate=(0,k.default)(new Date).toDate(),this.formData()}slickInit(e){}breakpoint(e){}afterChange(e){}beforeChange(e){}formData(){let e=(0,k.default)(new Date).format(this.Dateformat);this.extendForm=this.formBuilder.group({booking_id:["",O.required],last_name:["",O.required],toHour:["03:00 AM",O.required],toDate:[e,O.required]})}get formControls(){return this.extendForm.controls}onValueChangeTo(e){if(e){let i=(0,k.default)(e).format(this.Dateformat);this.extendForm.get("toDate").setValue(i)}}extendParking(){this.isValid=!0,this.extendForm.valid&&this.service.get(this.extendForm.value).pipe(ee(this.destroy$)).subscribe(e=>{if(e.status===!0&&e.data?.soldout===!1&&e.data?.midNight===!0){let i=e.data,r="YYYY-MM-DD",y=(0,k.default)(new Date).format(r),w=(0,k.default)(i?.booking?.from_date).format(r),E=(0,k.default)(i?.booking?.to_date).format(r),F=(0,k.default)(y).diff((0,k.default)(w)),A=k.default.duration(F).asDays();if(w>E||A>7)this.message="Please!! Enter Valid data",this.type="error",this.show=!0;else{let x={id:1,fromDate:i?.booking?.from_date,toDate:i?.booking?.to_date,fromHour:i?.booking?.from_hour,toHour:i?.booking?.to_hour,property_id:i?.booking?.property_id,option:i?.booking?.option,amount:i?.booking?.amount,property_booking_name:i?.booking?.option_name,property_name:i?.booking?.property_name,extend:!0,bookingId:i?.booking?.booking_id,mode:i?.booking?.booking_mode,service_charge:i?.booking?.service_charge,service_description:i?.booking?.service_description,extraData:{},offer:i?.booking?.offer,slot:i?.booking?.slot,special:!1},D=i.property_services,P=i.property_aminities,I=i.property_rideOptions,j=i.tax,C={id:1,first_name:i?.booking?.first_name,last_name:i?.booking?.last_name,phone_number:i?.booking?.phone_no,email:i?.booking?.email,zip:i?.booking?.zip_code,about:i?.booking?.about,other:i?.booking?.other,make_model:i?.booking?.make_model,license_plate:i?.booking?.license_plate},f=this.checkoutQuery.getValue();if(f.serviceFilter&&f.serviceFilter.length!==0){let g=this.getColumn(f.serviceFilter,"id");this.checkout.serviceFilterRemove(g)}if(f.amenitiesFilter&&f.amenitiesFilter.length!==0){let g=this.getColumn(f.amenitiesFilter,"id");this.checkout.amenitiesFilterRemove(g)}if(f.rideOptionFilter&&f.rideOptionFilter.length!==0){let g=this.getColumn(f.rideOptionFilter,"id");this.checkout.rideOptionFilterRemove(g)}if(f.tax&&f.tax.length!==0){let g=this.getColumn(f.tax,"id");this.checkout.taxRemove(g)}this.checkout.contactInfoRemove(),this.checkout.contactInfo(C),this.checkout.bookingInfoRemove(),this.checkout.bookingInfo(x),this.checkout.serviceFilter(D),this.checkout.amenitiesFilter(P),this.checkout.rideOptionFilter(I),this.checkout.taxStroe(j),this.router.navigate(["/checkout-payment-page"])}}else e.data?.soldout===!0?(this.message="Sold Out",this.type="error",this.show=!0):e.data?.midNight===!1&&(this.message=`No Overnight Parking is allowed for this property. Parking is open only from ${e.cancellation?.midnight_from_hour}  to ${e.cancellation?.midnight_to_hour}`,this.type="error",this.show=!0)})}getColumn(e,i){return e.map(r=>r[i])}closed(){this.message="",this.type="",this.show=!1}errorMessage(){this.errorService.isError().subscribe(e=>{if(e&&e.status===422)if(e.error.message)this.message=e.error.message,this.type="error",this.show=!0;else{let i=[];for(let r in e.error)i.push(e.error[r]);this.message=i.join().split(",").toString(),this.type="error",this.show=!0}else e&&e.status===400&&e.error.message&&(this.message=e.error.message,this.type="error",this.show=!0)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||n)(b(Me),b(Be),b(je),b(Oe),b(pe),b(ce),b(Ce),b(ue),b(Ee))}}static{this.\u0275cmp=oe({type:n,selectors:[["app-extend-parking"]],standalone:!0,features:[re([De]),se],decls:61,vars:21,consts:[[1,"home_filter_module","exted_parking_module"],[1,"container"],[1,"home_filter_module_container"],[1,"home_filter_tabs","exted_parking_tab"],[1,"col-12","col-sm-12","col-lg-12","col-xl-12","page_title","text-center"],[3,"closed","message","type","show"],[1,"hourly_section"],[1,"login-container",3,"formGroup"],[1,"address_filter_main"],[1,"input_header"],[1,"help-block"],[1,"user-icon"],["type","text","formControlName","last_name","placeholder","Last Name",1,"form-control","search_field"],[1,"address_filter_main","cust-mar-t"],[1,"reservation-id"],["type","text","formControlName","booking_id","placeholder","Reservation Confirmation ID",1,"form-control","search_field"],[1,"arrive_exit_filter_main"],[1,"arrive_exit_filter_cont","three_col"],[1,"date_time_container"],[1,"date_cont"],["type","text","autocomplete","off","autocomplete","off","placeholder","Today","bsDatepicker","","placeholder","Today",1,"form-control","date_ctrls",3,"bsValueChange","bsValue","value","minDate","bsConfig"],[1,"drop_selectbox","mar-z"],[1,"address_filter_cont"],["placeholder","12:00 AM","formControlName","toHour",3,"searchable","dropdownPosition"],[3,"value"],[1,"filter_button_main"],["type","button",1,"btn","btn_cmn",3,"click"],[1,"how_works_module"],[1,"container-fluid"],[1,"how_works_inner_cont"],[1,"how_works_title"],[1,"arrow",3,"routerLink"],[1,"how_works_cont"],[1,"carousel",3,"config"],[1,"swiper-slide","slide"],[1,"row_more_content"]],template:function(i,r){i&1&&(s(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",1)(5,"div",4)(6,"h1"),p(7,"Extend Parking"),a()(),s(8,"a
1pp-error-message",5),H("closed",function(){return r.closed()}),a(),s(9,"div",6)(10,"form",7)(11,"div",8)(12,"span",9),p(13,"Last Name"),s(14,"span",10),p(15,"*"),a()(),s(16,"div",11),z(17,"input",12),S(18,Ke,2,1,"div",10),a()(),s(19,"div",13)(20,"span",9),p(21,"Reservation Confirmation ID "),s(22,"span",10),p(23,"*"),a()(),s(24,"div",14),z(25,"input",15),S(26,et,2,1,"div",10),a()(),s(27,"div",16)(28,"ul",17)(29,"li")(30,"span",9),p(31,"To Date"),a(),s(32,"div",18)(33,"div",19)(34,"input",20),ae(35,"date"),H("bsValueChange",function(w){return r.onValueChangeTo(w)}),a(),S(36,it,2,1,"div",10),a()()(),s(37,"li")(38,"div",21)(39,"span",9),p(40,"End Time"),a(),s(41,"div",22)(42,"ng-select",23),L(43,ot,2,2,"ng-option",24,G),a(),S(45,rt,2,1,"div",10),a()()()()(),s(46,"div",25)(47,"button",26),H("click",function(){return r.extendParking()}),p(48,"Extend Parking"),a()()()()()()()()(),s(49,"section",27)(50,"div",28)(51,"div",29)(52,"div",30)(53,"h2"),p(54,"How it works"),a(),s(55,"a",31),p(56,"learn more "),a()(),s(57,"div",32)(58,"app-swiper-carousel",33),L(59,st,8,3,"div",34,G),a()()()()()),i&2&&(c(8),T("message",r.message)("type",r.type)("show",r.show),c(2),T("formGroup",r.extendForm),c(8),$(18,r.isValid&&r.formControls.last_name.errors?18:-1),c(8),$(26,r.isValid&&r.formControls.booking_id.errors?26:-1),c(8),T("bsValue",r.toDate)("value",de(35,16,r.toDate,"dd-MMM-y"))("minDate",r.toMinDate)("bsConfig",W(19,Qe)),c(2),$(36,r.isValid&&r.formControls.toDate.errors?36:-1),c(6),T("searchable",!1)("dropdownPosition","auto"),c(),U(r.hours),c(2),$(45,r.isValid&&r.formControls.toHour.errors?45:-1),c(10),T("routerLink",W(20,Je)),c(3),T("config",r.Howitworksslider),c(),U(r.Howitworks))},dependencies:[Fe,be,_e,fe,ge,ve,xe,ke,ye,we,Se,$e,Ye,Ae,Te,he,Ne,le],styles:[".address_filter_main[_ngcontent-%COMP%]{margin-top:19px!important}.ng-select[_ngcontent-%COMP%]   .ng-dropdown-panel[_ngcontent-%COMP%]{top:unset;bottom:unset}"]})}}return n})();export{It as ExtendParkingComponent};

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.