1import{a as g}from"./chunk-34Q4RQFS.js";import{l as S}from"./chunk-IMDXOVWQ.js";import{f as m}from"./chunk-ELWJXKH4.js";import{a as f}from"./chunk-QSJABKNM.js";import{H as p,K as c,Na as I,ka as s,na as a,nf as v,p as u,sa as o,td as O,v as l,w as h,wa as d}from"./chunk-ZIECK5QA.js";var A=(()=>{let i=class i{constructor(){this.http=d(O),this.occEndpointsService=d(v)}getScheduleServiceConfiguration(e){let r=this.occEndpointsService.buildUrl("scheduleServiceConfiguration",{urlParams:{cartGroupId:e}});return this.http.get(r)}};i.\u0275fac=function(r){return new(r||i)},i.\u0275prov=o({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var B=(()=>{let i=class i extends g{constructor(){super(...arguments),this.userIdService=d(f),this.userOrderAdapter=d(S),this.cartGroupAdapter=d(A),this._orderHistoryFacade=d(m),this._lastProcessedReturnOrderCode=null}getOrderDetails(){return h([super.getOrderDetails(),this.isOrderDetailsLoading()]).pipe(p(([,e])=>!e),a(([e])=>{if(!e?.code)throw new Error("LOAD_ORDER_DETAILS_FAIL")}),l(([e])=>e))}generateInvoice(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.generateInvoice(t,e,r)),c(t=>u([])))}getInvoiceEligibility(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.getInvoiceEligibility(t,e,r)),c(()=>u(!1)))}downloadInvoice(e,r){return this.userIdService.takeUserId().pipe(a(t=>this.userOrderAdapter.downloadInvoice(t,e,r)))}downloadDropOffLabel(e,r){return this.userIdService.takeUserId().pipe(a(t=>this.userOrderAdapter.downloadDropOffLabel(t,e,r)))}downloadDropOffLabelConsignment(e,r){return this.userIdService.takeUserId().pipe(a(t=>this.userOrderAdapter.downloadDropOffConsignmentLabel(t,e,r)))}cancelOrder(e){return this.userIdService.takeUserId().pipe(s(r=>this.userOrderAdapter.cancel(r,e)))}getAllowedAttributesForOrderEdit(e){return this.userOrderAdapter.getAllowedAttributesForOrderEdit(e)}updateOrder(e){return this.userIdService.takeUserId().pipe(s(r=>this.userOrderAdapter.updateOrder(r,e)))}getEditOrder(e){return this.userIdService.takeUserId().pipe(s(r=>this.userOrderAdapter.getEditOrder(r,e)))}reloadOrder(e){return this._orderHistoryFacade.loadOrderDetails(e),this.isOrderDetailsLoading().pipe(p(r=>!r),s(()=>this.getOrderDetails()))}getReturnDetails(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.getReturnDetails(t,e,r)))}getDeliveryOptionsForReturn(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.getDeliveryOptionsForReturn(t,e,r)))}processReturn(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.processReturn(t,e,r)))}reviewReturn(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.reviewReturn(t,e,r)))}sendDigitalProductConfirmationEmail(e,r,t){return this.userIdService.takeUserId().pipe(s(D=>this.userOrderAdapter.sendDigitalProductConfirmationEmail(D,e,r,t)))}getOrderScheduleServiceConfiguration(e){return this.cartGroupAdapter.getScheduleServiceConfiguration(e)}getCancellationDetails(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.getCancelDetails(t,e,r)))}processCancellation(e,r){return this.userIdService.takeUserId().pipe(s(t=>this.userOrderAdapter.processCancellation(t,e,r)))}reviewCancellation(e){return this.userIdService.takeUserId().pipe(s(r=>this.userOrderAdapter.reviewCancellation(r,e)))}};i.\u0275fac=(()=>{let e;return function(t){return(e||(e=I(i)))(t||i)}})(),i.\u0275prov=o({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();export{B 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.