<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">

var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
(()=&gt;{"use strict";const e=window.wp.i18n,t=e=&gt;Math.abs(parseInt(e,10)),a=(e,t,a)=&gt;{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&amp;&amp;(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=&gt;{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&amp;&amp;(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&amp;&amp;r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=&gt;{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=&gt;a=&gt;t(a,e)),(e=&gt;{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&amp;&amp;(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&amp;&amp;(-1!==t.indexOf("?")&amp;&amp;(o=o.replace("?","&amp;")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&amp;&amp;(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=&gt;Promise.resolve(e).then((e=&gt;{if(e.status&gt;=200&amp;&amp;e.status&lt;300)return e;throw e})).then((e=&gt;{if(204===e.status)return null;if(e&amp;&amp;e.json)return e.json().catch((()=&gt;{throw u}));throw u}))),(()=&gt;{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=&gt;(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=&gt;{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&amp;&amp;e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=&gt;{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&amp;&amp;s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=&gt;{n(e,f)}))}r.use=e=&gt;{c.unshift(e)};const s=(e,t,a,n)=&gt;{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=&gt;{const t=document.createElement("li");t.setAttribute("id",o),s&amp;&amp;s.id?t.insertAdjacentHTML("beforeend",`&lt;a href="#${s.id}"&gt;${a}&lt;/a&gt;`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=&gt;{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=&gt;{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=&gt;{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&amp;&amp;e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&amp;&amp;(e.addEventListener("focus",(e=&gt;{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=&gt;{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=&gt;{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=&gt;{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=&gt;{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=&gt;{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&amp;&amp;e.setCustomValidity("")}))}))},l=(e,t,a)=&gt;{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=&gt;{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&amp;&amp;a.push(t.dataset.default),a.slice(0,1).forEach((e=&gt;{e instanceof File&amp;&amp;(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=&gt;{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=&gt;{a instanceof File&amp;&amp;(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&amp;&amp;t.submitter.name&amp;&amp;c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=&gt;{const t=e[0],a=e[1];return!t.match(/^_/)&amp;&amp;{name:t,value:a}})).filter((e=&gt;!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=&gt;{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&amp;&amp;a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=&gt;{t.posted_data_hash&amp;&amp;(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&amp;&amp;(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&amp;&amp;t.invalid_fields.forEach((t=&gt;{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=&gt;{e.innerText=t.message}))})).catch((e=&gt;console.error(e)))}r.use(((e,t)=&gt;{if(e.wpcf7&amp;&amp;"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=&gt;{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=&gt;{t.dataset.name&amp;&amp;i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=&gt;{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=&gt;{const t=e[0],a=e[1];return!t.match(/^_/)&amp;&amp;{name:t,value:a}})).filter((e=&gt;!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=&gt;{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=&gt;console.error(e)))}r.use(((e,t)=&gt;{if(e.wpcf7&amp;&amp;"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=&gt;{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=&gt;{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=&gt;{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&amp;&amp;e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=&gt;{e.value=r[1]}))}},m=(e,t)=&gt;{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=&gt;{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=&gt;{e.insertAdjacentHTML("afterend",'&lt;span class="wpcf7-spinner"&gt;&lt;/span&gt;')})),(e=&gt;{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=&gt;{t.addEventListener("change",(t=&gt;{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=&gt;{e!==t.target&amp;&amp;(e.checked=!1)}))}))}))})(e),(e=&gt;{e.querySelectorAll(".has-free-text").forEach((t=&gt;{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=&gt;{a.disabled=!n.checked,e.target===n&amp;&amp;n.checked&amp;&amp;a.focus()}))}))})(e),(e=&gt;{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=&gt;{e.addEventListener("change",(t=&gt;{let a=e.value.trim();a&amp;&amp;!a.match(/^[a-z][a-z0-9.+-]*:/i)&amp;&amp;-1!==a.indexOf(".")&amp;&amp;(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=&gt;{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=&gt;{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=&gt;{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&amp;&amp;a.checked||!e.classList.contains("invert")&amp;&amp;!a.checked)&amp;&amp;(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=&gt;{e.disabled=!t}))};t(),e.addEventListener("change",(e=&gt;{t()})),e.addEventListener("wpcf7reset",(e=&gt;{t()}))})(e),(e=&gt;{const a=(e,a)=&gt;{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&amp;&amp;r&lt;a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),c&amp;&amp;a.value.length&lt;c?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=&gt;{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=&gt;{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&amp;&amp;(c.value=c.defaultValue,a(n,c),t.init&amp;&amp;c.addEventListener("keyup",(e=&gt;{a(n,c)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=&gt;{n()}))})(e),window.addEventListener("load",(t=&gt;{wpcf7.cached&amp;&amp;e.reset()})),e.addEventListener("reset",(t=&gt;{wpcf7.reset(e)})),e.addEventListener("submit",(t=&gt;{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=&gt;{t.detail.apiResponse.captcha&amp;&amp;u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&amp;&amp;m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=&gt;{t.detail.apiResponse.captcha&amp;&amp;u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&amp;&amp;m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=&gt;{t.target.closest(".wpcf7-form-control")&amp;&amp;wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=&gt;{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=&gt;{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=&gt;{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=&gt;{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&amp;&amp;void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=&gt;{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 &gt; form").forEach((e=&gt;{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=&gt;{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
document.addEventListener('DOMContentLoaded',function(){const form=document.getElementById('session-preferences-form');const descriptionField=document.getElementById('use-case-description');const enableMemoryField=document.getElementById('enable-memory');const submitButton=document.getElementById('submit-preferences');enableMemoryField.addEventListener('change',function(){const recommendations=document.createElement('p');recommendations.id='dynamic-recommendations';if(enableMemoryField.value==='yes'){recommendations.textContent='Memory enables personalized sessions but requires clear communication for better performance.'}else{recommendations.textContent='Without memory, sessions will focus on isolated responses without contextual history.'}
const existingRecommendations=document.getElementById('dynamic-recommendations');if(existingRecommendations){existingRecommendations.remove()}
descriptionField.parentElement.appendChild(recommendations)});form.addEventListener('submit',function(e){e.preventDefault();const formData=new FormData(form);const preferences={};for(const[key,value]of formData.entries()){preferences[key]=value}
const content=Object.entries(preferences).map(([key,value])=&gt;`${key}: ${value}`).join('\n');const blob=new Blob([content],{type:'text/plain'});const downloadLink=document.createElement('a');downloadLink.href=URL.createObjectURL(blob);downloadLink.download='session_preferences.txt';downloadLink.textContent='Download Preferences';submitButton.parentElement.appendChild(downloadLink);submitButton.style.display='none'})});



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
/*!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
;(function($){'use strict';$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null};if(!document.getElementById('fit-vids-style')){var head=document.head||document.getElementsByTagName('head')[0];var css='.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';var div=document.createElement("div");div.innerHTML='&lt;p&gt;x&lt;/p&gt;&lt;style id="fit-vids-style"&gt;'+css+'&lt;/style&gt;';head.appendChild(div.childNodes[1])}
if(options){$.extend(settings,options)}
return this.each(function(){var selectors=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]','object','embed'];if(settings.customSelector){selectors.push(settings.customSelector)}
var ignoreList='.fitvidsignore';if(settings.ignore){ignoreList=ignoreList+', '+settings.ignore}
var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not('object object');$allVideos=$allVideos.not(ignoreList);$allVideos.each(function(count){var $this=$(this);if($this.parents(ignoreList).length&gt;0){return}
if(this.tagName.toLowerCase()==='embed'&amp;&amp;$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length){return}
if((!$this.css('height')&amp;&amp;!$this.css('width'))&amp;&amp;(isNaN($this.attr('height'))||isNaN($this.attr('width')))){$this.attr('height',9);$this.attr('width',16)}
var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&amp;&amp;!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('id')){var videoID='fitvid'+count;$this.attr('id',videoID)}
$this.wrap('&lt;div class="fluid-width-video-wrapper"&gt;&lt;/div&gt;').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+'%');$this.removeAttr('height').removeAttr('width')})})}})(window.jQuery||window.Zepto);



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
/**
* @preserve Sticky Anything 2.0.1 | @senff | GPL2 Licensed
*/

!function(a){function b(b,c,d,e,f,g,h){$listenerElement=a(".sticky-element-active");var i=$listenerElement.offset();if(orgElementTop=i.top,f){var j=a(f).offset();pushElementTop=j.top}var k=window,l="inner";if("innerWidth"in window||(l="client",k=document.documentElement||document.body),viewport=k[l+"Width"],a(window).scrollTop()&gt;=orgElementTop-b&amp;&amp;viewport&gt;=c&amp;&amp;viewport&lt;=d){coordsOrgElement=$listenerElement.offset(),leftOrgElement=coordsOrgElement.left,widthPlaceholder=$listenerElement[0].getBoundingClientRect().width,widthPlaceholder||(widthPlaceholder=$listenerElement.css("width")),heightPlaceholder=$listenerElement[0].getBoundingClientRect().height,heightPlaceholder||(heightPlaceholder=$listenerElement.css("height")),widthSticky=a(".sticky-element-original").css("width"),"0px"==widthSticky&amp;&amp;(widthSticky=a(".sticky-element-original")[0].getBoundingClientRect().width),heightSticky=a(".sticky-element-original").height(),paddingOrgElement=[a(".sticky-element-original").css("padding-top"),a(".sticky-element-original").css("padding-right"),a(".sticky-element-original").css("padding-bottom"),a(".sticky-element-original").css("padding-left")],paddingSticky=paddingOrgElement[0]+" "+paddingOrgElement[1]+" "+paddingOrgElement[2]+" "+paddingOrgElement[3],marginOrgElement=[$listenerElement.css("margin-top"),$listenerElement.css("margin-right"),$listenerElement.css("margin-bottom"),$listenerElement.css("margin-left")],marginPlaceholder=marginOrgElement[0]+" "+marginOrgElement[1]+" "+marginOrgElement[2]+" "+marginOrgElement[3],assignedStyles="";for(var m in g)"inline"==g[m]?assignedStyles+=m+":inline-block; ":assignedStyles+=m+":"+g[m]+"; ";elementHeight=0,heightPlaceholder&lt;1?elementHeight=a(".sticky-element-cloned").outerHeight():elementHeight=a(".sticky-element-original").outerHeight(),f&amp;&amp;a(window).scrollTop()&gt;pushElementTop-b-elementHeight?stickyTopMargin=pushElementTop-b-elementHeight-a(window).scrollTop():stickyTopMargin=0,assignedStyles+="width:"+widthPlaceholder+"px; height:"+heightPlaceholder+"px; margin:"+marginPlaceholder+";",a(".sticky-element-original").removeClass("sticky-element-not-sticky").addClass("sticky-element-sticky").removeClass("sticky-element-active").css("position","fixed").css("left",leftOrgElement+"px").css("top",b+"px").css("width",widthSticky).css("margin-left",0).css("padding",paddingSticky).css("margin-top",stickyTopMargin).css("z-index",e),a(".sticky-element-placeholder").hasClass("sticky-element-active")||a(".sticky-element-placeholder").addClass("sticky-element-active").attr("style",assignedStyles)}else a(".sticky-element-original").addClass("sticky-element-not-sticky").removeClass("sticky-element-sticky").addClass("sticky-element-active").attr("style",h),a(".sticky-element-placeholder").hasClass("sticky-element-active")&amp;&amp;a(".sticky-element-placeholder").removeClass("sticky-element-active").removeAttr("style").css("width","0").css("height","0").css("margin","0").css("padding","0")}function c(){a(".sticky-element-original").addClass("sticky-element-active").before('&lt;div class="sticky-element-placeholder" style="width:0; height:0; margin:0; padding:0; visibility:hidden;"&gt;&lt;/div&gt;')}function d(a){return o={},o.display=a.css("display"),o.float=a.css("float"),o.flex=a.css("flex"),o["box-sizing"]=a.css("box-sizing"),o.clear=a.css("clear"),o.overflow=a.css("overflow"),o.transform=a.css("transform"),o}a.fn.stickThis=function(e){var f=a.extend({top:0,minscreenwidth:0,maxscreenwidth:99999,zindex:1,debugmode:!1,pushup:""},e),g=a(this).length,h=a(f.pushup).length;return h&lt;1?(1==f.debugmode&amp;&amp;f.pushup&amp;&amp;console.error('STICKY ANYTHING DEBUG: There are no elements with the selector/class/ID you selected for the Push-up element ("'+f.pushup+'").'),f.pushup=""):h&gt;1&amp;&amp;(1==f.debugmode&amp;&amp;console.error("STICKY ANYTHING DEBUG: There are "+h+' elements on the page with the selector/class/ID you selected for the push-up element ("'+f.pushup+'"). You can select only ONE element to push the sticky element up.'),f.pushup=""),g&lt;1?1==f.debugmode&amp;&amp;console.error('STICKY ANYTHING DEBUG: There are no elements with the selector/class/ID you selected for the sticky element ("'+this.selector+'").'):g&gt;1?1==f.debugmode&amp;&amp;console.error("STICKY ANYTHING DEBUG: There There are "+h+' elements with the selector/class/ID you selected for the sticky element ("'+this.selector+'"). You can only make ONE element sticky.'):(a(this).addClass("sticky-element-original").addClass("sticky-element-not-sticky"),orgAssignedStyles=d(a(this)),orgInlineStyles=a(".sticky-element-original").attr("style"),null==orgInlineStyles&amp;&amp;(orgInlineStyles=""),c(),checkElement=setInterval(function(){b(f.top,f.minscreenwidth,f.maxscreenwidth,f.zindex,f.pushup,orgAssignedStyles,orgInlineStyles)},10)),this}}(jQuery);



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
/*!
 * imagesLoaded PACKAGED v4.1.4
 * JavaScript is all like "You images are done yet or what?"
 * MIT License
 */

!function(e,t){"function"==typeof define&amp;&amp;define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&amp;&amp;module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&amp;&amp;t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&amp;&amp;n.push(t),this}},t.once=function(e,t){if(e&amp;&amp;t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&amp;&amp;this._events[e];if(i&amp;&amp;i.length){var n=i.indexOf(t);return n!=-1&amp;&amp;i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&amp;&amp;this._events[e];if(i&amp;&amp;i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&amp;&amp;this._onceEvents[e],o=0;o&lt;i.length;o++){var r=i[o],s=n&amp;&amp;n[r];s&amp;&amp;(this.off(e,r),delete n[r]),r.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e}),function(e,t){"use strict";"function"==typeof define&amp;&amp;define.amd?define(["ev-emitter/ev-emitter"],function(i){return t(e,i)}):"object"==typeof module&amp;&amp;module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(e,t){function i(e,t){for(var i in t)e[i]=t[i];return e}function n(e){if(Array.isArray(e))return e;var t="object"==typeof e&amp;&amp;"number"==typeof e.length;return t?d.call(e):[e]}function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);var s=e;return"string"==typeof e&amp;&amp;(s=document.querySelectorAll(e)),s?(this.elements=n(s),this.options=i({},this.options),"function"==typeof t?r=t:i(this.options,t),r&amp;&amp;this.on("always",r),this.getImages(),h&amp;&amp;(this.jqDeferred=new h.Deferred),void setTimeout(this.check.bind(this))):void a.error("Bad element for imagesLoaded "+(s||e))}function r(e){this.img=e}function s(e,t){this.url=e,this.element=t,this.img=new Image}var h=e.jQuery,a=e.console,d=Array.prototype.slice;o.prototype=Object.create(t.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&amp;&amp;this.addImage(e),this.options.background===!0&amp;&amp;this.addElementBackgroundImages(e);var t=e.nodeType;if(t&amp;&amp;u[t]){for(var i=e.querySelectorAll("img"),n=0;n&lt;i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var r=e.querySelectorAll(this.options.background);for(n=0;n&lt;r.length;n++){var s=r[n];this.addElementBackgroundImages(s)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(t.backgroundImage);null!==n;){var o=n&amp;&amp;n[2];o&amp;&amp;this.addBackground(o,e),n=i.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new r(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var i=new s(e,t);this.images.push(i)},o.prototype.check=function(){function e(e,i,n){setTimeout(function(){t.progress(e,i,n)})}var t=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(t){t.once("progress",e),t.check()}):void this.complete()},o.prototype.progress=function(e,t,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&amp;&amp;this.jqDeferred.notify&amp;&amp;this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&amp;&amp;this.complete(),this.options.debug&amp;&amp;a&amp;&amp;a.log("progress: "+i,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},r.prototype=Object.create(t.prototype),r.prototype.check=function(){var e=this.getIsImageComplete();return e?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},r.prototype.getIsImageComplete=function(){return this.img.complete&amp;&amp;this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},r.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&amp;&amp;this[t](e)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype=Object.create(r.prototype),s.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var e=this.getIsImageComplete();e&amp;&amp;(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},s.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},s.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){t=t||e.jQuery,t&amp;&amp;(h=t,h.fn.imagesLoaded=function(e,t){var i=new o(this,e,t);return i.jqDeferred.promise(h(this))})},o.makeJQueryPlugin(),o});



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
/*!
 * Masonry PACKAGED v4.2.2
 * Cascading grid layout library
 * https://masonry.desandro.com
 * MIT License
 * by David DeSandro
 */

!function(t,e){"function"==typeof define&amp;&amp;define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&amp;&amp;module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&amp;&amp;(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&amp;&amp;(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&amp;&amp;t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&amp;&amp;module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&amp;&amp;e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&amp;&amp;n.push(e),this}},e.once=function(t,e){if(t&amp;&amp;e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&amp;&amp;this._events[t];if(i&amp;&amp;i.length){var n=i.indexOf(e);return-1!=n&amp;&amp;i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&amp;&amp;this._events[t];if(i&amp;&amp;i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&amp;&amp;this._onceEvents[t],o=0;o&lt;i.length;o++){var r=i[o],s=n&amp;&amp;n[r];s&amp;&amp;(this.off(t,r),delete n[r]),r.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define("get-size/get-size",e):"object"==typeof module&amp;&amp;module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&amp;&amp;!isNaN(e);return i&amp;&amp;e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u&gt;e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&amp;&amp;(e=document.querySelector(e)),e&amp;&amp;"object"==typeof e&amp;&amp;e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u&gt;l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&amp;&amp;s,b=t(r.width);b!==!1&amp;&amp;(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&amp;&amp;(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&amp;&amp;define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&amp;&amp;module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i&lt;e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&amp;&amp;module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var n=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&amp;&amp;"number"==typeof t.length;return e?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&amp;&amp;t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&amp;&amp;t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&amp;&amp;this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&amp;&amp;o.push(t);for(var i=t.querySelectorAll(n),r=0;r&lt;i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var r=i.toDashed(n),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",l=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&amp;&amp;JSON.parse(r)}catch(a){return void(o&amp;&amp;o.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);l&amp;&amp;l.data(t,n,h)})})},i}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&amp;&amp;module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function n(t,e){t&amp;&amp;(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function o(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var r=document.documentElement.style,s="string"==typeof r.transition?"transition":"WebkitTransition",a="string"==typeof r.transform?"transform":"WebkitTransform",h={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[s],u={transform:a,transition:s,transitionDuration:s+"Duration",transitionProperty:s+"Property",transitionDelay:s+"Delay"},d=n.prototype=Object.create(t.prototype);d.constructor=n,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&amp;&amp;this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var n=u[i]||i;e[n]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=parseFloat(n),s=parseFloat(o),a=this.layout.size;-1!=n.indexOf("%")&amp;&amp;(r=r/100*a.width),-1!=o.indexOf("%")&amp;&amp;(s=s/100*a.height),r=isNaN(r)?0:r,s=isNaN(s)?0:s,r-=e?a.paddingLeft:a.paddingRight,s-=i?a.paddingTop:a.paddingBottom,this.position.x=r,this.position.y=s},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",l=this.position.y+t[h];e[u]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&amp;&amp;!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&amp;&amp;e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=t==this.position.x&amp;&amp;e==this.position.y;if(this.setPosition(t,e),o&amp;&amp;!this.isTransitioning)return void this.layoutPosition();var r=t-i,s=e-n,a={};a.transform=this.getTranslate(r,s),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&amp;&amp;this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&amp;&amp;(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+o(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(h,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var c={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=c[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],i(e.ingProperties)&amp;&amp;this.disableTransition(),n in e.clean&amp;&amp;(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd){var o=e.onEnd[n];o.call(this),delete e.onEnd[n]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(f)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return s&amp;&amp;parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&amp;&amp;(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"use strict";"function"==typeof define&amp;&amp;define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&amp;&amp;module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(h&amp;&amp;h.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&amp;&amp;(this.$element=u(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++l;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&amp;&amp;this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&amp;&amp;e[1],n=e&amp;&amp;e[2];if(!i.length)return 0;i=parseFloat(i);var o=m[n]||1;return i*o}var h=t.console,u=t.jQuery,d=function(){},l=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var f=r.prototype;n.extend(f,e.prototype),f.option=function(t){n.extend(this.options,t)},f._getOption=function(t){var e=this.constructor.compatOptions[t];return e&amp;&amp;void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},f._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&amp;&amp;this.bindResize()},f.reloadItems=function(){this.items=this._itemize(this.element.children)},f._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o&lt;e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},f._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},f.getItemElements=function(){return this.items.map(function(t){return t.element})},f.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},f._init=f.layout,f._resetLayout=function(){this.getSize()},f.getSize=function(){this.size=i(this.element)},f._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&amp;&amp;(n=o),this[t]=n?i(n)[e]:o):this[t]=0},f.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},f._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},f._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&amp;&amp;t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},f._getItemLayoutPosition=function(){return{x:0,y:0}},f._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},f.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},f._positionItem=function(t,e,i,n,o){n?t.goTo(e,i):(t.stagger(o*this.stagger),t.moveTo(e,i))},f._postLayout=function(){this.resizeContainer()},f.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&amp;&amp;(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},f._getContainerSize=d,f._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&amp;&amp;(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},f._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&amp;&amp;i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),u)if(this.$element=this.$element||u(this.element),e){var o=u.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},f.ignore=function(t){var e=this.getItem(t);e&amp;&amp;(e.isIgnored=!0)},f.unignore=function(t){var e=this.getItem(t);e&amp;&amp;delete e.isIgnored},f.stamp=function(t){t=this._find(t),t&amp;&amp;(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},f.unstamp=function(t){t=this._find(t),t&amp;&amp;t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},f._find=function(t){return t?("string"==typeof t&amp;&amp;(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},f._manageStamps=function(){this.stamps&amp;&amp;this.stamps.length&amp;&amp;(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},f._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},f._manageStamp=d,f._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},f.handleEvent=n.handleEvent,f.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},f.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},f.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),f.resize=function(){this.isResizeBound&amp;&amp;this.needsResizeLayout()&amp;&amp;this.layout()},f.needsResizeLayout=function(){var t=i(this.element),e=this.size&amp;&amp;t;return e&amp;&amp;t.innerWidth!==this.size.innerWidth},f.addItems=function(t){var e=this._itemize(t);return e.length&amp;&amp;(this.items=this.items.concat(e)),e},f.appended=function(t){var e=this.addItems(t);e.length&amp;&amp;(this.layoutItems(e,!0),this.reveal(e))},f.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},f.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&amp;&amp;t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},f.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&amp;&amp;t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},f.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},f.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},f.getItem=function(t){for(var e=0;e&lt;this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},f.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&amp;&amp;e.push(i)},this),e},f.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&amp;&amp;e.length&amp;&amp;e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},f.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,u&amp;&amp;u.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&amp;&amp;t.outlayerGUID;return e&amp;&amp;c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),u&amp;&amp;u.bridget&amp;&amp;u.bridget(t,i),i};var m={ms:1,s:1e3};return r.Item=o,r}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&amp;&amp;module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t&lt;this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&amp;&amp;t.element;this.columnWidth=i&amp;&amp;e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&amp;&amp;1&gt;s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&amp;&amp;n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&amp;&amp;1&gt;e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h&gt;u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2&gt;t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i&gt;n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2&gt;e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t&gt;1&amp;&amp;i+t&gt;this.cols;i=n?0:i;var o=e.size.outerWidth&amp;&amp;e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h&gt;=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&amp;&amp;(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&amp;&amp;0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
"use strict";jQuery(document).ready(function($){$('.toggle-search').on('click',function(){$('.toggle-search').toggleClass('active');$('.search-expand').fadeToggle(250);setTimeout(function(){$('.search-expand input').focus()},300)});$('a#back-to-top').on('click',function(){$('html, body').animate({scrollTop:0},'slow');return!1});(function(){var $tabsNav=$('.alx-tabs-nav'),$tabsNavLis=$tabsNav.children('li'),$tabsContainer=$('.alx-tabs-container');$tabsNav.each(function(){var $this=$(this);$this.next().children('.alx-tab').stop(!0,!0).hide().siblings($this.find('a').attr('href')).show();$this.children('li').first().addClass('active').stop(!0,!0).show()});$tabsNavLis.on('click',function(e){var $this=$(this);$this.siblings().removeClass('active').end().addClass('active');$this.parent().next().children('.alx-tab').stop(!0,!0).hide().siblings($this.find('a').attr('href')).fadeIn();e.preventDefault()}).children(window.location.hash?'a[href="'+window.location.hash+'"]':'a:first').trigger('click')})();$('.comment-tabs li').on('click',function(){$('.comment-tabs li').removeClass('active');$(this).addClass('active');$('.comment-tab').hide();var selected_tab=$(this).find('a').attr('href');$(selected_tab).fadeIn();return!1});$('table tr:odd').addClass('alt');function responsiveVideo(){if($().fitVids){$('#wrapper').fitVids()}}
responsiveVideo();$('.logged-out #header-sticky').stickThis({top:0,minscreenwidth:1081,maxscreenwidth:999999,zindex:99,debugmode:!1,pushup:''});$('.admin-bar #header-sticky').stickThis({top:32,minscreenwidth:1081,maxscreenwidth:999999,zindex:99,debugmode:!1,pushup:''});$('.masonry').imagesLoaded(function(){$('.masonry').masonry({itemSelector:'.masonry-item'})});var infiniteCount=2;$(document.body).on('post-load',function(){var elements=$('.infinite-wrap.infinite-view-'+infiniteCount+' article');$('#masonry').imagesLoaded().done(function(){$('#masonry').masonry('appended',elements);infiniteCount++})});var scrollTimeOut=!0,lastYPos=0,yPos=0,yPosDelta=5,nav=$('.hide-on-scroll-down'),navHeight=nav.outerHeight(),setNavClass=function(){scrollTimeOut=!1;yPos=$(window).scrollTop();if(Math.abs(lastYPos-yPos)&gt;=yPosDelta){if(yPos&gt;lastYPos&amp;&amp;yPos&gt;navHeight){nav.addClass('hide-scroll')}else{nav.removeClass('hide-scroll')}
lastYPos=yPos}};$(window).scroll(function(e){scrollTimeOut=!0});setInterval(function(){if(scrollTimeOut){setNavClass()}},250);$('.slick-image-slide').each(function(){$(this).slick({dots:!0,adaptiveHeight:!0,appendArrows:$(this).parents('.slick-image-slide-wrapper').find('.slick-image-slide-nav'),appendDots:$(this).parents('.slick-image-slide-wrapper').find('.slick-image-slide-dots')})});const focusableElements='button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';const modal=document.querySelector('.search-trap-focus');if(modal){const firstFocusableElement=modal.querySelectorAll(focusableElements)[0];const focusableContent=modal.querySelectorAll(focusableElements);const lastFocusableElement=focusableContent[focusableContent.length-1];document.addEventListener('keydown',function(e){let isTabPressed=e.key==='Tab'||e.keyCode===9;if(!isTabPressed){return}
if(e.shiftKey){if(document.activeElement===firstFocusableElement){lastFocusableElement.focus();e.preventDefault()}}else{if(document.activeElement===lastFocusableElement){firstFocusableElement.focus();e.preventDefault()}}})}});



var wpcf7 = {
    "api": {
        "root": "https:\/\/counter.news\/wp-json\/",
        "namespace": "contact-form-7\/v1"
    },
    "cached": 1
};
if(window.NodeList&amp;&amp;!NodeList.prototype.forEach){NodeList.prototype.forEach=function(callback,thisArg){thisArg=thisArg||window;for(var i=0;i&lt;this.length;i++){callback.call(thisArg,this[i],i,this)}}}
window.alxMediaMenu={init:function(args){var self=this,navs=document.querySelectorAll(args.selector);if(!navs.length){return}
navs.forEach(function(nav){var menuToggler=nav.querySelector('.menu-toggle');if(!nav.querySelector('ul')&amp;&amp;nav.querySelector('.menu-toggle')){nav.querySelector('.menu-toggle').style.display='none'}
if(!nav.classList.contains('nav-menu')){nav.classList.add('nav-menu')}
self.toggleHoverEventListeners(nav);nav.querySelectorAll('a,button').forEach(function(link){link.addEventListener('focus',window.alxMediaMenu.toggleFocus,!0);link.addEventListener('blur',window.alxMediaMenu.toggleFocus,!0)});menuToggler.addEventListener('click',function(){if(nav.classList.contains('toggled')){menuToggler.setAttribute('aria-expanded','false');nav.classList.remove('toggled')}else{menuToggler.setAttribute('aria-expanded','true');nav.classList.add('toggled')}});document.addEventListener('click',function(event){if(!nav.contains(event.target)){nav.classList.remove('toggled');nav.querySelectorAll('button.active,.sub-menu.active').forEach(function(el){el.classList.remove('active')});menuToggler.setAttribute('aria-expanded','false')}})});window.alxMediaMenu.toggleMobile(args.selector,args.breakpoint);window.addEventListener('resize',function(){if(!window.resizeDebouncedTimeout){window.resizeDebouncedTimeout=setTimeout(function(){window.resizeDebouncedTimeout=null;window.alxMediaMenu.toggleMobile(args.selector,args.breakpoint)},250)}});document.querySelectorAll(args.selector).forEach(function(el){window.alxMediaMenu.toggleFocusTouch(el)})},toggleItem:function(el){var parentLi=this.helper.firstAncestorMatch(el,'li'),parentUl=this.helper.firstAncestorMatch(el,'ul'),ul=parentLi.querySelector('ul.sub-menu');parentLi.classList.remove('hover');ul.setAttribute('tabindex','-1');this.helper.toggleClass(ul,'active');this.helper.toggleClass(el,'active');parentUl.querySelectorAll('ul.sub-menu').forEach(function(subMenu){var subMenuButton;if(!parentLi.contains(subMenu)){subMenu.classList.remove('active');subMenuButton=subMenu.parentNode.querySelector('button.active');if(subMenuButton){subMenuButton.classList.remove('active')}}})},toggleMobile:function(selector,breakpoint){var self=this,screenWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,navs=document.body.querySelectorAll(selector),isMobile;breakpoint=breakpoint||720;isMobile=breakpoint&gt;screenWidth;if(isMobile){navs.forEach(function(nav){if(!nav.classList.contains('mobile')){nav.classList.add('mobile');self.toggleHoverEventListeners(nav)}})}else{navs.forEach(function(nav){if(nav.classList.contains('mobile')){nav.classList.remove('mobile');self.toggleHoverEventListeners(nav)}})}},liMouseEnterEvent:function(){this.classList.add('hover')},liMouseLeaveEvent:function(){this.classList.remove('hover')},toggleHoverEventListeners:function(nav){if(nav.classList.contains('mobile')){this.removeHoverEventListeners(nav)}else{this.addHoverEventListeners(nav)}},addHoverEventListeners:function(nav){nav.querySelectorAll('li').forEach(function(li){li.addEventListener('mouseenter',window.alxMediaMenu.liMouseEnterEvent);li.addEventListener('mouseleave',window.alxMediaMenu.liMouseLeaveEvent)})},removeHoverEventListeners:function(nav){nav.querySelectorAll('li').forEach(function(li){li.removeEventListener('mouseenter',window.alxMediaMenu.liMouseEnterEvent);li.removeEventListener('mouseleave',window.alxMediaMenu.liMouseLeaveEvent)})},toggleFocus:function(){var self=this;while(-1===self.className.indexOf('nav-menu')){if('li'===self.tagName.toLowerCase()){if(-1!==self.className.indexOf('focus')){self.className=self.className.replace(' focus','')}else{self.className+=' focus'}}
self=self.parentElement}},toggleFocusTouch:function(el){var touchStartFn,parentLinks=el.querySelectorAll('.menu-item-has-children &gt; a, .page_item_has_children &gt; a');if('ontouchstart' in window){touchStartFn=function(e){var menuItem=this.parentNode;if(!menuItem.classList.contains('focus')){e.preventDefault();menuItem.parentNode.children.forEach(function(child){if(menuItem!==child){child.classList.remove('focus')}});menuItem.classList.add('focus')}else{menuItem.classList.remove('focus')}};parentLinks.forEach(function(parentLink){parentLink.addEventListener('touchstart',touchStartFn,!1)})}},helper:{toggleClass:function(el,className){if(el.classList.contains(className)){el.classList.remove(className)}else{el.classList.add(className)}},firstAncestorMatch:function(el,selector){if(el.parentNode.matches(selector)){return el.parentNode}
return this.firstAncestorMatch(el.parentNode,selector)}}};window.alxMediaMenu.init({selector:'.main-navigation.nav-menu',breakpoint:720});


</pre></body></html>