1function t_menu__highlightActiveLinks(t){var e=window.location.href,n,r=window.location.pathname;"/"===e[e.length-1]&&(n=e.slice(0,-1)),"/"===r[r.length-1]&&(r=r.slice(0,-1)),"/"===r[0]&&(r=r.slice(1)),""===r&&(r="/");var i=document.querySelectorAll(t);Array.prototype.forEach.call(i,(function(t){var i=t.getAttribute("href");if(i){var o=t.href,a="/"===i[0]?i.slice(1):i,l;-1!==r.indexOf("tpost")&&(l="/"+r.slice(0,r.indexOf("tpost"))),o!==e&&o!==r&&i!==e&&i!==r&&a!==r&&n!==e&&n!==r&&i!==l||t.classList.add("t-active")}
2}
3))}
4function t_menu__findAnchorLinks(t,e){var n=document.getElementById("rec"+t);if(n&&t_menu__isBlockVisible(n)){var r=e+'[href*="#"]:not(.tooltipstered)',i=n?n.querySelectorAll(r):[];i.length&&t_menu__updateActiveLinks(i,e)}
5}
6function t_menu__updateActiveLinks(t,e){var n=e.slice(2);n=".t"+(n=parseInt(n,10)),t=Array.prototype.slice.call(t);var r=null,i=[],o={}
7;(t=t.reverse()).forEach((function(t){var e=t_menu__getSectionByHref(t);e&&e.id&&(i.push(e),o[e.id]=t)}
8)),t_menu__updateSectionsOffsets(i),i.sort((function(t,e){var n=parseInt(t.getAttribute("data-offset-top"),10)||0,r;return(parseInt(e.getAttribute("data-offset-top"),10)||0)-n}
9)),window.addEventListener("resize",t_throttle((function(){t_menu__updateSectionsOffsets(i)}
10),200));var a=document.querySelectorAll(n);Array.prototype.forEach.call(a,(function(t){t.addEventListener("displayChanged",(function(){t_menu__updateSectionsOffsets(i)}
11))}
12)),t_menu__highlightNavLinks(t,i,o,r),t.forEach((function(e,n){e.addEventListener("click",(function(){var i=t_menu__getSectionByHref(e);!e.classList.contains("tooltipstered")&&i&&i.id&&(t.forEach((function(t,e){e===n?t.classList.add("t-active"):t.classList.remove("t-active")}
13)),r=i.id)}
14))}
15)),window.addEventListener("scroll",t_throttle((function(){r=t_menu__highlightNavLinks(t,i,o,r)}
16),100)),"ResizeObserver"in window&&setTimeout((function(){var t;new ResizeObserver((function(){t_menu__updateSectionsOffsets(i)}
17)).observe(document.body)}
18),500)}
19function t_menu__updateSectionsOffsets(t){t.forEach((function(t){var e=t.getBoundingClientRect().top+window.pageYOffset;t.getAttribute("data-offset-top")!==e.toString()&&t.setAttribute("data-offset-top",e)}
20))}
21function t_menu__getSectionByHref(t){if(t){var e=t.getAttribute("href"),n=e?e.replace(/\s+/g,""):"";if(0===n.indexOf("/")&&(n=n.slice(1)),e&&t.matches('[href*="#rec"]'))return n=n.replace(/.*#/,""),document.getElementById(n);var r=e?e.trim():"",i=-1!==r.indexOf("#")&&r.indexOf("#");("number"==typeof i||"number"==typeof(i=-1!==r.indexOf("/")&&r.indexOf("/")))&&(r=r.slice(i+1));var o='a[name="'+r+'"]',a=document.querySelector(o);if(!a)return null;var l=a.closest('.r[data-record-type="215"], .r[data-parenttplid="215"]');if(l)return l;var s=document.querySelector(o+"+ .r");return s?(a.id=s?s.id+"_"+r:"",a):null}
22}
23function t_menu__highlightNavLinks(t,e,n,r){if(document.documentElement.classList.contains("t-body_scroll-locked"))return null;var i=window.pageYOffset,o=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),a=r,l=e.length?e[e.length-1]:null,s=l&&parseInt(l.getAttribute("data-offset-top"),10)||0;if(e.length&&null===r&&s>i+300)return t.forEach((function(t){t.classList.remove("t-active")}
24)),null;for(var u=0;u<e.length;u++){var c=parseInt(e[u].getAttribute("data-offset-top"),10),d=e[u].id?n[e[u].id]:null;if(i+300>=c||0===u&&i>=o-window.innerHeight){null===r&&d&&!d.classList.contains("t-active")?(t.forEach((function(t){t.classList.remove("t-active")}
25)),d&&d.classList.add("t-active"),a=null):null!==r&&e[u].id&&r===e[u].id&&(a=null);break}
26}
27return a}
28function t_menu__setBGcolor(t,e){var n=document.querySelectorAll(e);Array.prototype.forEach.call(n,(function(t){window.innerWidth>980?"yes"===t.getAttribute("data-bgcolor-setbyscript")&&(t.style.backgroundColor=t.getAttribute("data-bgcolor-rgba")):(t.style.backgroundColor=t.getAttribute("data-bgcolor-hex"),t.setAttribute("data-bgcolor-setbyscript","yes"),t.style.transform&&(t.style.transform=""),t.style.opacity&&(t.style.opacity=""))}
29))}
30function t_menu__showFixedMenu(t,e){var n,r=[".t280",".t282",".t450",".t451",".t466",".t453"].some((function(t){return t===e}
31));if(!(window.innerWidth<=980)||r){var i=document.getElementById("rec"+t);if(!i)return!1;var o=i.querySelectorAll(e);Array.prototype.forEach.call(o,(function(t){var e=t.getAttribute("data-appearoffset");if(e){-1!==e.indexOf("vh")&&(e=Math.floor(window.innerHeight*(parseInt(e)/100))),e=parseInt(e,10);var n=t.clientHeight;"number"==typeof e&&window.pageYOffset>=e?t.style.transform==="translateY(-"+n+"px)"&&t_menu__slideElement(t,n,"toBottom"):"translateY(0px)"===t.style.transform?t_menu__slideElement(t,n,"toTop"):(t.style.transform="translateY(-"+n+"px)",t.style.opacity="0")}
32}
33))}
34}
35function t_menu__changeBgOpacity(t,e){var n,r=["t280","t282","t451","t466"].some((function(t){return-1!==e.indexOf(t)}
36));if(!(window.innerWidth<=980)||r){var i=document.getElementById("rec"+t);if(!i)return!1;var o=i.querySelectorAll(e);Array.prototype.forEach.call(o,(function(t){var e=t.getAttribute("data-bgcolor-rgba"),n=t.getAttribute("data-bgcolor-rgba-afterscroll"),r=t.getAttribute("data-bgopacity"),i=t.getAttribute("data-bgopacity-two"),o=parseInt(t.getAttribute("data-menushadow"),10)||0;o/=100;var a=t.getAttribute("data-menushadow-css");t.style.backgroundColor=window.pageYOffset>20?n:e,window.pageYOffset>20&&"0"===i||window.pageYOffset<=20&&("0.0"===r||"0"===r)||!o&&!a?t.style.boxShadow="none":a?t.style.boxShadow=a:o&&(t.style.boxShadow="0px 1px 3px rgba(0,0,0,"+o+")")}
37))}
38}
39function t_menu__createMobileMenu(t,e){var n=document.getElementById("rec"+t);if(n){var r=n.querySelector(e),i=r?r.getAttribute("data-mobile-burgerhook"):"",o=n.querySelector(e+"__mobile"),a=o||n.querySelector(".tmenu-mobile"),l=o?e.slice(1)+"_opened":"tmenu-mobile_opened",s="t-menuburger-opened";if(a)if(r&&r.classList.contains(e.slice(1)+"__mobile_burgerhook")&&i){if(a.querySelector(".tmenu-mobile__burger"))var u=a.querySelector(".tmenu-mobile__burger");else if(a.querySelector(".t-menuburger"))var u=a.querySelector(".t-menuburger");if(u){var c=u.parentElement,d=document.createElement("a");d.href=i,c&&(d.appendChild(u),c.appendChild(d))}
40}
...
</html>