PageSourceSearch

https://app.bazo.io/14-es2015.f3bdd9af208bce028efa.js

js bazo.io collected 2026-09-25 21:53:43 UTC 28,513 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{TDBs:function(t,e,c){"use strict";c.r(e),c.d(e,"DashboardModule",(function(){return $t}));var n=c("ofXK"),a=c("tyNb"),i=c("mrSG"),o=c("XYzq"),s=c("l7P3"),r=c("cL0D"),l=c("A7lJ"),d=c("eIep"),p=c("/uUt"),b=c("1G5W"),h=c("pLZG"),u=c("tFHO"),g=c("itXk"),f=c("n7Hz"),m=c("XiPH"),v=c("Q8Ll"),w=c("wIEY"),O=c("NJ8Z"),M=c("LvDl"),y=c("wd/R"),_=c("IfMN"),C=c("fXoL"),x=c("3Pt+"),F=c("mVVt"),P=c("sYmb"),k=c("jhN1"),$=c("iadO"),D=c("JDbL"),q=c("CV0D");const j=["chart"];function S(t,e){1&t&&(C.cc(0),C.ec(1,"div",3),C.Zb(2,"div",4),C.ec(3,"div",5),C.Zb(4,"div",6),C.Zb(5,"div",7),C.Zb(6,"div",8),C.Zb(7,"div",9),C.Zb(8,"div",10),C.dc(),C.dc(),C.bc())}let V=(()=>{class t{constructor(t){this.translate=t,this.data=[{"2020-09-05":0,"2020-09-06":0,"2020-09-07":0,"2020-09-08":0,"2020-09-09":0,"2020-09-10":0,"2020-09-11":0}],this.color=["#004DFF"]}ngOnInit(){this.chartOptions={series:this.data.map((t,e)=>({name:this.translate.instant(this.title[e]),data:Object.values(t)})),chart:{height:300,type:"bar",stacked:!0,toolbar:{show:!1},zoom:{enabled:!1},selection:{enabled:!1}},dataLabels:{enabled:!1},xaxis:{categories:Object.keys(this.data[0]),axisBorder:{show:!1},tooltip:{enabled:!1}},colors:this.color,states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},legend:{offsetY:10,height:40,position:"bottom",fontSize:"13px",formatter:(t,e)=>{const c=e.w.globals.series[e.seriesIndex],n=c&&c.length>0&&c.reduce((t,e)=>t+e);return t+(n>0?` <b style="color: rgba(0, 0, 0, 0.87);">(${n})</b>`:"")}}}}}return t.\u0275fac=function(e){return new(e||t)(C.Yb(P.d))},t.\u0275cmp=C.Sb({type:t,selectors:[["app-bar-chart"]],viewQuery:function(t,e){var c;1&t&&C.cd(j,!0),2&t&&C.Fc(c=C.mc())&&(e.chart=c.first)},inputs:{title:"title",type:"type",data:"data",color:"color",loading:"loading"},decls:3,vars:13,consts:[[1,"chart-item-wrap","pb-3"],[4,"ngIf"],[1,"app-apex-chart",3,"series","chart","xaxis","yaxis","fill","grid","stroke","legend","tooltip","colors","plotOptions","dataLabels"],[1,"animation-loading-element","bar"],[1,"item","item-1"],[1,"d-flex","align-items-end","h-100","justify-content-around","px-3","py-3"],[1,"item","item-2"],[1,"item","item-3"],[1,"item","item-4"],[1,"item","item-5"],[1,"item","item-6"]],template:function(t,e){1&t&&(C.ec(0,"div",0),C.Vc(1,S,9,0,"ng-container",1),C.Zb(2,"apx-chart",2),C.dc()),2&t&&(C.Mb(1),C.wc("ngIf",e.loading),C.Mb(1),C.wc("series",e.chartOptions.series)("chart",e.chartOptions.chart)("xaxis",null==e.chartOptions?null:e.chartOptions.xaxis)("yaxis",null==e.chartOptions?null:e.chartOptions.yaxis)("fill",null==e.chartOptions?null:e.chartOptions.fill)("grid",null==e.chartOptions?null:e.chartOptions.grid)("stroke",null==e.chartOptions?null:e.chartOptions.stroke)("legend",null==e.chartOptions?null:e.chartOptions.legend)("tooltip",null==e.chartOptions?null:e.chartOptions.tooltip)("colors",null==e.chartOptions?null:e.chartOptions.colors)("plotOptions",null==e.chartOptions?null:e.chartOptions.plotOptions)("dataLabels",null==e.chartOptions?null:e.chartOptions.dataLabels))},directives:[n.n,q.a],styles:[""],changeDetection:0}),t})();var Z=c("0Bz8"),I=c("Qu3c");const L=["chart"];function T(t,e){1&t&&(C.cc(0),C.ec(1,"div",8),C.ec(2,"div",9),C.Zb(3,"div",10),C.Zb(4,"div",11),C.Zb(5,"div",12),C.dc(),C.dc(),C.bc())}const A=function(){return{name:"help_twotone",isCustomSVG:!0}};let E=(()=>{class t{constructor(){this.data={desktop:100},this._colors={blue:["#99C1FF","#669DFF","#3F7FFF","#004DFF","#003BDB","#002CB7","#001E93","#00157A"],blue_dark:["#A8C0F2","#7693D9","#4D68B3","#1F3781","#162A6E","#0F1E5C","#09144A","#050D3D"],green:["#A5ED7C","#7EDB59","#4AC429","#31A81D","#1C8D14","#0D710D","#075E0E"],yellow:["#FCCE88","#FAB969","#F89939","#D57729","#B2591C","#8F3E12","#772B0A"],red:["#FFC9AF","#FFA487","#FF8269","#FF4838","#DB2829","#B71C29","#931127","#7A0A26"],bounce_rate:["#FFC9AF","#FF8269","#FF4838","#DB2829","#B71C29","#931127","#7A0A26"]}}ngOnInit(){this.chartOptions={series:Object.values(this.data),chart:{height:300,type:"donut",toolbar:{show:!1},zoom:{enabled:!1},selection:{enabled:!1}},dataLabels:{enabled:!1},labels:Object.keys(this.data),colors:this._colors[this.theme],states:{hover:{filter:{type:"none"}},active:{filter:{type:"none"}}},legend:{height:72,position:"bottom",formatter:(t,e)=>{const c=e.w.globals.series.reduce((t,e)=>t+e);return t+" - "+(100*e.w.globals.series[e.seriesIndex]/c).toFixed(1)+"%"},onItemClick:{toggleDataSeries:!1}},plotOptions:{pie:{customScale:.5,expandOnClick:!1,donut:{size:"180"}}}}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=C.Sb({type:t,selectors:[["app-donut-chart"]],viewQuery:function(t,e){var c;1&t&&C.cd(L,!0),2&t&&C.Fc(c=C.mc())&&(e.chart=c.first)},inputs:{title:"title",info:"info",data:"data",theme:"theme",loading:"loading"},decls:11,vars:23,consts:[[1,"chart-item-wrap","pb-3"],[4,"ngIf"],[1,"px-2"],[1,"chart-header","mb-3"],[1,"chart-title"],["matTooltipShowDelay","300","iconClass","app-icon-20",1,"app-icon",3,"data","matTooltip","click"],["tooltip","matTooltip"],[3,"series","chart","xaxis","yaxis","fill","grid","stroke","legend","tooltip","colors","states","labels","plotOptions","dataLabels"],[1,"animation-loading-element","donut"],[1,"px-3","py-3"],[1,"item","item-1","mb-3"],[1,"item","item-2","mb-3"],[1,"item","item-3"]],template:function(t,e){if(1&t){const t=C.fc();C.ec(0,"div",0),C.Vc(1,T,6,0,"ng-container",1),C.ec(2,"div",2),C.ec(3,"div",3),C.ec(4,"div",4),C.Xc(5),C.qc(6,"translate"),C.dc(),C.ec(7,"app-icon",5,6),
1C.lc("click",(function(){return C.Kc(t),C.Gc(8).toggle()})),C.qc(9,"translate"),C.dc(),C.dc(),C.dc(),C.Zb(10,"apx-chart",7),C.dc()}2&t&&(C.Mb(1),C.wc("ngIf",e.loading),C.Mb(4),C.Yc(C.rc(6,18,e.title)),C.Mb(2),C.wc("data",C.Ac(22,A))("matTooltip",C.rc(9,20,e.info)),C.Mb(3),C.wc("series",e.chartOptions.series)("chart",e.chartOptions.chart)("xaxis",null==e.chartOptions?null:e.chartOptions.xaxis)("yaxis",null==e.chartOptions?null:e.chartOptions.yaxis)("fill",null==e.chartOptions?null:e.chartOptions.fill)("grid",null==e.chartOptions?null:e.chartOptions.grid)("stroke",null==e.chartOptions?null:e.chartOptions.stroke)("legend",null==e.chartOptions?null:e.chartOptions.legend)("tooltip",null==e.chartOptions?null:e.chartOptions.tooltip)("colors",null==e.chartOptions?null:e.chartOptions.colors)("states",null==e.chartOptions?null:e.chartOptions.states)("labels",null==e.chartOptions?null:e.chartOptions.labels)("plotOptions",null==e.chartOptions?null:e.chartOptions.plotOptions)("dataLabels",null==e.chartOptions?null:e.chartOptions.dataLabels))},directives:[n.n,Z.a,I.b,q.a],pipes:[P.c],styles:[""],changeDetection:0}),t})();function Y(t,e){1&t&&(C.cc(0),C.ec(1,"div",5),C.ec(2,"div",6),C.ec(3,"div",7),C.Zb(4,"div",8),C.Zb(5,"div",9),C.Zb(6,"div",10),C.dc(),C.ec(7,"div",7),C.Zb(8,"div",8),C.Zb(9,"div",9),C.Zb(10,"div",10),C.dc(),C.ec(11,"div",7),C.Zb(12,"div",8),C.Zb(13,"div",9),C.Zb(14,"div",10),C.dc(),C.dc(),C.dc(),C.bc())}function B(t,e){if(1&t&&(C.cc(0),C.Zb(1,"div",14),C.bc()),2&t){const t=C.pc(2).$implicit,e=C.pc(2);C.Mb(1),C.wc("innerHTML",e.tableLinkTemplate(t),C.Lc)}}function X(t,e){if(1&t&&(C.cc(0),C.ec(1,"td"),C.Vc(2,B,2,1,"ng-container",11),C.dc(),C.bc()),2&t){const t=C.pc().$implicit;C.pc(2);const e=C.Gc(2);C.Mb(2),C.wc("ngIf","direct"!==t)("ngIfElse",e)}}function z(t,e){if(1&t&&(C.cc(0),C.Xc(1),C.bc()),2&t){const t=C.pc(2).$implicit;C.Mb(1),C.Yc(t)}}function G(t,e){if(1&t&&(C.ec(0,"td"),C.Vc(1,z,2,1,"ng-container",11),C.dc()),2&t){const t=C.pc().$implicit;C.pc(2);const e=C.Gc(2);C.Mb(1),C.wc("ngIf","direct"!==t)("ngIfElse",e)}}function N(t,e){if(1&t&&(C.cc(0),C.ec(1,"td"),C.Xc(2),C.dc(),C.ec(3,"td",15),C.Xc(4),C.dc(),C.bc()),2&t){const t=C.pc().index,e=C.pc(2);C.Mb(2),C.Yc((null==e.values[t]?null:e.values[t].time)>0?e.chartCountToTime(null==e.values[t]?null:e.values[t].time):""),C.Mb(2),C.Yc(null==e.values[t]?null:e.values[t].count)}}function H(t,e){if(1&t&&(C.ec(0,"td",15),C.Xc(1),C.dc()),2&t){const t=C.pc().index,e=C.pc(2);C.Mb(1),C.Yc(e.values[t])}}function R(t,e){if(1&t&&(C.cc(0),C.ec(1,"tr"),C.ec(2,"td"),C.Xc(3),C.dc(),C.Vc(4,X,3,2,"ng-container",11),C.Vc(5,G,2,2,"ng-template",null,12,C.Wc),C.Vc(7,N,5,2,"ng-container",11),C.Vc(8,H,2,1,"ng-template",null,13,C.Wc),C.dc(),C.bc()),2&t){const t=e.index,c=C.Gc(6),n=C.Gc(9),a=C.pc(2);C.Mb(3),C.Yc(t+1),C.Mb(1),C.wc("ngIf",a.hasLinks)("ngIfElse",c),C.Mb(3),C.wc("ngIf",a.isObject(a.values[t]))("ngIfElse",n)}}function Q(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",2),C.Vc(2,Y,15,0,"ng-container",0),C.ec(3,"table",3),C.uc(4),C.ec(5,"tbody"),C.Vc(6,R,10,5,"ng-container",4),C.dc(),C.dc(),C.dc(),C.bc()),2&t){const t=C.pc();C.Mb(2),C.wc("ngIf",t.loading),C.Mb(4),C.wc("ngForOf",t.labels)}}function U(t,e){if(1&t&&C.Xc(0),2&t){const t=C.pc();C.Yc(t.tableEmptyLabelText)}}const J=["*"];let W=(()=>{class t{constructor(t){this.sanitizer=t,this.data=[],this.hasLinks=!1}get tableEmptyLabelText(){return"Bezpo\u015brednie"}ngOnInit(){this.values=Object.values(this.data),this.labels=Object.keys(this.data)}tableLinkTemplate(t){return new RegExp(/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/gm).test(t)?this.sanitizer.bypassSecurityTrustHtml(`<span matTooltip="${t.match("http")?t:"http://"+t}" matTooltipShowDelay="300">${t}</span><a href="${t.match("http")?t:"http://"+t}" class="table-link" target="_blank">\n               <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>\n            </a>`):this.sanitizer.bypassSecurityTrustHtml(`<span matTooltip="${this.siteDomain+t}" matTooltipShowDelay="300">${t}</span><a href="${this.siteDomain+t}" class="table-link" target="_blank">\n               <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
1<path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>\n            </a>`)}isObject(t){return M.isObject(t)}chartCountToTime(t){t=Number(t);const e=Math.floor(t/3600),c=Math.floor(t%3600/60),n=Math.floor(t%3600%60),a=e>0?e:0,i=c>0?c:0,o=n>0?n:0;return a>0?a+"h "+i+"m "+o+"s":i+"m "+o+"s"}}return t.\u0275fac=function(e){return new(e||t)(C.Yb(k.b))},t.\u0275cmp=C.Sb({type:t,selectors:[["app-table-chart"]],inputs:{data:"data",hasLinks:"hasLinks",siteDomain:"siteDomain",loading:"loading"},ngContentSelectors:J,decls:3,vars:1,consts:[[4,"ngIf"],["tableEmptyLabel",""],[1,"chart-item-wrap","p-0"],[1,"table","chart-table"],[4,"ngFor","ngForOf"],[1,"animation-loading-element","table"],[1,"px-3","py-3"],[1,"d-flex","align-items-center","justify-content-between","mb-2"],[1,"item","item-1"],[1,"item","item-2"],[1,"item","item-3"],[4,"ngIf","ngIfElse"],["notLink",""],["notObject",""],[3,"innerHTML"],[1,"text-right"]],template:function(t,e){1&t&&(C.vc(),C.Vc(0,Q,7,2,"ng-container",0),C.Vc(1,U,1,1,"ng-template",null,1,C.Wc)),2&t&&C.wc("ngIf",e.labels)},directives:[n.n,n.m],styles:[".chart-item-wrap[_ngcontent-%COMP%]{height:calc(100% - 30px)}"],changeDetection:0}),t})();function K(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",16),C.Zb(2,"input",17),C.ec(3,"label",18),C.Xc(4),C.qc(5,"translate"),C.dc(),C.dc(),C.bc()),2&t){const t=e.$implicit;C.Mb(2),C.wc("id",null==t?null:t.id)("value",null==t?null:t.id),C.Mb(1),C.wc("for",null==t?null:t.id),C.Mb(1),C.Yc(C.rc(5,4,null==t?null:t.name))}}const tt=function(){return["#73B20B"]};function et(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",23),C.Zb(2,"app-area-chart",24),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc().ngIf,n=C.pc();var c;const a=null==(c=n.getAvgTotal(e))?null:c.value;C.Mb(2),C.wc("title","dashboard.avg_duration.title")("loading",C.rc(3,7,n.loading$))("color",C.Ac(9,tt))("data",null==t?null:t.value)("dataSum",a)("type","avg_duration")("info","dashboard.avg_duration.info")}}const ct=function(){return["#f89939"]};function nt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",23),C.Zb(2,"app-area-chart",25),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.new_leads.title")("loading",C.rc(3,5,e.loading$))("color",C.Ac(7,ct))("data",null==t?null:t.value)("info","dashboard.new_leads.info")}}const at=function(){return["dashboard.site_visits.title1","dashboard.site_visits.title2"]},it=function(){return["#3F7FFF","#99C1FF"]},ot=function(t,e){return[t,e]};function st(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",26),C.Zb(2,"app-bar-chart",27),C.qc(3,"async"),C.qc(4,"async"),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);var c;const n=C.Cc(10,ot,null==t?null:t.value,null==(c=C.rc(4,6,e.pagesDetails$))?null:c.value);C.Mb(2),C.wc("title",C.Ac(8,at))("color",C.Ac(9,it))("loading",C.rc(3,4,e.loading$))("data",n)}}function rt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",28),C.Zb(2,"app-donut-chart",29),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc(2).$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.bounce_rate.title")("data",null==t?null:t.value)("loading",C.rc(3,4,e.loading$))("info","dashboard.bounce_rate.info")}}function lt(t,e){if(1&t&&(C.cc(0),C.Vc(1,rt,4,6,"ng-container",15),C.bc()),2&t){const t=C.pc().$implicit;C.Mb(1),C.wc("ngIf",null==t?null:t.value)}}function dt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",28),C.Zb(2,"app-donut-chart",30),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc(2).$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.browser_types.title")("data",null==t?null:t.value)("loading",C.rc(3,4,e.loading$))("info","dashboard.browser_types.info")}}function pt(t,e){if(1&t&&(C.cc(0),C.Vc(1,dt,4,6,"ng-container",15),C.bc()),2&t){const t=C.pc().$implicit;C.Mb(1),C.wc("ngIf",null==t?null:t.value)}}function bt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",28),C.Zb(2,"app-donut-chart",31),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc(2).$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.browser_names.title")("data",null==t?null:t.value)("loading",C.rc(3,4,e.loading$))("info","dashboard.browser_names.info")}}function ht(t,e){if(1&t&&(C.cc(0),C.Vc(1,bt,4,6,"ng-container",15),C.bc()),2&t){const t=C.pc().$implicit;C.Mb(1),C.wc("ngIf",null==t?null:t.value)}}function ut(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",28),C.Zb(2,"app-donut-chart",32),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc(2).$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.os_types.title")("data",null==t?null:t.value)("loading",C.rc(3,4,e.loading$))("info","dashboard.os_types.info")}}function gt(t,e){if(1&t&&(C.cc(0),C.Vc(1,ut,4,6,"ng-container",15),C.bc()),2&t){const t=C.pc().$implicit;C.Mb(1),C.wc("ngIf",null==t?null:t.value)}}function ft(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",33),C.Zb(2,"app-area-chart",34),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.popup_views.title")("color",C.Ac(7,ct))("data",null==t?null:t.value)("loading",C.rc(3,5,e.loading$))("info","dashboard.popup_views.info")}}const mt=function(){return["#004dff"]};function vt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",33),C.Zb(2,"app-area-chart",34),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);C.Mb(2),C.wc("title","dashboard.popup_clicks.title")("color",C.Ac(7,mt))("data",null==t?null:t.value)("loading",C.rc(3,5,e.loading$))("info","dashboard.popup_clicks.info")}}function wt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",33),C.Zb(2,"app-area-chart",34),C.qc(3,"async"),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);
1C.Mb(2),C.wc("title","dashboard.back_to_tab.title")("color",C.Ac(7,tt))("data",null==t?null:t.value)("loading",C.rc(3,5,e.loading$))("info","dashboard.back_to_tab.info")}}function Ot(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",35),C.ec(2,"app-table-chart",36),C.qc(3,"async"),C.qc(4,"async"),C.ec(5,"thead"),C.ec(6,"tr"),C.ec(7,"th"),C.Xc(8,"Nr"),C.dc(),C.ec(9,"th",37),C.Xc(10),C.qc(11,"translate"),C.dc(),C.ec(12,"th",38),C.Xc(13),C.qc(14,"translate"),C.dc(),C.dc(),C.dc(),C.dc(),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);var c;const n=null==(c=C.rc(4,8,e.activeSite$))?null:c.hostName;C.Mb(2),C.wc("data",null==t?null:t.value)("hasLinks",!0)("loading",C.rc(3,6,e.loading$))("siteDomain",n),C.Mb(8),C.Zc("\u{1f525} ",C.rc(11,10,"dashboard.popular_pages.title"),""),C.Mb(3),C.Yc(C.rc(14,12,"dashboard.table.views"))}}function Mt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",39),C.ec(2,"app-table-chart",40),C.qc(3,"async"),C.qc(4,"async"),C.ec(5,"thead"),C.ec(6,"tr"),C.ec(7,"th"),C.Xc(8,"Nr"),C.dc(),C.ec(9,"th",37),C.Xc(10),C.qc(11,"translate"),C.dc(),C.ec(12,"th",41),C.Xc(13),C.qc(14,"translate"),C.dc(),C.ec(15,"th",38),C.Xc(16),C.qc(17,"translate"),C.dc(),C.dc(),C.dc(),C.dc(),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);var c;const n=null==(c=C.rc(4,8,e.activeSite$))?null:c.hostName;C.Mb(2),C.wc("data",null==t?null:t.value)("loading",C.rc(3,6,e.loading$))("siteDomain",n),C.Mb(8),C.Zc("\ufe0f\u{1f3e2} ",C.rc(11,10,"dashboard.popular_companies.title"),""),C.Mb(3),C.Yc(C.rc(14,12,"dashboard.table.time")),C.Mb(3),C.Yc(C.rc(17,14,"dashboard.table.visits"))}}function yt(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",39),C.ec(2,"app-table-chart",40),C.qc(3,"async"),C.qc(4,"async"),C.ec(5,"thead"),C.ec(6,"tr"),C.ec(7,"th"),C.Xc(8,"Nr"),C.dc(),C.ec(9,"th",37),C.Xc(10),C.qc(11,"translate"),C.dc(),C.ec(12,"th",38),C.Xc(13),C.qc(14,"translate"),C.dc(),C.dc(),C.dc(),C.dc(),C.dc(),C.bc()),2&t){const t=C.pc().$implicit,e=C.pc(2);var c;const n=null==(c=C.rc(4,7,e.activeSite$))?null:c.hostName;C.Mb(2),C.wc("data",null==t?null:t.value)("loading",C.rc(3,5,e.loading$))("siteDomain",n),C.Mb(8),C.Zc("\u{1f3c1} ",C.rc(11,9,"dashboard.popular_countries.title"),""),C.Mb(3),C.Yc(C.rc(14,11,"dashboard.table.visits"))}}function _t(t,e){if(1&t&&(C.cc(0),C.cc(1,21),C.Vc(2,et,4,10,"ng-container",22),C.Vc(3,nt,4,8,"ng-container",22),C.Vc(4,st,5,13,"ng-container",22),C.Vc(5,lt,2,1,"ng-container",22),C.Vc(6,pt,2,1,"ng-container",22),C.Vc(7,ht,2,1,"ng-container",22),C.Vc(8,gt,2,1,"ng-container",22),C.Vc(9,ft,4,8,"ng-container",22),C.Vc(10,vt,4,8,"ng-container",22),C.Vc(11,wt,4,8,"ng-container",22),C.Vc(12,Ot,15,14,"ng-container",22),C.Vc(13,Mt,18,16,"ng-container",22),C.Vc(14,yt,15,13,"ng-container",22),C.bc(),C.bc()),2&t){const t=e.$implicit;C.Mb(1),C.wc("ngSwitch",null==t?null:t.type),C.Mb(1),C.wc("ngSwitchCase","avg_duration"),C.Mb(1),C.wc("ngSwitchCase","new_leads"),C.Mb(1),C.wc("ngSwitchCase","site_visits"),C.Mb(1),C.wc("ngSwitchCase","bounce_rate"),C.Mb(1),C.wc("ngSwitchCase","browser_types"),C.Mb(1),C.wc("ngSwitchCase","browser_names"),C.Mb(1),C.wc("ngSwitchCase","os_types"),C.Mb(1),C.wc("ngSwitchCase","popup_views"),C.Mb(1),C.wc("ngSwitchCase","popup_clicks"),C.Mb(1),C.wc("ngSwitchCase","back_to_tab"),C.Mb(1),C.wc("ngSwitchCase","popular_pages"),C.Mb(1),C.wc("ngSwitchCase","popular_companies"),C.Mb(1),C.wc("ngSwitchCase","popular_countries")}}function Ct(t,e){if(1&t&&(C.cc(0),C.ec(1,"div",19),C.Vc(2,_t,15,14,"ng-container",20),C.dc(),C.bc()),2&t){const t=e.ngIf,c=C.pc();C.Mb(2),C.wc("ngForOf",t)("ngForTrackBy",c.trackByFn)}}const xt=function(t){return{disabled:t}},Ft=[{path:"",component:(()=>{class t extends o.e{constructor(t,e,c,n,a,i,o){super(e,t),this.store=c,this.fb=n,this.datePipe=a,this.translate=i,this.titleService=o,this.ranges=[{id:"dashboard_daily_stats",name:"dashboard.filters.day"},{id:"dashboard_week_stats",name:"dashboard.filters.week"},{id:"dashboard_monthly_stats",name:"dashboard.filters.month"},{id:"dashboard_qarterly_stats",name:"dashboard.filters.quarter"},{id:"dashboard_yearly_stats",name:"dashboard.filters.year"}]}get defaultRange(){return"dashboard_week_stats"}get avgTotal(){return"avg_duration_total"}setUpCommonSelectors(){const t=Object.create(null,{setUpCommonSelectors:{get:()=>super.setUpCommonSelectors}});return Object(i.a)(this,void 0,void 0,(function*(){t.setUpCommonSelectors.call(this),this.id$=this.store.pipe(Object(s.t)(l.b)),this.list$=this.id$.pipe(Object(d.a)(t=>this.store.select(Object(u.a)(t)))),this.loading$=this.id$.pipe(Object(d.a)(t=>this.store.select(Object(u.b)(t)))),this.activeSite$=this.id$.pipe(Object(d.a)(t=>this.store.select(Object(f.a)(t)))),this.listParams$=this.id$.pipe(Object(d.a)(t=>this.store.select(Object(u.c)(t))))}))}setUpComponentSelectors(){return Object(i.a)(this,void 0,void 0,(function*(){this.pagesDetails$=this.store.pipe(Object(s.t)(Object(s.q)(Object(w.b)([O.a.statistics]),t=>Object(m.a)("pages",v.a[O.a.statistics],t))))}))}setUpDataFlow(){return Object(i.a)(this,void 0,void 0,(function*(){this.createForm(),this.updateQueryParams({range:this.defaultRange,start:y().subtract(7,"d").format(_.a.queryDateFormat),stop:y().format(_.a.queryDateFormat)},this.router,this.route),Object(g.a)([this.queryParams$.pipe(Object(p.a)(M.isEqual)),this.id$.pipe(Object(p.a)(M.isEqual))]).pipe(Object(b.a)(this.destroyed$)).subscribe(([t,e])=>{const c=this.paramsFactory(t);this.changeParams(e,c),this.loadList(e)}),this.listParams$.pipe(Object(p.a)(M.isEqual),Object(h.a)(t=>!!t),Object(b.a)(this.destroyed$)).subscribe(t=>{this.filtersForm.patchValue({start:t.start?new Date(t.start):null,stop:t.stop?new Date(t.stop):null,range:t.range?t.range:this.defaultRange},{emitEvent:!1})}),Object(g.a)([this.filtersForm.get("start").valueChanges.pipe(Object(p.a)(M.isEqual)),this.filtersForm.get("stop").valueChanges.pipe(Object(p.a)(M.isEqual))]).pipe(Object(h.a)(([t,e])=>!(!t||!e))).subscribe(([t,e])=>{this.updateQueryParams({start:this.datePipe.transform(t),stop:this.datePipe.transform(e)},this.router,this.route)}),this.filtersForm.get("range").valueChanges.pipe(Object(p.a)(M.isEqual),Object(h.a)(t=>!!t),Object(b.a)(this.destroyed$)).subscribe(t=>{const e=this.onChangeRange(t);this.updateQueryParams(Object.assign(Object.assign({},e),{range:t}),this.router,this.route)}),this.translate.get("menu.dashboard").subscribe(t=>this.titleService.setTitle(t))}))}clearState(){return Promise.resolve(void 0)}changeParams(t,e){this.store.dispatch(new r.c({id:t,params:e}))}loadList(t){this.store.dispatch(new r.a({id:t}))}createForm(){this.filtersForm=this.fb.group({start:this.fb.control(y().subtract(7,"d")),stop:this.fb.control(y()),range:this.fb.control(this.defaultRange)})}trackByFn(t,e){return e&&e.value}onChangeRange(t){let e;switch(t){case"dashboard_daily_stats":e={start:y().startOf("d").format(_.a.queryDateFormat),stop:y().format(_.a.queryDateFormat)};break;case"dashboard_week_stats":e={start:y().subtract(1,"w").format(_.a.queryDateFormat),stop:y().format(_.a.queryDateFormat)};break;case"dashboard_monthly_stats":e={start:y().subtract(1,"M").format(_.a.queryDateFormat),stop:y().format(_.a.queryDateFormat)};break;case"dashboard_qarterly_stats":e={start:y().subtract(3,"M").format(_.a.queryDateFormat),stop:y().format(_.a.queryDateFormat)};break;case"dashboard_yearly_stats":e={start:y().startOf("y").format(_.a.queryDateFormat),stop:y().format(_.a.queryDateFormat)}}return e}getAvgTotal(t){return t&&t.find(t=>t.type===this.avgTotal)}}return t.\u0275fac=function(e){return new(e||t)(C.Yb(a.d),C.Yb(a.a),C.Yb(s.h),C.Yb(x.e),C.Yb(F.a),C.Yb(P.d),C.Yb(k.c))},t.\u0275cmp=C.Sb({type:t,selectors:[["app-dashboard"]],features:[C.Jb],decls:21,vars:14,consts:[[1,"app-dashboard"],[1,"container","pt-4"],[1,"d-flex","flex-wrap","align-items-center","mb-4"],[1,"mr-sm-3","mb-0"],[1,"flex-grow-1"],[3,"formGroup"],[1,"filters-wrap","d-flex","flex-wrap","align-items-center",3,"ngClass"],[1,"period-filters"],[4,"ngFor","ngForOf"],[1,"period-filters","ml-md-3"],[1,"item","p-0"],[3,"rangePicker"],["matStartDate","","formControlName","start","placeholder","Data od",1,"date-input",3,"click"],["matEndDate","","formControlName","stop","placeholder","Data do",1,"date-input",3,"click"],["picker",""],[4,"ngIf"],[1,"item","disable-style"],["formControlName","range","type","radio",3,"id","value"],[3,"for"],[1,"row"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"col-md-6"],[3,"title","loading","color","data","dataSum","type","info"],[3,"title","loading","color","data","info"],[1,"col-12"],[3,"title","color","loading","data"],[1,"col-md-6","col-lg-3"],["theme","bounce_rate",3,"title","data","loading","info"],["theme","blue",3,"title","data","loading","info"],["theme","green",3,"title","data","loading","info"],["theme","yellow",3,"title","data","loading","info"],[1,"col-md-6","col-lg-4"],[3,"title","color","data","loading","info"],[1,"col-md-12"],[3,"data","hasLinks","loading","siteDomain"],[1,"title-td","text-left"],[1,"text-right"],[1,"col-md-12","col-lg-6"],[3,"data","loading","siteDomain"],[1,"text-left"]],template:function(t,e){if(1&t){const t=C.fc();C.ec(0,"div",0),C.ec(1,"div",1),C.ec(2,"div",2),C.ec(3,"h2",3),C.Xc(4),C.qc(5,"translate"),C.dc(),C.Zb(6,"div",4),C.ec(7,"form",5),C.ec(8,"div",6),C.qc(9,"async"),C.ec(10,"div",7),C.Vc(11,K,6,6,"ng-container",8),C.dc(),C.ec(12,"div",9),C.ec(13,"div",10),C.ec(14,"mat-date-range-input",11),C.ec(15,"input",12),C.lc("click",(function(){return C.Kc(t),C.Gc(18).open()})),C.dc(),C.ec(16,"input",13),C.lc("click",(function(){return C.Kc(t),C.Gc(18).open()})),C.dc(),C.dc(),C.Zb(17,"mat-date-range-picker",null,14),C.dc(),C.dc(),C.dc(),C.dc(),C.dc(),C.Vc(19,Ct,3,2,"ng-container",15),C.qc(20,"async"),C.dc(),C.dc()}if(2&t){const t=C.Gc(18);C.Mb(4),C.Yc(C.rc(5,6,"menu.dashboard")),C.Mb(3),C.wc("formGroup",e.filtersForm),C.Mb(1),C.wc("ngClass",C.Bc(12,xt,C.rc(9,8,e.loading$))),C.Mb(3),C.wc("ngForOf",e.ranges),C.Mb(3),C.wc("rangePicker",t),C.Mb(5),C.wc("ngIf",C.rc(20,10,e.list$))}},directives:[x.y,x.r,x.i,n.l,n.m,$.a,$.h,x.c,x.q,x.h,$.g,$.b,n.n,x.u,n.p,n.q,D.a,V,E,W],pipes:[P.c,n.b],styles:[".period-filters[_ngcontent-%COMP%]{display:flex;font-size:12px;color:#606060}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{position:relative}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:not(.disable-style){height:30px;padding:5px 7px;margin:0 2px;background:#fff;border:1px solid #dce2e9;border-radius:5px;text-align:center;letter-spacing:.75px;cursor:pointer;overflow:hidden}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:focus{outline:none}
1.period-filters[_ngcontent-%COMP%]   .item.active[_ngcontent-%COMP%]{background-color:#004dff;border-color:#004dff;color:#fff}.period-filters[_ngcontent-%COMP%]   .item.active[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:block;height:30px;line-height:30px;padding:0 7px;margin:0 2px;background:#fff;border:1px solid #dce2e9;border-radius:5px;text-align:center;letter-spacing:.75px;cursor:pointer;overflow:hidden}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   input[type=radio][_ngcontent-%COMP%]{position:absolute;z-index:-9999}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#004dff;border-color:#004dff;color:#fff}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{fill:#fff}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]   svg[_ngcontent-%COMP%]{margin-right:3px;display:inline-block;fill:#004dff}.date-input[_ngcontent-%COMP%]{height:28px;padding:5px 10px;background:#fff;border:none}@media screen and (max-width:620px){.period-filters[_ngcontent-%COMP%]{width:100%;flex-wrap:wrap}.period-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:10px;flex-grow:1}.period-filters[_ngcontent-%COMP%]   .date-input[_ngcontent-%COMP%]{width:100%}}.filters-wrap.disabled[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:no-drop}.title-td[_ngcontent-%COMP%]{width:50%}@media screen and (max-width:767px){.filters-wrap[_ngcontent-%COMP%]{width:100%;margin-top:15px}.card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{width:100%}}@media screen and (max-width:620px){.filters-wrap[_ngcontent-%COMP%]   .dashboard-filters[_ngcontent-%COMP%]{width:100%;flex-wrap:wrap}.filters-wrap[_ngcontent-%COMP%]   .dashboard-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{margin-bottom:10px}.dashboard-filters[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{flex-grow:1}.dashboard-filters[_ngcontent-%COMP%]   .date-input[_ngcontent-%COMP%]{width:100%}}"],changeDetection:0}),t})(),pathMatch:"full"}];var Pt=c("zz3X"),kt=c("TM6R");let $t=(()=>{class t{}return t.\u0275mod=C.Wb({type:t}),t.\u0275inj=C.Vb({factory:function(e){return new(e||t)},imports:[[n.c,a.g.forChild(Ft),kt.a,x.v,Pt.a,P.b]]}),t})()}}]);

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.