1import{Be as m,eg as d,gf as l,if as h,nf as u,od as c,sa as a,td as p,va as s}from"./chunk-ZIECK5QA.js";var C=(()=>{let i=class i{constructor(e,r,t){this.http=e,this.occEndpointsService=r,this.converterService=t}getMembershipUpgrades(e){let r=this.occEndpointsService.buildUrl("membershipUpgrade",{urlParams:{userId:e}}),t=new c;return e===m&&(t=h.createHeader(l,!0,t)),this.http.get(r,{headers:t})}addMembershipUpgradeToCart(e,r,t){var o={};t&&(o.productCode=t);let b=this.occEndpointsService.buildUrl("addMembershipUpgradeToCart",{urlParams:{userId:e,cartId:r},queryParams:o});return this.http.post(b,{})}canCancelMembership(e){let r=this.occEndpointsService.buildUrl("canCancelMembership",{urlParams:{userId:e}});return this.http.get(r)}cancelMembership(e,r){let t=this.occEndpointsService.buildUrl("membership",{urlParams:{userId:e},queryParams:{reason:r}});return this.http.delete(t)}setAutoRenew(e,r){let t=this.occEndpointsService.buildUrl("membershipAutoRenew",{urlParams:{userId:e},queryParams:{enableAutoRenew:r}});return this.http.post(t,{})}};i.\u0275fac=function(r){return new(r||i)(s(p),s(u),s(d))},i.\u0275prov=a({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();export{C 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.