(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e){var n=function(e){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(n)?n:n+""}function n(t,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,e(r.key),r)}}function o(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}function r(t,n,o){return(n=e(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}const i=gutenverseCoreFrontend;function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var a,u=o((function t(e){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r(this,"init",(function(){n.block.each((function(t){if(!(0,i.u)(t).hasClass("gvnews_tns_active")){var e={container:t,textDirection:"ltr",items:1,controlsText:["",""],controls:!0,nav:!1,loop:!0,autoplay:n.autoplay,autoplayTimeout:n.delay,mouseDrag:!0,onInit:function(t){void 0!==t.nextButton&&((0,i.u)(t.nextButton).addClass("tns-next"),(0,i.u)(t.nextButton).attr("aria-label","next slide"),(0,i.u)(t.nextButton).html('<div class="gutenverse-icon-svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\x3c!--! Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"></path></svg>')),void 0!==t.prevButton&&((0,i.u)(t.prevButton).addClass("tns-prev"),(0,i.u)(t.prevButton).attr("aria-label","previous slide"),(0,i.u)(t.prevButton).html('<div class="gutenverse-icon-svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\x3c!--! Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --\x3e<path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"></path></svg></div>'))}},o=window.tns(c(c({},e),n.options));void 0!==o&&(o.events.on("dragStart",(function(t){t.event.preventDefault(),t.event.stopPropagation()})),(0,i.u)(t).addClass("gvnews_tns_active"))}}))})),this.block=(0,i.u)(e).find(".gvnews_hero_wrapper:not(.gvnews_tns_active)"),this.autoplay=(0,i.u)(this.block).data("autoplay"),this.delay=(0,i.u)(this.block).data("delay"),this.options=o,this.init()}));(a=(0,i.u)(".gvnews_heroblock.tiny-slider"))&&a.map((function(t){new u(t)})),window.gvnewsHeroSlider=function(t){new u(t)}})();
//# sourceMappingURL=hero-slider.js.map