1(self.webpackChunksecuritas=self.webpackChunksecuritas||[]).push([[154],{5840(e,l,t){var n=t(3633);e.exports=(n.default||n).template({0:function(e,l,t,n,i){var r,o,a=null!=l?l:e.nullContext||{},c=e.hooks.helperMissing,s="function",u=e.escapeExpression,d=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return'<input type="radio" name="pricing-filter" id="bundle-filter-'+u(typeof(o=null!=(o=d(t,"index")||i&&d(i,"index"))?o:c)===s?o.call(a,{name:"index",hash:{},data:i,loc:{start:{line:2,column:60},end:{line:2,column:70}}}):o)+'" value="'+u(typeof(o=null!=(o=d(t,"title")||(null!=l?d(l,"title"):l))?o:c)===s?o.call(a,{name:"title",hash:{},data:i,loc:{start:{line:2,column:79},end:{line:2,column:88}}}):o)+'"'+(null!=(r=d(t,"if").call(a,null!=l?d(l,"selected"):l,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:2,column:89},end:{line:2,column:123}}}))?r:"")+'>\n<label class="pricing-filter-label" for="bundle-filter-'+u(typeof(o=null!=(o=d(t,"index")||i&&d(i,"index"))?o:c)===s?o.call(a,{name:"index",hash:{},data:i,loc:{start:{line:3,column:55},end:{line:3,column:65}}}):o)+'">'+u(typeof(o=null!=(o=d(t,"title")||(null!=l?d(l,"title"):l))?o:c)===s?o.call(a,{name:"title",hash:{},data:i,loc:{start:{line:3,column:67},end:{line:3,column:76}}}):o)+"</label>\n"},1:function(e,l,t,n,i){return' checked=""'},compiler:[8,">= 4.3.0"],main:function(e,l,t,n,i){var r;return null!=(r=(e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]})(t,"each").call(null!=l?l:e.nullContext||{},l,{name:"each",hash:{},fn:e.program(0,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:4,column:9}}}))?r:""},useData:!0})},2382(e,l,t){var n=t(3633);e.exports=(n.default||n).template({0:function(e,l,t,n,i){var r,o,a=null!=l?l:e.nullContext||{},c=e.hooks.helperMissing,s="function",u=e.escapeExpression,d=e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]};return'<div class="price-info'+(null!=(r=d(t,"if").call(a,null!=l?d(l,"isHighlight"):l,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:2,column:22},end:{line:2,column:58}}}))?r:"")+(null!=(r=d(t,"unless").call(a,null!=l?d(l,"selected"):l,{name:"unless",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i,loc:{start:{line:2,column:58},end:{line:2,column:96}}}))?r:"")+'" data-id="bundle-filter-'+u(typeof(o=null!=(o=d(t,"index")||i&&d(i,"index"))?o:c)===s?o.call(a,{name:"index",hash:{},data:i,loc:{start:{line:2,column:121},end:{line:2,column:131}}}):o)+'">\n <div class="pricing-modal-title">'+u(typeof(o=null!=(o=d(t,"title")||(null!=l?d(l,"title"):l))?o:c)===s?o.call(a,{name:"title",hash:{},data:i,loc:{start:{line:3,column:37},end:{line:3,column:46}}}):o)+'</div>\n <div class="pricing-modal-preamble">'+u(typeof(o=null!=(o=d(t,"text")||(null!=l?d(l,"text"):l))?o:c)===s?o.call(a,{name:"text",hash:{},data:i,loc:{start:{line:4,column:40},end:{line:4,column:48}}}):o)+'</div>\n <div class="pricing-modal-price">\n <span class="price">'+u(typeof(o=null!=(o=d(t,"price")||(null!=l?d(l,"price"):l))?o:c)===s?o.call(a,{name:"price",hash:{},data:i,loc:{start:{line:6,column:28},end:{line:6,column:37}}}):o)+'</span>\n <span class="price-label">'+u(typeof(o=null!=(o=d(t,"priceLabel")||(null!=l?d(l,"priceLabel"):l))?o:c)===s?o.call(a,{name:"priceLabel",hash:{},data:i,loc:{start:{line:7,column:34},end:{line:7,column:48}}}):o)+"</span>\n </div>\n</div>\n"},1:function(e,l,t,n,i){return" highlight"},2:function(e,l,t,n,i){return" hidden"},compiler:[8,">= 4.3.0"],main:function(e,l,t,n,i){var r;return null!=(r=(e.lookupProperty||function(e,l){if(Object.prototype.hasOwnProperty.call(e,l))return e[l]})(t,"each").call(null!=l?l:e.nullContext||{},l,{name:"each",hash:{},fn:e.program(0,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:10,column:9}}}))?r:""},useData:!0})},8081(e,l,t){"use strict";t.d(l,{BundlingBlock:()=>s});var n=t(8044),i=t(5145),r=t(5840),o=t.n(r),a=t(2382),c=t.n(a);class s extends n.e{static className="js-bundling-block";constructor(e,l){super(e,l),this.triggerPricingModal(),this.toggleBundleFilter(),this.equalHeight()}toggleBundleFilter(){const e=this.rootElement.querySelector(".js-bundle-filter"),l=e?.querySelectorAll("label");l&&l.forEach((e,l)=>{const t=e.previousElementSibling,n=`bundle-filter-${this.index}-${l}`;t&&t instanceof HTMLInputElement&&(e.htmlFor=n,t.id=n,e.addEventListener("click",this.handleBu
1ndleFilterLabelClick))})}handleBundleFilterLabelClick=e=>{const l=e.currentTarget;if(!(l&&l instanceof HTMLElement))return;const t=l.previousElementSibling;t&&t instanceof HTMLInputElement&&(t.checked||("monthly"===t.value?(this.rootElement.classList.add("monthly"),this.rootElement.classList.remove("yearly")):(this.rootElement.classList.remove("monthly"),this.rootElement.classList.add("yearly"))))};triggerPricingModal(){this.rootElement.querySelectorAll(".js-pricing-modal-trigger").forEach(e=>{e.addEventListener("click",e=>{const l=e.currentTarget;if(!(l&&l instanceof HTMLButtonElement))return;const t=l.dataset.id;let n=this.rootElement.querySelector("[data-formid='"+t+"']");if(null===n&&(n=this.rootElement.querySelector(".js-pricing-modal-block")),!n)return;const i=l.closest(".js-bundle-data")?.querySelector(".bundle-title")?.innerText||"";n.style.display="flex",this.renderPricingModalContent(i),n.addEventListener("click",e=>{const l=e.currentTarget,t=e.target;t&&t instanceof HTMLElement&&l&&l instanceof HTMLDivElement&&(t.classList.contains("modal-form__close")||t.classList.contains("js-pricing-modal-block"))&&(l.style.display="none")})})})}renderPricingModalContent(e){const l=this.rootElement.querySelectorAll(".js-bundle-data"),t=this.rootElement.querySelector(".js-pricing-modal-content"),n=this.rootElement.querySelector(".js-pricing-filters"),i=[];l.forEach(l=>{const t=l.querySelector(".bundle-title")?.innerText,n=e===t,r={title:t,text:l.querySelector(".bundle-description")?.innerText,price:l.querySelector(".js-price-month")?.innerText,priceLabel:l.querySelector(".js-price-month.price-label")?.innerText,isHighlight:l.closest(".card")?.classList.contains("is-highlight"),selected:n};i.push(r)}),null!==t&&null!==n&&(t.innerHTML=c()(i),n.innerHTML=o()(i)),this.updateHiddenInput(e),this.togglePackagePricingFilters()}updateHiddenInput(e){const l=this.rootElement.querySelector(".form-block"),t=l?.querySelector("input.PricingInformation");null!=t&&(t.value="",t.value=e)}togglePackagePricingFilters(){const e=this.rootElement.querySelector(".js-pricing-filters"),l=e?.querySelectorAll(".pricing-filter-label");l?.forEach(e=>{e.addEventListener("click",this.handlePricingFilterLabelClick.bind(this))})}handlePricingFilterLabelClick(e){const l=e.currentTarget;if(!(l&&l instanceof HTMLLabelElement))return;const t=l.htmlFor,n=l.closest(".js-pricing-modal-block"),i=n?.querySelector(".form-block"),r=i?.querySelector("input.PricingInformation");null!=r&&(r.value="",r.value=l.innerText);const o=n?.querySelectorAll(".price-info"),a=n?.querySelector(`.price-info[data-id='${t}']`);o?.forEach(e=>{e.classList.add("hidden")}),a?.classList.remove("hidden")}equalHeight(){(0,i.Eh)(".bundle-top",this.rootElement),(0,i.Eh)(".bundle-data",this.rootElement)}}},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=bundling-block.3f01eb2e.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.