1this.NLC=this.NLC||{},this.NLC.Nlc=function(){"use strict";var e=function(e,t){var n=this;for(var o in void 0===t&&(t={}),this.node=e,this.opts={delay:200,activate:function(){},deactivate:function(){},activateEvent:"dropdown:activate",deactivateEvent:"dropdown:deactivate"},t)t.hasOwnProperty(o)&&(this.opts[o]=t[o]);this.active=!1,this.enterTimeout=null,this.leaveTimeout=null;var i=function(e){e.preventDefault(),e.stopPropagation(),this.removeEventListener("click",i)},r=function(e){if(!n.active){for(var t=e.target;t.parentNode&&t!==n.node;)"A"===t.tagName&&t.addEventListener("click",i),t=t.parentNode;n.activate(e)}},s=function(e){if("number"==typeof n.leaveTimeout)return window.clearTimeout(n.leaveTimeout);n.enterTimeout=setTimeout((function(){n.activate(e)}),n.opts.delay)},a=function(e){if("number"==typeof n.enterTimeout)return window.clearTimeout(n.enterTimeout);n.leaveTimeout=window.setTimeout((function(){n.deactivate(e)}),n.opts.delay)},c=function(e){return r(e)};window.PointerEvent?(this.node.addEventListener("pointerenter",(function(e){return"touch"===e.pointerType?c(e):s(e)})),this.node.addEventListener("pointerleave",(function(e){return"touch"===e.pointerType?c(e):a(e)}))):(this.node.addEventListener("touchstart",c),this.node.addEventListener("mouseenter",s),this.node.addEventListener("mouseleave",a)),this.node.addEventListener("keyup",(function(e){return"enter"===e.key.toLowerCase()?r(e):null})),this.node.addEventListener("blur",(function(){n.active&&window.setTimeout((function(){for(var e=document.activeElement;e&&e.parentNode;){if(e===n.node)return;e=e.parentNode}n.deactivate()}),0)}),!0)};function t(e,t){void 0===t&&(t=null);var n=Array.from(e.children);return t&&(n=n.filter((function(e){return e.matches(t)}))),n}e.prototype.activate=function(e){void 0===e&&(e={}),this.active=!0,"number"==typeof this.enterTimeout&&(window.clearTimeout(this.enterTimeout),this.enterTimeout=null),"function"==typeof this.opts.activate&&this.opts.activate.call(this.node,e),"string"==typeof this.opts.activateEvent&&this.dispatchEvent(this.opts.activateEvent)},e.prototype.deactivate=function(e){void 0===e&&(e={}),this.active=!1,"number"==typeof this.leaveTimeout&&(window.clearTimeout(this.leaveTimeout),this.leaveTimeout=null),"function"==typeof this.opts.deactivate&&this.opts.deactivate.call(this.node,e),"string"==typeof this.opts.deactivateEvent&&this.dispatchEvent(this.opts.deactivateEvent)},e.prototype.dispatchEvent=function(e,t){var n;void 0===t&&(t=this.node),"function"==typeof window.Event?n=new Event(e):(n=document.createEvent("Event")).initEvent(e,!0,!1),t.dispatchEvent(n)},"function"==typeof window.jQuery&&(window.jQuery.fn.dropdownEvent=function(t){return this.each((function(){window.jQuery(this).data("dropdownEvent",new e(this,t))}))});var n=function(){var n=this;if(this.header=document.querySelector(".header"),this.header){this.opened=null,this.bodyThreshold=10,this.activeItemClass="nav__menu-item--active",this.headerOpenedClass="header--open",this.searchOpenedClass="header--open-search",this.menuOpenedClass="header--open-menu",this.desktopSearchToggle=this.header.querySelector(".header__search--desktop .header__search-toggle"),this.searchForm=this.header.querySelector(".header__search-form"),this.headerContent=this.header.querySelector(".header__content"),this.header.addEventListener("click",(function(e){for(var t=e.target;t&&t.parentNode;){if(t.matches(".header__menu-toggle"))return n.toggle("menu");if(t.matches(".header__search-toggle"))return n.toggle("search");if(t.matches(".header__search-close"))return n.close();if(t.matches(".nav__menu-toggler"))return t.parentNode.classList.toggle(n.activeItemClass);t=t.parentNode}}));var o=function(e){var o=e.target;if("desktop"===n.getMode()&&!o.classList.contains(n.activeItemClass)){o.classList.add(n.activeItemClass);var i=t(o,".nav__menu").shift();if(i){var r=i.getBoundingClientRect();r.left<n.bodyThreshold?i.style.marginLeft=r.left+n.bodyThreshold+"px":r.right>document.body.clientWidth-n.bodyThreshold&&(i.style.marginLeft=-1*(r.right-document.body.clientWidth+n.bodyThreshold)+"px")}}},i=function(e){var o=e.target;
1if("desktop"===n.getMode()&&o.classList.contains(n.activeItemClass)){o.classList.remove(n.activeItemClass);var i=t(o,".nav__menu").shift();i&&(i.style.marginLeft="")}};this.dropdowns=Array.from(this.header.querySelectorAll(".nav__menu-item--has-children")).map((function(t){return t.addEventListener("dropdown:activate",o),t.addEventListener("dropdown:deactivate",i),function(t,n){if(void 0===n&&(n={}),t instanceof HTMLElement)return new e(t,n);var o="string"==typeof t?Array.from(document.querySelectorAll(t)):t.length?Array.from(t):[];return!!Array.isArray(o)&&o.map((function(t){return new e(t,n)}))}(t)}))}};n.prototype.getMode=function(){return window.matchMedia("(min-width: 960px)").matches?"desktop":"mobile"},n.prototype.open=function(e){var t=this;switch(this.opened=e,this.header.classList.add(this.headerOpenedClass),"mobile"===this.getMode()&&(document.body.style.overflow="hidden"),e){case"menu":this.header.classList.add(this.menuOpenedClass),this.header.classList.remove(this.searchOpenedClass);break;case"search":this.header.classList.add(this.searchOpenedClass),this.header.classList.remove(this.menuOpenedClass),function(e,t,n){void 0===n&&(n=null);var o=function(i){i.target===e&&n&&i.propertyName!==n||(e.removeEventListener("transitionend",o),t(i))};e.addEventListener("transitionend",o)}(this.header,(function(){return e=t.searchForm,(n=e.querySelector(["a[href]","[contenteditable]","input:not([disabled])","select:not([disabled])","button:not([disabled])","textarea:not([disabled])",'[tabIndex]:not([tabIndex="-1"])'].join(", ")))&&n.focus(),n;var e,n}))}},n.prototype.close=function(){var e=this;this.opened=null,[this.headerOpenedClass,this.searchOpenedClass,this.menuOpenedClass].forEach((function(t){return e.header.classList.remove(t)})),document.body.style.overflow="",this.desktopSearchToggle&&"desktop"===this.getMode()&&this.desktopSearchToggle.focus()},n.prototype.toggle=function(e){return void 0===e&&(e="menu"),this.opened===e?this.close():this.open(e)};var o=function(){},i=function(e){var t=this;this.node=e,this.openedClass="share--open",this.opened=this.node.classList.contains(this.openedClass),this.node.addEventListener("click",(function(e){for(var n=e.target;n&&n!==t.node;){if(n.classList.contains("share__toggler"))return e.stopPropagation(),e.preventDefault(),t.toggle();n=n.parentNode}}))};i.prototype.open=function(){this.opened=!0,this.node.classList.add(this.openedClass)},i.prototype.close=function(){this.opened=!1,this.node.classList.remove(this.openedClass)},i.prototype.toggle=function(){return this.opened?this.close():this.open()};var r=function(e,t){this.node=e,this.className=t,this.focused=!1,this.node.addEventListener("focus",this.focus.bind(this),!0),this.node.addEventListener("blur",this.blur.bind(this),!0)};r.prototype.toggle=function(){return this.focused?this.blur():this.focus()},r.prototype.focus=function(){this.focused=!0,this.node.classList.add(this.className),this.node.dispatchEvent(new CustomEvent("site:focus-within:focus"))},r.prototype.blur=function(){this.focused=!1,this.node.classList.remove(this.className),this.node.dispatchEvent(new CustomEvent("site:focus-within:blur"))};var s=function(e,t){void 0===t&&(t={}),this.node=e,this.opts=Object.assign({togglerClass:"breadcrumb__mobile-toggle",openClass:"breadcrumb--open",itemTogglerClass:"breadcrumb__toggler",itemClass:"breadcrumb__item",openItemClass:"breadcrumb__item--open"},t),this.openItem=null,this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this),this.node.addEventListener("click",this.onClick),document.body.addEventListener("click",this.onBlur)};s.prototype.onClick=function(e){for(var t=e.target;t&&t!==this.node;){if(t.classList.contains(this.opts.togglerClass))return void this.node.classList.toggle(this.opts.openClass);if(t.classList.contains(this.opts.itemTogglerClass)){var n=t.closest("."+this.opts.itemClass);return void(n&&(n.classList.contains(this.opts.openItemClass)?(n.classList.remove(this.opts.openItemClass),this.openItem=null):(this.openItem&&this.openItem.classList.remove(this.opts.openItemClass),n.classList.add(this.opts.openItemClass),this.openItem=n)))}t=t.parentNode}},s.prototype.onBlur=function(e){if(this.openItem){for(var t=e.target;t&&t.parentNode;){if(t===this.openItem)return;t=t.parentNode}this.openItem.classList.remove(this.opts.openItemClass)}};var a=[];
1function c(e,t,n){if(void 0===t&&(t="img"),void 0===n&&(n="center"),console.log(e),"string"==typeof e&&(e=Array.from(document.querySelectorAll(e))),console.log(e),e.length)for(var o=0,i=e.length;o<i;o++){var r=e[o].querySelector(t);console.log(e[o],r),r&&(e[o].style.backgroundPosition=n,e[o].style.backgroundSize="cover",e[o].style.backgroundImage="url("+(r.currentSrc||r.src)+")",r.style.display="none")}}function d(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var l,u,h,f=(l=function(e,t){e.exports=function e(t,n,o){function i(s,a){if(!n[s]){if(!t[s]){if(!a&&d)return d();if(r)return r(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,(function(e){return i(t[s][1][e]||e)}),l,l.exports,e,t,n,o)}return n[s].exports}for(var r=d,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(e,t,n){(function(n){(function(){var o=function(){return d+=.618033988749895,360*(d%=1)},i=!("undefined"==typeof window)&&function(){var e;try{e=window.localStorage}catch(e){}return e}(),r=i&&i.andlogKey?i.andlogKey:"debug",s=!(!i||!i[r])&&i[r],a=e("andlog"),c=Function.prototype.bind,d=0,l=!0,u="|",h=15,f=function(){},p=i&&i.debugColors?"false"!==i.debugColors:function(){if("undefined"==typeof window||"undefined"==typeof navigator)return!1;var e,t=!!window.chrome,o=/firefox/i.test(navigator.userAgent),i=n&&n.versions&&n.versions.electron;if(o){var r=navigator.userAgent.match(/Firefox\/(\d+\.\d+)/);r&&r[1]&&Number(r[1])&&(e=Number(r[1]))}return t||e>=31||i}(),v=null,m=null,g=!1,y={};s&&"!"===s[0]&&"/"===s[1]&&(g=!0,s=s.slice(1)),m=s&&"/"===s[0]&&new RegExp(s.substring(1,s.length-1));for(var w=["log","debug","warn","error","info"],b=0,E=w.length;b<E;b++)f[w[b]]=f;v=function(e){if(!i)return f;var t,n,r;if(l?(t=e.slice(0,h),t+=Array(h+3-t.length).join(" ")+u):t=e+Array(3).join(" ")+u,m){var s=e.match(m);if(!g&&!s||g&&s)return f}if(!c)return f;var d=[a];if(p?(y[e]||(y[e]=o()),t="%c"+t,n="color: hsl("+y[e]+",99%,40%); font-weight: bold",d.push(t,n)):d.push(t),arguments.length>1){var v=Array.prototype.slice.call(arguments,1);d=d.concat(v)}return r=c.apply(a.log,d),w.forEach((function(e){r[e]=c.apply(a[e]||r,d)})),r},v.config=function(e){e.padLength&&(h=e.padLength),"boolean"==typeof e.padding&&(l=e.padding),e.separator?u=e.separator:!1!==e.separator&&""!==e.separator||(u="")},void 0!==t?t.exports=v:window.bows=v}).call()}).call(this,e("_process"))},{_process:3,andlog:2}],2:[function(e,t,n){!function(){var e="undefined"==typeof window,o=!e&&function(){var e;try{e=window.localStorage}catch(e){}return e}(),i={};if(!e&&o){var r=o.andlogKey||"debug";if(o&&o[r]&&window.console)i=window.console;else for(var s="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),a=s.length,c=function(){};a--;)i[s[a]]=c;void 0!==n?t.exports=i:window.console=i}else t.exports=console}()},{}],3:[function(e,t,n){function o(){}var i=t.exports={};i.nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",(function(e){var t=e.source;(t===window||null===t)&&"process-tick"===e.data&&(e.stopPropagation(),n.length>0)&&n.shift()()}),!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),i.title="browser",i.browser=!0,i.env={},i.argv=[],i.on=o,i.addListener=o,i.once=o,i.off=o,i.removeListener=o,i.removeAllListeners=o,i.emit=o,i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")}},{}]},{},[1])(1)},l(h={path:u,exports:{},require:function(e,t){return d(null==t&&h.path)}},h.exports),h.exports),p=document.querySelectorAll('a[href^="#"]:not(.tabs-feature__nav-link)'),v=f("scroll"),m=100;function g(e){var t=function(e){return Math.floor(e.getBoundingClientRect().top)};e.preventDefault();var n=this.getAttribute("href");if(""!==n.split("#")[1]){var o=document.querySelector(n);if(o){var i=t(o);i-=m,window.scrollBy({top:i,left:0,behavior:"smooth"});var r=setInterval((function(){var e=window.innerHeight+window.pageYOffset>=document.body.offsetHeight-2;(t(o)<=m||e)&&(o.tabIndex="-1",o.focus(),window.history.pushState("","",n),clearInterval(r)),o.addEventListener("blur",(function(){o.removeAttribute("tabIndex")}))}),100)}}}var y={init:function(){v("scroll init"),void 0!==p&&p.forEach((function(e){return e.onclick=g}))},anchorLinkHandler:g},w=function(){this.node=document.querySelectorAll(".trigger-popup"),this.node&&document.addEventListener("click",(function(e){if(e.target.closest(".trigger-popup")){var t=e;document.querySelectorAll(".trigger-popup").forEach((function(e){e.closest(".popup").classList[t.target.closest(".trigger-popup")==e?"toggle":"remove"]("open")}))}else document.querySelectorAll(".trigger-popup").forEach((function(e){return e.closest(".popup").classList.remove("open")}))}
1))},b=function(){document.addEventListener("DOMContentLoaded",this.ready.bind(this)),window.addEventListener("resize",function(e,t){void 0===t&&(t=50);var n=null;function o(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];n||(n=setTimeout((function(){e.apply(void 0,o),n=null}),t))}return o.cancel=function(){clearTimeout(n),n=null},o}(this.resize.bind(this),25)),this.resize()};return b.prototype.ready=function(){var e,t,d,l=this;this.navigation=new n,this.footer=new o,this.shares=(void 0===e&&(e=".share"),"string"==typeof e?Array.from(document.querySelectorAll(e)).map((function(e){return new i(e)})):e instanceof HTMLElement?new i(e):[]),this.breadcrumbs=Array.from(document.querySelectorAll(".breadcrumb")).map((function(e){return new s(e)})),this.notices(),this.cookieNotice(),void 0===d&&(d="focus-within"),(t="label, form, fieldset")instanceof HTMLElement?new r(t,d):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.isArray(t)||(t=Array.from(t)),t.map((function(e){return new r(e,d)}))),function(e){a.push(e);var t=a.join(",");if(!(a.length>1)){var n=function(e){for(var o=e.target;o&&o.parentNode;){if(o.matches(t)){if(o.removeEventListener("click",n),o.dataset.focused)return;return e.preventDefault&&e.preventDefault(),o.dataset.focused="1",o.focus()}o=o.parentNode}};document.addEventListener("blur",(function(e){for(var t=e.target;t&&t.parentNode;)t.dataset.focused&&delete t.dataset.focused,t=t.parentNode}),!0),document.addEventListener("touchstart",(function(e){for(var o=e.target;o&&o.parentNode;){if(o.matches(t)){if(o.dataset.focused)return;o.addEventListener("click",n)}o=o.parentNode}}))}}(".kard"),"objectFit"in document.documentElement.style||(c(".page-header__image","img"),c(".kard--bg-image .kard__image","img"),c(".tabs-feature__media","img")),$("a.t_link").on("click",(function(){$("a.t_link").children().removeClass("t_on").addClass("t_off"),$(this).children().removeClass("t_off").addClass("t_on")})),function(e){var t={selectors:['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]',"object","embed"]};e&&(Array.isArray(e)||(e=[e]),t.selectors=t.selectors.concat(opts.selectors).filter((function(e,t,n){return n.indexOf(e)===t})));var n=Array.prototype.slice.call(document.querySelectorAll(t.selectors.join(",")));n.length>0&&n.forEach((function(e){if(!e.getAttribute("data-fitvid")&&!e.closest(".wp-has-aspect-ratio")){var t=document.createElement("div"),n=window.getComputedStyle(e),o=parseInt(n.height,10),i=parseInt(n.width,10),r=100*(o>0&&i>0?o/i:9/16);t.className="fitvid",t.style.width="100%",t.style.height=0,t.style.position="relative",t.style.paddingTop=r+"%",e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.width="100%",e.style.height="100%",e.setAttribute("data-fitvid",r),e.parentNode.insertBefore(t,e),t.appendChild(e)}}))}(),y.init();var u=document.querySelector(".header");function h(e,t,n){var o="";if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),o="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+o+"; path=/",console.log("Set cookie: "+e+"="+t+"; expires="+o)}function f(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var i=n[o];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}function p(e){document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",console.log("Deleted cookie: "+e)}u&&window.addEventListener("scroll",(function(){u.classList.toggle("fixed",window.scrollY>0)})),window.addEventListener("load",(function(){var e=f("STYXKEYtownCityVillage"),t=f("STYXKEYcitySize"),n=f("scrollToFilter");if(console.log("Retrieved cookies: STYXKEYtownCityVillage="+e+", STYXKEYcitySize="+t),e){var o=document.getElementById("town-city-village");o&&(o.value=e)}if(t){var i=document.getElementById("city_size");i&&(i.value=t)}l.updateMessageBlocks(),"true"===n&&setTimeout((function(){var e=document.getElementById("messages-block-filter");e&&(e.scrollIntoView(),p("scrollToFilter"))}),100)})),this.updateMessageBlocks();var v=document.getElementById("messageForm");v&&v.addEventListener("submit",(function(e){e.preventDefault();var t=document.getElementById("town-city-village"),n=document.getElementById("city_size");t&&n&&(h("STYXKEYtownCityVillage",t.value,30),h("STYXKEYcitySize",n.value,30)),h("scrollToFilter","true",1),setTimeout((function(){v.submit()}),100)}));var m=document.getElementById("resetButton");m&&m.addEventListener("click",(function(e){e.preventDefault();var t=document.getElementById("town-city-village"),n=document.getElementById("city_size");t&&(t.value=""),n&&(n.selectedIndex=0),p("STYXKEYtownCityVillage"),p("STYXKEYcitySize"),l.updateMessageBlocks()})),$(".tbl_container--floating").length&&($(window).scroll((function(){$(this).scrollTop()>=$(".page-content").offset().top?$(".tbl_container--floating").addClass("fixed"):$(".tbl_container--floating").removeClass("fixed")})),$(".tbl_container--floating").wrap('<div class="tbl_container_wrap"></div>'),$("div.tbl_container_wrap").height($(".tbl_container--floating").height())),new w,document.querySelectorAll("a.print-btn-l
1ink").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),window.print()}))}))},b.prototype.updateMessageBlocks=function(){var e=document.getElementById("city_size");if(e){var t=e.value;document.querySelectorAll(".messages-block").forEach((function(e){e.getAttribute("data-term-city-size").includes(t)||""===t?e.classList.remove("hidden"):e.classList.add("hidden")})),this.updateNavVisibility()}},b.prototype.updateNavVisibility=function(){document.querySelectorAll(".sticky__nav-item").forEach((function(e){var t=e.querySelector("a").getAttribute("href").substring(1),n=document.getElementById(t);if(n){var o=n.closest(".messages-block");o&&o.classList.contains("hidden")?e.classList.add("hidden"):e.classList.remove("hidden")}}))},b.prototype.resize=function(){window.innerWidth===document.body.clientWidth?document.documentElement.classList.remove("has-scrollbar"):document.documentElement.classList.add("has-scrollbar")},b.prototype.notices=function(){var e=Array.from(document.querySelectorAll(".notice"));e.length&&e.forEach((function(e){var t=document.createElement("button");t.type="button",t.className="notice__dismiss",t.insertAdjacentHTML("beforeend",'<svg role="img" aria-label="Dismiss notice" class="svg--symbol svg--close" height="16" width="16" focusable="false"><use xlink:href="#icon-close"></use></svg>'),t.addEventListener("click",(function(){var t=location.origin+location.pathname,n=new URLSearchParams(location.search);["Site","logout"].forEach((function(e){return n.delete(e)}));var o=n.toString();o.length&&(t+="?"+o),window.history.replaceState({},null,t),e.parentNode.removeChild(e)})),e.appendChild(t)}))},b.prototype.cookieNotice=function(){var e=document.querySelector(".cookie-notice");if(e){if(document.cookie.match(new RegExp("\\bcookieNotice=\\d+\\b")))e.parentNode.removeChild(e);else{e.removeAttribute("hidden");var t=e.querySelector("button");t&&t.addEventListener("click",(function(){document.cookie="cookieNotice="+Date.now()+"; max-age=157680000; path=/",e.parentNode.removeChild(e)}))}}},new b}(); 2//# sourceMappingURL=nlc.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.