text: "use strict";function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _iterableToArrayLimit(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ownKeys(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach(function(e){_defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var docReady=function(e){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):setTimeout(e,1)},resize=function(e){return window.addEventListener("resize",e)},isIterableArray=function(e){return Array.isArray(e)&&!!e.length},camelize=function(e){e=e.replace(/[-_\s.]+(.)?/g,function(e,t){return t?t.toUpperCase():""});return"".concat(e.substr(0,1).toLowerCase()).concat(e.substr(1))},getData=function(t,r){try{return JSON.parse(t.dataset[camelize(r)])}catch(e){return t.dataset[camelize(r)]}},hexToRgb=function(e){e=0===e.indexOf("#")?e.substring(1):e,e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,r,n){return t+t+r+r+n+n}));return e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:null},rgbaColor=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"#fff",t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:.5;return"rgba(".concat(hexToRgb(e),", ").concat(t,")")},colors={primary:"#0057FF",secondary:"#748194",success:"#00d27a",info:"#27bcfd",warning:"#f5803e",danger:"#e63757",light:"#F9FAFD",dark:"#000"},grays={white:"#fff",100:"#f9fafd",200:"#edf2f9",300:"#d8e2ef",400:"#b6c1d2",500:"#9da9bb",600:"#748194",700:"#5e6e82",800:"#4d5969",900:"#344050",1e3:"#232e3c",1100:"#0b1727",black:"#000"},hasClass=function(e,t){return e.classList.value.includes(t)},addClass=function(e,t){e.classList.add(t)},getOffset=function(e){var t=e.getBoundingClientRect(),r=window.pageXOffset||document.documentElement.scrollLeft,e=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+e,left:t.left+r}},isScrolledIntoView=function(e){for(var t=e.offsetTop,r=e.offsetLeft,n=e.offsetWidth,o=e.offsetHeight;e.offsetParent;)t+=(e=e.offsetParent).offsetTop,r+=e.offsetLeft;return{all:t>=window.pageYOffset&&r>=window.pageXOffset&&t+o<=window.pageYOffset+window.innerHeight&&r+n<=window.pageXOffset+window.innerWidth,partial:t<window.pageYOffset+window.innerHeight&&r<window.pageXOffset+window.innerWidth&&t+o>window.pageYOffset&&r+n>window.pageXOffset}},breakpoints={xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1540},getBreakpoint=function(e){var t,e=e&&e.classList.value;return t=e?breakpoints[e.split(" ").filter(function(e){return e.includes("navbar-expand-")}).pop().split("-").pop()]:t},setCookie=function(e,t,r){var n=new Date;n.setTime(n.getTime()+r),document.cookie="".concat(e,"=").concat(t,";expires=").concat(n.toUTCString())},getCookie=function(e){e=document.cookie.match("(^|;) ?".concat(e,"=([^;]*)(;|$)"));return e&&e[2]},settings={tinymce:{theme:"oxide"},chart:{borderColor:"rgba(255, 255, 255, 0.8)"}},newChart=function(e,t){e=e.getContext("2d");return new window.Chart(e,t)},getItemFromStore=function(t,r){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:localStorage;try{return JSON.parse(n.getItem(t))||r}catch(e){return n.getItem(t)||r}},setItemToStore=function(e,t){return(2<arguments.length&&void 0!==arguments[2]?arguments[2]:localStorage).setItem(e,t)},getStoreSpace=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:localStorage;return parseFloat((escape(encodeURIComponent(JSON.stringify(e))).length/1048576).toFixed(2))},utils={docReady:docReady,resize:resize,isIterableArray:isIterableArray,camelize:camelize,getData:getData,hasClass:hasClass,addClass:addClass,hexToRgb:hexToRgb,rgbaColor:rgbaColor,colors:colors,grays:grays,getOffset:getOffset,isScrolledIntoView:isScrolledIntoView,getBreakpoint:getBreakpoint,setCookie:setCookie,getCookie:getCookie,newChart:newChart,settings:settings,getItemFromStore:getItemFromStore,setItemToStore:setItemToStore,getStoreSpace:getStoreSpace},detectorInit=function(){var e=window.is,t=document.querySelector("html");e.opera()&&addClass(t,"opera"),e.mobile()&&addClass(t,"mobile"),e.firefox()&&addClass(t,"firefox"),e.safari()&&addClass(t,"safari"),e.ios()&&addClass(t,"ios"),e.iphone()&&addClass(t,"iphone"),e.ipad()&&addClass(t,"ipad"),e.ie()&&addClass(t,"ie"),e.edge()&&addClass(t,"edge"),e.chrome()&&addClass(t,"chrome"),e.mac()&&addClass(t,"osx"),e.windows()&&addClass(t,"windows"),navigator.userAgent.match("CriOS")&&addClass(t,"chrome")},navbarInit=function(){var t,r,n,e,o,a,i,s,c,l=".navbar-collapse",d=".navbar-toggler",u="collapsed",f="scroll",p="show.bs.collapse",g="hide.bs.collapse",y="hidden.bs.collapse",b=document.querySelector("[data-navbar-on-scroll]");b.addEventListener("click",function(e){e.target.classList.contains("nav-link")&&window.innerWidth<utils.getBreakpoint(b)&&b.querySelector(d).click()}),b&&(t=window.innerHeight,r=document.documentElement,n=b.querySelector(l),e=_objectSpread(_objectSpread({},utils.colors),utils.grays),l=utils.getData(b,"navbar-light-on-scroll"),l=e[e=Object.keys(e).includes(l)?l:"light"],o="bg-".concat(e),a="shadow-transition",i=utils.hexToRgb(l),s=window.getComputedStyle(b).backgroundImage,c="background-color 0.35s ease",b.style.backgroundImage="none",window.addEventListener(f,function(){var e=r.scrollTop/t*.5;b.classList.add("backdrop"),0===e&&b.classList.remove("backdrop"),1<=e&&(e=.5),b.style.backgroundColor="rgba(".concat(i[0],", ").concat(i[1],", ").concat(i[2],", ").concat(e,")"),b.style.backgroundImage=0<e||utils.hasClass(n,"show")?s:"none",0<e||utils.hasClass(n,"show")?b.classList.add(a):b.classList.remove(a)}),utils.resize(function(){var e=utils.getBreakpoint(b);window.innerWidth>e?(b.style.backgroundImage=r.scrollTop?s:"none",b.style.transition="none"):utils.hasClass(b.querySelector(d),u)||(b.classList.add(o),b.classList.add(a),b.style.backgroundImage=s),window.innerWidth<=e&&(b.style.transition=utils.hasClass(n,"show")?c:"none")}),n.addEventListener(p,function(){b.classList.add(o),b.classList.add(a),b.style.backgroundImage=s,b.style.transition=c}),n.addEventListener(g,function(){b.classList.remove(o),b.classList.remove(a),r.scrollTop||(b.style.backgroundImage="none")}),n.addEventListener(y,function(){b.style.transition="none"}))},scrollToTop=function(){document.querySelectorAll("[data-anchor] > a, [data-scroll-to]").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();var t=e.target,e=utils.getData(t,"scroll-to")||t.getAttribute("href");window.scroll({top:null!==(t=utils.getData(t,"offset-top"))&&void 0!==t?t:utils.getOffset(document.querySelector(e)).top-100,left:0,behavior:"smooth"}),window.location.hash=e})})},swipers=document.querySelectorAll(".swiper-container");function deepMerge(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(i instanceof Array)e instanceof Array||(e=[]),e=[].concat(_toConsumableArray(e),_toConsumableArray(i));else if(i instanceof Object)for(var s=0,c=Object.entries(i);s<c.length;s++){var l=_slicedToArray(c[s],2),d=l[0],l=l[1];l instanceof Object&&d in e&&(l=deepMerge(e[d],l)),e=_objectSpread(_objectSpread({},e),{},_defineProperty({},d,l))}}return e}function swiperInit(){swipers.forEach(function(e){return new window.Swiper(e,deepMerge({pagination:{el:document.getElementById(e.dataset.paginationTarget),type:"fraction",clickable:!0},autoplay:{delay:2e3,disableOnInteraction:!1,waitForTransition:!0},breakpoints:{768:{slidesPerView:2,spaceBetween:20},992:{slidesPerView:3,spaceBetween:20},1200:{slidesPerView:3,spaceBetween:50},1400:{slidesPerView:5,spaceBetween:10}}},e.dataset.option?JSON.parse(e.dataset.option):{}))})}docReady(navbarInit),docReady(detectorInit),docReady(scrollToTop),docReady(swiperInit);
  //# sourceMappingURL=theme.min.js.map
  