1import{k as S}from"./chunk-QVNPWISA.js";import"./chunk-BIN7C7OW.js";import"./chunk-W3OE3L5D.js";import"./chunk-VDWXESJF.js";import"./chunk-JCOTUPE5.js";import{B as f,Bc as C,Ja as v,Xd as g,da as h,zc as l}from"./chunk-TXT3R3MF.js";import{Ea as u,Fa as d,Ja as i,fc as m,gc as p,x as a,y as s}from"./chunk-PWAHSUDZ.js";import"./chunk-2BAXZMGZ.js";var k=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=m({type:t,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,r){},encapsulation:2})}}return t})(),M=(()=>{class t{constructor(){this.routingService=i(C),this.quoteCartService=i(S),this.router=i(h),this.semanticPathService=i(l)}canActivate(){return s([this.quoteCartService.isQuoteCartActive(),this.quoteCartService.getQuoteId(),this.quoteCartService.isCheckoutAllowed(),this.routingService.getRouterState()]).pipe(a(([o,e,r,n])=>{let c=this.checkAllowedCheckoutNavigation(n,r);return o&&!c?this.router.createUrlTree(this.semanticPathService.transform({cxRoute:"quoteDetails",params:{quoteId:e}})):!0}))}checkAllowedCheckoutNavigation(o,e){let r=o.nextState?.semanticRoute?.startsWith("checkout"),n=o.state.semanticRoute?.startsWith("checkout"),c=o.nextState===void 0;return(r||n&&c)&&e}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=u({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),G=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=p({type:t})}static{this.\u0275inj=d({providers:[v({cmsComponents:{QuoteCartGuardComponent:{component:k,guards:[M]}}})],imports:[f,g]})}}return t})();export{M as QuoteCartGuard,k as QuoteCartGuardComponent,G as QuoteCartGuardComponentModule};
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.