1!function(){var e={42:function(e,t,i){e.exports=function(){"use strict";var e="undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{},t="Expected a function",n=NaN,s="[object Symbol]",o=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,d="object"==typeof e&&e&&e.Object===Object&&e,u="object"==typeof self&&self&&self.Object===Object&&self,h=d||u||Function("return this")(),f=Object.prototype.toString,m=Math.max,g=Math.min,p=function(){return h.Date.now()};function v(e,i,n){var s,o,r,a,l,c,d=0,u=!1,h=!1,f=!0;if("function"!=typeof e)throw new TypeError(t);function v(t){var i=s,n=o;return s=o=void 0,d=t,a=e.apply(n,i)}function w(e){var t=e-c;return void 0===c||t>=i||t<0||h&&e-d>=r}function x(){var e=p();if(w(e))return E(e);l=setTimeout(x,function(e){var t=i-(e-c);return h?g(t,r-(e-d)):t}(e))}function E(e){return l=void 0,f&&s?v(e):(s=o=void 0,a)}function S(){var e=p(),t=w(e);if(s=arguments,o=this,c=e,t){if(void 0===l)return function(e){return d=e,l=setTimeout(x,i),u?v(e):a}(c);if(h)return l=setTimeout(x,i),v(c)}return void 0===l&&(l=setTimeout(x,i)),a}return i=b(i)||0,y(n)&&(u=!!n.leading,r=(h="maxWait"in n)?m(b(n.maxWait)||0,i):r,f="trailing"in n?!!n.trailing:f),S.cancel=function(){void 0!==l&&clearTimeout(l),d=0,s=c=o=l=void 0},S.flush=function(){return void 0===l?a:E(p())},S}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&f.call(e)==s}(e))return n;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var i=a.test(e);return i||l.test(e)?c(e.slice(2),i?2:8):r.test(e)?n:+e}var w=function(e,i,n){var s=!0,o=!0;if("function"!=typeof e)throw new TypeError(t);return y(n)&&(s="leading"in n?!!n.leading:s,o="trailing"in n?!!n.trailing:o),v(e,i,{leading:s,maxWait:i,trailing:o})},x="Expected a function",E=NaN,S="[object Symbol]",k=/^\s+|\s+$/g,A=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,C=/^0o[0-7]+$/i,L=parseInt,O="object"==typeof e&&e&&e.Object===Object&&e,_="object"==typeof self&&self&&self.Object===Object&&self,N=O||_||Function("return this")(),D=Object.prototype.toString,I=Math.max,P=Math.min,q=function(){return N.Date.now()};function M(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function z(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&D.call(e)==S}(e))return E;if(M(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=M(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(k,"");var i=T.test(e);return i||C.test(e)?L(e.slice(2),i?2:8):A.test(e)?E:+e}var H=function(e,t,i){var n,s,o,r,a,l,c=0,d=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError(x);function f(t){var i=n,o=s;return n=s=void 0,c=t,r=e.apply(o,i)}function m(e){var i=e-l;return void 0===l||i>=t||i<0||u&&e-c>=o}function g(){var e=q();if(m(e))return p(e);a=setTimeout(g,function(e){var i=t-(e-l);return u?P(i,o-(e-c)):i}(e))}function p(e){return a=void 0,h&&n?f(e):(n=s=void 0,r)}function v(){var e=q(),i=m(e);if(n=arguments,s=this,l=e,i){if(void 0===a)return function(e){return c=e,a=setTimeout(g,t),d?f(e):r}(l);if(u)return a=setTimeout(g,t),f(l)}return void 0===a&&(a=setTimeout(g,t)),r}return t=z(t)||0,M(i)&&(d=!!i.leading,o=(u="maxWait"in i)?I(z(i.maxWait)||0,t):o,h="trailing"in i?!!i.trailing:h),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=s=a=void 0},v.flush=function(){return void 0===a?r:p(q())},v},B=function(){};function X(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),i=Array.prototype.slice.call(e.removedNodes);if(function e(t){var i=void 0,n=void 0;for(i=0;i<t.length;i+=1){if((n=t[i]).dataset&&n.dataset.aos)return!0;if(n.children&&e(n.children))return!0}return!1}(t.concat(i)))return B()})}function Y(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var j={isSupported:function(){return!!Y()},ready:function(e,t){var i=window.document,n=new(Y())(X);B=t,n.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},W=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
1return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},V=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,K=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,U=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,$=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function G(){return navigator.userAgent||navigator.vendor||window.opera||""}var Z=new(function(){function e(){W(this,e)}
1return F(e,[{key:"phone",value:function(){var e=G();return!(!V.test(e)&&!K.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=G();return!(!U.test(e)&&!$.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),e}()),J=function(e,t){var i=void 0;return Z.ie11()?(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,{detail:t}):i=new CustomEvent(e,{detail:t}),document.dispatchEvent(i)},Q=function(e){return e.forEach(function(e,t){return function(e,t){var i=e.options,n=e.position,s=e.node,o=(e.data,function(){e.animated&&(function(e,t){t&&t.forEach(function(t){return e.classList.remove(t)})}(s,i.animatedClassNames),J("aos:out",s),e.options.id&&J("aos:in:"+e.options.id,s),e.animated=!1)});i.mirror&&t>=n.out&&!i.once?o():t>=n.in?e.animated||(function(e,t){t&&t.forEach(function(t){return e.classList.add(t)})}(s,i.animatedClassNames),J("aos:in",s),e.options.id&&J("aos:in:"+e.options.id,s),e.animated=!0):e.animated&&!i.once&&o()}(e,window.pageYOffset)})},ee=function(e){for(var t=0,i=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),i+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:i,left:t}},te=function(e,t,i){var n=e.getAttribute("data-aos-"+t);if(void 0!==n){if("true"===n)return!0;if("false"===n)return!1}return n||i},ie=function(e,t){return e.forEach(function(e,i){var n=te(e.node,"mirror",t.mirror),s=te(e.node,"once",t.once),o=te(e.node,"id"),r=t.useClassNames&&e.node.getAttribute("data-aos"),a=[t.animatedClassName].concat(r?r.split(" "):[]).filter(function(e){return"string"==typeof e});t.initClassName&&e.node.classList.add(t.initClassName),e.position={in:function(e,t,i){var n=window.innerHeight,s=te(e,"anchor"),o=te(e,"anchor-placement"),r=Number(te(e,"offset",o?0:t)),a=o||i,l=e;s&&document.querySelectorAll(s)&&(l=document.querySelectorAll(s)[0]);var c=ee(l).top-n;switch(a){case"top-bottom":break;case"center-bottom":c+=l.offsetHeight/2;break;case"bottom-bottom":c+=l.offsetHeight;break;case"top-center":c+=n/2;break;case"center-center":c+=n/2+l.offsetHeight/2;break;case"bottom-center":c+=n/2+l.offsetHeight;break;case"top-top":c+=n;break;case"bottom-top":c+=n+l.offsetHeight;break;case"center-top":c+=n+l.offsetHeight/2}return c+r}(e.node,t.offset,t.anchorPlacement),out:n&&function(e,t){window.innerHeight;var i=te(e,"anchor"),n=te(e,"offset",t),s=e;return i&&document.querySelectorAll(i)&&(s=document.querySelectorAll(i)[0]),ee(s).top+s.offsetHeight-n}(e.node,t.offset)},e.options={once:s,mirror:n,animatedClassNames:a,id:o}}),e},ne=function(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,function(e){return{node:e}})},se=[],oe=!1,re={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},ae=function(){return document.all&&!window.atob},le=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(oe=!0),oe&&(se=ie(se,re),Q(se),window.addEventListener("scroll",w(function(){Q(se,re.once)},re.throttleDelay)))},ce=function(){if(se=ne(),ue(re.disable)||ae())return de();le()},de=function(){se.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay"),re.initClassName&&e.node.classList.remove(re.initClassName),re.animatedClassName&&e.node.classList.remove(re.animatedClassName)})},ue=function(e){return!0===e||"mobile"===e&&Z.mobile()||"phone"===e&&Z.phone()||"tablet"===e&&Z.tablet()||"function"==typeof e&&!0===e()};return{init:function(e){return re=R(re,e),se=ne(),re.disableMutationObserver||j.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),re.disableMutationObserver=!0),re.disableMutationObserver||j.ready("[data-aos]",ce),ue(re.disable)||ae()?de():(document.querySelector("body").setAttribute("data-aos-easing",re.easing),document.querySelector("body").setAttribute("data-aos-duration",re.duration),document.querySelector("body").setAttribute("data-aos-delay",re.delay),-1===["DOMContentLoaded","load"].indexOf(re.startEvent)?document.addEventListener(re.startEvent,function(){le(!0)}):window.addEventListener("load",function(){le(!0)}
1),"DOMContentLoaded"===re.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&le(!0),window.addEventListener("resize",H(le,re.debounceDelay,!0)),window.addEventListener("orientationchange",H(le,re.debounceDelay,!0)),se)},refresh:le,refreshHard:ce}}()},128:function(e){e.exports=function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var i=0;i<t.length;i++){var s=t[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,n(s.key),s)}}function i(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function n(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=Date.now();function r(){var e={},t=!0,i=0,n=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(t=arguments[0],i++);for(var s=function(i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t&&"[object Object]"===Object.prototype.toString.call(i[n])?e[n]=r(!0,e[n],i[n]):e[n]=i[n])};i<n;i++)s(arguments[i]);return e}function a(e,t){if((T(e)||e===window||e===document)&&(e=[e]),L(e)||O(e)||(e=[e]),0!=D(e))if(L(e)&&!O(e))for(var i=e.length,n=0;n<i&&!1!==t.call(e[n],e[n],n,e);n++);else if(O(e))for(var s in e)if(N(e,s)&&!1===t.call(e[s],e[s],s,e))break}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=e[o]=e[o]||[],s={all:n,evt:null,found:null};return t&&i&&D(n)>0&&a(n,function(e,n){if(e.eventName==t&&e.fn.toString()==i.toString())return s.found=!0,s.evt=n,!1}),s}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.onElement,n=t.withCallback,s=t.avoidDuplicate,o=void 0===s||s,r=t.once,c=void 0!==r&&r,d=t.useCapture,u=void 0!==d&&d,h=arguments.length>2?arguments[2]:void 0,f=i||[];function m(e){k(n)&&n.call(h,e,this),c&&m.destroy()}return A(f)&&(f=document.querySelectorAll(f)),m.destroy=function(){a(f,function(t){var i=l(t,e,m);i.found&&i.all.splice(i.evt,1),t.removeEventListener&&t.removeEventListener(e,m,u)})},a(f,function(t){var i=l(t,e,m);(t.addEventListener&&o&&!i.found||!o)&&(t.addEventListener(e,m,u),i.all.push({eventName:e,fn:m}))}),m}function d(e,t){a(t.split(" "),function(t){return e.classList.add(t)})}function u(e,t){a(t.split(" "),function(t){return e.classList.remove(t)})}function h(e,t){return e.classList.contains(t)}function f(e,t){for(;e!==document.body;){if(!(e=e.parentElement))return!1;if("function"==typeof e.matches?e.matches(t):e.msMatchesSelector(t))return e}}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||""===t)return!1;if("none"===t)return k(i)&&i(),!1;var n=w(),s=t.split(" ");a(s,function(t){d(e,"g"+t)}),c(n,{onElement:e,avoidDuplicate:!1,once:!0,withCallback:function(e,t){a(s,function(e){u(t,"g"+e)}),k(i)&&i()}})}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===t)return e.style.webkitTransform="",e.style.MozTransform="",e.style.msTransform="",e.style.OTransform="",e.style.transform="",!1;e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function p(e){e.style.display="block"}function v(e){e.style.display="none"}function y(e){var t=document.createDocumentFragment(),i=document.createElement("div");for(i.innerHTML=e;i.firstChild;)t.appendChild(i.firstChild);return t}function b(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function w(){var e,t=document.createElement("fakeelement"),i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"};for(e in i)if(void 0!==t.style[e])return i[e]}function x(e,t,i,n){if(e())t();else{var s;i||(i=100);var o=setInterval(function(){e()&&(clearInterval(o),s&&clearTimeout(s),t())},i);n&&(s=setTimeout(function(){clearInterval(o)},n))}}function E(e,t,i){if(_(e))console.error("Inject assets error");else if(k(t)&&(i=t,t=!1),A(t)&&t in window)k(i)&&i();else{var n;if(-1!==e.indexOf(".css")){if((n=document.querySelectorAll('link[href="'+e+'"]'))&&n.length>0)return void(k(i)&&i());var s=document.getElementsByTagName("head")[0],o=s.querySelectorAll('link[rel="stylesheet"]'),r=document.createElement("link");return r.rel="stylesheet",r.type="text/css",r.href=e,r.media="all",o?s.insertBefore(r,o[0]):s.appendChild(r),void(k(i)&&i())}if((n=document.querySelectorAll('script[src="'+e+'"]'))&&n.length>0){if(k(i)){if(A(t))return x(function(){return void 0!==window[t]},function(){i()}),!1;i()}}else{var a=document.createElement("script");a.type="text/javascript",a.src=e,a.onload=function(){if(k(i)){if(A(t))return x(function(){return void 0!==window[t]},function(){i()}),!1;i()}},document.body.appendChild(a)}}}function S(){return"navigator"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function k(e){return"function"==typeof e}function A(e){return"string"==typeof e}function T(e){return!(!e||!e.nodeType||1!=e.nodeType)}function C(e){return Array.isArray(e)}function L(e){return e&&e.length&&isFinite(e.length)}function O(e){return"object"===s(e)&&null!=e&&!k(e)&&!C(e)}function _(e){return null==e}function N(e,t){return null!==e&&hasOwnProperty.call(e,t)}function D(e){if(O(e)){if(e.keys)return e.keys().length;var t=0;for(var i in e)N(e,i)&&t++;return t}return e.length}function I(e){return!isNaN(parseFloat(e))&&isFinite(e)}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=document.querySelectorAll(".gbtn[data-taborder]:not(.disabled)");if(!t.length)return!1;if(1==t.length)return t[0];"string"==typeof e&&(e=parseInt(e));var i=[];a(t,function(e){i.push(e.getAttribute("data-taborder"))});var n=Math.max.apply(Math,i.map(function(e){return parseInt(e)})),s=e<0?1:e+1;s>n&&(s="1");var o=i.filter(function(e){return e>=parseInt(s)}),r=o.sort()[0];return document.querySelector('.gbtn[data-taborder="'.concat(r,'"]'))}function q(e){if(e.events.hasOwnProperty("keyboard"))return!1;e.events.keyboard=c("keydown",{onElement:window,withCallback:function(t,i){var n=(t=t||window.event).keyCode;if(9==n){var s=document.querySelector(".gbtn.focused");
vendor: 7,644 bytes, line 1
1if(!s){var o=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if("input"==o||"textarea"==o||"button"==o)return}t.preventDefault();var r=document.querySelectorAll(".gbtn[data-taborder]");if(!r||r.length<=0)return;if(!s){var a=P();return void(a&&(a.focus(),d(a,"focused")))}var l=P(s.getAttribute("data-taborder"));u(s,"focused"),l&&(l.focus(),d(l,"focused"))}39==n&&e.nextSlide(),37==n&&e.prevSlide(),27==n&&e.close()}})}var M=i(function t(i,n){var s=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(e(this,t),this.img=i,this.slide=n,this.onclose=o,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener("mousedown",function(e){return s.dragStart(e)},!1),this.img.addEventListener("mouseup",function(e){return s.dragEnd(e)},!1),this.img.addEventListener("mousemove",function(e){return s.drag(e)},!1),this.img.addEventListener("click",function(e){return s.slide.classList.contains("dragging-nav")?(s.zoomOut(),!1):s.zoomedIn?void(s.zoomedIn&&!s.dragging&&s.zoomOut()):s.zoomIn()},!1),this.img.setZoomEvents=!0},[{key:"zoomIn",value:function(){var e=this.widowWidth();if(!(this.zoomedIn||e<=768)){var t=this.img;if(t.setAttribute("data-style",t.getAttribute("style")),t.style.maxWidth=t.naturalWidth+"px",t.style.maxHeight=t.naturalHeight+"px",t.naturalWidth>e){var i=e/2-t.naturalWidth/2;this.setTranslate(this.img.parentNode,i,0)}this.slide.classList.add("zoomed"),this.zoomedIn=!0}}},{key:"zoomOut",value:function(){this.img.parentNode.setAttribute("style",""),this.img.setAttribute("style",this.img.getAttribute("data-style")),this.slide.classList.remove("zoomed"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&"function"==typeof this.onclose&&this.onclose()}},{key:"dragStart",value:function(e){e.preventDefault(),this.zoomedIn?("touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset),e.target===this.img&&(this.active=!0,this.img.classList.add("dragging"))):this.active=!1}},{key:"dragEnd",value:function(e){var t=this;e.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout(function(){t.dragging=!1,t.img.isDragging=!1,t.img.classList.remove("dragging")},100)}},{key:"drag",value:function(e){this.active&&(e.preventDefault(),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:"onMove",value:function(e){if(this.zoomedIn){var t=e.clientX-this.img.naturalWidth/2,i=e.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,t,i)}}},{key:"setTranslate",value:function(e,t,i){e.style.transform="translate3d("+t+"px, "+i+"px, 0)"}},{key:"widowWidth",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),z=i(function t(){var i=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t);var s=n.dragEl,o=n.toleranceX,r=void 0===o?40:o,a=n.toleranceY,l=void 0===a?65:a,c=n.slide,d=void 0===c?null:c,u=n.instance,h=void 0===u?null:u;this.el=s,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=r,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=d,this.instance=h,this.el.addEventListener("mousedown",function(e){return i.dragStart(e)},!1),this.el.addEventListener("mouseup",function(e){return i.dragEnd(e)},!1),this.el.addEventListener("mousemove",function(e){return i.drag(e)},!1)},[{key:"dragStart",value:function(e){if(this.slide.classList.contains("zoomed"))this.active=!1;else{"touchstart"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset);var t=e.target.nodeName.toLowerCase();e.target.classList.contains("nodrag")||f(e.target,".nodrag")||-1!==["input","select","textarea","button","a"].indexOf(t)?this.active=!1:(e.preventDefault(),(e.target===this.el||"img"!==t&&f(e.target,".gslide-inline"))&&(this.active=!0,this.el.classList.add("dragging"),this.dragContainer=f(e.target,".ginner-container")))}}},{key:"dragEnd",value:function(e){var t=this;e&&e.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,"right"==this.doSlideChange&&this.instance.prevSlide(),"left"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout(function(){t.instance.preventOutsideClick=!1,t.toleranceReached=!1,t.lastDirection=null,t.dragging=!1,t.el.isDragging=!1,t.el.classList.remove("dragging"),t.slide.classList.remove("dragging-nav"),t.dragContainer.style.transform="",t.dragContainer.style.transition=""},100)}},{key:"drag",value:function(e){if(this.active){e.preventDefault(),this.slide.classList.add("dragging-nav"),"touchmove"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var t=Math.abs(this.currentX),i=Math.abs(this.currentY);if(t>0&&t>=Math.abs(this.currentY)&&(!this.lastDirection||"x"==this.lastDirection)){this.yOffset=0,this.lastDirection="x",this.setTranslate(this.dragContainer,this.currentX,0);var n=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&n&&(this.doSlideChange=n),this.instance.settings.dragAutoSnap&&n)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),"right"==n&&this.instance.prevSlide(),void("left"==n&&this.instance.nextSlide())}if(this.toleranceY>0&&i>0&&i>=t&&(!this.lastDirection||"y"==this.lastDirection)){this.xOffset=0,this.lastDirection="y",this.setTranslate(this.dragContainer,0,this.currentY);var s=this.shouldClose();return!this.instance.settings.dragAutoSnap&&s&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&s&&this.instance.close())}}}},{key:"shouldChange",value:function(){var e=!1;if(Math.abs(this.currentX)>=this.toleranceX){var t=this.currentX>0?"right":"left";("left"==t&&this.slide!==this.slide.parentNode.lastChild||"right"==t&&this.slide!==this.slide.parentNode.firstChild)&&(e=t)}return e}},{key:"shouldClose",value:function(){var e=!1;return Math.abs(this.currentY)>=this.toleranceY&&(e=!0),e}},{key:"setTranslate",value:function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.style.transition=n?"all .2s ease":"",e.style.transform="translate3d(".concat(t,"px, ").concat(i,"px, 0)")}}]);function H(e,t,i,n){var s=e.querySelector(".gslide-media"),o=new Image,r="gSlideTitle_"+i,a="g
1SlideDesc_"+i;o.addEventListener("load",function(){k(n)&&n()},!1),o.src=t.href,""!=t.sizes&&""!=t.srcset&&(o.sizes=t.sizes,o.srcset=t.srcset),o.alt="",_(t.alt)||""===t.alt||(o.alt=t.alt),""!==t.title&&o.setAttribute("aria-labelledby",r),""!==t.description&&o.setAttribute("aria-describedby",a),t.hasOwnProperty("_hasCustomWidth")&&t._hasCustomWidth&&(o.style.width=t.width),t.hasOwnProperty("_hasCustomHeight")&&t._hasCustomHeight&&(o.style.height=t.height),s.insertBefore(o,s.firstChild)}function B(e,t,i,n){var s=this,o=e.querySelector(".ginner-container"),r="gvideo"+i,a=e.querySelector(".gslide-media"),l=this.getAllPlayers();d(o,"gvideo-container"),a.insertBefore(y('<div class="gvideo-wrapper"></div>'),a.firstChild);var c=e.querySelector(".gvideo-wrapper");E(this.settings.plyr.css,"Plyr");var u=t.href,h=null==t?void 0:t.videoProvider,f=!1;a.style.maxWidth=t.width,E(this.settings.plyr.js,"Plyr",function(){if(!h&&u.match(/vimeo\.com\/([0-9]*)/)&&(h="vimeo"),!h&&(u.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||u.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||u.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||u.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/))&&(h="youtube"),"local"===h||!h){h="local";var o='<video id="'+r+'" ';o+='style="background:#000; max-width: '.concat(t.width,';" '),o+='preload="metadata" ',o+='x-webkit-airplay="allow" ',o+="playsinline ",o+="controls ",o+='class="gvideo-local">',o+='<source src="'.concat(u,'">'),f=y(o+="</video>")}var a=f||y('<div id="'.concat(r,'" data-plyr-provider="').concat(h,'" data-plyr-embed-id="').concat(u,'"></div>'));d(c,"".concat(h,"-video gvideo")),c.appendChild(a),c.setAttribute("data-id",r),c.setAttribute("data-index",i);var m=N(s.settings.plyr,"config")?s.settings.plyr.config:{},g=new Plyr("#"+r,m);g.on("ready",function(e){l[r]=e.detail.plyr,k(n)&&n()}),x(function(){return e.querySelector("iframe")&&"true"==e.querySelector("iframe").dataset.ready},function(){s.resize(e)}
vendor: 4,250 bytes, line 1
1),g.on("enterfullscreen",X),g.on("exitfullscreen",X)})}function X(e){var t=f(e.target,".gslide-media");"enterfullscreen"===e.type&&d(t,"fullscreen"),"exitfullscreen"===e.type&&u(t,"fullscreen")}function Y(e,t,i,n){var s,o=this,r=e.querySelector(".gslide-media"),a=!(!N(t,"href")||!t.href)&&t.href.split("#").pop().trim(),l=!(!N(t,"content")||!t.content)&&t.content;if(l&&(A(l)&&(s=y('<div class="ginlined-content">'.concat(l,"</div>"))),T(l))){"none"==l.style.display&&(l.style.display="block");var u=document.createElement("div");u.className="ginlined-content",u.appendChild(l),s=u}if(a){var h=document.getElementById(a);if(!h)return!1;var f=h.cloneNode(!0);f.style.height=t.height,f.style.maxWidth=t.width,d(f,"ginlined-content"),s=f}if(!s)return console.error("Unable to append inline slide content",t),!1;r.style.height=t.height,r.style.width=t.width,r.appendChild(s),this.events["inlineclose"+a]=c("click",{onElement:r.querySelectorAll(".gtrigger-close"),withCallback:function(e){e.preventDefault(),o.close()}}),k(n)&&n()}function j(e,t,i,n){var s=e.querySelector(".gslide-media"),o=function(e){var t=e.url,i=e.allow,n=e.callback,s=e.appendTo,o=document.createElement("iframe");return o.className="vimeo-video gvideo",o.src=t,o.style.width="100%",o.style.height="100%",i&&o.setAttribute("allow",i),o.onload=function(){o.onload=null,d(o,"node-ready"),k(n)&&n()},s&&s.appendChild(o),o}({url:t.href,callback:n});s.parentNode.style.maxWidth=t.width,s.parentNode.style.height=t.height,s.appendChild(o)}var W=i(function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.defaults={href:"",sizes:"",srcset:"",title:"",type:"",videoProvider:"",description:"",alt:"",descPosition:"bottom",effect:"",width:"",height:"",content:!1,zoomable:!0,draggable:!0},O(i)&&(this.defaults=r(this.defaults,i))},[{key:"sourceType",value:function(e){var t=e;return null!==(e=e.toLowerCase()).match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)?"image":e.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/)||e.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)||e.match(/(youtube\.com|youtube-nocookie\.com)\/shorts\/([a-zA-Z0-9\-_]+)/)||e.match(/vimeo\.com\/([0-9]*)/)||null!==e.match(/\.(mp4|ogg|webm|mov)/)?"video":null!==e.match(/\.(mp3|wav|wma|aac|ogg)/)?"audio":e.indexOf("#")>-1&&""!==t.split("#").pop().trim()?"inline":e.indexOf("goajax=true")>-1?"ajax":"external"}},{key:"parseConfig",value:function(e,t){var i=this,n=r({descPosition:t.descPosition},this.defaults);if(O(e)&&!T(e)){N(e,"type")||(N(e,"content")&&e.content?e.type="inline":N(e,"href")&&(e.type=this.sourceType(e.href)));var s=r(n,e);return this.setSize(s,t),s}var o="",l=e.getAttribute("data-glightbox"),c=e.nodeName.toLowerCase();if("a"===c&&(o=e.href),"img"===c&&(o=e.src,n.alt=e.alt),n.href=o,a(n,function(s,o){N(t,o)&&"width"!==o&&(n[o]=t[o]);var r=e.dataset[o];_(r)||(n[o]=i.sanitizeValue(r))}),n.content&&(n.type="inline"),!n.type&&o&&(n.type=this.sourceType(o)),_(l)){if(!n.title&&"a"==c){var d=e.title;_(d)||""===d||(n.title=d)}if(!n.title&&"img"==c){var u=e.alt;_(u)||""===u||(n.title=u)}}else{var h=[];a(n,function(e,t){h.push(";\\s?"+t)}),h=h.join("\\s?:|"),""!==l.trim()&&a(n,function(e,t){var s=l,o=new RegExp("s?"+t+"s?:s?(.*?)("+h+"s?:|$)"),r=s.match(o);if(r&&r.length&&r[1]){var a=r[1].trim().replace(/;\s*$/,"");n[t]=i.sanitizeValue(a)}})}if(n.description&&"."===n.description.substring(0,1)){var f;try{f=document.querySelector(n.description).innerHTML}catch(e){if(!(e instanceof DOMException))throw e}f&&(n.description=f)}if(!n.description){var m=e.querySelector(".glightbox-desc");m&&(n.description=m.innerHTML)}return this.setSize(n,t,e),this.slideConfig=n,n}},{key:"setSize",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n="video"==e.type?this.checkSize(t.videosWidth):this.checkSize(t.width),s=this.checkSize(t.height);return e.width=N(e,"width")&&""!==e.width?this.checkSize(e.width):n,e.height=N(e,"height")&&""!==e.height?this.checkSize(e.height):s,i&&"image"==e.type&&(e._hasCustomWidth=!!i.dataset.width,e._hasCustomHeight=!!i.dataset.height),e}},{key:"checkSize",value:function(e){return I(e)?"".concat(e,"px"):e}}
1,{key:"sanitizeValue",value:function(e){return"true"!==e&&"false"!==e?e:"true"===e}}]),F=i(function t(i,n,s){e(this,t),this.element=i,this.instance=n,this.index=s},[{key:"setContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h(t,"loaded"))return!1;var n=this.instance.settings,s=this.slideConfig,o=S();k(n.beforeSlideLoad)&&n.beforeSlideLoad({index:this.index,slide:t,player:!1});var r=s.type,a=s.descPosition,l=t.querySelector(".gslide-media"),c=t.querySelector(".gslide-title"),u=t.querySelector(".gslide-desc"),f=t.querySelector(".gdesc-inner"),m=i,g="gSlideTitle_"+this.index,p="gSlideDesc_"+this.index;if(k(n.afterSlideLoad)&&(m=function(){k(i)&&i(),n.afterSlideLoad({index:e.index,slide:t,player:e.instance.getSlidePlayerInstance(e.index)})}),""==s.title&&""==s.description?f&&f.parentNode.parentNode.removeChild(f.parentNode):(c&&""!==s.title?(c.id=g,c.innerHTML=s.title):c.parentNode.removeChild(c),u&&""!==s.description?(u.id=p,o&&n.moreLength>
vendor: 27,089 bytes, line 1
10?(s.smallDescription=this.slideShortDesc(s.description,n.moreLength,n.moreText),u.innerHTML=s.smallDescription,this.descriptionEvents(u,s)):u.innerHTML=s.description):u.parentNode.removeChild(u),d(l.parentNode,"desc-".concat(a)),d(f.parentNode,"description-".concat(a))),d(l,"gslide-".concat(r)),d(t,"loaded"),"video"!==r){if("external"!==r)return"inline"===r?(Y.apply(this.instance,[t,s,this.index,m]),void(s.draggable&&new z({dragEl:t.querySelector(".gslide-inline"),toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:t,instance:this.instance}))):void("image"!==r?k(m)&&m():H(t,s,this.index,function(){var i=t.querySelector("img");s.draggable&&new z({dragEl:i,toleranceX:n.dragToleranceX,toleranceY:n.dragToleranceY,slide:t,instance:e.instance}),s.zoomable&&i.naturalWidth>i.offsetWidth&&(d(i,"zoomable"),new M(i,t,function(){e.instance.resize()})),k(m)&&m()}));j.apply(this,[t,s,this.index,m])}else B.apply(this.instance,[t,s,this.index,m])}},{key:"slideShortDesc",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=document.createElement("div");n.innerHTML=e;var s=i;if((e=n.innerText.trim()).length<=t)return e;var o=e.substr(0,t-1);return s?(n=null,o+'... <a href="#" class="desc-more">'+i+"</a>"):o}},{key:"descriptionEvents",value:function(e,t){var i=this,n=e.querySelector(".desc-more");if(!n)return!1;c("click",{onElement:n,withCallback:function(e,n){e.preventDefault();var s=document.body,o=f(n,".gslide-desc");if(!o)return!1;o.innerHTML=t.description,d(s,"gdesc-open");var r=c("click",{onElement:[s,f(o,".gslide-description")],withCallback:function(e,n){"a"!==e.target.nodeName.toLowerCase()&&(u(s,"gdesc-open"),d(s,"gdesc-closed"),o.innerHTML=t.smallDescription,i.descriptionEvents(o,t),setTimeout(function(){u(s,"gdesc-closed")},400),r.destroy())}})}})}},{key:"create",value:function(){return y(this.instance.settings.slideHTML)}},{key:"getConfig",value:function(){T(this.element)||this.element.hasOwnProperty("draggable")||(this.element.draggable=this.instance.settings.draggable);var e=new W(this.instance.settings.slideExtraAttributes);return this.slideConfig=e.parseConfig(this.element,this.instance.settings),this.slideConfig}}]);function R(e){return Math.sqrt(e.x*e.x+e.y*e.y)}function V(e,t){var i=function(e,t){var i=R(e)*R(t);if(0===i)return 0;var n=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/i;return n>1&&(n=1),Math.acos(n)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(i*=-1),180*i/Math.PI}var K=i(function t(i){e(this,t),this.handlers=[],this.el=i},[{key:"add",value:function(e){this.handlers.push(e)}},{key:"del",value:function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)}},{key:"dispatch",value:function(){for(var e=0,t=this.handlers.length;e<t;e++){var i=this.handlers[e];"function"==typeof i&&i.apply(this.el,arguments)}}}]);function U(e,t){var i=new K(e);return i.add(t),i}var $=i(function t(i,n){e(this,t),this.element="string"==typeof i?document.querySelector(i):i,this.start=this.start.bind(this),this.move=this.move.bind(this),this.end=this.end.bind(this),this.cancel=this.cancel.bind(this),this.element.addEventListener("touchstart",this.start,!1),this.element.addEventListener("touchmove",this.move,!1),this.element.addEventListener("touchend",this.end,!1),this.element.addEventListener("touchcancel",this.cancel,!1),this.preV={x:null,y:null},this.pinchStartLen=null,this.zoom=1,this.isDoubleTap=!1;var s=function(){};this.rotate=U(this.element,n.rotate||s),this.touchStart=U(this.element,n.touchStart||s),this.multipointStart=U(this.element,n.multipointStart||s),this.multipointEnd=U(this.element,n.multipointEnd||s),this.pinch=U(this.element,n.pinch||s),this.swipe=U(this.element,n.swipe||s),this.tap=U(this.element,n.tap||s),this.doubleTap=U(this.element,n.doubleTap||s),this.longTap=U(this.element,n.longTap||s),this.singleTap=U(this.element,n.singleTap||s),this.pressMove=U(this.element,n.pressMove||s),this.twoFingerPressMove=U(this.element,n.twoFingerPressMove||s),this.touchMove=U(this.element,n.touchMove||s),this.touchEnd=U(this.element,n.touchEnd||s),this.touchCancel=U(this.element,n.touchCancel||s),this.translateContainer=this.element,this._cancelAllHandler=this.cancelAll.bind(this),window.addEventListener("scroll",this._cancelAllHandler),this.delta=null,this.last=null,this.now=null,this.tapTimeout=null,this.singleTapTimeout=null,this.longTapTimeout=null,this.swipeTimeout=null,this.x1=this.x2=this.y1=this.y2=null,this.preTapPosition={x:null,y:null}},[{key:"start",value:function(e){if(e.touches)if(e.target&&e.target.nodeName&&["a","button","input"].indexOf(e.target.nodeName.toLowerCase())>=0)console.log("ignore drag for this touched element",e.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var i={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=i.x,t.y=i.y,this.pinchStartLen=R(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(e,this.element),this._preventTap=!0}.bind(this),750)}}},{key:"move",value:function(e){if(e.touches){var t=this.preV,i=e.touches.length,n=e.touches[0].pageX,s=e.touches[0].pageY;if(this.isDoubleTap=!1,i>1){var o=e.touches[1].pageX,r=e.touches[1].pageY,a={x:e.touches[1].pageX-n,y:e.touches[1].pageY-s};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=R(a)/this.pinchStartLen,this.pinch.dispatch(e,this.element)),e.angle=V(a,t),this.rotate.dispatch(e,this.element)),t.x=a.x,t.y=a.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(n-this.x2+o-this.sx2)/2,e.deltaY=(s-this.y2+r-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=o,this.sy2=r}else{if(null!==this.x2){e.deltaX=n-this.x2,e.deltaY=s-this.y2;var l=Math.abs(this.x1-this.x2),c=Math.abs(this.y1-this.y2);(l>10||c>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=n,this.y2=s,i>1&&e.preventDefault()}}},{key:"end",value:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout(function(){t.swipe.dispatch(e,t.element)},0)):(this.tapTimeout=setTimeout(function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)},0),t.isDoubleTap||(t.singleTapTimeout=setTimeout(function(){t.singleTap.dispatch(e,t.element)},250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:"cancelAll",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:"cancel",value:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)}},{key:"_cancelLongTap",value:function(){clearTimeout(this.longTapTimeout)}},{key:"_cancelSingleTap",value:function(){clearTimeout(this.singleTapTimeout)}},{key:"_swipeDirection",value:function(e,t,i,n){return Math.abs(e-t)>=Math.abs(i-n)?e-t>0?"Left":"Right":i-n>0?"Up":"Down"}},{key:"on",value:function(e,t){this[e]&&this[e].add(t)}},{key:"off",value:function(e,t){this[e]&&this[e].del(t)}},{key:"destroy",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener("touchstart",this.start),this.element.removeEventListener("touchmove",this.move),this.element.removeEventListener("touchend",this.end),this.element.removeEventListener("touchcancel",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener("scroll",this._cancelAllHandler),null}}]);function G(e){var t=function(){var e,t=document.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in i)if(void 0!==t.style[e])return i[e]}(),i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=h(e,"gslide-media")?e:e.querySelector(".gslide-media"),s=f(n,".ginner-container"),o=e.querySelector(".gslide-description");i>769&&(n=s),d(n,"greset"),g(n,"translate3d(0, 0, 0)"),c(t,{onElement:n,once:!0,withCallback:function(e,t){u(n,"greset")}}),n.style.opacity="",o&&(o.style.opacity="")}function Z(e){if(e.events.hasOwnProperty("touch"))return!1;var t,i,n,s=b(),o=s.width,r=s.height,a=!1,l=null,c=null,m=null,p=!1,v=1,y=1,w=!1,x=!1,E=null,S=null,k=null,A=null,T=0,C=0,L=!1,O=!1,_={},N={},D=0,I=0,P=document.getElementById("glightbox-slider"),q=document.querySelector(".goverlay"),M=new $(P,{touchStart:function(t){if(a=!0,(h(t.targetTouches[0].target,"ginner-container")||f(t.targetTouches[0].target,".gslide-desc")||"a"==t.targetTouches[0].target.nodeName.toLowerCase())&&(a=!1),f(t.targetTouches[0].target,".gslide-inline")&&!h(t.targetTouches[0].target.parentNode,"gslide-inline")&&(a=!1),a){if(N=t.targetTouches[0],_.pageX=t.targetTouches[0].pageX,_.pageY=t.targetTouches[0].pageY,D=t.targetTouches[0].clientX,I=t.targetTouches[0].clientY,l=e.activeSlide,c=l.querySelector(".gslide-media"),n=l.querySelector(".gslide-inline"),m=null,h(c,"gslide-image")&&(m=c.querySelector("img")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(c=l.querySelector(".ginner-container")),u(q,"greset"),t.pageX>20&&t.pageX<window.innerWidth-20)return;t.preventDefault()}},touchMove:function(s){if(a&&(N=s.targetTouches[0],!w&&!x)){if(n&&n.offsetHeight>r){var l=_.pageX-N.pageX;if(Math.abs(l)<=13)return!1}p=!0;var d,u=s.targetTouches[0].clientX,h=s.targetTouches[0].clientY,f=D-u,v=I-h;if(Math.abs(f)>Math.abs(v)?(L=!1,O=!0):(O=!1,L=!0),t=N.pageX-_.pageX,T=100*t/o,i=N.pageY-_.pageY,C=100*i/r,L&&m&&(d=1-Math.abs(i)/r,q.style.opacity=d,e.settings.touchFollowAxis&&(T=0)),O&&(d=1-Math.abs(t)/o,c.style.opacity=d,e.settings.touchFollowAxis&&(C=0)),!m)return g(c,"translate3d(".concat(T,"%, 0, 0)"));g(c,"translate3d(".concat(T,"%, ").concat(C,"%, 0)"))}},touchEnd:function(){if(a){if(p=!1,x||w)return k=E,void(A=S);var t=Math.abs(parseInt(C)),i=Math.abs(parseInt(T));if(!(t>29&&m))return t<29&&i<25?(d(q,"greset"),q.style.opacity=1,G(c)):void 0;e.close()}},multipointEnd:function(){setTimeout(function(){w=!1},50)},multipointStart:function(){w=!0,v=y||1},pinch:function(e){if(!m||p)return!1;w=!0,m.scaleX=m.scaleY=v*e.zoom;var t=v*e.zoom;if(x=!0,t<=1)return x=!1,t=1,A=null,k=null,E=null,S=null,void m.setAttribute("style","");t>4.5&&(t=4.5),m.style.transform="scale3d(".concat(t,", ").concat(t,", 1)"),y=t},pressMove:function(e){if(x&&!w){var t=N.pageX-_.pageX,i=N.pageY-_.pageY;k&&(t+=k),A&&(i+=A),E=t,S=i;var n="translate3d(".concat(t,"px, ").concat(i,"px, 0)");y&&(n+=" scale3d(".concat(y,", ").concat(y,", 1)")),g(m,n)}},swipe:function(t){if(!x)if(w)w=!1;else{if("Left"==t.direction){if(e.index==e.elements.length-1)return G(c);e.nextSlide()}if("Right"==t.direction){if(0==e.index)return G(c);e.prevSlide()}}}});e.events.touch=M}var J=S(),Q=null!==S()||void 0!==document.createTouch||"ontouchstart"in window||"onmsgesturechange"in window||navigator.msMaxTouchPoints,ee=document.getElementsByTagName("html")[0],te={selector:".glightbox",elements:null,skin:"clean",theme:"clean",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:"bottom",width:"900px",height:"506px",videosWidth:"960px",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:"https://cdn.plyr.io/3.6.12/plyr.css",js:"https://cdn.plyr.io/3.6.12/plyr.js",config:{ratio:"16:9",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:"zoom",closeEffect:"zoom",slideEffect:"slide",moreText:"See more",moreLength:60,cssEfects:{fade:{in:"fadeIn",out:"fadeOut"},zoom:{in:"zoomIn",out:"zoomOut"},slide:{in:"slideInRight",out:"slideOutLeft"},slideBack:{in:"slideInLeft",out:"slideOutRight"},none:{in:"none",out:"none"}},svg:{close:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve"><g><g><path d="M505.943,6.058c-8.077-8.077-21.172-8.077-29.249,0L6.058,476.693c-8.077,8.077-8.077,21.172,0,29.249C10.096,509.982,15.39,512,20.683,512c5.293,0,10.586-2.019,14.625-6.059L505.943,35.306C514.019,27.23,514.019,14.135,505.943,6.058z"/></g></g><g><g><path d="M505.942,476.694L35.306,6.059c-8.076-8.077-21.172-8.077-29.248,0c-8.077,8.076-8.077,21.171,0,29.248l470.636,470.636c4.038,4.039,9.332,6.058,14.625,6.058c5.293,0,10.587-2.019,14.624-6.057C514.018,497.866,514.018,484.771,505.942,476.694z"/></g></g></svg>',next:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"> <g><path d="M360.731,229.075l-225.1-225.1c-5.3-5.3-13.8-5.3-19.1,0s-5.3,13.8,0,19.1l215.5,215.5l-215.5,215.5c-5.3,5.3-5.3,13.8,0,19.1c2.6,2.6,6.1,4,9.5,4c3.4,0,6.9-1.3,9.5-4l225.1-225.1C365.931,242.875,365.931,234.275,360.731,229.075z"/></g></svg>',prev:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'},slideHTML:'<div class="gslide">\n <div class="gslide-inner-content">\n <div class="ginner-container">\n <div class="gslide-media">\n </div>\n <div class="gslide-description">\n <div class="gdesc-inner">\n <h4 class="gslide-title"></h4>\n <div class="gslide-desc"></div>\n </div>\n </div>\n </div>\n </div>\n</div>',lightboxHTML:'<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">\n <div class="gloader visible"></div>\n <div class="goverlay"></div>\n <div class="gcontainer">\n <div id="glightbox-slider" class="gslider"></div>\n <button class="gclose gbtn" aria-label="Close" data-taborder="3">{closeSVG}</button>\n <button class="gprev gbtn" aria-label="Previous" data-taborder="2">{prevSVG}</button>\n <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>\n</div>\n</div>'},ie=i(function t(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.customOptions=i,this.settings=r(te,i),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1},[{key:"init",value:function(){var e=this,t=this.getSelector();t&&(this.baseEvents=c("click",{onElement:t,withCallback:function(t,i){t.preventDefault(),e.open(i)}})),this.elements=this.getElements()}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0===this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var i=I(t)?t:this.settings.startAt;if(T(e)){var n=e.getAttribute("data-gallery");n&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,n)),_(i)&&(i=this.getElementIndex(e))<0&&(i=0)}I(i)||(i=0),this.build(),m(this.overlay,"none"===this.settings.openEffect?"none":this.settings.cssEfects.fade.in);var s=document.body,o=window.innerWidth-document.documentElement.clientWidth;if(o>0){var r=document.createElement("style");r.type="text/css",r.className="gcss-styles",r.innerText=".gscrollbar-fixer {margin-right: ".concat(o,"px}"),document.head.appendChild(r),d(s,"gscrollbar-fixer")}d(s,"glightbox-open"),d(ee,"glightbox-open"),J&&(d(document.body,"glightbox-mobile"),this.settings.slideEffect="slide"),this.showSlide(i,!0),1===this.elements.length?(d(this.prevButton,"glightbox-button-hidden"),d(this.nextButton,"glightbox-button-hidden")):(u(this.prevButton,"glightbox-button-hidden"),u(this.nextButton,"glightbox-button-hidden")),this.lightboxOpen=!0,this.trigger("open"),k(this.settings.onOpen)&&this.settings.onOpen(),Q&&this.settings.touchNavigation&&Z(this),this.settings.keyboardNavigation&&q(this)}},{key:"openAt",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,e)}},{key:"showSlide",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];p(this.loader),this.index=parseInt(t);var n=this.slidesContainer.querySelector(".current");n&&u(n,"current"),this.slideAnimateOut();var s=this.slidesContainer.querySelectorAll(".gslide")[t];if(h(s,"loaded"))this.slideAnimateIn(s,i),v(this.loader);else{p(this.loader);var o=this.elements[t],r={index:this.index,slide:s,slideNode:s,slideConfig:o.slideConfig,slideIndex:this.index,trigger:o.node,player:null};this.trigger("slide_before_load",r),o.instance.setContent(s,function(){v(e.loader),e.resize(),e.slideAnimateIn(s,i),e.trigger("slide_after_load",r)})}this.slideDescription=s.querySelector(".gslide-description"),this.slideDescriptionContained=this.slideDescription&&h(this.slideDescription.parentNode,"gslide-media"),this.settings.preload&&(this.preloadSlide(t+1),this.preloadSlide(t-1)),this.updateNavigationClasses(),this.activeSlide=s}},{key:"preloadSlide",value:function(e){var t=this;if(e<0||e>this.elements.length-1)return!1;if(_(this.elements[e]))return!1;var i=this.slidesContainer.querySelectorAll(".gslide")[e];if(h(i,"loaded"))return!1;var n=this.elements[e],s=n.type,o={index:e,slide:i,slideNode:i,slideConfig:n.slideConfig,slideIndex:e,trigger:n.node,player:null};this.trigger("slide_before_load",o),"video"===s||"external"===s?setTimeout(function(){n.instance.setContent(i,function(){t.trigger("slide_after_load",o)})},200):n.instance.setContent(i,function(){t.trigger("slide_after_load",o)})}},{key:"prevSlide",value:function(){this.goToSlide(this.index-1)}},{key:"nextSlide",value:function(){this.goToSlide(this.index+1)}},{key:"goToSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(e<0||e>this.elements.length-1))return!1;e<0?e=this.elements.length-1:e>=this.elements.length&&(e=0),this.showSlide(e)}},{key:"insertSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;t<0&&(t=this.elements.length);var i=new F(e,this,t),n=i.getConfig(),s=r({},n),o=i.create(),a=this.elements.length-1;s.index=t,s.node=!1,s.instance=i,s.slideConfig=n,this.elements.splice(t,0,s);var l=null,c=null;if(this.slidesContainer){if(t>a)this.slidesContainer.appendChild(o);else{var d=this.slidesContainer.querySelectorAll(".gslide")[t];this.slidesContainer.insertBefore(o,d)}(this.settings.preload&&0==this.index&&0==t||this.index-1==t||this.index+1==t)&&this.preloadSlide(t),0===this.index&&0===t&&(this.index=1),this.updateNavigationClasses(),l=this.slidesContainer.querySelectorAll(".gslide")[t],c=this.getSlidePlayerInstance(t),s.slideNode=l}this.trigger("slide_inserted",{index:t,slide:l,slideNode:l,slideConfig:n,slideIndex:t,trigger:null,player:c}),k(this.settings.slideInserted)&&this.settings.slideInserted({index:t,slide:l,player:c})}},{key:"removeSlide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||e>this.elements.length-1)return!1;var t=this.slidesContainer&&this.slidesContainer.querySelectorAll(".gslide")[e];t&&(this.getActiveSlideIndex()==e&&(e==this.elements.length-1?this.prevSlide():this.nextSlide()),t.parentNode.removeChild(t)),this.elements.splice(e,1),this.trigger("slide_removed",e),k(this.settings.slideRemoved)&&this.settings.slideRemoved(e)}},{key:"slideAnimateIn",value:function(e,t){var i=this,n=e.querySelector(".gslide-media"),s=e.querySelector(".gslide-description"),o={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:_(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:_(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},r={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(n.offsetWidth>0&&s&&(v(s),s.style.display=""),u(e,this.effectsClasses),t)m(e,this.settings.cssEfects[this.settings.openEffect].in,function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:o,current:r}),k(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[o,r])});else{var a=this.settings.slideEffect,l="none"!==a?this.settings.cssEfects[a].in:a;this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(l=this.settings.cssEfects.slideBack.in),m(e,l,function(){i.settings.autoplayVideos&&i.slidePlayerPlay(e),i.trigger("slide_changed",{prev:o,current:r}),k(i.settings.afterSlideChange)&&i.settings.afterSlideChange.apply(i,[o,r])})}setTimeout(function(){i.resize(e)},100),d(e,"current")}},{key:"slideAnimateOut",value:function(){if(!this.prevActiveSlide)return!1;var e=this.prevActiveSlide;u(e,this.effectsClasses),d(e,"prev");var t=this.settings.slideEffect,i="none"!==t?this.settings.cssEfects[t].out:t;this.slidePlayerPause(e),this.trigger("slide_before_change",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:_(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:_(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),k(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&"slide"==this.settings.slideEffect&&(i=this.settings.cssEfects.slideBack.out),m(e,i,function(){var t=e.querySelector(".ginner-container"),i=e.querySelector(".gslide-media"),n=e.querySelector(".gslide-description");t.style.transform="",i.style.transform="",u(i,"greset"),i.style.opacity="",n&&(n.style.opacity=""),u(e,"prev")})}},{key:"getAllPlayers",value:function(){return this.videoPlayers}},{key:"getSlidePlayerInstance",value:function(e){var t="gvideo"+e,i=this.getAllPlayers();return!(!N(i,t)||!i[t])&&i[t]}},{key:"stopSlideVideo",value:function(e){if(T(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("stopSlideVideo is deprecated, use slidePlayerPause");var i=this.getSlidePlayerInstance(e);i&&i.playing&&i.pause()}},{key:"slidePlayerPause",value:function(e){if(T(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}var i=this.getSlidePlayerInstance(e);i&&i.playing&&i.pause()}},{key:"playSlideVideo",value:function(e){if(T(e)){var t=e.querySelector(".gvideo-wrapper");t&&(e=t.getAttribute("data-index"))}console.log("playSlideVideo is deprecated, use slidePlayerPlay");var i=this.getSlidePlayerInstance(e);i&&!i.playing&&i.play()}},{key:"slidePlayerPlay",value:function(e){var t;if(!J||null!==(t=this.settings.plyr.config)&&void 0!==t&&t.muted){if(T(e)){var i=e.querySelector(".gvideo-wrapper");i&&(e=i.getAttribute("data-index"))}var n=this.getSlidePlayerInstance(e);n&&!n.playing&&(n.play(),this.settings.autofocusVideos&&n.elements.container.focus())}}},{key:"setElements",value:function(e){var t=this;this.settings.elements=!1;var i=[];e&&e.length&&a(e,function(e,n){var s=new F(e,t,n),o=s.getConfig(),a=r({},o);a.slideConfig=o,a.instance=s,a.index=n,i.push(a)}),this.elements=i,this.lightboxOpen&&(this.slidesContainer.innerHTML="",this.elements.length&&(a(this.elements,function(){var e=y(t.settings.slideHTML);t.slidesContainer.appendChild(e)}),this.showSlide(0,!0)))}},{key:"getElementIndex",value:function(e){var t=!1;return a(this.elements,function(i,n){if(N(i,"node")&&i.node==e)return t=n,!0}),t}},{key:"getElements",value:function(){var e=this,t=[];this.elements=this.elements?this.elements:[],!_(this.settings.elements)&&C(this.settings.elements)&&this.settings.elements.length&&a(this.settings.elements,function(i,n){var s=new F(i,e,n),o=s.getConfig(),a=r({},o);a.node=!1,a.index=n,a.instance=s,a.slideConfig=o,t.push(a)});var i=!1;
1return this.getSelector()&&(i=document.querySelectorAll(this.getSelector())),i?(a(i,function(i,n){var s=new F(i,e,n),o=s.getConfig(),a=r({},o);a.node=i,a.index=n,a.instance=s,a.slideConfig=o,a.gallery=i.getAttribute("data-gallery"),t.push(a)}),t):t}},{key:"getGalleryElements",value:function(e,t){return e.filter(function(e){return e.gallery==t})}},{key:"getSelector",value:function(){return!this.settings.elements&&(this.settings.selector&&"data-"==this.settings.selector.substring(0,5)?"*[".concat(this.settings.selector,"]"):this.settings.selector)}},{key:"getActiveSlide",value:function(){return this.slidesContainer.querySelectorAll(".gslide")[this.index]}},{key:"getActiveSlideIndex",value:function(){return this.index}},{key:"getAnimationClasses",value:function(){var e=[];for(var t in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(t)){var i=this.settings.cssEfects[t];e.push("g".concat(i.in)),e.push("g".concat(i.out))}return e.join(" ")}},{key:"build",value:function(){var e=this;if(this.built)return!1;var t=document.body.childNodes,i=[];a(t,function(e){e.parentNode==document.body&&"#"!==e.nodeName.charAt(0)&&e.hasAttribute&&!e.hasAttribute("aria-hidden")&&(i.push(e),e.setAttribute("aria-hidden","true"))});var n=N(this.settings.svg,"next")?this.settings.svg.next:"",s=N(this.settings.svg,"prev")?this.settings.svg.prev:"",o=N(this.settings.svg,"close")?this.settings.svg.close:"",r=this.settings.lightboxHTML;r=y(r=(r=(r=r.replace(/{nextSVG}/g,n)).replace(/{prevSVG}/g,s)).replace(/{closeSVG}/g,o)),document.body.appendChild(r);var l=document.getElementById("glightbox-body");this.modal=l;var u=l.querySelector(".gclose");this.prevButton=l.querySelector(".gprev"),this.nextButton=l.querySelector(".gnext"),this.overlay=l.querySelector(".goverlay"),this.loader=l.querySelector(".gloader"),this.slidesContainer=document.getElementById("glightbox-slider"),this.bodyHiddenChildElms=i,this.events={},d(this.modal,"glightbox-"+this.settings.skin),this.settings.closeButton&&u&&(this.events.close=c("click",{onElement:u,withCallback:function(t,i){t.preventDefault(),e.close()}})),u&&!this.settings.closeButton&&u.parentNode.removeChild(u),this.nextButton&&(this.events.next=c("click",{onElement:this.nextButton,withCallback:function(t,i){t.preventDefault(),e.nextSlide()}})),this.prevButton&&(this.events.prev=c("click",{onElement:this.prevButton,withCallback:function(t,i){t.preventDefault(),e.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=c("click",{onElement:l,withCallback:function(t,i){e.preventOutsideClick||h(document.body,"glightbox-mobile")||f(t.target,".ginner-container")||f(t.target,".gbtn")||h(t.target,"gnext")||h(t.target,"gprev")||e.close()}})),a(this.elements,function(t,i){e.slidesContainer.appendChild(t.instance.create()),t.slideNode=e.slidesContainer.querySelectorAll(".gslide")[i]}),Q&&d(document.body,"glightbox-touch"),this.events.resize=c("resize",{onElement:window,withCallback:function(){e.resize()}}),this.built=!0}},{key:"resize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((e=e||this.activeSlide)&&!h(e,"zoomed")){var t=b(),i=e.querySelector(".gvideo-wrapper"),n=e.querySelector(".gslide-image"),s=this.slideDescription,o=t.width,r=t.height;if(o<=768?d(document.body,"glightbox-mobile"):u(document.body,"glightbox-mobile"),i||n){var a=!1;if(s&&(h(s,"description-bottom")||h(s,"description-top"))&&!h(s,"gabsolute")&&(a=!0),n)if(o<=768)n.querySelector("img");else if(a){var l,c,f=s.offsetHeight,m=n.querySelector("img"),g=null===(l=this.elements[this.index])||void 0===l?void 0:l.node,p="100vh";g&&(p=null!==(c=g.getAttribute("data-height"))&&void 0!==c?c:p),m.setAttribute("style","max-height: calc(".concat(p," - ").concat(f,"px)")),s.setAttribute("style","max-width: ".concat(m.offsetWidth,"px;"))}if(i){var v=N(this.settings.plyr.config,"ratio")?this.settings.plyr.config.ratio:"";if(!v){var y=i.clientWidth,w=i.clientHeight,x=y/w;v="".concat(y/x,":").concat(w/x)}var E=v.split(":"),S=this.settings.videosWidth,k=this.settings.videosWidth,A=(k=I(S)||-1!==S.indexOf("px")?parseInt(S):-1!==S.indexOf("vw")?o*parseInt(S)/100:-1!==S.indexOf("vh")?r*parseInt(S)/100:-1!==S.indexOf("%")?o*parseInt(S)/100:parseInt(i.clientWidth))/(parseInt(E[0])/parseInt(E[1]));if(A=Math.floor(A),a&&(r-=s.offsetHeight),k>o||A>r||r<A&&o>k){var T=i.offsetWidth,C=i.offsetHeight,L=r/C,O={width:T*L,height:C*L};i.parentNode.setAttribute("style","max-width: ".concat(O.width,"px")),a&&s.setAttribute("style","max-width: ".concat(O.width,"px;"))}else i.parentNode.style.maxWidth="".concat(S),a&&s.setAttribute("style","max-width: ".concat(S,";"))}}}}},{key:"reload",value:function(){this.init()}},{key:"updateNavigationClasses",value:function(){var e=this.loop();u(this.nextButton,"disabled"),u(this.prevButton,"disabled"),0==this.index&&this.elements.length-1==0?(d(this.prevButton,"disabled"),d(this.nextButton,"disabled")):0!==this.index||e?this.index!==this.elements.length-1||e||d(this.nextButton,"disabled"):d(this.prevButton,"disabled")}},{key:"loop",value:function(){var e=N(this.settings,"loopAtEnd")?this.settings.loopAtEnd:null;return e=N(this.settings,"loop")?this.settings.loop:e}},{key:"close",value:function(){var e=this;if(!this.lightboxOpen){if(this.events){for(var t in this.events)this.events.hasOwnProperty(t)&&this.events[t].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&a(this.bodyHiddenChildElms,function(e){e.removeAttribute("aria-hidden")}),d(this.modal,"glightbox-closing"),m(this.overlay,"none"==this.settings.openEffect?"none":this.settings.cssEfects.fade.out),m(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,function(){if(e.activeSlide=null,e.prevActiveSlideIndex=null,e.prevActiveSlide=null,e.built=!1,e.events){for(var t in e.events)e.events.hasOwnProperty(t)&&e.events[t].destroy();e.events=null}var i=document.body;u(ee,"glightbox-open"),u(i,"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"),e.modal.parentNode.removeChild(e.modal),e.trigger("close"),k(e.settings.onClose)&&e.settings.onClose();var n=document.querySelector(".gcss-styles");n&&n.parentNode.removeChild(n),e.lightboxOpen=!1,e.closing=null})}},{key:"destroy",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:"on",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!k(t))throw new TypeError("Event name and callback must be defined");this.apiEvents.push({evt:e,once:i,callback:t})}},{key:"once",value:function(e,t){this.on(e,t,!0)}},{key:"trigger",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[];a(this.apiEvents,function(t,s){var o=t.evt,r=t.once,a=t.callback;o==e&&(a(i),r&&n.push(s))}),n.length&&a(n,function(e){return t.apiEvents.splice(e,1)})}},{key:"clearAllEvents",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:"version",value:function(){return"3.3.1"}}]);return function(){var e=new ie(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return e.init(),e}}()},257:function(e,t,i){var n,s,o;"undefined"!=typeof window?window:i.g,s=[],void 0===(o="function"==typeof(n=function(){var e=function(t,i){"use strict";var n=Object.create(e.prototype),s=0,o=0,r=0,a=0,l=[],c=!0,d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},u=null,h=!1;try{var f=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("testPassive",null,f),window.removeEventListener("testPassive",null,f)}catch(e){}var m=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,g=window.transformProp||function(){var e=document.createElement("div");if(null===e.style.transform){var t=["Webkit","Moz","ms"];for(var i in t)if(void 0!==e.style[t[i]+"Transform"])return t[i]+"Transform"}return"transform"}();function p(){if(3===n.options.breakpoints.length&&Array.isArray(n.options.breakpoints)){var e,t=!0,i=!0;
vendor: 7,333 bytes, lines 1-7
1if(n.options.breakpoints.forEach(function(n){"number"!=typeof n&&(i=!1),null!==e&&n<e&&(t=!1),e=n}),t&&i)return}n.options.breakpoints=[576,768,1201],console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}n.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}},i&&Object.keys(i).forEach(function(e){n.options[e]=i[e]}),i&&i.breakpoints&&p(),t||(t=".rellax");var v="string"==typeof t?document.querySelectorAll(t):[t];if(v.length>0){if(n.elems=v,n.options.wrapper&&!n.options.wrapper.nodeType){var y=document.querySelector(n.options.wrapper);if(!y)return void console.warn("Rellax: The wrapper you're trying to use doesn't exist.");n.options.wrapper=y}var b,w=function(e){var t=n.options.breakpoints;return e<t[0]?"xs":e>=t[0]&&e<t[1]?"sm":e>=t[1]&&e<t[2]?"md":"lg"},x=function(){for(var e=0;e<n.elems.length;e++){var t=S(n.elems[e]);l.push(t)}},E=function(){for(var e=0;e<l.length;e++)n.elems[e].style.cssText=l[e].style;l=[],o=window.innerHeight,a=window.innerWidth,b=w(a),k(),x(),L(),c&&(window.addEventListener("resize",E),c=!1,C())},S=function(e){var t,i=e.getAttribute("data-rellax-percentage"),s=e.getAttribute("data-rellax-speed"),r=e.getAttribute("data-rellax-xs-speed"),l=e.getAttribute("data-rellax-mobile-speed"),c=e.getAttribute("data-rellax-tablet-speed"),d=e.getAttribute("data-rellax-desktop-speed"),u=e.getAttribute("data-rellax-vertical-speed"),h=e.getAttribute("data-rellax-horizontal-speed"),f=e.getAttribute("data-rellax-vertical-scroll-axis"),m=e.getAttribute("data-rellax-horizontal-scroll-axis"),g=e.getAttribute("data-rellax-zindex")||0,p=e.getAttribute("data-rellax-min"),v=e.getAttribute("data-rellax-max"),y=e.getAttribute("data-rellax-min-x"),w=e.getAttribute("data-rellax-max-x"),x=e.getAttribute("data-rellax-min-y"),E=e.getAttribute("data-rellax-max-y"),S=!0;r||l||c||d?t={xs:r,sm:l,md:c,lg:d}:S=!1;var k=n.options.wrapper?n.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;n.options.relativeToWrapper&&(k=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)-n.options.wrapper.offsetTop);var T=n.options.vertical&&(i||n.options.center)?k:0,C=n.options.horizontal&&(i||n.options.center)?n.options.wrapper?n.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0,L=T+e.getBoundingClientRect().top,O=e.clientHeight||e.offsetHeight||e.scrollHeight,_=C+e.getBoundingClientRect().left,N=e.clientWidth||e.offsetWidth||e.scrollWidth,D=i||(T-L+o)/(O+o),I=i||(C-_+a)/(N+a);n.options.center&&(I=.5,D=.5);var P=S&&null!==t[b]?Number(t[b]):s||n.options.speed,q=u||n.options.verticalSpeed,M=h||n.options.horizontalSpeed,z=f||n.options.verticalScrollAxis,H=m||n.options.horizontalScrollAxis,B=A(I,D,P,q,M),X=e.style.cssText,Y="",j=/transform\s*:/i.exec(X);if(j){var W=j.index,F=X.slice(W),R=F.indexOf(";");Y=R?" "+F.slice(11,R).replace(/\s/g,""):" "+F.slice(11).replace(/\s/g,"")}return{baseX:B.x,baseY:B.y,top:L,left:_,height:O,width:N,speed:P,verticalSpeed:q,horizontalSpeed:M,verticalScrollAxis:z,horizontalScrollAxis:H,style:X,transform:Y,zindex:g,min:p,max:v,minX:y,maxX:w,minY:x,maxY:E}},k=function(){var e=s,t=r;if(s=n.options.wrapper?n.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,r=n.options.wrapper?n.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset,n.options.relativeToWrapper){var i=(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset;s=i-n.options.wrapper.offsetTop}return!(e==s||!n.options.vertical)||!(t==r||!n.options.horizontal)},A=function(e,t,i,s,o){var r={},a=(o||i)*(100*(1-e)),l=(s||i)*(100*(1-t));return r.x=n.options.round?Math.round(a):Math.round(100*a)/100,r.y=n.options.round?Math.round(l):Math.round(100*l)/100,r},T=function(){window.removeEventListener("resize",T),window.removeEventListener("orientationchange",T),(n.options.wrapper?n.options.wrapper:window).removeEventListener("scroll",T),(n.options.wrapper?n.options.wrapper:document).removeEventListener("touchmove",T),u=d(C)},C=function(){k()&&!1===c?(L(),u=d(C)):(u=null,window.addEventListener("resize",T),window.addEventListener("orientationchange",T),(n.options.wrapper?n.options.wrapper:window).addEventListener("scroll",T,!!h&&{passive:!0}),(n.options.wrapper?n.options.wrapper:document).addEventListener("touchmove",T,!!h&&{passive:!0}))},L=function(){for(var e,t=0;t<n.elems.length;t++){var i=l[t].verticalScrollAxis.toLowerCase(),c=l[t].horizontalScrollAxis.toLowerCase(),d=-1!=i.indexOf("x")?s:0,u=-1!=i.indexOf("y")?s:0,h=-1!=c.indexOf("x")?r:0,f=(u+(-1!=c.indexOf("y")?r:0)-l[t].top+o)/(l[t].height+o),m=(d+h-l[t].left+a)/(l[t].width+a),p=(e=A(m,f,l[t].speed,l[t].verticalSpeed,l[t].horizontalSpeed)).y-l[t].baseY,v=e.x-l[t].baseX;null!==l[t].min&&(n.options.vertical&&!n.options.horizontal&&(p=p<=l[t].min?l[t].min:p),n.options.horizontal&&!n.options.vertical&&(v=v<=l[t].min?l[t].min:v)),null!=l[t].minY&&(p=p<=l[t].minY?l[t].minY:p),null!=l[t].minX&&(v=v<=l[t].minX?l[t].minX:v),null!==l[t].max&&(n.options.vertical&&!n.options.horizontal&&(p=p>=l[t].max?l[t].max:p),n.options.horizontal&&!n.options.vertical&&(v=v>=l[t].max?l[t].max:v)),null!=l[t].maxY&&(p=p>=l[t].maxY?l[t].maxY:p),null!=l[t].maxX&&(v=v>=l[t].maxX?l[t].maxX:v);var y=l[t].zindex,b="translate3d("+(n.options.horizontal?v:"0")+"px,"+(n.options.vertical?p:"0")+"px,"+y+"px) "+l[t].transform;n.elems[t].style[g]=b}n.options.callback(e)};return n.destroy=function(){for(var e=0;e<n.elems.length;e++)n.elems[e].style.cssText=l[e].style;c||(window.removeEventListener("resize",E),c=!0),m(u),u=null},E(),n.refresh=E,n}console.warn("Rellax: The elements you're trying to select don't exist.")};return e})?n.apply(t,s):n)||(e.exports=o)},958:function(){"use strict"; 2/** 3 * van11y-accessible-hide-show-aria - ES2015 accessible hide-show system (collapsible regions), using ARIA (compatible IE9+ when transpiled) 4 * @version v3.0.1 5 * @link https://van11y.net/accessible-hide-show/ 6 * @license MIT : https://github.com/nico3333fr/van11y-accessible-hide-show-aria/blob/master/LICENSE 7 */function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var t,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},n="data-hash-id",s=(t={},{set:function(e,i){t[e]=i},get:function(e){return t[e]},remove:function(e){return t[e]}}),o=function(e,t){return document.querySelector("#"+e+"["+n+'="'+t+'"]')},r=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},a=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},l=function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},c=function(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})}
7,d=function(e,t){if(e.fireEvent)e.fireEvent("on"+t);else{var i=document.createEvent("Events");i.initEvent(t,!0,!1),e.dispatchEvent(i)}},u=function(){var t=i({HIDESHOW_EXPAND:"js-expandmore",HIDESHOW_BUTTON_EXPAND:"js-expandmore-button",HIDESHOW_BUTTON_EXPAND_STYLE:"expandmore__button",HIDESHOW_BUTTON_LABEL_ID:"label_expand_",DATA_PREFIX_CLASS:"data-hideshow-prefix-class",HIDESHOW_BUTTON_EMPTY_ELEMENT_SYMBOL:"expandmore__symbol",HIDESHOW_BUTTON_EMPTY_ELEMENT_TAG:"span",ATTR_HIDESHOW_BUTTON_EMPTY_ELEMENT:"aria-hidden",HIDESHOW_TO_EXPAND_ID:"expand_",HIDESHOW_TO_EXPAND_STYLE:"expandmore__to_expand",ATTR_CONTROL:"data-controls",ATTR_EXPANDED:"aria-expanded",ATTR_LABELLEDBY:"data-labelledby",ATTR_HIDDEN:"data-hidden",IS_OPENED_CLASS:"is-opened",DISPLAY_FIRST_LOAD:"js-first_load",DISPLAY_FIRST_LOAD_DELAY:"1500"},arguments.length<=0||void 0===arguments[0]?{}:arguments[0]),o=Math.random().toString(32).slice(2,12);s.set(o,t);return{attach:function(i){(function(){var e=arguments.length<=0||void 0===arguments[0]?document:arguments[0];return[].slice.call(e.querySelectorAll("."+t.HIDESHOW_EXPAND))})(i).forEach(function(i){var s,d,u,h=Math.random().toString(32).slice(2,12),f=!0===i.hasAttribute(t.DATA_PREFIX_CLASS)?i.getAttribute(t.DATA_PREFIX_CLASS)+"-":"",m=i.nextElementSibling,g=i.innerHTML,p=document.createElement("BUTTON"),v=document.createElement(t.HIDESHOW_BUTTON_EMPTY_ELEMENT_TAG);i.setAttribute(n,o),r(v,f+t.HIDESHOW_BUTTON_EMPTY_ELEMENT_SYMBOL),c(v,(e(s={},t.ATTR_HIDESHOW_BUTTON_EMPTY_ELEMENT,!0),e(s,n,o),s)),i.innerHTML="",r(p,f+t.HIDESHOW_BUTTON_EXPAND_STYLE),r(p,t.HIDESHOW_BUTTON_EXPAND),c(p,(e(d={},t.ATTR_CONTROL,t.HIDESHOW_TO_EXPAND_ID+h),e(d,t.ATTR_EXPANDED,"false"),e(d,"id",t.HIDESHOW_BUTTON_LABEL_ID+h),e(d,"type","button"),e(d,n,o),d)),p.innerHTML=g,i.appendChild(p),p.insertBefore(v,p.firstChild),c(m,(e(u={},t.ATTR_LABELLEDBY,t.HIDESHOW_BUTTON_LABEL_ID+h),e(u,t.ATTR_HIDDEN,"true"),e(u,"id",t.HIDESHOW_TO_EXPAND_ID+h),e(u,n,o),u)),r(m,f+t.HIDESHOW_TO_EXPAND_STYLE),!0===l(m,t.DISPLAY_FIRST_LOAD)&&setTimeout(function(){a(m,t.DISPLAY_FIRST_LOAD)},t.DISPLAY_FIRST_LOAD_DELAY),!0===l(m,t.IS_OPENED_CLASS)&&(r(p,t.IS_OPENED_CLASS),p.setAttribute(t.ATTR_EXPANDED,"true"),a(m,t.IS_OPENED_CLASS),m.removeAttribute(t.ATTR_HIDDEN))})}}};window.van11yAccessibleHideShowAria=(["click","keydown"].forEach(function(e){document.body.addEventListener(e,function(t){var i=function(e,t){for(var i=!1,n=e;1===n.nodeType&&n&&!1===i;)!0===n.hasAttribute(t)?i=!0:n=n.parentNode;return!0===i?n.getAttribute(t):""}(t.target,n);if(""!==i){var c=s.get(i),u=function(e,t,i){for(var s=!1,o=e;o&&!1===s;)!0===l(o,t)&&o.getAttribute(n)===i?s=!0:o=o.parentNode;return!0===s?o.getAttribute("id"):""}(t.target,c.HIDESHOW_BUTTON_EXPAND,i);if(""!==u&&"click"===e){var h=o(u,i),f=o(h.getAttribute(c.ATTR_CONTROL),i);"false"===h.getAttribute(c.ATTR_EXPANDED)?(h.setAttribute(c.ATTR_EXPANDED,!0),r(h,c.IS_OPENED_CLASS),f.removeAttribute(c.ATTR_HIDDEN)):(h.setAttribute(c.ATTR_EXPANDED,!1),a(h,c.IS_OPENED_CLASS),f.setAttribute(c.ATTR_HIDDEN,!0))}if(!0===l(t.target,c.HIDESHOW_EXPAND)){var m=t.target,g=m.querySelector("."+c.HIDESHOW_BUTTON_EXPAND);if(m!=g){if("click"===e)return d(g,"click"),!1;if("keydown"===e&&(13===t.keyCode||32===t.keyCode))return d(g,"click"),!1}}}},!0)}),u);document.addEventListener("DOMContentLoaded",function e(){window.van11yAccessibleHideShowAria().attach(),document.removeEventListener("DOMContentLoaded",e)})},110:function(){"use strict"; 8/** 9 * van11y-accessible-tab-panel-aria - ES2015 accessible tabs panel system, using ARIA (compatible IE9+ when transpiled) 10 * @version v2.0.4 11 * @link https://van11y.net/accessible-tab-panel/ 12 * @license MIT : https://github.com/nico3333fr/van11y-accessible-tab-panel-aria/blob/master/LICENSE 13 */function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}!function(t){var i="js-tabs",n="js-tablist__item",s="js-tablist__link",o="js-tabcontent",r="js-link-to-tab",a="data-tabs-prefix-class",l="data-hx",c="data-tabs-generated-hx-class",d="data-existing-hx",u="label_",h="tabs",f="tabs__list",m="tabs__item",g="role",p="aria-labelledby",v="aria-hidden",y="aria-controls",b="aria-selected",w=window.location.hash.replace("#",""),x=function(e){return t.getElementById(e)},E=function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},S=function(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)},k=function(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})},A=function(t){t.forEach(function(t){var i;k(t,(e(i={},b,"false"),e(i,"tabindex","-1"),i))})},T=function(e){e.forEach(function(e){e.setAttribute(v,!0)})},C=function(t){var i,n=x(t.getAttribute(y));k(t,(e(i={},b,"true"),e(i,"tabindex","0"),i)),n.removeAttribute(v),setTimeout(function(){t.focus()},0),setTimeout(function(){history.pushState(null,null,location.pathname+location.search+"#"+t.getAttribute(y))},1e3)},L=function(e,t,i,n){var o=void 0;e.forEach(function(e,t){"true"===e.querySelector("."+s).getAttribute(b)&&(o=t)}),A(t),T(i),"next"===n&&(C(t[o+1]),setTimeout(function(){t[o+1].focus()},0)),"prev"===n&&(C(t[o-1]),setTimeout(function(){t[o-1].focus()},0))},O=function(e,t){for(var i=!1,n=e.parentNode;n&&!1===i;)!0===S(n,t)?i=!0:n=n.parentNode;
13return!0===i?n.getAttribute("id"):""},_=function(){var e=arguments.length<=0||void 0===arguments[0]?t:arguments[0];return[].slice.call(e.querySelectorAll("."+i))},N=function(t){_(t).forEach(function(t){var i=Math.random().toString(32).slice(2,12),r=!0===t.hasAttribute(a)?t.getAttribute(a)+"-":"",C=!0===t.hasAttribute(l)?t.getAttribute(l):"",L=!0===t.hasAttribute(c)?t.getAttribute(c):"invisible",_=!0===t.hasAttribute(d)?t.getAttribute(d):"",N=[].slice.call(t.querySelectorAll(".js-tablist")),D=[].slice.call(t.querySelectorAll("."+n)),I=[].slice.call(t.querySelectorAll("."+s)),P=[].slice.call(t.querySelectorAll("."+o)),q=!0;if(E(t,r+h),t.setAttribute("id",h+i),N.forEach(function(t){var n;E(t,r+f),k(t,(e(n={},g,"tablist"),e(n,"id",f+i),n))}),D.forEach(function(t,n){var s;E(t,r+m),k(t,(e(s={},g,"presentation"),e(s,"id",m+i+"-"+(n+1)),s))}),I.forEach(function(t){var i,n,s=t.getAttribute("href").replace("#",""),o=x(s),a=t.innerText,l=!0===t.hasAttribute("data-selected");if(E(t,r+"tabs__link"),k(t,(e(i={id:u+s},g,"tab"),e(i,y,s),e(i,"tabindex","-1"),e(i,b,"false"),i)),k(o,(e(n={},v,"true"),e(n,g,"tabpanel"),e(n,p,u+s),n)),E(o,r+"tabs__content"),l&&q&&(q=!1,k(t,e({tabindex:"0"},b,"true")),k(o,e({},v,"false"))),""!==C){var c=document.createElement(C);c.setAttribute("class",L),c.setAttribute("tabindex","0"),c.innerHTML=a,o.insertBefore(c,o.firstChild)}""!==_&&[].slice.call(o.querySelectorAll(_+":first-child")).forEach(function(e){e.setAttribute("tabindex","0")});t.removeAttribute("href")}),""!==w){var M=x(w);if(null!==M&&null!==t.querySelector("#"+w))if(!0===S(M,o)){A(I),T(P),M.removeAttribute(v);var z=x(u+w);k(z,e({tabindex:"0"},b,"true")),q=!1}else{var H=O(M,o);if(""!==H){A(I),T(P),x(H).removeAttribute(v);var B=x(u+H);k(B,e({tabindex:"0"},b,"true")),q=!1}}}!0===q&&(k(I[0],e({tabindex:"0"},b,"true")),x(I[0].getAttribute(y)).removeAttribute(v))})};["click","keydown"].forEach(function(e){t.body.addEventListener(e,function(t){var a=O(t.target,s);if((!0===S(t.target,s)||""!==a)&&"click"===e){var l=!0===S(t.target,s)?t.target:x(a),c=O(t.target,i),d=x(c),u=[].slice.call(d.querySelectorAll("."+s)),h=[].slice.call(d.querySelectorAll("."+o));A(u),T(h),C(l),t.preventDefault()}if((!0===S(t.target,s)||""!==a)&&"keydown"===e){c=O(t.target,i),d=x(c);var f=[].slice.call(d.querySelectorAll("."+n)),m=(u=[].slice.call(d.querySelectorAll("."+s)),h=[].slice.call(d.querySelectorAll("."+o)),f[0].querySelector("."+s)),g=f[f.length-1].querySelector("."+s);36===t.keyCode?(A(u),T(h),C(m),t.preventDefault()):35===t.keyCode?(A(u),T(h),C(g),t.preventDefault()):37!==t.keyCode&&38!==t.keyCode||t.ctrlKey?40!==t.keyCode&&39!==t.keyCode||t.ctrlKey||("true"===g.getAttribute(b)?(A(u),T(h),C(m),t.preventDefault()):(L(f,u,h,"next"),t.preventDefault())):"true"===m.getAttribute(b)?(A(u),T(h),C(g),t.preventDefault()):(L(f,u,h,"prev"),t.preventDefault())}var v=O(t.target,o);""!==v&&"keydown"===e&&function(){var e=x(x(v).getAttribute(p)),r=O(t.target,i),a=x(r),l=[].slice.call(a.querySelectorAll("."+n)),c=[].slice.call(a.querySelectorAll("."+s)),d=[].slice.call(a.querySelectorAll("."+o)),u=l[0].querySelector("."+s),h=l[l.length-1].querySelector("."+s);38===t.keyCode&&t.ctrlKey&&(setTimeout(function(){e.focus()},0),t.preventDefault()),33===t.keyCode&&t.ctrlKey&&(e.focus(),t.preventDefault(),"true"===u.getAttribute(b)?(A(c),T(d),C(h)):L(l,c,d,"prev")),34===t.keyCode&&t.ctrlKey&&(e.focus(),t.preventDefault(),"true"===h.getAttribute(b)?(A(c),T(d),C(u)):L(l,c,d,"next"))}();var y=O(t.target,r);if((!0===S(t.target,r)||""!==y)&&"click"===e){var w=!0===S(t.target,r)?t.target.getAttribute("href").replace("#",""):x(y).replace("#",""),E=x(w),k=x(E.getAttribute(p));c=O(t.target,i),d=x(c),u=[].slice.call(d.querySelectorAll("."+s)),h=[].slice.call(d.querySelectorAll("."+o));A(u),T(h),C(k),t.preventDefault()}},!0)});document.addEventListener("DOMContentLoaded",function e(){N(),document.removeEventListener("DOMContentLoaded",e)}),window.van11yAccessibleTabPanelAria=N}(document)}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,i),o.exports}
13i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";let e={refreshValue:function(){this.value=window.getComputedStyle(document.querySelector("body"),":after").getPropertyValue("content").replace(/"/g,"")}};(function(){const t=document.getElementById("globalOverlay"),i=document.getElementsByClassName("main-toggle"),n=(document.getElementsByClassName("flap-close"),"active"),s="active-flap",o="noscroll",r=function(){const e=document.getElementsByClassName("hidden-block");for(let t=0;t<e.length;t++)e[t].classList.remove(n);for(let e=0;e<i.length;e++)i[e].classList.remove(n);t.classList.remove(n),document.body.classList.remove(s),document.getElementsByTagName("html")[0].classList.remove(o)},a=function(){window.addEventListener("resize",((e,t)=>{let i=null;return(...n)=>{window.clearTimeout(i),i=window.setTimeout(()=>{e.apply(null,n)},t)}})(function(){e.refreshValue(),r()},600))};document.getElementsByClassName("main-header")[0]&&(!function(){for(let e=0;e<i.length;e++)["click","touchstart"].forEach(a=>{i[e].addEventListener(a,function(e){e.preventDefault();let i=e.currentTarget,a=i.getAttribute("data-scroll"),l=document.getElementById(i.getAttribute("data-target"));i.classList.contains(n)?r():(r(),i.classList.add(n),l.classList.add(n),t.classList.add(n),document.body.classList.add(s),a===o&&l.classList.contains(n)?document.documentElement.classList.add(o):document.documentElement.classList.remove(o))},{passive:!1})})}(),["click","touchstart"].forEach(e=>{document.addEventListener(e,function(e){e.target.closest(".hidden-block")||e.target.closest(".main-toggle")||r()},{passive:!1})}),a()),document.querySelector(".main-nav__item .sub-menu")&&function(){const e=document.querySelectorAll(".main-nav__item"),t=function(t){e.forEach(e=>{e.classList.remove("focus")})};document.addEventListener("focusin",function(){document.activeElement.closest(".main-nav__item")?(document.activeElement.parentElement.classList.contains("main-nav__item")&&t(),document.activeElement.classList.contains("sub-menu__link")&&(t(),document.activeElement.closest(".main-nav__item").classList.add("focus"))):t()},!0),document.addEventListener("click",function(e){if(e.target.closest(".main-nav__icon"))return e.preventDefault(),void e.target.closest(".main-nav__item").classList.toggle("focus");e.target.closest(".main-nav__item")},!1)}()})(),function(){const e="header-sticky--active",t="header-sticky--up",i="header-sticky--down";let n=0;const s=()=>{let s=window.pageYOffset||document.documentElement.scrollTop;s>n+10?(document.body.classList.add(i),document.body.classList.remove(t)):s<n&&(document.body.classList.add(t),document.body.classList.remove(i)),s>146?document.body.classList.add(e):document.body.classList.remove(e),n=s-10};document.getElementById("mainSticky")&&window.addEventListener("scroll",function(){requestAnimationFrame(s)})}();i(110),i(958);const t=(()=>{const e=27,t=35,i=36,n=38,s=40;class o{constructor(e){this.trigger=e.trigger,this.dropdown=document.getElementById(e.dropdown),this.items=this.dropdown.querySelectorAll("[data-item]"),this.links=this.dropdown.querySelectorAll("[data-focus]"),[this.firstLink]=this.links,this.lastLink=this.links[this.links.length-1],this.state=[],this.currentFocusedIndex=0,this.hover=e.hover,this.isOpen=e.isOpen,this.autoClose=e.autoClose,this.open=this.open.bind(this),this.toggle=this.toggle.bind(this),this.onClick=this.onClick.bind(this),this.onFocus=this.onFocus.bind(this),this.onKeydown=this.onKeydown.bind(this),this.isOpen&&this.open()}onClick(e){this.autoClose||e.target.closest(`#${this.trigger.id}, #${this.dropdown.id}`)||this.close(),this.autoClose&&!e.target.closest(`#${this.trigger.id}`)&&this.close()}onFocus(e){this.state.forEach((t,i)=>{e.target===t.link&&(this.currentFocusedIndex=i)})}setFocus(e){switch(e.preventDefault(),e.target===this.trigger&&(this.currentFocusedIndex=0),e.which){case n:this.state[this.currentFocusedIndex].prevLink.focus();break;case i:this.firstLink.focus();break;case t:this.lastLink.focus();break;case s:e.target!==this.trigger?this.state[this.currentFocusedIndex].nextLink.focus():this.firstLink.focus()}}onKeydown(o){switch(o.which){case e:this.close(o);break;case n:case s:case i:case t:this.setFocus(o)}}addAttributes(){this.trigger.setAttribute("aria-haspopup",!0),this.trigger.setAttribute("aria-controls",this.trigger.dataset.target),this.dropdown.setAttribute("role","menu"),this.dropdown.setAttribute("aria-labelledby",this.trigger.id),this.dropdown.setAttribute("tabindex",-1),this.dropdown.setAttribute("aria-hidden",!this.isOpen),this.state.forEach(e
13=>{e.item&&e.item.setAttribute("role","none"),e.link.setAttribute("role","menuitem"),e.link.setAttribute("tabindex",-1)})}removeAttributes(){this.trigger.removeAttribute("aria-haspopup"),this.trigger.removeAttribute("aria-controls"),this.trigger.removeAttribute("aria-expanded"),this.dropdown.removeAttribute("role"),this.dropdown.removeAttribute("aria-labelledby"),this.dropdown.removeAttribute("tabindex"),this.dropdown.removeAttribute("aria-hidden"),this.state.forEach(e=>{e.item&&e.item.removeAttribute("role"),e.link.removeAttribute("role"),e.link.removeAttribute("tabindex")})}addEventListeners(){document.addEventListener("click",this.onClick),this.hover&&document.addEventListener("mouseover",this.onClick),this.trigger.addEventListener("keydown",this.onKeydown),this.dropdown.addEventListener("keydown",this.onKeydown),this.links.forEach(e=>{e.addEventListener("focus",this.onFocus)})}removeEventListeners(){document.removeEventListener("click",this.onClick),this.hover&&document.removeEventListener("mouseover",this.onClick),this.trigger.removeEventListener("keydown",this.onKeydown),this.dropdown.removeEventListener("keydown",this.onKeydown),this.links.forEach(e=>{e.removeEventListener("focus",this.onFocus)})}open(){this.isOpen=!0,this.trigger.setAttribute("aria-expanded",!0),this.dropdown.setAttribute("aria-hidden",!1),this.addEventListeners()}close(e){this.isOpen=!1,this.trigger.setAttribute("aria-expanded",!1),this.dropdown.setAttribute("aria-hidden",!0),this.removeEventListeners(),e&&this.trigger.focus()}toggle(e){e.preventDefault(),this.isOpen=!this.isOpen,this.isOpen?this.open():this.close()}destroy(){this.removeAttributes(),this.removeEventListeners(),this.trigger.removeEventListener("click",this.toggle),this.hover&&this.trigger.removeEventListener("mouseover",this.open)}render(){this.links.forEach((e,t)=>{this.state.push({item:this.items[t],link:e,prevLink:this.links[t-1]||this.lastLink,nextLink:this.links[t+1]||this.firstLink})}),this.addAttributes(),this.trigger.addEventListener("click",this.toggle),this.hover&&this.trigger.addEventListener("mouseover",this.open)}}const r=[];return{render:(e,{isOpen:t=!1,hover:i=!1,autoClose:n=!1}={})=>{const s=document.getElementById(e),a=s.dataset.target,l=new o({trigger:s,dropdown:a,isOpen:t,hover:i,autoClose:n});l.render(),r.push(l)},destroy:e=>{r.forEach((t,i)=>{e===t.trigger.id&&(t.destroy(),r.splice(i,1))})},init:()=>{const e={};document.querySelectorAll('[data-component="dropdown"]').forEach(t=>{e.trigger=t,e.dropdown=t.dataset.target,e.hover="true"===t.dataset.hover,e.isOpen="true"===t.dataset.open,e.autoClose="true"===t.dataset.autoClose,new o(e).render()})}}})();var n=t,s=i(128),o=i.n(s);const r=function(){const e=function(e){e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded","false");const t=e.parentNode.querySelector(".dropdown-block"),i=function(){e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true"),e.parentNode.classList.remove("dropdown-on")};t.setAttribute("aria-hidden","true"),e.onclick=function(){"true"===e.getAttribute("aria-expanded")?i():(e.setAttribute("aria-expanded","true"),t.setAttribute("aria-hidden","false"),e.parentNode.classList.add("dropdown-on"),t.children[0].focus())};const n=function(e){t.parentNode.contains(e.target)||i()};window.addEventListener("click",n,!1),window.addEventListener("touchstart",n,{passive:!0})};return{init:function(){Array.prototype.forEach.call(document.querySelectorAll("[data-toggle~=dropdown]"),function(t){e(t)})},close:function(e){!function(e){const t=document.querySelector(e),i=t.parentNode.querySelector(".dropdown-block");t.setAttribute("aria-expanded","false"),i.setAttribute("aria-hidden","true"),t.parentNode.classList.remove("dropdown-on")}(e)}}}();function a(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?c(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var d,u,h,f,m,g=(d=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not
13([tabindex^="-"])'],u=function(){function e(t){var i=t.targetModal,n=t.triggers,s=void 0===n?[]:n,o=t.onShow,r=void 0===o?function(){}:o,a=t.onClose,c=void 0===a?function(){}:a,d=t.openTrigger,u=void 0===d?"data-micromodal-trigger":d,h=t.closeTrigger,f=void 0===h?"data-micromodal-close":h,m=t.openClass,g=void 0===m?"is-open":m,p=t.disableScroll,v=void 0!==p&&p,y=t.disableFocus,b=void 0!==y&&y,w=t.awaitCloseAnimation,x=void 0!==w&&w,E=t.awaitOpenAnimation,S=void 0!==E&&E,k=t.debugMode,A=void 0!==k&&k;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(i),this.config={debugMode:A,disableScroll:v,openTrigger:u,closeTrigger:f,openClass:g,onShow:r,onClose:c,awaitCloseAnimation:x,awaitOpenAnimation:S,disableFocus:b},s.length>0&&this.registerTriggers.apply(this,l(s)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var t,i;return t=e,(i=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i.filter(Boolean).forEach(function(t){t.addEventListener("click",function(t){return e.showModal(t)})})}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation){this.modal.addEventListener("animationend",function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()},!1)}else this.setFocusToFirstNode();this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var i=this.config.openClass;this.modal.addEventListener("animationend",function e(){t.classList.remove(i),t.removeEventListener("animationend",e,!1)},!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}},{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(d);return Array.apply(void 0,l(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var i=t.filter(function(t){return!t.hasAttribute(e.config.closeTrigger)});i.length>0&&i[0].focus(),0===i.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter(function(e){return null!==e.offsetParent}),this.modal.contains(document.activeElement)){var i=t.indexOf(document.activeElement);e.shiftKey&&0===i&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&i===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}
13])&&a(t.prototype,i),e}(),h=null,f=function(e){if(!document.getElementById(e))return console.warn("MicroModal: âSeems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},m=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: âPlease specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var i in t)f(i);return!0},{init:function(e){var t=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),i=l(document.querySelectorAll("[".concat(t.openTrigger,"]"))),n=function(e,t){var i=[];return e.forEach(function(e){var n=e.attributes[t].value;void 0===i[n]&&(i[n]=[]),i[n].push(e)}),i}(i,t.openTrigger);if(!0!==t.debugMode||!1!==m(i,n))for(var s in n){var o=n[s];t.targetModal=s,t.triggers=l(o),h=new u(t)}},show:function(e,t){var i=t||{};i.targetModal=e,!0===i.debugMode&&!1===f(e)||(h&&h.removeEventListeners(),(h=new u(i)).showModal())},close:function(e){e?h.closeModalById(e):h.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=g);var p=g;class v{static bind(e){[].forEach.call(document.querySelectorAll(e),e=>new v(e))}constructor(e){this.element=e,this.setupTimer=this.setupTimer.bind(this),this.handleClick=this.handleClick.bind(this),this.element.addEventListener("mousedown",this.setupTimer,!1),this.element.addEventListener("mouseup",this.handleClick,!1)}setupTimer(e){this.start=Date.now(),this.startX=e.clientX}handleClick(e){if(e.preventDefault(),1!==e.button)return!1;this.end=Date.now(),this.endX=e.clientX;if(Math.round(this.end-this.start)>600||Math.abs(this.startX-this.endX)>100)return!1;const t=this.element.querySelector("a"),i=t.getAttribute("href"),n=t.getAttribute("target");n&&"_blank"===n?window.open(i,"_blank"):window.open(i,"_self")}}var y=v; 14/** 15 stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills 16 @version v3.7.11 17 @link https://github.com/yowainwright/stickybits#readme 18 @author Jeff Wainwright <[email protected]> (https://jeffry.in) 19 @license MIT
20**/ 21function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},b.apply(this,arguments)}var w=function(){function e(e,t){var i=this,n=void 0!==t?t:{};this.version="3.7.11",this.userAgent=window.navigator.userAgent||"no `userAgent` provided by the browser",this.props={customStickyChangeNumber:n.customStickyChangeNumber||null,noStyles:n.noStyles||!1,stickyBitStickyOffset:n.stickyBitStickyOffset||0,parentClass:n.parentClass||"js-stickybit-parent",scrollEl:"string"==typeof n.scrollEl?document.querySelector(n.scrollEl):n.scrollEl||window,stickyClass:n.stickyClass||"js-is-sticky",stuckClass:n.stuckClass||"js-is-stuck",stickyChangeClass:n.stickyChangeClass||"js-is-sticky--change",useStickyClasses:n.useStickyClasses||!1,useFixed:n.useFixed||!1,useGetBoundingClientRect:n.useGetBoundingClientRect||!1,verticalPosition:n.verticalPosition||"top",applyStyle:n.applyStyle||function(e,t){return i.applyStyle(e,t)}},this.props.positionVal=this.definePosition()||"fixed",this.instances=[];var s=this.props,o=s.positionVal,r=s.verticalPosition,a=s.noStyles,l=s.stickyBitStickyOffset,c="top"!==r||a?"":l+"px",d="fixed"!==o?o:"";this.els="string"==typeof e?document.querySelectorAll(e):e,"length"in this.els||(this.els=[this.els]);for(var u=0;u<this.els.length;u++){var h,f=this.els[u],m=this.addInstance(f,this.props);this.props.applyStyle({styles:(h={},h[r]=c,h.position=d,h),classes:{}},m),this.manageState(m),this.instances.push(m)}}var t=e.prototype;return t.definePosition=function(){var e;if(this.props.useFixed)e="fixed";else{for(var t=["","-o-","-webkit-","-moz-","-ms-"],i=document.head.style,n=0;n<t.length;n+=1)i.position=t[n]+"sticky";e=i.position?i.position:"fixed",i.position=""}return e},t.addInstance=function(e,t){var i=this,n={el:e,parent:e.parentNode,props:t};if("fixed"===t.positionVal||t.useStickyClasses){this.isWin=this.props.scrollEl===window;var s=this.isWin?window:this.getClosestParent(n.el,n.props.scrollEl);this.computeScrollOffsets(n),this.toggleClasses(n.parent,"",t.parentClass),n.state="default",n.stateChange="default",n.stateContainer=function(){return i.manageState(n)},s.addEventListener("scroll",n.stateContainer)}return n},t.getClosestParent=function(e,t){var i=t,n=e;if(n.parentElement===i)return i;for(;n.parentElement!==i;)n=n.parentElement;return i},t.getTopPosition=function(e){if(this.props.useGetBoundingClientRect)return e.getBoundingClientRect().top+(this.props.scrollEl.pageYOffset||document.documentElement.scrollTop);var t=0;do{t=e.offsetTop+t}while(e=e.offsetParent);return t},t.computeScrollOffsets=function(e){var t=e,i=t.props,n=t.el,s=t.parent,o=!this.isWin&&"fixed"===i.positionVal,r="bottom"!==i.verticalPosition,a=o?this.getTopPosition(i.scrollEl):0,l=o?this.getTopPosition(s)-a:this.getTopPosition(s),c=null!==i.customStickyChangeNumber?i.customStickyChangeNumber:n.offsetHeight,d=l+s.offsetHeight;t.offset=o?0:a+i.stickyBitStickyOffset,t.stickyStart=r?l-t.offset:0,t.stickyChange=t.stickyStart+c,t.stickyStop=r?d-(n.offsetHeight+t.offset):d-window.innerHeight},t.toggleClasses=function(e,t,i){var n=e,s=n.className.split(" ");i&&-1===s.indexOf(i)&&s.push(i);var o=s.indexOf(t);-1!==o&&s.splice(o,1),n.className=s.join(" ")},t.manageState=function(e){var t=this,i=e,n=i.props,s=i.state,o=i.stateChange,r=i.stickyStart,a=i.stickyChange,l=i.stickyStop,c=n.positionVal,d=n.scrollEl,u=n.stickyClass,h=n.stickyChangeClass,f=n.stuckClass,m=n.verticalPosition,g="bottom"!==m,p=n.applyStyle,v=n.noStyles,y=function(e){e()},w=this.isWin&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame)||y,x=this.isWin?window.scrollY||window.pageYOffset:d.scrollTop,E=g&&x<=r&&("sticky"===s||"stuck"===s),S=x>=l&&"sticky"===s;x>r&&x<l&&("default"===s||"stuck"===s)?i.state="sticky":E?i.state="default":S&&(i.state="stuck");var k=x>=a&&x<=l;x<a/2||x>l?i.stateChange="default":k&&(i.stateChange="sticky"),s===i.state&&o===i.stateChange||w(function(){var s,o,r,a,l,d,g={sticky:{styles:(s={position:c,top:"",bottom:""},s[m]=n.stickyBitStickyOffset+"px",s),classes:(o={},o[u]=!0,o)},default:{styles:(r={},r[m]="",r),classes:{}},stuck:{styles:b((a={},a[m]="",a),"fixed"===c&&!v||!t.isWin?{position:"absolute",top:"",bottom:"0"}:{}),classes:(l={},l[f]=!0,l)}};"fixed"===c&&(g.default.styles.position="");var y=g[i.state];y.classes=((d={})[f]=!!y.classes[f],d[u]=!!y.classes[u],d[h]=k,d),p(y,e)})},t.applyStyle=function(e,t){var i=e.styles,n=e.classes,s=t,o=s.el,r=s.props,a=o.style,l=r.noStyles,c=o.className.split(" ");for(var d in n){if(n[d])-1===c.indexOf(d)&&c.push(d);else{var u=c.indexOf(d);-1!==u&&c.splice(u,1)}}if(o.className=c.join(" "),i.position&&(a.position=i.position),!l)for(var h in i)a[h]=i[h]},t.update=function(e){var t=this;
21return void 0===e&&(e=null),this.instances.forEach(function(i){if(t.computeScrollOffsets(i),e)for(var n in e)i.props[n]=e[n]}),this},t.removeInstance=function(e){var t,i,n=e.el,s=e.props;this.applyStyle({styles:(t={position:""},t[s.verticalPosition]="",t),classes:(i={},i[s.stickyClass]="",i[s.stuckClass]="",i)},e),this.toggleClasses(n.parentNode,s.parentClass)},t.cleanup=function(){for(var e=0;e<this.instances.length;e+=1){var t=this.instances[e];t.stateContainer&&t.props.scrollEl.removeEventListener("scroll",t.stateContainer),this.removeInstance(t)}this.manageState=!1,this.instances=[]},e}();var x=function(e,t){return new w(e,t)},E=i(42),S=i.n(E),k=i(257),A=i.n(k);const T=function(){const e="active";let t=null;const i=e=>{let t=e.getBoundingClientRect(),i=document.body,n=document.documentElement,s=window.pageYOffset||n.scrollTop||i.scrollTop,o=window.pageXOffset||n.scrollLeft||i.scrollLeft,r=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,l=t.top+s-r,c=t.left+o-a;return{top:Math.round(l),left:Math.round(c)}},n=(e,t)=>{window.scrollTo({behavior:"smooth",left:0,top:e-t})},s=function(e){for(let t=0;t<e.length;++t)e[t].classList.remove("active")},o=()=>{const i=document.querySelectorAll(".toc__link");for(let n=0;n<i.length;++n){if(!(document.getElementById(i[n].getAttribute("href").substring(1)).nextElementSibling.getBoundingClientRect().top<=80)){s(i),null!==t&&t.classList.add(e);break}t=i[n],n==i.length-1&&(s(i),i[n].classList.add(e))}};return{init:function(){document.addEventListener("click",function(e){if(e.target.matches(".toc__link")||e.target.matches(".toc__link-inner")){e.preventDefault();let t=e.target.matches(".toc__link-inner")?e.target.parentNode:e.target,s=document.getElementById(t.getAttribute("href").substring(1)),o=i(s).top;n(o,197)}},!1),document.addEventListener("change",function(e){if(e.target.matches("#tocSelect")){console.log(e.target);let t=document.getElementById(e.target.value.substring(1)),s=i(t).top;n(s,197)}},!1),window.addEventListener("scroll",()=>{requestAnimationFrame(o)},{passive:!0})}}}(),C=function(){const e=document.querySelectorAll(".sub-main .acf-section"),t=document.getElementById("tocAreaMobile"),i=document.getElementById("tocAreaDesktop"),n=function(){for(let t=0;t<e.length;t++){let i=t+1;e[t].nextElementSibling.setAttribute("id","a"+i)}var n;e&&t&&t.appendChild((()=>{const t=document.createDocumentFragment(),i=document.createElement("select");i.setAttribute("id","tocSelect"),i.setAttribute("aria-hidden","true"),i.className="toc-select form-select";const n=document.createDocumentFragment();return e.forEach(function(e){const t=document.createElement("option");t.setAttribute("value","#"+e.id),t.innerText=e.textContent,n.appendChild(t)}),i.appendChild(n),t.appendChild(i),t})()),e&&i&&i.appendChild((()=>{const t=document.createDocumentFragment(),i=document.createElement("ul");return i.setAttribute("id","tocList"),i.className="toc__list position-relative d-flex align-items-center w-full mx-auto",e.forEach(function(e){const t=document.createElement("li");t.className="toc__item flex-grow-1 text-center";const n=document.createElement("a");n.className="toc__link position-relative d-flex flex-column justify-content-center w-full px-3 text-currentcolor",n.setAttribute("href","#"+e.id);const s=document.createElement("span"),o=e.textContent,r=o.length>=140?o.substring(0,140)+"â¦":o;s.className="toc__link-inner",s.innerText=r,n.appendChild(s),t.appendChild(n),i.appendChild(t)}),t.appendChild(i),t})()),(n="#tocList",new Promise(function(e,t){const i=document.querySelector(n);if(i)return void e(i);const s=new MutationObserver(function(t){t.forEach(function(t){const i=Array.from(t.addedNodes);for(let t=0;t<i.length;t++){let o=i[t];if(o.matches&&o.matches(n))return s.disconnect(),void e(o)}})});s.observe(document.documentElement,{childList:!0,subtree:!0})})).then(function(){T.init()})};return{init:function(){n()}}}();!function(){const e=document.getElementById("progressBar"),t=()=>{const t=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100;e.style.width=t+"%"};e&&window.addEventListener("scroll",function(){requestAnimationFrame(t)},{passive:!0})}();window.betterCardLinks=y;var L;L=()=>function(){if(document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js"),navigator.maxTouchPoints||"ontouchstart"in document.documentElement?document.documentElement.classList.add("touchDevice"):document.documentElement.classList.add("noTouchDevice"),y.bind("[data-tile-link]"),document.querySelector(".main-footer")){const e=document.querySelector(".main-footer");new IntersectionObserver(function(e,t){const i=e.find(e=>"FOOTER"===e.target.tagName);i&&i.isIntersecting?document.body.classList.add("footer-reached"):document.body.classList.remove("footer-reached")},{root:null}).observe(e)}if(document.querySelector(".main-footer .main-footer-bottom-line")){const e=document.querySelector(".main-footer .main-footer-bottom-line");new IntersectionObserver(function(e,t){const i=e.find(e=>"DIV"===e.target.tagName);i&&i.isIntersecting?document.body.classList.add("end-reached"):document.body.classList.remove("end-reached")},{root:null}).observe(e)}if(n.init(),document.querySelector(".main-footer .footer")){const e=document.querySelector(":root"),t=document.querySelector(".main-footer .footer"),i=function(){return`${t.offsetHeight}px`},n=function(){e.style.setProperty("--footerHeight",i())};n(),new ResizeObserver(n).observe(t)}document.querySelector(".rellax")&&new(A())(".rellax"),document.querySelector(".isolatedParallax")&&document.querySelectorAll(".isolatedParallax").forEach(e
21=>{if(e.querySelector("img").hasAttribute("src")){e.querySelector("img").style.cssText="opacity:0;";const t=e.querySelector("img").src;e.style.cssText=`background-image: url(${t});background-size:contain;background-attachment:fixed;background-repeat:no-repeat;background-position:50%;`}}),S().init({disable:function(){return window.innerWidth<800},duration:1e3,mirror:!0}),r.init(),p.init({disableScroll:!0}),o()({selector:".videobox",touchNavigation:!0,loop:!1,autoplayVideos:!0,title:"",youtube:{title:!1},vimeo:{title:!1}}),o()({selector:".glightbox",touchNavigation:!0,loop:!1,title:""}),window.buildTocExecuted||(window.buildTocExecuted=!0,C.init()),x(".section-anchors",{useStickyClasses:!0,stickyBitStickyOffset:117})}(),document.addEventListener("DOMContentLoaded",L),"interactive"!==document.readyState&&"complete"!==document.readyState||L(),window.onload=function(){document.documentElement.classList.remove("pageload")},window.addEventListener("touchstart",function e(){document.documentElement.classList.add("touchDevice"),document.documentElement.classList.remove("noTouchDevice"),window.removeEventListener("touchstart",e,!1)},!1)}()}()
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.