"use strict";function _typeof(t){return(_typeof="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)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(t,e){return!e||"object"!==_typeof(e)&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _wrapNativeSuper(t){var a="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==a){if(a.has(t))return a.get(t);a.set(t,e)}function e(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(e,t)})(t)}function isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _construct(t,e,a){return(_construct=isNativeReflectConstruct()?Reflect.construct:function(t,e,a){var n=[null];n.push.apply(n,e);var i=new(Function.bind.apply(t,n));return a&&_setPrototypeOf(i,a.prototype),i}).apply(null,arguments)}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var midiaSize="xs";!function(){var t=!1;function e(){var t=window.innerWidth;t<500&&(midiaSize="xs"),500<=t&&(midiaSize="sm"),768<=t&&(midiaSize="md"),992<=t&&(midiaSize="lg"),1200<=t&&(midiaSize="xl")}e(),window.addEventListener("resize",function(){t||(setTimeout(function(){t=!1},100),e())})}();var BODY=document.body,APP=document.querySelector("#app"),path=basePath();function basePath(){var t="";return $("body").data("path")&&(t=$("body").data("path")+"/"),t}window.addEventListener("load",function(){$(window).trigger("scroll")});var hasLightbox=function(){if(0<$("[data-lightbox]").length){var t=document.createElement("link");t.rel="stylesheet",t.href=path+"assets/css/lightbox.min.css",t.type="text/css",document.head.appendChild(t);var e=document.createElement("script");e.defer=!0,e.src=path+"assets/js/lightbox.min.js",document.body.appendChild(e)}}(),Lazyimage=function(){function t(){window.customElements?this.customElement():this.fallback()}return t.prototype.fallback=function(){this.is="fallback";this.fallbackVerifyer;function t(){$("lazy-image").each(function(){if(this.getBoundingClientRect().top<=window.innerHeight&&!this.querySelector("img")){$(this);var t=document.createElement("img");t.src=$(this).attr("src")||"",t.alt=$(this).attr("alt")||"",this.appendChild(t),$(this).addClass("loaded")}})}t(),setInterval(t,1e3/60)},t.prototype.customElement=function(){this.is="customElements";var t=function(){function e(){var t;_classCallCheck(this,e),(t=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this))).src=t.getAttribute("src"),t.alt=t.getAttribute("alt");var n=_assertThisInitialized(t),i=new IntersectionObserver(function(t){$(t).each(function(t,e){if(e.isIntersecting){var a=document.createElement("img");a.src=n.src||"",a.alt=n.alt||"",e.target.appendChild(a),a.addEventListener("load",function(){$(e.target).addClass("loaded")}),i.unobserve(e.target)}})});return i.observe(_assertThisInitialized(t)),t}return _inherits(e,_wrapNativeSuper(HTMLElement)),e}();customElements.define("lazy-image",t)},new t}(),animarOnViewRect=function(){function t(){$("[data-animate]").each(function(){var t=$(this).data("animate"),e=window.innerHeight;this.getBoundingClientRect().topPrev'),'Next')],h=(a.data("animate-out"),a.data("animate-in"),a.data("slide-by")||1),m=a.data("drag")||!1;e.xs=a.data("xs")||1,e.sm=a.data("sm")||e.xs,e.md=a.data("md")||e.sm,e.lg=a.data("lg")||e.md,e.xl=a.data("xl")||e.lg,a.owlCarousel({autoplay:i,autoplayTimeout:o,autoWidth:r,center:s,nav:d,navText:p,autoplayHoverPause:!0,slideBy:h,mouseDrag:m,responsive:{0:{items:e.xs,loop:t(e.xs),margin:c},576:{items:e.sm,loop:t(e.sm),margin:c},768:{items:e.md,loop:t(e.md),margin:c},992:{items:e.lg,loop:t(e.lg),margin:c},1200:{items:e.xl,loop:t(e.xl),margin:c}}}).trigger("owl.carousel.refresh")})},$.fn.refreshOwl=function(i){return this.each(function(){var t=i,e=$(this).data("owl.carousel").options.responsive;for(var a in e){var n=e[a];t<=n.items&&(n.loop=!1)}$(this).trigger("refresh.owl.carousel")})},$.fn.replaceOwlContent=function(t){return this.each(function(){$(this).trigger("replace.owl.carousel",t),$(this).refreshOwl()})},$(".owl-carousel").myOwl(),$("[data-owl]").each(function(){var e=$(this).data("owl"),a=$(this).attr("href");$(this),$(a).length;$(this).click(function(t){t.preventDefault(),$(this).hasClass("disabled")||$(a).trigger("".concat(e,".owl.carousel"))})}),$(".owl-carousel").each(function(){var t=this.id,e=$('a[href="#'+t+'"]'),a=$(this).find(".owl-prev"),n=$(this).find(".owl-next");function i(){a.hasClass("disabled")&&(e.each(function(){"prev"===$(this).data("owl")?$(this).addClass("disabled"):$(this).removeClass("disabled")}),0),n.hasClass("disabled")&&(e.each(function(){"next"===$(this).data("owl")?$(this).addClass("disabled"):$(this).removeClass("disabled")}),0)}e.addClass("ready"),i(),$(this).on("changed.owl.carousel",function(){0,i()})})}var hasSlick=function(){if(0<$(".slick-slider").length){var t=document.createElement("link"),e=document.createElement("script");t.rel="stylesheet",t.href=path+"assets/css/slick.css",document.head.appendChild(t),e.src=path+"assets/js/slick.min.js",document.body.appendChild(e),e.addEventListener("load",function(){$.fn.slicker=function(){return this.each(function(){var c=$(this),d=["xs","sm","md","lg","xl"],t=''),e=''),a={dots:o("dots",!1),arrows:o("nav",!1),rows:o("rows",1),slidesToShow:o(),adaptiveHeight:o("auto-height",!1),variableWidth:o("auto-width",!1),centerMode:o("center",!1),centerPadding:o("center-padding",!1),vertical:o("vertical",!1),verticalSwiping:o("vertical",!1)};a.slideBy=function(t){for(var e=t.slidesToShow,a=c.data("slide-by"),n={},i=0;i .row > *").unwrap(".row"),i.find(".carousel-item > *").unwrap(".carousel-item"),o.html("");for(var t=0;t *").slice(t,t+n[midiaSize]).wrapAll('').wrapAll('
');i.find(".carousel-item:first-child").addClass("active"),i.find(".carousel-item").each(function(t,e){var a='
  • ");o.append(a)})}s||(a.attr("id","carousel-responsive-"+t),s="carousel-responsive-"+t),l(),$(window).resize(function(){c||(setTimeout(function(){c=!1},100),l())})})},$(".carousel-responsive").responsiveBsCarousel(),$(".carousel").each(function(){$(this).find(".carousel-item").length<=1&&$(this).find(".controles").hide()}),$("[data-scroll-to]").click(function(t){t.preventDefault();var e=$(this).data("scroll-to"),a=$(e).offset();if(a){$(".topo").outerHeight(),$("body, html").animate({scrollTop:a.top},1e3)}$(".main-navigation").removeClass("active"),$(".bg-menu").fadeOut(400),$(".btn-menu").toggleClass("active")}); //# sourceMappingURL=scripts.min.js.map