1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_privacy_dsar_dsar-requests_dsar-requests_module_ts"],{75902:(B,k,p)=>{p.d(k,{J:()=>Z});var y=p(61737),O=p(92340),M=p(27221),T=p(80096),D=p(28597),I=p(94650),A=p(80529),w=p(46262);let Z=(()=>{const e=class{constructor(b,f){this.httpClient=b,this.lokiService=f}getCompanyDetails(b,f){const m="/company";return this.httpClient.get(O.N.apiUrl+m).pipe((0,M.K)(g=>(this.onSendLogs(D.o.INFO,g,D.X.getCompanyDetails,b,f,m),(0,y._)(g))))}updateCompanyDetails(b,f,m){const g="/company";return this.httpClient.put(O.N.apiUrl+g,m).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_,D.X.updateCompanyDetails,b,f,g),(0,y._)(_))))}updateTwoFactorDetails(b,f,m){const g="/company/two-factor-auth";return this.httpClient.put(O.N.apiUrl+g,m).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_,D.X.updateCompanyDetails,b,f,g),(0,y._)(_))))}updateTwoFactorUserDetails(b,f,m){const g="/user-update/two-factor-auth/"+m;return this.httpClient.put(O.N.apiUrl+g,{}).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_,D.X.updateCompanyDetails,b,f,g),(0,y._)(_))))}resetTwoFactorUserDetails(b,f,m){const g="/user-reset/two-factor-auth/"+m;return this.httpClient.put(O.N.apiUrl+g,{}).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_,D.X.updateCompanyDetails,b,f,g),(0,y._)(_))))}getCompanyTeamMembers(b,f,m){const g="/team_member";return this.httpClient.get(O.N.apiUrl+g+m).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_?.error?.error||_,D.X.getCompanyTeamMembers,b,f,g),(0,y._)(_))))}inviteUser(b,f,m,g){const _="/invite/user";return this.httpClient.post(O.N.apiUrl+_,m,{params:g}).pipe((0,T.d)(1),(0,M.K)(v=>(this.onSendLogs(D.o.INFO,v?.error?.error||v,D.X.inviteUser,b,f,_),(0,y._)(v))))}generateToken(b,f){const m="/company/create-app-id";return this.httpClient.get(O.N.apiUrl+m).pipe((0,T.d)(1),(0,M.K)(g=>(this.onSendLogs(D.o.INFO,g?.error?.error||g,D.X.inviteUser,b,f,m),(0,y._)(g))))}updateToken(b,f){const m="/company/update-app-id";return this.httpClient.get(O.N.apiUrl+m).pipe((0,T.d)(1),(0,M.K)(g=>(this.onSendLogs(D.o.INFO,g?.error?.error||g,D.X.inviteUser,b,f,m),(0,y._)(g))))}getToken(b,f){const m="/company/get-app-id";return this.httpClient.get(O.N.apiUrl+m).pipe((0,T.d)(1),(0,M.K)(g=>(this.onSendLogs(D.o.INFO,g?.error?.error||g,D.X.inviteUser,b,f,m),(0,y._)(g))))}updateUserRole(b,f,m){const g="/invite/user/updaterole";return this.httpClient.put(O.N.apiUrl+g,m).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_?.error?.error||_,D.X.updateUserRole,b,f,g),(0,y._)(_))))}removeTeamMember(b,f,m,g){let _;return _=g?"/invite/user/"+m.user_level+"/"+m.id+"/"+m.approver_id+"?orgid="+g:"/invite/user/"+m.user_level+"/"+m.id+"/"+m.approver_id,this.httpClient.delete(O.N.apiUrl+_).pipe((0,M.K)(v=>(this.onSendLogs(D.o.INFO,v?.error?.error||v,D.X.removeTeamMember,b,f,_),(0,y._)(v))))}resendInvitation(b,f,m,g){let _;return _=g?"/invite/user/resend?user_id="+m+"&orgid="+g:"/invite/user/resend?user_id="+m,this.httpClient.get(O.N.apiUrl+_).pipe((0,M.K)(v=>(this.onSendLogs(D.o.INFO,v,D.X.resendInvitation,b,f,_),(0,y._)(v))))}getUserList(b,f,m){const g="/invite/user/list?query="+b;return this.httpClient.get(O.N.apiUrl+g).pipe((0,M.K)(_=>(this.onSendLogs(D.o.INFO,_,D.X.getUserList,f,m,g),(0,y._)(_))))}onSendLogs(b,f,m,g,_,v){this.lokiService.onSendErrorLogs(b,f,m,g,_,v).subscribe()}};let P=e;return e.\u0275fac=function(f){return new(f||e)(I.LFG(A.eN),I.LFG(w.L))},e.\u0275prov=I.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),P})()},5839:(B,k,p)=>{p.r(k),p.d(k,{DsarRequestsModule:()=>He});var y=p(24006),O=p(51692),M=p(15861),T=p(8929),D=p(591),I=p(80013),A=p(75778),w=p(3940),Z=p(68078),P=p(92340),e=p(94650),N=p(64491),b=p(75902),f=p(37407),m=p(1260),g=p(81536),_=p(43265),v=p(59922),E=p(16785),Y=p(11481),S=p(36895),F=p(59245),Q=p(22096),U=p(73747),K=p(32320),z=p(4358),G=p(12553),L=p(96923),H=p(42111),J=p(22962),W=p(99856),j=p(18178),V=p(49436),$=p(2854),X=p(48625);const ee=["editor"],te=["ptable"];function se(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"div",46),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.clearSearchfield())}),e._UZ(1,"i",47),e.qZA()}}function ne(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"span",48),e.NdJ("click",function(){e.CHM(s),e.oxw();const n=e.MAs(25);return e.KtG(n.show())}),e._UZ(1,"i",49),e.qZA()}if(2&r){const s=e.oxw();e.xp6(1),e.Q6J("ngClass",""!==s.searchbydaterange?"":"fa-caret-down")}}function ie(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"span",50),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.clearDatePicker())}),e._UZ(1,"i",51),e.qZA()}if(2&r){const s=e.oxw();e.xp6(1),e.Q6J("ngClass",null==s.searchbydaterange?"fa-caret-down":"fa-times color-red")}}function re(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(s);const n=e.oxw(),i=e.MAs(51);return e.KtG(n.openSearchModal(i))}),e._UZ(1,"i-feather",53),e.qZA()}}function ae(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"p-splitButton",54),e.NdJ("onClick",function(){e.CHM(s);const n=e.oxw(),i=e.MAs(51);return e.KtG(n.openSearchModal(i))}),e.qZA()}if(2&r){const s=e.oxw();e.Q6J("model",s.resetFilterItem)}}function oe(r,c){if(1&r&&(e.TgZ(0,"th"),e._uU(1),e.qZA()),2&r){const s=c.$implicit;e.xp6(1),e.hij(" ",s.header," ")}}function le(r,c){if(1&r&&(e.TgZ(0,"tr")(1,"th"),e._uU(2,"ID "),e.qZA(),e.TgZ(3,"th"),e._uU(4,"Request Type "),e.qZA(),e.TgZ(5,"th"),e._uU(6,"Subject Type "),e.qZA(),e.TgZ(7,"th"),e._uU(8,"Status "),e.qZA(),e.TgZ(9,"th"),e._uU(10,"Name "),e.qZA(),e.TgZ(11,"th"),e._uU(12,"Email "),e.qZA(),e.TgZ(13,"th"),e._uU(14,"Web Form "),e.qZA(),e.YNc(15,oe,2,1,"th",55),e.TgZ(16,"th"),e._uU(17,"Due In "),e.qZA(),e.TgZ(18,"th",56),e._uU(19,"Created at "),e._UZ(20,"i",57),e.ALo(21,"async"),e.qZA(),e.TgZ(22,"th"),e._uU(23,"Updated at"),e.qZA()()),2&r){const s=c.$implicit,t=e.oxw();
1e.xp6(15),e.Q6J("ngForOf",s),e.xp6(5),e.Q6J("ngClass","desc"===e.lcZ(21,2,t.sortingOrderValue$)?"pi-sort-amount-up-alt":"pi-sort-amount-down")}}function ce(r,c){if(1&r&&(e.TgZ(0,"span",68),e._uU(1),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(s.status)}}function de(r,c){if(1&r&&(e.TgZ(0,"span",69),e._uU(1),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(s.status)}}function ue(r,c){if(1&r&&(e.TgZ(0,"span",70),e._uU(1),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(s.status)}}function pe(r,c){if(1&r&&(e.TgZ(0,"span",71),e._uU(1),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(s.status)}}function he(r,c){if(1&r&&(e.TgZ(0,"span",72),e._uU(1),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(s.status)}}function ge(r,c){if(1&r&&(e.TgZ(0,"span",72),e._uU(1),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(s.status)}}function me(r,c){if(1&r&&(e.ynx(0),e.YNc(1,ce,2,1,"span",63),e.YNc(2,de,2,1,"span",64),e.YNc(3,ue,2,1,"span",65),e.YNc(4,pe,2,1,"span",66),e.YNc(5,he,2,1,"span",67),e.YNc(6,ge,2,1,"span",67),e.BQk()),2&r){const s=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf","New"===s.status),e.xp6(1),e.Q6J("ngIf","Verify Request"===s.status),e.xp6(1),e.Q6J("ngIf","InProgress"===s.status),e.xp6(1),e.Q6J("ngIf","Complete"===s.status),e.xp6(1),e.Q6J("ngIf","UnVerifed"===s.status),e.xp6(1),e.Q6J("ngIf","Rejected"===s.status)}}function _e(r,c){if(1&r&&(e.ynx(0),e._uU(1),e.BQk()),2&r){const s=e.oxw().$implicit,t=e.oxw(2).$implicit;e.xp6(1),e.hij(" ","undefined"==t[s.field]||""==t[s.field]?"--":t[s.field]," ")}}function fe(r,c){if(1&r&&(e.TgZ(0,"td")(1,"span",59),e._uU(2),e.qZA(),e.YNc(3,_e,2,1,"ng-container",58),e.qZA()),2&r){const s=c.$implicit,t=e.oxw(2).$implicit;e.xp6(2),e.Oqu(s.header),e.xp6(1),e.Q6J("ngIf",t)}}function be(r,c){if(1&r&&(e.ynx(0),e._uU(1),e.BQk()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.hij(" ",(null==s?null:s.days_left)<0?"0":null==s?null:s.days_left," Days ")}}const Ce=function(r,c,s){return{"badge-danger":r,"badge-warning":c,"badge-success":s}};function ye(r,c){if(1&r&&(e.TgZ(0,"span",73),e.YNc(1,be,2,1,"ng-container",58),e.qZA()),2&r){const s=e.oxw(2).$implicit;e.Q6J("ngClass",e.kEZ(2,Ce,(null==s?null:s.days_left)<10,(null==s?null:s.days_left)<30,(null==s?null:s.days_left)>=20)),e.xp6(1),e.Q6J("ngIf",s)}}function De(r,c){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"timeago"),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(e.lcZ(2,1,null==s?null:s.created_at))}}function qe(r,c){if(1&r&&(e.ynx(0),e.YNc(1,De,3,3,"span",58),e.BQk()),2&r){const s=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",void 0!==s&&void 0!==(null==s?null:s.created_at)||null!==(null==s?null:s.created_at)||""!==(null==s?null:s.created_at))}}function xe(r,c){if(1&r&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"date"),e.qZA()),2&r){const s=e.oxw(3).$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,null==s?null:s.updated_at,"medium"))}}function Oe(r,c){if(1&r&&(e.ynx(0),e.YNc(1,xe,3,4,"span",58),e.BQk()),2&r){const s=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngIf",void 0!==s&&void 0!==(null==s?null:s.updated_at)||null!==(null==s?null:s.updated_at)||""!==(null==s?null:s.updated_at))}}function Me(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"tr")(1,"td")(2,"span",59),e._uU(3,"ID"),e.qZA(),e.TgZ(4,"a",60),e.NdJ("click",function(){e.CHM(s);const n=e.oxw().$implicit,i=e.oxw();return e.KtG(i.viewDSARRequestDetails(n))}),e._uU(5),e.qZA()(),e.TgZ(6,"td")(7,"span",59),e._uU(8,"Request Type"),e.qZA(),e._uU(9),e.qZA(),e.TgZ(10,"td")(11,"span",59),e._uU(12,"Subject Type"),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"td")(15,"span",59),e._uU(16,"Status"),e.qZA(),e.YNc(17,me,7,6,"ng-container",58),e.qZA(),e.TgZ(18,"td")(19,"span",59),e._uU(20,"Name"),e.qZA(),e._uU(21),e.qZA(),e.TgZ(22,"td")(23,"span",59),e._uU(24,"Email"),e.qZA(),e._uU(25),e.qZA(),e.TgZ(26,"td")(27,"span",59),e._uU(28,"Web form name"),e.qZA(),e.TgZ(29,"a",61),e.NdJ("click",function(){e.CHM(s);const n=e.oxw().$implicit,i=e.oxw();return e.KtG(i.navigateToWebForm(n))}),e._uU(30),e.qZA()(),e.YNc(31,fe,4,2,"td",55),e.TgZ(32,"td")(33,"span",59),e._uU(34,"Due In"),e.qZA(),e.YNc(35,ye,2,6,"span",62),e.qZA(),e.TgZ(36,"td")(37,"span",59),e._uU(38,"Created At"),e.qZA(),e.YNc(39,qe,2,1,"ng-container",58),e.qZA(),e.TgZ(40,"td")(41,"span",59),e._uU(42,"Last updated At"),e.qZA(),e.YNc(43,Oe,2,1,"ng-container",58),e.qZA()()}
1if(2&r){const s=e.oxw(),t=s.$implicit,n=s.columns,i=e.oxw();e.xp6(4),e.s9C("title",null==t?null:t.id),e.xp6(1),e.hij(" ",null==t?null:t.id," "),e.xp6(4),e.Oqu(i.onCheckRequesttype("requesttype",t.request_form,t.custom_data).length>0?i.onCheckRequesttype("requesttype",t.request_form,t.custom_data):"--"),e.xp6(4),e.Oqu(i.onCheckSubjecttype("subjecttype",t.request_form,t.custom_data).length>0?i.onCheckSubjecttype("subjecttype",t.request_form,t.custom_data):"--"),e.xp6(4),e.Q6J("ngIf",t),e.xp6(4),e.Oqu("undefined undefined"==(null==t?null:t.name)||" "==(null==t?null:t.name)||"undefined"==(null==t?null:t.name)?"--":null==t?null:t.name),e.xp6(4),e.Oqu(""==(null==t?null:t.email)||"undefined"==(null==t?null:t.email)?"--":null==t?null:t.email),e.xp6(5),e.Oqu(null==t?null:t.web_form_name),e.xp6(1),e.Q6J("ngForOf",n),e.xp6(4),e.Q6J("ngIf","Complete"!==t.status),e.xp6(4),e.Q6J("ngIf",t),e.xp6(4),e.Q6J("ngIf",t)}}function ve(r,c){1&r&&e.YNc(0,Me,44,12,"tr",58),2&r&&e.Q6J("ngIf",null!==c.$implicit)}function we(r,c){if(1&r&&(e.TgZ(0,"tr")(1,"td"),e._uU(2," No records found "),e.qZA()()),2&r){const s=c.$implicit;e.xp6(1),e.uIk("colspan",5===s.length?14:8)}}function Pe(r,c){if(1&r&&(e.TgZ(0,"td"),e._uU(1),e.qZA()),2&r){const s=c.$implicit;e.xp6(1),e.hij(" ",s.header," ")}}function Se(r,c){if(1&r&&(e.TgZ(0,"tr"),e.YNc(1,Pe,2,1,"td",55),e.qZA()),2&r){const s=c.columns;e.xp6(1),e.Q6J("ngForOf",s)}}function Te(r,c){if(1&r&&(e.ynx(0),e.TgZ(1,"option",90),e.ALo(2,"json"),e._uU(3),e.qZA(),e.BQk()),2&r){const s=c.$implicit;e.xp6(1),e.Q6J("value",e.lcZ(2,2,s)),e.xp6(2),e.hij(" ",s.form_name," ")}}function Ie(r,c){1&r&&(e.TgZ(0,"div"),e._uU(1,"Select webform is required"),e.qZA())}function Re(r,c){if(1&r&&(e.TgZ(0,"div",91),e.YNc(1,Ie,2,0,"div",58),e.qZA()),2&r){const s=e.oxw(2);e.xp6(1),e.Q6J("ngIf",s.dsar.webformselection.errors.required)}}const ke=function(r){return{"is-invalid":r}};function Ze(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"div",74)(1,"h4",75),e._uU(2,"Create New Request "),e.qZA(),e.TgZ(3,"button",76),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.onCancelClick())}),e.TgZ(4,"span",77),e._uU(5,"\xd7"),e.qZA()()(),e.TgZ(6,"form",78),e.NdJ("ngSubmit",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.previewCCPAForm())}),e.TgZ(7,"div",79)(8,"div",80)(9,"div",81)(10,"div",82)(11,"label",83),e._uU(12,"Web form templates"),e.qZA(),e.TgZ(13,"select",84),e.NdJ("change",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onWebformChange(n))}),e.TgZ(14,"option",85),e._uU(15,"Please select web form"),e.qZA(),e.YNc(16,Te,4,4,"ng-container",55),e.qZA(),e.YNc(17,Re,2,1,"div",86),e.qZA()()()(),e.TgZ(18,"div",87)(19,"button",88),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.onCancelClick())}),e._uU(20,"Cancel"),e.qZA(),e.TgZ(21,"button",89),e._uU(22,"Create"),e.qZA()()()}if(2&r){const s=e.oxw();e.xp6(6),e.Q6J("formGroup",s.createDSARWebFormRequest),e.xp6(7),e.Q6J("ngClass",e.VKq(4,ke,s.createDSARWebFormRequest.controls.webformselection.invalid&&(s.createDSARWebFormRequest.controls.webformselection.dirty||s.createDSARWebFormRequest.controls.webformselection.touched)||s.submitted&&s.dsar.webformselection.errors)),e.xp6(3),e.Q6J("ngForOf",s.activeWebFormList),e.xp6(1),e.Q6J("ngIf",s.createDSARWebFormRequest.controls.webformselection.invalid&&(s.createDSARWebFormRequest.controls.webformselection.dirty||s.createDSARWebFormRequest.controls.webformselection.touched)||s.submitted&&s.dsar.webformselection.errors)}}function Ae(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"div",110)(1,"div",111)(2,"input",112),e.NdJ("ngModelChange",function(n){e.CHM(s);const i=e.oxw(2);return e.KtG(i.dueIn=n)}),e.qZA(),e.TgZ(3,"label",113),e._uU(4," Past due "),e.qZA()(),e.TgZ(5,"div",111)(6,"input",114),e.NdJ("ngModelChange",function(n){e.CHM(s);const i=e.oxw(2);return e.KtG(i.dueIn=n)}),e.qZA(),e.TgZ(7,"label",115),e._uU(8," One Day "),e.qZA()(),e.TgZ(9,"div",111)(10,"input",116),e.NdJ("ngModelChange",function(n){e.CHM(s);const i=e.oxw(2);return e.KtG(i.dueIn=n)}),e.qZA(),e.TgZ(11,"label",117),e._uU(12," 2 Days "),e.qZA()(),e.TgZ(13,"div",111)(14,"input",118),e.NdJ("ngModelChange",function(n){e.CHM(s);const i=e.oxw(2);return e.KtG(i.dueIn=n)}),e.qZA(),e.TgZ(15,"label",119),e._uU(16," 15 Days "),e.qZA()(),e.TgZ(17,"input",120),e.NdJ("ngModelChange",function(n){e.CHM(s);const i=e.oxw(2);return e.KtG(i.dueIn=n)}),e.qZA()()}if(2&r){const s=e.oxw(2);e.xp6(2),e.Q6J("ngModel",s.dueIn),e.xp6(4),e.Q6J("ngModel",s.dueIn),e.xp6(4),e.Q6J("ngModel",s.dueIn),e.xp6(4),e.Q6J("ngModel",s.dueIn),e.xp6(3),e.Q6J("ngModel",s.dueIn)}}function Fe(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"div",92),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.onClickModalPopup())}),e.TgZ(1,"div",74)(2,"h4",75),e._uU(3,"Filter the results"),e.qZA(),e.TgZ(4,"button",76),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.onCancelClick())}),e.TgZ(5,"span",77),e._uU(6,"\xd7"),e.qZA()()(),e.TgZ(7,"div",93)(8,"div",94)(9,"div",80)(10,"div",95)(11,"app-customdropdown",96),e.NdJ("onClickValue",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickDsarRequestCheckbox(n))})("onClickSendStatus",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickCustomDPReceivedStatus(n))})("click",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickCustomDropDown(n))}),e.qZA()(),e.TgZ(12,"div",97)(13,"app-customdropdown",98),e.NdJ("onClickValue",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickDsarRequestCheckbox(n))})("onClickSendStatus",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickCustomDPReceivedStatus(n))})("click",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickCustomDropDown(n))}),e.qZA()(),e.TgZ(14,"div",95)(15,"app-customdropdown",98),e.NdJ("onClickValue",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickDsarRequestCheckbox(n))})("onClickSendStatus",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickCustomDPReceivedStatus(n))})("click",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.onClickCustomDropDown(n))}),e.qZA()()(),e.TgZ(16,"div",99)(17,"div",100)(18,"span",101),e._uU(19,"Email Verification"),e.qZA(),e.TgZ(20,"p-dropdown",102),e.NdJ("ngModelChange",function(n){e.CHM(s);const i=e.oxw();return e.KtG(i.selectedEmailVerifiedStatus=n)}),e.qZA()(),e.TgZ(21,"div",103)(22,"div")(23,"div",104)(24,"button",105)(25,"span"),e._uU(26,"Due In"),e.qZA()(),e.YNc(27,Ae,18,5,"div",106),e.qZA()()()()(),e.TgZ(28,"div",107)(29,"button",108),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.onCancelClick())}),e._uU(30,"Cancel"),e.qZA(),e.TgZ(31,"button",109),e.NdJ("click",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.searchFilter())}),e._uU(32,"Apply"),e.qZA()()()()}if(2&r){const s=e.oxw();e.xp6(11),e.Q6J("ctrlplaceholder","Request Type")("selectedList",s.requestType)("isclickondocument",s.isclickOndocument)("listName",s.listnamerequesttype)("defaultList",s.allFilterData.filter_Request_type)("isradiobtnrequiredfordefaultfield",!1),e.xp6(2),e.Q6J("ctrlplaceholder","Subject Type")("listName",s.listnamesubjecttype)("isclickondocument",s.isclickOndocument)("selectedList",s.subjectType)("isclickondocument",s.isclickOndocument)("defaultList",s.allFilterData.filter_Subject_type)("isradiobtnrequiredfordefaultfield",!1),e.xp6(2),e.Q6J("ctrlplaceholder","Status")("listName",s.listnamestatus)("isclickondocument",s.isclickOndocument)("selectedList",s.status)("isclickondocument",s.isclickOndocument)("defaultList",s.allFilterData.filter_status)("isradiobtnrequiredfordefaultfield",!1),e.xp6(
15),e.Q6J("options",s.emailVerifiedStatus)("ngModel",s.selectedEmailVerifiedStatus)("showClear",!0),e.xp6(3),e.Q6J("autoClose",!0)("insideClick",!0)}}function Le(r,c){if(1&r){const s=e.EpF();e.TgZ(0,"alert",121),e.NdJ("onClosed",function(){e.CHM(s);const n=e.oxw();return e.KtG(n.onClosed(n.alertMsg))}),e._uU(1),e.qZA()}if(2&r){const s=e.oxw();e.Q6J("type",s.alertType)("dismissible",s.dismissible),e.xp6(1),e.Oqu(s.alertMsg)}}const Ne=function(){return[10,20,30]};let Ue=(()=>{const c=class{constructor(t,n,i,a,o,l,u,h,d,q,C,x,R,We,$e){this.orgservice=t,this.userService=n,this.companyService=i,this.router=a,this.activateRoute=o,this.loading=l,this.dsarRequestService=u,this.ccpaFormConfigService=h,this.cdRef=d,this.modalService=q,this.formBuilder=C,this.dataService=x,this.billingService=R,this.titleService=We,this.location=$e,this.firstone=0,this.reloadRequestList=[],this.requestsList=[],this.searchrequestList=[],this.storeSearchList=[],this.dismissible=!0,this.listnamesubjecttype="subjecttype",this.listnamerequesttype="requesttype",this.listnamestatus="status",this.allFilterData={filter_status:[],filter_Request_type:[],filter_Subject_type:[],filter_due_in:[]},this.inputValue="",this.inputValueDueIn="",this.debouncedInputValue=this.inputValue,this.searchDecouncer$=new T.xQ,this.subjectType=[],this.requestType=[],this.status=[],this.isOpen=!1,this.first=0,this.rows=0,this.activeWebFormList=[],this.searchbydaterange="",this.date1=new Date("yyyy-mm-dd"),this.ranges=[{value:[new Date,new Date],label:"Today"},{value:[new Date((new Date).setDate((new Date).getDate()-1)),new Date((new Date).setDate((new Date).getDate()-1))],label:"Yesterday"},{value:[new Date((new Date).setDate((new Date).getDate()-7)),new Date],label:"Last 7 Days"},{value:[new Date((new Date).setDate((new Date).getDate()-30)),new Date],label:"Last 30 Days"},{value:[new Date((new Date).getFullYear(),(new Date).getMonth(),1),new Date((new Date).getFullYear(),(new Date).getMonth()+1,0)],label:"This Month"},{value:[new Date((new Date).getFullYear(),(new Date).getMonth()-1,1),new Date((new Date).getFullYear(),(new Date).getMonth(),0)],label:"Last Month"},{value:[new Date((new Date).getFullYear(),0,1),new Date],label:"This Year"},{value:[new Date((new Date).setFullYear((new Date).getFullYear()-1)),new Date],label:"Last Year"}],this.issearchfilteractive=!1,this.issearchfilterForReq=!1,this.issearchfilterForSub=!1,this.issearchfilterForStatus=!1,this.isSelected=!0,this.isclickOndocument=!1,this.isClickedOnModal=!1,this.isDatePickerVisible=!1,this.bkprequesttype=[],this.bkpsubjecttype=[],this.bkpstatus=[],this.emailVerifiedStatus=[{name:"Verified",value:"true"},{name:"Unverified",value:"false"}],this.isDsarFilterApplied=!1,this.isDsarFilterApplied$=new D.X({}),this.isRefresh=!0,this.prevoiusPageNumber=0,this.sortingOrderValue$=new D.X(""),this.resetFilterItem=[{label:"Reset Filter",command:()=>{this.onRefresh()}}],this.dateCustomClasses=[{date:new Date,classes:["theme-dark-blue"]}],this.isSelected=!0,this.titleService.setTitle("DSAR Requests - "+P.N.portalPrefix)}ngOnInit(){this.isSelected=!0,this.dprequestStatus="",this.dprequestType="",this.dpsubjectType="",this.activateRoute.queryParamMap.subscribe(t=>{let n=t.get("oid"),i=t.get("pid");null!=this.queryOID&&(this.queryOID!=n||this.queryPID!=i)&&(this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.navigateByUrl(this.router.url)),this.queryOID=n,this.queryPID=i}),this.onGetPropsAndOrgId(),this.onGetRequestListFilter(),this.setupSearchDebouncer(),this.isloading=!0,this.getDSARFormListToCreateRequest(),this.createDSARWebFormRequest=this.formBuilder.group({webformselection:["",[y.kI.required]]}),this.bsConfig=Object.assign({},{containerClass:"theme-dark-blue",showClearButton:!0,returnFocusToInput:!0,dateInputFormat:"yyyy-mm-dd",adaptivePosition:!0,showTodayButton:!0,ranges:this.ranges}),this.listenForDsarFilterChange()}listenForDsarFilterChange(){this.isDsarFilterApplied$.subscribe(t=>{this.isDsarFilterApplied=Boolean(t?.subjectTypes?.length)||Boolean(t?.requestTypes?.length)||Boolean(t?.status?.length)||Boolean(t?.dueIn)||Boolean(t?.email_verified)})}get dsar(){return this.createDSARWebFormRequest.controls}onGetPropsAndOrgId(){null!==this.queryOID&&null!==this.queryPID&&void 0!==this.queryOID&&void 0!==this.queryPID?(this.currentManagedOrgID=this.queryOID,this.currrentManagedPropID=this.queryPID):this.getOIDPIDFromURL()}get selectedColumns(){return this.selectedCols}set selectedColumns(t){this.selectedCols=this.cols.filter(n=>t.includes(n))}loadrequestsListLazy(t){let n=JSON.parse(sessionStorage.getItem(this.queryPID+"created_date"));if(null!==n?n.isFresh||this.isRefresh||this.issearchfilteractive?(this.isRefresh=!1,this.currentSortorder=n.order,this.sortOrderValue=-1===n.orderNumber?1:-1,this.cdRef.detectChanges(),sessionStorage.setItem(this.queryPID+"created_date",JSON.stringify({...n,isFresh:!1}))):(this.currentSortorder=1===t.sortOrder?"desc":"asc",this.sortOrderValue=t.sortOrder,this.cdRef.detectChanges(),sessionStorage.setItem(this.queryPID+"created_date",JSON.stringify({order:this.currentSortorder,orderNumber:t.sortOrder,isFresh:!1}))):(this.currentSortorder=1===t.sortOrder?"desc":"asc",sessionStorage.setItem(this.queryPID+"created_date",JSON.stringify({order:this.currentSortorder,orderNumber:t.sortOrder,isFresh:!0})),this.isRefresh=!1),this.sortingOrderValue$.next(this.currentSortorder),this.issearchfilteractive)0===t.first?this.firstone=1:(this.first=t.first,this.firstone=t.first/t.rows+1),this.firstone>1&&0!==t.first?(this.requestsList=this.storeSearchList.slice(t.first,t.first+t.rows),this.storeSearchList.sort("desc"===this.currentSortorder?(i,a)=>new Date(i.created_at)-new Date(a.created_at):(i,a)=>{let o=new Date(i.created_at);return new Date(a.created_at)-o}),this.requestsList=this.storeSearchList.length>=10?this.storeSearchList.slice(t.first,t.first+t.rows):this.storeSearchList):this.issearchfilteractive?(this.requestsList=this.storeSearchList.slice(t.first,t.first+t.rows),this.storeSearchList.sort("desc"===this.currentSortorder?(i,a)=>new Date(i.created_at)-new Date(a.created_at):(i,a)=>{let o=new Date(i.created_at);return new Date(a.created_at)-o}),this.requestsList=this.storeSearchList.length>=10?this.storeSearchList.slice(t.first,t.first+t.rows):this.storeSearchList):(this.requestsList=this.storeSearchList.slice(t.first,t.first+t.rows),this.storeSearchList.sort("desc"===this.currentSortorder?(i,a)=>{let o=new Date(i.created_at);return new Date(a.created_at)-o}:(i,a)=>new Date(i.created_at)-new Date(a.created_at)),this.requestsList=this.storeSearchList.length>=10?this.storeSearchList.slice(t.first,t.first+t.rows):this.storeSearchList);else if(this.isloading=!0,this.eventRows=t.rows,void 0!==this.requestsList){0===t.first?(this.firstone=1,this.first=0,this.lazyEvent=t):this.firstone=t.first/t.rows+1;let i=JSON.parse(sessionStorage.getItem(this.queryPID));if(this.isDsarFilterApplied$.next(i),null!==i){this.subjectType=i?.subjectTypes,this.requestType=i?.requestTypes,this.status=i?.status,this.dueIn=i?.dueIn,this.selectedEmailVerifiedStatus=i?.email_verified;let o=void 0!==this.dueIn?this.dueIn:this.inputValueDueIn,l=this.subjectType.map(d=>d.key.replace(" ","_").toLowerCase()).toString(),u=this.requestType.map(d=>d.key.replace(" ","_").toLowerCase()).toString(),h=this.status.map(d=>d.key.replace(" ","_").toLowerCase()).toString();this.searchparams=void 0!==this.selectedDateRange?"?limit="+this.eventRows+"&page="+this.firstone+"&name="+this.inputValue+"&subject_type="+l+"&request_type="+u+"&status="+h+`&email_verified=${Boolean(this.selectedEmailVerifiedStatus)?this.selectedEmailVerifiedStatus.value:""}&due_in=`+o+this.selectedDateRange:"?limit="+this.eventRows+"&page="+this.firstone+"&name="+this.inputValue+"&subject_type="+l+"&request_type="+u+"&status="+h+`&email_verified=${Boolean(this.selectedEmailVerifiedStatus)?this.selectedEmailVerifiedStatus.value:""}&due_in=`+o}else this.searchparams="?limit="+this.eventRows+"&page="+this.firstone;const a="&order_by_date="+this.currentSortorder;null==this.currentManagedOrgID&&(this.currentManagedOrgID=this.queryOID),null==this.currrentManagedPropID&&(this.currrentManagedPropID=this.queryPID),this.dsarRequestService.getDsarRequestList(this.constructor.name,w.e.dsarRequestModule,this.currentManagedOrgID,this.currrentManagedPropID,this.searchparams,a).subscribe(o=>{this.isloading=!1;const l="response";Object.values(o[l]).length>0&&"No data found."!==o[l]&&(this.requestsList=Object.values(o[l]),this.requestsList.sort("asc"===this.currentSortorder?(u,h)=>new Date(u.created_at)-new Date(h.created_at):(u,h)=>{let d=new Date(u.created_at);return new Date(h.created_at)-d}),this.reloadRequestList=[...this.requestsList],this.totalRecords=o.count),this.totalRecords=o.count},o=>{this.loading.stop(),this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}this.cols=[{field:"country",header:"Country"},{field:"org_name",header:"Organization"},{field:"property_name",header:"Property"},{field:"state",header:"State"},{field:"approver_firstname",header:"Approver"}],this.selectedCols=this.cols}customSort(t){}onGetRequestListFilter(){this.getOIDPIDFromURL(),this.loading.start(),this.dsarRequestService.getDsarRequestFilter(this.currentManagedOrgID,this.currrentManagedPropID,this.constructor.name,w.e.dsarRequestModule).subscribe(t=>{this.loading.stop(),t&&(this.allFilterData=t,this.allFilterData.filter_status.push({key:"-1",value:"Rejected"}))},t=>{this.loading.stop(),this.alertMsg=t,this.isOpen=!0,this.alertType="danger"})}onSearchInputChange(){this.searchDecouncer$.next(this.inputValue),this.issearchfilteractive=!0,this.pTable.reset()}resetInputField(t){8===t.which&&(""==this.inputValue?this.clearSearchfield():this.onSearchInputChange())}clearSearchfield(){this.inputValue="",this.issearchfilterForSub=Boolean(this.subjectType?.length),this.issearchfilterForReq=Boolean(this.requestType?.length),this.issearchfilterForStatus=Boolean(this.status?.length),this.searchDecouncer$.next(this.inputValue),this.issearchfilteractive=!1}clearDueInSearchfield(){this.inputValueDueIn="",this.searchDecouncer$.next(this.inputValueDueIn),this.issearchfilteractive=!1}setupSearchDebouncer(){this.searchDecouncer$.pipe((0,I.b)(1e3),(0,A.x)()).subscribe(t=>{""===t&&(this.issearchfilteractive=!1),this.debouncedInputValue=t,this.debouncedInputValue||this.issearchfilterForSub||this.issearchfilterForReq||this.issearchfilterForStatus||""!==this.searchbydaterange||Boolean(this.selectedEmailVerifiedStatus)||this.dueIn?this.searchFilter():this.onRefreshDSARList()})}searchFilter(t){"refresh"==t?(this.bkprequesttype=[],this.bkpsubjecttype=[],this.bkpstatus=[],this.requestType=[],this.subjectType=[],this.status=[],this.dueIn="",this.selectedEmailVerifiedStatus=null):(this.bkprequesttype=[...this.requestType],this.bkpsubjecttype=[...this.subjectType],this.bkpstatus=[...this.status]),this.setSessionStorageForRequestFilter({requestTypes:this.requestType,subjectTypes:this.subjectType,status:this.status,email_verified:this.selectedEmailVerifiedStatus,dueIn:void 0!==this.dueIn?this.dueIn:this.inputValueDueIn}),this.modalService.dismissAll("Canceled"),this.getOIDPIDFromURL();let n=void 0!==this.dueIn?this.dueIn:this.inputValueDueIn,i=this.subjectType.map(u=>u.key.replace(" ","_").toLowerCase()).toString(),a=this.requestType.map(u=>u.key.replace(" ","_").toLowerCase()).toString(),o=this.status.map(u=>u.key.replace(" ","_").toLowerCase()).toString();this.searchparams=void 0!==this.selectedDateRange?"?limit="+this.eventRows+"&page="+this.firstone+"&name="+this.inputValue+"&subject_type="+i+"&request_type="+a+"&status="+o+`&email_verified=${Boolean(this.selectedEmailVerifiedStatus)?this.selectedEmailVerifiedStatus.value:""}&due_in=`+n+this.selectedDateRange:"?limit="+this.eventRows+"&page="+this.firstone+"&name="+this.inputValue+"&subject_type="+i+"&request_type="+a+"&status="+o+`&email_verified=${Boolean(this.selectedEmailVerifiedStatus)?this.selectedEmailVerifiedStatus.value:""}&due_in=`+n,this.isloading=!0;const l="&order_by_date="+this.currentSortorder;this.sortOrderValue="asc"===this.currentSortorder?1:-1,this.dsarRequestService.getDsarRequestList(this.constructor.name,w.e.dsarRequestModule,this.currentManagedOrgID,this.currrentManagedPropID,this.searchparams,l).subscribe(u=>{this.isloading=!1;const h="response";Object.values(u[h]).length>0&&"No data found."!==u[h]&&Object.keys(0!==u[h].length)?(this.requestsList=Object.values(u[h]),this.requestsList.sort("asc"===this.currentSortorder?(d,q)=>new Date(d.created_at)-new Date(q.created_at):(d,q)=>{let C=new Date(d.created_at);return new Date(q.created_at)-C}),this.storeSearchList=[...this.requestsList],this.reloadRequestList=[...this.requestsList],this.totalRecords=u.count,0===this.subjectType.length&&0===this.requestType.length&&0===this.status.length&&void 0!==this.inputValue&&0===this.inputValue.length&&(this.issearchfilteractive=!1)):(this.requestsList=Object.values(u[h]),this.totalRecords=u.count,0!=u.count&&this.loadrequestsListLazy(this.lazyEvent))},u=>{this.loading.stop(),this.alertMsg=u,this.isOpen=!0,this.alertType="danger"}),this.cdRef.detectChanges()}setSessionStorageForRequestFilter(t){this.isDsarFilterApplied$.next(t),sessionStorage.setItem(this.queryPID,JSON.stringify(t))}onChangeRequestType(t){""!==t.target.value?(this.requestType=t.target.value,this.issearchfilterForReq=!0,this.searchFilter()):(this.requestType="",this.issearchfilterForReq=!1,this.issearchfilteractive=!1,this.issearchfilterForSub||this.issearchfilterForStatus||""!==this.searchbydaterange?this.searchFilter():(this.issearchfilteractive=!1,this.onRefreshDSARList()))}onRefreshList(){this.loadrequestsListLazy({first:this.first,globalFilter:null,multiSortMeta:void 0,rows:10,sortField:"rowData?.created_at",sortOrder:"asc"===this.currentSortorder?-1:1,filters:{}})}onClickDsarRequestCheckbox(t){if(this.isClickedOnModal=!1,this.userService.isClickOnSearchModal=!1,this.issearchfilteractive=!1,"subjecttype"===t.dropdownname){this.subjectType=[];for(const n of t.dropdownlist)void 0!==n&&this.subjectType.push(n)}else if("requesttype"===t.dropdownname){this.requestType=[];for(const n of t.dropdownlist)void 0!==n&&this.requestType.push(n)}else if("status"===t.dropdownname){this.status=[];for(const n of t.dropdownlist)void 0!==n&&this.status.push(n)}}onChangeStatus(t){""!==t.target.value?(this.status=t.target.value,this.issearchfilterForStatus=!0,this.searchFilter()):(this.status="",this.issearchfilterForStatus=!1,this.issearchfilteractive=!1,this.issearchfilterForSub||this.issearchfilterForReq||""!==this.searchbydaterange?this.searchFilter():this.onRefreshDSARList())}onChangeDueIn(t){""!==t&&"object"!=typeof t?(this.dueIn=t,this.searchFilter()):void 0!==t&&""!==t.target.value?(this.dueIn=t.target.value,this.searchFilter()):this.clearDueInSearchfield()}onChangeSubjectType(t){""!==t.target.value?(this.subjectType=t.target.value,this.issearchfilterForSub=!0,this.searchFilter()):(this.subjectType="",this.issearchfilteractive=!1,this.issearchfilterForSub=!1,this.issearchfilterForReq||this.issearchfilterForStatus||""!==this.searchbydaterange?this.searchFilter():this.onRefreshDSARList())}viewDSARRequestDetails(t){this.router.navigate(["privacy/dsar/requests-details",t.id,t.cid,this.currentManagedOrgID,this.currrentManagedPropID,t.web_form_id],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}navigateToWebForm(t){this.ccpaFormConfigService.removeCurrentSelectedFormData(),this.ccpaFormConfigService.captureCurrentSelectedFormData(t),this.router.navigate(["/privacy/dsar/dsarform",t.web_form_id],{queryParams:{oid:this.queryOID,pid:this.queryPID}})}onClosed(t){this.alertMsg=!t,this.isOpen=!1}getDSARFormListToCreateRequest(){this.loading.start(),this.ccpaFormConfigService.getDSARFormList(this.currentManagedOrgID,this.currrentManagedPropID,this.constructor.name,w.e.dsarWebFormModule).subscribe(t=>
1{if(this.loading.stop(),0!==t.count)return this.activeWebFormList=t.response,this.activeWebFormList;this.activeWebFormList.length=0},t=>{this.alertMsg=t,this.isOpen=!0,this.alertType="danger"})}onWebformChange(t){if(""!==t.target.value){const n=JSON.parse(t.target.value);this.selectedOrgID=n.OID,this.selectedPropID=n.PID,this.selectedCRID=n.crid}else this.alertMsg="Webform not found!",this.isOpen=!0,this.alertType="info"}onCancelClick(){this.submitted=!1,this.createDSARWebFormRequest.reset(),this.selectedOrgID=null,this.selectedPropID=null,this.selectedCRID=null,this.modalService.dismissAll("Canceled");let t=JSON.parse(sessionStorage.getItem(this.queryPID));this.isDsarFilterApplied$.next(t),null!==t?(this.subjectType=t?.subjectTypes,this.requestType=t?.requestTypes,this.status=t?.status,this.dueIn=t?.dueIn,this.selectedEmailVerifiedStatus=t?.email_verified,0!==t?.status?.length||sessionStorage.removeItem("customdp_status"),0!==t?.subjectTypes?.length||sessionStorage.removeItem("customdp_subjecttype"),0!==t?.requestTypes?.length||sessionStorage.removeItem("customdp_requesttype")):(this.selectedEmailVerifiedStatus=null,this.dueIn=null,this.subjectType=[],this.requestType=[],this.status=[],this.dueIn="",sessionStorage.removeItem("customdp_subjecttype"),sessionStorage.removeItem("customdp_requesttype"),sessionStorage.removeItem("customdp_status"))}ngAfterViewInit(){this.cols=[{field:"country",header:"Country"},{field:"org_name",header:"Organization"},{field:"property_name",header:"Property"},{field:"state",header:"State"},{field:"approver_firstname",header:"Approver"}],this.selectedCols=this.cols,this.cdRef.detectChanges()}ngAfterContentChecked(){this.cdRef.detectChanges()}createWebFormRequestModal(t,n){(""!==n||this.isLicenseLimitAvailable())&&this.modalService.open(t,{ariaLabelledBy:"modal-basic-title"}).result.then(i=>{},i=>{})}openSearchModal(t){this.modalService.open(t,{size:"lg"})}onClickModalPopup(){this.userService.isClickOnSearchModal=!0,this.userService.onClickModalPopupEvent.emit(!0)}onClickCustomDropDown(t){t.stopPropagation(),this.isClickedOnModal=!1,this.isclickOndocument=!0,this.userService.isClickOnSearchModal=this.isClickedOnModal}onClickCustomDPReceivedStatus(t){this.customDpReceivedStatus=t}onRefresh(){sessionStorage.removeItem("customdp_subjecttype"),sessionStorage.removeItem("customdp_requesttype"),sessionStorage.removeItem("customdp_status"),sessionStorage.removeItem(this.queryPID),0===this.subjectType.length&&0===this.requestType.length&&0===this.status.length&&(this.issearchfilteractive=!1),this.searchFilter("refresh"),this.dsarRequestService.onClickCancelBtn.emit(!0),this.modalService.dismissAll("Canceled")}onRefreshDSARList(){this.searchparams="",this.issearchfilteractive=!1;const n=void 0!==this.currentSortorder?this.currentSortorder:"asc",i="&order_by_date="+n;this.sortOrderValue="asc"===this.currentSortorder?1:-1,null==this.currentManagedOrgID&&(this.currentManagedOrgID=this.queryOID),null==this.currrentManagedPropID&&(this.currrentManagedPropID=this.queryPID),this.dsarRequestService.getDsarRequestList(this.constructor.name,w.e.dsarRequestModule,this.currentManagedOrgID,this.currrentManagedPropID,"?limit=10&page=1",i).subscribe(a=>{this.isloading=!1;const o="response";Object.values(a[o]).length>0&&"No data found."!==a[o]?(this.requestsList=Object.values(a[o]),this.requestsList.sort("asc"===n?(l,u)=>new Date(l.created_at)-new Date(u.created_at):(l,u)=>{let h=new Date(l.created_at);return new Date(u.created_at)-h}),this.reloadRequestList=[...this.requestsList],this.totalRecords=a.count):this.loadrequestsListLazy(this.lazyEvent)},a=>{this.loading.stop(),this.alertMsg=a,this.isOpen=!0,this.alertType="danger"}),this.cdRef.detectChanges()}previewCCPAForm(){if(this.submitted=!0,this.createDSARWebFormRequest.invalid)return!1;{const t="/publish";this.selectedOrgID&&this.selectedPropID?("localhost"===window.location.hostname&&(window.open("http://localhost:4500/dsar/form/"+this.selectedOrgID+"/"+this.selectedPropID+"/"+this.selectedCRID+t),this.onCancelClick()),("develop-cmp.adzpier-staging.com"===window.location.hostname||"pp.develop-cmp.adzpier-staging.com"===window.location.hostname||"cmp.adzpier-staging.com"===window.location.hostname||"pp.cmp.adzpier-staging.com"===window.location.hostname||"qa-cmp.adzpier-staging.com"===window.location.hostname||"pp.qa-cmp.adzpier-staging.com"===window.location.hostname||"portal.adzapier.com"===window.location.hostname||"portal.privacypillar.com"===window.location.hostname)&&(window.open(P.N.privacyPortal+"dsar/form/"+this.selectedOrgID+"/"+this.selectedPropID+"/"+this.selectedCRID+t),this.onCancelClick())):(this.alertMsg="Organization or Property not found!",this.isOpen=!0,this.alertType="danger")}}onCheckSubscription(){this.billingService.getActivePlan(this.constructor.name,w.e.manageSubscriptionsModule).subscribe(t=>
1{if(this.organizationSubscription=t,void 0!==this.organizationSubscription)for(let n of this.organizationSubscription)if("organization"===n.level&&n.total_licence>n.assigned_licence)return this.organizationPlanDetails=n?.planDetails,!0})}onHoverDatePicker(){this.isDatePickerVisible=!1}onValueChangeDatePicker(t){this.isDatePickerVisible=!0,this.data=t}onDateSelection(){if(this.isDatePickerVisible&&null!==this.searchbydaterange&&""!==this.searchbydaterange){let i="&start_date="+this.searchbydaterange[0].toJSON().split("T")[0]+"&end_date="+this.searchbydaterange[1].toJSON().split("T")[0],a=JSON.parse(sessionStorage.getItem(this.queryPID));if(this.isDsarFilterApplied$.next(a),null!==a){this.subjectType=a?.subjectTypes,this.requestType=a?.requestTypes,this.status=a?.status,this.dueIn=a?.dueIn,this.selectedEmailVerifiedStatus=a?.email_verified;let o=void 0!==this.dueIn?this.dueIn:this.inputValueDueIn,l=this.subjectType.map(d=>d.key.replace(" ","_").toLowerCase()).toString(),u=this.requestType.map(d=>d.key.replace(" ","_").toLowerCase()).toString(),h=this.status.map(d=>d.key.replace(" ","_").toLowerCase()).toString();this.searchparams="?limit="+this.eventRows+"&page="+this.firstone+"&name="+this.inputValue+"&subject_type="+l+"&request_type="+u+"&status="+h+`&email_verified=${Boolean(this.selectedEmailVerifiedStatus)?this.selectedEmailVerifiedStatus.value:""}&due_in=`+o+"&order_by_date="+this.currentSortorder}else this.searchparams="?limit="+this.eventRows+"&page="+this.firstone+"&order_by_date="+this.currentSortorder;this.issearchfilteractive=!0,this.selectedDateRange=i,this.isloading=!0,this.dsarRequestService.getDsarRequestList(this.constructor.name,w.e.dsarRequestModule,this.currentManagedOrgID,this.currrentManagedPropID,this.searchparams,"",i).subscribe(o=>{this.isloading=!1;const l="response";"No data found."!==o[l]?(this.requestsList=Object.values(o[l]),this.requestsList.sort("asc"===this.currentSortorder?(u,h)=>new Date(u.created_at)-new Date(h.created_at):(u,h)=>{let d=new Date(u.created_at);return new Date(h.created_at)-d}),this.storeSearchList=this.requestsList,this.rows=o[l].length,this.totalRecords=o.count,this.pTable.reset()):this.requestsList=[]},o=>{this.loading.stop(),this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}}clearDateRangePicker(){this.searchbydaterange="",this.searchFilter()}isLicenseLimitAvailable(){return this.dataService.isLicenseLimitAvailableForOrganization("request",this.dataService.getAvailableLicenseForFormAndRequestPerOrg())}onCheckRequesttypeV1(t,n,i){if(void 0!==n){const a=JSON.parse(n)[0],o=JSON.parse(i).request_type,l=a.findIndex(h=>h.controlId==t);let u=[];u.length=0;for(let h=0;h<Object.values(o).length;h++)void 0!==a[l]&&void 0!==a[l].selectOptions&&a[l].selectOptions.filter(d=>{d.request_type_id==Object.values(o)[h]&&(u.includes(d.name)||u.push(d.name))});return u}}onCheckRequesttype(t,n,i){const a=JSON.parse(n),o=JSON.parse(i).request_type;let l,u,h=[];if(h.length=0,!Array.isArray(a[0])){const d=a.findIndex(C=>C.controlId==t);let q=[];q.length=0;for(let C=0;C<Object.values(o).length;C++)-1!==d&&a[d].selectOptions.filter(x=>{x.request_type_id==Object.values(o)[C]&&(q.includes(x.name)||q.push(x.name))});return q}for(let d=0;d<a.length;d++){let q="undefined"!==JSON.parse(i).form_language?JSON.parse(i).form_language:"EN";if(u=a[d].findIndex(C=>C.languageselected==q),-1!==u){l=a[d].findIndex(C=>C.controlId==t);for(let C=0;C<Object.values(o).length;C++)void 0!==l&&-1!==l&&void 0!==a[d][l].selectOptions&&a[d][l].selectOptions.filter(x=>{x.request_type_id==Object.values(o)[C]&&(h.includes(x.name)||h.push(x.name))});return h}}}onCheckSubjecttypeV1(t,n,i){if(void 0!==n){const a=JSON.parse(n)[0],o=JSON.parse(i).subject_type,l=a.findIndex(h=>h.controlId==t);let u=[];u.length=0;for(let h=0;h<Object.values(o).length;h++)void 0!==a[l]&&void 0!==a[l].selectOptions&&a[l].selectOptions.filter(d=>{d.subject_type_id==Object.values(o)[h]&&(u.includes(d.name)||u.push(d.name))});return u}}onCheckSubjecttype(t,n,i){const a=JSON.parse(n),o=JSON.parse(i).subject_type;let l,h,u=[];if(u.length=0,!Array.isArray(a[0])){const d=a.findIndex(C=>C.controlId==t);let q=[];q.length=0;for(let C=0;C<Object.values(o).length;C++)-1!==d&&a[d].selectOptions.filter(x=>{x.subject_type_id==Object.values(o)[C]&&(q.includes(x.name)||q.push(x.name))});return q}for(let d=0;d<a.length;d++){let q="undefined"!==JSON.parse(i).form_language?JSON.parse(i).form_language:"EN";if(h=a[d].findIndex(C=>C.languageselected==q),-1!==h){l=a[d].findIndex(C=>C.controlId==t);for(let C=0;C<Object.values(o).length;C++)void 0!==l&&-1!==l&&void 0!==a[d][l]&&void 0!==a[d][l].selectOptions&&a[d][l].selectOptions.filter(x=>{x.subject_type_id==Object.values(o)[C]&&(u.includes(x.name)||u.push(x.name))});return u}}}onExportToCSV(){var t=this;const n=this.searchparams?this.searchparams.replace("?limit=10","?limit=500000"):"?limit=500000&page=1",a="&order_by_date="+(void 0!==this.currentSortorder?this.currentSortorder:"asc"),l=void 0!==this.selectedDateRange?this.selectedDateRange:"";null==this.currentManagedOrgID&&(this.currentManagedOrgID=this.queryOID),null==this.currrentManagedPropID&&(this.currrentManagedPropID=this.queryPID),this.dsarRequestService.getDsarRequestList(this.constructor.name,w.e.dsarRequestModule,this.currentManagedOrgID,this.currrentManagedPropID,n,a,l,"&export_to_csv="+!0).subscribe(u=>{this.downLoadFile(u,"text/csv","DSAR-Requests.csv")},function(){var u=(0,M.Z)(function*(h){t.loading.stop();const d=JSON.parse(yield h.text());t.alertMsg=d.error,t.isOpen=!0,t.alertType="danger"});return function(h){return u.apply(this,arguments)}}())}clearDatePicker(){this.issearchfilteractive=!1,this.selectedDateRange="",this.searchbydaterange="",""!=this.inputValue||""!=this.subjectType||""!=this.requestType||""!=this.status||this.selectedEmailVerifiedStatus||this.dueIn?this.searchFilter():this.onRefreshDSARList()}downLoadFile(t,n,i){const a=new Blob([t],{type:n}),o=window.URL.createObjectURL(a),l=document.createElement("a");l.download=i,l.href=o,l.click()}getOIDPIDFromURL(){if(-1!==this.location.path().indexOf("oid")){let t=(0,Z.Dq)(this.location.path());null!=t&&(this.currentManagedOrgID=t[0],this.currrentManagedPropID=t[1])}else if(void 0!==this.userService.currentProductRoute&&-1!==this.userService.currentProductRoute.indexOf("oid")){let t=(0,Z.Dq)(this.userService.currentProductRoute);null!=t&&(this.currentManagedOrgID=t[0],this.currrentManagedPropID=t[1])}else null!==this.orgservice.getCurrentOrgWithProperty()&&void 0!==this.orgservice.getCurrentOrgWithProperty()&&(this.currentManagedOrgID=this.orgservice.getCurrentOrgWithProperty().organization_id,this.currrentManagedPropID=this.orgservice.getCurrentOrgWithProperty().property_id)}ngOnDestroy(){sessionStorage.removeItem("customdp_subjecttype"),sessionStorage.removeItem("customdp_requesttype"),sessionStorage.removeItem("customdp_status")}};let r=c;return c.\u0275fac=function(n){return new(n||c)(e.Y36(N.Mn),e.Y36(N.KD),e.Y36(b.J),e.Y36(O.F0),e.Y36(O.gz),e.Y36(f.LA),e.Y36(m.$),e.Y36(g.y),e.Y36(e.sBO),e.Y36(_.FF),e.Y36(y.QS),e.Y36(v.D),e.Y36(E.j),e.Y36(Y.Dx),e.Y36(S.Ye))},c.\u0275cmp=e.Xpm({type:c,selectors:[["app-dsar-requests"]],viewQuery:function(n,i){if
1(1&n&&(e.Gf(ee,7),e.Gf(te,5)),2&n){let a;e.iGM(a=e.CRH())&&(i.editor=a.first),e.iGM(a=e.CRH())&&(i.pTable=a.first)}},inputs:{selectedColumns:"selectedColumns"},decls:54,vars:25,consts:[["appTheme","",1,"container-fluid","pr-0","pl-1"],["aria-label","breadcrumb",1,"align-navbtn","mb-3"],[1,"breadcrumb","breadcrumb-style1","mg-b-0"],[1,"breadcrumb-item"],["aria-current","page",1,"breadcrumb-item","active"],[1,"card","card-wrapper"],[1,"card-header","d-flex","align-item-center"],[1,"tx-15","mg-b-0"],[1,"datepickerwrapper","col-sm-10","pr-0","mr-0","ml-auto"],[1,"input-group","col-sm-3"],["type","text","placeholder","Search by name","id","example-search-input","tooltip","Type a visitor\u2019s name",1,"form-control","border-right-0","border",3,"ngModel","ngModelChange","keydown"],[1,"input-group-append"],["class","input-group-text bg-transparent","style","background-color: #fff !important;",3,"click",4,"ngIf"],[1,"input-group-text","bg-transparent",3,"click"],[1,"fa","fa-search"],[1,"col-sm-3","pr-0","pl-2","mr-2","d-flex","row-reverse"],[1,"input-group-prepend"],["class","input-group-text rounded-right border-left-0","id","inputGroup-sizing-sm",3,"click",4,"ngIf"],["class","input-group-text bg-transparent","style","background-color: #fff !important; border-left:0 !important; border-radius: 0px 5px 5px 0px;",3,"click",4,"ngIf"],["type","text","bsDaterangepicker","","placeholder","Select Date","tooltip","Choose a Date range",1,"form-control","border-left-0","border-right-0","rounded-right",3,"ngModel","bsConfig","outsideClick","ngModelChange","onShown","onHidden","bsValueChange"],["dp","bsDaterangepicker"],[1,"input-group-prepend","border-left-0",3,"click"],["id","inputGroup-sizing-sm",1,"input-group-text","rounded-left","border-right-0"],[1,"fa","fa-calendar"],[1,"bg-white","d-flex"],["data-toggle","modal","type","button","tooltip","Create a DSAR request manually",1,"btn","btn-sm","btn-uppercase","btn-primary","pt-2","lineheight-22",2,"text-transform","none","font-size","10px","height","38px",3,"click"],["name","plus",1,"feather-16"],[1,"d-none","d-sm-inline","mg-l-5"],[2,"display","flex","margin","0 5px","height","38px"],["optionLabel","header","selectedItemsLabel","{0} columns selected","placeholder","Choose Columns","title","Add more columns",1,"dsar-columnlist",3,"options","ngModel","ngModelChange"],["type","button","tooltip","Export DSAR records as a CSV file",1,"btn","btn-white","icon-btns","mr-2",3,"disabled","click"],["src","../../../../assets/imgs/csvexport.svg","width","24","height","24"],["type","reset","tooltip","Refresh",1,"btn","btn-white","icon-btns",3,"click"],[1,"fas","fa-sync","feather-16"],["data-toggle","modal","type","button","class","btn btn-white icon-btns ml-2","triggers","mouseover:mouseleave","tooltip","Filter",3,"click",4,"ngIf"],["tooltip","Filter","icon","pi pi-filter","style","margin-left: 11px;",3,"model","onClick",4,"ngIf"],["sortField","rowData?.created_at","currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries","styleClass","p-datatable-sm",1,"dsar-request-table",3,"value","defaultSortOrder","responsive","columns","paginator","lazy","loading","rows","showCurrentPageReport","totalRecords","rowsPerPageOptions","onLazyLoad"],["ptable",""],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],["pTemplate","footer"],["createRequestModal",""],["searchModal",""],[1,"col-sm-5","mt-3","mr-0","float-right","flotingdiv-dsartable"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],[1,"input-group-text","bg-transparent",2,"background-color","#fff !important",3,"click"],["aria-hidden","true",1,"fa","fa-times","color-red"],["id","inputGroup-sizing-sm",1,"input-group-text","rounded-right","border-left-0",3,"click"],[1,"fa",3,"ngClass"],[1,"input-group-text","bg-transparent",2,"background-color","#fff !important","border-left","0 !important","border-radius","0px 5px 5px 0px",3,"click"],["aria-hidden","true",1,"fa",3,"ngClass"],["data-toggle","modal","type","button","triggers","mouseover:mouseleave","tooltip","Filter",1,"btn","btn-white","icon-btns","ml-2",3,"click"],["name","filter",1,"feather-16"],["tooltip","Filter","icon","pi pi-filter",2,"margin-left","11px",3,"model","onClick"],[4,"ngFor","ngForOf"],["pSortableColumn","created_at",1,"p-sortable-column","p-highlight"],[1,"p-sortable-column-icon","pi","pi-fw",3,"ngClass"],[4,"ngIf"],[1,"ui-column-title"],[3,"title","click"],[1,"linkcolor",3,"click"],["class","badge",3,"ngClass",4,"ngIf"],["class","badge badge-primary",4,"ngIf"],["class","badge badge-info",4,"ngIf"],["class","badge badge-warning",4,"ngIf"],["class","badge badge-success",4,"ngIf"],["class","badge badge-danger",4,"ngIf"],[1,"badge","badge-primary"],[1,"badge","badge-info"],[1,"badge","badge-warning"],[1,"badge","badge-success"],[1,"badge","badge-danger"],[1,"badge",3,"ngClass"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["appTheme","",3,"formGroup","ngSubmit"],[1,"modal-body"],[1,"row"],[1,"col-sm-12"],[1,"form-group"],["for","webformselection",1,"tx-11","tx-medium","tx-spacing-1","mg-b-5","tx-color-03"],["formControlName","webformselection",1,"form-control",3,"ngClass","change"],["selected","","value",""],["class","invali
1d-feedback",4,"ngIf"],[1,"modal-footer"],["type","reset","aria-label","Close",1,"btn","btn-link","tx-decoration-underline","tx-13",3,"click"],[1,"btn","btn-sm","btn-primary","btn-uppercase","tx-13",2,"text-transform","none","font-size","12px"],[3,"value"],[1,"invalid-feedback"],["appTheme","",2,"height","450px","border","1px solid #ccc",3,"click"],[2,"display","flex","padding","10px","flex-direction","column"],[1,"mt-3","mr-0","ml-0","mb-3"],[1,"col-sm-4"],[3,"ctrlplaceholder","selectedList","isclickondocument","listName","defaultList","isradiobtnrequiredfordefaultfield","onClickValue","onClickSendStatus","click"],[1,"col-sm-4","p-0"],[3,"ctrlplaceholder","listName","isclickondocument","selectedList","defaultList","isradiobtnrequiredfordefaultfield","onClickValue","onClickSendStatus","click"],[1,"row",2,"margin-top","30px","display","flex"],[2,"display","flex","width","28.80px","margin-left","15px","width","30%","justify-content","center","flex-direction","column"],[2,"font-weight","500"],["optionLabel","name","placeholder","Email Verification",3,"options","ngModel","showClear","ngModelChange"],[1,"col-sm-8","input-group",2,"align-items","center","margin-top","20px"],["dropdown","",1,"btn-group","dropup",2,"height","39px",3,"autoClose","insideClick"],["type","button","dropdownToggle","","data-toggle","dropdown-toggle","aria-haspopup","true","aria-expanded","false",1,"btn","btn-white","dropdown-toggle"],["class","dropdown-menu",4,"dropdownMenu"],[1,"applybtn-position"],["type","reset",1,"btn","btn-link","tx-decoration-underline","tx-13",3,"click"],[1,"btn","btn-sm","btn-primary","tx-13",3,"click"],[1,"dropdown-menu"],[1,"form-check"],["type","radio","name","duein","value","-1","id","dueInPast",1,"form-check-input",3,"ngModel","ngModelChange"],["for","dueInPast",1,"form-check-label"],["type","radio","name","duein","value","1","id","dueIn1",1,"form-check-input",3,"ngModel","ngModelChange"],["for","dueIn1",1,"form-check-label"],["type","radio","name","duein","value","2","id","dueIn2",1,"form-check-input",3,"ngModel","ngModelChange"],["for","dueIn2",1,"form-check-label"],["type","radio","name","duein","value","15","id","dueIn15",1,"form-check-input",3,"ngModel","ngModelChange"],["for","dueIn15",1,"form-check-label"],["type","number",1,"form-control",3,"ngModel","ngModelChange"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"]],template:function(n,i){if(1&n){const a=e.EpF();e.TgZ(0,"div",0)(1,"nav",1)(2,"ol",2)(3,"li",3),e._uU(4,"Privacy"),e.qZA(),e.TgZ(5,"li",3),e._uU(6,"Privacy Rights"),e.qZA(),e.TgZ(7,"li",4),e._uU(8," Privacy Rights Requests"),e.qZA()()(),e.TgZ(9,"div",5)(10,"div",6)(11,"span",7),e._uU(12," Privacy Rights Requests "),e.qZA(),e.TgZ(13,"div",8)(14,"div",9)(15,"input",10),e.NdJ("ngModelChange",function(l){return i.inputValue=l})("ngModelChange",function(){return i.onSearchInputChange()})("keydown",function(l){return i.resetInputField(l)}),e.qZA(),e.TgZ(16,"span",11),e.YNc(17,se,2,0,"div",12),e.TgZ(18,"div",13),e.NdJ("click",function(){return i.onSearchInputChange()}),e._UZ(19,"i",14),e.qZA()()(),e.TgZ(20,"div",15)(21,"div",16),e.YNc(22,ne,2,1,"span",17),e.YNc(23,ie,2,1,"span",18),e.qZA(),e.TgZ(24,"input",19,20),e.NdJ("ngModelChange",function(l){return i.searchbydaterange=l})("onShown",function(){return i.onHoverDatePicker()})("onHidden",function(){return i.onDateSelection()})("bsValueChange",function(l){return i.onValueChangeDatePicker(l)}),e.qZA(),e.TgZ(26,"div",21),e.NdJ("click",function(){e.CHM(a);const l=e.MAs(25);return e.KtG(l.show())}),e.TgZ(27,"span",22),e._UZ(28,"i",23),e.qZA()()(),e.TgZ(29,"div",24)(30,"button",25),e.NdJ("click",function(){e.CHM(a);const l=e.MAs(49);return e.KtG(i.createWebFormRequestModal(l,""))}),e._UZ(31,"i-feather",26),e.TgZ(32,"span",27),e._uU(33," Create Request "),e.qZA()(),e.TgZ(34,"div",28)(35,"p-multiSelect",29),e.NdJ("ngModelChange",function(l){return i.selectedColumns=l}),e.qZA()(),e.TgZ(36,"button",30),e.NdJ("click",function(){return i.onExportToCSV()}),e._UZ(37,"img",31),e.qZA(),e.TgZ(38,"button",32),e.NdJ("click",function(){return i.onRefreshList()}),e._UZ(39,"i",33),e.qZA(),e.YNc(40,re,2,0,"button",34),e.YNc(41,ae,1,1,"p-splitButton",35),e.qZA()()()(),e.TgZ(42,"p-table",36,37),e.NdJ("onLazyLoad",function(l){return i.loadrequestsListLazy(l)}),e.YNc(44,le,24,4,"ng-template",38),e.YNc(45,ve,1,1,"ng-template",39),e.YNc(46,we,3,1,"ng-template",40),e.YNc(47,Se,2,1,"ng-template",41),e.qZA(),e.YNc(48,Ze,23,6,"ng-template",null,42,e.W1O),e.YNc(50,Fe,33,25,"ng-template",null,43,e.W1O),e.TgZ(52,"div",44),e.YNc(53,Le,2,3,"alert",45),e.qZA()()}2&n&&(e.xp6(15),e.Q6J("ngModel",i.inputValue),e.xp6(2),e.Q6J("ngIf",""!==i.inputValue),e.xp6(5),e.Q6J("ngIf",""==i.searchbydaterange),e.xp6(1),e.Q6J("ngIf",""!==i.searchbydaterange),e.xp6(1),e.Q6J("ngModel",i.searchbydaterange)("bsConfig",i.bsConfig)("outsideClick",!0),e.xp6(11),e.Q6J("options",i.cols)("ngModel",i.selectedColumns),e.xp6(1),e.Q6J("disabled",0===i.requestsList.length),e.xp6(4),e.Q6J("ngIf",!i.isDsarFilterApplied),e.xp6(1),e.Q6J("ngIf",i.isDsarFilterApplied),e.xp6(1),e.Q6J("value",i.requestsList)("defaultSortOrder",i.sortOrderValue)("responsive",!0)("columns",i.selectedColumns)("paginator",!0)("lazy",!0)("loading",i.isloading)("rows",10)("showCurrentPageReport",!0)("totalRecords",i.totalRecords)("rowsPerPageOptions",e.DdM(24,Ne)),e.xp6(11),e.Q6J("ngIf",i.isOpen))},dependencies:[S.mk,S.sg,S.O5,F.Hz,F.Mq,F.TO,Q.u,U.FR,U.TB,K.i9,z.wx,G.mh,y._Y,y.YN,y.Kr,y.Fj,y.wV,y.EJ,y._,y.JJ,y.JL,y.On,y.sg,y.u,L.iA,H.jx,L.lQ,J.NU,W.X,j.Lt,V.a,$.E,S.Ov,S.Ts,S.uU,X.wr],styles:[".pd-t-20[_ngcontent-%COMP%]{padding:2%!important}.heading_border[_ngcontent-%COMP%]{border-bottom:1px solid rgba(72,94,144,.1607843137)}.propertylist[_ngcontent-%COMP%]{border:1px solid #ccc}.propertylist[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{padding:0 10px}.propertylist[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0}.propertylist[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:none}.table-responsive.organization-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%]{padding-top:0;padding-right:0;padding-left:0}.paddingzero[_ngcontent-%COMP%]{padding:0;margin:0}.modal-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{outline:none}.is-invalid[_ngcontent-%COMP%]{color:red}.txt-center[_ngcontent-%COMP%]{text-align:center}.table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%] > img.img-fluid[_ngcontent-%COMP%]{max-width:15%!important}.table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:nth-child(3){width:20%!important}.table.table.table-bordered[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#0168fa;cursor:pointer}.table.table.table-bordered[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:first-child{text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:inline-block;width:100px!important;overflow:hidden!important}.table-primary[_ngcontent-%COMP%], .table-primary[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:3px!important;font-size:13px}.organization-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-body[_ngcontent-%COMP%]{padding:3px}.organization-div[_ngcontent-%COMP%] > .card[_ngcontent-%COMP%] > .card-header[_ngcontent-%COMP%]{padding:5px}.table.table.table-bordered[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{color:#0148ae}.table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:hover{background-color:#e9ecf1}.checked[_ngcontent-%COMP%]{background:green}.feather-16[_ngcontent-%COMP%]{width:16px;height:16px;margin:0}.input-group-text[_ngcontent-%COMP%]{border:1px solid #dee2e6}.input-group[_ngcontent-%COMP%] > .form-control[_ngcontent-%COMP%]:focus{outline:none;box-shadow:none}.searchfield[_ngcontent-%COMP%]{display:flex;flex-direction:row;width:100%}.searchfield[_ngcontent-%COMP%] .input-group[_ngcontent-%COMP%]{align-items:center}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.input-group-append[_ngcontent-%COMP%]{height:36px;display:flex}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > div.input-group-text[_ngcontent-%COMP%]{align-items:center;cursor:pointer!important;border:1px solid #c0ccda}.searchfield[_ngcontent-%COMP%] div.input-group[_ngcontent-%COMP%] > input.form-control[_ngcontent-%COMP%]:first-child{border:1px solid #c0ccda!important;border-right:0!important}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > div.input-group-text[_ngcontent-%COMP%]{border:1px solid #c0ccda!important;background:#fff!important}.row-enabled[_ngcontent-%COMP%]{background-color:transparent}.row-disabled[_ngcontent-%COMP%]{background-color:#ccc}tr.row-disabled[_ngcontent-%COMP%] > td[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{color:#fff!important}.table-primary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{background-color:#f1f7ff}.table-primary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#d2e5ff}.table-primary[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#0168fa;text-decoration:none;background-color:transparent;font-weight:400}.badge[_ngcontent-%COMP%]{font-size:10px;font-weight:500;font-family:-apple-system,BlinkMacSystemFont,Inter UI,Roboto,sans-serif;padding:3px 5px 4px;border-radius:3px}.badge-primary[_ngcontent-%COMP%]{color:#fff;background-color:#0168fa}.dsar-request-table[_ngcontent-%COMP%] .p-datatable.p-datatable-sm .p-datatable-header{display:flex;width:100%;border-radius:0;border-top:1px solid #dde2ea}.dsar-request-table[_ngcontent-%COMP%] .p-datatable{position:relative;border:1px solid #ccc;border-top:0;margin:0;border-radius:0 0 5px 5px}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-header{border-bottom:1px solid #ccc;border-top:1px solid #ccc}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-thead>tr>th{font-size:11px}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-thead>tr>th:first-child{width:60px}.dsar-request-table[_ngcontent-%COMP%] .p-datatable.p-datatable-sm .p-datatable-tbody>tr>td>a:hover{text-decoration:underline}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tbody>tr>td:nth-child(6), .dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tbody>tr>td:nth-child(12){word-wrap:break-word}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-sortable-column .p-sortable-column-icon{margin-left:0;font-size:.6rem}.dsar-request-table[_ngcontent-%COMP%] .p-datatable.p-datatable-sm .p-datatable-thead>tr>th{padding:.8rem .3rem}.dsar-request-table[_ngcontent-%COMP%] .p-datatable.p-datatable-sm .p-datatable-thead>tr>th:first-child{padding:.8rem .5rem}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect .p-multiselect-label{padding:.3rem}.dsar-columnlist[_ngcontent-%COMP%] >.p-multiselect .p-multiselect-label-container .p-multiselect-label{padding:6px!important}.dsar-columnlist[_ngcontent-%COMP%] >.p-multiselect .dsar-columnlist>.p-multiselect{border:1px solid #c0ccda}.searchfield[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{height:auto;padding:.3rem}.badge-primary[_ngcontent-%COMP%]{color:#fff!important}.linkcolor[_ngcontent-%COMP%]{cursor:pointer!important;color:#00f!important}.input-group-append[_ngcontent-%COMP%] .bg-transparent[_ngcontent-%COMP%]{cursor:pointer}.color-red[_ngcontent-%COMP%]{color:red}.dsar-request-table[_ngcontent-%COMP%] .p-datatable.p-datatable-sm .p-datatable-tbody>tr>td>a{cursor:pointer}.dsar-request-table[_ngcontent-%COMP%] .p-inputtext{padding:.3rem;font-size:.8rem}.dsar-request-table[_ngcontent-%COMP%] .p-paginator .p-paginator-pages .p-paginator-page{min-width:1.5rem;height:1.5rem}.dsar-request-table[_ngcontent-%COMP%] .p-paginator .p-dropdown{height:2rem;position:absolute;
1left:0;top:12px;width:70px;border:1px solid #ccc}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect-panel .p-multiselect-header{padding:.3rem 1rem}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect-panel .p-multiselect-items{padding:0}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background-color:#fff;color:#333}.dsar-request-table[_ngcontent-%COMP%] .p-highlight .p-checkbox .p-checkbox-box{border-color:#2196f3}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus{box-shadow:none}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-paginator-bottom{border-top:1px solid #ccc;border-radius:0 0 5px 5px;border-bottom:0;position:relative;justify-content:center}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-paginator .p-paginator-current{right:0!important;position:absolute!important}.hide[_ngcontent-%COMP%]{display:none}.align-navbtn[_ngcontent-%COMP%]{display:flex;justify-content:space-between}span.ui-column-title[_ngcontent-%COMP%]{display:none;width:100%}.dsar-request-table[_ngcontent-%COMP%] .searchfield .col-sm-2 .p-multiselect{width:160px!important} .theme-dark-blue{flex-direction:row-reverse!important} .theme-dark-blue .bs-datepicker-predefined-btns button{margin-bottom:2px!important;background:#fff;color:#333;border:1px solid #ccc} .theme-dark-blue .bs-datepicker-predefined-btns button.selected{color:#fff;background:#16BF5E} .theme-dark-blue .bs-datepicker-head{background-color:#000} .p-dropdown{width:100%;height:40px} .p-dropdown-trigger-icon{font-size:11px;font-weight:bolder}.datepickerwrapper[_ngcontent-%COMP%]{justify-content:flex-end;display:flex!important;align-items:center;flex-wrap:nowrap;flex-direction:row}.border-zero-left[_ngcontent-%COMP%]{border-left:0}.datepickerwrapper[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]:focus{outline:none;border-radius:0 5px 5px 0;box-shadow:none;border-color:#c0ccda}.datepickerwrapper[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{border-radius:0!important}.datepickerwrapper[_ngcontent-%COMP%] .input-group-prepend[_ngcontent-%COMP%]{height:38px}.row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.input-group-prepend[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#fff;border-color:#c0ccda!important;border-radius:0;cursor:pointer}.lineheight-22[_ngcontent-%COMP%]{line-height:22px}.align-item-center[_ngcontent-%COMP%]{align-items:center;border-bottom:0}.card-wrapper[_ngcontent-%COMP%]{margin:0;border-radius:5px 5px 0 0;border-bottom:0}[_ngcontent-%COMP%]::placeholder{color:#333;opacity:1}.dp-safari[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{background:#ffffff url
1(down-arrow.268f09fa8fa3d951.svg) no-repeat;background-position:95% 60%;appearance:none}.dropup[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:after, .show[_ngcontent-%COMP%] .dropdown-toggle[_ngcontent-%COMP%]:after{border-top:0!important;border-left:0!important;border-right:1.5px solid #000000!important;border-bottom:1.5px solid #000000!important}.dropup[_ngcontent-%COMP%] .btn-white[_ngcontent-%COMP%]{padding:5px 10px}.flotingdiv-dsartable[_ngcontent-%COMP%]{position:fixed;bottom:0;top:77%;right:0;overflow-x:hidden;overflow-y:auto;z-index:0}.modal-dialog-centered[_ngcontent-%COMP%]{border:1px solid #000;height:auto!important}.search-field-wrapper[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:row}.search-input[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;align-items:flex-start;width:100%}.div-flex-justify[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.icon-btns[_ngcontent-%COMP%]{text-transform:none;font-size:10px;height:38px;line-height:38px;padding:0 10px;border:1px solid #c0ccda}.applybtn-position[_ngcontent-%COMP%]{position:absolute;right:10px;bottom:10px}@media (min-width: 1024px){.container[_ngcontent-%COMP%]{max-width:1024px}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect .p-multiselect-label{padding:.3rem;width:100px}}@media screen and (max-width: 48em){[_nghost-%COMP%] .container{max-width:768px!important}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-thead>tr>th, .dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tfoot>tr>td{display:none!important}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tbody>tr>td{text-align:left;display:block;width:100%;float:left;clear:left;border:0 none}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tbody>tr>td .p-column-title{padding:.4rem;min-width:50%;display:inline-block;margin:-.4em 1em -.4em -.4rem;font-weight:700}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tbody>tr>td:last-child{border-bottom:1px solid var(--surface-d)}span.ui-column-title[_ngcontent-%COMP%]{display:block;font-weight:500}.dsar-request-table[_ngcontent-%COMP%] .p-datatable .p-datatable-tbody>tr>td:first-child{width:auto!important}.dsar-request-table[_ngcontent-%COMP%] .p-multiselect .p-multiselect-label{padding:.3rem}.dsar-request-table[_ngcontent-%COMP%] .searchfield .col-sm-2 .p-multiselect{width:100%!important}.dsar-request-table[_ngcontent-%COMP%] .p-paginator-bottom .p-paginator{display:flex;position:relative}.dsar-request-table[_ngcontent-%COMP%] .p-paginator .p-paginator-current{position:absolute!important;right:0!important}.dsar-request-table[_ngcontent-%COMP%] .p-inputwrapper-filled{position:absolute;left:0}}.tx-decoration-underline[_ngcontent-%COMP%]:hover{text-decoration:underline} div.p-splitbutton{height:37px!important}"]}),r})();var Je=p(85493),je=p(31456),Ve=p(94284);const Be=[{path:"",component:Ue,canActivate:[Je.a1,je.p,Ve.g]}];let Ee=(()=>{const c=class{};let r=c;return c.\u0275fac=function(n){return new(n||c)},c.\u0275mod=e.oAB({type:c}),c.\u0275inj=e.cJS({imports:[O.Bz.forChild(Be),O.Bz]}),r})();var Ye=p(19119),Qe=p(43549),Ke=p(23501),ze=p(55466),Ge=p(91742);let He=(()=>{const c=class{};let r=c;return c.\u0275fac=function(n){return new(n||c)},c.\u0275mod=e.oAB({type:c}),c.\u0275inj=e.cJS({imports:[Ye.J,y.u5,y.UX,Ee,L.U$,J.q4,Qe.H,j.kW,V.l,Ke.O.forRoot({themes:[ze.W,Ge.$],active:P.N.theme})]}),r})()}}]);
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.