PageSourceSearch

https://sumbafoundation.org/app/themes/sumbafoundation/dist/js/bundle.js?1784778554&ver=1784778554

js sumbafoundation.org collected 2026-10-02 19:23:00 UTC 167,494 bytes, 1 lines download raw bytes

1(window.jbWebpackJsonp=window.jbWebpackJsonp||[]).push([[2],[,,,,,,,,,,,,,function(e,t,n){(function(e){var n,o,i,a;function r(e){return(r="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)}a=function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(2)),a=n(3),r=o(n(8));t.default=function(){if("undefined"!=typeof window){var e={history:[]},t={offset:{},threshold:0,test:a.inViewport},n=(0,r.default)((function(){e.history.forEach((function(t){e[t].check()}))}),100);["scroll","resize","load"].forEach((function(e){return addEventListener(e,n)})),window.MutationObserver&&addEventListener("DOMContentLoaded",(function(){new MutationObserver(n).observe(document.body,{attributes:!0,childList:!0,subtree:!0})}));var o=function(n){if("string"==typeof n){var o=[].slice.call(document.querySelectorAll(n));return e.history.indexOf(n)>-1?e[n].elements=o:(e[n]=(0,i.default)(o,t),e.history.push(n)),e[n]}};return o.offset=function(e){if(void 0===e)return t.offset;var n=function(e){return"number"==typeof e};return["top","right","bottom","left"].forEach(n(e)?function(n){return t.offset[n]=e}:function(o){return n(e[o])?t.offset[o]=e[o]:null}),t.offset},o.threshold=function(e){return"number"==typeof e&&e>=0&&e<=1?t.threshold=e:t.threshold},o.test=function(e){return"function"==typeof e?t.test=e:t.test},o.is=function(e){return t.test(e,t)},o.offset(0),o}}},function(e,t){e.exports=function(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),o=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.options=n,this.elements=t,this.current=[],this.handlers={enter:[],exit:[]},this.singles={enter:[],exit:[]}}return n(e,[{key:"check",value:function(){var e=this;return this.elements.forEach((function(t){var n=e.options.test(t,e.options),o=e.current.indexOf(t),i=o>-1,a=!n&&i;n&&!i&&(e.current.push(t),e.emit("enter",t)),a&&(e.current.splice(o,1),e.emit("exit",t))})),this}},{key:"on",value:function(e,t){return this.handlers[e].push(t),this}},{key:"once",value:function(e,t){return this.singles[e].unshift(t),this}},{key:"off",value:function(e,t){return this.handlers[e]=this.handlers[e].filter((function(e){return e!==t})),this}},{key:"emit",value:function(e,t){for(;this.singles[e].length;)this.singles[e].pop()(t);for(var n=this.handlers[e].length;--n>-1;)this.handlers[e][n](t);return this}}]),e}();t.default=function(e,t){return new o(e,t)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inViewport=function(e,t){var n=e.getBoundingClientRect(),o=n.top,i=n.right,a=n.bottom,r=n.left,s=n.width,l=n.height,c=a,u=window.innerWidth-r,d=window.innerHeight-o,p=i,m=t.threshold*s,f=t.threshold*l,h=c>t.offset.top+f&&d>t.offset.bottom+f||c<-t.offset.top&&d<-t.offset.bottom,y=u>t.offset.right+m&&p>t.offset.left+m||u<-t.offset.right&&p<-t.offset.left;return h&&y}},function(e,t){(function(t){var n="object"==r(t)&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){var o=n(4),i="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,a=o||i||Function("return this")();e.exports=a},function(e,t,n){var o=n(1),i=n(7),a=n(9),r="Expected a function",s=Math.max,l=Math.min;e.exports=function(e,t,n){function c(t){var n=h,o=y;return h=y=void 0,S=t,b=e.apply(o,n)}function u(e){return S=e,g=setTimeout(p,t),L?c(e):b}function d(e){var n=e-w;return void 0===w||n>=t||n<0||_&&e-S>=v}function p(){var e=i();return d(e)?m(e):void(g=setTimeout(p,function(e){var n=t-(e-w);return _?l(n,v-(e-S)):n}(e)))}function m(e){return g=void 0,k&&h?c(e):(h=y=void 0,b)}function f(){var e=i(),n=d(e);if(h=arguments,y=this,w=e,n){if(void 0===g)return u(w);if(_)return g=setTimeout(p,t),c(w)}return void 0===g&&(g=setTimeout(p,t)),b}var h,y,v,b,g,w,S=0,L=!1,_=!1,k=!0;if("function"!=typeof e)throw new TypeError(r);return t=a(t)||0,o(n)&&(L=!!n.leading,v=(_="maxWait"in n)?s(a(n.maxWait)||0,t):v,k="trailing"in n?!!n.trailing:k),f.cancel=function(){void 0!==g&&clearTimeout(g),S=0,h=w=y=g=void 0},f.flush=function(){return void 0===g?b:m(i())},f}},function(e,t,n){var o=n(5);e.exports=function(){return o.Date.now()}},function(e,t,n){var o=n(6),i=n(1),a="Expected a function";e.exports=function(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}},function(e,t){e.exports=function(e){return e}}])},"object"==r(t)&&"object"==r(e)?e.exports=a():(o=[],void 0===(i="function"==typeof(n=a)?n.apply(t,o):n)||(e.exports=i))}).call(this,n(15)(e))},,,,,,,,,,function(e,t,n){n(61),n(62),n(67),n(69),e.exports=n(71)},function(e,t){var n;(n=jQuery).fn.niceSelect=function(e){if("string"==typeof e)return"update"==e?this.each((function(){var e=n(this),o=n(this).next(".nice-select"),i=o.hasClass("open");o.length&&(o.remove(),t(e),i&&e.next().trigger("click"))})):"destroy"==e?(this.each((function(){var e=n(this),t=n(this).next(".nice-select");t.length&&(t.remove(),e.css("display",""))})),0==n(".nice-select").length&&n(document).off(".nice_select")):console.log('Method "'+e+'" does not exist.'),this;function t(e){e.after(n("<div></div>").addClass("nice-select").addClass(e.attr("class")||"").addClass(e.attr("disabled")?"disabled":"").attr("tabindex",e.attr("disabled")?null:"0").html('<span class="current"></span><ul class="list"></ul>'));var t=e.next(),o=e.find("option"),i=e.find("option:selected");t.find(".current").html(i.data("display")||i.text()),o.each((function(e){var o=n(this),i=o.data("display");t.find("ul").append(n("<li></li>").attr("data-value",o.val()).attr("data-display",i||null).addClass("option"+(o.is(":selected")?" selected":"")+(o.is(":disabled")?" disabled":"")).html(o.text()))}
1))}this.hide(),this.each((function(){var e=n(this);e.next().hasClass("nice-select")||t(e)})),n(document).off(".nice_select"),n(document).on("click.nice_select",".nice-select",(function(e){var t=n(this);n(".nice-select").not(t).removeClass("open"),t.toggleClass("open"),t.hasClass("open")?(t.find(".option"),t.find(".focus").removeClass("focus"),t.find(".selected").addClass("focus")):t.focus()})),n(document).on("click.nice_select",(function(e){0===n(e.target).closest(".nice-select").length&&n(".nice-select").removeClass("open").find(".option")})),n(document).on("click.nice_select",".nice-select .option:not(.disabled)",(function(e){var t=n(this),o=t.closest(".nice-select");o.find(".selected").removeClass("selected"),t.addClass("selected");var i=t.data("display")||t.text();o.find(".current").text(i),o.prev("select").val(t.data("value")).trigger("change")})),n(document).on("keydown.nice_select",".nice-select",(function(e){var t=n(this),o=n(t.find(".focus")||t.find(".list .option.selected"));if(32==e.keyCode||13==e.keyCode)return t.hasClass("open")?o.trigger("click"):t.trigger("click"),!1;if(40==e.keyCode){if(t.hasClass("open")){var i=o.nextAll(".option:not(.disabled)").first();i.length>0&&(t.find(".focus").removeClass("focus"),i.addClass("focus"))}else t.trigger("click");return!1}if(38==e.keyCode){if(t.hasClass("open")){var a=o.prevAll(".option:not(.disabled)").first();a.length>0&&(t.find(".focus").removeClass("focus"),a.addClass("focus"))}else t.trigger("click");return!1}if(27==e.keyCode)t.hasClass("open")&&t.trigger("click");else if(9==e.keyCode&&t.hasClass("open"))return!1}));var o=document.createElement("a").style;return o.cssText="pointer-events:auto","auto"!==o.pointerEvents&&n("html").addClass("no-csspointerevents"),this}},function(e,t){jQuery((function(e){var t="sticky"==e(".header").css("position")||"fixed"==e(".header").css("position")?parseInt(e(".header").css("height")):0,n=e("#wpadminbar").length?parseInt(e("#wpadminbar").css("height")):0;if(t=1.05*(t+n),window.scrollAnchorTo=function(n,o){var i=e('[href="'+n+'"]');null==o&&(o=800),e(n).length>0&&(null!==e(n).offset()?e(n).offset().top:0)>=0&&e("html,body").animate({scrollTop:e(n).offset().top-t},o,(function(){i.length&&("#"===n.substring(0,1)?(window.location.hash=n,window.scrollTo(0,e(n).offset().top-t)):window.history.pushState(null,i.attr("title"),i.attr("href")))}))},e(document).on("click",".scrollTo",(function(t){t.preventDefault();var n=e(this).attr("href"),o=e(this).data("speed")?e(this).data("speed"):800;window.scrollAnchorTo(n,o)})),e(document).on("click",'a[href^="#"]',(function(t){t.preventDefault();var n=e(this).attr("href"),o=e(this).data("speed")?e(this).data("speed"):800;window.scrollAnchorTo(n,o)})),window.location.hash){var o=window.location.hash;window.scrollAnchorTo(o,800)}}))},function(e,t){jQuery((function(e){e(document.body).on("submit",".gform_wrapper form",(function(){var t=e("<span>").addClass("gform-spinner__inner");e(this).find("button").last().append(t).addClass("gform-spinner")})),e(".ginput_recaptcha").each((function(){e(this).before('<p class="ginput_recaptcha_terms">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" target="blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" target="blank">Terms of Service</a> apply.</p>'),e(this).closest(".form-group").find(".gfield_label").removeAttr("for")})),e(".ginput_recaptchav3").each((function(){e(this).closest("form").find(".gform_footer").before('<p class="ginput_recaptcha_terms">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" target="blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" target="blank">Terms of Service</a> apply.</p>')}))}))},function(e,t){jQuery((function(e){window.dataLayer=window.dataLayer||[],e(document).bind("gform_confirmation_loaded",(function(t,n){var o=e("#gform_"+n).find(".gform_heading .gform_title").length?e("#gform_"+n).find(".gform_heading .gform_title").text():"";window.dataLayer.push({event:"formSubmission",eventCategory:""!=o?o+" Form Submission":"Form Submission",eventAction:"Submit",eventLabel:window.location.href,formTitle:o,formID:n})})),e(".gform_confirmation_wrapper .gform_confirmation_message").each((function(){var t=e(this).attr("id").replace("gform_confirmation_message_","");window.dataLayer.push({event:"formSubmission",eventCategory:"Form Submission",eventAction:"Submit",eventLabel:window.location.href,formID:t})}))}))},function(e,t,n){var o,i,a;function r(e){return(r="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)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a,r,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=a.call(n)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}
1finally{try{if(!l&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}!function(l){"use strict";i=[n(29)],void 0===(a="function"==typeof(o=function(e){e.fn.SumoSelect=function(t){var n=function(e,t){var n;"function"==typeof Event?n=new Event(t):(n=document.createEvent("Event")).initEvent(t,!0,!0),e.dispatchEvent(n)};window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var o={placeholder:"Select Here",csvDispCount:3,captionFormat:"{0} Selected",captionFormatAllSelected:"{0} all selected!",floatWidth:400,forceCustomRendering:!1,nativeOnDevice:["Android","BlackBerry","iPhone","iPad","iPod","Opera Mini","IEMobile","Silk"],outputAsCSV:!1,csvSepChar:",",okCancelInMulti:!1,isClickAwayOk:!1,triggerChangeCombined:!0,selectAll:!1,search:!1,searchText:"Search...",searchFn:function(e,t){return e.toLowerCase().indexOf(t.toLowerCase())<0},noMatch:'No matches for "{0}"',prefix:"",locale:["OK","Cancel","Select All"],up:!1,showTitle:!0,max:null,renderLi:function(e,t){return e}},i=this.each((function(){var i=this;if(!this.sumo&&e(this).is("select")){var a=e.extend({},o,t,e(this).data());this.sumo={E:e(i),is_multi:e(i).attr("multiple"),select:"",caption:"",placeholder:"",optDiv:"",CaptionCont:"",ul:"",is_floating:!1,is_opened:!1,mob:!1,Pstate:[],lastUnselected:null,selectedCount:0,createElems:function(){var t=this,n=t.E.find("option:checked");t.E.wrap('<div class="SumoSelect" tabindex="0" role="button" aria-expanded="false">'),n.each((function(e,t){t.selected=!0})),t.select=t.E.parent(),t.caption=e("<span>"),t.CaptionCont=e('<p class="CaptionCont SelectBox '.concat(t.E.attr("class"),'" ><label><i></i></label></p>')).attr("style",t.E.attr("style")).prepend(t.caption),t.select.append(t.CaptionCont),t.is_multi||(a.okCancelInMulti=!1),t.E.attr("disabled")&&t.select.addClass("disabled").removeAttr("tabindex"),a.outputAsCSV&&t.is_multi&&t.E.attr("name")&&(t.select.append(e('<input class="HEMANT123" type="hidden" />').attr("name",t.E.attr("name")).val(t.getSelStr())),t.E.removeAttr("name")),!t.isMobile()||a.forceCustomRendering?(t.E.attr("name")&&t.select.addClass("sumo_".concat(t.E.attr("name").replace(/\[\]/,""))),t.E.addClass("SumoUnder").attr("tabindex","-1"),t.optDiv=e('<div class="optWrapper '.concat(a.up?"up":"",'">')),t.floatingList(),t.ul=e('<ul class="options">'),t.optDiv.append(t.ul),a.selectAll&&t.is_multi&&!a.max&&t.SelAll(),a.search&&t.Search(),t.ul.append(t.prepItems(t.E.children())),t.is_multi&&t.multiSelelect(),t.select.append(t.optDiv),t._handleMax(),t.basicEvents(),t.selAllState()):t.setNativeMobile()},prepItems:function(t,n){var o=[],i=this;return e(t).each((function(t,a){var r=e(a);o.push(r.is("optgroup")?e('<li class="group '.concat(a.disabled?"disabled":"",'"><label></label><ul></ul></li>')).find("label").text(r.attr("label")).end().find("ul").append(i.prepItems(r.children(),a.disabled)).end():i.createLi(r,n))})),o},createLi:function(t,n){var o=this;t.attr("value")||t.attr("value",t.val());var i=e('<li class="opt"><label>'.concat(t.html(),"</label></li>"));return i.data("opt",t),t.data("li",i),o.is_multi&&i.prepend("<span><i></i></span>"),(t[0].disabled||n)&&i.addClass("disabled"),o.onOptClick(i),t[0].selected&&(i.addClass("selected"),o.selectedCount++),t.attr("class")&&i.addClass(t.attr("class")),t.attr("title")&&i.attr("title",t.attr("title")),a.renderLi(i,t)},getSelStr:function(){var t=[];return this.E.find("option:checked").each((function(){t.push(e(this).val())})),t.join(a.csvSepChar)},multiSelelect:function(){var t=this;t.optDiv.addClass("multiple"),t.okbtn=e('<p tabindex="0" class="btnOk"></p>').click((function(){t._okbtn(),t.hideOpts()}));var n=s(a.locale,1);t.okbtn[0].innerText=n[0],t.cancelBtn=e('<p tabindex="0" class="btnCancel"></p>').click((function(){t._cnbtn(),t.hideOpts()}));var o=s(a.locale,2);t.cancelBtn[0].innerText=o[1];var i=t.okbtn.add(t.cancelBtn);
1t.optDiv.append(e('<div class="MultiControls">').append(i)),i.on("keydown.sumo",(function(n){var o=e(this);switch(n.which){case 32:case 13:o.trigger("click");break;case 9:if(o.hasClass("btnOk"))return;break;case 27:return t._cnbtn(),void t.hideOpts()}n.stopPropagation(),n.preventDefault()}))},_okbtn:function(){var e=this,t=0;a.triggerChangeCombined&&(e.E.find("option:checked").length!==e.Pstate.length?t=1:e.E.find("option").each((function(n,o){o.selected&&e.Pstate.indexOf(n)<0&&(t=1)})),t&&(e.callChange(),e.setText()))},_cnbtn:function(){var e=this;e.E.find("option:checked").each((function(){this.selected=!1})),e.optDiv.find("li.selected").removeClass("selected");for(var t=0;t<e.Pstate.length;t++)e.E.find("option")[e.Pstate[t]].selected=!0,e.ul.find("li.opt").eq(e.Pstate[t]).addClass("selected");e.selAllState()},_handleMax:function(){a.max&&(this.selectedCount>=+a.max?this.optDiv.find("li.opt").not(".hidden").each((function(t,n){e(n).hasClass("selected")||e(n).addClass("temporary-disabled disabled")})):this.optDiv.find("li.opt").not(".hidden").each((function(t,n){e(n).hasClass("temporary-disabled")&&e(n).removeClass("temporary-disabled disabled")})))},SelAll:function(){var t=this;if(t.is_multi){t.selAll=e('<p class="select-all"><span><i></i></span><label></label></p>');var n=s(a.locale,3);t.selAll.find("label")[0].innerText=n[2],t.optDiv.addClass("selall"),t.selAll.on("click",(function(){t.selAll.toggleClass("selected"),t.toggSelAll(t.selAll.hasClass("selected"),1)})),t.optDiv.prepend(t.selAll)}},Search:function(){var n=this,o=n.CaptionCont.addClass("search"),i=e('<p class="no-match">'),r=t.searchFn&&"function"==typeof t.searchFn?t.searchFn:a.searchFn;n.ftxt=e('<input type="text" class="search-txt" value="" autocomplete="off">').on("click",(function(e){e.stopPropagation()})),n.ftxt.placeholder=a.searchText,o.append(n.ftxt),n.optDiv.children("ul").after(i),n.ftxt.on("keyup.sumo",(function(){var t=n.optDiv.find("ul.options li.opt").each((function(t,o){var i=e(o),a=i.data("opt")[0];a.hidden=r(i.text(),n.ftxt.val()),i.toggleClass("hidden",a.hidden)})).not(".hidden");n.optDiv[0].querySelectorAll("li.group").forEach((function(e){e.querySelector("li:not(.hidden)")?e.classList.remove("hidden"):e.classList.add("hidden")})),i.html(a.noMatch.replace(/\{0\}/g,"<em></em>")).toggle(!t.length),i.find("em").text(n.ftxt.val()),n.selAllState()}))},selAllState:function(){var t=this;if(a.selectAll&&t.is_multi){var n=0,o=0;t.optDiv.find("li.opt").not(".hidden .disabled").each((function(t,i){e(i).hasClass("selected")&&n++,o++})),n===o?t.selAll.removeClass("partial").addClass("selected"):0===n?t.selAll.removeClass("selected partial"):t.selAll.addClass("partial")}},showOpts:function(){var t=this;if(!t.E.attr("disabled")){if(t.E.trigger("sumo:opening",t),t.is_opened=!0,t.select.addClass("open").attr("aria-expanded","true"),t.E.trigger("sumo:opened",t),t.ftxt?t.ftxt.focus():t.select.focus(),e(document).on("click.sumo",(function(e){if(!t.select.is(e.target)&&0===t.select.has(e.target).length){if(!t.is_opened)return;t.hideOpts(),a.okCancelInMulti&&(a.isClickAwayOk?t._okbtn():t._cnbtn())}})),t.is_floating){var n=t.optDiv.children("ul").outerHeight()+2;t.is_multi&&(n+=+t.optDiv.css("padding-bottom")),t.optDiv.css("height",n),e("body").addClass("sumoStopScroll")}t.setPstate()}},setPstate:function(){var e=this;e.is_multi&&(e.is_floating||a.okCancelInMulti)&&(e.Pstate=[],e.E.find("option").each((function(t,n){n.selected&&e.Pstate.push(t)})))},callChange:function(){this.E.get().forEach((function(e){n(e,"change"),n(e,"click")}))},hideOpts:function(){var t=this;t.is_opened&&(t.E.trigger("sumo:closing",t),t.is_opened=!1,t.select.removeClass("open").attr("aria-expanded","false").find("ul li.sel").removeClass("sel"),t.E.trigger("sumo:closed",t),e(document).off("click.sumo"),e("body").removeClass("sumoStopScroll"),a.search&&(t.ftxt.val(""),t.ftxt.trigger("keyup.sumo")))},setOnOpen:function(){var e=this,t=e.optDiv.find("li.opt:not(.hidden)").eq(a.search?0:e.E[0].selectedIndex);t.hasClass("disabled")&&!(t=t.next(":not(disabled)")).length||(e.optDiv.find("li.sel").removeClass("sel"),t.addClass("sel"),e.showOpts())},nav:function(e){var t=this,n=null,o=t.ul.find("li.opt.sel:not(.hidden)"),i=t.ul.find("li.opt:not(.disabled):not(.hidden)"),a=i.index(o);if(t.is_opened&&o.length){if(e&&a>0)n=i.eq(a-1);else{if(!(!e&&a<i.length-1&&a>-1))return;n=i.eq(a+1)}o.removeClass("sel"),o=n.addClass("sel");var r=t.ul,s=r.scrollTop(),l=o.position().top+s;l>=s+r.height()-o.outerHeight()&&r.scrollTop(l-r.height()+o.outerHeight()),l<s&&r.scrollTop(l)}else t.setOnOpen()},basicEvents:function(){var t=this;t.CaptionCont.click((function(e){t.E.trigger("click"),t.is_opened?t.hideOpts():t.showOpts(),e.stopPropagation()}
1)),t.select.on("keydown.sumo",(function(e){switch(e.which){case 38:t.nav(!0);break;case 40:t.nav(!1);break;case 65:if(t.is_multi&&!a.max&&e.ctrlKey){t.toggSelAll(!e.shiftKey,1);break}return;case 32:if(a.search&&t.ftxt.is(e.target))return;break;case 13:t.is_opened?t.optDiv.find("ul li.sel").trigger("click"):t.setOnOpen();break;case 9:return void(a.okCancelInMulti||t.hideOpts());case 27:return a.okCancelInMulti&&t._cnbtn(),void t.hideOpts();default:return}e.preventDefault()})),e(window).on("resize.sumo",(function(){t.floatingList()}))},onOptClick:function(t){var n=this;t.click((function(){var t=e(this);t.hasClass("disabled")||(n.is_multi?(t.toggleClass("selected"),t.data("opt")[0].selected=t.hasClass("selected"),!1===t.data("opt")[0].selected?(n.lastUnselected=t.data("opt")[0].textContent,n.selectedCount--):n.selectedCount++,a.max&&n._handleMax(),n.selAllState()):(t.parent().find("li.selected").removeClass("selected"),t.toggleClass("selected"),t.data("opt")[0].selected=!0,n.selectedCount=1),n.is_multi&&a.triggerChangeCombined&&(n.is_floating||a.okCancelInMulti)||(n.setText(),n.callChange()),n.is_multi||n.hideOpts())}))},setText:function(){var e=this;if(e.placeholder="",e.is_multi){var t=e.E.find(":checked").not(":disabled");a.csvDispCount&&t.length>a.csvDispCount?t.length===e.E.find("option").length&&a.captionFormatAllSelected?e.placeholder=a.captionFormatAllSelected.replace(/\{0\}/g,t.length):e.placeholder=a.captionFormat.replace(/\{0\}/g,t.length):e.placeholder=t.toArray().map((function(e){return e.innerText})).join(", ")}else e.placeholder=e.E.find(":checked").not(":disabled").text();var n=!1;e.placeholder||(n=!0,e.placeholder=e.E.attr("placeholder"),e.placeholder||(e.placeholder=e.E.find("option:disabled:checked").text())),e.placeholder=e.placeholder?"".concat(a.prefix," ").concat(e.placeholder):a.placeholder,e.caption.text(e.placeholder),a.showTitle&&e.CaptionCont.attr("title",e.placeholder);var o=e.select.find("input.HEMANT123");return o.length&&o.val(e.getSelStr()),n?e.caption.addClass("placeholder"):e.caption.removeClass("placeholder"),e.placeholder},isMobile:function(){for(var e=navigator.userAgent||navigator.vendor||window.opera,t=0;t<a.nativeOnDevice.length;t++)if(e.toString().toLowerCase().indexOf(a.nativeOnDevice[t].toLowerCase())>0)return a.nativeOnDevice[t];return!1},setNativeMobile:function(){var e=this;e.E.addClass("SelectClass"),e.mob=!0,e.E.change((function(){e.setText()}))},floatingList:function(){var t=this;t.is_floating=e(window).width()<=a.floatWidth,t.optDiv.toggleClass("isFloating",t.is_floating),t.is_floating||t.optDiv.css("height",""),t.optDiv.toggleClass("okCancelInMulti",a.okCancelInMulti&&!t.is_floating)},vRange:function(e){if(this.E.find("option").length<=e||e<0)throw new Error("index out of bounds");return this},toggSel:function(t,n){var o=this,i=null;"number"==typeof n?(o.vRange(n),i=o.E.find("option")[n]):i=o.E.find('option[value="'.concat(n,'"]'))[0]||0,i&&!i.disabled&&i.selected!==t&&(a.max&&!i.selected&&o.selectedCount<a.max||i.selected||!a.max&&!i.selected)&&(i.selected=t,o.mob||e(i).data("li").toggleClass("selected",t),o.callChange(),o.setPstate(),o.setText(),o.selAllState())},toggDis:function(e,t){var n=this.vRange(t);n.E.find("option")[t].disabled=e,e&&(n.E.find("option")[t].selected=!1),n.mob||n.optDiv.find("ul.options li.opt").eq(t).toggleClass("disabled",e).removeClass("selected"),n.setText()},toggSumo:function(e){var t=this;return t.enabled=e,t.select.toggleClass("disabled",e),e?(t.E.attr("disabled","disabled"),t.select.removeAttr("tabindex")):(t.E.removeAttr("disabled"),t.select.attr("tabindex","0")),t},toggSelAll:function(t,n){var o=this,i=e.extend(!0,{},e._data(o.E.get(0),"events"));o.E.off(),o.is_multi?t?o.E.find("option:not(:checked):not(:disabled):not(:hidden)").toArray().forEach((function(t){e(t).data("li").hasClass("hidden")||(t.selected=!0,e(t).data("li").toggleClass("selected",!0))})):o.E.find("option:checked:not(:disabled):not(:hidden)").toArray().forEach((function(t){e(t).data("li").hasClass("hidden")||(t.selected=!1,e(t).data("li").toggleClass("selected",!1))})):t?console.warn("You called `SelectAll` on a non-multiple select"):o.E[0].selectedIndex=-1,e.each(i,(function(t,n){e.each(n,(function(e,t){o.E.on(t.type,t.handler)}))})),o.callChange(),n||(!o.mob&&o.selAll&&o.selAll.removeClass("partial").toggleClass("selected",!!t),o.setText(),o.setPstate())},reload:function(){var t=this.unload();return e(t).SumoSelect(a)},unload:function(){var e=this;return e.select.before(e.E),e.E.show(),e.E[0].classList.remove("SumoUnder"),a.outputAsCSV&&e.is_multi&&e.select.find("input.HEMANT123").length&&e.E.attr("name",e.select.find("input.HEMANT123").attr("name")),e.select.remove(),delete i.sumo,e.E.trigger("sumo:unloaded",e),i},add:function(t,n,o,a){if(void 0===t)throw new Error("No value to add");var s=this,l=s.E.find("option"),c=t,u=n,d=o;"number"==typeof n?(d=n,u=t):void 0===n&&(u=t);var p=e("<option></option>").val(c).html(u);if(a&&"object"===r(a)&&e.each(a,(function(e,t){p.attr(e,t)})),l.length<d)throw new Error("index out of bounds");return void 0===d||l.length===d?(s.E.append(p),s.mob||s.ul.append(s.createLi(p))):(l.eq(d).before(p),s.mob||s.ul.find("li.opt").eq(d).before(s.createLi(p))),i},remove:function(e){var t=this.vRange(e);t.E.find("option").eq(e).remove(),t.mob||t.optDiv.find("ul.options li.opt").eq(e).remove(),t.setText()},removeAll:function(){for(var e=this.E.find("option"),t=e.length-1;t>=0;t--)!0!==e[t].selected&&this.remove(t)},find:function(e){var t=this.E.find("option");for(var n in t)if(t[n].value===e)return+n;return-1},selectItem:function(e){this.toggSel(!0,e)},unSelectItem:function(e){this.toggSel(!1,e)},selectAll:function(){this.toggSelAll(!0)},unSelectAll:function(){this.toggSelAll(!1)},disableItem:function(e){this.toggDis(!0,e)},enableItem:function(e){this.toggDis(!1,e)},enabled:!0,enable:function(){return this.toggSumo(!1)},disable:function(){return this.toggSumo(!0)},init:function(){var e=this;return e.createElems(),e.setText(),e.E.trigger("sumo:initialized",e),e}},i.sumo.init()}}));return 1===i.length?i[0]:i}})?o.apply(t,i):o)||(e.exports=a)}()},function(e,t){e.exports=jQuery}
1,function(e,t){({init:function(){this.breadcrumbOveride()},breadcrumbOveride:function(){var e=document.querySelector("body.search-results"),t=document.querySelector("body.single-post");e&&(document.querySelector(".breadcrumb_last").innerHTML="Search result");if(t){var n=document.querySelector(".breadcrumb_last"),o=n.innerHTML,i=[];if(window.innerWidth>765)var a=60;else a=20;for(var r=0;r<a;r+=1){var s=o.slice(r,r+1);i.push(s)}n.innerHTML=i.join("")+"..."}}}).init()},function(e,t){function n(e){return(n="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)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.teases=document.querySelectorAll(".tease--post__item"),this.teases.length&&this.hoverHandler()},(t=[{key:"hoverHandler",value:function(){this.teases.forEach((function(e){e.addEventListener("mouseenter",(function(){e.querySelector(".title-post .text").classList.add("hovered")})),e.addEventListener("mouseleave",(function(){e.querySelector(".title-post .text").classList.remove("hovered")}))}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())},function(e,t){var n=document.querySelectorAll(".dynamic-height");function o(){n.forEach((function(e){e.style.setProperty("--full",window.innerHeight+"px")}))}window.addEventListener("load",o),window.addEventListener("scroll",o),window.addEventListener("resize",o)},function(e,t){function n(e){return(n="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)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modules=document.querySelectorAll(".magic-scroll-section"),this.moduleSticked=document.querySelector(".donate-cta.sticked")},(t=[{key:"init",value:function(){this.modules&&this.stickedElement()}},{key:"stickedElement",value:function(){this.modules.forEach((function(e){var t=e.previousElementSibling,n=e.nextElementSibling;document.addEventListener("scroll",(function(){var o=t.getBoundingClientRect(),i=n.getBoundingClientRect(),a=e.getBoundingClientRect(),r=o.bottom,s=i.top;a.top,r<=50&&s>0&&(document.body.classList.contains("magic-scroll")||(document.body.classList.add("magic-scroll"),document.body.classList.contains("search-active")&&(document.body.classList.remove("search-active"),document.querySelector(".searchbox").style.display="none"))),(r<0&&s<0||r>0&&s>0)&&document.body.classList.contains("magic-scroll")&&document.body.classList.remove("magic-scroll")}))}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init()},,,,,,,,,,,,,,,,function(e,t){jQuery((function(e){e((function(){var t=e(".page-reader-progress__inner");if(e(document).on("scroll resize",(function(){!function(){if(t.length){var e=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100;t.width(e+"%")}}()})),t.length&&e("body").addClass("has-page-reader"),t.length){var n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,n=e/t;return Math.round(100*n)/100}(function(e){return e.trim().split(/\s+/).length}(e(".content-wrap").text()));e(".time-estimate").html(n+" mins")}}))}))},function(e,t){function n(e){return(n="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)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=document.querySelector(".cursor"),this.clickableElements="a, button, .swiper-pagination, .swiper-navigation, .swiper-button-next, .swiper-button-prev, .articles-image, .tease-image, .cursor-click, .pause-btn, .play-btn",this.disabledElements=".form-control, input, textarea, #wpadminbar",this.dragableElements=".portfolio-card__content, .service-carousel__slider",this.hoverOnlyElements=".twin-cur-target",this.playPauseElements=".cursor-play-pause",this.viewElements=".cursor-view",this.clientX=0,this.clientY=0},(t=[{key:"init",value:function(){document.body.contains(this.element)&&(this.resetCursorClassOnLoad(),this.renderCursor(),this.detectViewElements(),this.reinitOnAjaxCompleted())}},{key:"renderCursor",value:function(){var e=this;document.addEventListener("mousemove",(function(t){document.body.classList.contains("barba-loading")||(e.clientX=t.clientX,e.clientY=t.clientY,e.element.classList.contains("moving")||e.element.classList.add("moving"))})),requestAnimationFrame((function t(){0!==e.clientX&&0!==e.clientY?e.element.style.transform="translate3d(".concat(e.clientX,"px, ").concat(e.clientY,"px, 0)"):e.element.classList.contains("moving")&&e.element.classList.remove("moving"),requestAnimationFrame(t)}))}},{key:"resetCursorClassOnLoad",value:function(){this.element.classList.remove("tease"),this.element.classList.remove("clickable"),this.element.classList.remove("mouse-hover"),this.element.classList.remove("disable-blend")}},{key:"detectPlayPause",value:function(){var e=this;
1document.querySelectorAll(this.playPauseElements).forEach((function(t){t.addEventListener("mouseenter",(function(n){e.element.classList.add("play-pause"),t.querySelector(".plyr.plyr--paused")?(e.element.classList.add("pause"),e.element.querySelector(".cursor__play-pause > span").innerHTML="Pause<br>video"):(e.element.classList.add("play"),e.element.querySelector(".cursor__play-pause > span").innerHTML="View<br>video")})),t.addEventListener("mouseleave",(function(t){e.element.classList.remove("play-pause","play","pause")})),t.addEventListener("click",(function(){var t=e.element.querySelector(".cursor__play-pause > span");t.style.opacity="0",setTimeout((function(){e.element.classList.contains("play")?(e.element.classList.remove("play"),e.element.classList.add("pause"),t.innerHTML="Pause<br>video"):e.element.classList.contains("pause")&&(e.element.classList.remove("pause"),e.element.classList.add("play"),t.innerHTML="View<br>video"),t.style.opacity="1"}),300)}))}))}},{key:"detectViewElements",value:function(){var e=this;document.querySelectorAll(this.viewElements).forEach((function(t){t.addEventListener("mouseenter",(function(n){var o=t.getAttribute("data-post-type");"video"==o?t.querySelector(".plyr.plyr--paused")?(e.element.classList.add("view-"+o),e.element.querySelector(".cursor__view > span").innerHTML="View<br>"+o):(e.element.classList.add("view-"+o),e.element.querySelector(".cursor__view > span").innerHTML="Pause<br>"+o):(e.element.classList.add("view-"+o),e.element.querySelector(".cursor__view > span").innerHTML="View<br>"+o)})),t.addEventListener("mouseleave",(function(n){var o=t.getAttribute("data-post-type");e.element.classList.remove("view-"+o)}))}))}},{key:"detectClickableElements",value:function(){var e=this;document.querySelectorAll(this.clickableElements).forEach((function(t){t.addEventListener("mouseenter",(function(n){e.element.classList.add("clickable"),t.classList.contains("btn")||(t.closest(".accordion-items__wrapper")&&(t.closest(".accordion-items__wrapper").classList.contains("active")?(e.element.classList.add("close"),e.element.querySelector(".cursor__drag > span").innerHTML="Close"):(e.element.classList.add("expand"),e.element.querySelector(".cursor__drag > span").innerHTML="Expand")),t.closest(".tease--career.accordion-init")&&(t.closest(".tease--career.accordion-init").classList.contains("active")?(e.element.classList.add("close"),e.element.querySelector(".cursor__drag > span").innerHTML="Close"):(e.element.classList.add("expand"),e.element.querySelector(".cursor__drag > span").innerHTML="Expand")))})),t.addEventListener("mouseleave",(function(t){e.element.classList.remove("clickable","close","expand")})),t.addEventListener("click",(function(){if(t.closest(".accordion-items__wrapper")){var n=e.element.querySelector(".cursor__drag > span");n.style.opacity="0",setTimeout((function(){e.element.classList.contains("expand")?(e.element.classList.remove("expand"),e.element.classList.add("close"),n.innerHTML="Close"):e.element.classList.contains("close")&&(e.element.classList.remove("close"),e.element.classList.add("expand"),n.innerHTML="Expand"),n.style.opacity="1"}),300)}if(t.closest(".tease--career.accordion-init")){var o=e.element.querySelector(".cursor__drag > span");o.style.opacity="0",setTimeout((function(){e.element.classList.contains("expand")?(e.element.classList.remove("expand"),e.element.classList.add("close"),o.innerHTML="Close"):e.element.classList.contains("close")&&(e.element.classList.remove("close"),e.element.classList.add("expand"),o.innerHTML="Expand"),o.style.opacity="1"}),300)}}))}))}},{key:"detectDragableElements",value:function(){var e=this;document.querySelectorAll(this.dragableElements).forEach((function(t){t.addEventListener("mouseenter",(function(n){t.classList.contains("btn")||(e.element.classList.add("dragable"),e.element.querySelector(".cursor__drag > span").innerHTML="Drag")})),t.addEventListener("mouseleave",(function(t){e.element.classList.remove("dragable")}))}))}},{key:"hoverElements",value:function(){var e=this;document.querySelectorAll(this.hoverOnlyElements).forEach((function(t){t.addEventListener("mouseenter",(function(t){e.element.classList.add("mouse-hover")})),t.addEventListener("mouseleave",(function(t){e.element.classList.remove("mouse-hover")}))}))}},{key:"detectSlider",value:function(){if(document.querySelector(".cursor-slide")){var e=this;document.querySelectorAll(".cursor-slide").forEach((function(t){t.addEventListener("mouseenter",(function(n){e.element.classList.add("slider"),t.classList.contains("swiper-button-prev")&&e.element.classList.add("mouse-on-left"),t.classList.contains("swiper-button-disabled")&&e.element.classList.add("disabled"),t.addEventListener("click",(function(){t.classList.contains("swiper-button-disabled")&&e.element.classList.add("disabled")}))})),t.addEventListener("mouseleave",(function(t){e.element.classList.remove("slider","mouse-on-left","disabled")}))}))}}},{key:"reinitOnAjaxCompleted",value:function(){var e=this;document.querySelector(".jb-ajax__lists")&&document.querySelector(".jb-ajax__lists").addEventListener("on-ajax-complete",(function(t){e.resetCursorClassOnLoad(),e.renderCursor(),e.detectPlayPause(),e.detectViewElements(),e.detectSlider()}
1)),document.addEventListener("al-ajax-complete",(function(t){e.resetCursorClassOnLoad(),e.renderCursor(),e.detectPlayPause(),e.detectViewElements(),e.detectSlider()}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init()},,,,,function(e,t){function n(e){return(n="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)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".annual-report")},(t=[{key:"init",value:function(){this.module&&(this.loadMoreList=this.module.querySelector(".annual-report__reports--wrap"),this.loadMoreDevList())}},{key:"loadMoreDevList",value:function(){var e=this.loadMoreList,t=e.querySelectorAll(".annual-report__reports--item"),n=this.module.querySelector(".annual-report__loadmore a");if(window.innerWidth>767)var o=6,i=12;else o=4,i=8;var a=o,r=i;n&&n.addEventListener("click",(function(){var n=this;e.classList.add("loading");var i="div:nth-child(n+".concat(a,"):nth-child(-n+").concat(r,")");setTimeout((function(){e.querySelectorAll(i).forEach((function(e){return e.style.display="block"})),t.length<=r?n.remove():(a+=o,r+=o),e.classList.remove("loading")}),800)}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init()},function(e,t){function n(e){return(n="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)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,i(o.key),o)}}function i(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".donate-cta"),this.moduleSticked=document.querySelector(".donate-cta.sticked")},(t=[{key:"init",value:function(){this.moduleSticked&&this.stickedElement()}},{key:"stickedElement",value:function(){var e=this,t=this.moduleSticked.previousElementSibling,n=this.moduleSticked.nextElementSibling;document.addEventListener("scroll",(function(){var o=t.getBoundingClientRect(),i=n.getBoundingClientRect(),a=o.bottom,r=i.top;a<=50&&r>0&&(document.body.classList.contains("donate-sticked")||(e.moduleSticked.classList.add("animate"),document.body.classList.add("donate-sticked"),document.body.classList.contains("search-active")&&(document.body.classList.remove("search-active"),document.querySelector(".searchbox").style.display="none"))),(a<0&&r<0||a>0&&r>0)&&document.body.classList.contains("donate-sticked")&&(e.moduleSticked.classList.remove("animate"),document.body.classList.remove("donate-sticked"))}))}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init()},,,,,function(e,t,n){"use strict";n.r(t);n(24),n(25);var o=n(3),i=n(1);function a(e){return(a="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)}function r(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,s(o.key),o)}}function s(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=a(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".related-stories"),this.element=document.querySelector(".related-stories__
1carousel.swiper")},(t=[{key:"init",value:function(){var e=this;document.addEventListener("DOMContentLoaded",(function(){e.element&&e.swiperInit()}))}},{key:"swiperInit",value:function(){new o.a(this.element,{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,breakpoints:{0:{spaceBetween:24,slidesPerView:1.2,loop:!1,navigation:{nextEl:".swiper-button-next.related-story.mobile",prevEl:".swiper-button-prev.related-story.mobile"}},765:{spaceBetween:24,slidesPerView:2.2,loop:!1,navigation:{nextEl:".swiper-button-next.related-story.mobile",prevEl:".swiper-button-prev.related-story.mobile"}},991:{slidesPerView:3,spaceBetween:32,loop:!1,navigation:{nextEl:".swiper-button-next.related-story.desktop",prevEl:".swiper-button-prev.related-story.desktop"}}},pagination:{el:".swiper-pagination.related-story",type:"progressbar"},on:{init:function(e){e.navigation&&e.navigation.destroy(),e.navigation.prevEl.classList.add("swiper-button-disabled")}}})}}])&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var l=n(13),c=n.n(l),u="768",d=[{elementType:"geometry",stylers:[{color:"#293859"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#ffffff"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"administrative.neighborhood",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.business",stylers:[{visibility:"off"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"labels",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"road.arterial",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.highway",elementType:"labels",stylers:[{color:"#ffffff"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",stylers:[{color:"#ffffff"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit",stylers:[{visibility:"off"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#101e38"}]},{featureType:"water",elementType:"labels.text",stylers:[{visibility:"off"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#101e38"}]}];function p(e){return(p="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)}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,f(o.key),o)}}function f(e){var t=function(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==p(t)?t:t+""}var h=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},n=[{key:"init",value:function(){var e=c()(),t=c()();e.threshold(.2),jQuery(".jb-scroll").each((function(e,n){t.is(n)||jQuery(n).addClass("jb-scroll-init")})),e(".jb-scroll").on("enter",(function(e){e.inViewDone||jQuery(e).addClass("in-view")})).on("exit",(function(e){return e.inViewDone=!0}))}}],(t=null)&&m(e.prototype,t),n&&m(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();jQuery((function(e){e(window).width()>u&&setTimeout(h.init,500)}));n(26),n(27);var y=n(14),v=n.n(y),b=function(){v()({threshold:.02});var e=document.querySelector(".sticky-wrapper");e&&e.addEventListener("on-element-detach",(function(e){v()({threshold:.2})}))};
1b(),document.addEventListener("al-ajax-complete",(function(){b()}));var g=n(9),w=n.n(g);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)}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_(o.key),o)}}function _(e){var t=function(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=S(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==S(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.players={}},(t=[{key:"DOMElements",value:function(){this.elements=document.querySelectorAll(".vide-wrapper"),this.playerEL=document.querySelectorAll(".video-player")}},{key:"init",value:function(){this.DOMElements(),this.elements&&this.addInteractionListener()}},{key:"addInteractionListener",value:function(){var e=this,t=function t(){e.videoInitiated||(e.initPlayers(),e.videoEvents(".video-wrapper"),e.videoInitiated=!0),document.removeEventListener("mousemove",t),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)};document.addEventListener("mousemove",t),document.addEventListener("keydown",t),document.addEventListener("mousedown",t),document.addEventListener("touchstart",t)}},{key:"initPlayers",value:function(){var e=this;document.body.contains(this.playerEL[0])&&Array.from(this.playerEL).forEach((function(t){var n=t.getAttribute("data-video-id"),o=t.getAttribute("data-autoplay"),i=t.getAttribute("data-src"),a=document.createElement("iframe");a.src=i,a.frameBorder="0",t.innerHTML="",t.appendChild(a);var r={video_id:n,autoplay:o,muted:!0,resetOnEnd:!1,ratio:"16:9",loop:{active:!1},vimeo:{autopause:!1,background:!0,loop:!0},youtube:{rel:0,modestbranding:1,origin:window.location.hostname,playsinline:!0},quality:{default:1080,options:[4320,2880,2160,1440,1080]},previewThumbnails:{enabled:!1,src:""}};"true"==o?(r.autoplay=!0,r.muted=!0,r.resetOnEnd=!0):(r.autoplay=!1,r.muted=!0,r.resetOnEnd=!0),e.players[n]=new w.a(t,r),e.players[n]&&null!=e.players[n].elements.container&&e.players[n].elements.container.querySelector("iframe")&&(e.players[n].elements.container.querySelector("iframe").tabIndex=-1),document.body.style.overflowX="hidden"}))}},{key:"videoEvents",value:function(e){for(var t,n,o=this,i=function(){var i=r[a],s=o.players[i];if(null==s.elements.container)return 1;var l=s.elements.container.closest(e);s.on("ready",(function(e){if(!0===s.config.autoplay&&!s.playing){var t=s.play();s.muted=!0,o.thumbnail&&setTimeout((function(){o.thumbnail.classList.remove("active")}),800),null!=t&&t.then((function(){s.pause(),s.currentTime=0,s.play()}))}})),s.on("statechange",(function(e){1==e.detail.code&&l.classList.add("is-playing")})),s.on("pause",(function(e){l.classList.remove("is-playing")})),s.on("ended",(function(e){if(!0!==s.config.autoplay||s.playing)l.classList.remove("is-playing");else{var t=s.play();s.muted=!0,null!=t&&t.then((function(){s.pause(),s.currentTime=0,setTimeout((function(){s.play()}),100)}))}})),t=l.querySelector(".video-button-play"),n=l.querySelector(".video-thumbnail"),t&&t.addEventListener("click",(function(){s.playing?(s.pause(),n.classList.add("active"),t.style.opacity=1):(s.play(),n.classList.remove("active"),t.style.opacity=0)}))},a=0,r=Object.keys(this.players);a<r.length;a++)i()}}])&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var k=n(4);function E(e){return(E="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)}function x(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,A(o.key),o)}}function A(e){var t=function(e,t){if("object"!=E(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=E(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==E(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=document.querySelector(".running-text")},(t=[{key:"init",value:function(){this.element&&this.textRunningAnimate()}}
1,{key:"textRunningAnimate",value:function(){var e=this,t=this.element.querySelector(".main-title").innerText.split(" "),n=this.element.querySelector(".title-running");t.forEach((function(e,o){var i=document.createElement("span");i.classList.add("word-wrap"),e.split("").forEach((function(e){var t=document.createElement("span");t.classList.add("char"),t.textContent=e,t.style.display="inline-block",i.appendChild(t)})),n.appendChild(i),o<t.length-1&&n.appendChild(document.createTextNode(" "))})),this.element.querySelectorAll(".word-wrap").forEach((function(e){e.querySelector(".char"),e.innerHTML||(e.style.display="none")})),document.querySelectorAll('.char[style*="display: inline-block"]'),document.addEventListener("scroll",(function t(){e.element.classList.contains("sal-animate")&&(Object(k.a)({targets:'.char[style*="display: inline-block"]',opacity:1,delay:k.a.stagger(20),easing:"cubicBezier(.71,-0.77,.43,1.67)"}),document.removeEventListener("scroll",t))}))}}])&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var j=n(7),q=n.n(j),C={init:function(){window.addEventListener("load",(function(){C.addImageParallax()}))},addImageParallax:function(){q.a.init(),q.a.addDriver("scrollY",(function(){return window.scrollY})),q.a.addElements(".parallax",{scrollY:{translateY:[["elInY","elOutY"],{200:[-10,0],500:[-40,10],991:[-50,80]}]}}),q.a.addElements(".parallax-up",{scrollY:{translateY:[["elInY","elOutY"],{200:[0,-10],500:[20,0],991:[120,-20]}]}}),q.a.addElements(".parallax-down",{scrollY:{translateY:[["elInY","elOutY"],{500:[-10,0],991:[-40,120]}]}})}};C.init();n(28);var P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.boxSizing="border-box",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,window.setTimeout((function(){e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)},T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;e.style.display="block";var n=e.offsetHeight;e.style.overflow="hidden",e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0,e.style.marginTop=0,e.style.marginBottom=0,e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=n+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),window.setTimeout((function(){e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property")}),t)};function O(e){return(O="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)}function M(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,W(o.key),o)}}function W(e){var t=function(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=O(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==O(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=document.querySelector(".advanced-filter__form"),this.ajaxData=document.querySelector(".jb-ajax__data"),this.ajaxDataMobile=document.querySelector(".jb-ajax__data.mobile")},(t=[{key:"init",value:function(){this.filterToggle(),this.dropdownMultiple()}},{key:"filterToggle",value:function(){document.querySelectorAll(".jb-ajax__filter .main-cat").forEach((function(e){e.addEventListener("click",(function(t){t.target.classList.contains("active")?(P(t.target.nextElementSibling),e.parentElement.classList.remove("active"),e.classList.remove("active")):(T(t.target.nextElementSibling),e.parentElement.classList.add("active"),e.classList.add("active"))}))}))}},{key:"dropdownMultiple",value:function(){var e=this,t=document.querySelectorAll(".selectBox");jQuery((function(e){e(".selectBox").SumoSelect({placeholder:"Select item",csvDispCount:1,okCancelInMulti:!1,forceCustomRendering:!0,triggerChangeCombined:!1}),e(".SumoSelect li.opt label").each((function(t,n){e(n).attr("tabindex","0"),e(n).on("keydown",(function(t){"Enter"===t.key&&e(n).click()}))}))})),document.querySelector(".jb-ajax__data"),t.forEach((function(t){var n=t.getAttribute("data-id");t.addEventListener("change",(function(o){var i=Array.from(t.selectedOptions).map((function(e){return e.value}));window.innerWidth>1200?e.ajaxData.querySelector('input[name="'.concat(n,'"]')).value=i.join():e.ajaxDataMobile.querySelector('input[name="'.concat(n,'"]')).value=i.join()}))}))}}])&&M(e.prototype,t),n&&M(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();n(30),n(31),n(32),n(33),n(34);jQuery((function(e){var t=e(".header"),n=e(".hamburger"),o=(e(".header__nav"),e(".nav__toggle")),i=e(".header__mega-menu--close"),a=e(".header__mega-menu .nav__link"),r=e(".header__mega-menu .image-item"),s=e(".mega-menu-overlay"),l=e(".searchbox"),c=e(".hamburger-text"),u=e(".header__mega-menu__mobile-toggle .
1item");if(t){var d=e(window).height(),p=0;e(window).scroll((function(){var n=e(this).scrollTop();n<d?n>3*d?(t.addClass("header-hidden"),e(document.body).hasClass("header-hidden")||e(document.body).addClass("header-hidden"),l[0].style.display="none",e(document.body).removeClass("search-active")):(t.removeClass("header-hidden"),e(document.body).hasClass("header-hidden")&&e(document.body).removeClass("header-hidden")):n>p?(t.addClass("header-hidden"),e(document.body).hasClass("header-hidden")||e(document.body).addClass("header-hidden"),l[0].style.display="none",e(document.body).removeClass("search-active")):(t.removeClass("header-hidden"),e(document.body).hasClass("header-hidden")&&e(document.body).removeClass("header-hidden")),p=n<=0?0:n}))}n.on("click",(function(){document.body.classList.contains("nav-active")?(setTimeout((function(){document.body.style.overflowY="auto"}),600),document.body.classList.toggle("nav-active")):(document.body.classList.toggle("nav-active"),document.body.style.overflowY="hidden"),window.innerWidth<768&&(document.body.classList.contains("nav-active")?c[0].innerHTML="CLOSE":c[0].innerHTML="MENU")})),i.on("click",(function(){document.body.classList.contains("nav-active")?(setTimeout((function(){document.body.style.overflowY="auto"}),600),document.body.classList.toggle("nav-active")):document.body.classList.toggle("nav-active")})),s.on("click",(function(){document.body.classList.contains("nav-active")?(setTimeout((function(){document.body.style.overflowY="auto"}),600),document.body.classList.toggle("nav-active")):document.body.classList.toggle("nav-active")})),a.each((function(t,n){e(n).on("mouseenter",(function(){e(n).toggleClass("active"),r.each((function(t,o){n.getAttribute("data-index")===o.getAttribute("data-index")&&e(o).addClass("active")}))})),e(n).on("mouseleave",(function(){e(n).toggleClass("active"),r.each((function(t,o){n.getAttribute("data-index")===o.getAttribute("data-index")&&setTimeout((function(){e(o).removeClass("active")}),300)}))}))})),u.each((function(t,n){e(n).on("click",(function(){var t=e(n).attr("data-id");e("[data-menu]").each((function(o,i){e(i).attr("data-menu")===t?e(i).hasClass("active")?(e(i).removeClass("active"),e(n).removeClass("active")):(e(i).addClass("active"),e(n).addClass("active")):(e(i).removeClass("active"),e(".header__mega-menu__mobile-toggle .item[data-id='".concat(e(i).attr("data-menu"),"']")).each((function(t,n){e(n).removeClass("active")})))}))}))})),o.on("click",(function(t){e(t.currentTarget).parent().toggleClass("nav__li--submenu-open").end().next(".nav__submenu").slideToggle()})),e(".keyboard-nav a").on("click",(function(t){t.preventDefault();var n=e(t.target).attr("href"),o=e(t.target).data("speed")?e(t.target).data("speed"):800;window.scrollAnchorTo(n,o)}))}));var D=n(21),I=n.n(D);jQuery((function(e){var t=e(".header__search"),n=e(".searchbox__close"),o=e(".searchbox__form__input"),i=e(".searchbox__fuzzy"),a=e(".searchbox"),r=e(".hamburger"),s=e(".item.toggle-search");t.on("click",(function(){e(document.body).hasClass("search-active")?(e(document.body).removeClass("search-active"),window.innerWidth>991?P(a[0]):(a[0].style.display="none",r.click())):(e(document.body).addClass("search-active"),window.innerWidth>991?(T(a[0]),o.focus()):(a[0].style.display="none",r.click(),e(document.body).removeClass("search-active"),s.hasClass("active")||s.click()))})),n.on("click",(function(){e(document.body).removeClass("search-active")})),o.on("keyup",I()((function(t){var n=e(t.currentTarget).val();n.length||i.empty(),n.length<3||e.get("/",{s:n},(function(e){if(i.empty(),e.length){var t=[];t=e.map((function(e){return'<a href="'.concat(e.url,'" class="bold block searchbox__fuzzy__link">').concat(e.title,"</a>")})),i.append(t.join(""))}else i.append('<p class="bold searchbox__fuzzy__no-results">Sorry, there are no results for that search query.<p>')}),"json")}),500)),e(document).on("keydown",(function(t){e(document.body).hasClass("search-active")&&27===t.keyCode&&e(document.body).removeClass("search-active")}))}));n(49);function z(e){return(z="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)}function H(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,N(o.key),o)}}function N(e){var t=function(e,t){if("object"!=z(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=z(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==z(t)?t:t+""}o.a.use([i.d,i.e,i.c,i.a]);new(function(){return e=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.banner=document.querySelector(".banner"),this.slide=null,this.videoInitiated=!1,this.banner&&window.addEventListener("load",(function(){t.init()}))},(t=[{key:"init",value:function(){this.scrolling(),this.addInteractionListener()}},{key:"addInteractionListener",value:function(){var e=this,t=function t(){e.videoInitiated||(e.slider(),e.videoInitiated=!0),document.removeEventListener("mousemove",t),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)};document.addEventListener("mousemove",t),document.addEventListener("keydown",t),document.addEventListener("mousedown",t),document.addEventListener("touchstart",t)}},{key:"startVideo",value:function(){var e=document.querySelector(".video-player-banner");if(e){var t=new w.a(e,{muted:!0,resetOnEnd:!0,vimeo:{autopause:!0,background:!0},youtube:{rel:0,modestbranding:1,origin:window.location.hostname,playsinline:!0}});t.on("ready",(function(){setTimeout((function(){t.play(),t.muted=!0,!0===t.muted&&(t.muted=!1,setTimeout((function(){t.muted=!0}
1),10))}),100)})),t.on("ended",function(){this.swiper&&(this.swiper.slideNext(),this.swiper.autoplay.start())}.bind(this)),this.plyrVideo=t}}},{key:"scrolling",value:function(){var e=this;window.innerWidth>991?document.addEventListener("scroll",(function(){var t=e.banner.querySelector(".fluid-scroll"),n=window.pageYOffset||document.documentElement.scrollTop;if(t)if(n<=300){var o=.7+n/300*.3;t.style.scale=o}else t.style.scale="1"})):document.addEventListener("scroll",(function(){var t=e.banner.querySelector(".fluid-scroll"),n=window.pageYOffset||document.documentElement.scrollTop;if(t)if(t.classList.contains("stories-banner__image"))if(n<=200){var o=.8+n/200*.2,i=n/200*80-80;t.style.scale=o,t.style.marginTop=i+"px"}else t.style.scale="1",t.style.marginTop="0";else if(n<=200){var a=.8+n/200*.2,r=n/200*130-130;t.style.scale=a,t.style.marginTop=r+"px"}else t.style.scale="1",t.style.marginTop="0"}))}},{key:"slider",value:function(){var e,t=document.querySelector(".banner__slideshow"),n=document.querySelector(".banner.banner-home");if(e=window.innerWidth>991?".swiper-pagination.banner-home.hidden-until-lg":".swiper-pagination.banner-home.hidden-from-lg",t){var i,a,r=t.querySelector(".swiper"),s=document.querySelector(".video-player-banner");if(s){var l=s.getAttribute("data-src"),c=document.createElement("iframe");c.src=l,c.frameBorder="0",s.innerHTML="",s.appendChild(c),(i=new w.a(s,{muted:!0,resetOnEnd:!0,vimeo:{autopause:!0,background:!0},youtube:{rel:0,modestbranding:1,origin:window.location.hostname,playsinline:!0}})).on("ready",(function(){setTimeout((function(){i.play(),i.muted=!0,!0===i.muted&&(i.muted=!1,setTimeout((function(){i.muted=!0}),10))}),100)})),i.on("ended",(function(){a.slideNext(),a.autoplay.start()}))}a=new o.a(r,{loop:!0,speed:1e3,autoplay:{delay:5e3,disableOnInteraction:!1},effect:"fade",fadeEffect:{crossFade:!0},pagination:{el:e,clickable:!0,renderBullet:function(e,t){return'<span class="'+t+'">'+(e<9?"0":"")+(e+1)+'<div class="bar"></div></span>'}},on:{init:function(e){var t=e.slides[e.activeIndex].classList.contains("video-item");document.querySelector(".banner__slideshow--inner").classList.remove("loading"),document.querySelector(".banner__slideshow-thumbnail").classList.add("hidden"),t?(e.autoplay.stop(),setTimeout((function(){n.querySelector(".swiper-pagination-bullet-active .bar").style.setProperty("--animation-duration",i.duration+3+"s")}),2e3),i.playing||setTimeout((function(){i.play(),i.muted=!0,!0===i.muted&&(i.muted=!1,setTimeout((function(){i.muted=!0}),10))}),100)):e.autoplay.start()},slideChangeTransitionEnd:function(e){e.slides[e.activeIndex].querySelector(".plyr")&&i?(e.autoplay.stop(),n.querySelector(".swiper-pagination-bullet-active .bar").style.setProperty("--animation-duration",i.duration+3+"s"),setTimeout((function(){i.play(),i.muted=!0,!0===i.muted&&(i.muted=!1,setTimeout((function(){i.muted=!0}),10)),setTimeout((function(){a.slideNext(),a.autoplay.start()}),1e3*(i.duration+2))}),500)):a.autoplay.start()}}}),i&&i.on("ended",(function(){a.slideNext(),a.autoplay.start()}))}}}])&&H(e.prototype,t),n&&H(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());function B(e){return(B="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)}function R(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return V(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,r=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function F(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,U(o.key),o)}}function U(e){var t=function(e,t){if("object"!=B(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=B(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==B(t)?t:t+""}(new(function(){return function(e,t,n){return t&&F(e.prototype,t),n&&F(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){var t,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,o=function(e,t){var n=document.createElement("div");for(n.innerHTML=t;n.children.length>0;)n.children[0].classList.add("dim"),e.appendChild(n.children[0])},(n=U(n="appendHtml"))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,this.elm=".jb-ajax.desktop",this.elmFilter=".jb-ajax__filter",this.elmPagination=".jb-ajax__pagination",this.elmNavigation=".jb-ajax__navigation",this.elmLoadMore=".jb-ajax__loadmore",this.elmLists=".jb-ajax__lists",this.elmData=".jb-ajax__data",this.elmDisplayText=".jb-ajax__navigation__display-text",this.elmAdvFilter=".advanced-filter__form",this.elmMobile=".jb-ajax.mobile",this.elmFilterMobile=".jb-ajax__filter.mobile",this.elmPaginationMobile=".jb-ajax__pagination.mobile",this.elmNavigationMobile=".jb-ajax__navigation.mobile",this.elmLoadMoreMobile=".jb-ajax__loadmore.mobile",this.elmListsMobile=".jb-ajax__lists.mobile",this.elmDataMobile=".jb-ajax__data.mobile",this.elmDisplayTextMobile=".jb-ajax__navigation__display-text.mobile",this.elmAdvFilterMobile=".advanced-filter__form.mobile",this.breakPoints=991,this.data=[]}),[{key:"init",value:function(){var e=this,t=document.querySelectorAll(this.elm),n=document.querySelectorAll(this.elmMobile);if(t&&n){var o=document.querySelector(this.elmAdvFilter),i=document.querySelector(this.elm);o&&o.addEventListener("submit",(function(t){t.preventDefault();e.filter_process(t.target,i,!0)})),window.innerWidth>this.breakPoints?t.forEach((function(t){e.filter(t),e.pagination(t),e.loadMore(t)})):n.forEach((function(t){e.filterToggle(t),e.filter(t),e.pagination(t),e.loadMore(t)}))}}},{key:"filterToggle",value:function(e){var t=e.querySelector(".jb-ajax__filter"),n=e.querySelector(".jb-ajax__mobile-filter-toggle"),o=e.querySelector("ajax__filter-control
1s, .back-btn"),i=document.querySelector(".page-overlay");n&&n.addEventListener("click",(function(){t&&(t.classList.contains("active")?(t.classList.remove("active"),document.querySelector(".module.project-listing")?document.body.classList.remove("project-filter-active"):document.body.classList.remove("filter-active")):(t.classList.add("active"),document.querySelector(".module.project-listing")?document.body.classList.add("project-filter-active"):document.body.classList.add("filter-active")))})),o&&o.addEventListener("click",(function(){t.classList.contains("active")&&(t.classList.remove("active"),document.body.classList.remove("filter-active"))})),i.addEventListener("click",(function(){t.classList.contains("active")&&(t.classList.remove("active"),document.body.classList.remove("filter-active"))}))}},{key:"filter",value:function(e){var t=this,n=e.querySelectorAll(this.elmFilter);n&&n.forEach((function(n){n.querySelectorAll("[data-ajax-type]").forEach((function(n){switch(n.getAttribute("data-ajax-type")){case"list":t.list_filter(n,e);break;case"list-select":t.list_select_filter(n,e);break;case"input":t.input_filter(n,e);break;case"form":t.form_filter(n,e);break;case"select":case"checkbox":t.select_filter(n,e);break;case"year":t.year_filter(n,e)}}))}))}},{key:"year_filter",value:function(e,t){var n=this;e.addEventListener("click",(function(o){if(o.target.closest(".jb-ajax__filter--year--item ")==e){o.preventDefault();var i=o.target.closest(".jb-ajax__filter--year--item ");"year"==i.getAttribute("data-ajax")&&(i.closest(n.elmFilter).querySelectorAll('[data-ajax="year"]').forEach((function(e){e.classList.remove("active")})),i.classList.add("active"),o.target.closest("ul").classList.remove("active")),n.filter_process(i,t)}}))}},{key:"list_select_filter",value:function(e,t){var n=this;e.addEventListener("click",(function(o){if(o.target.closest(".jb-ajax__filter--item ")==e){o.preventDefault();var i=o.target.closest(".jb-ajax__filter--item ");if("category"==i.getAttribute("data-ajax")||"tag"==i.getAttribute("data-ajax")){var a=i.getAttribute("data-ajax");i.closest(n.elmFilter).querySelectorAll('[data-ajax="'+a+'"]').forEach((function(e){e.classList.remove("active")})),i.classList.add("active"),o.target.closest("ul").classList.remove("active")}n.filter_process(i,t)}}))}},{key:"list_filter",value:function(e,t){var n=this,o=document.querySelectorAll(".yacht-cat-desc");e.addEventListener("click",(function(i){if(i.target.closest(".jb-ajax__filter--item ")==e){i.preventDefault();var a=i.target.closest(".jb-ajax__filter--item ");o.forEach((function(e){e.querySelectorAll(".yacht-cat-desc__item").forEach((function(e){e.getAttribute("data-cat")==a.getAttribute("data-slug")?e.classList.add("active"):e.classList.remove("active")}))})),"category"==a.getAttribute("data-ajax")&&(a.closest(n.elmFilter).querySelectorAll('[data-ajax="category"]').forEach((function(e){e.classList.remove("active")})),a.classList.add("active")),n.filter_process(a,t)}}))}},{key:"input_filter",value:function(e,t){var n=this;e.addEventListener("keypress",(function(o){13==o.keyCode&&(o.preventDefault(),n.filter_process(e,t))}));var o=e.parentNode.querySelector(".submit-search");o&&o.addEventListener("click",(function(){n.filter_process(e,t)}))}},{key:"form_filter",value:function(e,t){var n=this;e.addEventListener("submit",(function(e){e.preventDefault();var o=t.querySelector(n.elmData);n.update_form_data(e.target,o),n.filter_process(e.target,t)}))}},{key:"select_filter",value:function(e,t){var n=this,o=t.querySelector("ajax__filter-controls, .apply-filter");e.addEventListener("change",(function(o){if(window.innerWidth>n.breakPoints){if(n.filter_process(o.target,t),e.closest(".toggle-wrap").classList.contains("active")){var i=e.closest(".toggle-wrap");i.classList.remove("active"),i.querySelector(".filter-toogle").classList.remove("active"),P(e.closest(".SumoSelect"))}}else{var a=t.querySelector(n.elmDataMobile);n.before_execution(o.target,a)}})),o&&o.addEventListener("click",(function(){n.filter_process(e,t,!0,!1,!0),document.body.classList.remove("filter-active")}))}},{key:"update_form_data",value:function(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new FormData(e),a=[],r=R(i.entries());try{for(r.s();!(n=r.n()).done;){var s=n.value;"features"!=s[0]?(t.querySelector('input[name="'.concat(s[0],'"]')).value=s[1],o&&o.set(s[0],s[1])):a.push(s[1])}}catch(e){r.e(e)}finally{r.f()}t.querySelector('input[name="features"]').value=a.join(),o&&o.set("features",a.join())}},{key:"pagination",value:function(e){var t=this;document.body.addEventListener("click",(function(n){var o=n.target;o&&o.hasAttribute("data-ajax")&&"pagination"==o.getAttribute("data-ajax")&&(n.preventDefault(),t.filter_process(n.target,e))}))}},{key:"loadMore",value:function(e){var t=this;document.body.addEventListener("click",(function(n){var o=n.target;o&&o.hasAttribute("data-ajax")&&"load_more"==o.getAttribute("data-ajax")&&(n.target.classList.add("button-loading"),t.filter_process(n.target,e,!0,!0))}))}},{key:"updateNextPage",value:function(e){var t=e.querySelector(this.elmData),n=t.querySelector('input[name="paging"]').value;t.querySelector('input[name="paging"]').value=parseInt(n)+1}},{key:"filter_process",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e,a=t;if(window.innerWidth>this.breakPoints)var r=a.querySelector(this.elmData);else r=a.querySelector(this.elmDataMobile);n&&(a.classList.add("is-loading"),document.body.classList.add("ajax-loading")),o||(r.querySelector('input[name="paging"]').value=1),this.before_execution(i,r),n&&this.run(a,r,o,i)}},{key:"before_execution",value:function(e,t){var n=new URLSearchParams(window.location.search);this.reset_params(t,n),this.update_params(e,t,n)}},{key:"run",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,a=themeData.ajax_url||!1,r=e.querySelector(this.elmLists),s=e.querySelector(this.elmPagination),l=e.querySelector(this.elmDisplayText),c=document.querySelector(this.elmLoadMore),u=t.querySelector('input[name="post_type"]').value,d=(t.querySelector('input[name="paging"]').value,t.querySelector('input[name="posts_per_page"]').value,e.querySelector(".result-count-data")),p=e.querySelector(".result-data-show");if(window.innerWidth>this.breakPoints)var m=document.querySelector(".jb-ajax__lists"),f=e.querySelector(".jb-ajax__loadmore .jb-ajax__more--button");else m=document.querySelector(".jb-ajax__lists.mobile"),f=e.querySelector(".jb-ajax__loadmore.mobile .jb-ajax__more--button");var h="jb_get_posts";"load_more"!=i.getAttribute("data-ajax")&&window.scrollAnchorTo(".module-ajax",800);var y=new FormData(t);y.append("action",h);var v={method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"},credentials:"same-origin",body:y};fetch(a,v).then((function(e){return e.json()})).then((function(t){if(document.body.contains(s)&&(s.innerHTML=""),""!=t.posts){o?n.appendHtml(r,t.posts):r.innerHTML=t.posts,document.body.contains(l)&&(l.querySelector("span").innerHTML=t.display_text);var i=m.querySelectorAll("a").length;document.body.contains(p)&&(p.innerHTML=parseInt(i))}else r.innerHTML='<div class="col lg-12"><span class="category-text">Data not found</span></div>',document.body.contains(p)&&(p.innerHTML=0);e.classList.remove("is-loading"),f&&f.classList.remove("button-loading"),document.body.contains(c)&&""!=t.loadmore&&(c.innerHTML=t.loadmore),document.body.classList.remove("ajax-loading"),document.body.contains(d)&&(d.innerHTML=t.count);var a=m.querySelectorAll("a").length,h=document.querySelectorAll(".jb-ajax__loadmore");if(t.count>a)var y=!0;else y=!1;if(y?h.forEach((function(e){e.style.display="block"}
1)):h.forEach((function(e){e.style.display="none"})),""!=t.pagination){switch(u){case"post":"News";break;case"experience":"Experiences";break;case"investorcentre":"Announcements";break;case"all":"Results";break;default:"News"}s&&(s.innerHTML=t.pagination)}var v=new CustomEvent("on-ajax-complete",{bubbles:!0});r.dispatchEvent(v)})).catch((function(e){console.log(e)}))}},{key:"update_params",value:function(e,t,n){switch(e.getAttribute("data-ajax")){case"category":e.hasAttribute("data-slug")?(t.querySelector('input[name="cat"]').value=e.getAttribute("data-slug"),n.set("cat",e.getAttribute("data-slug"))):(t.querySelector('input[name="cat"]').value=e.value,n.set("cat",e.value));break;case"tag":e.hasAttribute("data-slug")?(t.querySelector('input[name="tag"]').value=e.getAttribute("data-slug"),n.set("tag",e.getAttribute("data-slug"))):(t.querySelector('input[name="tag"]').value=e.value,n.set("tag",e.value));break;case"stories-filters":var o=t.querySelector('input[name="cat"]'),i=t.querySelector('input[name="tag"]');(o.value||i)&&(n.set("cat",o.value),n.set("tag",i.value));break;case"year":var a=document.querySelector('input[name="paging"]');e.hasAttribute("data-year")?(t.querySelector('input[name="by_year"]').value=e.getAttribute("data-year"),n.set("by_year",e.getAttribute("data-year")),a.setAttribute("value","1")):(t.querySelector('input[name="by_year"]').value=e.value,n.set("by_year",e.value),a.setAttribute("value","1"));break;case"pagination":t.querySelector('input[name="paging"]').value=e.getAttribute("data-page"),n.set("paging",e.getAttribute("data-page"));break;case"load_more":if(window.innerWidth>this.breakPoints)var r=document.querySelector(".jb-ajax__data");else r=document.querySelector(".jb-ajax__data.mobile");var s=r.querySelector('input[name="paging"]').value;r.querySelector('input[name="paging"]').setAttribute("value",parseInt(s)+1);break;case"search":t.querySelector('input[name="keyword"]').value=e.value,n.set("keyword",e.value);break;case"form":this.update_form_data(e,t,n);break;case"sort-by":t.querySelector('input[name="sort_by"]').value=e.value,n.set("sort",e.value);break;case"display-home":t.querySelector('input[name="display_home"]').value=e.checked,n.set("display-home",e.checked);break;case"view-toggle":t.querySelector('input[name="view"]').value=e.querySelector("input").value,n.set("view",e.querySelector("input").value);break;case"map-toggle":t.querySelector('input[name="map"]').value=e.querySelector("input").value,n.set("map",e.querySelector("input").value);break;case"location":t.querySelector('input[name="location"]').value=e.value,n.set("location",e.value);break;case"loc":t.querySelector('input[name="location"]').value=e.value,n.set("loc",e.value)}""!=n.toString()&&history.pushState(null,null,"?"+n.toString())}},{key:"reset_params",value:function(e,t){t.delete("paging"),t.delete("cat"),t.delete("sort")}}])}())).init();n(50);function K(e){return(K="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)}function G(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Y(o.key),o)}}function Y(e){var t=function(e,t){if("object"!=K(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=K(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==K(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".stories-showcase")},(t=[{key:"init",value:function(){this.module&&(this.showcaseAnimation(),this.showcaseMobile())}},{key:"showcaseAnimation",value:function(){var e=this.module,t=e.querySelector(".stories-showcase__tabs"),n=t.querySelectorAll(".tab-item-link"),o=e.querySelectorAll(".stories-showcase__content-item");
1n.forEach((function(e){e.classList.contains("active")&&(t.style.setProperty("--underline-width","".concat(e.offsetWidth+16,"px")),t.style.setProperty("--underline-offset-x","".concat(e.offsetLeft-8,"px"))),e.addEventListener("click",(function(i){n.forEach((function(e){return e.classList.remove("active")})),o.forEach((function(e){return e.classList.remove("active")})),t.style.setProperty("--underline-width","".concat(i.target.offsetWidth+16,"px")),t.style.setProperty("--underline-offset-x","".concat(i.target.offsetLeft-8,"px")),e.classList.add("active");var a=e.getAttribute("data-index");o.forEach((function(e){e.getAttribute("data-index")===a&&e.classList.add("active")}))}))}))}},{key:"showcaseMobile",value:function(){var e=this.module.querySelector(".stories-showcase__tabs-mobile"),t=e.querySelector(".tabs-mobile__toggle"),n=e.querySelectorAll(".tab-item-link"),o=this.module.querySelectorAll(".stories-showcase__content-item");t.addEventListener("click",(function(){e.classList.contains("active")?(P(e.querySelector(".tabs-mobile__item-wrap")),e.classList.remove("active")):(T(e.querySelector(".tabs-mobile__item-wrap")),e.classList.add("active"))})),n.forEach((function(i){i.addEventListener("click",(function(a){n.forEach((function(e){return e.classList.remove("active")})),o.forEach((function(e){return e.classList.remove("active")})),i.classList.add("active");var r=i.getAttribute("data-index");o.forEach((function(n){n.getAttribute("data-index")===r&&(n.classList.add("active"),t.querySelector(".title").innerText=i.innerText,e.classList.contains("active")&&(P(e.querySelector(".tabs-mobile__item-wrap")),e.classList.remove("active")))}))}))}))}}])&&G(e.prototype,t),n&&G(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var X=n(22),Q=n.n(X);function Z(e){return(Z="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)}function J(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,$(o.key),o)}}function $(e){var t=function(e,t){if("object"!=Z(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Z(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Z(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".programs-carousel"),this.element=document.querySelector(".programs-carousel__contents.swiper")},(t=[{key:"init",value:function(){var e=this;document.addEventListener("DOMContentLoaded",(function(){e.module&&(e.fluidGrid(),e.movingText()),e.element&&(e.swiperInit(),window.addEventListener("resize",(function(){e.swiperInit()})))}))}},{key:"movingText",value:function(){var e=this.module.querySelector(".moving-text");if(e){var t=e.querySelector(".moving-text__inner");Object(k.a)({targets:t,translateX:"-75%",duration:3e4,easing:"linear",loop:!0})}}},{key:"swiperInit",value:function(){var e=this;this.element.getAttribute("data-type"),new o.a(this.element,{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,breakpoints:{0:{slidesPerView:1.2,spaceBetween:24,loop:!1},767:{slidesPerView:2.5,spaceBetween:24,loop:!1},1e3:{slidesPerView:3,spaceBetween:24,navigation:{nextEl:".swiper-button-next.program-carou.desktop",prevEl:".swiper-button-prev.program-carou.desktop"}}},navigation:{nextEl:".swiper-button-next.program-carou",prevEl:".swiper-button-prev.program-carou"},pagination:{el:".swiper-pagination.program-carou",type:"progressbar"},on:{init:function(t){t.navigation&&t.navigation.destroy(),window.innerWidth>1200?(e.module.classList.contains("carousel-only")||e.module.classList.contains("default-layout"))&&(t.navigation.prevEl.classList.add("swiper-button-disabled"),t.slides.length<=3&&t.navigation.nextEl.classList.add("swiper-button-disabled")):t.navigation.prevEl&&t.navigation.prevEl.classList.add("swiper-button-disabled")}}})}},{key:"fluidGrid",value:function(){var e=document.querySelector(".grid.masonary");e&&new Q.a(e,{itemSelector:".grid-item",columnWidth:".grid-item",percentPosition:!0})}}])&&J(e.prototype,t),n&&J(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var ee=n(5),te=n.n(ee);function ne(e){return(ne="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)}function oe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ie(o.key),o)}}function ie(e){var t=function(e,t){if("object"!=ne(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=ne(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ne(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".module.impact")},(t=[{key:"init",value:function(){this.module&&(this.module.classList.contains("default")&&(window.innerWidth>1200?this.impactInit():this.impactMobile()),this.module.classList.contains("carousel-layout")&&this.carouselInit())}},{key:"impactInit",value:function(){var e=this.module,t=e.querySelector(".impact__contents.desktop"),n=e.querySelectorAll(".impact__contents.desktop .cir
1cle-progress"),o=e.querySelector(".impact-next-btn"),i=e.querySelector(".impact-prev-btn"),a=1,r=n.length,s=1/r;if(i&&i.classList.add("disabled"),n){var l=new te.a.Controller;new te.a.Scene({duration:3e3,offset:0,triggerElement:".pin-spacer",triggerHook:1}).setPin(".impact__inner").addTo(l).on("progress",(function(e){a=Math.floor(e.progress/s),c(e.progress)})),o.addEventListener("click",(function(){a<r&&(a++,window.scrollBy({top:485,behavior:"smooth"})),a==r&&o.classList.add("disabled")})),i.addEventListener("click",(function(){a>0&&(a--,window.scrollBy({top:-485,behavior:"smooth"})),1==a&&i.classList.add("disabled")}));var c=function(n){0==a?i.classList.add("disabled"):i.classList.remove("disabled"),a>=r-1?o.classList.add("disabled"):o.classList.remove("disabled");for(var l=0;l<r;l++){var c,u,d,p,m,f;n>=(l+1)*s?(null===(c=t.querySelector(".progress-"+(l+2)))||void 0===c||c.classList.add("hover"),null===(u=e.querySelector('.image-item[data-index="'+(l+2)+'"]'))||void 0===u||u.classList.add("active"),null===(d=e.querySelector('.text-item[data-index="'+(l+2)+'"]'))||void 0===d||d.classList.add("active")):(null===(p=t.querySelector(".progress-"
1+(l+2)))||void 0===p||p.classList.remove("hover"),null===(m=e.querySelector('.image-item[data-index="'+(l+2)+'"]'))||void 0===m||m.classList.remove("active"),null===(f=e.querySelector('.text-item[data-index="'+(l+2)+'"]'))||void 0===f||f.classList.remove("active"))}}}}},{key:"impactMobile",value:function(){var e=this.module,t=e.querySelectorAll(".impact__contents--value .text-item"),n=e.querySelector(".impact__contents.mobile svg").querySelectorAll("circle"),a=0,r=new o.a(e.querySelector(".impact__contents--slideshow.swiper"),{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:500,effect:"fade",breakpoints:{0:{spaceBetween:0,slidesPerView:1,loop:!1}},navigation:{nextEl:".swiper-button-next.impact-mobile",prevEl:".swiper-button-prev.impact-mobile"},pagination:{el:".swiper-pagination.impact-mobile",type:"progressbar"},on:{init:function(e){a=e.activeIndex,e.navigation&&e.navigation.destroy(),e.navigation.prevEl.classList.add("swiper-button-disabled")},slideChange:function(){var o=r.activeIndex;e.querySelector(".marker-prev").style.opacity=0!=o?1:0,o==r.slides.length-1?e.querySelector(".marker-next").style.opacity=0:e.querySelector(".marker-next").style.opacity=1,o>a?n.forEach((function(e){e.classList.add("animate-"+o)})):n.forEach((function(e){e.classList.remove("animate-"+(o+1))})),t.forEach((function(e){e.getAttribute("data-index")==o+1?e.classList.add("active"):e.classList.remove("active")})),a=o}}})}},{key:"carouselInit",value:function(){var e=this.module;new o.a(e.querySelector(".impact__carousel.swiper"),{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,breakpoints:{0:{spaceBetween:16,slidesPerView:1.3,loop:!1,pagination:{el:".swiper-pagination.carousel-impact",type:"progressbar"}},767:{slidesPerView:3,slidesPerGroup:3,spaceBetween:24,loop:!1,pagination:{el:".swiper-pagination.carousel-impact",type:"bullets"}}}})}}])&&oe(e.prototype,t),n&&oe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var ae=n(10),re=n(6);function se(e){return(se="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)}function le(e,t,n){return t=ce(t),function(e,t){if(t&&("object"==se(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],ce(e).constructor):t.apply(e,n))}function ce(e){return(ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,t){return(ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function de(){de=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var a=t&&t.prototype instanceof y?t:y,r=Object.create(a.prototype),s=new q(o||[]);return i(r,"_invoke",{value:E(e,n,s)}),r}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="executing",f="completed",h={};function y(){}function v(){}function b(){}var g={};c(g,r,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(C([])));S&&S!==n&&o.call(S,r)&&(g=S);var L=b.prototype=y.prototype=Object.create(g);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,a,r,s){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==se(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,r,s)}),(function(e){n("throw",e,r,s)})):t.resolve(u).then((function(e){c.value=e,r(c)}),(function(e){return n("throw",e,r,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,o){function i(){return new t((function(t,i){n(e,o,t,i)}))}return a=a?a.then(i,i):i()}})}function E(t,n,o){var i=p;return function(a,r){if(i===m)throw Error("Generator is already running");if(i===f){if("throw"===a)throw r;return{value:e,done:!0}}for(o.method=a,o.arg=r;;){var s=o.delegate;if(s){var l=x(s,o);if(l){if(l===h)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(i===p)throw i=f,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);i=m;var c=d(t,n,o);if("normal"===c.type){if(i=o.done?f:"suspendedYield",c.arg===h)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(i=f,o.method="throw",o.arg=c.arg)}}}function x(t,n){var o=n.method,i=t.iterator[o];if(i===e)return n.delegate=null,"throw"===o&&t.iterator.return&&
vendor: 6,572 bytes, line 1
1(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;var a=d(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var r=a.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function q(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[r];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(o.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(se(t)+" is not iterable")}return v.prototype=b,i(L,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:v,configurable:!0}),v.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},_(k.prototype),c(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,o,i,a){void 0===a&&(a=Promise);var r=new k(u(e,n,o,i),a);return t.isGeneratorFunction(n)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},_(L),c(L,l,"Generator"),c(L,r,(function(){return this})),c(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=C,q.prototype={constructor:q,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(o,i){return s.type="throw",s.arg=t,n.next=o,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var l=o.call(r,"catchLoc"),c=o.call(r,"finallyLoc");if(l&&c){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var i=o.arg;j(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:C(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),h}},t}function pe(e,t,n,o,i,a,r){try{var s=e[a](r),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,i)}function me(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function r(e){pe(a,o,i,r,s,"next",e)}function s(e){pe(a,o,i,r,s,"throw",e)}r(void 0)}))}}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ve(o.key),o)}}function ye(e,t,n){return t&&he(e.prototype,t),n&&he(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ve(e){var t=function(e,t){if("object"!=se(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=se(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==se(t)?t:t+""}function be(e){return(be="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)}function ge(e,t,n){return t=we(t),function(e,t){if(t&&("object"==be(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,n||[],we(e).constructor):t.apply(e,n))}function we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Se(e,t){return(Se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Le(){Le=function(){return t};var e,t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";
vendor: 4,270 bytes, line 1
1function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,o){var a=t&&t.prototype instanceof y?t:y,r=Object.create(a.prototype),s=new q(o||[]);return i(r,"_invoke",{value:E(e,n,s)}),r}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",m="executing",f="completed",h={};function y(){}function v(){}function b(){}var g={};c(g,r,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(C([])));S&&S!==n&&o.call(S,r)&&(g=S);var L=b.prototype=y.prototype=Object.create(g);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,a,r,s){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==be(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,r,s)}),(function(e){n("throw",e,r,s)})):t.resolve(u).then((function(e){c.value=e,r(c)}),(function(e){return n("throw",e,r,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,o){function i(){return new t((function(t,i){n(e,o,t,i)}))}return a=a?a.then(i,i):i()}})}function E(t,n,o){var i=p;return function(a,r){if(i===m)throw Error("Generator is already running");if(i===f){if("throw"===a)throw r;return{value:e,done:!0}}for(o.method=a,o.arg=r;;){var s=o.delegate;if(s){var l=x(s,o);if(l){if(l===h)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(i===p)throw i=f,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);i=m;var c=d(t,n,o);if("normal"===c.type){if(i=o.done?f:"suspendedYield",c.arg===h)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(i=f,o.method="throw",o.arg=c.arg)}}}function x(t,n){var o=n.method,i=t.iterator[o];if(i===e)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=e,x(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),h;var a=d(i,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,h;var r=a.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function q(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function C(t){if(t||""===t){var n=t[r];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(o.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(be(t)+" is not iterable")}return v.prototype=b,i(L,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:v,configurable:!0}),v.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},_(k.prototype),c(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,n,o,i,a){void 0===a&&(a=Promise);var r=new k(u(e,n,o,i),a);return t.isGeneratorFunction(n)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},_(L),c(L,l,"Generator"),c(L,r,(function(){return this})),c(L,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=C,q.prototype={constructor:q,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(j),!t)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(o,i){return s.type="throw",s.arg=t,n.next=o,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var l=o.call(r,"catchLoc"),c=o.call(r,"finallyLoc");if(l&&c){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var i=o.arg;j(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:C(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),h}},t}function _e(e,t,n,o,i,a,r){try{var s=e[a](r),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(o,i)}function ke(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function r(e){_e(a,o,i,r,s,"next",e)}function s(e){_e(a,o,i,r,s,"throw",e)}r(void 0)}))}}function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,je(o.key),o)}}function Ae(e,t,n){return t&&xe(e.prototype,t),n&&xe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function je(e){var t=function(e,t){if("object"!=be(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=be(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==be(t)?t:t+""}function qe(e){return(qe="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)}function Ce(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Pe(o.key),o)}}function Pe(e){var t=function(e,t){if("object"!=qe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=qe(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qe(t)?t:t+""}function Te(e){return(Te="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)}function Oe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Me(o.key),o)}}function Me(e){var t=function(e,t){if("object"!=Te(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Te(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Te(t)?t:t+""}function We(e){return(We="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)}function De(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ie(o.key),o)}}function Ie(e){var t=function(e,t){if("object"!=We(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=We(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==We(t)?t:t+""}(new(function(){return ye((function e(){fe(this,e),this.element=document.querySelector(".maps"),this.map=null,this.markers=[],this.markerClusterer=null,this.activeCategory="all"}),[{key:"init",value:(t=me(de().mark((function e(){return de().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.body.contains(this.element)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.mapsInit();case 4:this.filterMap(),this.customZoom(),this.swiperInit();case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"mapsInit",value:(e=me(de().mark((function e(){var t,n,o,i,a,r,s,l=this;return de().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById("location-map"),n=t.getAttribute("data-api-key"),o=t.getAttribute("data-marker-url")+"marker-map.svg",i=document.querySelectorAll(".maps__marker-item.active"),a=new ae.a({apiKey:n}),e.next=7,a.load();case 7:r=e.sent,s=window.innerWidth<768?9:10,this.map=new r.maps.Map(t,{center:{lat:-8.746009909103922,lng:117.46207200575085},zoom:s,zoomControl:!1,mapTypeControl:!1,scrollwheel:!1,draggable:!0,streetViewControl:!1,fullscreenControl:!1,styles:d,backgroundColor:"#101e38"}
1),i.forEach((function(e,t){var n=e.getAttribute("data-map-title"),a=(e.getAttribute("data-map-address"),Number(e.getAttribute("data-map-lat"))),s=Number(e.getAttribute("data-map-lang")),c=(e.getAttribute("data-post-link"),e.getAttribute("data-index")),u=new r.maps.Marker({title:n,id:c,icon:o,position:{lat:a,lng:s},map:l.map});l.markers.push(u),r.maps.event.addListener(u,"click",function(e){return function(){i.forEach((function(t){e.id==t.getAttribute("data-index")?(t.classList.add("show"),document.body.classList.add("modal-active"),document.body.classList.contains("search-active")&&(document.body.classList.remove("search-active"),document.querySelector(".searchbox").style.display="none"),document.querySelector(".maps-overlay").classList.add("show"),document.querySelector(".maps-overlay").addEventListener("click",(function(){t.classList.remove("show"),document.body.classList.remove("modal-active"),document.querySelector(".maps-overlay").classList.remove("show")})),t.querySelector(".maps__marker-item--back").addEventListener("click",(function(e){t.classList.remove("show"),document.body.classList.remove("modal-active"),document.querySelector(".maps-overlay").classList.remove("show")}))):t.classList.remove("show")}))}}(u))})),this.addClusterer();case 12:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"addClusterer",value:function(e){var t=function(e){function t(){return fe(this,t),le(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ue(e,t)}(t,e),ye(t,[{key:"render",value:function(e){var t=e.count,n=e.position,o={url:this.getClusterSvg(t),scaledSize:new google.maps.Size(40,40),anchor:new google.maps.Point(20,20)};return new google.maps.Marker({position:n,icon:o,label:{text:String(t),color:"white",fontSize:"12px",fontWeight:"bold"}})}},{key:"getClusterSvg",value:function(e){return"data:image/svg+xml;charset=UTF-8,".concat(encodeURIComponent('<svg width="46" height="46" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <circle cx="23" cy="23" r="23" fill="#CC5A2D"/>\n                <circle cx="23" cy="23" r="19.5" stroke="#FAFAFA" stroke-dasharray="2 2"/>\n                </svg>'))}}])}(re.a);if(e)n=e;else var n=this.markers;this.markerClusterer=new re.b({map:this.map,markers:n,renderer:new t,gridSize:120})}},{key:"filterMap",value:function(){var e=this,t=this.element.querySelector(".maps__filter__toggle"),n=this.element.querySelector(".maps__filter"),o=document.querySelectorAll('.maps__filter--item input[type="checkbox"]');t.addEventListener("click",(function(){n.classList.contains("active")?(n.classList.remove("active"),P(n.querySelector(".maps__filter--wrapper"))):(n.classList.add("active"),T(n.querySelector(".maps__filter--wrapper")))})),o.forEach((function(i){i.addEventListener("change",(function(){o.forEach((function(e){e!==i&&(e.checked=!1)})),window.innerWidth<991&&(n.classList.contains("active")?(n.classList.remove("active"),P(n.querySelector(".maps__filter--wrapper")),t.querySelector(".title").textContent=i.getAttribute("value")):(n.classList.add("active"),T(n.querySelector(".maps__filter--wrapper")))),e.activeCategory=i.getAttribute("value"),e.updateMarkers()}))}))}},{key:"updateMarkers",value:function(){var e=this,t=[];this.markers.forEach((function(e){e.setMap(null)})),"all"===this.activeCategory?this.markers.forEach((function(n){n.setMap(e.map),t.push(n)})):this.markers.forEach((function(n){document.querySelector('.maps__marker-item[data-index="'.concat(n.id,'"]')).getAttribute("data-map-cat")===e.activeCategory&&(n.setMap(e.map),t.push(n))})),this.markerClusterer&&(this.markerClusterer.clearMarkers(),this.addClusterer(t))}},{key:"customZoom",value:function(){var e=this,t=this.element,n=(t.querySelector(".maps__zoom"),t.querySelector(".custom-zoom-in")),o=t.querySelector(".custom-zoom-out");n.addEventListener("click",(function(){e.map&&e.map.setZoom(e.map.getZoom()+1)})),o.addEventListener("click",(function(){e.map&&e.map.setZoom(e.map.getZoom()-1)}))}},{key:"swiperInit",value:function(){var e=this.element.querySelector(".image-item.swiper");new o.a(e,{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,loop:!1,breakpoints:{0:{spaceBetween:0,slidesPerView:1},767:{slidesPerView:1,spaceBetween:0}
1},pagination:{el:".swiper-pagination.maps-swiper"}})}}]);var e,t}())).init(),(new(function(){return Ae((function e(){Ee(this,e),this.element=document.querySelector(".static-map"),this.map=null,this.infoWindow=null,this.markers=[],this.markerClusterer=null,this.activeCategory="all"}),[{key:"init",value:(t=ke(Le().mark((function e(){return Le().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(document.body.contains(this.element)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.mapsInit();case 4:this.filterMap(),this.customZoom(),this.swiperInit();case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"mapsInit",value:(e=ke(Le().mark((function e(){var t,n,o,i,a,r,s,l=this;return Le().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById("location-map"),n=t.getAttribute("data-api-key"),o=t.getAttribute("data-marker-url")+"marker-map.svg",document.querySelectorAll(".static-map__marker-item.active"),i=document.querySelector(".static-map__marker-item"),a=new ae.a({apiKey:n}),e.next=8,a.load();case 8:r=e.sent,s=window.innerWidth<768?9:10,this.map=new r.maps.Map(t,{center:{lat:-9.6349,lng:119.4605},zoom:s,zoomControl:!1,mapTypeControl:!1,scrollwheel:!1,draggable:!0,streetViewControl:!1,fullscreenControl:!1,styles:d,backgroundColor:"#101e38"}),this.infowindow=new r.maps.InfoWindow,[{position:{lat:-9.767535,lng:119.386478},title:"Clinic Hoba Wawi",loc:"Hobawawi",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/PSX_20240924_160427.jpg"},{position:{lat:-9.73205,lng:119.345935},title:"Clinic Matanyira",loc:"Laboya Bawah",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/PSX_20240924_160427.jpg"},{position:{lat:-9.733669,lng:119.488061},title:"Clinic Hoba Jangi",loc:"Bali Loku",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/PSX_20240924_160427.jpg"},{position:{lat:-9.655058,lng:119.01831},title:"Clinic Waipakolo",loc:"Waipakolo",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/PSX_20240924_160427.jpg"},{position:{lat:-9.71006,lng:119.132007},title:"Clinic Karang Indah",loc:"Karang Indah",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/PSX_20240924_160427.jpg"},{position:{lat:-9.63498766052516,lng:119.41452426609},title:"Malaria Training Center (MTC)",loc:"Kampung Sawah",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/MTC_sumba.jpg"},{position:{lat:-9.7627,lng:119.3866},title:"Clinic Hobawawi",loc:"Hobawawi",id:"health",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/PSX_20240924_160427.jpg"},{position:{lat:-9.73771698446576,lng:119.449932730106},title:"SD PULI",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.73819932396815,lng:119.490425479585},title:"SD HOBAJANGI",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.72906122524428,lng:119.472603879585},title:"SD BALI LOKU",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.72038704389178,lng:119.454314236171},title:"SD LAHI HAGALANG",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.6754751048322,lng:119.435940154696},title:"SD KABBA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.72990439830182,lng:119.473052723764},title:"SMP N 3 WANUKAKA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.70341353157151,lng:119.474335179585},title:"SD HUPUMADA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.70265281640282,lng:119.407768350123},title:"SD WAIMADAKA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.70793855932805,lng:119.410732625613},title:"SMP N 5 WANUKAKA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.70081558194629,lng:119.445692550749},title:"SD POGU KATODA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.6920482764491,lng:119.456732447345},title:"SD BARA BEDANG",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.73118759895042,lng:119.452842908421},title:"SMA N 1 WANUKAKA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.68107156951792,lng:119.464171652599},title:"SD LAHIKANINU",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.679577875705418,lng:119.464835563432},title:"SDM MEHANGMATA",loc:"Wanokaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.72490460782061,lng:119.346617552009},title:"SD MATANYIRA",loc:"Matanyira",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"}
1,{position:{lat:-9.71800097448046,lng:119.366055580812},title:"SD KABUKARUDI",loc:"Kabukarudi",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.76075257278707,lng:119.403399537257},title:"SD PADEDEWATU",loc:"Padedewatu",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.71832953342313,lng:119.33818454225},title:"SD ANAKAKA",loc:"Anakaka",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.7346040072829,lng:119.39580602289},title:"SMK N. RINGU RARA",loc:"Ringu Rara",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.76415997516398,lng:119.412092223764},title:"SD PANTAI RUA",loc:"Pantai Rua",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.76747974842447,lng:119.388771055563},title:"SMP PANTAI RUA",loc:"Pantai Rua",id:"education",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/sumba-home-banner.jpg"},{position:{lat:-9.73771698446576,lng:119.449932730106},title:"SD PULI",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.73819932396815,lng:119.490425479585},title:"SD HOBAJANGI",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.72906122524428,lng:119.472603879585},title:"SD BALI LOKU",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.72038704389178,lng:119.454314236171},title:"SD LAHI HAGALANG",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.6754751048322,lng:119.435940154696},title:"SD KABBA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.72990439830182,lng:119.473052723764},title:"SMP N 3 WANUKAKA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.70341353157151,lng:119.474335179585},title:"SD HUPUMADA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.70265281640282,lng:119.407768350123},title:"SD WAIMADAKA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.70793855932805,lng:119.410732625613},title:"SMP N 5 WANUKAKA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.70081558194629,lng:119.445692550749},title:"SD POGU KATODA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.6920482764491,lng:119.456732447345},title:"SD BARA BEDANG",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.73118759895042,lng:119.452842908421},title:"SMA N 1 WANUKAKA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.68107156951792,lng:119.464171652599},title:"SD LAHIKANINU",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.679577875705418,lng:119.464835563432},title:"SDM MEHANGMATA",loc:"Wanokaka",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.72490460782061,lng:119.346617552009},title:"SD MATANYIRA",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"}
1,{position:{lat:-9.71800097448046,lng:119.366055580812},title:"SD KABUKARUDI",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.76075257278707,lng:119.403399537257},title:"SD PADEDEWATU",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.71832953342313,lng:119.33818454225},title:"SD ANAKAKA",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.7346040072829,lng:119.39580602289},title:"SMK N. RINGU RARA",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.76415997516398,lng:119.412092223764},title:"SD PANTAI RUA",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.76747974842447,lng:119.388771055563},title:"SMP PANTAI RUA",loc:"Lamboya",id:"nutrition",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/10/impact-school-lunch.jpg"},{position:{lat:-9.7282911,lng:119.3898881},title:"Wells With Hand Pump",loc:"Katang",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.72873,lng:119.391771},title:"Wells With Hand Pump",loc:"Mata Radaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.774511,lng:119.3819681},title:"Wells With Hand Pump",loc:"Ngora Paraingu",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.777019,lng:119.387099},title:"Wells With Hand Pump",loc:"Ngora Paraingu",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.786161,lng:119.3851051},title:"Wells With Hand Pump",loc:"Weerara",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.775204,lng:119.387571},title:"Wells With Hand Pump",loc:"Weeoma (1)",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.775205,lng:119.387572},title:"Wells With Hand Pump",loc:"Weeoma (2)",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.771134,lng:119.3782511},title:"Wells With Hand Pump",loc:"Kajelu",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.766905,lng:119.384387},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.767505,lng:119.3817156},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.755413,lng:119.3872101},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7610369,lng:119.3801387},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7194642,lng:119.387763},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7206251,lng:119.3851088},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7201734,lng:119.3872078},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.72142,lng:119.3857841},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7265476,lng:119.3893624},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.727457,lng:119.3850801},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7242733,lng:119.3505534},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.772811,lng:119.400677},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.717252,lng:119.366668},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.771152,lng:119.398922},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.785272,lng:119.399862},title:"Wells With Hand Pump",loc:"Desa Rajaka",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/06/Woman-with-a-hand-pump-2.png"},{position:{lat:-9.7752354,lng:119.3835039},title:"Water Distribution",loc:"Desa Rua",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/09/Uji-Coba-Pompa-Distribusi-Air-bersih-Wp-Palamoko-6-7-24-25-scaled.jpg"},{position:{lat:-9.7775467,lng:119.3856769},title:"Water Distribution",loc:"Desa Pahola",id:"water",image:"https://s3.ap-southeast-2.amazonaws.com/assets.sumbafoundation.org/app/uploads/2024/09/Uji-Coba-Pompa-Distribusi-Air-bersih-Wp-Palamoko-6-7-24-25-scaled.jpg"}
1].forEach((function(e){return l.createMarker(e,o,i,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ac neque condimentum, blandit metus vel, mollis tellus. Integer fermentum orci et eros venenatis accumsan. Aenean urna magna, consectetur sit amet gravida at, placerat sed tortor. Curabitur vestibulum velit id nibh sagittis, ut imperdiet eros bibendum. Aliquam porta eget dui at tempus. Nam eget neque sit amet nibh faucibus auctor. Nunc eu lectus cursus, bibendum justo eu, placerat massa. Nullam convallis placerat finibus. Donec dapibus ex non est bibendum, non dapibus odio facilisis. Nulla molestie orci vitae mauris porta ullamcorper. Phasellus suscipit lobortis odio laoreet mattis. Nulla et tincidunt lectus. Donec condimentum, metus vel molestie tempus, nibh quam aliquet ipsum, rutrum pretium augue dolor vel erat. Phasellus viverra dolor eu quam efficitur vehicula. Nulla hendrerit, est eget iaculis elementum, libero est rutrum sem, ultrices placerat lectus arcu at nisi. Sed ullamcorper porta elit, et fringilla arcu convallis eget. Praesent a semper nulla, in tincidunt nibh. Nulla et augue eget lectus pellentesque cursus. Cras lacinia lacinia odio ut scelerisque. Maecenas egestas eros et ante luctus, et pellentesque eros tincidunt.Praesent ullamcorper leo et aliquam pharetra. Integer cursus quis ex sit amet mollis. Mauris id luctus ante. Pellentesque dignissim lacus non rhoncus volutpat. Morbi fermentum justo et congue lacinia. Proin nec quam non justo gravida gravida vitae vitae sapien. Vestibulum sed elit felis.")})),this.addClusterer();case 16:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"createMarker",value:function(e,t,n,o){var i=new google.maps.Marker({position:e.position,title:e.title,id:e.id,icon:t,map:this.map});this.markers.push(i),i.addListener("click",(function(){n.querySelector(".static-map__marker-item--content--heading .title").textContent=e.title,n.querySelector(".static-map__marker-item--content--heading .location .loc-text").textContent=e.loc,n.querySelector(".static-map__marker-item--content--heading .category").textContent=e.id,n.querySelector(".map-btn").setAttribute("href","https://www.google.com/maps/place/".concat(e.position.lat,",").concat(e.position.lng)),n.querySelector(".static-map__marker-item--image img").src=e.image,n.classList.add("show"),document.body.classList.add("modal-active"),document.body.classList.contains("search-active")&&(document.body.classList.remove("search-active"),document.querySelector(".searchbox").style.display="none"),document.querySelector(".static-map-overlay").classList.add("show"),document.querySelector(".static-map-overlay").addEventListener("click",(function(){n.classList.remove("show"),document.body.classList.remove("modal-active"),document.querySelector(".static-map-overlay").classList.remove("show")})),n.querySelector(".static-map__marker-item--back").addEventListener("click",(function(){n.classList.remove("show"),document.body.classList.remove("modal-active"),document.querySelector(".static-map-overlay").classList.remove("show")}))}))}},{key:"addClusterer",value:function(e){var t=function(e){function t(){return Ee(this,t),ge(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Se(e,t)}(t,e),Ae(t,[{key:"render",value:function(e){var t=e.count,n=e.position,o={url:this.getClusterSvg(t),scaledSize:new google.maps.Size(40,40),anchor:new google.maps.Point(20,20)};return new google.maps.Marker({position:n,icon:o,label:{text:String(t),color:"white",fontSize:"12px",fontWeight:"bold"}})}},{key:"getClusterSvg",value:function(e){return"data:image/svg+xml;charset=UTF-8,".concat(encodeURIComponent('<svg width="46" height="46" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg">\n                <circle cx="23" cy="23" r="23" fill="#CC5A2D"/>\n                <circle cx="23" cy="23" r="19.5" stroke="#FAFAFA" stroke-dasharray="2 2"/>\n                </svg>'))}}])}(re.a);if(e)n=e;else var n=this.markers;this.markerClusterer=new re.b({map:this.map,markers:n,renderer:new t,gridSize:120})}},{key:"filterMap",value:function(){var e=this,t=this.element.querySelector(".static-map__filter__toggle"),n=this.element.querySelector(".static-map__filter"),o=document.querySelectorAll('.static-map__filter--item input[type="checkbox"]');t.addEventListener("click",(function(){n.classList.contains("active")?(n.classList.remove("active"),P(n.querySelector(".static-map__filter--wrapper"))):(n.classList.add("active"),T(n.querySelector(".static-map__filter--wrapper")))})),o.forEach((function(i){i.addEventListener("change",(function(){o.forEach((function(e){e!==i&&(e.checked=!1)})),window.innerWidth<991&&(n.classList.contains("active")?(n.classList.remove("active"),P(n.querySelector(".static-map__filter--wrapper")),t.querySelector(".title").textContent=i.getAttribute("value")):(n.classList.add("active"),T(n.querySelector(".static-map__filter--wrapper")))),e.activeCategory=i.getAttribute("value"),e.updateMarkers()}))}))}},{key:"updateMarkers",value:function(){var e=this,t=[];
1this.markers.forEach((function(e){e.setMap(null)})),"all"===this.activeCategory?this.markers.forEach((function(n){n.setMap(e.map),t.push(n)})):this.markers.forEach((function(n){n.id===e.activeCategory&&(n.setMap(e.map),t.push(n))})),this.markerClusterer&&(this.markerClusterer.clearMarkers(),this.addClusterer(t))}},{key:"customZoom",value:function(){var e=this,t=this.element,n=(t.querySelector(".static-map__zoom"),t.querySelector(".custom-zoom-in")),o=t.querySelector(".custom-zoom-out");n.addEventListener("click",(function(){e.map&&e.map.setZoom(e.map.getZoom()+1)})),o.addEventListener("click",(function(){e.map&&e.map.setZoom(e.map.getZoom()-1)}))}},{key:"swiperInit",value:function(){var e=this.element.querySelector(".image-item.swiper");new o.a(e,{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,loop:!1,breakpoints:{0:{spaceBetween:0,slidesPerView:1},767:{slidesPerView:1,spaceBetween:0}},pagination:{el:".swiper-pagination.maps-swiper"}})}}]);var e,t}())).init(),(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".testimonials"),this.catActive=null,this.nameActive=null,this.swipers={}},(t=[{key:"init",value:function(){this.module&&(this.showcaseAnimation(),this.hoverAnimation(),this.showcaseMobile(),window.innerWidth<1200&&this.swiperInit())}},{key:"showcaseAnimation",value:function(){var e=this,t=this.module,n=t.querySelector(".testimonials__tabs"),o=n.querySelectorAll(".tab-item-link"),i=t.querySelectorAll(".testimonials__photos--item"),a=t.querySelectorAll(".testimonials__words--wrapper"),r=t.querySelector(".testimonials__icon");o.forEach((function(t){t.classList.contains("active")&&(n.style.setProperty("--underline-width","".concat(t.offsetWidth+16,"px")),n.style.setProperty("--underline-offset-x","".concat(t.offsetLeft-8,"px"))),t.addEventListener("click",(function(s){o.forEach((function(e){return e.classList.remove("active")})),i.forEach((function(e){return e.classList.remove("active")})),a.forEach((function(e){return e.classList.remove("active")})),n.style.setProperty("--underline-width","".concat(s.target.offsetWidth+16,"px")),n.style.setProperty("--underline-offset-x","".concat(s.target.offsetLeft-8,"px")),t.classList.add("active");var l=t.getAttribute("data-cat");r.setAttribute("data-cat",l),i.forEach((function(e){e.getAttribute("data-cat")===l&&e.classList.add("active")})),a.forEach((function(e){if(e.getAttribute("data-cat")===l){e.classList.add("active");var t=e.querySelector(".testimonials__words--item.active");if(t)e.style.height=t.offsetHeight+"px",e.style.minHeight=t.offsetHeight+"px";else{var n=e.querySelector(".testimonials__words--item");n&&(e.style.height=n.offsetHeight+"px",e.style.minHeight=n.offsetHeight+"px")}}})),e.hoverAnimation()}))}))}},{key:"hoverAnimation",value:function(){var e=this.module.querySelectorAll(".testimonials__photos--item.active"),t=this.module.querySelectorAll(".testimonials__words--item");e&&t&&e.forEach((function(e){e.addEventListener("mouseenter",(function(n){t.forEach((function(t){t.style.opacity="0",t.style.visibility="hidden",e.getAttribute("data-name")==t.getAttribute("data-name")?(t.classList.add("active"),t.style.opacity="1",t.style.visibility="visible",t.closest(".testimonials__words").style.height=t.offsetHeight+"px"):(t.classList.remove("active"),t.style.opacity="0",t.style.visibility="hidden")}))}))}))}},{key:"showcaseMobile",value:function(){var e=this,t=this.module.querySelector(".testimonials__tabs-mobile"),n=t.querySelector(".tabs-mobile__toggle"),o=t.querySelectorAll(".tab-item-link"),i=this.module.querySelectorAll(".testimonials__photos--group"),a=this.module.querySelectorAll(".testimonials__words--wrapper"),r=this.module.querySelector(".testimonials__icon");n.addEventListener("click",(function(){t.classList.contains("active")?(P(t.querySelector(".tabs-mobile__item-wrap")),t.classList.remove("active")):(T(t.querySelector(".tabs-mobile__item-wrap")),t.classList.add("active"))})),o.forEach((function(s){s.classList.contains("active")&&(e.catActive=s.getAttribute("data-cat")),s.addEventListener("click",(function(l){o.forEach((function(e){return e.classList.remove("active")}
1)),i.forEach((function(e){return e.classList.remove("active")})),a.forEach((function(e){return e.classList.remove("active")})),e.catActive=s.getAttribute("data-cat");var c=e.module.querySelectorAll('.testimonials__words--item[data-cat="'+e.catActive+'"]');s.classList.add("active");var u=s.getAttribute("data-cat");r.setAttribute("data-cat",u),i.forEach((function(t){t.getAttribute("data-cat")===u&&(t.classList.add("active"),n.querySelector(".title").innerText=s.innerText,e.nameActive=t.querySelector(".testimonials__photos--item.swiper-slide-active").getAttribute("data-name"))})),a.forEach((function(t){t.getAttribute("data-cat")===u&&(t.classList.add("active"),c.forEach((function(n){n.getAttribute("data-name")==e.nameActive&&(n.classList.add("active"),t.style.height=n.offsetHeight+"px",n.closest(".testimonials__words").style.height=n.offsetHeight+"px",n.closest(".testimonials__words--inner").style.height=n.offsetHeight+"px")})))})),t.classList.contains("active")&&(P(t.querySelector(".tabs-mobile__item-wrap")),t.classList.remove("active"))}))}))}},{key:"swiperInit",value:function(){var e=this;this.module.querySelectorAll(".testimonials__photos--group.swiper").forEach((function(t){var n=t.getAttribute("data-cat"),a=e.module.querySelectorAll('.testimonials__words--item[data-cat="'+n+'"]');a.forEach((function(e,t){e.setAttribute("data-index",t+1),e.classList.remove("active"),1==t&&e.classList.add("active")}));var r=new o.a(t,{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,initialSlide:1,breakpoints:{0:{slidesPerView:"auto",centeredSlides:!0,loop:!1}},navigation:{nextEl:".swiper-button-next.testi",prevEl:".swiper-button-prev.testi"},on:{init:function(n){if(n.navigation&&n.navigation.destroy(),n.navigation.prevEl.classList.add("swiper-button-disabled"),t.classList.contains("active")&&t.getAttribute("data-cat")===e.catActive){var o=n.slides[n.activeIndex];o&&(e.nameActive=o.getAttribute("data-name"))}},slideChange:function(){r&&a.forEach((function(t){t.classList.remove("active"),t.getAttribute("data-cat")==e.catActive&&(t.getAttribute("data-index")==r.activeIndex+1?(t.closest(".testimonials__words").style.height=t.offsetHeight+"px",t.closest(".testimonials__words--inner").style.minHeight=t.offsetHeight+"px",t.classList.add("active")):t.classList.remove("active"))}))}}})}))}}])&&Ce(e.prototype,t),n&&Ce(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init(),(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".media-carousel")},(t=[{key:"init",value:function(){this.module&&this.addInteractionListener()}},{key:"addInteractionListener",value:function(){var e=this,t=function t(){e.videoInitiated||(e.swiperInit(),e.videoEvents(),e.videoInitiated=!0),document.removeEventListener("mousemove",t),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)};document.addEventListener("mousemove",t),document.addEventListener("keydown",t),document.addEventListener("mousedown",t),document.addEventListener("touchstart",t)}},{key:"swiperInit",value:function(){var e=this,t=this.module.querySelectorAll(".media-carousel__contents--items.swiper"),n=[],a=this.module.querySelector(".swiper-button-next.media-carousel"),r=this.module.querySelector(".swiper-button-prev.media-carousel");t.forEach((function(e,t){var a=new o.a(e,{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,touchRatio:0,initialSlide:t,breakpoints:{0:{slidesPerView:1,loop:!1},767:{slidesPerView:1,loop:!1}}});n.push(a)})),this.buttonDisable(n,r,a),a.addEventListener("click",(function(){n.forEach((function(e){e.slideNext()}))})),r.addEventListener("click",(function(){n.forEach((function(e){e.slidePrev()}))})),n.forEach((function(t){t.on("slideChange",(function(){e.buttonDisable(n,r,a)}))}))}},{key:"buttonDisable",value:function(e,t,n){var o=e[0],i=e[e.length-1];o.isBeginning?t.classList.add("disabled"):t.classList.remove("disabled"),i.isEnd?n.classList.add("disabled"):n.classList.remove("disabled")}},{key:"videoEvents",value:function(){this.module.querySelectorAll(".video-wrapper").forEach((function(e){var t=e.querySelector(".plyr"),n=e.querySelector(".video-thumbnail");e.addEventListener("click",(function(){e.querySelector("button.plyr__control").click(),t.classList.contains("plyr--playing")?n.classList.remove("active"):n.classList.add("active")})),t&&t.addEventListener("click",(function(){e.querySelector("button.plyr__control").click(),t.classList.contains("plyr--playing")?n.classList.remove("active"):n.classList.add("active")}))}))}}])&&Oe(e.prototype,t),n&&Oe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();var ze=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".story-timeline")},(t=[{key:"init",value:function(){this.module&&this.swiperInit()}},{key:"swiperInit",value:function(){var e=this,t=this.module.querySelector(".story-timeline__images.swiper"),n=(this.module.querySelector(".custom-swiper-pagination"),this.module.querySelector(".story-timeline__years")),a=this.module.querySelector(".years-wrapper"),r=this.module.querySelectorAll(".story-timeline__years .year"),s=this.module.querySelector(".swiper-button-next.story-time"),l=this.module.querySelector(".swiper-button-prev.story-time"),c=0,u=new o.a(t,{modules:[i.d,i.e,i.a,i.b],direction:"horizontal",speed:400,effect:"creative",creativeEffect:{prev:{shadow:!0,translate:["-100%",0,-1]},next:{translate:["100%",0,0]}},breakpoints:{0:{spaceBetween:0,slidesPerView:1,loop:!1},767:{slidesPerView:1,spaceBetween:0,loop:!1}},pagination:{el:".swiper-pagination.story-time",type:"progressbar"},on:{init:function(){l.classList.add("disabled"),r&&r.forEach((function(e){e.addEventListener("click",(function(){u.slideTo(e.getAttribute("data-index")-1)}))}))},slideChange:function(){if(r&&r.forEach((function(e){e.getAttribute("data-index")==u.realIndex+1?e.classList.add("active"):e.classList.remove("active")})),window.innerWidth<768){var t=u.slides.length-1,o=u.slides.length-2,i=(a.getBoundingClientRect(),n.getBoundingClientRect()),p=window.innerWidth;if(u.realIndex>1){var m=50*(u.realIndex-1);u.realIndex===o?(m=40*(u.realIndex-1),a.style.transform="translateX(-".concat(m,"px)"),n.style.transform="translateX(-10px)"):u.realIndex===t?(m=30*(u.realIndex-1),a.style.transform="translateX(-".concat(m,"px)"),n.style.transform="translateX(".concat((p-i.right)/10,"px)")):(a.style.transform="translateX(-".concat(m,"px)"),n.style.transform="translateX(0)"),c<4?c+=1:c-=1}else a.style.transform="translateX(0)",c=0}e.updateProgressBar(u),0==u.realIndex?l.classList.add("disabled"):l.classList.remove("disabled"),u.realIndex==u.slides.length-1?s.classList.add("disabled"):s.classList.remove("disabled"),d.slideTo(u.realIndex)}}}),d=new o.a(".story-timeline__text--inner.swiper",{slidesPerView:1,spaceBetween:0,fmodules:[i.d,i.e,i.a,i.c],effect:"fade",direction:"horizontal",speed:1e3,allowTouchMove:!1,breakpoints:{0:{spaceBetween:10},767:{spaceBetween:20}},on:{slideChange:function(){if(window.innerWidth<991){var t=d.slides[d.activeIndex].offsetHeight;e.module.querySelector(".story-timeline__inner").style.height="".concat(t+520,"px")}if(window.innerWidth>1e3){var n=d.slides[d.activeIndex].offsetHeight;e.module.querySelector(".story-timeline__inner").style.height="".concat(n+680,"px")}}}});s.addEventListener("click",(function(){u.slideNext(),d.slideTo(u.realIndex)})),l.addEventListener("click",(function(){u.slidePrev(),d.slideTo(u.realIndex)})),this.updateProgressBar(u)}},{key:"updateProgressBar",value:function(e){var t=e.slides.length+1,n=(e.realIndex+1)/t*100,o=document.querySelector(".custom-swiper-pagination.story-time .pagination-progress");window.innerWidth<768&&e.realIndex==e.slides.length-1?(o.style.width="95%",o.style.transition="width 0.6s ease"):(o.style.width="".concat(n,"%"),o.style.transition="width 0.6s ease")}}])&&De(e.prototype,t),n&&De(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}());function He(e){return(He="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)}function Ne(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Be(o.key),o)}}function Be(e){var t=function(e,t){if("object"!=He(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=He(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==He(t)?t:t+""}function Re(e){return(Re="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)}function Ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Fe(o.key),o)}}function Fe(e){var t=function(e,t){if("object"!=Re(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Re(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Re(t)?t:t+""}function Ue(e){return(Ue="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)}function Ke(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Ge(o.key),o)}}function Ge(e){var t=function(e,t){if("object"!=Ue(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Ue(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ue(t)?t:t+""}
1ze.init(),window.addEventListener("resize",(function(){ze.init()})),(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".team-listing")},(t=[{key:"init",value:function(){this.module&&(this.popupAnimation(),this.swiperInit())}},{key:"popupAnimation",value:function(){var e=this.module.querySelectorAll(".team-listing__item--inner"),t=this.module.querySelectorAll(".team-listing__popup"),n=this.module.querySelector(".team-popup-overlay");e&&e.forEach((function(e){e.addEventListener("click",(function(){t.forEach((function(t){e.getAttribute("data-index")===t.getAttribute("data-index")&&(t.classList.add("active"),n.classList.add("active"),document.body.classList.add("modal-active"),document.body.classList.contains("search-active")&&(document.body.classList.remove("search-active"),document.querySelector(".searchbox").style.display="none")),t.querySelector(".team-listing__popup--close").addEventListener("click",(function(){t.classList.remove("active"),n.classList.remove("active"),document.body.classList.remove("modal-active")})),n.addEventListener("click",(function(){t.classList.remove("active"),n.classList.remove("active"),document.body.classList.remove("modal-active")}))}))}))}))}},{key:"swiperInit",value:function(){new o.a(".team-listing__carousel.swiper",{modules:[i.d,i.e,i.a],slidesPerView:4.2,spaceBetween:0,loop:!1,speed:700,breakpoints:{0:{slidesPerView:1.4,spaceBetween:24},768:{slidesPerView:2,spaceBetween:24}},pagination:{el:".swiper-pagination.team-list",type:"progressbar"}})}}])&&Ne(e.prototype,t),n&&Ne(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init(),(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".sponsor-listing")},(t=[{key:"init",value:function(){this.module&&(document.querySelector(".page-wrap").style.overflow="unset",this.filterSticky(),this.initSwiper(),this.filterMobile())}},{key:"filterSticky",value:function(){var e=this.module.querySelectorAll(".filter-item"),t=this.module.querySelectorAll(".sponsor-lists"),n=this.module.querySelector(".sponsor-listing__filter"),o=this.module.querySelector(".sponsor-listing__filter-mobile"),i=function(n){document.addEventListener("scroll",(function(){0==n.getBoundingClientRect().top?document.body.classList.add("magic-scroll"):(document.body.classList.remove("magic-scroll"),document.body.classList.contains("search-active")&&(document.body.classList.remove("search-active"),document.querySelector(".searchbox").style.display="none")),t&&t.forEach((function(t){var n=t.getBoundingClientRect(),o=n.top,i=n.bottom;o<160&&i>200&&e.forEach((function(e){e.classList.remove("active"),e.getAttribute("data-cat")===t.getAttribute("id")&&e.classList.add("active")}))}))}))};window.innerWidth>991?i(n):i(o),e&&e.forEach((function(e){e.addEventListener("click",(function(e){e.target.classList.add("active")}))}))}},{key:"initSwiper",value:function(){new o.a(".contributor-carousel.swiper",{modules:[i.d,i.e,i.a,i.b],slidesPerView:4.2,spaceBetween:0,loop:!1,speed:700,breakpoints:{0:{slidesPerView:1.4,centeredSlides:!0,initialSlide:1},768:{slidesPerView:2.5,centeredSlides:!1,initialSlide:0},1024:{slidesPerView:4.5,centeredSlides:!1,initialSlide:0}},navigation:{nextEl:".swiper-button-next.contributor",prevEl:".swiper-button-prev.contributor"},pagination:{el:".swiper-pagination.contributor",type:"progressbar"},on:{init:function(e){e.navigation&&e.navigation.destroy(),window.innerWidth>400&&e.navigation.prevEl.classList.add("swiper-button-disabled")}}})}},{key:"filterMobile",value:function(){var e=this.module.querySelector(".sponsor-listing__filter-mobile__inner"),t=e.querySelector(".filter-mobile__toggle"),n=e.querySelectorAll(".filter-item");t.addEventListener("click",(function(){e.classList.contains("active")?(P(e.querySelector(".filter-mobile__wrap")),e.classList.remove("active")):(T(e.querySelector(".filter-mobile__wrap")),e.classList.add("active"))}
1)),n.forEach((function(n){n.addEventListener("click",(function(o){t.querySelector(".title").innerText=n.innerText,e.classList.contains("active")&&(P(e.querySelector(".filter-mobile__wrap")),e.classList.remove("active"))}))}))}}])&&Ve(e.prototype,t),n&&Ve(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init(),(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".module.program-slideshow")},(t=[{key:"init",value:function(){this.module&&(window.innerWidth>1200?this.slideInit():this.slideMobile())}},{key:"slideInit",value:function(){var e=this.module,t=e.querySelectorAll(".program-slideshow__slides--item.desktop"),n=t.length,o=e.querySelector(".slide-next-btn"),i=e.querySelector(".slide-prev-btn");null==i||i.classList.add("disabled");var a=0,r=new te.a.Controller,s=new te.a.Scene({duration:500*n,offset:0,triggerElement:".pin-spacer",triggerHook:1}).setPin(".program-slideshow__inner").addTo(r);s.on("start",(function(e){setTimeout((function(){t.forEach((function(e){e.classList.contains("inactive")&&e.classList.remove("inactive")}))}),150)})),s.on("progress",(function(e){var r=1/n;document.querySelector("header").classList.add("header-hidden"),t.forEach((function(s,l){var c=e.progress>=l*r&&e.progress<(l+1)*r,u=l===n-1&&e.progress>=(l+1)*r;if(c||u?(0===(a=l)?(i.classList.add("disabled"),o.classList.contains("disabled")&&o.classList.remove("disabled")):a===n-1?(o.classList.add("disabled"),i.classList.contains("disabled")&&i.classList.remove("disabled")):(i.classList.contains("disabled")&&i.classList.remove("disabled"),o.classList.contains("disabled")&&o.classList.remove("disabled")),a==n-2&&document.querySelector('.program-slideshow__slides--item.desktop[data-index="'+n+'"]').classList.remove("inactive"),setTimeout((function(){s.classList.add("active"),s.classList.remove("inactive")}),100)):s.classList.contains("active")&&setTimeout((function(){s.classList.add("inactive"),s.classList.remove("active")}),0),l>0){var d=t[l-1];if(e.progress>=l*r&&setTimeout((function(){d.classList.add("inactive")}),0),l>1){var p=t[l-2];e.progress>=(l+1)*r&&setTimeout((function(){p.classList.remove("inactive")}),0)}}l<n-1&&(t[l+1],e.progress<l*r&&setTimeout((function(){s.classList.remove("inactive")}),0),l<n-2&&(t[l+2],e.progress<(l+1)*r&&setTimeout((function(){s.classList.remove("inactive")}),0)))}))})),s.on("end",(function(e){setTimeout((function(){t.forEach((function(e){e.classList.contains("inactive")&&e.classList.remove("inactive")}))}),150)})),o.addEventListener("click",(function(){a<n-1&&(a++,window.scrollBy({top:500,behavior:"smooth"}))})),i.addEventListener("click",(function(){a>=0&&(a--,window.scrollBy({top:-500,behavior:"smooth"}))}))}},{key:"slideMobile",value:function(){new o.a(this.module.querySelector(".program-slideshow__slides.mobile.swiper"),{modules:[i.d,i.e,i.a,i.c],direction:"horizontal",speed:700,breakpoints:{0:{slidesPerView:1,spaceBetween:24,loop:!1},991:{slidesPerView:1.1,spaceBetween:24,loop:!1}},navigation:{nextEl:".swiper-button-next.program-slides",prevEl:".swiper-button-prev.program-slides"},pagination:{el:".swiper-pagination.program-slides",type:"progressbar"},on:{init:function(e){e.navigation&&e.navigation.destroy(),e.navigation.prevEl.classList.add("swiper-button-disabled")}}})}}])&&Ke(e.prototype,t),n&&Ke(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();n(55);function Ye(e){return(Ye="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)}function Xe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Qe(o.key),o)}}function Qe(e){var t=function(e,t){if("object"!=Ye(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Ye(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ye(t)?t:t+""}function Ze(e){return(Ze="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)}function Je(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,$e(o.key),o)}}function $e(e){var t=function(e,t){if("object"!=Ze(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=Ze(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Ze(t)?t:t+""}(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".faq")},(t=[{key:"init",value:function(){this.module&&this.accordion()}},{key:"accordion",value:function(){var e=this,t=(this.module,this.module.querySelectorAll(".faq__contents--item")),n=this.module.querySelectorAll(".faq-title");this.module.querySelectorAll(".faq-content"),t&&t.forEach((function(e){e.classList.contains("active")?e.querySelector(".faq-content").style.display="block":e.querySelector(".faq-content").style.display="none"}
1)),n&&n.forEach((function(t){t.addEventListener("click",(function(n){n.preventDefault();var o=t.closest(".faq__contents--item"),i=o.classList.contains("active");e.module.querySelectorAll(".faq__contents--item.active").forEach((function(e){e.classList.remove("active"),e.setAttribute("aria-expanded","false"),P(e.querySelector(".faq-content"))})),i||(o.classList.add("active"),o.setAttribute("aria-expanded","true"),T(t.nextElementSibling))}))}))}}])&&Xe(e.prototype,t),n&&Xe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init(),(new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.module=document.querySelector(".sponsor-logos.advanced-layout")},(t=[{key:"init",value:function(){this.module&&this.swiperInit()}},{key:"swiperInit",value:function(){new o.a(".sponsor-logos__logo.swiper",{modules:[i.d,i.e,i.a],slidesPerView:4.2,spaceBetween:0,loop:!1,speed:1e3,autoplay:{delay:4e3,disableOnInteraction:!1},breakpoints:{0:{slidesPerView:1},1024:{slidesPerView:4.5}},pagination:{el:".swiper-pagination.sponsor"}})}}])&&Je(e.prototype,t),n&&Je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())).init();n(56)},function(e,t){},,,,,function(e,t){},,function(e,t){},,function(e,t){}],[[23,0,4]]]);

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.