PageSourceSearch

https://midlandsoccerclub.com/chunk-WLMRFXCZ.js

js midlandsoccerclub.com collected 2026-10-09 22:41:42 UTC 3,024 bytes, 1 lines download raw bytes

1import{W as n,_ as m,ba as u,e as c,fi as b,hd as l,sf as o}from"./chunk-SMW7PHYX.js";var $=(()=>{let i=class i{constructor(t){this.webApiService=t,this.baseUrl="admin/facility-rentals",this.settingsSubject=new c(null),this.settings$=this.settingsSubject.asObservable()}getSettings(){return this.webApiService.getData(`${this.baseUrl}/settings`).pipe(n(t=>{this.settingsSubject.next(t)}))}updateSettings(t){return this.webApiService.putData(`${this.baseUrl}/settings`,t).pipe(n(e=>{this.settingsSubject.next(e)}))}getCurrentSettings(){return this.settingsSubject.value}refreshSettings(){return this.getSettings()}getTimeSlotRulesFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/settings/time-slot-rules/form-metadata`)}getTermsConditionsFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/settings/terms-conditions/form-metadata`)}getPricingPaymentFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/settings/pricing-payment/form-metadata`)}getFacilitySelectionFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/rent/facility-selection/form-metadata`)}getAddFacilityFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/settings/form-metadata`)}getVirtualAndSavedTimeSlots(t,e,a){let r=new l().set("facilityFieldID",t.toString()).set("date",o(e));return a&&(r=r.set("endDate",o(a))),this.webApiService.getData(`${this.baseUrl}/time-slots/virtual`,r)}getTimeSlotFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/time-slots/form-metadata`)}updateTimeSlot(t,e){return this.webApiService.putData(`${this.baseUrl}/time-slots/${t}`,e)}getRescheduleFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/time-slots/reschedule-form-metadata`)}rescheduleRental(t){return this.webApiService.putData(`${this.baseUrl}/reschedule`,t)}createTimeSlot(t){return this.webApiService.postData(`${this.baseUrl}/time-slots`,t)}getBulkUpdateFormMetadata(){return this.webApiService.getData(`${this.baseUrl}/time-slots/bulk-update/form-metadata`)}bulkUpdateTimeSlots(t){return this.webApiService.putData(`${this.baseUrl}/time-slots/bulk-update`,t)}getMyRentals(t=!0,e=!1){let a=new l().set("includeUpcoming",t.toString()).set("includePast",e.toString());return this.webApiService.getData(`${this.baseUrl}/rentals/my`,a)}createRental(t){return this.webApiService.postData(`${this.baseUrl}/rentals`,t)}getRental(t){return this.webApiService.getData(`${this.baseUrl}/rentals/${t}`)}cancelRental(t,e){return this.webApiService.postData(`${this.baseUrl}/rentals/${t}/cancel`,{reason:e})}cancelTimeSlot(t,e){return this.webApiService.putData(`${this.baseUrl}/time-slots/${t}/cancel`,{reason:e})}bulkCancelTimeSlots(t,e){return this.webApiService.putData(`${this.baseUrl}/time-slots/bulk-cancel`,{timeSlotIDs:t,reason:e})}markRentalAsPaid(t){return this.webApiService.postData(`${this.baseUrl}/rentals/${t}/mark-paid`,{})}};i.\u0275fac=function(e){return new(e||i)(u(b))},i.\u0275prov=m({token:i,factory:i.\u0275fac});let s=i;return s})();export{$ as 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.