1import{_ as g,ba as d,fi as u,hd as n,q as o}from"./chunk-SMW7PHYX.js";var f=(()=>{let s=class s{constructor(e){this.webAPI=e}getPrograms(e,t=!0){let a=new n;return t&&(a=a.append("includeIncomplete","true")),this.isPlayer?this.webAPI.getData(`admin/players/${e}/programs`,a):this.webAPI.getData(`admin/users/${e}/programs`,a)}getRegistrationQuestionResponses(e,t){return this.isPlayer?this.webAPI.getData(`admin/players/${e}/programs/${t}/registration-question-responses`):this.webAPI.getData(`admin/users/${e}/programs/${t}/registration-question-responses`)}cancelPlayerRegistration(e,t,a){let r=new n;return r=r.append("notify",a.toString()),this.webAPI.putData(`admin/player-registrations/${e}/cancel`,t,r)}removePlayerRegistration(e){return this.webAPI.deleteData(`admin/player-registrations/${e}/remove`)}getPlayerRegistrationApplyExistingCreditMetadata(e,t){return this.webAPI.getData(`admin/players/${e}/player-registrations/${t}/apply-existing-credit/metadata`)}getPlayerApplyNewCreditMetadata(e){let t=new n;return e&&(t=t.append("percentage",e.toString())),this.webAPI.getData("admin/players/player-registrations/apply-new-credit/metadata",t)}calculateApplyNewCredit(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-new-credit/calculate`,a,i)}calculateApplyExistingCredits(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-existing-credit/calculate`,a,i)}applyNewCredit(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-new-credit`,a,i).pipe(o(p=>p?[p]:null))}applyExistingCredits(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-existing-credit`,a,i)}getPlayerRegistrationApplyRefundMetadata(e,t){let a=new n;return t&&(a=a.append("playerRegistrationPaymentID",t.toString())),this.webAPI.getData(`admin/player-registrations/${e}/apply-refund/metadata`,a)}applyRefund(e,t,a){let r=new n;return a&&(r=r.append("playerRegistrationPaymentID",a.toString())),this.webAPI.postData(`admin/player-registrations/${e}/apply-refund`,t,r)}getPlayerRegistrationApplyExistingCreditAsRefundMetadata(e,t){return this.webAPI.getData(`admin/players/${e}/player-registrations/${t}/apply-existing-credit-as-refund/metadata`)}calculateApplyNewCreditAsRefund(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-new-credit-as-refund/calculate`,a,i)}calculateApplyExistingCreditAsRefund(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-existing-credit-as-refund/calculate`,a,i)}applyNewCreditAsRefund(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-new-credit-as-refund`,a,i).pipe(o(p=>p?[p]:null))}applyExistingCreditAsRefund(e,t,a,r=null){let i=new n;return r!==null&&(i=i.append("playerRegistrationPaymentID",r.toString())),this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/apply-existing-credit-as-refund`,a,i)}getPlayerRegistrationChangeMetadata(e,t){return this.webAPI.getData(`admin/players/${e}/player-registrations/${t}/change/metadata`)}getPlayerRegistrationChangeNewPaymentMetadata(){return this.webAPI.getData("admin/players/player-registrations/change/new-payment/metadata")}changePlayerRegistration(e,t,a){return this.webAPI.putData(`admin/players/${e}/player-registrations/${t}/change`,a)}calculateChangePlayerRegistration(e,t,a){return this.webAPI.putData(`admin/players/${e}/player-registrations/${t}/change/calculate`,a)}getPlayerRegistrationChangeOptions(e,t,a){let r=new n;return r=r.append("registrationID",a.toString()),this.webAPI.getData(`admin/players/${e}
1/player-registrations/${t}/change/registration-options`,r)}getPlayerRegistrationNoteMetadata(){return this.webAPI.getData("admin/players/player-registrations/note/metadata")}updatePlayerRegistrationNote(e,t){return this.webAPI.putData(`admin/player-registrations/${e}/note`,t)}getPlayerRegistrationNote(e){return this.webAPI.getData(`admin/player-registrations/${e}/note`)}refundPlayerRegistrationTimeSlot(e,t,a){return this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/time-slot/${a}/refund`,null)}adminCancelAndRefundParticipantTimeSlot(e,t,a,r){return r?this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/time-slot/${a}/credit`,null):this.webAPI.postData(`admin/players/${e}/player-registrations/${t}/time-slot/${a}/refund`,null)}};s.\u0275fac=function(t){return new(t||s)(d(u))},s.\u0275prov=g({token:s,factory:s.\u0275fac});let l=s;return l})();export{f 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.