PageSourceSearch

https://portal.privacypillar.com/default-src_app__components_custo…p__components_cu-6819d1.cc9088aab52539e9.js

js privacypillar.com collected 2026-09-24 09:08:05 UTC 24,776 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["default-src_app__components_customdropdown_customdropdown_component_ts-src_app__components_cu-6819d1"],{99856:(V,N,_)=>{_.d(N,{X:()=>a});var t=_(94650),h=_(1260),g=_(64491),C=_(36895),w=_(24006),c=_(32320);function O(n,o){if(1&n){const i=t.EpF();t.TgZ(0,"li")(1,"div",9)(2,"button",10),t.NdJ("click",function(){const d=t.CHM(i).$implicit,f=t.oxw(2);return t.KtG(f.clearSelectedValue(d))}),t._uU(3," \xd7"),t.qZA(),t._uU(4),t.qZA()()}if(2&n){const i=o.$implicit;t.xp6(4),t.hij(" ",void 0!==i&&void 0!==i.value?i.value:void 0!==i&&void 0!==i.label?i.label:""," ")}}function r(n,o){if(1&n&&(t.TgZ(0,"ul"),t.YNc(1,O,5,1,"li",8),t.qZA()),2&n){const i=t.oxw();t.xp6(1),t.Q6J("ngForOf",i.selectedDropdownValues)}}function y(n,o){if(1&n&&(t.TgZ(0,"div",11),t._uU(1),t.qZA()),2&n){const i=t.oxw();t.xp6(1),t.Oqu(i.ctrlplaceholder)}}function x(n,o){1&n&&(t.TgZ(0,"span"),t._UZ(1,"i",12),t.qZA())}function S(n,o){1&n&&(t.TgZ(0,"span"),t._UZ(1,"i",13),t.qZA())}function M(n,o){if(1&n){const i=t.EpF();t.TgZ(0,"span",20)(1,"input",21),t.NdJ("change",function(){t.CHM(i);const s=t.oxw().$implicit,d=t.oxw(3);return t.KtG(d.onClickDefaultLanguageRadiobtn(s))})("ngModelChange",function(s){t.CHM(i);const d=t.oxw(4);return t.KtG(d.defaultvalue=s)}),t.qZA()()}if(2&n){const i=t.oxw().$implicit,e=t.oxw(3);t.xp6(1),t.s9C("value",void 0!==i.keyvalue?i.keyvalue:i.label),t.Q6J("ngModel",e.defaultvalue)("checked",e.isRadiochecked(i)),t.uIk("disabled",e.isCheckboxchecked(i)?null:"")}}function b(n,o){if(1&n){const i=t.EpF();t.TgZ(0,"li")(1,"div",16)(2,"label",17)(3,"input",18),t.NdJ("change",function(){const d=t.CHM(i).$implicit,f=t.oxw(3);return t.KtG(f.onClickDropDownValuechkbox(d))}),t.qZA(),t.TgZ(4,"span"),t._uU(5),t.qZA(),t.YNc(6,M,2,4,"span",19),t.qZA()()()}if(2&n){const i=o.$implicit,e=t.oxw(3);t.xp6(2),t.s9C("for",i.value?i.value:i.keyvalue),t.xp6(1),t.s9C("id",i.key?i.key:i.keyvalue),t.Q6J("checked",e.isCheckboxchecked(i)),t.xp6(2),t.Oqu(void 0!==i.value?i.value:i.label),t.xp6(1),t.Q6J("ngIf",e.isradiobtnrequiredfordefaultfield)}}function v(n,o){if(1&n&&(t.TgZ(0,"ul"),t.YNc(1,b,7,5,"li",8),t.qZA()),2&n){const i=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",i.defaultList)}}function T(n,o){1&n&&(t.TgZ(0,"div",22),t._uU(1," No records found "),t.qZA())}function l(n,o){if(1&n){const i=t.EpF();t.TgZ(0,"div",14),t.NdJ("click",function(){t.CHM(i);const s=t.oxw();return t.KtG(s.onClickDropdownDiv())})("mouseleave",function(){t.CHM(i);const s=t.oxw();return t.KtG(s.onMouseOutDropdownDiv())}),t.YNc(1,v,2,1,"ul",6),t.YNc(2,T,2,0,"div",15),t.qZA()}if(2&n){const i=t.oxw();t.Q6J("ngStyle",i.addHeight()),t.xp6(1),t.Q6J("ngIf",null!==i.defaultList),t.xp6(1),t.Q6J("ngIf",null==i.defaultList||0==i.defaultList.length)}}let a=(()=>{const o=class{constructor(e,s){this.dsarRequestService=e,this.userService=s,this.selectedDropdownValues=[],this.uncheckedDropdownValues=[],this.storedDropdownValues=[],this.isusingstoredvalues=!1,this.onClickValue=new t.vpe,this.onClickValueDefaultValue=new t.vpe,this.onClickSendStatus=new t.vpe,this.showhideDropdown=!1,this.dpListWithName={},this.isDropdownClicked=!1,this.isClickedInsideDropdown=!1,this.isMouseOutDropdown=!1,this.dropdownobjectkeys=[],this.selectedDropdownValues=void 0!==this.selectedList&&this.selectedList.length>0?[...this.selectedList]:[]}ngOnInit(){if(this.sessionStorageName="customdp_"+this.listName,null!==sessionStorage.getItem(this.sessionStorageName)&&void 0!==sessionStorage.getItem(this.sessionStorageName)){let e=Object.values(JSON.parse(sessionStorage.getItem(this.sessionStorageName)).dropdownlist);void 0!==e&&void 0!==e[0]&&0!==e[0].length&&(this.selectedDropdownValues=e),this.selectedDropdownName=JSON.parse(sessionStorage.getItem("customdp_"+this.listName)).dropdownname,this.selectedDropdownName===this.listName&&(this.isusingstoredvalues=!0)}else{if(void 0!==this.selectedList&&this.selectedList.length>0)return this.selectedDropdownValues=[...this.selectedList],this.selectedDropdownValues.some(e=>{if(void 0!==e.defaultlanguage)return e.defaultlanguage==e.keyvalue&&(this.defaultvalue=e.keyvalue,!0)});this.isusingstoredvalues=!1}this.userService.onClickModalPopupEvent.subscribe(e=>{this.closeDropdownonModalWindowClick=e,this.closeDropdownonModalWindowClick&&this.userService.isClickOnSearchModal&&(this.showhideDropdown=!1)})}closeDropdown(){this.showhideDropdown&&(this.showhideDropdown=!1),this.showhideDropdown=!this.showhideDropdown}onClickDropDownValuex(e){this.onClickValue.emit(e)}onClickDropDownValuechkbox(e){if(this.isRadiochecked(e))return this.onClickValue.emit(null),!1;(null==this.dropdownobjectkeys||0==this.dropdownobjectkeys.length||0==this.dropdownobjectkeys[this.dropdownobjectkeys.length-1].length)&&(this.dropdownobjectkeys=[...this.getMaxObjectKeys(e)]);let d,p,s=!1,m=[];
1if(this.selectedDropdownValues.length>0&&(void 0!==e?"defaultlanguage"!==Object.getOwnPropertyNames(this.selectedDropdownValues[0])[0]?(s=this.selectedDropdownValues.some(u=>u[Object.getOwnPropertyNames(u)[0]]===e[Object.getOwnPropertyNames(u)[0]]&&u[Object.getOwnPropertyNames(u)[1]]===e[Object.getOwnPropertyNames(u)[1]]),d=this.selectedDropdownValues.findIndex(u=>u[Object.getOwnPropertyNames(u)[0]]===e[Object.getOwnPropertyNames(u)[0]]&&u[Object.getOwnPropertyNames(u)[1]]===e[Object.getOwnPropertyNames(u)[1]])):(s=this.selectedDropdownValues.some(u=>u[Object.getOwnPropertyNames(u)[1]]===e[Object.getOwnPropertyNames(u)[1]]),d=this.selectedDropdownValues.findIndex(u=>u[Object.getOwnPropertyNames(u)[1]]===e[Object.getOwnPropertyNames(u)[1]])):(s=this.selectedDropdownValues.some(u=>u===e),d=this.selectedDropdownValues.findIndex(u=>u===e))),s){let k,L,u=Object.keys(e).findIndex(D=>"keyvalue"==D),E=Object.keys(e).findIndex(D=>"defaultlanguage"==D);-1!==u&&(L=this.selectedDropdownValues.findIndex(D=>D[Object.keys(D)[0]]===e[Object.keys(e)[u]])),-1!==E&&(k=this.selectedDropdownValues.findIndex(D=>D[Object.keys(D)[0]]===e[Object.keys(e)[E]])),this.uncheckedDropdownValues=[];const P=this.uncheckedDropdownValues.findIndex(D=>D.keyvalue==e.keyvalue);-1==P?this.uncheckedDropdownValues.push(e):this.uncheckedDropdownValues.splice(P,1),void 0!==L&&-1!==L?this.selectedDropdownValues.splice(L,1):void 0!==d&&-1!==d&&this.selectedDropdownValues.splice(d,1),-1!==k&&(this.defaultvalue=""),this.selectedDropdownValues=this.removeDuplicates(this.selectedDropdownValues,this.uncheckedDropdownValues),this.dpListWithName={dropdownname:this.listName,dropdownlist:this.selectedDropdownValues,uncheckedlist:this.uncheckedDropdownValues,defaultvalue:this.defaultvalue};for(let D=0;D<this.selectedDropdownValues.length;D++){m[D]={};for(let I=0;I<Object.keys(this.selectedDropdownValues[D]).length;I++)m[D][Object.keys(this.selectedDropdownValues[D])[I]]=this.selectedDropdownValues[D][Object.keys(this.selectedDropdownValues[D])[I]];p=JSON.stringify(m),this.dpListWithName={dropdownname:this.listName,dropdownlist:JSON.parse(p),uncheckedlist:this.uncheckedDropdownValues,defaultvalue:this.defaultvalue}}(void 0===this.issessionstargerequired||this.issessionstargerequired)&&sessionStorage.setItem("customdp_"+this.listName,JSON.stringify(this.dpListWithName)),this.onClickValue.emit(this.dpListWithName)}else{this.selectedDropdownValues.push(e),this.dpListWithName={dropdownname:this.listName,dropdownlist:this.selectedDropdownValues,defaultvalue:this.defaultvalue};for(let u=0;u<this.selectedDropdownValues.length;u++)if(Object.keys(this.selectedDropdownValues[0]).some(k=>"key"===k||"value"===k))m[u]={},m[u].key=this.selectedDropdownValues[u].key,m[u].value=this.selectedDropdownValues[u].value,p=JSON.stringify(m);else if(m[u]={},void 0!==this.dropdownobjectkeys&&this.dropdownobjectkeys.length>0){for(let k=0;k<this.dropdownobjectkeys[0].length;k++)void 0!==this.selectedDropdownValues[u][this.dropdownobjectkeys[0][k]]&&(m[u][this.dropdownobjectkeys[0][k]]=this.selectedDropdownValues[u][this.dropdownobjectkeys[0][k]]);p=JSON.stringify(m)}this.dpListWithName={dropdownname:this.listName,dropdownlist:JSON.parse(p),defaultvalue:this.defaultvalue},this.onClickValue.emit(this.dpListWithName),(void 0===this.issessionstargerequired||this.issessionstargerequired)&&sessionStorage.setItem("customdp_"+this.listName,JSON.stringify(this.dpListWithName))}}clearSelectedValue(e){this.isClickedInsideDropdown=!1;let d,s=[];if(this.isRadiochecked(e))this.onClickValue.emit(null);else{if(void 0!==this.uncheckedDropdownValues){const p=this.uncheckedDropdownValues.findIndex(m=>m.keyvalue==e.keyvalue);-1==p?this.uncheckedDropdownValues.push(e):this.uncheckedDropdownValues.splice(p,1)}const f=this.selectedDropdownValues.findIndex(p=>p[Object.keys(p)[0]]===e[Object.keys(e)[0]]);this.selectedDropdownValues.splice(f,1),this.dpListWithName={dropdownname:this.listName,dropdownlist:this.selectedDropdownValues,uncheckedlist:this.uncheckedDropdownValues,defaultvalue:this.defaultvalue};for(let p=0;p<this.selectedDropdownValues.length;p++){s[p]={};for(let m=0;m<Object.keys(this.selectedDropdownValues[p]).length;m++)s[p][Object.keys(this.selectedDropdownValues[p])[m]]=this.selectedDropdownValues[p][Object.keys(this.selectedDropdownValues[p])[m]];d=JSON.stringify(s),this.dpListWithName={dropdownname:this.listName,dropdownlist:JSON.parse(d),uncheckedlist:this.uncheckedDropdownValues,defaultvalue:this.defaultvalue}}(void 0===this.issessionstargerequired||this.issessionstargerequired)&&sessionStorage.setItem("customdp_"+this.listName,JSON.stringify(this.dpListWithName)),this.onClickValue.emit(this.dpListWithName)}}onClickDefaultLanguageRadiobtn(e){let d,s=[];if(void 0!==e.value)this.defaultvalue=e.value,this.dpListWithName.defaultvalue=e.value,(void 0===this.issessionstargerequired||this.issessionstargerequired)&&sessionStorage.setItem("customdp_"+this.listName,JSON.stringify(this.dpListWithName)),this.onClickValueDefaultValue.emit(this.dpListWithName);else if(this.defaultvalue=e.keyvalue,this.dpListWithName.defaultvalue=e.keyvalue,void 0!==this.selectedDropdownValues&&this.selectedDropdownValues.length>0){const f=this.selectedDropdownValues.findIndex(p=>p.keyvalue==e.keyvalue);this.selectedDropdownValues[f].defaultlanguage=e.keyvalue;for(let p=0;p<this.selectedDropdownValues.length;p++){s[p]={};for(let m=0;m<Object.keys(this.selectedDropdownValues[p]).length;m++)s[p][Object.keys(this.selectedDropdownValues[p])[m]]=this.selectedDropdownValues[p][Object.keys(this.selectedDropdownValues[p])[m]];d=JSON.stringify(s),this.dpListWithName={dropdownname:this.listName,dropdownlist:JSON.parse(d),defaultvalue:this.defaultvalue}}(void 0===this.issessionstargerequired||this.issessionstargerequired)&&sessionStorage.setItem("customdp_"+this.listName,JSON.stringify(this.dpListWithName)),this.onClickValueDefaultValue.emit(this.dpListWithName)}}onClickDpMenu(e){e.stopPropagation(),this.userService.isClickOnSearchModal=!1,"selectedvalues"==e.currentTarget.id&&(this.showhideDropdown=!this.showhideDropdown,this.isClickedInsideDropdown=!0,this.isDropdownClicked=!0,this.isMouseOutDropdown=!1,this.isclickondocument=!1,this.userService.isUserClickOutsideCustomDropDown=this.isclickondocument),this.onClickSendStatus.emit(this.showhideDropdown)}onClickDropdownDiv(){this.showhideDropdown&&(this.showhideDropdown=!0,this.isClickedInsideDropdown=!0,this.isMouseOutDropdown=!1)}onMouseOutDropdownDiv(){this.isMouseOutDropdown=!0}isCheckboxchecked(e){return void 0!==this.selectedList&&this.selectedList.length>0?this.selectedList.some(this.isradiobtnrequiredfordefaultfield?s=>s[Object.getOwnPropertyNames(s)[1]]==e[Object.getOwnPropertyNames(s)[1]]:s=>s[Object.getOwnPropertyNames(s)[0]]==e[Object.getOwnPropertyNames(s)[0]]&&s[Object.getOwnPropertyNames(s)[1]]==e[Object.getOwnPropertyNames(s)[1]]):this.selectedDropdownValues.length>0&&this.selectedDropdownValues.some(s=>void 0!==s&&void 0!==s.key&&s.key===e.key)}isRadiochecked(e){return void 0!==this.selectedList&&this.selectedList.length>0?this.selectedList.some(s=>{if(void 0!==s.defaultlanguage)return s.defaultlanguage==e.keyvalue&&(this.defaultvalue=s.keyvalue,!0)}):this.selectedDropdownValues.length>0?this.selectedDropdownValues.some(s=>{void 0!==s.defaultlanguage&&s.defaultlanguage===e.keyvalue?this.defaultvalue=s.keyvalue:void 0!==s.defaultlanguage&&s.defaultlanguage===e.key&&(this.defaultvalue=e.key)}):void 0}onMouseLeave(){this.showhideDropdown=!1,void 0!==this.selectedList&&this.selectedList.length>0&&(this.selectedDropdownValues=[...this.selectedList])}ngOnChanges(e){void 0!==this.selectedList&&this.selectedList.length>0&&(this.selectedDropdownValues=[...this.selectedList]),void 0!==e.isclickondocument&&e.isclickondocument.currentValue&&!this.isClickedInsideDropdown?this.showhideDropdown=!e.isclickondocument.currentValue:this.showhideDropdown&&!this.isClickedInsideDropdown?this.showhideDropdown=!1:this.showhideDropdown&&this.isClickedInsideDropdown&&this.isMouseOutDropdown&&this.userService.isUserClickOutsideCustomDropDown&&(this.showhideDropdown=!1,this.isClickedInsideDropdown=!1)}ngAfterViewInit(){}removeDuplicates(e,s){for(let d=0;d<s.length;d++)for(let f=0;f<Object.keys(s[0]).length;f++){const p=e.findIndex(m=>m[Object.keys(m)[f]]===s[d][Object.keys(s[d])[f]]);-1!==p&&e.splice(p,1)}return e}getMaxObjectKeys(e){let s=[];if(void 0!==this.selectedDropdownValues&&this.selectedDropdownValues.length>0)for(let d=0;d<this.selectedDropdownValues.length;d++)this.isradiobtnrequiredfordefaultfield?Object.keys(this.selectedDropdownValues[d]).length>=3&&void 0!==s&&0==s.length&&s.push(Object.keys(this.selectedDropdownValues[d])):Object.keys(this.selectedDropdownValues[d]).length>=2&&void 0!==s&&0==s.length&&s.push(Object.keys(this.selectedDropdownValues[d]));else s.push(Object.getOwnPropertyNames(e));return s}addHeight(){return{height:this.defaultList.length>1&&this.defaultList.length<=8?32*this.defaultList.length+"px":this.defaultList.length>=8||8==this.defaultList.length?22*this.defaultList.length+"px":"40px","overflow-y":"auto","overflow-x":"hidden"}}};let n=o;return o.\u0275fac=function(s){return new(s||o)(t.Y36(h.$),t.Y36(g.KD
1))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-customdropdown"]],inputs:{defaultList:"defaultList",selectedList:"selectedList",listName:"listName",ctrlplaceholder:"ctrlplaceholder",isclickondocument:"isclickondocument",issessionstargerequired:"issessionstargerequired",isradiobtnrequiredfordefaultfield:"isradiobtnrequiredfordefaultfield"},outputs:{onClickValue:"onClickValue",onClickValueDefaultValue:"onClickValueDefaultValue",onClickSendStatus:"onClickSendStatus"},features:[t.TTD],decls:11,vars:6,consts:[[1,"position-relative",3,"mouseleave"],[1,"graycolortext",2,"color","#000"],["id","selectedvalues",1,"selected-dropdown-values",3,"click","mouseleave"],[4,"ngIf","ngIfElse"],["showPlaceholder",""],[1,"dropdown-arrow-btn"],[4,"ngIf"],["class","dropdown-wrapper",3,"ngStyle","click","mouseleave",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"selected-itmes"],[1,"crossbtn",3,"click"],[1,"graycolortext"],[1,"fas","fa-angle-down"],[1,"fas","fa-angle-up"],[1,"dropdown-wrapper",3,"ngStyle","click","mouseleave"],["style","padding:5px;",4,"ngIf"],[1,"form-check","required-check","mt-2","customdp"],[1,"mb-0","width100",2,"position","relative",3,"for"],["type","checkbox",1,"form-check-input",3,"checked","id","change"],["style","left:220px; top:0px; width: 200px; position: absolute;",4,"ngIf"],[2,"left","220px","top","0px","width","200px","position","absolute"],["type","radio","name","defaultvalue","tooltip","Mark as default language",1,"form-check-input","radiomargin",3,"value","ngModel","checked","change","ngModelChange"],[2,"padding","5px"]],template:function(s,d){if(1&s&&(t.TgZ(0,"div",0),t.NdJ("mouseleave",function(){return d.onMouseLeave()}),t.TgZ(1,"div",1),t._uU(2),t.qZA(),t.TgZ(3,"div",2),t.NdJ("click",function(p){return d.onClickDpMenu(p)})("mouseleave",function(){return d.onMouseOutDropdownDiv()}),t.YNc(4,r,2,1,"ul",3),t.YNc(5,y,2,1,"ng-template",null,4,t.W1O),t.TgZ(7,"div",5),t.YNc(8,x,2,0,"span",6),t.YNc(9,S,2,0,"span",6),t.qZA()(),t.YNc(10,l,3,3,"div",7),t.qZA()),2&s){const f=t.MAs(6);t.xp6(2),t.Oqu(d.ctrlplaceholder),t.xp6(2),t.Q6J("ngIf",void 0!==d.selectedDropdownValues&&0!==d.selectedDropdownValues.length&&0==d.storedDropdownValues.length)("ngIfElse",f),t.xp6(4),t.Q6J("ngIf",!d.showhideDropdown),t.xp6(1),t.Q6J("ngIf",d.showhideDropdown),t.xp6(1),t.Q6J("ngIf",d.showhideDropdown&&d.listName)}},dependencies:[C.sg,C.O5,C.PC,w.Fj,w._,w.JJ,w.On,c.i9],styles:[".selected-dropdown-values[_ngcontent-%COMP%]{display:flex;border-radius:4px;border:1px solid #ccc;width:100%;min-width:100%;max-width:100%;justify-content:space-between;line-height:24px;padding:5px 8px}.selected-dropdown-values[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding:3px 0;width:100%;min-height:30px;border-radius:10px;list-style-type:none;font-size:13px;text-overflow:ellipsis!important;overflow:hidden!important}.selected-dropdown-values[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:inline-block;margin-right:0;list-style-type:none}.selected-itmes[_ngcontent-%COMP%]{padding:0 2px;background:#f1f1f1;margin:0 2px 1px;border:1px solid #efefef}.selected-itmes[_ngcontent-%COMP%]   .crossbtn[_ngcontent-%COMP%]{border:0;background:#0168fa;color:#fff;font-size:16px;padding:2px;line-height:10px}.dropdown-wrapper[_ngcontent-%COMP%]{border:1px solid #ccc;margin:0;padding:0 5px;width:100%;position:absolute;z-index:999;border-radius:3px;background:#fff;box-shadow:0 1px 5px #959595}.dropdown-wrapper[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding:0}.radiomargin[_ngcontent-%COMP%]{margin-top:3px;margin-left:-20px!important}.dropdown-wrapper[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style-type:none;cursor:pointer}.dropdown-arrow-btn[_ngcontent-%COMP%]{background:transparent;border:0;color:#585858;font-size:16px;margin-right:10px}.graycolortext[_ngcontent-%COMP%]{color:#6c757d;font-family:sans-serif}.position-relative[_ngcontent-%COMP%]{position:relative}.width100[_ngcontent-%COMP%]{width:100%}.customdp[_ngcontent-%COMP%]   label[_ngcontent-%COMP%] > input[type=checkbox][_ngcontent-%COMP%]{margin-left:-19px;margin-top:3px}"]}),n})()},43549:(V,N,_)=>{_.d(N,{H:()=>w});var t=_(36895),h=_(24006),g=_(32320),C=_(94650);let w=(()=>{const O=class{};let c=O;return O.\u0275fac=function(x){return new(x||O)},O.\u0275mod=C.oAB({type:O}),O.\u0275inj=C.cJS({imports:[t.ez,h.u5,g.z8,h.UX]}),c})()},1260:(V,N,_)=>{_.d(N,{$:()=>M});var t=_(94650),h=_(92340),g=_(61737),C=_(5254),w=_(80096),c=_(27221),O=_(24850),r=_(28597),y=_(85740),x=_(80529),S=_(46262);let M=(()=>{const v=class{constructor(l,a){this.http=l,this.lokiService=a,this.onClickCancelBtn=new t.vpe}getDsarRequestList(l,a,n,o,i,e,s,d){let f="/ccpa/data/"+n+"/"+o+i;return void 0===e&&null==d?this.http.get(h.N.apiUrl+f).pipe((0,w.d)(1),(0,c.K)(p=>(this.onSendLogs(r.o.INFO,p,r.X.getDsarRequestList,l,a,f),(0,g._)(p)))):""!==s&&void 0!==s&&null==d?this.http.get(h.N.apiUrl+f+s).pipe((0,w.d)(1),(0,c.K)(p=>(this.onSendLogs(r.o.INFO,p,r.X.getDsarRequestList,l,a,f),(0,g._)(p)))):void 0===d?(f="/ccpa/data/"+n+"/"+o+i+e,this.http.get(h.N.apiUrl+f).pipe((0,w.d)(1),(0,c.K)(p=>(this.onSendLogs(r.o.INFO,p,r.X.getDsarRequestList,l,a,f),(0,g._)(p))))):d.includes("true")?this.http.get(h.N.apiUrl+f+s+d,{responseType:"blob"}).pipe((0,w.d)(1),(0,c.K)(p=>(this.onSendLogs(r.o.INFO,p,r.X.getDsarRequestList,l,a,f),(0,g._)(p)))):void 0}
1getDsarRequestFilter(l,a,n,o){const i="/ccpa/filter/"+l+"/"+a;return this.http.get(h.N.apiUrl+i).pipe((0,w.d)(1),(0,c.K)(e=>(this.onSendLogs(r.o.INFO,e,r.X.getDsarRequestFilter,n,o,i),(0,g._)(e))))}getDsarRequestFilterList(l,a,n,o,i){const e="/ccpa/data/"+l+"/"+a+n;return this.http.get(h.N.apiUrl+e).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.getDsarRequestFilterList,o,i,e),(0,g._)(s))))}getDSARRequestDetails(l,a,n,o,i){const e="/ccpa/data/"+l+"/"+a+"/"+n;return this.http.get(h.N.apiUrl+e).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.getDSARRequestDetails,o,i,e),(0,g._)(s))))}CreateEmailConfig(l,a,n,o){let i=y.R.CREATE_CUSTOMIZED_TEMPLATE.replace(":oid",o);return this.http.post(h.N.apiUrl+i,n).pipe((0,O.U)(e=>e),(0,c.K)(e=>(this.onSendLogs(r.o.INFO,e,r.X.billing,l,a,i),(0,g._)(e))))}Gettemplates(l,a,n){let o=y.R.CREATE_CUSTOMIZED_TEMPLATE.replace(":oid",n);return this.http.get(h.N.apiUrl+o).pipe((0,O.U)(i=>i),(0,c.K)(i=>(this.onSendLogs(r.o.INFO,i,r.X.billing,l,a,o),(0,g._)(i))))}edittemplates(l,a,n,o,i){let e=y.R.EDIT_CUSTOMIZED_TEMPLATE.replace(":oid",o);return e=e.replace(":id",i),this.http.put(h.N.apiUrl+e,n).pipe((0,O.U)(s=>s),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.billing,l,a,e),(0,g._)(s))))}deleteTemplates(l,a,n,o){let i=y.R.EDIT_CUSTOMIZED_TEMPLATE.replace(":oid",n);return i=i.replace(":id",o),this.http.delete(h.N.apiUrl+i).pipe((0,O.U)(e=>e),(0,c.K)(e=>(this.onSendLogs(r.o.INFO,e,r.X.billing,l,a,i),(0,g._)(e))))}getEmailTemplate(l,a,n){let o="/email/template"+l;return this.http.get(h.N.apiUrl+"/email/template",{params:{oid:l}}).pipe((0,c.K)(i=>(this.onSendLogs(r.o.INFO,i,r.X.emailTemplate,a,n,o),(0,g._)(i))))}getDSARRequestDetailsByID(l,a,n,o,i){const e="/ccpa/data/"+l+"/"+a+"/"+n+"?edit_fields=true";return this.http.get(h.N.apiUrl+e).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.getDSARRequestDetailsByID,o,i,e),(0,g._)(s))))}updateDSARRequestDetailsByID(l,a,n,o,i,e){const s="/ccpa/data/"+l+"/"+a+"/"+n;return this.http.put(h.N.apiUrl+s,o).pipe((0,w.d)(1),(0,c.K)(d=>(this.onSendLogs(r.o.INFO,d,r.X.updateDSARRequestDetailsByID,i,e,s),(0,g._)(d))))}addSubTask(l,a,n,o,i,e){const s="/ccpa/subtask/"+l+"/"+a+"/"+n;return this.http.post(h.N.apiUrl+s,o).pipe((0,w.d)(1),(0,c.K)(d=>(this.onSendLogs(r.o.INFO,d,r.X.addSubTask,i,e,s),(0,g._)(d))))}updateSubTask(l,a,n,o,i){const e="/ccpa/subtask/edit/"+l+"/"+a;return this.http.put(h.N.apiUrl+e,n).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.updateSubTask,o,i,e),(0,g._)(s))))}addSubTaskResponse(l,a,n,o,i,e,s){const d="/ccpa/subtask/response/"+a+"/"+n+"/"+o+"/"+l;return this.http.put(h.N.apiUrl+d,i).pipe((0,w.d)(1),(0,c.K)(f=>(this.onSendLogs(r.o.INFO,f,r.X.addSubTaskResponse,e,s,d),(0,g._)(f))))}getSubTask(l,a,n,o,i){if(i){const e="/ccpa/subtask/"+n+"/"+o+"/"+i;return this.http.get(h.N.apiUrl+e).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.getSubTask,l,a,e),(0,g._)(s))))}{const e="/ccpa/subtask/"+n+"/"+o;return this.http.get(h.N.apiUrl+e).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.getSubTask,l,a,e),(0,g._)(s))))}}viewUserUploadedFile(l,a,n){const i="/dsar/user/file/"+l;return this.http.get(h.N.apiUrl+i).pipe((0,O.U)(e=>e.response),(0,w.d)(1),(0,c.K)(e=>(this.onSendLogs(r.o.INFO,e,r.X.viewUserUploadedFile,a,n,i),(0,g._)(e))))}getSubTaskByWorkflowID(l,a,n,o){const e="/ccpa/subtask/"+l+"?workflow_stage="+a;return this.http.get(h.N.apiUrl+e).pipe((0,O.U)(s=>s.response),(0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.getSubTaskByWorkflowID,n,o,e),(0,g._)(s))))}verifyClientEmailID(l,a,n){const o="/dsar/email/verify/"+l;return this.http.post(h.N.apiUrl+o,{}).pipe((0,c.K)(i=>(this.onSendLogs(r.o.INFO,i,r.X.verifyClientEmailID,a,n,o),(0,g._)(i))))}onSendLogs(l,a,n,o,i,e){this.lokiService.onSendErrorLogs(l,a,n,o,i,e).subscribe()}viewClientsFileAttachments(l,a,n){const o="/dsar/file/"+l;return this.http.get(h.N.apiUrl+o,{}).pipe((0,c.K)(i=>(this.onSendLogs(r.o.INFO,i,r.X.viewClientsFileAttachments,a,n,o),(0,g._)(i))))}getSubtaskFileAttachements(l,a,n){const o="/upload/file?id="+l;return this.http.get(h.N.apiUrl+o,{}).pipe((0,c.K)(i=>(this.onSendLogs(r.o.INFO,i,r.X.viewSubtaskFileAttachements,a,n,o),(0,g._)(i))))}getClientsEmailAttachments(l,a,n){const o="/ccpa/file/email?email_activity_id="+l;return this.http.get(h.N.apiUrl+o,{}).pipe((0,c.K)(i=>(this.onSendLogs(r.o.INFO,i,r.X.viewClientsFileAttachments,a,n,o),(0,g._)(i))))}getRejectionReason(){return(0,C.D)([{id:1,reason:"Excessive request"},{id:2,reason:"Frivolous / unfounded request"},{id:3,reason:"Incomplete / partial request"},{id:4,reason:"No response verification"},{id:5,reason:"Not a privacy related request"},{id:6,reason:"Non-EU request"},{id:7,reason:"Repetitive request"}])}rejectDSARRequest(l,a,n,o){const i="/ccpa/activity/reject/"+l;return this.http.put(h.N.apiUrl+i,a).pipe((0,w.d)(1),(0,c.K)(e=>(this.onSendLogs(r.o.INFO,e,r.X.rejectDSARRequest,n,o,i),(0,g._)(e))))}
1reopenDeletedDSARRequest(l,a,n,o,i){const e="/ccpa/reopenrequest/"+l+"/"+a+"/"+n;return this.http.put(h.N.apiUrl+e,{}).pipe((0,w.d)(1),(0,c.K)(s=>(this.onSendLogs(r.o.INFO,s,r.X.reopenRejectedDSARRequest,o,i,e),(0,g._)(s))))}};let b=v;return v.\u0275fac=function(a){return new(a||v)(t.LFG(x.eN),t.LFG(S.L))},v.\u0275prov=t.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),b})()}}]);

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.