var htmlDiv = document.getElementById("rs-plugin-settings-inline-css");
var htmlDivCss = ".tp-caption.slider_1_1,.slider_1_1{color:rgba(255,255,255,1.00);font-size:50px;line-height:58px;font-weight:700;font-style:normal;font-family:Montserrat;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px;text-transform:uppercase}.tp-caption.slider_1_2,.slider_1_2{color:rgba(255,255,255,1.00);font-size:50px;line-height:58px;font-weight:700;font-style:normal;font-family:Montserrat;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_1_3,.slide_1_3{color:rgba(255,255,255,1.00);font-size:16px;line-height:27px;font-weight:400;font-style:normal;font-family:Lora;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_1_4,.slide_1_4{color:rgba(255,255,255,1.00);font-size:16px;line-height:27px;font-weight:400;font-style:normal;font-family:Lora;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_1_button_1,.slide_1_button_1{color:rgba(0,0,0,1.00);font-size:16px;line-height:27px;font-weight:400;font-style:normal;font-family:Lora;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_1_button_2,.slide_1_button_2{color:rgba(0,0,0,1.00);font-size:16px;line-height:27px;font-weight:400;font-style:normal;font-family:Lora;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slider_2_1,.slider_2_1{color:rgba(0,0,0,1.00);font-size:50px;line-height:58px;font-weight:700;font-style:normal;font-family:Montserrat;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_2_3,.slide_2_3{color:rgba(0,0,0,1.00);font-size:16px;line-height:27px;font-weight:400;font-style:normal;font-family:Lora;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slider_2_2,.slider_2_2{color:rgba(0,0,0,1.00);font-size:50px;line-height:58px;font-weight:700;font-style:normal;font-family:Montserrat;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_2_4,.slide_2_4{color:rgba(0,0,0,1.00);font-size:16px;line-height:27px;font-weight:400;font-style:normal;font-family:Lora;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}.tp-caption.slide_2_5,.slide_2_5{color:rgba(0,0,0,1.00);font-size:13px;line-height:27px;font-weight:700;font-style:normal;font-family:Montserrat;padding:0px 0px 0px 0px;text-decoration:none;text-align:left;background-color:transparent;border-color:transparent;border-style:none;border-width:0px;border-radius:0px 0px 0px 0px}";
if (htmlDiv) {
htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
} else {
var htmlDiv = document.createElement("div");
htmlDiv.innerHTML = "";
document.getElementsByTagName("head")[0].appendChild(htmlDiv.childNodes[0]);
}
/******************************************
- PREPARE PLACEHOLDER FOR SLIDER -
******************************************/
var setREVStartSize = function() {
try {
var e = new Object,
i = jQuery(window).width(),
t = 9999,
r = 0,
n = 0,
l = 0,
f = 0,
s = 0,
h = 0;
e.c = jQuery('#rev_slider_1_1');
e.gridwidth = [1240];
e.gridheight = [603];
e.sliderLayout = "auto";
if (e.responsiveLevels && (jQuery.each(e.responsiveLevels, function(e, f) {
f > i && (t = r = f, l = e), i > f && f > r && (r = f, n = e)
}), t > r && (l = n)), f = e.gridheight[l] || e.gridheight[0] || e.gridheight, s = e.gridwidth[l] || e.gridwidth[0] || e.gridwidth, h = i / s, h = h > 1 ? 1 : h, f = Math.round(h * f), "fullscreen" == e.sliderLayout) {
var u = (e.c.width(), jQuery(window).height());
if (void 0 != e.fullScreenOffsetContainer) {
var c = e.fullScreenOffsetContainer.split(",");
if (c) jQuery.each(c, function(e, i) {
u = jQuery(i).length > 0 ? u - jQuery(i).outerHeight(!0) : u
}), e.fullScreenOffset.split("%").length > 1 && void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 ? u -= jQuery(window).height() * parseInt(e.fullScreenOffset, 0) / 100 : void 0 != e.fullScreenOffset && e.fullScreenOffset.length > 0 && (u -= parseInt(e.fullScreenOffset, 0))
}
f = u
} else void 0 != e.minHeight && f < e.minHeight && (f = e.minHeight);
e.c.closest(".rev_slider_wrapper").css({
height: f
})
} catch (d) {
console.log("Failure at Presize of Slider:" + d)
}
};
setREVStartSize();
function revslider_showDoubleJqueryError(sliderID) {
var errorMessage = "Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";
errorMessage += "
This includes make eliminates the revolution slider libraries, and make it not work.";
errorMessage += "
To fix it you can:
1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.";
errorMessage += "
2. Find the double jquery.js include and remove it.";
errorMessage = "" + errorMessage + "";
jQuery(sliderID).show().html(errorMessage);
}
var tpj = jQuery;
var revapi1;
tpj(document).ready(function() {
if (tpj("#rev_slider_1_1").revolution == undefined) {
revslider_showDoubleJqueryError("#rev_slider_1_1");
} else {
revapi1 = tpj("#rev_slider_1_1").show().revolution({
sliderType: "standard",
jsFileLocation: "//seorocket.wp/wp-content/plugins/revslider/public/assets/js/",
sliderLayout: "auto",
dottedOverlay: "none",
delay: 9000,
navigation: {
keyboardNavigation: "off",
keyboard_direction: "horizontal",
mouseScrollNavigation: "off",
onHoverStop: "off",
arrows: {
style: "uranus",
enable: true,
hide_onmobile: true,
hide_under: 959,
hide_onleave: true,
hide_delay: 200,
hide_delay_mobile: 1200,
tmp: '',
left: {
h_align: "left",
v_align: "center",
h_offset: 20,
v_offset: 0
},
right: {
h_align: "right",
v_align: "center",
h_offset: 20,
v_offset: 0
}
}
},
visibilityLevels: [1240, 1024, 778, 480],
gridwidth: 1240,
gridheight: 603,
lazyType: "none",
shadow: 0,
spinner: "spinner0",
stopLoop: "off",
stopAfterLoops: -1,
stopAtSlide: -1,
shuffle: "off",
autoHeight: "off",
disableProgressBar: "on",
hideThumbsOnMobile: "off",
hideSliderAtLimit: 0,
hideCaptionAtLimit: 640,
hideAllCaptionAtLilmit: 0,
debugMode: false,
fallbacks: {
simplifyAll: "off",
nextSlideOnWindowFocus: "off",
disableFocusListener: false,
}
});
}
}); /*ready*/
var htmlDivCss = unescape(".uranus.tparrows%20%7B%0A%20%20width%3A50px%3B%0A%20%20height%3A50px%3B%0A%20%20background%3Atransparent%3B%0A%20%7D%0A%20.uranus.tparrows%3Abefore%20%7B%0A%20width%3A50px%3B%0A%20height%3A50px%3B%0A%20line-height%3A50px%3B%0A%20font-size%3A40px%3B%0A%20transition%3Aall%200.3s%3B%0A-webkit-transition%3Aall%200.3s%3B%0A%20%7D%0A%20%0A%20%20.uranus.tparrows%3Ahover%3Abefore%20%7B%0A%20%20%20%20opacity%3A0.75%3B%0A%20%20%7D%0A");
var htmlDiv = document.getElementById('rs-plugin-settings-inline-css');
if (htmlDiv) {
htmlDiv.innerHTML = htmlDiv.innerHTML + htmlDivCss;
} else {
var htmlDiv = document.createElement('div');
htmlDiv.innerHTML = '';
document.getElementsByTagName('head')[0].appendChild(htmlDiv.childNodes[0]);
}