1(self.webpackChunksecuritas=self.webpackChunksecuritas||[]).push([[916],{7662(e,l,t){var n=t(3633);e.exports=(n.default||n).template({0:function(e,l,t,n,a){var c,i=null!=l?l:e.nullContext||{},o=e.hooks.helperMissing,r="function",s=e.escapeExpression,u=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return s(typeof(c=null!=(c=u(t,"Label1")||(null!=l?u(l,"Label1"):l))?c:o)===r?c.call(i,{name:"Label1",hash:{},data:a,loc:{start:{line:2,column:47},end:{line:2,column:57}}}):c)+": "+s(typeof(c=null!=(c=u(t,"Metric1")||(null!=l?u(l,"Metric1"):l))?c:o)===r?c.call(i,{name:"Metric1",hash:{},data:a,loc:{start:{line:2,column:59},end:{line:2,column:70}}}):c)},1:function(e,l,t,n,a){var c,i=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return e.escapeExpression("function"==typeof(c=null!=(c=i(t,"Metric1")||(null!=l?i(l,"Metric1"):l))?c:e.hooks.helperMissing)?c.call(null!=l?l:e.nullContext||{},{name:"Metric1",hash:{},data:a,loc:{start:{line:2,column:78},end:{line:2,column:89}}}):c)},2:function(e,l,t,n,a){var c,i=null!=l?l:e.nullContext||{},o=e.hooks.helperMissing,r="function",s=e.escapeExpression,u=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return s(typeof(c=null!=(c=u(t,"Label2")||(null!=l?u(l,"Label2"):l))?c:o)===r?c.call(i,{name:"Label2",hash:{},data:a,loc:{start:{line:11,column:47}
1,end:{line:11,column:57}}}):c)+": "+s(typeof(c=null!=(c=u(t,"Metric2")||(null!=l?u(l,"Metric2"):l))?c:o)===r?c.call(i,{name:"Metric2",hash:{},data:a,loc:{start:{line:11,column:59},end:{line:11,column:70}}}):c)},3:function(e,l,t,n,a){var c,i=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return e.escapeExpression("function"==typeof(c=null!=(c=i(t,"Metric2")||(null!=l?i(l,"Metric2"):l))?c:e.hooks.helperMissing)?c.call(null!=l?l:e.nullContext||{},{name:"Metric2",hash:{},data:a,loc:{start:{line:11,column:78},end:{line:11,column:89}}}):c)},4:function(e,l,t,n,a){var c,i=null!=l?l:e.nullContext||{},o=e.hooks.helperMissing,r="function",s=e.escapeExpression,u=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return s(typeof(c=null!=(c=u(t,"Label3")||(null!=l?u(l,"Label3"):l))?c:o)===r?c.call(i,{name:"Label3",hash:{},data:a,loc:{start:{line:20,column:47},end:{line:20,column:57}}}):c)+": "+s(typeof(c=null!=(c=u(t,"Metric3")||(null!=l?u(l,"Metric3"):l))?c:o)===r?c.call(i,{name:"Metric3",hash:{},data:a,loc:{start:{line:20,column:59},end:{line:20,column:70}}}):c)},5:function(e,l,t,n,a){var c,i=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return e.escapeExpression("function"==typeof(c=null!=(c=i(t,"Metric3")||(null!=l?i(l,"Metric3"):l))?c:e.hooks.helperMissing)?c.call(null!=l?l:e.nullContext||{},{name:"Metric3",hash:{},data:a,loc:{start:{line:20,column:78},end:{line:20,column:89}}}):c)},compiler:[8,">= 4.3.0"],main:function(e,l,t,n,a){var c,i,o=null!=l?l:e.nullContext||{},r=e.hooks.helperMissing,s="function",u=e.escapeExpression,m=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return'<div class="metric-inner">\n <div class="metric-1" title="'+(null!=(c=m(t,"if").call(o,null!=l?m(l,"Label1"):l,{name:"if",hash:{},fn:e.program(0,a,0),inverse:e.program(1,a,0),data:a,loc:{start:{line:2,column:33},end:{line:2,column:96}}}))?c:"")+'">\n <div class="metric-background">\n '+(null!=(c=typeof(i=null!=(i=m(t,"ImageHtml1")||(null!=l?m(l,"ImageHtml1"):l))?i:r)===s?i.call(o,{name:"ImageHtml1",hash:{},data:a,loc:{start:{line:4,column:12},end:{line:4,column:28}}}):i)?c:"")+'\n </div>\n <div class="metric-content">\n <div class="metric-label">'+u(typeof(i=null!=(i=m(t,"Label1")||(null!=l?m(l,"Label1"):l))?i:r)===s?i.call(o,{name:"Label1",hash:{},data:a,loc:{start:{line:7,column:38},end:{line:7,column:48}}}):i)+'</div>\n <div class="data-value">'+u(typeof(i=null!=(i=m(t,"Metric1")||(null!=l?m(l,"Metric1"):l))?i:r)===s?i.call(o,{name:"Metric1",hash:{},data:a,loc:{start:{line:8,column:36},end:{line:8,column:47}}}):i)+'</div>\n </div>\n </div>\n <div class="metric-2" title="'+(null!=(c=m(t,"if").call(o,null!=l?m(l,"Label2"):l,{name:"if",hash:{},fn:e.program(2,a,0),inverse:e.program(3,a,0),data:a,loc:{start:{line:11,column:33},end:{line:11,column:96}}}))?c:"")+'">\n <div class="metric-background">\n '+(null!=(c=typeof(i=null!=(i=m(t,"ImageHtml2")||(null!=l?m(l,"ImageHtml2"):l))?i:r)===s?i.call(o,{name:"ImageHtml2",hash:{},data:a,loc:{start:{line:13,column:12},end:{line:13,column:28}}}):i)?c:"")+'\n </div>\n <div class="metric-content">\n <div class="metric-label">'+u(typeof(i=null!=(i=m(t,"Label2")||(null!=l?m(l,"Label2"):l))?i:r)===s?i.call(o,{name:"Label2",hash:{},data:a,loc:{start:{line:16,column:38},end:{line:16,column:48}}}):i)+'</div>\n <div class="data-value">'+u(typeof(i=null!=(i=m(t,"Metric2")||(null!=l?m(l,"Metric2"):l))?i:r)===s?i.call(o,{name:"Metric2",hash:{},data:a,loc:{start:{line:17,column:36},end:{line:17,column:47}}}):i)+'</div>\n </div>\n </div>\n <div class="metric-3" title="'+(null!=(c=m(t,"if").call(o,null!=l?m(l,"Label3"):l,{name:"if",hash:{},fn:e.program(4,a,0),inverse:e.program(5,a,0),data:a,loc:{start:{line:20,column:33},end:{line:20,column:96}}}))?c:"")+'">\n <div class="metric-background">\n '+(null!=(c=typeof(i=null!=(i=m(t,"ImageHtml3")||(null!=l?m(l,"ImageHtml3"):l))?i:r)===s?i.c
1all(o,{name:"ImageHtml3",hash:{},data:a,loc:{start:{line:22,column:12},end:{line:22,column:28}}}):i)?c:"")+'\n </div>\n <div class="metric-content">\n <div class="metric-label">'+u(typeof(i=null!=(i=m(t,"Label3")||(null!=l?m(l,"Label3"):l))?i:r)===s?i.call(o,{name:"Label3",hash:{},data:a,loc:{start:{line:25,column:38},end:{line:25,column:48}}}):i)+'</div>\n <div class="data-value">'+u(typeof(i=null!=(i=m(t,"Metric3")||(null!=l?m(l,"Metric3"):l))?i:r)===s?i.call(o,{name:"Metric3",hash:{},data:a,loc:{start:{line:26,column:36},end:{line:26,column:47}}}):i)+"</div>\n </div>\n </div>\n</div>"},useData:!0})},355(e,l,t){"use strict";t.d(l,{FactsBlock:()=>i});var n=t(8044),a=t(7662),c=t.n(a);class i extends n.e{static className="js-facts-block";selectLabel=null;selectToggle=null;selectOptions=[];metricsWrapper=null;constructor(e,l){super(e,l),this.metricsWrapper=e.querySelector(".metric-wrapper"),this.initSelect()}initSelect(){this.selectLabel=this.rootElement.querySelector(".dropdown__filter-selected"),this.selectToggle=this.rootElement.querySelector(".dropdown__switch"),this.selectOptions=Array.from(this.rootElement.querySelectorAll(".dropdown__select-option")),this.selectToggle?.addEventListener("change",this.handleToggleChange),this.selectOptions.forEach(e=>{e.addEventListener("click",this.handleOptionClick)})}handleToggleChange=()=>{this.selectToggle?.checked?document.addEventListener("click",this.handleClickOutsideDropdown):document.removeEventListener("click",this.handleClickOutsideDropdown)};handleClickOutsideDropdown=e=>{e.stopPropagation();const l=this.rootElement.querySelector(".dropdown__switch"),t=e.target;if(!l||t===l)return;t.closest(".dropdown")||(l.checked=!1)};handleOptionClick=e=>{e.stopPropagation();const l=e.currentTarget;if(!(this.selectLabel&&l instanceof HTMLElement))return;this.selectLabel.textContent=l.textContent;const t=l.dataset;t&&this.renderData(t)};renderData(e){const l={label:e.label1??"",metric:e.metric1??""},t={label:e.label2??"",metric:e.metric2??""},n={label:e.label3??"",metric:e.metric3??""},a={Label1:l.label,Metric1:l.metric,Label2:t.label,Metric2:t.metric,Label3:n.label,Metric3:n.metric,ImageHtml1:e.img1||"",ImageHtml2:e.img2||"",ImageHtml3:e.img3||""};this.metricsWrapper&&(this.metricsWrapper.innerHTML=c()(a))}}},8044(e,l,t){"use strict";t.d(l,{e:()=>n});class n{rootElement;index;dataset;constructor(e,l){this.rootElement=e,this.index=l,this.dataset=e.dataset}getRootElement(){return this.rootElement}init(){}destroy(){}}}}]); 2//# sourceMappingURL=facts-block.00d6bd4f.chunk.min.js.map
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.