PageSourceSearch

https://portal.privacypillar.com/src_app_pagesettings_organization_organization_module_ts.0dbf89d7afd2e4c3.js

js privacypillar.com collected 2026-09-24 09:09:37 UTC 48,795 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_pagesettings_organization_organization_module_ts"],{75902:(A,Z,l)=>{l.d(Z,{J:()=>M});var h=l(61737),u=l(92340),v=l(27221),C=l(80096),s=l(28597),_=l(94650),O=l(80529),y=l(46262);let M=(()=>{const b=class{constructor(g,p){this.httpClient=g,this.lokiService=p}getCompanyDetails(g,p){const d="/company";return this.httpClient.get(u.N.apiUrl+d).pipe((0,v.K)(t=>(this.onSendLogs(s.o.INFO,t,s.X.getCompanyDetails,g,p,d),(0,h._)(t))))}updateCompanyDetails(g,p,d){const t="/company";return this.httpClient.put(u.N.apiUrl+t,d).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c,s.X.updateCompanyDetails,g,p,t),(0,h._)(c))))}updateTwoFactorDetails(g,p,d){const t="/company/two-factor-auth";return this.httpClient.put(u.N.apiUrl+t,d).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c,s.X.updateCompanyDetails,g,p,t),(0,h._)(c))))}updateTwoFactorUserDetails(g,p,d){const t="/user-update/two-factor-auth/"+d;return this.httpClient.put(u.N.apiUrl+t,{}).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c,s.X.updateCompanyDetails,g,p,t),(0,h._)(c))))}resetTwoFactorUserDetails(g,p,d){const t="/user-reset/two-factor-auth/"+d;return this.httpClient.put(u.N.apiUrl+t,{}).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c,s.X.updateCompanyDetails,g,p,t),(0,h._)(c))))}getCompanyTeamMembers(g,p,d){const t="/team_member";return this.httpClient.get(u.N.apiUrl+t+d).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c?.error?.error||c,s.X.getCompanyTeamMembers,g,p,t),(0,h._)(c))))}inviteUser(g,p,d,t){const c="/invite/user";return this.httpClient.post(u.N.apiUrl+c,d,{params:t}).pipe((0,C.d)(1),(0,v.K)(f=>(this.onSendLogs(s.o.INFO,f?.error?.error||f,s.X.inviteUser,g,p,c),(0,h._)(f))))}generateToken(g,p){const d="/company/create-app-id";return this.httpClient.get(u.N.apiUrl+d).pipe((0,C.d)(1),(0,v.K)(t=>(this.onSendLogs(s.o.INFO,t?.error?.error||t,s.X.inviteUser,g,p,d),(0,h._)(t))))}updateToken(g,p){const d="/company/update-app-id";return this.httpClient.get(u.N.apiUrl+d).pipe((0,C.d)(1),(0,v.K)(t=>(this.onSendLogs(s.o.INFO,t?.error?.error||t,s.X.inviteUser,g,p,d),(0,h._)(t))))}getToken(g,p){const d="/company/get-app-id";return this.httpClient.get(u.N.apiUrl+d).pipe((0,C.d)(1),(0,v.K)(t=>(this.onSendLogs(s.o.INFO,t?.error?.error||t,s.X.inviteUser,g,p,d),(0,h._)(t))))}updateUserRole(g,p,d){const t="/invite/user/updaterole";return this.httpClient.put(u.N.apiUrl+t,d).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c?.error?.error||c,s.X.updateUserRole,g,p,t),(0,h._)(c))))}removeTeamMember(g,p,d,t){let c;return c=t?"/invite/user/"+d.user_level+"/"+d.id+"/"+d.approver_id+"?orgid="+t:"/invite/user/"+d.user_level+"/"+d.id+"/"+d.approver_id,this.httpClient.delete(u.N.apiUrl+c).pipe((0,v.K)(f=>(this.onSendLogs(s.o.INFO,f?.error?.error||f,s.X.removeTeamMember,g,p,c),(0,h._)(f))))}resendInvitation(g,p,d,t){let c;return c=t?"/invite/user/resend?user_id="+d+"&orgid="+t:"/invite/user/resend?user_id="+d,this.httpClient.get(u.N.apiUrl+c).pipe((0,v.K)(f=>(this.onSendLogs(s.o.INFO,f,s.X.resendInvitation,g,p,c),(0,h._)(f))))}getUserList(g,p,d){const t="/invite/user/list?query="+g;return this.httpClient.get(u.N.apiUrl+t).pipe((0,v.K)(c=>(this.onSendLogs(s.o.INFO,c,s.X.getUserList,p,d,t),(0,h._)(c))))}onSendLogs(g,p,d,t,c,f){this.lokiService.onSendErrorLogs(g,p,d,t,c,f).subscribe()}};let F=b;return b.\u0275fac=function(p){return new(p||b)(_.LFG(O.eN),_.LFG(y.L))},b.\u0275prov=_.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),F})()},42666:(A,Z,l)=>{l.r(Z),l.d(Z,{OrganizationModule:()=>Kt});var h=l(36895),u=l(22096),v=l(67195),C=l(51692),s=l(24006),_=l(43265),O=l(3940),y=l(8929),M=l(18583),F=l(7625),b=l(80013),L=l(75778),g=l(12553),p=l(68078),d=l(92340),t=l(94650),c=l(64491),f=l(11481),J=l(75902),Q=l(37407),E=l(59129),R=l(4358),P=l(96923),K=l(42111),U=l(52712),q=l(82778),Y=l(2854);const $=["dt"];function V(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",27)(1,"button",28),t.NdJ("click",function(){t.CHM(e);const o=t.oxw(),r=t.MAs(37);return t.KtG(o.organizationModalPopup(r,""))}),t._UZ(2,"i-feather",29),t._uU(3," Add Organization"),t.qZA()()}if(2&i){const e=t.oxw();
1t.xp6(1),t.Q6J("ngClass",2!=e.quickDivID||e.quickDivID!=e.currentLinkID||e.iswindowclicked?"":"btn-qs-hightlight")}}function B(i,a){1&i&&(t.TgZ(0,"tr",30)(1,"th",31),t._uU(2,"Organization Name "),t._UZ(3,"p-sortIcon",32),t.qZA(),t.TgZ(4,"th",33),t._uU(5,"Address "),t._UZ(6,"p-sortIcon",34),t.qZA(),t.TgZ(7,"th",35),t._uU(8,"City "),t._UZ(9,"p-sortIcon",36),t.qZA(),t.TgZ(10,"th",37),t._uU(11,"State "),t._UZ(12,"p-sortIcon",38),t.qZA(),t.TgZ(13,"th",39),t._uU(14,"ZIP code"),t.qZA(),t.TgZ(15,"th",39),t._uU(16,"Action"),t.qZA()())}const I=function(){return{cursor:"pointer"}};function H(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"a",44),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw();return r.viewOrganization(o.id),t.KtG(r.checkForQsTooltip())}),t._UZ(1,"i",45),t._uU(2," View"),t.qZA()}2&i&&t.Q6J("ngStyle",t.DdM(1,I))}const k=function(i){return{color:i}};function G(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"a",46),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw();return r.enableOrganization(o.id),t.KtG(r.checkForQsTooltip())}),t._uU(1," Enable "),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.Q6J("ngStyle",t.VKq(1,k,e.active?"":"white"))}}const D=function(i,a){return{"row-disabled":i,"row-enabled":a}},w=function(i){return{cursor:i}};function W(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"tr",40)(1,"td")(2,"a",41),t.NdJ("click",function(){const r=t.CHM(e).$implicit,m=t.oxw();return(r.active||null==r.active)&&m.viewOrganization(r.id),t.KtG(m.checkForQsTooltip())}),t._uU(3),t.qZA()(),t.TgZ(4,"td"),t._uU(5),t.qZA(),t.TgZ(6,"td"),t._uU(7),t.qZA(),t.TgZ(8,"td"),t._uU(9),t.qZA(),t.TgZ(10,"td"),t._uU(11),t.qZA(),t.TgZ(12,"td"),t.YNc(13,H,3,2,"a",42),t.YNc(14,G,2,3,"a",43),t.qZA()()}if(2&i){const e=a.$implicit,n=t.oxw();t.Q6J("ngClass",t.WLB(10,D,0==e.active,1==e.active)),t.xp6(2),t.Q6J("ngStyle",t.VKq(13,w,e.active?"pointer":"")),t.xp6(1),t.Oqu(e.orgname),t.xp6(2),t.AsE("",e.address1," ",e.address2,""),t.xp6(2),t.Oqu(e.city),t.xp6(2),t.Oqu(e.state),t.xp6(2),t.Oqu(e.zipcode),t.xp6(2),t.Q6J("ngIf",1==e.active||void 0===e.active),t.xp6(1),t.Q6J("ngIf",0==e.active&&!n.isViewOnl
1yAccess)}}function X(i,a){1&i&&(t.TgZ(0,"tr",0)(1,"td",47),t._uU(2," No records found "),t.qZA()()),2&i&&(t.xp6(1),t.uIk("colspan",6))}function j(i,a){1&i&&(t.TgZ(0,"tr",30)(1,"th",31),t._uU(2,"Organization Name "),t._UZ(3,"p-sortIcon",32),t.qZA(),t.TgZ(4,"th",33),t._uU(5,"address1 "),t._UZ(6,"p-sortIcon",34),t.qZA(),t.TgZ(7,"th",35),t._uU(8,"City "),t._UZ(9,"p-sortIcon",36),t.qZA(),t.TgZ(10,"th",37),t._uU(11,"State "),t._UZ(12,"p-sortIcon",38),t.qZA(),t.TgZ(13,"th",39),t._uU(14,"ZIP code"),t.qZA(),t.TgZ(15,"th",39),t._uU(16,"Action"),t.qZA()())}function tt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"a",44),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw();return r.viewOrganization(o.id),t.KtG(r.checkForQsTooltip())}),t._UZ(1,"i",45),t._uU(2," View"),t.qZA()}2&i&&t.Q6J("ngStyle",t.DdM(1,I))}function et(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"a",46),t.NdJ("click",function(){t.CHM(e);const o=t.oxw().$implicit,r=t.oxw();return r.enableOrganization(o.id),t.KtG(r.checkForQsTooltip())}),t._uU(1," Enable "),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.Q6J("ngStyle",t.VKq(1,k,e.active?"":"white"))}}function it(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"tr",40)(1,"td")(2,"a",48),t.NdJ("click",function(){const r=t.CHM(e).$implicit,m=t.oxw();return(r.active||null==r.active)&&m.viewOrganization(r.id),t.KtG(m.checkForQsTooltip())}),t._uU(3),t.qZA()(),t.TgZ(4,"td"),t._uU(5),t.qZA(),t.TgZ(6,"td"),t._uU(7),t.qZA(),t.TgZ(8,"td"),t._uU(9),t.qZA(),t.TgZ(10,"td"),t._uU(11),t.qZA(),t.TgZ(12,"td"),t.YNc(13,tt,3,2,"a",42),t.YNc(14,et,2,3,"a",43),t.qZA()()}if(2&i){const e=a.$implicit,n=t.oxw();t.Q6J("ngClass",t.WLB(10,D,0==e.active,1==e.active)),t.xp6(2),t.Q6J("ngStyle",t.VKq(13,w,e.active?"pointer":"")),t.xp6(1),t.Oqu(e.orgname),t.xp6(2),t.AsE("",e.address1," ",e.address2,""),t.xp6(2),t.Oqu(e.city),t.xp6(2),t.Oqu(e.state),t.xp6(2),t.Oqu(e.zipcode),t.xp6(2),t.Q6J("ngIf",1==e.active||void 0===e.active),t.xp6(1),t.Q6J("ngIf",0==e.active&&!n.isViewOnl
1yAccess)}}function nt(i,a){1&i&&(t.TgZ(0,"tr",0)(1,"td",47),t._uU(2," No disabled organizations "),t.qZA()()),2&i&&(t.xp6(1),t.uIk("colspan",6))}function ot(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Organization name is required"),t.qZA())}function rt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Organization allow only Alphanumeric "),t.qZA())}function at(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Organization must be at least 2 characters long."),t.qZA())}function st(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Organization should not be greater than 20 characters."),t.qZA())}function lt(i,a){if(1&i&&(t.TgZ(0,"div",84),t.YNc(1,ot,2,0,"div",85),t.YNc(2,rt,2,0,"div",85),t.YNc(3,at,2,0,"div",85),t.YNc(4,st,2,0,"div",85),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.organizationname?null:e.editOrganisationForm.controls.organizationname.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.organizationname?null:e.editOrganisationForm.controls.organizationname.errors.pattern),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.organizationname?null:e.editOrganisationForm.controls.organizationname.errors.minlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.organizationname?null:e.editOrganisationForm.controls.organizationname.errors.maxlength)}}function dt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Address 1 is required"),t.qZA())}function ct(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Address 1 must be at least 6 characters long."),t.qZA())}function gt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Address 1 should not be greater than 200 characters."),t.qZA())}function pt(i,a){if(1&i&&(t.TgZ(0,"div",84),t.YNc(1,dt,2,0,"div",85),t.YNc(2,ct,2,0,"div",85),t.YNc(3,gt,2,0,"div",85),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.addressone.errors?null:e.editOrganisationForm.controls.addressone.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.addressone.errors?null:e.editOrganisationForm.controls.addressone.errors.minlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.addressone.errors?null:e.editOrganisationForm.controls.addressone.errors.maxlength)}}function ut(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"City is required"),t.qZA())}function mt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"City must be at least 2 characters long."),t.qZA())}function ht(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"City should not be greater than 250 characters."),t.qZA())}function _t(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"City allow only Alphabets"),t.qZA())}function vt(i,a){if(1&i&&(t.TgZ(0,"div",84),t.YNc(1,ut,2,0,"div",85),t.YNc(2,mt,2,0,"div",85),t.YNc(3,ht,2,0,"div",85),t.YNc(4,_t,2,0,"div",85),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.cityname?null:e.editOrganisationForm.controls.cityname.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.cityname?null:e.editOrganisationForm.controls.cityname.errors.minlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.cityname?null:e.editOrganisationForm.controls.cityname.errors.maxlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.cityname?null:e.editOrganisationForm.controls.cityname.errors.pattern)}}function Ot(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"State is required"),t.qZA())}function ft(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"State should not be greater than 250 characters."),t.qZA())}function Ct(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"State allow only Alphabets"),t.qZA())}function yt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"State must be at least 2 characters long."),t.qZA())}function bt(i,a){if(1&i&&(t.TgZ(0,"div",84),t.YNc(1,Ot,2,0,"div",85),t.YNc(2,ft,2,0,"div",85),t.YNc(3,Ct,2,0,"div",85),t.YNc(4,yt,2,0,"div",85),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.statename?null:e.editOrganisationForm.controls.statename.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.statename?null:e.editOrganisationForm.controls.statename.errors.maxlength),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.statename?null:e.editOrganisationForm.controls.statename.errors.pattern),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.statename.errors.minlength)}}function xt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Zip code is required"),t.qZA())}function Tt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Zip code allow only Numeric & Alphanumeric values"),t.qZA())}function Mt(i,a){if(1&i&&(t.TgZ(0,"div",84),t.YNc(1,xt,2,0,"div",85),t.YNc(2,Tt,2,0,"div",85),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.zipcodenum?null:e.editOrganisationForm.controls.zipcodenum.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.zipcodenum?null:e.editOrganisationForm.controls.zipcodenum.errors.pattern)}}function Zt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Email is required"),t.qZA())}function zt(i,a){1&i&&(t.TgZ(0,"div"),t._uU(1,"Please enter valid email address"),t.qZA())}function Ft(i,a){if(1&i&&(t.TgZ(0,"div",84),t.YNc(1,Zt,2,0,"div",85),t.YNc(2,zt,2,0,"div",85),t.qZA()),2&i){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.email?null:e.editOrganisationForm.controls.email.errors.required),t.xp6(1),t.Q6J("ngIf",null==e.editOrganisationForm.controls.email?null:e.editOrganisationForm.controls.email.errors.email)}}function Pt(i,a){1&i&&(t.TgZ(0,"div",86)(1,"div"),t._uU(2,"Enter valid phone number"),t.qZA()())}const z=function(i){return{"is-invalid":i}},At=function(i){return{"is-invalid-intphone-textbox":i}};function Ut(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"div",49)(1,"h4",50),t._uU(2,"Add Organization "),t.qZA(),t.TgZ(3,"button",51),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return o.onResetEditOrganization(),t.KtG(o.checkForQsTooltip())}),t.TgZ(4,"span",52),t._uU(5,"\xd7"),t.qZA()()(),t.TgZ(6,"div",53)(7,"form",54),t.NdJ("ngSubmit",function(){t.CHM(e);const o=t.oxw();return o.updateOrganisationData(),t.KtG(o.checkForQsTooltip())}),t.TgZ(8,"div",55)(9,"div",56)(10,"div",57)(11,"label",58),t._uU(12,"Organization Name"),t._UZ(13,"i",59),t.qZA(),t.TgZ(14,"input",60),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.organizationname=o)}),t.qZA(),t.YNc(15,lt,5,4,"div",61),t.qZA()()(),t.TgZ(16,"div",55)(17,"div",62)(18,"div",57)(19,"label",63),t._uU(20,"Tax ID"),t.qZA(),t.TgZ(21,"input",64),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.taxidnumber=o)}),t.qZA()()(),t.TgZ(22,"div",62)(23,"div",57)(24,"label",65),t._uU(25,"Address: Line 1"),t._UZ(26,"i",59),t.qZA(),t.TgZ(27,"input",66),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.addressone=o)}),t.qZA(),t.YNc(28,pt,4,3,"div",61),t.qZA()()(),t.TgZ(29,"div",55)(30,"div",62)(31,"div",57)(32,"label",67),t._uU(33,"Address: Line 2"),t.qZA(),t.TgZ(34,"input",68),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.addresstwo=o)}),t.qZA()()(),t.TgZ(35,"div",62)(36,"div",57)(37,"label",69),t._uU(38,"City"),t._UZ(39,"i",59),t.qZA(),t.TgZ(40,"input",70),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.cityname=o)}),t.qZA(),t.YNc(41,vt,5,4,"div",61),t.qZA()()(),t.TgZ(42,"div",55)(43,"div",62)(44,"div",57)(45,"label",71),t._uU(46,"State"),t._UZ(47,"i",59),t.qZA(),t.TgZ(48,"input",72),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.statename=o)}),t.qZA(),t.YNc(49,bt,5,4,"div",61),t.qZA()(),t.TgZ(50,"div",62)(51,"div",57)(52,"label",71),t._uU(53,"ZIP Code"),t._UZ(54,"i",59),t.qZA(),t.TgZ(55,"input",73),t.NdJ("ngModelChange",function(o){t.CHM(e);const r=t.oxw();return t.KtG(r.zipcodenum=o)}),t.qZA(),t.YNc(56,Mt,3,2,"div",61),t.qZA()()(),t.TgZ(57,"div",55)(58,"div",62)(59,"div",57)(60,"label",74),t._uU(61,"Email"),t._UZ(62,"i",59),t.qZA(),t._UZ(63,"input",75),t.YNc(64,Ft,3,2,"div",61),t.qZA()(),t.TgZ(65,"div",62)(66,"div",76)(67,"label",77),t._uU(68,"Phone"),t.qZA(),t._UZ(69,"ngx-intl-tel-input",78),t.qZA(),t.YNc(70,Pt,3,0,"div",79),t.qZA()(),t.TgZ(71,"div",80)(72,"div",81)(73,"button",82),t.NdJ("click",function(){t.CHM(e);const o=t.oxw();return o.onResetEditOrganization(),t.KtG(o.checkForQsTooltip())}),t._uU(74,"Cancel"),t.qZA(),t.TgZ(75,"button",83),t._uU(76,"Save"),t.qZA()()()()()}if(2&i){const e=t.oxw();
1t.xp6(7),t.Q6J("formGroup",e.editOrganisationForm),t.xp6(7),t.Q6J("ngModel",e.organizationname)("ngClass",t.VKq(31,z,e.editOrganisationForm.controls.organizationname.invalid&&(e.editOrganisationForm.controls.organizationname.dirty||e.editOrganisationForm.controls.organizationname.touched)||e.submitted&&(null==e.editOrg.organizationname?null:e.editOrg.organizationname.errors))),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.organizationname.invalid&&(e.editOrganisationForm.controls.organizationname.dirty||e.editOrganisationForm.controls.organizationname.touched)||e.submitted&&(null==e.editOrg.organizationname?null:e.editOrg.organizationname.errors)),t.xp6(6),t.Q6J("ngModel",e.taxidnumber),t.xp6(6),t.Q6J("ngModel",e.addressone)("ngClass",t.VKq(33,z,e.editOrganisationForm.controls.addressone.invalid&&(e.editOrganisationForm.controls.addressone.dirty||e.editOrganisationForm.controls.addressone.touched)||e.submitted&&(null==e.editOrg.addressone?null:e.editOrg.addressone.errors))),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.addressone.invalid&&(e.editOrganisationForm.controls.addressone.dirty||e.editOrganisationForm.controls.addressone.touched)||e.submitted&&(null==e.editOrg.addressone?null:e.editOrg.addressone.errors)),t.xp6(6),t.Q6J("ngModel",e.addresstwo),t.xp6(6),t.Q6J("ngModel",e.cityname)("ngClass",t.VKq(35,z,e.editOrganisationForm.controls.cityname.invalid&&(e.editOrganisationForm.controls.cityname.dirty||e.editOrganisationForm.controls.cityname.touched)||e.submitted&&(null==e.editOrg.cityname?null:e.editOrg.cityname.errors))),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.cityname.invalid&&(e.editOrganisationForm.controls.cityname.dirty||e.editOrganisationForm.controls.cityname.touched)||e.submitted&&(null==e.editOrg.cityname?null:e.editOrg.cityname.errors)),t.xp6(7),t.Q6J("ngModel",e.statename)("ngClass",t.VKq(37,z,e.editOrganisationForm.controls.statename.invalid&&(e.editOrganisationForm.controls.statename.dirty||e.editOrganisationForm.controls.statename.touched)||e.submitted&&(null==e.editOrg.statename?null:e.editOrg.statename.errors))),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.statename.invalid&&(e.editOrganisationForm.controls.statename.dirty||e.editOrganisationForm.controls.statename.touched)||e.submitted&&(null==e.editOrg.statename?null:e.editOrg.statename.errors)),t.xp6(6),t.Q6J("ngModel",e.zipcodenum)("ngClass",t.VKq(39,z,e.editOrganisationForm.controls.zipcodenum.invalid&&(e.editOrganisationForm.controls.zipcodenum.dirty||e.editOrganisationForm.controls.zipcodenum.touched)||e.submitted&&(null==e.editOrg.zipcodenum?null:e.editOrg.zipcodenum.errors))),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.zipcodenum.invalid&&(e.editOrganisationForm.controls.zipcodenum.dirty||e.editOrganisationForm.controls.zipcodenum.touched)||e.submitted&&(null==e.editOrg.zipcodenum?null:e.editOrg.zipcodenum.errors)),t.xp6(7),t.Q6J("ngClass",t.VKq(41,z,e.editOrganisationForm.controls.email.invalid&&(e.editOrganisationForm.controls.email.dirty||e.editOrganisationForm.controls.email.touched)||e.submitted&&(null==e.editOrg.email?null:e.editOrg.email.errors))),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.email.invalid&&(e.editOrganisationForm.controls.email.dirty||e.editOrganisationForm.controls.email.touched)||e.submitted&&(null==e.editOrg.email?null:e.editOrg.email.errors)),t.xp6(5),t.Q6J("cssClass","int-phone-custom")("enableAutoCountrySelect",!0)("selectedCountryISO",e.CountryISO.UnitedStates)("enablePlaceholder",!0)("searchCountryFlag",!0)("selectFirstCountry",!0)("maxLength",15)("phoneValidation",!0)("separateDialCode",!0)("ngClass",t.VKq(43,At,e.editOrganisationForm.controls.phone.touched&&(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)||(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)&&e.submitted)),t.xp6(1),t.Q6J("ngIf",e.editOrganisationForm.controls.phone.touched&&(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)||(null==e.editOrganisationForm.controls.phone?null:e.editOrganisationForm.controls.phone.invalid)&&e.submitted||e.submitted&&(null==e.editOrganisationForm.controls.phone||null==e.editOrganisationForm.controls.phone.errors?null:e.editOrganisationForm.controls.phone.errors.required))}}function qt(i,a){if(1&i){const e=t.EpF();t.TgZ(0,"alert",87),t.NdJ("onClosed",function(){t.CHM(e);const o=t.oxw();return t.KtG(o.onClosed(o.alertMsg))}),t._uU(1),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("type",e.alertType)("dismissible",e.dismissible),t.xp6(1),t.Oqu(e.alertMsg)}}const It=function(i,a){return{oid:i,pid:a}},N=function(){return[10,20,30]},S=function(){return["orgname","address1","city","state","zipcode"]},kt=function(i){return{hide:i}},Nt=[{path:"",component:(()=>{const a=class{constructor(n,o,r,m,T,x,Yt,$t,Vt,Bt,Ht,Gt){this.formBuilder=n,this.orgservice=o,this.modalService=r,this.sanitizer=m,this.userService=T,this.companyService=x,this.router=Yt,this.loading=$t,this.activatedRoute=Vt,this.quickmenuService=Bt,this.cdRef=Ht,this.titleService=Gt,this.unauthorizedActionMessage="You are not authorized to access this functionality. Please contact your Administrator",this.orgList=[],this.orgDetails=[],this.btnText="Show",this.editPropertyrow=!1,this.showOrgDetails=!1,this.p=1,this.pageSize=5,this.selectedOrganization=[],this.searchText="",this.dismissible=!0,this.isOpen=!1,this.userRole="",this.isViewOnl
1yAccess=!1,this.guidancetext="Add your organization",this.unsubscribeAfterUserAction$=new y.xQ,this.text="Add your organization...",this.highlightbtn=!1,this.consentRecordCount=0,this.tLoading=!0,this.disabledorgList=[],this.nameDebouncer$=new y.xQ,this.nameSearch="",this.CountryISO=g.HT,this.paginationConfig={itemsPerPage:this.pageSize,currentPage:this.p,totalItems:this.totalCount},this.titleService.setTitle("Organizations - "+d.N.portalPrefix)}ngOnInit(){this.showQuickStartTooltip(),this.userService.isRevisitedQSMenuLink.subscribe(x=>{this.isRevistedLink=x.reclickqslink,this.currentLinkID=x.quickstartid}),this.isEditable=!1,this.isEditProperty=!1;const r="^[a-zA-Z -']+",m="^(?![0-9]*$)[a-zA-Z0-9 ]+$";this.organisationPropertyForm=this.formBuilder.group({propertyname:["",[s.kI.required,s.kI.pattern(m)]],website:["",[s.kI.required,s.kI.pattern("(https?://)?([\\da-z.-]+)\\.([a-z.]{2,6})[/\\w .-]*/?")]],logourl:[""]}),this.editOrganisationForm=this.formBuilder.group({organizationname:["",[s.kI.required,s.kI.pattern(m)]],taxidnumber:[""],addressone:["",[s.kI.required]],addresstwo:[""],cityname:["",[s.kI.required,s.kI.pattern(r)]],statename:["",[s.kI.required,s.kI.pattern(r)]],zipcodenum:["",[s.kI.required,s.kI.pattern("^[a-zA-Z0-9 ]+$")]],email:["",[s.kI.required,s.kI.email]],phone:new s.NI("")}),this.getLoggedInUserDetails(),this.activatedRoute.queryParamMap.subscribe(x=>{this.queryOID=x.get("oid"),this.queryPID=x.get("pid")}),this.setupFirstNameDebouncer(),this.router.events.subscribe(x=>{"popstate"===x.navigationTrigger&&this.modalService.dismissAll("Data Saved!")})}get orgProp(){return this.organisationPropertyForm.controls}get editOrg(){return this.editOrganisationForm.controls}getLoggedInUserDetails(){this.userService.getLoggedInUserData.pipe((0,M.g)(1e3)).subscribe(n=>{null!==n&&(this.currentUser=n,this.companyID=this.currentUser.response.cID,this.userRole=this.currentUser?.response?.role||"",this.isViewOnlyAccess=this.isViewOnlyUser())},n=>{this.alertMsg=JSON.stringify(n),this.isOpen=!0,this.alertType="danger"})}uploadFile(n){if(n.target.files.length>0){const o=n.target.files[0];this.organisationPropertyForm.get("logo").setValue(o)}}onGetConsentSolutionData(n){this.tLoading=!0,this.eventRows=n.rows,this.firstone=0===n.first?1:n.first/n.rows+1,this.pagelimit="?limit="+this.eventRows+"&page="+this.firstone,this.disloadOrganizationList()}onGetActiveData(n){this.lazyevents=n,this.tLoading=!0,this.eventRows=n.rows,this.firstone=0===n.first?1:n.first/n.rows+1,this.pagelimit="?limit="+this.eventRows+"&page="+this.firstone,this.loadOrganizationList()}loadOrganizationList(){this.pagelimit={limit:this.eventRows,page:this.firstone,active:!0,search:this.nameSearch},this.loading.start(),this.orgservice.orglist(this.constructor.name,O.e.consentSolutionModule,this.pagelimit).subscribe(n=>(this.loading.stop(),this.orgcount=n.count,this.orgList=(0,p.cn)(this.lazyevents,n.response),this.orgList),n=>{this.alertMsg=n,this.isOpen=!0,this.alertType="danger"})}onNameInputChange(n){this.nameSearch=n.target.value,this.nameDebouncer$.next(n.target.value)}setupFirstNameDebouncer(){this.nameDebouncer$.pipe((0,b.b)(1e3),(0,L.x)()).subscribe(n=>{this.pTable.reset()})}disloadOrganizationList(){this.pagelimit={limit:this.eventRows,page:this.firstone,active:!1},this.loading.start(),this.orgservice.disaleorglist(this.constructor.name,O.e.consentSolutionModule,this.pagelimit).subscribe(n=>(this.loading.stop(),this.consentRecordCount=n.count,this.disabledorgList=(0,p.cn)(this.lazyevents,n.response),this.disabledorgList),n=>{this.alertMsg=n,this.isOpen=!0,this.alertType="danger"})}searchOrganization(n){this.orgservice.searchOragnization(this.companyID,n,this.constructor.name,O.e.consentSolutionModule).subscribe(o=>{this.orgList=o.response,this.orgcount=o.response.length})}clearSearchfield(){this.searchText="",this.loadOrganizationList()}loadOrganizationDetails(n){this.orgDetails=[],this.showOrgDetails=!this.showOrgDetails,this.orgservice.viewOrganizationDetails(n.orgid,this.constructor.name,O.e.consentSolutionModule).subscribe(o=>{this.orgDetails.push(o.response)},o=>{this.loading.stop(),this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}
1updateOrganisationData(){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();if(this.submitted=!0,!this.editOrganisationForm.invalid){const n={orgname:this.capitalizeFirstLetter(this.editOrganisationForm.value.organizationname),tax_id:this.editOrganisationForm.value.taxidnumber,address1:this.editOrganisationForm.value.addressone,address2:this.editOrganisationForm.value.addresstwo,city:this.editOrganisationForm.value.cityname,state:this.editOrganisationForm.value.statename,zipcode:this.editOrganisationForm.value.zipcodenum,email:this.editOrganisationForm.value.email.toLowerCase(),phone:null!==this.editOrganisationForm.value.phone?this.editOrganisationForm.value.phone.internationalNumber:""};this.loading.start(),this.orgservice.addOrganization(n,this.constructor.name,O.e.consentSolutionModule).subscribe(o=>{this.loading.stop(),o&&(this.orgservice.emitUpdatedOrganization.emit(o),this.orgservice.setCurrentOrgWithProperty(o),this.viewOrganization(o.response.id),this.alertMsg="Organization Added successfully!",this.isOpen=!0,this.alertType="success",this.orgservice.isOrganizationUpdated.next(!0),this.onResetEditOrganization(),this.orgDetails=[],this.showOrgDetails=!1,this.loadOrganizationList(),this.isEditable=!1)},o=>{this.loading.stop(),this.onResetEditOrganization(),this.submitted=!1,this.alertMsg=JSON.stringify(o?.error?.error),this.isOpen=!0,this.alertType="danger"})}}open(n,o){this.propertyname="",this.website="",this.logourl="",this.selectedOrg=o,this.isEditProperty=!1,this.modalRef=this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{this.closeResult=`Closed with: ${r}`},r=>{this.closeResult=`Dismissed ${this.getDismissReason(r)}`})}getDismissReason(n){return n===_.If.ESC?"by pressing ESC":n===_.If.BACKDROP_CLICK?"by clicking on a backdrop":`with: ${n}`}getPropertyList(n){this.orgservice.getPropertyList(n,this.constructor.name,O.e.consentSolutionModule).subscribe(o=>(this.orgservice.emitUpdatedOrgList.emit(o.response),o.response||(this.alertMsg="Adding property is mandatory. Add Property first!",this.isOpen=!0,this.alertType="info"),this.propertyList=o.response),o=>{this.alertMsg=o,this.isOpen=!0,this.alertType="danger"})}transform(n){return this.sanitizer.bypassSecurityTrustResourceUrl(n)}editModalPopup(n,o){this.isEditProperty=!0,this.propertyname=o.propname,this.website=o.website,this.logourl=o.logo_url,this.myContext={oid:o.oid,pid:o.pid},this.modalRef=this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{this.organisationPropertyForm.reset(),this.closeResult=`Closed with: ${r}`},r=>{this.organisationPropertyForm.reset(),this.closeResult=`Dismissed ${this.getDismissReason(r)}`})}organizationModalPopup(n,o){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();if(void 0!==this.quickDivID||""!==this.quickDivID){let r={linkid:this.quickDivID,indexid:1,isactualbtnclicked:!0,islinkclicked:!0};this.quickmenuService.onClickEmitQSLinkobj.next(r),this.quickmenuService.updateQuerymenulist(r)}""!==o?(this.myContext={oid:o.id},this.organizationname=o.orgname,this.taxidnumber=o.taxID,this.addressone=o.address1,this.addresstwo=o.address2,this.cityname=o.city,this.statename=o.state,this.zipcodenum=o.zipcode,this.email=o.email,this.phone=o.phone,this.modalRef=this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{this.editOrganisationForm.reset(),this.closeResult=`Closed with: ${r}`},r=>{this.editOrganisationForm.reset(),this.closeResult=`Dismissed ${this.getDismissReason(r)}`})):(this.organizationname="",this.taxidnumber="",this.addressone="",this.addresstwo="",this.cityname="",this.statename="",this.zipcodenum="",this.email="",this.phone="",this.modalRef=this.modalService.open(n,{ariaLabelledBy:"modal-basic-title"}).result.then(r=>{this.editOrganisationForm.reset(),this.closeResult=`Closed with: ${r}`},r=>{this.editOrganisationForm.reset(),this.closeResult=`Dismissed ${this.getDismissReason(r)}`}))}onClickOrgbtn(){this.isorgqsmenu=!this.isorgqsmenu}onResetEditOrganization(){this.userService.onRevistQuickStartmenulink.next({quickstartid:this.quickDivID,reclickqslink:!0,urlchanged:!1}),this.quickDivID="",this.submitted=!1,this.editOrganisationForm.reset(),this.modalService.dismissAll("Data Saved!")}clickToManage(n){this.router.navigate(["propertydashboard/",n])}pageChangeEvent(n){this.paginationConfig.currentPage=n;const o="?limit="+this.paginationConfig.itemsPerPage+"&page="+this.paginationConfig.currentPage;this.loading.start(),this.orgservice.orglist(this.constructor.name,O.e.consentSolutionModule,o).subscribe(r=>(this.loading.stop(),this.orgList=r.response,this.paginationConfig.totalItems=r.count,this.orgList))}
1enableOrganization(n){if(this.isViewOnlyUser())return this.blockUnauthorizedAction();this.orgservice.disableOrganization(n,{active:!0},this.constructor.name,O.e.consentSolutionModule).subscribe(r=>{r&&(this.orgservice.isOrganizationUpdated.next(!0),this.alertMsg="Selected organization has been enabled!",this.isOpen=!0,this.alertType="success",this.loadOrganizationList(),this.disloadOrganizationList())},r=>{this.loading.stop(),this.alertMsg=r,this.isOpen=!0,this.alertType="danger"})}onChangeEvent(n){this.paginationConfig.itemsPerPage=Number(n.target.value),this.paginationConfig.currentPage=1,this.loadOrganizationList()}viewOrganization(n){void 0!==this.queryOID&&void 0!==this.queryPID&&this.router.navigate(["settings/organizations/details",n],{queryParams:{oid:this.queryOID,pid:this.queryPID},queryParamsHandling:"merge",skipLocationChange:!1})}sortNumberColumn(){this.ascNumberSort=!this.ascNumberSort,this.orgList.sort(this.ascNumberSort?(n,o)=>n-o:(n,o)=>o-n)}capitalizeFirstLetter(n){return n.charAt(0).toUpperCase()+n.slice(1)}onClosed(n){this.alertMsg=!n,this.isOpen=!1}ngAfterViewInit(){this.userService.isRevisitedQSMenuLink.subscribe(n=>{this.isRevistedLink=n.reclickqslink,this.currentLinkID=n.quickstartid,this.iswindowclicked=n.urlchanged}),this.showQuickStartTooltip(),this.cdRef.detectChanges()}showQuickStartTooltip(){const n=this.quickmenuService.getQuerymenulist();this.quickmenuService.onClickEmitQSLinkobj.pipe((0,F.R)(this.unsubscribeAfterUserAction$)).subscribe(o=>{if(0!==n.length){const r=n.findIndex(m=>1==m.index);(n[r].quicklinks.some(m=>m.linkid==o.linkid&&m.isactualbtnclicked)||n[r].quicklinks.some(m=>m.linkid==o.linkid&&!m.isactualbtnclicked))&&(this.quickDivID=o.linkid)}}),this.unsubscribeAfterUserAction$.next(),this.unsubscribeAfterUserAction$.complete()}checkForQsTooltip(){this.quickDivID="",this.userService.onRevistQuickStartmenulink.next({quickstartid:this.quickDivID,reclickqslink:!0,urlchanged:!0})}ngAfterViewChecked(){this.cdRef.detectChanges()}ngOnDestroy(){this.quickDivID="",this.unsubscribeAfterUserAction$.unsubscribe()}isViewOnlyUser(){return(this.userRole||"").toString().toLowerCase().includes("view only")}blockUnauthorizedAction(){return this.alertMsg=this.unauthorizedActionMessage,this.isOpen=!0,this.alertType="danger",!1}};let i=a;return a.\u0275fac=function(o){return new(o||a)(t.Y36(s.QS),t.Y36(c.Mn),t.Y36(_.FF),t.Y36(f.H7),t.Y36(c.KD),t.Y36(J.J),t.Y36(C.F0),t.Y36(Q.LA),t.Y36(C.gz),t.Y36(E.K),t.Y36(t.sBO),t.Y36(f.Dx))}
1,a.\u0275cmp=t.Xpm({type:a,selectors:[["app-orgpage"]],viewQuery:function(o,r){if(1&o&&t.Gf($,5),2&o){let m;t.iGM(m=t.CRH())&&(r.pTable=m.first)}},decls:40,vars:33,consts:[["appTheme",""],[1,"mb-3"],["aria-label","breadcrumb"],[1,"breadcrumb","breadcrumb-style1","mg-b-0"],[1,"breadcrumb-item"],["routerLink","/settings",3,"queryParams","click"],["aria-current","page",1,"breadcrumb-item","active"],[1,"table-responsive","organization-div"],[1,"card"],[1,"card-header"],[1,"searchfield","mt-3"],[1,"col-3","input-group"],[1,"input-group-append"],["type","text","pInputText","","placeholder","Search Organization Name",1,"txtfil",2,"margin-left","2px","width","250px",3,"keyup"],["class","ml-auto mr-3",4,"ngIf"],["align","center","type","dashed"],[1,"card-body"],["currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries","styleClass","p-datatable-sm",1,"organization-table",3,"value","lazy","responsive","paginator","rows","rowHover","showCurrentPageReport","totalRecords","rowsPerPageOptions","globalFilterFields","onLazyLoad"],["dt",""],["pTemplate","header"],["pTemplate","body"],["pTemplate","emptymessage"],[2,"margin-bottom","100px"],["currentPageReportTemplate","Showing {first} to {last} of {totalRecords} entries","styleClass","p-datatable-sm",1,"organization-table",3,"value","lazy","responsive","paginator","rows","rowHover","showCurrentPageReport","totalRecords","globalFilterFields","rowsPerPageOptions","onLazyLoad"],["editOrgModal",""],[1,"col-sm-5","mr-0","float-right","flotingdiv",3,"ngClass"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed",4,"ngIf"],[1,"ml-auto","mr-3"],["type","button","data-toggle","modal",1,"btn","btn-sm","btn-primary","btn-uppercase","mr-1",2,"text-transform","none","font-size","smaller",3,"ngClass","click"],["name","plus",1,"feather-16"],[2,"text-align","center"],["scope","col","pSortableColumn","orgname"],["field","orgname"],["scope","col","pSortableColumn","address1"],["field","address1"],["scope","col","pSortableColumn","city"],["field","city"],["scope","col","pSortableColumn","state"],["field","state"],["scope","col"],["appTheme","",3,"ngClass"],["name","activeOrganization",2,"color","var(--side-nav-org)",3,"ngStyle","click"],["class","pd-r-5",3,"ngStyle","click",4,"ngIf"],["class","badge badge-success pd-r-5 cursor-pointer",3,"ngStyle","click",4,"ngIf"],[1,"pd-r-5",3,"ngStyle","click"],[1,"fas","fa-external-link-alt"],[1,"badge","badge-success","pd-r-5","cursor-pointer",3,"ngStyle","click"],[2,"color","var(--side-nav-org)"],["name","deactiveOrganization",2,"color","var(--side-nav-org)",3,"ngStyle","click"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],["appTheme","",1,"modal-body"],[3,"formGroup","ngSubmit"],[1,"row"],[1,"col-sm-12"],[1,"form-group"],["for","organizationname"],["aria-hidden","true",1,"tx-8","fa","fa-asterisk","tx-danger","ml-1",2,"vertical-align","super"],["minlength","2","maxlength","55","type","text","formControlName","organizationname","name","organizationname","placeholder","Enter Organization name",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["class","invalid-feedback",4,"ngIf"],[1,"col-sm-6"],["for","taxidnumber"],["type","text","formControlName","taxidnumber","name","taxidnumber","placeholder","Enter Tax ID",1,"form-control",3,"ngModel","ngModelChange"],["for","addressone"],["type","text","minlength","6","maxlength","200","formControlName","addressone","name","addressone","placeholder","Enter Flat, House number, and so on",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["for","addresstwo"],["type","text","formControlName","addresstwo","name","addresstwo","placeholder","Enter Street, Area, Village, and so on",1,"form-control",3,"ngModel","ngModelChange"],["for","city"],["minlength","2","maxlength","250","type","text","formControlName","cityname","name","cityname","placeholder","Enter your city",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["for","state"],["type","text","maxlength","250","minlength","2","formControlName","statename","name","statename","placeholder","Enter your state",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["type","text","formControlName","zipcodenum","name","zipcodenum","placeholder","Enter your ZIP code",1,"form-control",3,"ngModel","ngClass","ngModelChange"],["for","email"],["type","text","formControlName","email","name","email","placeholder","Enter your email",1,"form-control",3,"ngClass"],[1,"form-group","mb-1"],["for","phone"],["name","phone","formControlName","phone",3,"cssClass","enableAutoCountrySelect","selectedCountryISO","enablePlaceholder","searchCountryFlag","selectFirstCountry","maxLength","phoneValidation","separateDialCode","ngClass"],["class","is-invalid-intphone",4,"ngIf"],[1,"row","pull-right-btn"],[1,"text-right"],["type","button",1,"btn","btn-link","tx-decoration-underline",3,"click"],["type","submit",1,"btn","btn-xs","btn-primary","mr-3"],[1,"invalid-feedback"],[4,"ngIf"],[1,"is-invalid-intphone"],["dismissOnTimeout","5000",3,"type","dismissible","onClosed"]],template:function(o,r){1&o&&(t.TgZ(0,"div",0)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"a",5),t.NdJ("click",function(){return r.checkForQsTooltip()}),t._uU(6,"Settings"),t.qZA()(),t.TgZ(7,"li",6),t._uU(8,"Organizations"),t.qZA()()()(),t.TgZ(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"div",11)(14,"span",12)(15,"input",13),t.NdJ("keyup",function(T){return r.onNameInputChange(T)}),t.qZA()()(),t.YNc(16,V,4,1,"div",14),t.qZA()(),t.TgZ(17,"p-div
1ider",15)(18,"b"),t._uU(19,"Active"),t.qZA()(),t.TgZ(20,"div",16)(21,"p-table",17,18),t.NdJ("onLazyLoad",function(T){return r.onGetActiveData(T)}),t.YNc(23,B,17,0,"ng-template",19),t.YNc(24,W,15,15,"ng-template",20),t.YNc(25,X,3,1,"ng-template",21),t.qZA()(),t.TgZ(26,"p-divider",15)(27,"b"),t._uU(28,"Disabled"),t.qZA()(),t.TgZ(29,"div",16)(30,"div",22)(31,"p-table",23,18),t.NdJ("onLazyLoad",function(T){return r.onGetConsentSolutionData(T)}),t.YNc(33,j,17,0,"ng-template",19),t.YNc(34,it,15,15,"ng-template",20),t.YNc(35,nt,3,1,"ng-template",21),t.qZA()()()()()(),t.YNc(36,Ut,77,45,"ng-template",null,24,t.W1O),t.TgZ(38,"div",25),t.YNc(39,qt,2,3,"alert",26),t.qZA()),2&o&&(t.xp6(5),t.Q6J("queryParams",t.WLB(24,It,r.queryOID,r.queryPID)),t.xp6(11),t.Q6J("ngIf",!r.isViewOnlyAccess),t.xp6(5),t.Q6J("value",r.orgList)("lazy",!0)("responsive",!0)("paginator",!0)("rows",10)("rowHover",!0)("showCurrentPageReport",!0)("totalRecords",r.orgcount)("rowsPerPageOptions",t.DdM(27,N))("globalFilterFields",t.DdM(28,S)),t.xp6(10),t.Q6J("value",r.disabledorgList)("lazy",!0)("responsive",!0)("paginator",!0)("rows",10)("rowHover",!0)("showCurrentPageReport",!0)("totalRecords",r.consentRecordCount)("globalFilterFields",t.DdM(29,S))("rowsPerPageOptions",t.DdM(30,N)),t.xp6(7),t.Q6J("ngClass",t.VKq(31,kt,!r.isOpen)),t.xp6(1),t.Q6J("ngIf",r.isOpen))},dependencies:[h.mk,h.O5,h.PC,u.u,R.wx,g.FV,g.mh,s._Y,s.Fj,s.JJ,s.JL,s.wO,s.nD,s.sg,s.u,C.rH,P.iA,K.jx,P.lQ,P.fz,U.i,q.o,Y.E],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}.organization-table[_ngcontent-%COMP%]     .p-component{font-weight:400!important;font-size:14px!important}.organization-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-header{display:flex;width:100%;border-radius:0;border-top:1px solid #dde2ea}.organization-table[_ngcontent-%COMP%]     .p-datatable{position:relative;border:1px solid #ccc;margin:0;border-radius:0 0 5px 5px}.organization-table[_ngcontent-%COMP%]     .p-datatable .p-datatable-header{border-bottom:1px solid #ccc;border-top:1px solid #ccc}.organization-table[_ngcontent-%COMP%]     .p-datatable.p-datatable-sm .p-datatable-tbody>tr>td>a:hover{text-decoration:underline}.organization-table[_ngcontent-%COMP%]     .p-datatable .p-paginator .p-paginator-current{right:0!important;position:absolute!important}.organization-table[_ngcontent-%COMP%]     .p-paginator .p-dropdown{height:2rem;position:absolute;left:0;bottom:12px}.organization-table[_ngcontent-%COMP%]     .p-inputtext{padding:.3rem;font-size:.8rem}.organization-table[_ngcontent-%COMP%]     .p-paginator .p-paginator-pages .p-paginator-page{min-width:1.5rem;height:1.5rem}.organization-table[_ngcontent-%COMP%]     .p-paginator{align-items:center!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important}.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%]: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}.searchfield[_ngcontent-%COMP%]   .input-group[_ngcontent-%COMP%]{align-items:center}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span.input-group-append[_ngcontent-%COMP%]{height:38px;display:flex;cursor:pointer}.searchfield[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] > div.input-group-text[_ngcontent-%COMP%]{align-items:center;cursor:pointer}.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:#e81111}.alert-info[_ngcontent-%COMP%]{color:#0c5460;background-color:#d1ecf1;border-color:#bee5eb}.alert-success[_ngcontent-%COMP%]{background-color:#7b1fa2;border-color:#4a148c;color:#fff}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:84%;right:10px;overflow-x:hidden;overflow-y:auto}.hide[_ngcontent-%COMP%]{display:none}.pagination-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:normal;align-items:center}.height28[_ngcontent-%COMP%]{height:28px}.tx-decoration-underline[_ngcontent-%COMP%]:hover{text-decoration:underline}.pull-right-btn[_ngcontent-%COMP%]{float:right;margin-top:10px}.pagination-wrapper[_ngcontent-%COMP%]   .form-inline[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{width:50%;background:url(down-arrow.268f09fa8fa3d951.svg) no-repeat;background-position:85% 50%;appearance:none}.disabledText[_ngcontent-%COMP%]{color:#000}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.qs-position-addorg[_ngcontent-%COMP%]{left:510px;top:12px}
1.btn-qs-hightlight[_ngcontent-%COMP%]{border:1px solid #2446a4;box-shadow:0 0 5px #2446a4}.is-invalid-intphone[_ngcontent-%COMP%]{color:#dc3545;font-size:80%}.is-invalid-intphone-textbox[_ngcontent-%COMP%]{border:1px solid #dc3545}"]}),i})(),canActivate:[l(85493).a1]}];let St=(()=>{const a=class{};let i=a;return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[C.Bz.forChild(Nt),C.Bz]}),i})();var Lt=l(19119),Jt=l(86789),Qt=l(23501),Et=l(55466),Rt=l(91742);let Kt=(()=>{const a=class{};let i=a;return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[h.ez,Lt.J,Jt.$,s.u5,s.UX,St,u.p.pick(v.kEt),P.U$,U.x,q.j,Qt.O.forRoot({themes:[Et.W,Rt.$],active:d.N.theme})]}),i})()},52712:(A,Z,l)=>{l.d(Z,{i:()=>C,x:()=>s});var h=l(36895),u=l(94650);const v=["*"];let C=(()=>{class _{constructor(){this.layout="horizontal",this.type="solid"}containerClass(){return{"p-divider p-component":!0,"p-divider-horizontal":"horizontal"===this.layout,"p-divider-vertical":"vertical"===this.layout,"p-divider-solid":"solid"===this.type,"p-divider-dashed":"dashed"===this.type,"p-divider-dotted":"dotted"===this.type,"p-divider-left":"horizontal"===this.layout&&(!this.align||"left"===this.align),"p-divider-center":"horizontal"===this.layout&&"center"===this.align||"vertical"===this.layout&&(!this.align||"center"===this.align),"p-divider-right":"horizontal"===this.layout&&"right"===this.align,"p-divider-top":"vertical"===this.layout&&"top"===this.align,"p-divider-bottom":"vertical"===this.layout&&"bottom"===this.align}}}return _.\u0275fac=function(y){return new(y||_)},_.\u0275cmp=u.Xpm({type:_,selectors:[["p-divider"]],inputs:{layout:"layout",type:"type",styleClass:"styleClass",style:"style",align:"align"},ngContentSelectors:v,decls:3,vars:4,consts:[["role","separator",3,"ngClass","ngStyle"],[1,"p-divider-content"]],template:function(y,M){1&y&&(u.F$t(),u.TgZ(0,"div",0)(1,"div",1),u.Hsn(2),u.qZA()()),2&y&&(u.Tol(M.styleClass),u.Q6J("ngClass",M.containerClass())("ngStyle",M.style))},dependencies:[h.mk,h.PC],styles:['.p-divider-horizontal{align-items:center;display:flex;position:relative;width:100%}.p-divider-horizontal:before{content:"";display:block;left:0;position:absolute;top:50%;width:100%}.p-divider-horizontal.p-divider-left{justify-content:flex-start}.p-divider-horizontal.p-divider-right{justify-content:flex-end}.p-divider-horizontal.p-divider-center{justify-content:center}.p-divider-content{z-index:1}.p-divider-vertical{display:flex;justify-content:center;margin:0 1rem;min-height:100%;position:relative}.p-divider-vertical:before{content:"";display:block;height:100%;left:50%;position:absolute;top:0}.p-divider-vertical.p-divider-top{align-items:flex-start}.p-divider-vertical.p-divider-center{align-items:center}.p-divider-vertical.p-divider-bottom{align-items:flex-end}.p-divider-solid.p-divider-horizontal:before{border-top-style:solid}.p-divider-solid.p-divider-vertical:before{border-left-style:solid}.p-divider-dashed.p-divider-horizontal:before{border-top-style:dashed}.p-divider-dashed.p-divider-vertical:before{border-left-style:dashed}.p-divider-dotted.p-divider-horizontal:before{border-left-style:dotted;border-top-style:dotted}'],encapsulation:2,changeDetection:0}),_})(),s=(()=>{class _{}return _.\u0275fac=function(y){return new(y||_)},_.\u0275mod=u.oAB({type:_}),_.\u0275inj=u.cJS({imports:[h.ez]}),_})()}}]);

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.