PageSourceSearch

https://portal.privacypillar.com/default-src_app__services_cookie-…_ngcc___fesm2015-c074d5.5b0333ae25f857b7.js

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

1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["default-src_app__services_cookie-banner_service_ts-node_modules_primeng___ivy_ngcc___fesm2015-c074d5"],{32270:(M,y,_)=>{_.d(y,{s:()=>h});var e=_(92340),a=_(28597),u=_(85740),f=_(24850),m=_(27221),c=_(61737),S=_(94650),g=_(80529),E=_(46262);let h=(()=>{const v=class{constructor(t,s){this.http=t,this.loki=s}onSubmitCookieBannerData(t,s,l,p,d){let n=u.R.CONSENT_BANNER.replace(":orgId",s);return n=n.replace(":propId",l),this.http.post(e.N.apiUrl+n,t).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r?.error?.error||r?.error||r,a.X.cookieBanner,p,d,n),(0,c._)(r))))}onUpdateCookieBannerData(t,s,l,p,d){let n=u.R.CONSENT_BANNER.replace(":orgId",s);return n=n.replace(":propId",l),this.http.put(e.N.apiUrl+n,t).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r?.error?.error||r?.error||r,a.X.cookieBanner,p,d,n),(0,c._)(r))))}onGetPlanType(t,s){const l=u.R.COMPANY_SERVICE;return this.http.get(e.N.apiUrl+l).pipe((0,f.U)(p=>p),(0,m.K)(p=>(this.onSendLogs(a.o.INFO,p,a.X.cookieBanner,t,s,l),(0,c._)(p))))}onGetCookieBannerData(t,s,l,p){let d=u.R.CONSENT_BANNER.replace(":orgId",t);return d=d.replace(":propId",s),this.http.get(e.N.apiUrl+d).pipe((0,f.U)(n=>n),(0,m.K)(n=>(this.onSendLogs(a.o.INFO,n?.error?.error||n?.error||n,a.X.cookieBanner,l,p,d),(0,c._)(n))))}onSendLogs(t,s,l,p,d,n){this.loki.onSendErrorLogs(t,s,l,p,d,n).subscribe()}updateVendors(t,s,l,p,d){let n=u.R.UPDATE_VENDORS.replace(":orgId",s);return n=n.replace(":propId",l),this.http.post(e.N.apiUrl+n,t).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r,a.X.cookieBanner,p,d,n),(0,c._)(r))))}getPropertyDetails(t,s){let l=u.R.PROPERTY_DETAILS.replace(":pid",s);return l=l.replace(":oid",t),this.http.get(e.N.apiUrl+l).pipe((0,f.U)(p=>p),(0,m.K)(p=>(0,c._)(p)))}onGetVendorsData(t,s,l,p){let d=u.R.UPDATE_VENDORS.replace(":orgId",t);return d=d.replace(":propId",s),this.http.get(e.N.apiUrl+d).pipe((0,f.U)(n=>n),(0,m.K)(n=>(this.onSendLogs(a.o.INFO,n,a.X.cookieBanner,l,p,d),(0,c._)(n))))}GetGlobleLangData(t){const s=e.N.globleLangURL.replace(":lang",t);return this.http.get(s)}
1GetCustomLangData(t,s,l,p,d){let n=u.R.COOKIE_BANNER_GET_LANG_FROM_DB.replace(":lang",l);return n=n.replace(":orgId",p),n=n.replace(":propId",d),this.http.get(e.N.apiUrl+n).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r,a.X.cookieBanner,t,s,n),(0,c._)(r))))}GetConsentBannerHistory(t,s,l,p){let d=u.R.CONSENT_BANNER_PUBLISH_HISTORY;return d=d.replace(":oid",l),d=d.replace(":pid",p),this.http.get(e.N.apiUrl+d).pipe((0,f.U)(n=>n),(0,m.K)(n=>(this.onSendLogs(a.o.INFO,n?.error?.error||n?.error||n,a.X.cookieBanner,t,s,d),(0,c._)(n))))}ActiveConsentBannerHistory(t,s,l,p,d){let n=u.R.ACTIVE_CONSENT_BANNER_PUBLISH_HISTORY;return n=n.replace(":oid",p),n=n.replace(":pid",l),n=n.replace(":id",d),this.http.get(e.N.apiUrl+n).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r?.error?.error||r?.error||r,a.X.cookieBanner,t,s,n),(0,c._)(r))))}DeleteConsentBannerHistory(t,s,l,p,d){let n=u.R.DELETE_CONSENT_BANNER_PUBLISH_HISTORY;return n=n.replace(":oid",p),n=n.replace(":pid",l),n=n.replace(":id",d),this.http.delete(e.N.apiUrl+n).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r?.error?.error||r?.error||r,a.X.cookieBanner,t,s,n),(0,c._)(r))))}saveCustomLang(t,s,l,p,d,n){let r=u.R.COOKIE_BANNER_LANG_PUBLISH_JSON.replace(":orgId",l);return r=r.replace(":propId",p),this.http.post(e.N.apiUrl+r,t,{params:{lang:s}}).pipe((0,f.U)(z=>z),(0,m.K)(z=>(this.onSendLogs(a.o.INFO,z?.error?.error||z?.error||z,a.X.cookieBanner,d,n,r),(0,c._)(z))))}saveCustomLangInDB(t,s,l,p,d){let n=u.R.COOKIE_BANNER_LANG_SAVE_IN_DB.replace(":orgId",s);return n=n.replace(":propId",l),this.http.post(e.N.apiUrl+n,t).pipe((0,f.U)(r=>r),(0,m.K)(r=>(this.onSendLogs(a.o.INFO,r?.error?.error||r?.error||r,a.X.cookieBanner,p,d,n),(0,c._)(r))))}};let o=v;return v.\u0275fac=function(s){return new(s||v)(S.LFG(g.eN),S.LFG(E.L))},v.\u0275prov=S.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),o})()},52712:(M,y,_)=>{_.d(y,{i:()=>f,x:()=>m});var e=_(36895),a=_(94650);const u=["*"];let f=(()=>{class c{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 c.\u0275fac=function(g){return new(g||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["p-divider"]],inputs:{layout:"layout",type:"type",styleClass:"styleClass",style:"style",align:"align"},ngContentSelectors:u,decls:3,vars:4,consts:[["role","separator",3,"ngClass","ngStyle"],[1,"p-divider-content"]],template:function(g,E){1&g&&(a.F$t(),a.TgZ(0,"div",0)(1,"div",1),a.Hsn(2),a.qZA()()),2&g&&(a.Tol(E.styleClass),a.Q6J("ngClass",E.containerClass())("ngStyle",E.style))},dependencies:[e.mk,e.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}),c})(),m=(()=>{class c{}return c.\u0275fac=function(g){return new(g||c)},c.\u0275mod=a.oAB({type:c}),c.\u0275inj=a.cJS({imports:[e.ez]}),c})()},41277:(M,y,_)=>{_.d(y,{Iu:()=>S,Ql:()=>c});var e=_(94650),a=_(36895),u=_(24006);const f=function(g,E,h){return{"p-inputswitch p-component":!0,"p-inputswitch-checked":g,"p-disabled":E,"p-focus":h}},m={provide:u.JU,useExisting:(0,e.Gpc)(()=>c),multi:!0};let c=(()=>{class g{constructor(h){this.cd=h,this.onChange=new e.vpe,this.checked=!1,this.focused=!1,this.onModelChange=()=>{},this.onModelTouched=()=>{}}onClick(h,o){!this.disabled&&!this.readonly&&(h.preventDefault(),this.toggle(h),o.focus())}onInputChange(h){this.readonly||this.updateModel(h,h.target.checked)}toggle(h){this.updateModel(h,!this.checked)}updateModel(h,o){this.checked=o,this.onModelChange(this.checked),this.onChange.emit({originalEvent:h,checked:this.checked})}onFocus(h){this.focused=!0}onBlur(h){this.focused=!1,this.onModelTouched()}writeValue(h){this.checked=h,this.cd.markForCheck()}registerOnChange(h){this.onModelChange=h}registerOnTouched(h){this.onModelTouched=h}setDisabledState(h){this.disabled=h,this.cd.markForCheck()}}return g.\u0275fac=function(h){return new(h||g)(e.Y36(e.sBO))},g.\u0275cmp=e.Xpm({type:g,selectors:[["p-inputSwitch"]],inputs:{disabled:"disabled",style:"style",styleClass:"styleClass",tabindex:"tabindex",inputId:"inputId",name:"name",readonly:"readonly",ariaLabelledBy:"ariaLabelledBy"},outputs:{onChange:"onChange"},features:[e._Bn([m])],decls:5,vars:15,consts:[[3,"ngClass","ngStyle","click"],[1,"p-hidden-accessible"],["type","checkbox","role","switch",3,"checked","disabled","change","focus","blur"],["cb",""],[1,"p-inputswitch-slider"]],template:function(h,o){if(1&h){const v=e.EpF();e.TgZ(0,"div",0),e.NdJ("click",function(t){e.CHM(v);const s=e.MAs(3);return e.KtG(o.onClick(t,s))}),e.TgZ(1,"div",1)(2,"input",2,3),e.NdJ("change",function(t){return o.onInputChange(t)}
1)("focus",function(t){return o.onFocus(t)})("blur",function(t){return o.onBlur(t)}),e.qZA()(),e._UZ(4,"span",4),e.qZA()}2&h&&(e.Tol(o.styleClass),e.Q6J("ngClass",e.kEZ(11,f,o.checked,o.disabled,o.focused))("ngStyle",o.style),e.xp6(2),e.Q6J("checked",o.checked)("disabled",o.disabled),e.uIk("id",o.inputId)("name",o.name)("tabindex",o.tabindex)("aria-checked",o.checked)("aria-labelledby",o.ariaLabelledBy))},dependencies:[a.mk,a.PC],styles:['.p-inputswitch{-ms-user-select:none;-webkit-user-select:none;display:inline-block;position:relative;user-select:none}.p-inputswitch-slider{bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0}.p-inputswitch-slider:before{content:"";position:absolute;top:50%}'],encapsulation:2,changeDetection:0}),g})(),S=(()=>{class g{}return g.\u0275fac=function(h){return new(h||g)},g.\u0275mod=e.oAB({type:g}),g.\u0275inj=e.cJS({imports:[a.ez]}),g})()},97028:(M,y,_)=>{_.d(y,{q:()=>E,t:()=>h});var e=_(94650),a=_(36895),u=_(98606),f=_(42111);const m=["container"];function c(o,v){1&o&&e.GkF(0)}function S(o,v){if(1&o){const i=e.EpF();e.TgZ(0,"div",5),e.NdJ("mousedown",function(s){e.CHM(i);const l=e.oxw().index,p=e.oxw();return e.KtG(p.onGutterMouseDown(s,l))})("touchstart",function(s){e.CHM(i);const l=e.oxw().index,p=e.oxw();return e.KtG(p.onGutterTouchStart(s,l))}),e._UZ(1,"div",6),e.qZA()}if(2&o){const i=e.oxw(2);e.Q6J("ngStyle",i.gutterStyle())}}function g(o,v){if(1&o&&(e.TgZ(0,"div",0),e.YNc(1,c,1,0,"ng-container",3),e.qZA(),e.YNc(2,S,2,1,"div",4)),2&o){const i=v.$implicit,t=v.index,s=e.oxw();e.Tol(s.panelStyleClass),e.Q6J("ngClass",s.panelContainerClass())("ngStyle",s.panelStyle),e.xp6(1),e.Q6J("ngTemplateOutlet",i),e.xp6(1),e.Q6J("ngIf",t!==s.panels.length-1)}}let E=(()=>{class o{constructor(i,t){this.cd=i,this.el=t,this.stateStorage="session",this.stateKey=null,this.layout="horizontal",this.gutterSize=4,this.panelSizes=[],this.minSizes=[],this.onResizeEnd=new e.vpe,this.nested=!1,this.panels=[],this.dragging=!1,this.mouseMoveListener=null,this.mouseUpListener=null,this.touchMoveListener=null,this.touchEndListener=null,this.size=null,this.gutterElement=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.nextPanelSize=null,this.prevPanelSize=null,this._panelSizes=null,this.prevPanelIndex=null}ngOnInit(){this.nested=this.isNested()}
1ngAfterContentInit(){this.templates.forEach(i=>{i.getType(),this.panels.push(i.template)})}ngAfterViewInit(){if(this.panels&&this.panels.length){let i=!1;if(this.isStateful()&&(i=this.restoreState()),!i){let t=[...this.el.nativeElement.children[0].children].filter(l=>u.p.hasClass(l,"p-splitter-panel")),s=[];this.panels.map((l,p)=>{let n=(this.panelSizes.length-1>=p?this.panelSizes[p]:null)||100/this.panels.length;s[p]=n,t[p].style.flexBasis="calc("+n+"% - "+(this.panels.length-1)*this.gutterSize+"px)"}),this._panelSizes=s}}}onResizeStart(i,t){this.gutterElement=i.currentTarget,this.size=this.horizontal()?u.p.getWidth(this.containerViewChild.nativeElement):u.p.getHeight(this.containerViewChild.nativeElement),this.dragging=!0,this.startPos=this.horizontal()?i.pageX||i.changedTouches[0].pageX:i.pageY||i.changedTouches[0].pageY,this.prevPanelElement=this.gutterElement.previousElementSibling,this.nextPanelElement=this.gutterElement.nextElementSibling,this.prevPanelSize=100*(this.horizontal()?u.p.getOuterWidth(this.prevPanelElement,!0):u.p.getOuterHeight(this.prevPanelElement,!0))/this.size,this.nextPanelSize=100*(this.horizontal()?u.p.getOuterWidth(this.nextPanelElement,!0):u.p.getOuterHeight(this.nextPanelElement,!0))/this.size,this.prevPanelIndex=t,u.p.addClass(this.gutterElement,"p-splitter-gutter-resizing"),u.p.addClass(this.containerViewChild.nativeElement,"p-splitter-resizing")}onResize(i){let t;t=this.horizontal()?100*(i.pageX||i.changedTouches[0].pageX)/this.size-100*this.startPos/this.size:100*(i.pageY||i.changedTouches[0].pageY)/this.size-100*this.startPos/this.size;let s=this.prevPanelSize+t,l=this.nextPanelSize-t;this.validateResize(s,l)&&(this.prevPanelElement.style.flexBasis="calc("+s+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this.nextPanelElement.style.flexBasis="calc("+l+"% - "+(this.panels.length-1)*this.gutterSize+"px)",this._panelSizes[this.prevPanelIndex]=s,this._panelSizes[this.prevPanelIndex+1]=l)}resizeEnd(i){this.isStateful()&&this.saveState(),this.onResizeEnd.emit({originalEvent:i,sizes:this._panelSizes}),u.p.removeClass(this.gutterElement,"p-splitter-gutter-resizing"),u.p.removeClass(this.containerViewChild.nativeElement,"p-splitter-resizing"),this.clear()}onGutterMouseDown(i,t){this.onResizeStart(i,t),this.bindMouseListeners()}onGutterTouchStart(i,t){i.cancelable&&(this.onResizeStart(i,t),this.bindTouchListeners(),i.preventDefault())}onGutterTouchEnd(i){this.resizeEnd(i),this.unbindTouchListeners(),i.cancelable&&i.preventDefault()}validateResize(i,t){return!(this.minSizes.length>=1&&this.minSizes[0]&&this.minSizes[0]>i||this.minSizes.length>1&&this.minSizes[1]&&this.minSizes[1]>t)}bindMouseListeners(){this.mouseMoveListener||(this.mouseMoveListener=i=>this.onResize(i),document.addEventListener("mousemove",this.mouseMoveListener)),this.mouseUpListener||(this.mouseUpListener=i=>{this.resizeEnd(i),this.unbindMouseListeners()},document.addEventListener("mouseup",this.mouseUpListener))}bindTouchListeners(){this.touchMoveListener||(this.touchMoveListener=i=>this.onResize(i),document.addEventListener("touchmove",this.touchMoveListener)),this.touchEndListener||(this.touchEndListener=i=>{this.resizeEnd(i),this.unbindTouchListeners()},document.addEventListener("touchend",this.touchEndListener))}unbindMouseListeners(){this.mouseMoveListener&&(document.removeEventListener("mousemove",this.mouseMoveListener),this.mouseMoveListener=null),this.mouseUpListener&&(document.removeEventListener("mouseup",this.mouseUpListener),this.mouseUpListener=null)}unbindTouchListeners(){this.touchMoveListener&&(document.removeEventListener("touchmove",this.touchMoveListener),this.touchMoveListener=null),this.touchEndListener&&(document.removeEventListener("touchend",this.touchEndListener),this.touchEndListener=null)}clear(){this.dragging=!1,this.size=null,this.startPos=null,this.prevPanelElement=null,this.nextPanelElement=null,this.prevPanelSize=null,this.nextPanelSize=null,this.gutterElement=null,this.prevPanelIndex=null}isNested(){if(this.el.nativeElement){let i=this.el.nativeElement.parentElement;for(;i&&!u.p.hasClass(i,"p-splitter");)i=i.parentElement;return null!==i}return!1}isStateful(){return null!=this.stateKey}getStorage(){switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}
1saveState(){this.getStorage().setItem(this.stateKey,JSON.stringify(this._panelSizes))}restoreState(){const t=this.getStorage().getItem(this.stateKey);return!!t&&(this._panelSizes=JSON.parse(t),[...this.containerViewChild.nativeElement.children].filter(l=>u.p.hasClass(l,"p-splitter-panel")).forEach((l,p)=>{l.style.flexBasis="calc("+this._panelSizes[p]+"% - "+(this.panels.length-1)*this.gutterSize+"px)"}),!0)}containerClass(){return{"p-splitter p-component":!0,"p-splitter-horizontal":"horizontal"===this.layout,"p-splitter-vertical":"vertical"===this.layout}}panelContainerClass(){return{"p-splitter-panel":!0,"p-splitter-panel-nested":!0}}gutterStyle(){return this.horizontal()?{width:this.gutterSize+"px"}:{height:this.gutterSize+"px"}}horizontal(){return"horizontal"===this.layout}}return o.\u0275fac=function(i){return new(i||o)(e.Y36(e.sBO),e.Y36(e.SBq))},o.\u0275cmp=e.Xpm({type:o,selectors:[["p-splitter"]],contentQueries:function(i,t,s){if(1&i&&e.Suo(s,f.jx,4),2&i){let l;e.iGM(l=e.CRH())&&(t.templates=l)}},viewQuery:function(i,t){if(1&i&&e.Gf(m,5),2&i){let s;e.iGM(s=e.CRH())&&(t.containerViewChild=s.first)}},hostVars:2,hostBindings:function(i,t){2&i&&e.ekj("p-splitter-panel-nested",t.nested)},inputs:{stateStorage:"stateStorage",stateKey:"stateKey",layout:"layout",gutterSize:"gutterSize",panelSizes:"panelSizes",minSizes:"minSizes",styleClass:"styleClass",panelStyleClass:"panelStyleClass",style:"style",panelStyle:"panelStyle"},outputs:{onResizeEnd:"onResizeEnd"},decls:3,vars:5,consts:[[3,"ngClass","ngStyle"],["container",""],["ngFor","",3,"ngForOf"],[4,"ngTemplateOutlet"],["class","p-splitter-gutter",3,"ngStyle","mousedown","touchstart",4,"ngIf"],[1,"p-splitter-gutter",3,"ngStyle","mousedown","touchstart"],[1,"p-splitter-gutter-handle"]],template:function(i,t){1&i&&(e.TgZ(0,"div",0,1),e.YNc(2,g,3,6,"ng-template",2),e.qZA()),2&i&&(e.Tol(t.styleClass),e.Q6J("ngClass",t.containerClass())("ngStyle",t.style),e.xp6(2),e.Q6J("ngForOf",t.panels))},dependencies:[a.mk,a.sg,a.O5,a.tP,a.PC],styles:[".p-splitter{display:flex;flex-wrap:nowrap}.p-splitter-vertical{flex-direction:column}.p-splitter-panel{flex-grow:1}.p-splitter-panel-nested{display:flex}.p-splitter-panel p-splitter{flex-grow:1}.p-splitter-panel .p-splitter{border:0;flex-grow:1}.p-splitter-gutter{align-items:center;cursor:col-resize;display:flex;flex-grow:0;flex-shrink:0;justify-content:center}.p-splitter-horizontal.p-splitter-resizing{-ms-user-select:none;-webkit-user-select:none;cursor:col-resize;user-select:none}.p-splitter-horizontal>.p-splitter-gutter>.p-splitter-gutter-handle{height:24px;width:100%}.p-splitter-horizontal>.p-splitter-gutter{cursor:col-resize}.p-splitter-vertical.p-splitter-resizing{-ms-user-select:none;-webkit-user-select:none;cursor:row-resize;user-select:none}.p-splitter-vertical>.p-splitter-gutter{cursor:row-resize}.p-splitter-vertical>.p-splitter-gutter>.p-splitter-gutter-handle{height:100%;width:24px}"],encapsulation:2,changeDetection:0}),o})(),h=(()=>{class o{}return o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[a.ez,f.m8]}),o})()}}]);

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.