!function(e){var t={};function n(o){if(t[o])return t[o].exports;var c=t[o]={i:o,l:!1,exports:{}};return e[o].call(c.exports,c,c.exports,n),c.l=!0,c.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)n.d(o,c,function(t){return e[t]}.bind(null,c));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t){const n=window._ckyConfig,o=window._ckyStyles;n._backupNodes=[],n._resetConsentID=!1,n._bannerState=!1,n._preferenceOriginTag=!1,window.cookieyes=window.cookieyes||{};const c=window.cookieyes;c._ckyConsentStore=new Map,c._ckyGetCookieMap=function(){const e={};try{document.cookie.split(";").map(t=>{const[n,o]=t.split("=");n&&(e[n.trim()]=o)})}catch(e){}return e};const r=c._ckyGetCookieMap();c._ckyGetFromStore=function(e){return c._ckyConsentStore.get(e)||""},c._ckySetInStore=function(e,t){c._ckyConsentStore.set(e,t);let o=[];for(const[e,t]of c._ckyConsentStore)o.push(`${e}:${t}`);const r=n&&n._expiry?n._expiry:365;c._ckySetCookie("cookieyes-consent",o.join(","),r)};const s=(r["cookieyes-consent"]||"").split(",").reduce((e,t)=>{if(!t)return e;const[n,o]=t.split(":");return e[n]=o,e},{});function i(e){const t=document.querySelector("[data-cky-tag="+e+"]");return t||!1}function a(e,t){const n=d(e);n&&n.addEventListener("click",t)}function u(){return l("remove",...arguments)}function l(e,t,n,o=!0){const c=d(t,o);return c&&c.classList[e](n)}function d(e,t){let n=e;switch(!0){case e.startsWith("="):n=`[data-cky-tag="${e.substring(1)}"]`}const o=document.querySelector(n);return!o||t&&!o.parentElement?null:t?o.parentElement:o}function y(e){const t=new CustomEvent("cookieyes_consent_update",{detail:e});document.dispatchEvent(t)}function f(){C(),!0===n._bannerConfig.config.revisitConsent.status&&x()}function g(){!function(){if(document.getElementById("cky-style")||!o)return;document.head.insertAdjacentHTML("beforeend",` `)}(),function(){const e=n._tags;Array.prototype.forEach.call(e,(function(e){document.querySelectorAll("[data-cky-tag="+e.tag+"]").forEach((function(t){let n="";for(const t in e.styles)n+=`${t}: ${e.styles[t]};`;t.style.cssText=n}))}))}(),function(){const e=document.getElementById("ckyBannerTemplate").innerHTML,t=(new DOMParser).parseFromString(e,"text/html");(function(e){const t=e.querySelector('[data-cky-tag="detail"] .cky-footer-shadow'),n=e.querySelector('[data-cky-tag="detail"]');if(!t)return;const o=n&&n.style.backgroundColor||"#ffffff";t.style.background=`linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, ${o} 100%)`})(t),document.body.insertAdjacentHTML("afterbegin",t.body.innerHTML),"classic"===_()&&p("=settings-button","false");O(),function(){if(!n._bannerConfig.config.auditTable.status)return;const e=n._categories.map(({slug:e})=>e);e.map(t=>{const n="#ckyDetailCategory"+t,o=n+" .cky-accordion-btn";p(o,"false"),a(n,({target:{id:c}})=>{c!=="ckySwitch"+t&&function(){return l("toggle",...arguments)}(n,"cky-accordion-active",!1)?(p(o,"true"),e.filter(e=>e!==t).map(e=>{u("#ckyDetailCategory"+e,"cky-accordion-active",!1),p(`#ckyDetailCategory${e} .cky-accordion-btn`,"false")})):p(o,"false")})})}(),function(){for(const{slug:e}of n._categories)a("detail-category-title",()=>document.getElementById("ckyCategory"+e).classList.toggle("cky-tab-active"));a("=settings-button",()=>j("settings-button")),a("=detail-close",()=>L()),a("=optout-cancel-button",()=>L()),a("=close-button",()=>(c._ckySetInStore("action","yes"),void f())),a("=donotsell-button",()=>j("donotsell-button")),a("=reject-button",P("reject")),a("=accept-button",P("all")),a("=detail-accept-button",P("all")),a("=detail-save-button",P()),a("=detail-category-preview-save-button",P()),a("=optout-confirm-button",P()),a("=detail-reject-button",P("reject")),a("=revisit-consent",()=>_revisitCkyConsent()),a("=optout-close",()=>L())}(),function(){const e=n._bannerConfig.config.optOption.toggle,t=e.states.active.styles["background-color"],o=e.states.inactive.styles["background-color"];u("=optout-option","cky-disabled",!1);const r=n._shortCodes.find(e=>"cky_optout_toggle_label"===e.key),s=n._shortCodes.find(e=>"cky_optout_option_title"===e.key),i=r.content.replace("[cky_optout_option_title]",s.content),l="yes"===c._ckyGetFromStore("consent");!function(e,t,{checked:n,disabled:o,addListeners:c},{activeColor:r,inactiveColor:s},i=!1){if(!e)return;i&&c&&a("=optout-option-title",()=>e.click());if(e.checked=n,e.disabled=o,e.style.backgroundColor=n?r:s,G(e,n,t,i),!c)return;e.addEventListener("change",({currentTarget:n})=>{const o=n.checked;n.style.backgroundColor=o?r:s,G(e,o,t,i)})}(document.getElementById("ckyCCPAOptOut"),i,{checked:l,disabled:!1,addListeners:!0},{activeColor:t,inactiveColor:o},!0)}(),function(){const e=n._bannerConfig.config.videoPlaceholder.status,t=n._bannerConfig.config.videoPlaceholder.styles;if(!e)return;if(!e)return;const o=document.querySelectorAll('[data-cky-tag="placeholder-title"]');if(o.length<1)return;Array.from(o).forEach(e=>{e.style.display="block",e.addEventListener("click",()=>{c._ckyGetFromStore("action")&&_revisitCkyConsent()});for(const n in t)t[n]&&(e.style[n]=t[n])})}(),function(){const e=n._shortCodes.find(e=>"cky_readmore"===e.key);if(!e.status)return;const t=e.content,o=n._bannerConfig.config.readMore.styles,c=document.querySelector('[data-cky-tag="description"]');if(!c)return;if(c.childNodes.length>1){const e=document.querySelector('[data-cky-tag="description"] p:last-child');e&&e.insertAdjacentHTML("beforeend"," "+t)}else c.insertAdjacentHTML("beforeend"," "+t);const r=document.querySelectorAll('[data-cky-tag="readmore-button"]');if(r.length<1)return;Array.from(r).forEach(e=>{for(const t in o)o[t]&&(e.style[t]=o[t])})}(),function(){const e=document.getElementById("cky-style-inline");e&&e.remove()}(),function(){const e=i("notice");if(!e)return!1;const t=e.closest(".cky-consent-container");if(!t)return!1;const o=n._bannerConfig.settings.type;let c=n._bannerConfig.settings.position,r=o;"popup"===r&&(c="center");r="pushdown"===h()?"classic":r;const s=`cky-${r}-${c}`;t.classList.add(s);const a=i("revisit-consent");if(!a)return!1;const u="cky-revisit-"+n._bannerConfig.config.revisitConsent.position;a.classList.add(u)}(),function(){if(!n._rtl)return;["notice","detail","optout-popup","revisit-consent","video-placeholder"].forEach((function(e){i(e)&&i(e).classList.add("cky-rtl")}))}(),["detail-powered-by","optout-powered-by"].map(e=>{const t=document.querySelector(`[data-cky-tag="${e}"]`);t&&(t.style.display="flex",t.style.justifyContent="flex-end",t.style.alignItems="center")}),function(){const e=b(),t=_();if("classic"===t)return;if("popup"===t){const[e,t]=I("notice");M(e,t,!0),M(t,e)}const[n,o]=I("ccpa"===e?"optout-popup":"detail");M(n,o,!0),M(o,n)}(),function(){const e="ccpa"===b()?i("optout-popup"):i("detail");if(!e)return!1;const t=e.closest(".cky-modal");if(!t)return!1;if("pushdown"!==h()&&"popup"!==h()){const e="cky-"+n._bannerConfig.settings.preferenceCenterType;t.classList.add(e)}}()}(),function(){const e=b(),t=n._shortCodes.find(e=>"cky_show_desc"===e.key),o=n._shortCodes.find(e=>"cky_hide_desc"===e.key);if(!t||!o)return;const c=o.content,r=t.content,s=window.innerWidth<376?150:300,i=document.querySelector(`[data-cky-tag="${"gdpr"===e?"detail":"optout"}-description"]`);if(i.textContent.length p");if(l.length<=1)return;let d="";for(let e=0;es&&t.insertAdjacentHTML("beforeend","... "+r),d=`${d}${t.outerHTML}`,d.length>s)break}function y(){i.innerHTML=`${u}${c}`,a("=hide-desc-button",f)}function f(){i.innerHTML=d,a("=show-desc-button",y)}f()}(),!c._ckyGetFromStore("action")||function(){let e=new URL(document.location).searchParams;return e.get("cky_preview")&&"true"===e.get("cky_preview")}()?(S(),function(){const e=b();c._ckySetInStore("consent","no");const t=Q(),o={accepted:[],rejected:[]};let r="yes";for(const s of n._categories)("gdpr"===e&&!s.isNecessary&&!s.defaultConsent[e]||"ccpa"===e&&t&&!s.defaultConsent.ccpa)&&(r="no"),"no"===r?o.rejected.push(s.slug):o.accepted.push(s.slug),c._ckySetInStore(""+s.slug,r);F(),y(o)}(),function(){if(c._ckyGetFromStore("consentid"))return;const e=c._ckyRandomString(32);c._ckySetInStore("consentid",e),n._resetConsentID=!0}()):f()}function p(e,t=null){const n=d(e);if(!n)return;if(t)return n.setAttribute("aria-expanded",t);const o="true"===n.getAttribute("aria-expanded")?"false":"true";n.setAttribute("aria-expanded",o)}async function k(){try{g(),function(){for(const e of n._categories)"yes"!==c._ckyGetFromStore(e.slug)&&N(e)}(),document.querySelector("body").addEventListener("click",e=>{const t=".cky-banner-element, .cky-banner-element *";(e.target.matches?e.target.matches(t):e.target.msMatchesSelector(t))&&_revisitCkyConsent()})}catch(e){console.error(e)}}var m;function b(){return n._bannerConfig.settings.applicableLaw}function _(){return n._bannerConfig.settings.type}function h(){return"classic"===_()?"pushdown":n._bannerConfig.settings.preferenceCenterType}function v(){const e=i("notice"),t=e&&e.closest(".cky-consent-container")||!1;return t&&t||!1}function C(){const e=v();e&&e.classList.add("cky-hide")}function S(){const e=v();e&&e.classList.remove("cky-hide")}function w(){if("classic"===_())return v();let e="ccpa"===b()?i("optout-popup"):i("detail");return e&&e.closest(".cky-modal")||!1}function L(){const e=w();e&&e.classList.remove(A()),"classic"!==_()?(!function(){const e=document.querySelector(".cky-overlay");e&&e.classList.add("cky-hide")}(),c._ckyGetFromStore("action")||S()):(p("=settings-button","false"),u("=notice","cky-consent-bar-expand")),c._ckyGetFromStore("action")&&x();const t=n._preferenceOriginTag;t&&function(e){const t=i(e);if(!t)return;t.focus()}(t)}function E(){const e=w();e&&e.classList.add(A()),"classic"!==_()?(!function(){const e=document.querySelector(".cky-overlay");e&&e.classList.remove("cky-hide")}(),C()):(p("=settings-button"),function(){l("add",...arguments)}("=notice","cky-consent-bar-expand"))}function $(){const e=w();e&&e.classList.toggle(A()),"pushdown"!==h()&&function(){const e=document.querySelector(".cky-overlay");e&&e.classList.toggle("cky-hide")}()}function A(){return"pushdown"===h()?"cky-consent-bar-expand":"cky-modal-open"}function T(){const e=i("revisit-consent");return e&&e||!1}function x(){const e=T();e&&e.classList.remove("cky-revisit-hide")}function j(e=!1){n._preferenceOriginTag=e,"classic"===_()?($(),p("=settings-button")):E()}function I(e){const t=document.querySelector(`[data-cky-tag="${e}"]`);if(!t)return[];const n=Array.from(t.querySelectorAll('a:not([disabled]), button:not([disabled]), [tabindex]:not([disabled]):not([tabindex="-1"])')).filter(e=>"none"!==e.style.display);return n.length<=0?[]:[n[0],n[n.length-1]]}function M(e,t,n=!1){e&&t&&e.addEventListener("keydown",e=>{9!==e.which||n&&!e.shiftKey||!n&&e.shiftKey||(e.preventDefault(),t.focus())})}function N({cookies:e}){const t=c._ckyGetCookieMap();for(const{cookieID:n,domain:o}of e)t[n]&&[o,""].map(e=>c._ckySetCookie(n,"",0,e))}function O(e=!1){for(const t of n._categories){const o=c._ckyGetFromStore(t.slug);q(t,"yes"===o||!o&&t.defaultConsent[b()]||t.isNecessary,t.isNecessary,n._shortCodes.find(e=>"cky_category_toggle_label"===e.key).content.replace("[cky_preference_{{category_slug}}_title]",t.name),e),D(t)}}function q(e,t,o,c,r=!1){const s=n._bannerConfig.config.preferenceCenter.toggle,i=s.states.active.styles["background-color"],a=s.states.inactive.styles["background-color"];["ckyCategoryDirect","ckySwitch"].map(s=>{const u=document.getElementById(`${s}${e.slug}`);u&&(!function(e,t={},o=!1){if(o)return;"detail-category-toggle"===e.parentElement.getAttribute("data-cky-tag")?function(e,t){let o=e.closest(".cky-accordion-item");if(!o)return;const c=o.querySelector(".cky-switch");t.isNecessary?c&&c.remove():("classic"===_()&&n._bannerConfig.config.categoryPreview.status||t.cookies&&0===t.cookies.length)&&c&&c.remove()}(e,t):"detail-category-preview-toggle"===e.parentElement.getAttribute("data-cky-tag")&&function(e,t){t.cookies&&0===t.cookies.length&&!t.isNecessary&&e.parentElement.parentElement.remove()}(e,t);if(!t.isNecessary){const e=t.name,n=document.querySelector(`[data-cky-tag="detail-category-title"][aria-label="${e}"]`);if(n){const e=n.closest(".cky-accordion-item").querySelector(".cky-always-active");e&&e.remove()}}}(u,e,r),u.checked=t,u.disabled=o,u.style.backgroundColor=t?i:a,G(u,t,c),r||u.addEventListener("change",({currentTarget:e})=>{const t=e.checked;e.style.backgroundColor=t?i:a,G(u,t,c)}))})}function D(e){if(!1===n._bannerConfig.config.auditTable.status){const t=document.querySelector(`#ckyDetailCategory${e.slug} [data-cky-tag="audit-table"]`);t&&t.remove();const n=document.querySelector(`#ckyDetailCategory${e.slug} .cky-accordion-chevron`);n&&n.classList.add("cky-accordion-chevron-hide")}}function G(e,t,o,c=!1){if(!e)return;const r=t?"disable":"enable",s=`cky_${r}_${c?"optout":"category"}_label`,i=n._shortCodes.find(e=>e.key===s);if(!i)return;const a=o.replace(/{{status}}/g,r).replace(`[${s}]`,i.content);e.setAttribute("aria-label",a)}function P(e="custom"){return()=>{!function(e="all"){const t=b(),o=Q();c._ckySetInStore("action","yes"),"gdpr"===t?c._ckySetInStore("consent","reject"===e?"no":"yes"):c._ckySetInStore("consent",o?"yes":"no");const r={accepted:[],rejected:[]};for(const s of n._categories){let n="no";n="gdpr"===t?s.isNecessary||"reject"!==e&&("custom"!==e||Q(s.slug))?"yes":"no":o&&!s.defaultConsent.ccpa?"no":"yes",c._ckySetInStore(""+s.slug,n),"no"===n?(r.rejected.push(s.slug),N(s)):r.accepted.push(s.slug)}F(),y(r)}(e),f(),L(),function(){"gdpr"===b()&&O(!0);!0===n._bannerConfig.behaviours.reloadBannerOnAccept&&window.location.reload()}()}}["consentid","consent","action"].concat(n._categories.map(({slug:e})=>e)).map(e=>c._ckyConsentStore.set(e,s[e]||"")),c._ckyGetCookie=function(e){const t=new RegExp(e+"=([^;]+)").exec(document.cookie);return t&&Array.isArray(t)&&t[1]?unescape(t[1]):null},c._ckySetCookie=function(e,t,o=0,c=n._rootDomain){const r=new Date;c&&(c="domain="+c);const s=0===o?0:r.setTime(r.getTime()+24*o*60*60*1e3);document.cookie=`${e}=${t}; expires=${new Date(s).toUTCString()}; path=/;${c}; SameSite=Strict;`},_revisitCkyConsent=function(){"classic"===_()&&S(),j(),function(e=!1){const t=T();t&&(!0===e?_ckyRevisitHide():t.classList.toggle("cky-revisit-hide"))}()},c._ckyRandomString=function(e,t=!0){const n=(t?"0123456789":"")+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz",o=[];for(let t=0;t{try{if(W(t.src))return!0;if("script"===t.nodeName.toLowerCase()){const n=document.createElement("script");n.src=t.src,n.type="text/javascript",document[e].appendChild(n)}else{const e=document.getElementById(n);if(!e)return!1;const o=document.createElement("iframe");o.src=t.src,o.width=e.offsetWidth,o.height=e.offsetHeight,e.parentNode.insertBefore(o,e),e.parentNode.removeChild(e)}return!1}catch(e){return console.error(e),!1}}))}function H(e,t){const o=e.hasAttribute("data-cookieyes")&&e.getAttribute("data-cookieyes");if(!o)return;const c=o.replace("cookieyes-","");for(const e of n._categories)if(e.isNecessary&&e.slug===c)return;const r=n._providersToBlock.find(({re:e})=>e===t);r?r.isOverridden?r.categories.includes(c)||r.categories.push(c):(r.categories=[c],r.isOverridden=!0):n._providersToBlock.push({re:t,categories:[c],fullPath:!1})}document.createElement=(...e)=>{const t=B.call(document,...e);if("script"!==t.nodeName.toLowerCase())return t;const n=t.setAttribute.bind(t);return Object.defineProperties(t,{src:{get:function(){return t.getAttribute("src")},set:function(e){return K(t,e)&&n("type","javascript/blocked"),n("src",e),!0}},type:{get:function(){return t.getAttribute("type")},set:function(e){return e=K(t)?"javascript/blocked":e,n("type",e),!0}}}),t.setAttribute=(e,o)=>{if("type"===e||"src"===e)return t[e]=o;n(e,o),"data-cookieyes"!==e||K(t)||n("type","text/javascript")},t};const R=new MutationObserver((function(e){for(const{addedNodes:t}of e)for(const e of t)if(e.src&&e.nodeName&&["script","iframe"].includes(e.nodeName.toLowerCase()))try{const t=e.src.startsWith("//")?`${window.location.protocol}${e.src}`:e.src,{hostname:o,pathname:r}=new URL(t),s=`${o}${r}`.replace(/^www./,"");if(H(e,s),!W(s))continue;const i=c._ckyRandomString(8,!1);if("iframe"===e.nodeName.toLowerCase())Y(e,i);else{e.type="javascript/blocked";const t=function(n){n.preventDefault(),e.removeEventListener("beforescriptexecute",t)};e.addEventListener("beforescriptexecute",t)}const a=document.head.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?"head":"body";e.remove(),n._backupNodes.push({position:a,node:e.cloneNode(),uniqueID:i})}catch(e){}}));function U(e){const t=c._ckyGetFromStore(e);return"no"===t||!t&&n._categories.some(t=>t.slug===e&&!t.isNecessary)}function W(e){const t=n._providersToBlock.find(({re:t})=>{return new RegExp((n=t,n.replace(/[.*+?^${}()[\]\\]/g,"\\$&"))).test(e);var n});return t&&t.categories.some(e=>U(e))}function K(e,t){return e.hasAttribute("data-cookieyes")&&U(e.getAttribute("data-cookieyes").replace("cookieyes-",""))||W(t||e.src)}function Q(e=""){return(e?["ckySwitch","ckyCategoryDirect"]:["ckyCCPAOptOut"]).some(t=>{const n=document.getElementById(`${t}${e}`);return n&&n.checked})}function Y(e,t){const o=n._shortCodes.find(e=>"cky_video_placeholder"===e.key).content,{offsetWidth:c,offsetHeight:r}=e;if(0===c||0===r)return;e.insertAdjacentHTML("beforebegin",(""+o).replace("[UNIQUEID]",t));const s=document.getElementById(t);s.style.width=c+"px",s.style.height=r+"px";const i=document.querySelector(`#${t} .video-placeholder-text-normal`);i.style.display="none";const a=function(e){const t=e.match(/^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!!(t&&Array.isArray(t)&&t[2]&&11===t[2].length)&&t[2]}(e.src);a&&(s.classList.replace("video-placeholder-normal","video-placeholder-youtube"),s.style.backgroundImage=`linear-gradient(rgba(76,72,72,.7),rgba(76,72,72,.7)),url('https://img.youtube.com/vi/${a}/maxresdefault.jpg')`,i.classList.replace("video-placeholder-text-normal","video-placeholder-text-youtube"))}R.observe(document.documentElement,{childList:!0,subtree:!0}),window.revisitCkyConsent=()=>_revisitCkyConsent(),window.getCkyConsent=function(){const e={activeLaw:"",categories:{},isUserActionCompleted:!1,consentID:"",languageCode:""};try{e.activeLaw=b(),n._categories.forEach(t=>{e.categories[t.slug]="yes"===c._ckyGetFromStore(t.slug)}),e.isUserActionCompleted="yes"===c._ckyGetFromStore("action"),e.consentID=c._ckyGetFromStore("consentid")||"",e.languageCode=n._language||""}catch(e){}return e}}]); /*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); !function(a,r){var e;a&&r&&(r.FooBox={},FooBox.$=a,FooBox.version="2.4.7",FooBox.defaults={affiliate:{enabled:!(FooBox.instances=[]),prefix:"Powered by ",url:"http://fooplugins.com/plugins/foobox/"},alwaysInit:!0,closeOnOverlayClick:!0,containerCssClass:"fbx-instance",countMessage:"item %index of %total",error:"Could not load the item",excludes:".fbx-link, .nofoobox",externalSelector:"a[data-foobox],input[data-foobox]",fitToScreen:!1,hideScrollbars:!0,loadDelay:0,loaderTimeout:600,modalClass:"",preload:!1,rel:null,resizeSpeed:300,selector:"a",showButtons:!0,showCount:!0,style:"fbx-rounded",theme:"fbx-light",transitionInSpeed:200,transitionOutSpeed:200,initCallback:null,loop:!0},FooBox.isjQuery=function(e){return e instanceof jQuery||e&&e.jquery},FooBox.isFn=function(e){return e===r.alert||"[object Function]"===Object.prototype.toString.call(e)},FooBox.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},FooBox.inArray=function(e,o){return FooBox.isArray(o)?o.indexOf(e):-1},FooBox.trim=function(e){return"[object String]"===Object.prototype.toString.call(e)?e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""):""},FooBox.ready=function(e){function o(){try{e.call(r,FooBox.$)}catch(e){console.error(e)}}(Function("/*@cc_on return true@*/")()?"complete"===document.readyState:"loading"!==document.readyState)?o():document.addEventListener("DOMContentLoaded",o,!1)},FooBox.browser={isIE:!(FooBox.format=function(e,o,t){for(var i,n=e,s=0;sFooBox.instances.length-1?FooBox.instances.length-1:o<0?0:o,FooBox.instances[o]))&&i.modal instanceof FooBox.Modal?(i.modal.show(!0),i):null},FooBox.close=function(){for(var e=[],o=null,t=0;ti.delete(e)),e=>(e instanceof globalThis.Node?e.nodeName:"string"==typeof e?e:"").toLowerCase()),a=e=>{if(e instanceof globalThis.Attr){var o=s(e.ownerElement);if(i.has(o))return i.get(o).includes(e.name)}return!1},o=/^(?!javascript|vbscript|livescript|mocha)(?:[a-z0-9+.-]+:[^<>]*$|[^&:\/?#]*(?:[\/?#]|$))/i,r=e=>o.test(e),l=/@import|expression|behaviou?r|binding|(?:javascript|vbscript|livescript|mocha):|[\x00-\x08\x0E-\x1F\x7F-\uFFFF]|\/\*.*?\*\/|<--.*?-->/i,d=e=>!l.test(e.replace(/\s+/g," ")),h=/^[a-z](?:[\x2D.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,c=e=>h.test(s(e)),f=/^[a-z](?:[.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,p=e=>f.test(s(e)),m=e=>p(e?.ownerElement)&&c(e),u=e=>{var o=s(e);return!o.startsWith("on")&&(!(!o.startsWith("aria-")&&!o.startsWith("data-"))||(t.has(o)||a(e)?n.has(o)?r(e.value):"style"!==o||d(e.value):m(e)))},x=e=>{if(e instanceof globalThis.Element){var o=s(e);if(i.has(o)||p(e)){for(var t of e.attributes)if(!u(t))return!1;return"style"===o?d(e.textContent):!0}}return!1},v=(e,o=!1)=>{if(e instanceof globalThis.Element){var t;if(x(e))return t=e.cloneNode(!1),o&&e.hasChildNodes()&&t.append(...b(e.childNodes,o)),t;throw new TypeError("UNSAFE_NODE")}return e instanceof globalThis.Text?e.cloneNode():null},b=(e,o=!1)=>{var t,i=[];for(t of e){var n=v(t,o);n instanceof globalThis.Node&&i.push(n)}return i},g;e.safeParse=e=>{if("string"==typeof e)try{var o=(g instanceof globalThis.DOMParser?g:g=new globalThis.DOMParser).parseFromString(e,"text/html");if(o.body.hasChildNodes())return b(o.body.childNodes,!0).map(e=>1===e.nodeType?e.outerHTML:3===e.nodeType?e.nodeValue:"").join("")}catch(e){"UNSAFE_NODE"!==e.message&&console.error("FooBox.safeParse: Unexpected Error",e)}return""}}(window.FooBox),function(n,e){e.Icons=function(){return this.className="fbx-icon",this.registered={default:{close:'',prev:'',next:'',error:'',spinner:'',slideshow:'',fullscreen:'',social:'',buffer:'',digg:'',facebook:'',linkedin:'',pinterest:'',reddit:'',tumblr:'',twitter:'',email:'',download:''}},this.getGroup=function(e){var o="default",t=n.extend(!0,{},this.registered.default);return"string"==typeof e&&this.registered.hasOwnProperty(e)&&n.extend(!0,t,this.registered[e]),"object"==typeof e&&(o="custom",n.extend(!0,t,this.registered.default,e)),{name:o,icons:t}},this.get=function(e,o){var t=this,o=t.getGroup(o),i="string"==typeof e&&o.icons.hasOwnProperty(e)?o.icons[e].replace(/\[ICON_CLASS]/g,t.className).replace(/\[CURRENT_ICON_CLASS]/g,t.className+"-"+e):null,e=[!1,e,o.name].map(function(e){return!1===e?t.className:t.className+"-"+e}).join(" ");return n(i).attr("class",e)},this},e.icons=new e.Icons}(jQuery,window.FooBox),function(s,d){d.Instance=function(e){this.id=null,"number"==typeof e?(this.id=e,d.instances[e-1]=this):this.id=d.instances.push(this),this.element=null,this.options=s.extend(!0,{},d.defaults),this.modal=new d.Modal(this),this.objects={},d.addons.load(this),d.handlers.load(this);var l=this;return this.raise=function(e,o){return d.raise(l,e,o)},this.init=function(e,o){l.element=d.isjQuery(e)?e:s(e),l.options=d.options.merge(l.options,o||{}),d.addons.call(l,"preinit",l.element,l.options),l.items.init(),0l.items.array.length-1?0:e<0?l.items.array.length-1:e)-1,i=e+1;l.items.indexes.current=e,l.items.indexes.prev=t<0?l.items.array.length-1:t,l.items.indexes.next=i>l.items.array.length-1?0:i,l.items.indexes.direction=l.items.indexes._direction(o,e,l.items.array.length-1)},_direction:function(e,o,t){return 0==o&&e==t?">":o==t&&0==e?"<":e":oe&&1==l.items.array[e].error?l.items.array[e]:(n=!1,null==(o=d.handlers.get(l,"html"))&&(o=new function(e){var n=this;return n.FooBox=e,n.type="error",n.handles=function(){return!1},n.hasChanged=function(){return!1},n.defaults=function(){},n.parse=function(){},n.load=function(e,o,t,i){try{o.empty().append(e.content),d.isFn(t)&&t(n.getSize(e))}catch(e){d.isFn(i)&&i(e)}},n.getSize=function(e){return new d.Size(e.width,e.height)},n}(l)),null!==l.options.error.match(/^#/i)&&0').append(d.icons.get("error")).append(s("

").text(l.options.error)),(i=new d.Item(o.type,t.get(0),o)).selector=1==n?l.options.error:null,i.index=e,i.error=!0,i.title=t.data("title")||null,i.description=t.data("description")||null,i.width=t.data("width")||240,i.height=t.data("height")||240,i.content=1==n?null:t,i.fullscreen=!0,i.handler=o,l.items.array[e]=i)},first:function(e){for(var o=null,t=0;t'),C.element.append('

'),(e=l('
')).append('
'),e.append('
'),(o=l('
')).append(e),o.append(l('').append(M.icons.get("prev"))),o.append(''),o.append(''),o.append(l('').append(M.icons.get("next"))),o.append(l('').append(M.icons.get("close"))),C.element.append(l('
').append(M.icons.get("spinner"))),C.element.append(o),C.FooBox.raise("foobox.setupHtml"),l("body").append(C.element))},options:function(e){var o;C.element.removeClass().addClass("fbx-modal").addClass("fbx-"+C.FooBox.id).addClass(C.FooBox.element.data("style")||e.style).addClass(C.FooBox.element.data("theme")||e.theme).addClass(C.FooBox.element.data("modal-class")).addClass(e.modalClass).data("fbx_instance",C.FooBox),C.element.addClass(M.browser.css),e.affiliate.enabled?(C.element.find(".fbx-credit > a").attr("href",e.affiliate.url),C.element.find(".fbx-credit > a > em").text(e.affiliate.prefix)):C.element.find(".fbx-credit").remove(),o=e.showCount&&C.FooBox.items.multiple()?"":"none",C.element.find(".fbx-count").css("display",o),e.showButtons&&C.FooBox.items.multiple()||C.element.addClass("fbx-no-buttons"),C.FooBox.raise("foobox.setupOptions")},bind:function(){1==C.FooBox.options.closeOnOverlayClick&&C.element.off("click.foobox").on("click.foobox",function(e){1==C.FooBox.options.closeOnOverlayClick&&l(e.target).is(".fbx-modal")&&C.close()}),C.element.find(".fbx-close").off("click.foobox").on("click.foobox",function(e){e.preventDefault(),e.stopPropagation(),C.close()}).end().find(".fbx-prev").off("click.foobox").on("click.foobox",function(e){e.preventDefault(),e.stopPropagation(),l(this).hasClass("fbx-disabled")||C.prev()}).end().find(".fbx-next").off("click.foobox").on("click.foobox",function(e){e.preventDefault(),e.stopPropagation(),l(this).hasClass("fbx-disabled")||C.next()})}},this.prioritize=function(){1this.height?"fbx-landscape":"fbx-portrait",null);if(l.isArray(e))for(var n=0;n",{class:"fbx-caption"}),t=a("",{class:"fbx-open-caption",html:"…"}).on("click.captions",r.handlers.toggleCaptions);"string"==typeof e.fb.options.modalClass&&-1!=e.fb.options.modalClass.indexOf("fbx-sticky-caption")?e.fb.modal.append(o,t):(e.fb.modal.find(".fbx-stage").append(o),e.fb.modal.find(".fbx-inner").append(t))},setupOptions:function(e){e.fb.modal.find(".fbx-caption").addClass(r.animation())},beforeClose:function(e){1!=e.fb.options.captions.onlyShowOnHover&&e.fb.modal.find(".fbx-caption").addClass("fbx-hide-caption")},beforeLoad:function(e){1!=e.fb.options.captions.onlyShowOnHover&&e.fb.modal.find(".fbx-caption").addClass(r.animation())},afterLoad:function(e){var o=e.fb.item;!o||o.error||o.captionLoaded||(e.fb.instance.raise("foobox.alterCaption",{element:e.fb.element,item:o}),o.captionLoaded=!0),1==e.fb.options.captions.onlyShowOnHover?r.update():0==e.fb.options.captions.onlyShowOnClick&&r.show()},onError:function(e){e.fb.modal.find(".fbx-caption").addClass(r.animation())},parseItem:function(e){var o,t,i,n=e.fb.options.captions;function s(e){return n.html?l.safeParse(e):a("
").text(e).html()}e.fb.item.captions&&0!=n.enabled&&(o="",i=null!=e.fb.element?(t=a(e.fb.element).data("titleSource")||a(e.fb.instance.element).data("titleSource")||n.titleSource,i=a(e.fb.element).data("descSource")||a(e.fb.instance.element).data("descSource")||n.descSource,t=r.getDataValue(e.fb.element,n.dataTitle,t),r.getDataValue(e.fb.element,n.dataDesc,i)):(t=e.fb.item.title,e.fb.item.description),t=(null==t||void 0===t?"":t+"").trim(),i=(null==i||void 0===i?"":i+"").trim(),t&&t===i&&(i=null),o="string"==typeof t&&0'+s(t)+"
":"",o="string"==typeof i&&0'+s(i)+"":o,e.fb.item.title=t,e.fb.item.description=i,e.fb.item.caption=o,e.fb.instance.raise("foobox.createCaption",{element:e.fb.element,item:e.fb.item}))}},this.text=function(e,o){var t;switch(o){case"find":t=l.trim(e.data("title")||e.attr("title")||e.find("img:first").data("title")||e.find("img:first").data("alt")||e.find("img:first").attr("title")||e.find("img:first").attr("alt"));break;case"image_find":t=l.trim(e.find("img:first").data("title")||e.find("img:first").data("alt")||e.find("img:first").attr("title")||e.find("img:first").attr("alt"));break;case"image":t=l.trim(e.find("img:first").data("title")||e.find("img:first").attr("title"));break;case"image_alt":t=l.trim(e.find("img:first").data("alt")||e.find("img:first").attr("alt"));break;case"anchor":t=l.trim(e.data("title")||e.attr("title"));break;default:t=null}return t=r.FooBox.options.captions.prettify?r.prettifier(t):t},this.animation=function(){switch(r.FooBox.options.captions.animation){case"fade":return"fbx-fade-caption";case"slide":return"fbx-slide-caption";default:return"fbx-hide-caption"}},this.hide=function(){var e=r.FooBox.items.current(),o=r.FooBox.modal.element.find(".fbx-caption");r.FooBox.options.captions.enabled&&e&&e.captions&&"string"==typeof e.caption&&0!=e.caption.length?(o.addClass(r.animation()),r.FooBox.raise("foobox.captionsHide",{item:e})):o.addClass("fbx-hide-caption")},this.show=function(){var e=r.FooBox,o=e.items.current(),t=e.modal.element.find(".fbx-caption");!e.options.captions.enabled||!o.captions||"string"!=typeof o.caption||0==o.caption.length||e.modal.element.hasClass("fbx-captions-hidden")||l.isjQuery(o.element)&&o.element.hasClass("no-captions")?t.addClass("fbx-hide-caption"):(r.update(),t.removeClass("fbx-fade-caption fbx-slide-caption fbx-hide-caption"),r.FooBox.raise("foobox.captionsShow",{item:o}))},this.update=function(){var e=r.FooBox.items.current(),o=r.FooBox.modal.element.find(".fbx-caption");o.html(e.caption).find('a[href^="#"]').filter(function(){var e=a(this).attr("href"),e=a(e),o=e.data("fbx_instance")||e.data("fbx_p_instance");return 0",{class:"fbx-close-caption",html:"×"}).on("click.captions",r.handlers.toggleCaptions).prependTo(o)},this.prettifier=function(e){return"string"!=typeof e?null:(e=e.replace(/\s*-\d+/g,"").replace(/\s*_\d+/g,"").replace(/-/g," ").replace(/_/g," ")).replace(/\w\S*/g,function(e){return-1!=e.indexOf("#")?e:e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}},l.addons.register(l.Captions,{captions:{html:!0,animation:"slide",enabled:!0,descSource:"find",hoverDelay:300,maxHeight:.4,onlyShowOnHover:!1,onlyShowOnClick:!1,overrideDesc:!1,overrideTitle:!1,prettify:!1,titleSource:"image_find",dataTitle:["captionTitle","title"],dataDesc:["captionDesc","description"]}})}(jQuery,window.FooBox),function(l,d){d.Wordpress=function(e){this.FooBox=e;var o=this;this.preinit=function(e){o.handlers.unbind(!0),e.on("foobox.createCaption",o.handlers.onCreateCaption)},this.destroy=function(){o.handlers.unbind(!0)},this.handlers={unbind:function(e){(e=e||!1)&&o.FooBox.element.off("foobox.createCaption",o.handlers.onCreateCaption)},onCreateCaption:function(e){var o=e.fb.options,t=e.fb.instance.element,i=e.fb.item.element,n=e.fb.item.title,s=e.fb.item.description;if(1==o.wordpress.enabled&&d.isjQuery(i)){var a=i.data("captionTitle")||i.data("title"),r=i.data("captionDesc")||i.data("description");if(t.hasClass("gallery"))!1===o.captions.overrideTitle&&(n=a||i.parents(".gallery-item:first").find(".wp-caption-text:first").html()||i.parents(".gallery-item:first").find(".gallery-caption:first").html()||n||""),!1===o.captions.overrideDesc&&(s=r||i.find("img").attr("alt")||s||"");else if(t.hasClass("wp-caption")||i.hasClass("wp-caption"))!1===o.captions.overrideTitle&&(n=a||i.find("img").attr("title")||i.parents(".wp-caption:first").find(".wp-caption-text:first").html()||n||""),!1===o.captions.overrideDesc&&(s=r||i.find("img").attr("alt")||s||"");else if(0)|(<\/p>$)/gi,"")||s||"");else{if(!t.hasClass("wp-block-gallery")&&!t.hasClass("wp-block-image"))return;!1===o.captions.overrideTitle&&(n=a||i.parents("figure:first").find("figcaption").html()||n||""),!1===o.captions.overrideDesc&&(s=r||s||"")}n=(n+="")||"",s=(s+="")||"",t=l("
"),a=t.html(n).text(),i=t.html(s).text();d.trim(n)!==d.trim(s)&&a!==i||(s=null),o="string"==typeof n&&0'+n+"
":"",o="string"==typeof s&&0'+s+"":o,e.fb.item.title=n,e.fb.item.description=s,e.fb.item.caption=o}}}},d.addons.register(d.Wordpress,{wordpress:{enabled:!1}})}(jQuery,window.FooBox),function(u,x){x.Pan=function(e){this.FooBox=e;var t,i,n,s,a=this,r=!1,l=!1,d=null,h=null,c=null,f=null,p=null,m=0;this.preinit=function(e){a.handlers.unbind(!0),e.on({"foobox.initialized foobox.reinitialized":a.handlers.initialized})},this.destroy=function(){a.handlers.unbind(!0)},this.setOverview=function(){var e=parseInt(f.css("max-width")),o=parseInt(f.css("max-height")),e=e/d.width,o=o/d.height,o=(m=o",{class:"fbx-pan-overview"}).addClass(e.fb.options.pan.position).on("click",a.handlers.onOverviewClick).appendTo(c),p=u("
",{class:"fbx-pan-viewport"}).appendTo(f),h.on("scroll",a.handlers.onScroll),a.setOverview(),a.setViewport())))},onHideOverflow:function(e){!0===r&&(r=!1,a.enableCaptionImageClick(),!0===e.fb.options.pan.showOverview&&f.remove(),h.off("scroll",a.handlers.onScroll),c.off({mousedown:a.handlers.onMouseDown,mousemove:a.handlers.onMouseMove,"mouseup mouseleave":a.handlers.onMouseUp}).removeClass("fbx-pannable fbx-panning"),a.FooBox.modal.element.removeClass("fbx-pannable-item"))},onMouseDown:function(e){var o;!0===r&&(e.preventDefault(),c.addClass("fbx-panning"),o=h.get(0),l=!0,t=e.pageX,i=e.pageY,n=o.scrollLeft,s=o.scrollTop)},onMouseMove:function(e){var o;!0===l&&!0===r&&((o=h.get(0)).scrollLeft=n-(e.pageX-t),o.scrollTop=s-(e.pageY-i))},onMouseUp:function(){!0===r&&(l=!1,c.removeClass("fbx-panning"),s=n=i=t=0)},onScroll:function(){var e=h.get(0),o=e.scrollTop/d.height*100,e=e.scrollLeft/d.width*100;p.css({top:o+"%",left:e+"%"})},onOverviewClick:function(e){var o=u(this).offset(),t=(e.pageX-o.left)/m,e=(e.pageY-o.top)/m,o=t-h.width()/2,t=e-h.height()/2;h.animate({scrollTop:t,scrollLeft:o},300)}}},x.addons.register(x.Pan,{pan:{enabled:!0,showOverview:!0,position:"fbx-top-right"}})}(jQuery,window.FooBox),function(i){i.Swipe=function(e){this.FooBox=e,this.isMoving=!1;var o,t=this;this.preinit=function(e){t.handlers.unbind(!0),e.on("foobox.initialized foobox.reinitialized",t.handlers.initialized)},this.destroy=function(){t.handlers.unbind(!0)},this.handlers={unbind:function(e){(e=e||!1)&&t.FooBox.element.off("foobox.initialized foobox.reinitialized",t.handlers.initialized),t.FooBox.modal instanceof i.Modal&&i.isjQuery(t.FooBox.modal.element)&&t.FooBox.modal.element.off({touchstart:t.handlers.onTouchStart,touchmove:t.handlers.onTouchMove})},initialized:function(e){t.handlers.unbind(),!0===e.fb.options.swipe.enabled&&e.fb.modal.on("touchstart",t.handlers.onTouchStart)},onTouchStart:function(e){e=e.originalEvent.touches||e.touches;1==e.length&&t.FooBox.items.multiple()&&(o=e[0].pageX,t.isMoving=!0,t.FooBox.modal.element.on("touchmove",t.handlers.onTouchMove))},onTouchMove:function(e){t.isMoving&&(e=(e.originalEvent.touches||e.touches)[0].pageX,e=o-e,Math.abs(e)>=t.FooBox.options.swipe.min)&&(t.cancelTouch(),0").addClass("caption-wrap overlay");i.wrap(v)}n=e.find(".caption-wrap")}else n=e.find(".overlay");function y(t,e,i,n,r){var o,a,s=e||"all",c=h.effectDelay+"ms",u=s+" "+c;t.css({"-webkit-transition":u,"-moz-transition":u,"-o-transition":u,transition:u}),r&&(a=i,(o=t).attr("style",o.attr("style")+a))}n.add(i).css("display","block"),e.addClass(h.effectType);var b=!1;if(0a.endVal,a.frameVal=a.startVal,a.initialized=!0):(a.error="[CountUp] startVal ("+e+") or endVal ("+i+") is not a number",!1)):!(a.error="[CountUp] target is null or undefined"))},a.printValue=function(t){var e=a.options.formattingFn(t);"INPUT"===a.d.tagName?this.d.value=e:"text"===a.d.tagName||"tspan"===a.d.tagName?this.d.textContent=e:this.d.innerHTML=e},a.count=function(t){a.startTime||(a.startTime=t);var e=(a.timestamp=t)-a.startTime;a.remaining=a.duration-e,a.options.useEasing?a.countDown?a.frameVal=a.startVal-a.options.easingFn(e,0,a.startVal-a.endVal,a.duration):a.frameVal=a.options.easingFn(e,a.startVal,a.endVal-a.startVal,a.duration):a.countDown?a.frameVal=a.startVal-(a.startVal-a.endVal)*(e/a.duration):a.frameVal=a.startVal+(a.endVal-a.startVal)*(e/a.duration),a.countDown?a.frameVal=a.frameVala.endVal?a.endVal:a.frameVal,a.frameVal=Math.round(a.frameVal*a.dec)/a.dec,a.printValue(a.frameVal),a.options.onUpdate&&a.options.onUpdate(a.frameVal),ea.endVal,a.rAF=requestAnimationFrame(a.count))):a.error="[CountUp] update() - new endVal is not a number: "+t)},a.initialize()&&a.printValue(a.startVal)}}),function(t){function i(t,e){var i=jQuery(t),n=jQuery(".header-homepage.cp-video-bg"),r=n.width(),o=n.height();(r=Math.max(r,o))<16*o/9?r=16/9*o:o=9*r/16;var a=-.5*(r-n.width());i.css({width:r,height:o,opacity:1,left:a})}window.addEventListener("resize",function(){var t=document.querySelector("video#wp-custom-header-video")||document.querySelector("iframe#wp-custom-header-video");t&&i(t)}),jQuery(function(){var t=document.querySelector("video#wp-custom-header-video")||document.querySelector("iframe#wp-custom-header-video");t&&i(t)}),__cpVideoElementFirstPlayed=!1,document.addEventListener("wp-custom-header-video-loaded",function(){var t=document.querySelector("video#wp-custom-header-video");t?i(t):document.querySelector("#wp-custom-header").addEventListener("play",function(){var t=document.querySelector("iframe#wp-custom-header-video"),e=document.querySelector("video#wp-custom-header-video")||t;e&&!__cpVideoElementFirstPlayed&&(__cpVideoElementFirstPlayed=!0,i(e))})})}(jQuery),function(o,s,t,T){"use strict";function c(t,e,i){return setTimeout(r(t,i),e)}function n(t,e,i){return!!Array.isArray(t)&&(a(t,i[e],i),!0)}function a(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==T)for(n=0;n\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,e),n.apply(this,arguments)}}function i(t,e,i){var n,r=e.prototype;(n=t.prototype=Object.create(r)).constructor=t,n._super=r,i&&Z(n,i)}function r(t,e){return function(){return t.apply(e,arguments)}}function u(t,e){return typeof t==tt?t.apply(e&&e[0]||T,e):t}function h(t,e){return t===T?e:t}function l(e,t,i){a(f(t),function(t){e.addEventListener(t,i,!1)})}function p(e,t,i){a(f(t),function(t){e.removeEventListener(t,i,!1)})}function _(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function d(t,e){return-1e[i]}):n.sort()),n}function y(t,e){for(var i,n,r=e[0].toUpperCase()+e.slice(1),o=0;oit(m.y)?m.x:m.y,e.scale=a?(y=a.pointers,b=n,I(b[0],b[1],kt)/I(y[0],y[1],kt)):1,e.rotation=a?(g=a.pointers,v=n,z(v[1],v[0],kt)+z(g[1],g[0],kt)):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,r,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!=mt&&(ptit(h.y)?h.x:h.y,o=C(c,u),t.lastInterval=e}else i=a.velocity,n=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=o}(i,e);var g,v;var y,b;var w=t.element;_(e.srcEvent.target,w)&&(w=e.srcEvent.target),e.target=w}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function E(t){for(var e=[],i=0;i=it(e)?t<0?vt:yt:e<0?bt:wt}function I(t,e,i){i||(i=Et);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function z(t,e,i){i||(i=Et);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}function S(){this.evEl=Ct,this.evWin=It,this.pressed=!1,w.apply(this,arguments)}function P(){this.evEl=Pt,this.evWin=Vt,w.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function V(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,w.apply(this,arguments)}function $(){this.evTarget=Rt,this.targetIds={},w.apply(this,arguments)}function F(){w.apply(this,arguments);var t=r(this.handler,this);this.touch=new $(this.manager,t),this.mouse=new S(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function R(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;setTimeout(function(){var t=n.indexOf(i);-1e.threshold&&r&e.direction},attrTest:function(t){return N.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Y(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),i(H,N,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Nt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),i(q,M,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distancee.time;if(this._input=t,!n||!i||t.eventType&(ft|mt)&&!r)this.reset();else if(t.eventType&dt)this.reset(),this._timer=c(function(){this.state=8,this.tryEmit()},e.time,this);else if(t.eventType&ft)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&t.eventType&ft?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=nt(),this.manager.emit(this.options.event,this._input)))}}),i(j,N,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Nt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),i(U,N,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Tt|_t,pointers:1},getTouchAction:function(){return X.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(Tt|_t)?e=t.overallVelocity:i&Tt?e=t.overallVelocityX:i&_t&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&it(e)>this.options.velocity&&t.eventType&ft},emit:function(t){var e=Y(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),i(L,M,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Ot]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distanceparseInt(i.width,10);)t[n]=t[n-1],--n;t[n]=i}return t},l=function(t,e,i){for(var n,r,o=m.devicePixelRatio||1,a=z(),s=(S(),t=n)));u++);return i[Math.min(u,c)]},p=function(t,e){if("string"==typeof t)t=t.replace(/{{(width|height)}}/g,e);else if(t instanceof Array)for(var i=0;i=e.length&&(n=i=0),r<0&&(r=n),r=Math.min(r,n);var a=e.slice(i+r,n-r);if(e=e.slice(i,r),n=e.length)for(var s,c=0,u=function(){++c===n&&(f(e,o,!a),t(a,0,0,r,o))},h=0;h=this.images.length&&(this.options.start=this.images.length-1),this.options.start<0&&(this.options.start=0),this.isBody=t===document.body;var n=v(m);this.$container=v(t),this.$root=this.isBody?P?n:v(document):this.$container,this.originalImages=this.images,this.images=g(this.options.alwaysTestWindowResolution?n:this.$root,this.originalImages),w(this.images,this.options.start||0,this.options.preload||1);var r=this.$container.children(".backstretch").first();if(this.$wrap=r.length?r:v('
').css(this.options.bypassCss?{}:s.wrap).appendTo(this.$container),!this.options.bypassCss){if(!this.isBody){var o=this.$container.css("position"),a=this.$container.css("zIndex");this.$container.css({position:"static"===o?"relative":o,zIndex:"auto"===a?0:a}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&P?"fixed":"absolute"})}this.index=this.options.start,this.show(this.index),n.on("resize.backstretch",v.proxy(this.resize,this)).on("orientationchange.backstretch",v.proxy(function(){this.isBody&&0===m.pageYOffset&&(m.scrollTo(0,1),this.resize())},this))};_.prototype={resize:function(){try{var t=this.options.alwaysTestWindowResolution?v(m):this.$root,e=t.width(),i=t.height(),n=e/(this._lastResizeContainerWidth||0),r=i/(this._lastResizeContainerHeight||0),o=this.options.resolutionChangeRatioThreshold||0;if((e!==this._lastResizeContainerWidth||i!==this._lastResizeContainerHeight)&&(Math.abs(n-1)>=o||isNaN(n)||Math.abs(r-1)>=o||isNaN(r))&&(this._lastResizeContainerWidth=e,this._lastResizeContainerHeight=i,this.images=g(t,this.originalImages),this.options.preload&&w(this.images,(this.index+1)%this.images.length,this.options.preload),1===this.images.length&&this._currentImage.url!==this.images[0].url)){var a=this;clearTimeout(a._selectAnotherResolutionTimeout),a._selectAnotherResolutionTimeout=setTimeout(function(){a.show(0)},this.options.resolutionRefreshRate)}var s={left:0,top:0,right:"auto",bottom:"auto"},c=this.isBody?this.$root.width():this.$root.innerWidth(),u=this.isBody?m.innerHeight?m.innerHeight:this.$root.height():this.$root.innerHeight(),h=c,l=h/this.$itemWrapper.data("ratio"),p=v.Event("backstretch.resize",{relatedTarget:this.$container[0]}),d=this._currentImage.alignX===y?this.options.alignX:this._currentImage.alignX,f=this._currentImage.alignY===y?this.options.alignY:this._currentImage.alignY;u<=l?s.top=-(l-u)*f:(((h=(l=u)*this.$itemWrapper.data("ratio"))-c)/2,s.left=-(h-c)*d),this.options.bypassCss||this.$wrap.css({width:c,height:u}).find(">.backstretch-item").not(".deleteable").each(function(){v(this).find("img,video,iframe").css({width:h,height:l}).css(s)}),this.$container.trigger(p,this)}catch(t){}return this},show:function(h,l){if(!(Math.abs(h)>this.images.length-1)){var p=this,d=p.$wrap.find(">.backstretch-item").addClass("deleteable"),f=p.videoWrapper,m={relatedTarget:p.$container[0]};p.$container.trigger(v.Event("backstretch.before",m),[p,h]),this.index=h;var t=p.images[h];clearTimeout(p._cycleTimeout),delete p.videoWrapper;var g=b(t);return g?(p.videoWrapper=new x(t),p.$item=p.videoWrapper.$video.css("pointer-events","none")):p.$item=v(""),p.$itemWrapper=v('
').append(p.$item),this.options.bypassCss?p.$itemWrapper.css({display:"none"}):(p.$itemWrapper.css(s.itemWrapper),p.$item.css(s.item)),p.$item.bind(g?"canplay":"load",function(t){var e=v(this).parent(),i=e.data("options");l&&(i=v.extend({},i,l));var n=this.naturalWidth||this.videoWidth||this.width,r=this.naturalHeight||this.videoHeight||this.height;e.data("ratio",n/r);var o=function(t){return i[t]!==y?i[t]:p.options[t]},a=o("transition"),s=o("transitionEasing"),c=o("transitionDuration"),u=function(){f&&(f.stop(),f.destroy()),d.remove(),!p.paused&&1").attr({src_to_load:o}).css({border:0,margin:0,padding:0}).data("player",i),t.loop&&e.on("ended.loop",function(){i.__manuallyStopped||i.play()}),i.ytReady=!1,n(),m.YT?(i._initYoutube(),e.trigger("initsuccess")):v(m).one("youtube_api_load",function(){i._initYoutube(),e.trigger("initsuccess")})}else{e=v("