1import{a as It,c as Dt,d as Bt}from"./chunk-6M4AL4KF.js";import{a as je}from"./chunk-TYGF3K5V.js";import{a as Tt}from"./chunk-QFYUXQPI.js";import"./chunk-EBQTGHJC.js";import"./chunk-Z43XURT5.js";import{c as ce,d as bt,e as ht,h as he,i as ge,l as _e,m as ye,p as Ce,r as Se,t as Me,u as ve,v as ke,w as Te,x as xe,y as vt}from"./chunk-F3YDSULT.js";import"./chunk-6BZBYSMW.js";import"./chunk-UUJMV3YM.js";import{b as fe,c as be}from"./chunk-K25JBZGH.js";import"./chunk-4MZ3YITL.js";import{b as Mt}from"./chunk-UPUKGXO4.js";import"./chunk-NQAK3WPF.js";import"./chunk-V4JAHCK4.js";import{a as ue,c as gt}from"./chunk-BYOV7D2A.js";import{c as wt}from"./chunk-Q4D3MJTP.js";import"./chunk-E7NJYPPN.js";import{i as ut}from"./chunk-2Y3QY3KH.js";import{a as kt}from"./chunk-2U2JGOV3.js";import{c as Ie}from"./chunk-YGXWDGTG.js";import{a as de,d as ft}from"./chunk-QC7X6JLE.js";import{a as _t,b as yt,e as N,g as Ct,h as St}from"./chunk-V44JKVCJ.js";import{b as L}from"./chunk-HMMSN6SK.js";import{k as ct}from"./chunk-F5WZP3DK.js";import"./chunk-EGASWDO3.js";import{r as nt,x as at}from"./chunk-367H7HI2.js";import{a as F}from"./chunk-PAVZIIHI.js";import{b as z,c as it}from"./chunk-HJ5F4E3Z.js";import{g as lt,h as mt,i as V,j as me,k as st,l as se,m as pt,n as pe,o as dt}from"./chunk-5GPX5V7K.js";import{G as et,I as tt,Na as rt,e as Qe,h as Xe,i as Ye,p as Ke,t as Je,w as Ze}from"./chunk-JKDJVDQU.js";import{d as we}from"./chunk-P5L4644C.js";import{G as xt,b as R}from"./chunk-K3AP6P4X.js";import{f as j}from"./chunk-WHBYJA7R.js";import{$b as qe,$c as le,A as k,Ab as C,B as ze,Gb as ae,Hb as B,Je as ot,Kb as y,Me as Oe,Nb as g,O as $,Q as ee,Rb as Ne,S as D,Sb as Le,Tb as Ue,V as O,Va as p,Vc as oe,W as H,Wd as $e,Xb as Q,_c as Ge,ac as c,bb as d,cc as Re,da as T,e as K,ed as He,f as J,fa as A,fb as P,fc as We,ga as b,gb as ne,ja as x,jc as Ee,k as Z,kb as _,oa as Ve,pa as te,pc as u,qc as f,sa as ie,t as Fe,tc as re,u as h,va as w,wa as I,xb as m,yb as r,zb as o}from"./chunk-UWZVHGDU.js";import"./chunk-Q2OOS27M.js";var De=(()=>{let n=class n{constructor(e,i,t,s,M,q,W){this._fb=e,this._peanutSustainability=i,this._toastr=t,this._loading=s,this._modalRef=M,this._readOnly=q,this._data=W,this.appReadOnly$=this._readOnly.appReadOnly$,this.declineIcon=at,this.appNameAbbreviated=Ie,this.form=this._fb.group({declineSharing:[!1,[Qe.requiredTrue]]})}ngOnInit(){this.appReadOnly$.subscribe(e=>{e&&this.form.get("declineSharing")?.disable()})}_submit(){let e=this.form.value.declineSharing;if(e){let i=this._peanutSustainability.updateEnrollmentSharing({decline:e}).pipe(D(1),$(t=>{let s=j(t)||"There was an error declining.";return this._toastr.error(s,"Submit error"),h(!1)}));this._loading.while(i).subscribe(t=>t===!0&&this._modalRef.close(t))}else this._modalRef.close(!1)}};n.\u0275fac=function(i){return new(i||n)(d(et),d(R),d(F),d(z),d(mt),d(L),d(lt,8))},n.\u0275cmp=P({type:n,selectors:[["app-marketing-sharing-info"]],standalone:!1,decls:21,vars:5,consts:[[3,"ngSubmit","formGroup"],["seamModalTitle",""],["size","sm",3,"icon"],["aria-label","Close",1,"close",3,"seamModalClose"],["aria-hidden","true"],[1,"d-flex","flex-row"],[1,"flex-grow-1","p-2"],[1,"text-center"],["seamToggleButton","","theme","outline-primary","formControlName","declineSharing",1,"mr-2"],["seamButton","","theme","lightgray",3,"seamModalClose"],["seamButton","","theme","success","type","submit",3,"disabled"]],template:function(i,t){i&1&&(r(0,"form",0),y("ngSubmit",function(){return t._submit()}),r(1,"seam-modal-header")(2,"h4",1),C(3,"seam-icon",2),c(4," Decline Selecting Marketer "),o(),r(5,"button",3)(6,"span",4),c(7,"\xD7"),o()()(),r(8,"seam-modal-body")(9,"div",5)(10,"div",6)(11,"p"),c(12," Selection of a Marketer can be declined at this time, but one must be chosen before your enrollment is considered complete. A Marketer must be a Member and is generally your Buying Point or Merchant/COOP. "),o(),r(13,"div",7)(14,"button",8),c(15," I Agree "),o()()()()(),r(16,"seam-modal-footer")(17,"button",9),c(18," Cancel "),o(),r(19,"button",10),c(20," Continue "),o()()()),i&2&&(m("formGroup",t.form),p(3),m("icon",t.declineIcon),p(2),m("seamModalClose",!1),p(12),m("seamModalClose",!1),p(2),m("disabled",t.form.disabled||!t.form.valid))}
1,dependencies:[Ct,N,pe,st,se,pt,me,de,Ke,Xe,Ye,Je,Ze],encapsulation:2});let a=n;return a})();var U=(()=>{let n=class n{constructor(e,i,t){this._peanutSustainability=e,this._modal=i,this._router=t}confirmMarketingAcknowledged(){return this._peanutSustainability.getToDo().pipe(ee(e=>e.needsMarketingAcknowledged?this._modal.openFromLazyComponent("marketing-acknowledgement-modal",{modalSize:"lg"}).pipe(ee(i=>i.afterClosed()),ee(i=>i?h(i):Fe(this._router.navigate(["dashboard"])))):Z))}};n.\u0275fac=function(i){return new(i||n)(ie(R),ie(V),ie(ot))},n.\u0275prov=Ve({token:n,factory:n.\u0275fac});let a=n;return a})();function Wt(a,n){if(a&1){let l=B();r(0,"seam-datatable-action-menu")(1,"seam-datatable-action-menu-item",9),u(2,"async"),y("click",function(){let i=w(l).$implicit,t=g();return I(t.removeRecord(i))}),o()()}if(a&2){let l=g();p(),m("disabled",f(2,1,l.appReadOnly$))}}function Gt(a,n){if(a&1){let l=B();r(0,"button",10),u(1,"async"),y("click",function(){w(l);let i=g();return I(i._declineSelectingMarketer())}),c(2," Decline Selecting Marketer "),o()}if(a&2){let l=g();m("disabled",f(1,1,l.appReadOnly$))}}var At=(()=>{let n=class n{constructor(e,i,t,s,M,q,W,Be){this._auth=e,this._peanutSustainability=i,this._toastr=t,this._modal=s,this._loading=M,this._confirmDialog=q,this._readOnly=W,this._marketing=Be,this.appReadOnly$=this._readOnly.appReadOnly$,this.columns=[{prop:"icon",name:"",cellType:"icon",cellTypeConfig:{type:"icon",iconType:"borderless-styled-square"},width:60,minWidth:60,maxWidth:60},{prop:"name",name:"Name"}],this.exporters=[new fe,new be],this._refresh=new K,this._loadingSubject=new J(!1),this.loading$=this._loadingSubject.asObservable(),this.rows$=this._refresh.pipe(A(void 0),x(()=>this._loadingSubject.next(!0)),b(()=>this._peanutSustainability.userSharedMembers().pipe(k(E=>E.map(G=>this._mapDataRecord(G))))),x(()=>this._loadingSubject.next(!1)),T({bufferSize:1,refCount:!0})),this.declinedMemberSharing$=this._refresh.pipe(A(void 0),b(()=>this._peanutSustainability.getToDo().pipe(k(E=>E.declinedMarketerOption))),O(),T({bufferSize:1,refCount:!0})),this.showDeclineSelectingMarketer$=this.declinedMemberSharing$.pipe(b(E=>E?h(!1):this.rows$.pipe(k(G=>G.length===0))),O(),T({bufferSize:1,refCount:!0}))}ngOnInit(){this._marketing.confirmMarketingAcknowledged().subscribe()}_mapDataRecord(e){return{memberId:e.memberId,icon:e.logo,name:e.organizationName}}removeRecord(e){let i=this._peanutSustainability.userRemoveSharedAccess({memberId:e.memberId}).pipe(D(1),$(t=>{let s=j(t)||"There was an error removing.";return this._toastr.error(s,"Submit error"),h(void 0)}),H(()=>this._refresh.next()));this._confirmDialog.open(`Are you sure you want to remove ${e.name}?`).afterClosed().pipe(b(t=>t!=="confirm"?h(void 0):h(void 0).pipe(x(s=>this._loading.while(i).subscribe())))).subscribe()}addMemberModal(){this._modal.openFromLazyComponent("share-my-enrollment",{modalSize:"lg"}).pipe(b(e=>e.afterClosed())).subscribe(e=>{switch(e){case"contact-program-manager":this.openMessagesCreateModal();break;default:this._refresh.next()}})}_declineSelectingMarketer(){this._modal.openFromComponent(De,{modalSize:"lg"}).afterClosed().subscribe(i=>this._refresh.next())}openMessagesCreateModal(){this._modal.openFromLazyComponent("messages-create",{modalSize:"lg",data:{contact:"Program Manager"}}).subscribe()}};n.\u0275fac=function(i){return new(i||n)(d(we),d(R),d(F),d(V),d(z),d(ue),d(L),d(U))},n.\u0275cmp=P({type:n,selectors:[["app-marketers-table"]],standalone:!1,decls:22,vars:14,consts:[[1,"p-4","flex-fill","d-flex","flex-column"],["preferencesKey","datatable:marketers",3,"columns","rows","loadingIndicator"],[1,"pb-2"],["seamDatatableFilter",""],[3,"exporters"],["seamDatatableRowActionItem",""],[1,"pt-2"],["seamButton","","theme","primary",1,"ml-2",3,"click","disabled"],["seamButton","","theme","danger","class","ml-2",3,"disabled","click",4,"ngIf"],["label","Remove",3,"click","disabled"],["seamButton","","theme","danger",1,"ml-2",3,"click","disabled"]],template:function(i,t){i&1&&(r(0,"div",0)(1,"seam-datatable",1),u(2,"async"),u(3,"async"),r(4,"seam-datatable-menu-bar")(5,"seam-datatable-menu-bar-row",2),C(6,"seam-datatable-menu-bar-column-left")(7,"seam-datatable-menu-bar-column-center"),r(8,"seam-datatable-menu-bar-column-right"),C(9,"seam-data-filter-search",3),o()(),r(10,"seam-datatable-menu-bar-row"),C(11,"seam-datatable-menu-bar-column-left")(12,"seam-datatable-menu-bar-column-center"),r(13,"seam-datatable-menu-bar-column-right"),C(14,"seam-datatable-export-button",4),o()()(),_(15,Wt,3,3,"ng-template",5),o(),r(16,"div",6)(17,"button",7),u(18,"async"),y("click",function(){return t.addMemberModal()}),c(19," Add Marketer + "),o(),_(20,Gt,3,3,"button",8),u(21,"async"),o()()),i&2&&(p(),m("columns",t.columns)("rows",f(2,6,t.rows$))("loadingIndicator",f(3,8,t.loading$)),p(13),m("exporters",t.exporters),p(3),m("disabled",f(18,10,t.appReadOnly$)),p(3),m("ngIf",f(21,12,t.showDeclineSelectingMarketer$)))},dependencies:[oe,ce,Se,ge,he,ye,_e,Ce,Me,xe,ke,ve,Te,N,le],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}"],changeDetection:0});let a=n;return a})();var Ht=["headerModal"],Qt=()=>["type"],Xt=()=>["bottom-left","auto"];function Yt(a,n){a&1&&ae(0)}function Kt(a,n){if(a&1){let l=B();r(0,"div",16),y("click",function(){w(l);let i=g();return I(i.openHeaderModal())}),r(1,"seam-card",17)(2,"seam-card-body"),_(3,Yt,1,0,"ng-container",18),o()(),r(4,"div",19),c(5,"Click to expand"),o()()}if(a&2){g();let l=Q(34);p(3),m("ngTemplateOutlet",l)}}function Jt(a,n){a&1&&ae(0)}function Zt(a,n){if(a&1&&(r(0,"seam-card",17)(1,"seam-card-body"),_(2,Jt,1,0,"ng-container",18),o()()),a&2){g();let l=Q(34);p(2),m("ngTemplateOutlet",l)}}function ei(a,n){if(a&1&&C(0,"seam-icon",23),a&2){let l=n.ngIf,e=g(2);qe(We("mr-1 ",l.valid?"text-success":"text-danger")),m("icon",l.valid?e.faCheckCircle:e.faExclamationCircle)("seamTooltip",l.msg)("disableTooltip",l.valid)("placement",Ee(7,Xt))}}function ti(a,n){if(a&1&&(r(0,"div",20),_(1,ei,1,8,"seam-icon",21),u(2,"async"),r(3,"div")(4,"span",22),c(5),o(),r(6,"span",22),c(7),o()()()),a&2){let l=n.ngIf,e=g();p(),m("ngIf",f(2,3,e.enrollReqsInfo$)),p(4),Re("Buying Points: ",l==null?null:l.buyingPoints,", "),p(2),Re("Marketers: ",l==null?null:l.marketers)}}function ii(a,n){if(a&1){let l=B();r(0,"seam-datatable-action-menu")(1,"seam-datatable-action-menu-item",24),u(2,"async"),y("click",function(){let i=w(l).$implicit,t=g();return I(t.removeRecord(i))}),o()()}if(a&2){let l=g();p(),m("disabled",f(2,1,l.appReadOnly$))}}function ni(a,n){if(a&1){let l=B();r(0,"button",25),u(1,"async"),y("click",function(){w(l);let i=g();return I(i._declineSelectingMarketer())}),c(2," Decline Selecting Marketer "),o()}if(a&2){let l=g();m("disabled",f(1,1,l.appReadOnly$))}}function ai(a,n){a&1&&(r(0,"em",26),c(1," This section is used to identify your Buying Point and Marketer (see buttons below to add). Multiple Buying Points and Marketers can be selected. The Marketer is the firm that buys y
1our peanuts. Your selections will be shown below. "),o())}function ri(a,n){a&1&&ae(0)}function oi(a,n){if(a&1&&(r(0,"seam-modal-header")(1,"button",27)(2,"span",28),c(3,"\xD7"),o()()(),r(4,"seam-modal-body"),_(5,ri,1,0,"ng-container",18),o()),a&2){g();let l=Q(34);p(5),m("ngTemplateOutlet",l)}}var Pt=(()=>{let n=class n{constructor(e,i,t,s,M,q,W,Be,E,G){this._auth=e,this._peanutSustainability=i,this._toastr=t,this._modal=s,this._loading=M,this._confirmDialog=q,this._readOnly=W,this._layout=Be,this._marketing=E,this._apiTrustedRepresentative=G,this.appReadOnly$=this._readOnly.appReadOnly$,this.faCheckCircle=rt,this.faExclamationCircle=nt,this.appNameAbbreviated=Ie,this._marketersEnabled=wt("marketers"),this._marketerDefaultIcon="assets/peanut-trust-icons/new_icons/building.svg",this.columns=[{prop:"icon",name:"",cellType:"icon",cellTypeConfig:{type:"icon",iconType:"borderless-styled-square",iconClass:{type:"jexl",expr:"row.iconClass"}},width:60,minWidth:60,maxWidth:60},{prop:"buyingPointCode",name:"Buying Point Code",cellType:"integer",cellTypeConfig:{type:"integer",formatNumber:!1}},{prop:"name",name:"Name"},{prop:"type",name:"Type"},{prop:"city",name:"City"},{prop:"state",name:"State"}],this.filterButtons=[{name:"All",value:""},{name:"Buying Points",value:"buyingPoint"},{name:"Marketers",value:"marketer"}],this.filterButtonsValue="",this.exporters=[new fe,new be],this._refresh=new K,this._loadingSubject=new J(!1),this.isLtSm$=this._layout.observe("lt-sm"),this.loading$=this._loadingSubject.asObservable(),this.rows$=this._refresh.pipe(A(void 0),x(()=>this._loadingSubject.next(!0)),b(()=>this._peanutSustainability.buyingPointsAndSharedMembers().pipe(k(v=>v.map(S=>this._mapDataRecord(S)).filter($e)))),x(()=>this._loadingSubject.next(!1)),T({bufferSize:1,refCount:!0})),this.counts$=this.rows$.pipe(k(v=>{let S={buyingPoints:0,marketers:0};for(let Y of v)switch(Y.type){case"Marketer":S.marketers++;break;case"BuyingPoint":S.buyingPoints++;break;default:break}return S}),T({bufferSize:1,refCount:!0})),this.declinedMemberSharing$=this._refresh.pipe(A(void 0),b(()=>this._peanutSustainability.getToDo().pipe(k(v=>v.declinedMarketerOption))),O(),T({bufferSize:1,refCount:!0})),this.enrollReqsInfo$=ze([this.declinedMemberSharing$,this.counts$]).pipe(k(([v,S])=>{let Y=v?S.buyingPoints>0:S.buyingPoints>0&&S.marketers>0;return{valid:Y,msg:Y?"":v?"At least one Buying Point must be selected.":"At least one Buying Point and one Marketer must be selected, unless you decline selecting Marketer."}}),O(),T({bufferSize:1,refCount:!0})),this.showDeclineSelectingMarketer$=this._marketersEnabled?this.declinedMemberSharing$.pipe(b(v=>v?h(!1):this.counts$.pipe(k(S=>S.marketers===0))),O(),T({bufferSize:1,refCount:!0})):h(!1)}ngOnInit(){this._marketersEnabled&&this._marketing.confirmMarketingAcknowledged().subscribe()}_mapDataRecord(e){if(!this._marketersEnabled&&e.type==="Marketer")return null;let i=e.logo;return{memberId:e.memberId,icon:i,iconClass:"",buyingPointCode:e.buyingPointCode,name:e.name,type:e.type,city:e.city,state:e.state}}removeRecord(e){let i;e.type.toLowerCase()==="buyingpoint"?i=this._auth.authData$.pipe(D(1),b(t=>{if(!t)throw new Error("User data not found.");if(!e.buyingPointCode)throw new Error("Unable to get Buying Point Code.");return this._peanutSustainability.removeBuyingPointFromProducer(t.userName,[e.buyingPointCode].filter($e)).pipe(D(1),$(s=>{let M=j(s)||"There was an error removing.";return this._toastr.error(M,"Submit error"),h(void 0)}),H(()=>this._refresh.next()))})):i=this._peanutSustainability.userRemoveSharedAccess({memberId:e.memberId}).pipe(D(1),$(t=>{let s=j(t)||"There was an error removing.";return this._toastr.error(s,"Submit error"),h(void 0)}),H(()=>this._refresh.next())),this._confirmDialog.open(`Are you sure you want to remove ${e.name}?`).afterClosed().pipe(b(t=>t!=="confirm"?h(void 0):h(void 0).pipe(x(s=>this._loading.while(i).subscribe())))).subscribe()}_addBuyingPointModal(){this._modal.openFromLazyComponent("buying-points-add-modal",{modalSize:"lg"}).pipe(b(e=>e.afterClosed())).subscribe(e=>this._refresh.next())}_addMemberModal(){this._modal.openFromLazyComponent("share-my-enrollment",{modalSize:"lg"}).pipe(b(e=>e.afterClosed())).subscribe(e=>
1{switch(e){case"contact-program-manager":this.openMessagesCreateModal();break;default:this._refresh.next()}})}_addTrustedRepresentativeModal(){let e=this._modal.openFromLazyComponent("trusted-representative-acknowledgement-modal",{modalSize:"lg"}).pipe(b(t=>t.afterClosed())),i=this._modal.openFromLazyComponent("add-trusted-representative-modal",{modalSize:"lg"}).pipe(b(t=>t.afterClosed()));this._apiTrustedRepresentative.hasAcknowledgedAuthorization().pipe(b(t=>t?i.pipe(x(()=>this._refresh.next())):e.pipe(b(s=>s?i.pipe(x(()=>this._refresh.next())):Z)))).subscribe()}_declineSelectingMarketer(){this._modal.openFromComponent(De,{modalSize:"lg"}).afterClosed().subscribe(i=>this._refresh.next())}openMessagesCreateModal(){this._modal.openFromLazyComponent("messages-create",{modalSize:"lg",data:{contact:"Program Manager"}}).subscribe()}openHeaderModal(){this._modal.openFromTemplate(this.headerModalRef)}};n.\u0275fac=function(i){return new(i||n)(d(we),d(R),d(F),d(V),d(z),d(ue),d(L),d(kt),d(U),d(xt))},n.\u0275cmp=P({type:n,selectors:[["app-marketing-table"]],viewQuery:function(i,t){if(i&1&&Ne(Ht,7),i&2){let s;Le(s=Ue())&&(t.headerModalRef=s.first)}},standalone:!1,decls:37,vars:33,consts:[["desktopTpl",""],["headerTpl",""],["headerModal",""],[1,"p-4","flex-fill","d-flex","flex-column"],["class","mobile-collapse",3,"click",4,"ngIf","ngIfElse"],["preferencesKey","datatable:marketing",3,"columns","rows","loadingIndicator"],[1,"pb-2"],["seamDatatableFilter","",2,"min-width","200px"],["class","d-flex flex-wrap pl-2","style","min-width: 250px",4,"ngIf"],["seamDatatableFilter","",3,"buttons","multiple","selectionToggleable","value","properties"],[3,"exporters"],["seamDatatableRowActionItem",""],[1,"pt-2"],["seamButton","","theme","primary",3,"click","disabled"],["seamButton","","theme","primary",1,"ml-2",3,"click","disabled"],["seamButton","","theme","danger","class","ml-2",3,"disabled","click",4,"ngIf"],[1,"mobile-collapse",3,"click"],[1,"bg-light","mb-2"],[4,"ngTemplateOutlet"],[1,"mobile-collapse__desc","text-black-50"],[1,"d-flex","flex-wrap","pl-2",2,"min-width","250px"],["tooltipClass","border-danger marketing-table-danger-popover","container","body",3,"icon","class","seamTooltip","disableTooltip","placement",4,"ngIf"],[2,"white-space","nowrap"],["tooltipClass","border-danger marketing-table-danger-popover","container","body",3,"icon","seamTooltip","disableTooltip","placement"],["label","Remove",3,"click","disabled"],["seamButton","","theme","danger",1,"ml-2",3,"click","disabled"],[2,"font-size","14px"],["seamModalClose","","aria-label","Close",1,"close"],["aria-hidden","true"]],template:function(i,t){if(i&1){let s=B();r(0,"div",3),_(1,Kt,6,1,"div",4),u(2,"async"),_(3,Zt,3,1,"ng-template",null,0,re),r(5,"seam-datatable",5),u(6,"async"),u(7,"async"),r(8,"seam-datatable-menu-bar")(9,"seam-datatable-menu-bar-row",6)(10,"seam-datatable-menu-bar-column-right"),C(11,"seam-data-filter-search",7),o()(),r(12,"seam-datatable-menu-bar-row")(13,"seam-datatable-menu-bar-column-left"),_(14,ti,8,5,"div",8),u(15,"async"),o(),r(16,"seam-datatable-menu-bar-column-center"),C(17,"seam-data-filter-toggle-buttons",9),o(),r(18,"seam-datatable-menu-bar-column-right"),C(19,"seam-datatable-export-button",10),o()()(),_(20,ii,3,3,"ng-template",11),o(),r(21,"div",12)(22,"button",13),u(23,"async"),y("click",function(){return w(s),I(t._addBuyingPointModal())}),c(24," Add Buying Point + "),o(),r(25,"button",14),u(26,"async"),y("click",function(){return w(s),I(t._addMemberModal())}),c(27," Add Marketer + "),o(),r(28,"button",14),u(29,"async"),y("click",function(){return w(s),I(t._addTrustedRepresentativeModal())}),c(30," Add Trusted Representative + "),o(),_(31,ni,3,3,"button",15),u(32,"async"),o()(),_(33,ai,2,0,"ng-template",null,1,re)(35,oi,6,1,"ng-template",null,2,re)}if(i&2){let s=Q(4);p(),m("ngIf",f(2,16,t.isLtSm$))("ngIfElse",s),p(4),m("columns",t.columns)("rows",f(6,18,t.rows$))("loadingIndicator",f(7,20,t.loading$)),p(9),m("ngIf",f(15,22,t.counts$)),p(3),m("buttons",t.filterButtons)("multiple",!1)("selectionToggleable",!1)("value",t.filterButtonsValue)("properties",Ee(32,Qt)),p(2),m("exporters",t.exporters),p(3),m("disabled",f(23,24,t.appReadOnly$)),p(3),m("disabled",f(26,26,t.appReadOnly$)),p(3),m("disabled",f(29,28,t.appReadOnly$)),p(3),m("ngIf",f(32,30,t.showDeclineSelectingMarketer$))}},dependencies:[oe,Ge,ce,bt,Se,ge,he,ye,_e,Ce,Me,xe,ke,ve,Te,N,pe,se,me,de,Dt,It,_t,le],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.mobile-collapse[_ngcontent-%COMP%]{position:relative;height:10vh;overflow:hidden;min-height:50px;margin-bottom:1rem}.mobile-collapse__desc[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;text-align:center;z-index:1;font-size:80%}.mobile-collapse[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:50px;background:linear-gradient(transparent 0%,#fff 65%)} .logo-shrink{height:30px;min-height:30px;width:30px;min-width:30px} .marketing-table-danger-popover{margin-left:-21px}'],changeDetection:0});let a=n;return a})();var li=[{path:"",component:At,data:{title:"Marketers",breadcrumb:"Marketers",featureFlag:"marketers"},canActivate:[je]},{path:"buying-points-and-marketers",component:Pt,data:{title:"Buying Point & Marketer Selection",breadcrumb:"Buying Point & Marketer Selection",featureFlag:"marketers"},canActivate:[je]}],Ft=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=ne({type:n}),n.\u0275inj=te({imports:[Oe.forChild(li),Oe]});let a=n;return a})();var bn=(()=>{let n=class n{};n.\u0275fac=function(i){return new(i||n)},n.\u0275mod=ne({type:n}),n.\u0275inj=te({providers:[U],imports:[He,Ft,ht,vt,Tt,ct,St,dt,ft,ut,tt,gt,it,Mt,Bt,yt]});let a=n;return a})();export{bn as MarketingModule};
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.