PageSourceSearch

https://www.quickdrinks.com/8910.af4d1cc3a5fd58d7.js

js quickdrinks.com collected 2026-10-02 01:42:31 UTC 18,200 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhot_b2b=self.webpackChunkhot_b2b||[]).push([[8910],{68910(N,$,e){e.d($,{OrderTemplateModule:()=>ft});var y=e(49769),M=e(93049),S=e(51049),l=e(59640),R=e(21413),T=e(5964),C=e(96354),I=e(56977),g=e(77048),D=e(96697),h=e(29912),F=e(69830),f=e(98382),c=e(38327),u=e(69491),P=e(72127),x=e(17274),G=e(1551),A=e(33446),t=e(35547),o=e(85802),K=e(36863),U=e(40149),V=e(38764),d=e(82858),E=e(37702),m=e(49698),p=e(14203),v=e(19916),L=e(78606),j=e(7761),b=e(73927),_=e(24123),W=e(74961),B=e(90001),Y=e(40591),Q=e(26293),z=e(57381),J=e(73955),H=e(77174);const Z=n=>({active:n}),X=n=>({count:n});function w(n,O){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const s=t.XpG().$implicit;t.R7$(),t.SpI(" ",t.i5U(2,1,"order-template.order-templates.items-count-one",t.eq3(4,X,null==s.items?null:s.items.length))," ")}}function q(n,O){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const s=t.XpG().$implicit;t.R7$(),t.SpI(" ",t.i5U(2,1,"order-template.order-templates.items-count-multiple",t.eq3(4,X,null==s.items?null:s.items.length))," ")}}function tt(n,O){if(1&n){const s=t.RV6();t.j41(0,"div",10)(1,"div",11),t.nI1(2,"async"),t.bIt("click",function(){const r=o.eBV(s).$implicit,i=t.XpG(2);return o.Njj(i.selectTemplate(r))}),t.j41(3,"div",12)(4,"div",13),t.EFF(5),t.k0s(),t.DNE(6,w,3,6,"div",14)(7,q,3,6,"div",14),t.k0s(),t.nrm(8,"svg-icon",15),t.nI1(9,"svgPath"),t.k0s()()}if(2&n){let s;
1const a=O.$implicit,r=t.XpG(2);t.R7$(),t.Y8G("mod",t.eq3(10,Z,(null==a?null:a.id)===(null==(s=t.bMT(2,6,r.selectedOrderTemplate$))?null:s.id))),t.BMQ("data-tracking",r.getTrackData(a)),t.R7$(4),t.JRh(a.name),t.R7$(),t.Y8G("ngIf",1===a.items.length),t.R7$(),t.Y8G("ngIf",1!==a.items.length),t.R7$(),t.Y8G("src",t.bMT(9,8,"arrow-right.svg"))}}function et(n,O){if(1&n&&(t.j41(0,"div",6)(1,"h1"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",7)(5,"div",8),t.DNE(6,tt,10,12,"div",9),t.nI1(7,"async"),t.k0s()()()),2&n){const s=t.XpG();t.R7$(2),t.JRh(t.bMT(3,2,"order-template.order-templates.title")),t.R7$(4),t.Y8G("ngForOf",t.bMT(7,4,s.orderTemplates$))}}function st(n,O){1&n&&(t.j41(0,"div",6)(1,"h1"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",7)(5,"div",17),t.EFF(6),t.nI1(7,"translate"),t.k0s()()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,2,"order-template.order-templates.title")),t.R7$(4),t.JRh(t.bMT(7,4,"order-template.empty-title")))}function rt(n,O){if(1&n){const s=t.RV6();t.j41(0,"div",18)(1,"div",19),t.nrm(2,"img",20),t.nI1(3,"svgPath"),t.j41(4,"div",13),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"div",21),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"hot-button",22),t.nI1(11,"translate"),t.bIt("hotClick",function(){o.eBV(s);const r=t.XpG();return o.Njj(r.navigate("/brands/all"))}),t.k0s()()()}if(2&n){const s=t.XpG();t.R7$(2),t.Y8G("src",t.bMT(3,6,"cart-empty.colored.svg"),t.B4B),t.R7$(3),t.SpI(" ",t.bMT(6,8,"shared.cart-sidebar.empty")," "),t.R7$(3),t.JRh(t.bMT(9,10,"order-template.empty-text")),t.R7$(2),t.Y8G("caption",t.mNQ(t.bMT(11,12,"shared.nav.new-order")))("pageName",s.pageName)}}function nt(n,O){1&n&&(t.j41(0,"div",23)(1,"h2"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",19),t.nrm(5,"img",20),t.nI1(6,"svgPath"),t.j41(7,"div",13),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"div",21),t.EFF(11),t.nI1(12,"translate"),t.k0s()()()),2&n&&(t.R7$(2),t.JRh(t.bMT(3,4,"shared.cart-sidebar.template-title")),t.R7$(3),t.Y8G("src",t.bMT(6,6,"cart-empty.colored.svg"),t.B4B),t.R7$(3),t.SpI(" ",t.bMT(9,8,"shared.cart-sidebar.empty")," "),t.R7$(3),t.JRh(t.bMT(12,10,"order-template.empty-text")))}function at(n,O){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"shared.modals.order.items-quantity-single")))}function it(n,O){1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.JRh(t.bMT(2,1,"shared.modals.order.items-quantity-multiple")))}function ot(n,O){if(1&n&&(t.nrm(0,"hot-cart-totals",38),t.nI1(1,"async"),t.nI1(2,"async"),t.nI1(3,"async"),t.nI1(4,"async")),2&n){const s=t.XpG(2);t.Y8G("cart",t.bMT(1,7,s.selectedOrderTemplate$))("settingsStore",t.bMT(2,9,s.storeSettings$))("currencyFormat",t.bMT(3,11,s.currencyFormat$))("isAppOnline",t.bMT(4,13,s.settingsAppOnLine$))("isCouponHidden",!0)("hideDiscounts",!0)("pageName",s.pageName)}}function lt(n,O){if(1&n){const s=t.RV6();t.j41(0,"div",24)(1,"div",25)(2,"div",13),t.EFF(3),t.nI1(4,"async"),t.k0s(),t.j41(5,"button",26),t.bIt("click",function(){o.eBV(s);const r=t.XpG();return o.Njj(r.openTemplateModal("edit"))}),t.nrm(6,"svg-icon",15),t.nI1(7,"svgPath"),t.k0s(),t.j41(8,"button",27),t.bIt("click",function(){o.eBV(s);const r=t.XpG();return o.Njj(r.openTemplateModal("delete"))}),t.nrm(9,"svg-icon",15),t.nI1(10,"svgPath"),t.k0s()(),t.j41(11,"div",28)(12,"div",29)(13,"div",30)(14,"strong",31),t.EFF(15),t.k0s(),t.DNE(16,at,3,3,"span",32)(17,it,3,3,"span",32),t.k0s()(),t.j41(18,"hot-button",33),t.nI1(19,"translate"),t.nI1(20,"translate"),t.nI1(21,"async"),t.bIt("hotClick",function(){o.eBV(s);const r=t.XpG();return o.Njj(r.addToCart())}),t.k0s()(),t.j41(22,"div",34)(23,"hot-product-list",35),t.nI1(24,"async"),t.bIt("removeFromCart",function(r){o.eBV(s);const i=t.XpG();return o.Njj(i.onRemove(r))})("sendChangeQuantity",function(r){o.eBV(s);const i=t.XpG();return o.Njj(i.changeQuantity(r))})("addToCart",function(r){o.eBV(s);const i=t.XpG();return o.Njj(i.changeQuantity(r))}),t.k0s(),t.DNE(25,ot,5,15,"hot-cart-totals",36),t.nI1(26,"async"),t.j41(27,"hot-button",37),t.nI1(28,"translate"),t.nI1(29,"translate"),t.nI1(30,"async"),t.bIt("hotClick",function(){o.eBV(s);const r=t.XpG();return o.Njj(r.addToCart())}),t.k0s()()()}if(2&n){let s,a,r;const i=t.XpG();t.R7$(3),t.JRh(t.bMT(4,20,i.selectedOrderTemplate$).name),t.R7$(3),t.Y8G("src",t.bMT(7,22,"edit.svg")),t.R7$(3),t.Y8G("src",t.bMT(10,24,"delete.svg")),t.R7$(6),t.SpI(" ",i.getQuantity(i.selectedOrderTemplate)," "),t.R7$(),t.Y8G("ngIf",1===i.getQuantity(i.selectedOrderTemplate)),t.R7$(),t.Y8G("ngIf",1!==i.getQuantity(i.selectedOrderTemplate)),t.R7$(),t.Y8G("caption",i.isNgB2b()?t.bMT(19,26,i.sendOrderLocalizationKey):t.bMT(20,28,i.checkoutButtonLocalizationKey))("disabled",!(null!=(s=t.bMT(21,30,i.selectedOrderTemplate$))&&s.isValid))("pageName",i.pageName),t.BMQ("data-hot-tutorial","checkout-button"),t.R7$(5),t.Y8G("products",null==(a=t.bMT(24,32,i.selectedOrderTemplate$))?null:a.items)("pageName",i.pageName)("isCartSidebar",!0)("isOrderTemplate",!0)("groupingBySupplier",i.featureSplitOrdersBySuppliersWhenCheckout),t.R7$(2),t.Y8G("ngIf",t.bMT(26,34,i.showCartTotals())),t.R7$(2),t.Y8G("caption",i.isNgB2b()?t.bMT(28,36,i.sendOrderLocalizationKey):t.bMT(29,38,i.checkoutButtonLocalizationKey))("disabled",!(null!=(r=t.bMT(30,40,i.selectedOrderTemplate$))&&r.isValid))("pageName",i.pageName),t.BMQ("data-hot-tutorial","checkout-button")}}let ct=(()=>{class n{constructor(s,a,r,i,Ot,yt,It,bt,Ct,Mt){this.store=s,this.modalService=a,this.screenDimensionService=r,this.router=i,this.cartService=Ot,this.orderTemplateService=yt,this.featuresService=It,this.configurationService=bt,this.featureService=Ct,this.loaderServiceV2=Mt,this.subscriptionDestroy$=new R.B,this.firstOpening=!0,this.featureSplitOrdersBySuppliersWhenCheckout=this.featuresService.SplitOrdersBySuppliersWhenCheckout,this.isUpLg=()=>this.screenDimensionService.upLg(),this.isNgB2b=()=>"NG"===this.configurationService.getCurrentConfiguration(),this.pageName=x.L.ORDERTEMPLATES,this.checkoutButtonLocalizationKey="shared.cart-sidebar.checkout",this.sendOrderLocalizationKey="shared.cart-sidebar.send-order",this.orderTemplatesFetched$=this.store.pipe((0,l.Lt)(u.B$)),this.modalOrderTemplatesState$=this.store.pipe((0,l.Lt)((0,f.d1)(G.k.orderTemplates))),this.orderTemplates$=this.store.pipe((0,l.Lt)(u.Y_),(0,T.p)(k=>!!k)),this.selectedOrderTemplate$=this.store.pipe((0,l.Lt)(u.EV)),this.settingsAppOnLine$=this.store.pipe((0,l.Lt)(P.eC)),this.storeSettings$=this.store.pipe((0,l.Lt)(P.dK),(0,T.p)(k=>!!k),(0,C.T)(k=>(this.showLineItemsQuantitySum=k.showLineItemsQuantitySum,this.displayOutOfStockProductsInCustomersCatalog=this.featureService.AllowDistributorsToControlStoreSettings&&k.displayOutOfStockProductsInCustomersCatalog,k))),this.currencyFormat$=this.store.pipe((0,l.Lt)(P.SK)),this.cartItemsLength$=this.store.pipe((0,l.Lt)(F.HF))}ngOnInit(){this.orderTemplatesFetched$.pipe((0,I.Q)(this.subscriptionDestroy$)).subscribe(s=>{s?this.loaderServiceV2.hide():this.loaderServiceV2.show()}),this.getTemplates(),this.orderTemplateService.saveSuccess.pipe((0,I.Q)(this.subscriptionDestroy$)).subscribe(()=>{this.selectedOrderTemplate=this.orderTemplateService.recalculate(this.selectedOrderTemplate)}),this.featureSplitOrdersBySuppliersWhenCheckout?this.orderTemplateService.deleteOrderTemplateCache().then(()=>{this.store.dispatch(new c.KZ)}):this.store.dispatch(new c.KZ)}showCartTotals(){return this.storeSettings$.pipe((0,C.T)(s=>!(s.hideSubtotal&&s.hideCartExtendedPriceTotal&&s.hideEmptiesDeposit&&s.hideTax&&s.hideCartDiscountTotal&&s.hideTotal)))}getTemplates(){this.orderTemplates$.pipe((0,g.v)(()=>this.firstOpening)).subscribe(s=>{s.length&&(!this.selectedOrderTemplate&&!this.featureSplitOrdersBySuppliersWhenCheckout||this.featureSplitOrdersBySuppliersWhenCheckout)&&(this.featureSplitOrdersBySuppliersWhenCheckout||(this.firstOpening=!1),s[0]=this.orderTemplateService.recalculate(s[0]),this.isUpLg()?this.store.dispatch(new c.TF(s[0])):this.store.dispatch(new c.TF(null)))}),this.store.pipe((0,l.Lt)(u.EV),(0,I.Q)(this.subscriptionDestroy$)).subscribe(s=>{this.selectedOrderTemplate=(0,A.A)(s)})}addToCart(){this.cartItemsLength$.pipe((0,D.s)(1)).subscribe(s=>{if(s)this.openTemplateModal("addToCart");else{const a=this.selectedOrderTemplate.items.filter(r=>r.quantity>0&&(r.isInStock||this.displayOutOfStockProductsInCustomersCatalog)&&!r.isUnavailableForCustomers).map(r=>(r.quantity=this.featuresService.UsePackagesWithCartsAndOrders||0===r.packageSize?r.quantity:Math.round(r.quantity*r.packageSize),this.featureSplitOrdersBySuppliersWhenCheckout&&(r.isSelected=!0),r));this.replaceLineItemsParams={body:a},this.cartService.replaceLineItems(this.replaceLineItemsParams).subscribe(()=>{this.store.dispatch(new h.h_),this.router.navigateByUrl("/checkout")})}})}onRemove(s){let a=(0,A.A)(this.selectedOrderTemplate);const r=this.selectedOrderTemplate.items.map(i=>(i.quantity=i.sku===s.sku?0:this.featuresService.UsePackagesWithCartsAndOrders||0===i.packageSize?i.quantity:Math.round(i.quantity*i.packageSize),i));a.items=r,a=this.orderTemplateService.recalculate(a),this.store.dispatch(new c.TF(a))}changeQuantity(s){let a=(0,A.A)(this.selectedOrderTemplate);
1a.items.forEach(r=>(r.quantity=r.sku===s.sku?s.quantity:this.featuresService.UsePackagesWithCartsAndOrders||0===r.packageSize?r.quantity:Math.round(r.quantity*r.packageSize),r)),a=this.orderTemplateService.recalculate(a),this.store.dispatch(new c.TF(a))}openTemplateModal(s){this.modalService.toggleModal(G.k.orderTemplates,!0,{modalType:s})}navigate(s){this.router.navigateByUrl(s)}hideDetailsForMobile(){let s="/";s=this.featureService.DashboardHomePage?"/ordering":"/",this.selectedOrderTemplate$.pipe((0,D.s)(1)).subscribe(a=>{a?this.store.dispatch(new c.TF(null)):this.router.navigateByUrl(s)})}selectTemplate(s){let a=(0,A.A)(s);a=this.orderTemplateService.recalculate(a),this.store.dispatch(new c.TF(a))}getQuantity(s){if(this.showLineItemsQuantitySum){let a=0;return s.items.forEach(r=>{r.isInStock&&(a+=r.quantity)}),a}return s.items.length}getTrackData(s){return`{"data_interaction":"Block_click","button_text":"${s.name}","name":"${this.pageName}"}`}ngOnDestroy(){this.store.dispatch(new c.TF(null)),this.subscriptionDestroy$.next(!0)}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(l.il),t.rXU(K.B),t.rXU(d.m),t.rXU(E.Ix),t.rXU(m.G),t.rXU(p.s),t.rXU(U.D),t.rXU(v.s),t.rXU(U.D),t.rXU(V.X))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-order-templates"]],standalone:!1,decls:16,vars:21,consts:[[3,"isMobileSidebarVisible"],[3,"beforeAction","fromOrdersTemplate"],["block","order-templates",4,"ngIf"],["block","empty-cart","mod","cart-page",4,"ngIf"],["block","empty-cart",4,"ngIf"],["block","order",4,"ngIf"],["block","order-templates"],["elem","container"],["elem","list"],["elem","item",4,"ngFor","ngForOf"],["elem","item"],["block","template",3,"click","mod"],["elem","info"],["elem","title"],["elem","count",4,"ngIf"],["elem","icon",3,"src"],["elem","count"],["elem","empty-text"],["block","empty-cart","mod","cart-page"],["elem","centered"],["elem","icon","alt","cart-empty",3,"src"],["elem","text"],["elem","button","modifier","rounded big-font common",3,"hotClick","caption","pageName"],["block","empty-cart"],["block","order"],["elem","title-block"],["data-tracking",'{"data_interaction":"icon_click","button_text":"Edit Orders","name":"OrderTemplates"}',"elem","icon-button",3,"click"],["elem","icon-button","data-tracking",'{"data_interaction":"icon_click","button_text":"Delete Orders","name":"OrderTemplates"}',3,"click"],["elem","buttons"],["elem","template-info"],["elem","info-text"],["elem","m-number"],[4,"ngIf"],["elem","top-button","modifier","rounded common",3,"hotClick","caption","disabled","pageName"],["elem","order-template"],["elem","list",3,"removeFromCart","sendChangeQuantity","addToCart","products","pageName","isCartSidebar","isOrderTemplate","groupingBySupplier"],["elem","totals",3,"cart","settingsStore","currencyFormat","isAppOnline","isCouponHidden","hideDiscounts","pageName",4,"ngIf"],["elem","button","modifier","rounded responsive common",3,"hotClick","caption","disabled","pageName"],["elem","totals",3,"cart","settingsStore","currencyFormat","isAppOnline","isCouponHidden","hideDiscounts","pageName"]],template:function(a,r){1&a&&(t.j41(0,"hot-base-page",0)(1,"hot-back-button",1),t.bIt("beforeAction",function(){return r.hideDetailsForMobile()}),t.k0s(),t.j41(2,"hot-content"),t.DNE(3,et,8,6,"div",2),t.nI1(4,"async"),t.nI1(5,"async"),t.nI1(6,"async"),t.DNE(7,st,8,6,"div",2),t.nI1(8,"async"),t.DNE(9,rt,12,14,"div",3),t.nI1(10,"async"),t.k0s(),t.j41(11,"hot-sidebar"),t.DNE(12,nt,13,12,"div",4),t.nI1(13,"async"),t.DNE(14,lt,31,42,"div",5),t.nI1(15,"async"),t.k0s()()),2&a&&(t.Y8G("isMobileSidebarVisible",!0),t.R7$(),t.Y8G("fromOrdersTemplate",!0),t.R7$(2),t.Y8G("ngIf",t.bMT(4,7,r.settingsAppOnLine$)&&(!t.bMT(5,9,r.selectedOrderTemplate$)&&!r.isUpLg()||r.isUpLg())&&t.bMT(6,11,r.orderTemplates$).length),t.R7$(4),t.Y8G("ngIf",r.isUpLg()&&!t.bMT(8,13,r.orderTemplates$).length),t.R7$(2),t.Y8G("ngIf",!r.isUpLg()&&!t.bMT(10,15,r.orderTemplates$).length),t.R7$(3),t.Y8G("ngIf",r.isUpLg()&&!t.bMT(13,17,r.orderTemplates$).length),t.R7$(2),t.Y8G("ngIf",t.bMT(15,19,r.selectedOrderTemplate$)))},dependencies:[y.Sq,y.bT,L.DM,j.vq,j.vK,j.SE,b.b,_.X,W.y,B.B,Y.t,Q.k,z.z,y.Jj,J.D9,H.q],encapsulation:2})}}return n})();var dt=e(826),pt=e(77753),mt=e(52909),ht=e(76583),ut=e(5553);const vt=[{path:"",canActivate:[dt.R],children:[{path:"",canActivate:[S.g,pt.V,mt.p,ht.w,ut.v],children:[{path:"",component:ct,data:{analytics:{pageType:"templates",primaryCategory:"templates"}},pathMatch:"full"}]}]}];let Tt=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=o.G2t({imports:[M.iI.forChild(vt),M.iI]})}}return n})();var gt=e(80498);let ft=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=o.G2t({imports:[y.MD,Tt,gt.G]})}}return n})()},77753(N,$,e){e.d($,{V:()=>V});var y=e(7673),M=e(96697),S=e(24845),l=e(7503),R=e(35878),T=e(6327),C=e(70563),I=e(6944),g=e(66513),D=e(43744),h=I.A?I.A.isConcatSpreadable:void 0;const f=function F(d){return(0,D.A)(d)||(0,g.A)(d)||!!(h&&d&&d[h])},u=function c(d,E,m,p,v){var L=-1,j=d.length;for(m||(m=f),v||(v=[]);++L<j;){var b=d[L];E>0&&m(b)?E>1?c(b,E-1,m,p,v):(0,C.A)(v,b):p||(v[v.length]=b)}return v};var P=e(94528);const G=function x(){var d=arguments.length;if(!d)return[];for(var E=Array(d-1),m=arguments[0],p=d;p--;)E[p-1]=arguments[p];return(0,C.A)((0,D.A)(m)?(0,P.A)(m):[m],u(E,1))};var A=e(76209),t=e(85802),o=e(37702),K=e(69727),U=e(79989);let V=(()=>{class d{constructor(m,p,v){this.router=m,this.storeService=p,this.navigationService=v,this.commonRoutes=["/privacy-policy","/
1profile"],this.accountTypes=S.C}canActivate(m,p){return(0,y.of)(this.checkRoute(p))}checkRoute(m){const p=this.storeService.getSelector(R.Wo),v=p?p.userType:localStorage.getItem(l.c.userType),L=localStorage.getItem(l.c.subDistributorMode);return(v===this.accountTypes.Distributor||v===this.accountTypes.OpcoDistributor||v===this.accountTypes.SubDistributor&&"Distributor"===L)&&this.navigationService.getNavigationItems().pipe((0,M.s)(1)).subscribe(j=>{const b=(0,T.A)(j,B=>B.link),_=G(b,this.commonRoutes);return!!(0,A.A)(_,B=>m.url===B)||(this.router.navigate([b.length?b[0]:"/notFound"]),!1)}),!0}static{this.\u0275fac=function(p){return new(p||d)(t.KVO(o.Ix),t.KVO(K.n),t.KVO(U.o))}}static{this.\u0275prov=t.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}}return d})()},5553(N,$,e){e.d($,{v:()=>D});var y=e(5964),M=e(96354),S=e(72127),l=e(76209),R=e(30554),T=e(85802),C=e(37702),I=e(59640),g=e(69727);let D=(()=>{class h{constructor(f,c,u){this.router=f,this.store=c,this.storeService=u}canActivate(f,c){return this.store.select(S.lC).pipe((0,y.p)(u=>u),(0,M.T)(()=>this.checkRoute(c)))}checkRoute(f){const c=this.storeService.getSelector(S.Hv),u=(0,l.A)(c,["url",f.url]);return!(0,R.A)(u)||(this.router.navigate([u.redirect.length>0||u.redirect?u.redirect:"/"]),!1)}static{this.\u0275fac=function(c){return new(c||h)(T.KVO(C.Ix),T.KVO(I.il),T.KVO(g.n))}}static{this.\u0275prov=T.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},76583(N,$,e){e.d($,{w:()=>I});var y=e(5964),M=e(96354),S=e(72127),l=e(85802),R=e(37702),T=e(59640),C=e(69727);let I=(()=>{class g{constructor(h,F,f){this.router=h,this.store=F,this.storeService=f}canActivate(){return this.store.select(S.x3).pipe((0,y.p)(h=>!!h.length),(0,M.T)(()=>!0))}static{this.\u0275fac=function(F){return new(F||g)(l.KVO(R.Ix),l.KVO(T.il),l.KVO(C.n))}}static{this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()}}]);

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.