text: function _runner(i){if(void 0!==i&&!1!==i&&""!==i){var t=i.split(/\s+/);$.each(t,function(i,t){void 0!==t&&"function"==typeof t&&window[t]()})}}function toast_notif(i){0==$("#toast-notif").length&&$("body").append('<div id="toast-notif"></div>'),$("#toast-notif").html(i),$("#toast-notif").css("left",($(window).width()-$("#toast-notif").width())/2+"px");var t=setTimeout(function(){$("#toast-notif").hasClass(".active")||$("#toast-notif").removeClass("active").hide()},5e3);$("#toast-notif").is(":visible")?($("#toast-notif").addClass("active"),clearTimeout(t)):$("#toast-notif").show()}function random_str(){for(var i="",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;a<5;a++)i+=t.charAt(Math.floor(Math.random()*t.length));return i}function modal(i,t,a,e){0==$("#modal-container").length&&$("body").append('<button id="modal-button" data-toggle="modal" data-target="#modal-container" style="display:none;">Launch modal</button><div class="modal fade" id="modal-container" tabindex="-1" role="dialog" aria-labelledby="modal-container-label" aria-hidden="true"><div class="modal-dialog" role="document"><div class="modal-content" style="box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);"> <div class="modal-header"> <h5 class="modal-title" id="modal-container-label"></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true"><i class="ti-close"></i></span> </button> </div><div class="modal-body"> </div></div></div></div>'),modal_open=!0,$("#modal-container .modal-title").html(i),$("#modal-container .modal-body").html(t),void 0!==e&&""!==e&&!1!==e&&$("#modal-container .modal-body").after('<div class="modal-footer">'+e+"</div>"),$("#modal-button").trigger("click"),void 0!==a&&""!==a&&!1!==a&&_runner(a)}function spinner(i,t){if("on"===i){switch(t){case 1:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner1"></div></div></div>');break;case 2:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner2"><div class="double-bounce1"></div><div class="double-bounce2"></div></div></div></div>');break;case 3:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner3"><div class="cube1"></div><div class="cube2"></div></div></div></div>');break;case 4:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner4"></div></div></div>');break;case 5:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner5"><div class="dot1"></div><div class="dot2"></div></div></div></div>');break;case 6:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner6"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div></div>');break;case 7:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner7"><div class="sk-circle1 sk-child"></div><div class="sk-circle2 sk-child"></div><div class="sk-circle3 sk-child"></div><div class="sk-circle4 sk-child"></div><div class="sk-circle5 sk-child"></div><div class="sk-circle6 sk-child"></div><div class="sk-circle7 sk-child"></div><div class="sk-circle8 sk-child"></div><div class="sk-circle9 sk-child"></div><div class="sk-circle10 sk-child"></div><div class="sk-circle11 sk-child"></div><div class="sk-circle12 sk-child"></div></div></div></div>');break;case 8:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner8"><div class="sk-cube sk-cube1"></div><div class="sk-cube sk-cube2"></div><div class="sk-cube sk-cube3"></div><div class="sk-cube sk-cube4"></div><div class="sk-cube sk-cube5"></div><div class="sk-cube sk-cube6"></div><div class="sk-cube sk-cube7"></div><div class="sk-cube sk-cube8"></div><div class="sk-cube sk-cube9"></div></div></div></div>');break;case 9:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner9"><div class="sk-circle1 sk-circle"></div><div class="sk-circle2 sk-circle"></div><div class="sk-circle3 sk-circle"></div><div class="sk-circle4 sk-circle"></div><div class="sk-circle5 sk-circle"></div><div class="sk-circle6 sk-circle"></div><div class="sk-circle7 sk-circle"></div><div class="sk-circle8 sk-circle"></div><div class="sk-circle9 sk-circle"></div><div class="sk-circle10 sk-circle"></div><div class="sk-circle11 sk-circle"></div><div class="sk-circle12 sk-circle"></div></div></div></div>');break;case 10:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class=" display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner10"><div class="sk-cube1 sk-cube"></div><div class="sk-cube2 sk-cube"></div><div class="sk-cube4 sk-cube"></div><div class="sk-cube3 sk-cube"></div></div></div></div>');break;default:$("body").append('<div style="display:flex;align-items:center;justify-content:center;position:fixed;z-index:9998;background:rgba(255,255,255,0.5);width:100%;height:100vh;top:0px;right:0px;" id="spinner-wrapper"><div class="display-table animated zoomIn" style="-webkit-animation-duration: 450ms;animation-duration: 450ms;" id="spinner"><div class="spinner11"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div></div></div>')}$("#spinner").show(),$("body").addClass("disabled")}else $("#spinner").fadeOut(400,function(){$("#spinner").remove()}),$("#spinner-wrapper").remove(),$("body").removeClass("disabled")}function j_equal(){$(".j-equal").css("height","auto"),$(window).width()>=992&&$(".j-equal-container").each(function(){var i=$(this),t=!1,a=!1;t=i.find(".j-equal").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal").css("height",a),t=i.find(".j-equal2").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal2").css("height",a),t=i.find(".j-equal3").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal3").css("height",a),t=i.find(".j-equal4").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal4").css("height",a),t=i.find(".j-equal5").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal5").css("height",a),t=i.find(".j-equal6").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal6").css("height",a)}),$(window).width()>=768&&$(window).width()<=991&&$(".j-equal-container.sm").each(function(){var i=$(this),t=!1,a=!1;t=i.find(".j-equal").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal").css("height",a),t=i.find(".j-equal2").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal2").css("height",a),t=i.find(".j-equal3").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal3").css("height",a),t=i.find(".j-equal4").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal4").css("height",a),t=i.find(".j-equal5").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal5").css("height",a),t=i.find(".j-equal6").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal6").css("height",a)}),$(window).width()<=767&&$(".j-equal-container.xs").each(function(){var i=$(this),t=!1,a=!1;t=i.find(".j-equal").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal").css("height",a),t=i.find(".j-equal2").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal2").css("height",a),t=i.find(".j-equal3").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal3").css("height",a),t=i.find(".j-equal4").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal4").css("height",a),t=i.find(".j-equal5").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal5").css("height",a),t=i.find(".j-equal6").map(function(){return $(this).outerHeight()}).get(),a=Math.max.apply(null,t),i.find(".j-equal6").css("height",a)}),switch_contents()}function switch_contents(){$(window).width()>=768&&$(window).width()<=991&&($(".switch-contents-xs").each(function(){$(this).find(".switch.order-first").insertBefore($(this).find(".switch.order-second"))}),$(".switch-contents-sm").each(function(){$(this).find(".switch.order-first").insertAfter($(this).find(".switch.order-second"))})),$(window).width()<=767&&($(".switch-contents-sm").each(function(){$(this).find(".switch.order-first").insertBefore($(this).find(".switch.order-second"))}),$(".switch-contents-xs").each(function(){$(this).find(".switch.order-first").insertAfter($(this).find(".switch.order-second"))})),$(window).width()>=992&&$(".switch-contents-sm,.switch-contents-xs").each(function(){$(this).find(".switch.order-first").insertBefore($(this).find(".switch.order-second"))})}void 0!==window.jQuery?($(function(){0==$("#modal-container").length&&$("body").append('<button id="modal-button" data-toggle="modal" data-target="#modal-container" style="display:none;">Launch modal</button><div class="modal fade" id="modal-container" tabindex="-1" role="dialog" aria-labelledby="modal-container-label" aria-hidden="true"><div class="modal-dialog" role="document"><div class="modal-content" style="box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);"> <div class="modal-header"> <h5 class="modal-title" id="modal-container-label"></h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true"><i class="ti-close"></i></span> </button> </div><div class="modal-body"> </div></div></div></div>'),$("#modal-container").on("hidden.bs.modal",function(i){$("#modal-container .modal-title").html(""),$("#modal-container .modal-body").html(""),$("#modal-container .modal-dialog").removeClass("modal-sm modal-lg").find(".modal-footer").remove()})}),$(function(){$(".box.image-box").each(function(){void 0!==$(this).attr("data-overlay")&&""!=$(this).attr("data-overlay")?$(this).css("background","linear-gradient("+$(this).attr("data-overlay")+", "+$(this).attr("data-overlay")+" ),url("+$(this).find("img.background-image").attr("src")+")"):$(this).css("background","url("+$(this).find("img.background-image").attr("src")+")"),void 0!==$(this).attr("data-height")&&$(this).css("height",$(this).attr("data-height")),$(this).hasClass("cover")&&$(this).css("background-size","cover")}),$(".box.image-box").hover(function(){$(this).hasClass("no-hover")||(void 0!==$(this).attr("data-hover-overlay")&&""!=$(this).attr("data-hover-overlay")?$(this).css("background","linear-gradient("+$(this).attr("data-hover-overlay")+", "+$(this).attr("data-hover-overlay")+" ),url("+$(this).find("img.background-image").attr("src")+")"):$(this).css("background","url("+$(this).find("img.background-image").attr("src")+")")),$(this).hasClass("cover")&&$(this).css("background-size","cover"),void 0!==$(this).attr("data-on-hover")&&""!=$(this).attr("data-on-hover")&&window[$(this).attr("data-on-hover")]($(this))},function(){$(this).css("background","url("+$(this).find("img.background-image").attr("src")+")"),void 0!==$(this).attr("data-height")&&$(this).css("height",$(this).attr("data-height")),$(this).hasClass("cover")&&$(this).css("background-size","cover"),void 0!==$(this).attr("data-off-hover")&&""!=$(this).attr("data-off-hover")&&window[$(this).attr("data-off-hover")]($(this))})}),$(window).on("load",function(i){$(".box.image-box.auto-height").each(function(){$(this).css("height",$(this).find("img.background-image").height()+"px")}),j_equal()}),$(window).on("resize",function(i){j_equal()}),$(function(){$(".content-loader").each(function(){$(this).css("height",$(this).attr("data-height")+"px"),$(this).html('<div class="spinner11"><div class="rect1"></div><div class="rect2"></div><div class="rect3"></div><div class="rect4"></div><div class="rect5"></div></div>')})})):console.log("jQuery is required");