PageSourceSearch

https://trailygorymandry.web.app/39.25487a93c316b740.js

js trailygorymandry.web.app collected 2026-10-03 12:38:23 UTC 26,881 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksalesboxclient=self.webpackChunksalesboxclient||[]).push([[39],{2039:(J,E,l)=>{l.r(E),l.d(E,{NotificationsModule:()=>ot});var C=l(6895),N=l(7579),I=l(2722),S=l(2600),T=l(8156),O=l(9946),k=l(7758),M=l(300),t=l(4650);function L(i,p){1&i&&t.\u0275\u0275element(0,"app-loader",4)}function w(i,p){if(1&i&&(t.\u0275\u0275elementStart(0,"app-empty",5)(1,"div",6),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd()()),2&i){const n=t.\u0275\u0275nextContext();t.\u0275\u0275property("imageForEmptyList","/assets/img/emptyNotificationList.png")("isShowEmptyItems",n.isShowEmptyItems),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,3,"notifications.empty")," ")}}function j(i,p){if(1&i&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275element(1,"app-notification",9),t.\u0275\u0275elementContainerEnd()),2&i){const n=p.$implicit;t.\u0275\u0275advance(1),t.\u0275\u0275property("notification",n)}}function z(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",7),t.\u0275\u0275listener("scroll",function(d){t.\u0275\u0275restoreView(n);const f=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(f.onScroll(d))}),t.\u0275\u0275template(2,j,2,1,"ng-container",8),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementContainerEnd()}if(2&i){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275property("ngForOf",n.notifications)}}let D=(()=>{class i{constructor(n,a,d,f){this._badgeService=n,this.appService=a,this.authService=d,this.notificationService=f,this.notifications=[],this.isLoading=!0,this.scrollLoad=!1,this.loadedAll=!1,this.pageSize=11,this.page=1,this.destroy$=new N.x}ngOnDestroy(){this.destroy$&&(this.destroy$.next(),this.destroy$.complete())}ngOnInit(){this.isShowEmptyItems={title:!0,subtitle:!1,btn:!1},this._badgeService.notification=!1,this.loadNotifications(),this.appService.appSubject.pipe((0,I.R)(this.destroy$)).subscribe(n=>{n.type==M.z.newNotification&&this.loadNotification(n.data)})}loadNotification(n){this.notifications.find(a=>a.id==n)||this.notificationService.getById(n).pipe((0,I.R)(this.destroy$)).subscribe(a=>{this.notifications.unshift(a.data)})}onScroll(n){n.target.scrollTop>n.target.scrollHeight-n.target.offsetHeight-50&&!this.loadedAll&&!this.scrollLoad&&(this.scrollLoad=!0,this.page+=1,this.loadNotifications())}loadNotifications(){this.notificationService.getListByUserId(this.authService.user.id,{pageSize:this.pageSize,page:this.page}).pipe((0,I.R)(this.destroy$)).subscribe(a=>{this.appService.appSubject.next({type:M.z.resetNotification}),this.notifications=this.notifications.concat(a.data),this.isLoading=!1,this.scrollLoad=!1,(!a.data.length||a.data.length<this.pageSize)&&(this.loadedAll=!0)})}}return i.\u0275fac=function(n){return new(n||i)(t.\u0275\u0275directiveInject(O.A),t.\u0275\u0275directiveInject(S.z),t.\u0275\u0275directiveInject(T.e),t.\u0275\u0275directiveInject(k.g))},i.\u0275cmp=t.\u0275\u0275defineComponent({type:i,selectors:[["app-notifications"]],decls:7,vars:6,consts:[[1,"notifications"],["class","absolute",4,"ngIf"],[3,"imageForEmptyList","isShowEmptyItems",4,"ngIf"],[4,"ngIf"],[1,"absolute"],[3,"imageForEmptyList","isShowEmptyItems"],["title",""],[1,"notifications__list",3,"scroll"],[4,"ngFor","ngForOf"],[3,"notification"]],template:function(n,a){1&n&&(t.\u0275\u0275elementStart(0,"div",0)(1,"h2"),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,L,1,0,"app-loader",1),t.\u0275\u0275template(5,w,4,5,"app-empty",2),t.\u0275\u0275template(6,z,3,1,"ng-container",3),t.\u0275\u0275elementEnd()),2&n&&(t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(3,4,"notifications.head")," "),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",a.isLoading),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!a.isLoading&&!a.notifications.length),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",!a.isLoading&&a.notifications.length))},styles:[".notifications[_ngcontent-%COMP%]{padding:24px 12px 24px 24px;height:100%;position:relative;color:var(--mainTextColor)}.notifications__list[_ngcontent-%COMP%]{max-height:600px;padding-right:10px;overflow:auto}.notifications__list[_ngcontent-%COMP%]::-webkit-scrollbar{width:10px;
1background-color:var(--componentBackgroundColor)}.notifications__list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:10px;background-color:var(--borderColor)}.notifications__list[_ngcontent-%COMP%]::-webkit-scrollbar-track{border-radius:10px;background-color:var(--componentBackgroundColor)}.notifications[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{padding-bottom:30px}app-notification[_ngcontent-%COMP%]{display:block;border-bottom:1px solid var(--borderColor);margin-bottom:20px}app-notification[_ngcontent-%COMP%]:last-child{border-bottom:none;margin-bottom:0}"]}),i})();var y=l(2510),B=l(4495),A=l(2234),F=l(9197),V=l(4593),u=l(5938),x=l(9383),P=l(2715),$=l(4636);function W(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",7),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const d=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(d.close(!1))}),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()}if(2&i){const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",n.data.cancelBtn," ")}}function H(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"button",8),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const d=t.\u0275\u0275nextContext(2);return t.\u0275\u0275resetView(d.changeCompany())}),t.\u0275\u0275text(1),t.\u0275\u0275elementEnd()}if(2&i){const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",n.data.successBtn," ")}}const X=function(i){return{companyName:i}};function R(i,p){if(1&i&&(t.\u0275\u0275elementStart(0,"div",2)(1,"h2",3),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",4),t.\u0275\u0275template(5,W,2,1,"button",5),t.\u0275\u0275template(6,H,2,1,"button",6),t.\u0275\u0275elementEnd()()),2&i){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind2(3,3,"dialogText.forSeeInfoNeedChangeLocation",t.\u0275\u0275pureFunction1(6,X,(null==n.subCompany?null:n.subCompany.name)||""))," "),t.\u0275\u0275advance(3),t.\u0275\u0275property("ngIf",n.data.cancelBtn),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.data.successBtn)}}function G(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"app-companies-form",9),t.\u0275\u0275listener("onSave",function(){t.\u0275\u0275restoreView(n);const d=t.\u0275\u0275nextContext();return t.\u0275\u0275resetView(d.close())}),t.\u0275\u0275elementEnd()}if(2&i){const n=t.\u0275\u0275nextContext();t.\u0275\u0275property("subCompany",n.subCompany)("pathToNavigate",n.data.data.path)}}let U=(()=>{class i{constructor(n,a,d,f,h){this.dialogRef=n,this.data=a,this.appService=d,this.translateService=f,this.amSnackbarService=h,this.subCompany=null,this.showCompanyForm=!1,n.disableClose=a.disableClose||!1}ngOnInit(){this.initDialog()}initDialog(){let n;if(this.appService.config.config.subCompanies.forEach(a=>{const d=a.subCompanies.find(f=>f.id===this.data.data.companyId);d&&(n=d)}),!n)return this.amSnackbarService.openSnackbar("error",{notification:{body:this.translateService.instant("chats.errorUnexpected")}}),this.showCompanyForm=!1,void this.close();this.subCompany=n}changeCompany(){this.showCompanyForm=!0}close(n=!1){this.dialogRef.close(n)}}return i.\u0275fac=function(n){return new(n||i)(t.\u0275\u0275directiveInject(u.so),t.\u0275\u0275directiveInject(u.WI),t.\u0275\u0275directiveInject(S.z),t.\u0275\u0275directiveInject(x.sK),t.\u0275\u0275directiveInject(P.E))},i.\u0275cmp=t.\u0275\u0275defineComponent({type:i,selectors:[["app-change-company-dialog"]],decls:3,vars:2,consts:[["class","change-company-dialog",4,"ngIf","ngIfElse"],["companyForm",""],[1,"change-company-dialog"],[1,"change-company-dialog__title"],[1,"change-company-dialog__buttons"],["class","btn btn-cancel",3,"click",4,"ngIf"],["class","btn btn-primary",3,"click",4,"ngIf"],[1,"btn","btn-cancel",3,"click"],[1,"btn","btn-primary",3,"click"],[3,"subCompany","pathToNavigate","onSave"]],template:function(n,a){if(1&n&&(t.\u0275\u0275template(0,R,7,8,"div",0),t.\u0275\u0275template(1,G,1,2,"ng-template",null,1,t.\u0275\u0275templateRefExtractor)),2&n){const d=t.\u0275\u0275reference(2);t.\u0275\u0275property("ngIf",!a.showCompanyForm)("ngIfElse",d)}},dependencies:[C.O5,$.I,x.X$],styles:[".change-company-dialog[_ngcontent-%COMP%]{color:var(--mainTextColor);
1background-color:var(--modalBackgroundColor)}.change-company-dialog__title[_ngcontent-%COMP%]{font-size:20px;line-height:25px;font-weight:700;text-align:center;color:var(--primaryColor);margin-bottom:8px}.change-company-dialog__text[_ngcontent-%COMP%]{text-align:center;font-weight:400;font-size:16px;line-height:20px}.change-company-dialog__buttons[_ngcontent-%COMP%]{margin-top:20px;text-align:right;display:flex;align-items:center;flex-wrap:wrap}.change-company-dialog__buttons[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{flex:1}.change-company-dialog__buttons[_ngcontent-%COMP%]   .btn-cancel[_ngcontent-%COMP%]{color:var(--primaryColor)}app-companies-form[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}"]}),i})();var _=l(9461),Y=l(9919),s=l(6203);function e(i,p){if(1&i&&(t.\u0275\u0275elementStart(0,"div",12),t.\u0275\u0275element(1,"img",13),t.\u0275\u0275elementEnd()),2&i){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(1),t.\u0275\u0275property("src",n.notification.url,t.\u0275\u0275sanitizeUrl)}}function o(i,p){1&i&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementContainerEnd()),2&i&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"notifications.moreDetails")))}function r(i,p){1&i&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementContainerEnd()),2&i&&(t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(2,1,"notifications.collapse")))}function c(i,p){if(1&i&&(t.\u0275\u0275elementStart(0,"span",25),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"price"),t.\u0275\u0275elementEnd()),2&i){const n=t.\u0275\u0275nextContext().$implicit;t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(2,1,n.getOldPrice())," ")}}function m(i,p){if(1&i&&(t.\u0275\u0275elementStart(0,"span",26),t.\u0275\u0275text(1),t.\u0275\u0275pipe(2,"translate"),t.\u0275\u0275elementEnd()),2&i){const n=t.\u0275\u0275nextContext().$implicit,a=t.\u0275\u0275nextContext(4);t.\u0275\u0275advance(1),t.\u0275\u0275textInterpolate2(" ",t.\u0275\u0275pipeBind1(2,2,"offerDetail.discount")," ",a.offerPrice(n).percentageDiscount,"% ")}}function g(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",16)(1,"div",17),t.\u0275\u0275listener("click",function(){const f=t.\u0275\u0275restoreView(n).$implicit,h=t.\u0275\u0275nextContext(4);return t.\u0275\u0275resetView(h.navigateTo(h.EPath.offer,f,h.notification.companyId))}),t.\u0275\u0275elementStart(2,"div",18),t.\u0275\u0275element(3,"img",19),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",20)(5,"div",21),t.\u0275\u0275text(6),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(7,"div",22),t.\u0275\u0275text(8),t.\u0275\u0275pipe(9,"price"),t.\u0275\u0275template(10,c,3,3,"span",23),t.\u0275\u0275element(11,"br"),t.\u0275\u0275template(12,m,3,4,"span",24),t.\u0275\u0275elementEnd()()()()}if(2&i){const n=p.$implicit;t.\u0275\u0275advance(3),t.\u0275\u0275property("src",n.previewURL,t.\u0275\u0275sanitizeUrl),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",n.name," "),t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(9,5,n.getPrice())," "),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.getOldPrice()!==n.getPrice()),t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",n.percentageDiscount)}}function v(i,p){if(1&i&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275template(1,g,13,7,"div",15),t.\u0275\u0275elementContainerEnd()),2&i){const n=t.\u0275\u0275nextContext(3);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",n.notification.offers)}}function b(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementStart(0,"div",28)(1,"div",29),t.\u0275\u0275listener("click",function(){const f=t.\u0275\u0275restoreView(n).$implicit,h=t.\u0275\u0275nextContext(4);return t.\u0275\u0275resetView(h.navigateTo(h.EPath.categories,f,h.notification.companyId))}),t.\u0275\u0275elementStart(2,"div",30),t.\u0275\u0275element(3,"img",19),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div",31)(5,"div",32),t.\u0275\u0275text(6),t.\u0275\u0275pipe(7,"translate"),t.\u0275\u0275element(8,"br"),t.\u0275\u0275text(9),t.\u0275\u0275elementEnd()()()()}if(2&i){const n=p.$implicit;t.\u0275\u0275advance(3),t.\u0275\u0275property("src",n.previewURL,t.\u0275\u0275sanitizeUrl),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(7,3,"main.category"),": "),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate1(" ",n.name," ")}}function K(i,p){if(1&i&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275template(1,b,10,5,"div",27),t.\u0275\u0275elementContainerEnd()),2&i){const n=t.\u0275\u0275nextContext(3);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngForOf",n.notification.categories)}}function Q(i,p){if(1&i&&(t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275template(1,v,2,1,"ng-container",11),t.\u0275\u0275template(2,K,2,1,"ng-container",11),t.\u0275\u0275elementContainerEnd()),2&i){const n=t.\u0275\u0275nextContext(2);t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.notification.offers.length),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.notification.categories.length)}}function q(i,p){if(1&i){const n=t.\u0275\u0275getCurrentView();t.\u0275\u0275elementContainerStart(0),t.\u0275\u0275elementStart(1,"div",14),t.\u0275\u0275listener("click",function(){t.\u0275\u0275restoreView(n);const d=t.\u0275\u0275nextContext();
1return t.\u0275\u0275resetView(d.isOpenMoreDetails=!d.isOpenMoreDetails)}),t.\u0275\u0275template(2,o,3,3,"ng-container",11),t.\u0275\u0275template(3,r,3,3,"ng-container",11),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(4,Q,3,2,"ng-container",11),t.\u0275\u0275elementContainerEnd()}if(2&i){const n=t.\u0275\u0275nextContext();t.\u0275\u0275advance(2),t.\u0275\u0275property("ngIf",!n.isOpenMoreDetails),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.isOpenMoreDetails),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",n.isOpenMoreDetails)}}let tt=(()=>{class i{constructor(n,a,d,f,h,Z){this.router=n,this._analyticsService=a,this.appService=d,this.minimumAgeService=f,this.dialog=h,this.translateService=Z,this.notification=new F.Z,this.EPath=_.O,this.isOpenMoreDetails=!1}ngOnInit(){}navigateTo(n,a,d){const f=this.appService.config.config.id;this.minimumAgeService.minimumAgeDialog(a.minimumAllowAge).then(h=>{if(h){if(f!==d)return void this.showChangeCompanyDialog(n,a,d);this.router.navigate(["/",n,a.id])}})}showChangeCompanyDialog(n,a,d){const f={cancelBtn:this.translateService.instant("button.no"),successBtn:this.translateService.instant("button.yes"),data:{path:`/${n}/${a.id}`,companyId:d}};this.dialog.open(U,{autoFocus:!1,panelClass:"dialog",data:f})}offerPrice(n){const a={price:n.price,oldPrice:0,percentageDiscount:n.getPercentageDiscount()};return n.discount&&(a.price=n.price-n.discount,a.oldPrice=n.price),a}}return i.\u0275fac=function(n){return new(n||i)(t.\u0275\u0275directiveInject(y.F0),t.\u0275\u0275directiveInject(V.y),t.\u0275\u0275directiveInject(S.z),t.\u0275\u0275directiveInject(Y.i),t.\u0275\u0275directiveInject(u.uw),t.\u0275\u0275directiveInject(x.sK))},i.\u0275cmp=t.\u0275\u0275defineComponent({type:i,selectors:[["app-notification"]],inputs:{notification:"notification"},decls:20,vars:14,consts:[[1,"notification"],[1,"notification__img"],["src","assets/img/logo.png","alt","notification image"],[1,"notification__wrap"],[1,"notification__header"],[1,"notification__type"],[1,"notification__date"],[1,"notification__body"],[1,"notification__text"],[2,"white-space","pre-wrap",3,"innerHTML"],["class","notification__body-img",4,"ngIf"],[4,"ngIf"],[1,"notification__body-img"],["onerror","this.src = '/assets/img/itemPlaceholder.svg'","alt","notification image",3,"src"],[1,"collapse-btn",3,"click"],["class","notification__offers",4,"ngFor","ngForOf"],[1,"notification__offers"],[1,"offer",3,"click"],[1,"offer__img"],["onerror","this.src = '/assets/img/itemPlaceholder.svg'",3,"src"],[1,"offer__body"],[1,"offer__name"],[1,"offer__price"],["class","offer__discount",4,"ngIf"],["class","offer__discount-percent",4,"ngIf"],[1,"offer__discount"],[1,"offer__discount-percent"],["class","notification__categories",4,"ngFor","ngForOf"],[1,"notification__categories"],[1,"category",3,"click"],[1,"category__img"],[1,"category__body"],[1,"category__title"]],template:function(n,a){1&n&&(t.\u0275\u0275elementStart(0,"div",0)(1,"div",1),t.\u0275\u0275element(2,"img",2),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(3,"div",3)(4,"div",4)(5,"div",5),t.\u0275\u0275text(6),t.\u0275\u0275pipe(7,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(8,"div",6)(9,"div"),t.\u0275\u0275text(10),t.\u0275\u0275pipe(11,"date"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(12,"div"),t.\u0275\u0275text(13),t.\u0275\u0275pipe(14,"date"),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275elementStart(15,"div",7)(16,"div",8),t.\u0275\u0275element(17,"pre",9),t.\u0275\u0275elementEnd(),t.\u0275\u0275template(18,e,2,1,"div",10),t.\u0275\u0275template(19,q,5,3,"ng-container",11),t.\u0275\u0275elementEnd()()()),2&n&&(t.\u0275\u0275advance(6),t.\u0275\u0275textInterpolate1(" ",t.\u0275\u0275pipeBind1(7,6,"notifications.administrator")," "),t.\u0275\u0275advance(4),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind2(11,8,a.notification.createdAt,"dd.MM.yyyy")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind2(14,11,a.notification.createdAt,"HH:mm")),t.\u0275\u0275advance(4),t.\u0275\u0275property("innerHTML",a.notification.text,t.\u0275\u0275sanitizeHtml),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",a.notification.url),t.\u0275\u0275advance(1),t.\u0275\u0275property("ngIf",a.notification.offers.length||a.notification.categories.length))},dependencies:[C.sg,C.O5,C.uU,x.X$,s.d],styles:[".notification[_ngcontent-%COMP%]{display:flex;font-weight:500;font-size:14px;color:var(--greyTextColor);padding-bottom:10px}.notification__img[_ngcontent-%COMP%]{width:90px;height:90px;flex:none;border-radius:4px}.notification__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto}@media (max-width: 576px){.notification__img[_ngcontent-%COMP%]{width:64px;
1height:64px}}.notification__body-img[_ngcontent-%COMP%]{width:250px;height:250px}.notification__body-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto}@media (max-width: 768px){.notification__body-img[_ngcontent-%COMP%]{width:200px;height:200px}}@media (max-width: 576px){.notification__body-img[_ngcontent-%COMP%]{width:150px;height:150px}}.notification__wrap[_ngcontent-%COMP%]{padding-left:16px;width:100%}.notification__header[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.notification__type[_ngcontent-%COMP%]{color:var(--mainTextColor);font-weight:700;font-size:18px}.notification__date[_ngcontent-%COMP%]{text-align:right}.notification__categories[_ngcontent-%COMP%], .notification__offers[_ngcontent-%COMP%]{padding-bottom:25px}@media (max-width: 576px){.notification__wrap[_ngcontent-%COMP%]{padding-left:8px}.notification__type[_ngcontent-%COMP%]{font-size:13px}}.offer[_ngcontent-%COMP%]{display:flex;padding-bottom:15px;cursor:pointer;text-decoration:none}.offer[_ngcontent-%COMP%]:last-child{padding-bottom:0}.offer__img[_ngcontent-%COMP%]{width:90px;height:90px;flex:none}.offer__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.offer__body[_ngcontent-%COMP%]{padding-left:8px}.offer__name[_ngcontent-%COMP%]{font-weight:500;font-size:16px;color:var(--mainTextColor);max-height:38px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;cursor:pointer}@media (max-width: 576px){.offer__name[_ngcontent-%COMP%]{font-size:13px}}.offer__price[_ngcontent-%COMP%]{font-weight:700;font-size:16px;color:var(--primaryColor);padding-top:8px}.offer__discount-percent[_ngcontent-%COMP%]{font-size:14px;color:var(--dangerColor)}.offer__discount[_ngcontent-%COMP%]{color:var(--greyTextColor);font-weight:500;font-size:14px;text-decoration:line-through}@media (max-width: 576px){.offer__price[_ngcontent-%COMP%]{font-size:14px;padding-top:2px}.offer__name[_ngcontent-%COMP%]{font-size:13px;-webkit-line-clamp:3;line-clamp:3;max-height:49px}.offer__discount[_ngcontent-%COMP%], .offer__discount-percent[_ngcontent-%COMP%]{font-size:13px}}.category[_ngcontent-%COMP%]{display:flex;padding-bottom:15px;font-weight:500;font-size:16px;color:var(--mainTextColor);text-decoration:none;cursor:pointer}.category[_ngcontent-%COMP%]:last-child{padding-bottom:0}.category__img[_ngcontent-%COMP%]{width:90px;height:90px;flex:none}.category__img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%}.category__body[_ngcontent-%COMP%]{padding-left:8px;display:flex;flex-direction:column;justify-content:center}.category__name[_ngcontent-%COMP%]{font-weight:500;font-size:16px;color:var(--mainTextColor);max-height:38px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;cursor:pointer}@media (max-width: 576px){.category__name[_ngcontent-%COMP%]{font-size:13px;-webkit-line-clamp:3;line-clamp:3;max-height:49px}}.collapse-btn[_ngcontent-%COMP%]{color:var(--linkColor);font-weight:500;font-size:14px;padding-top:10px;padding-bottom:10px;cursor:pointer}"]}),i})();var et=l(8972),nt=l(1224),it=l(5010);let ot=(()=>{class i{}return i.\u0275fac=function(n){return new(n||i)},i.\u0275mod=t.\u0275\u0275defineNgModule({type:i}),i.\u0275inj=t.\u0275\u0275defineInjector({imports:[C.ez,B.q,A.m,y.Bz.forChild([{path:"",component:D}]),et.mZ]}),i})();t.\u0275\u0275setComponentScope(D,function(){return[C.sg,C.O5,nt.R,it.T,tt]},function(){return[x.X$]})},8972:(J,E,l)=>{l.d(E,{mZ:()=>U});var C=l(7579),N=l(9646),I=l(9751),S=l(9300),T=l(6895),O=l(4650);function M(s){return Boolean(s.parentElement&&"picture"===s.parentElement.nodeName.toLowerCase())}function t(s){return"img"===s.nodeName.toLowerCase()}function L(s,e,o){return t(s)?o&&"srcset"in s?s.srcset=e:s.src=e:s.style.backgroundImage=`url('${e}')`,s}function w(s){return e=>{const o=e.parentElement.getElementsByTagName("source");for(let r=0;r<o.length;r++){const c=o[r].getAttribute(s);c&&("srcset"in o[r]?o[r].srcset=c:o[r].src=c)}}}const j=w("defaultImage"),z=w("lazyLoad"),D=w("errorImage");function y(s){return(e,o,r)=>{t(e)&&M(e)&&s(e),o&&L(e,o,r)}}const B=y(j),A=y(z),F=y(D);function x(s,e){s.className=s.className.replace(e,"")}function P(s,e){s.className.includes(e)||(s.className+=` ${e}`)}class H extends class W extends class V{constructor(){this.navigator=function k(){return typeof window<"u"?window.navigator:void 0}()}setPlatformId(e){this.platformId=e}onDestroy(e){}onAttributeChange(e){}}{setup(e){B(e.element,e.defaultImagePath,e.useSrcset),e.imagePath&&P(e.element,"ng-lazyloading"),function $(s,e){return s.className&&s.className.includes(e)}(e.element,"ng-lazyloaded")&&x(e.element,"ng-lazyloaded")}finally(e){P(e.element,"ng-lazyloaded"),x(e.element,"ng-lazyloading")}loadImage(e){if(this.skipLazyLoading(e))return[e.imagePath];const{element:o,useSrcset:r,imagePath:c,decode:m}=e;let g;return t(o)&&M(o)?(g=o.parentNode.cloneNode(!0).getElementsByTagName("img")[0],z(g),L(g,c,r)):(g=new Image,t(o)&&o.referrerPolicy&&(g.referrerPolicy=o.referrerPolicy),t(o)&&o.sizes&&(g.sizes=o.sizes),r&&"srcset"in g?g.srcset=c:g.src=c),m&&g.decode?g.decode().then(()=>c):new Promise((v,b)=>{g.onload=()=>v(c),g.onerror=()=>b(null)})}setErrorImage(e,o){const{element:r,useSrcset:c,errorImagePath:m}=o;F(r,m,c),P(r,"ng-failed-lazyloaded")}setLoadedImage(e,o){const{element:r,useSrcset:c}=o;A(r,e,c)}isDisabled(){return(0,T.PM)(this.platformId)&&!this.isBot()}skipLazyLoading(e){return this.isBot(e)}isBot(e){return!!this.navigator?.userAgent&&/googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora\ link\ preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|duckduckbot|prerender/i.test(this.navigator.userAgent)}}{constructor(){super(...arguments),this.observers=new WeakMap,this.intersectionSubject=ne
1w C.x,this.uniqKey={}}getObservable(e){if(this.skipLazyLoading(e))return(0,N.of)({isIntersecting:!0});if(e.customObservable)return e.customObservable;const o=e.scrollContainer||this.uniqKey,r={root:e.scrollContainer||null};e.offset&&(r.rootMargin=`${e.offset}px`);let c=this.observers.get(o);return c||(c=new IntersectionObserver(m=>this.loadingCallback(m),r),this.observers.set(o,c)),c.observe(e.element),I.y.create(m=>{const g=this.intersectionSubject.pipe((0,S.h)(v=>v.target===e.element)).subscribe(m);return()=>{g.unsubscribe(),c.unobserve(e.element)}})}isVisible(e){return e.isIntersecting}loadingCallback(e){e.forEach(o=>this.intersectionSubject.next(o))}}const R=new O.InjectionToken("LazyLoadImageHooks");let U=(()=>{class s{}return s.\u0275fac=function(o){return new(o||s)},s.\u0275mod=O.\u0275\u0275defineNgModule({type:s}),s.\u0275inj=O.\u0275\u0275defineInjector({providers:[{provide:R,useClass:H}]}),s})();class _{constructor(e,o,r,c){this.left=e,this.top=o,this.right=r,this.bottom=c}static fromElement(e){const{left:o,top:r,right:c,bottom:m}=e.getBoundingClientRect();return 0===o&&0===r&&0===c&&0===m?_.empty:new _(o,r,c,m)}static fromWindow(e){return new _(0,0,e.innerWidth,e.innerHeight)}inflate(e){this.left-=e,this.top-=e,this.right+=e,this.bottom+=e}intersectsWith(e){return e.left<this.right&&this.left<e.right&&e.top<this.bottom&&this.top<e.bottom}getIntersectionWith(e){const o=Math.max(this.left,e.left),r=Math.max(this.top,e.top),c=Math.min(this.right,e.right),m=Math.min(this.bottom,e.bottom);return c>=o&&m>=r?new _(o,r,c,m):_.empty}}_.empty=new _(0,0,0,0)}}]);

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.