",RVS.DOC.on("click","#rbmas_active_plugin_now",(function(){return jQuery("#rbm_activate_slider").addClass("rbmas_show_activate"),!1}))),RVS.F.showInfo({content:window.rbmContent,type:"register",showdelay:0,hidedelay:0,hideon:"",event:""})},RVS.F.showWaitAMinute=function(e){var t=jQuery("#waitaminute");if(RVS.S.wamCounter=void 0===RVS.S.wamCounter?0:RVS.S.wamCounter,null!=e.delay&&(RVS.S.wamCounter++,tpGS.gsap.to(t,.3,{autoAlpha:1,ease:"power3.inOut"}),tpGS.gsap.set(t,{display:"block"}),setTimeout((function(){RVS.S.wamCounter--,0===RVS.S.wamCounter&&tpGS.gsap.to(t,.3,{autoAlpha:0,ease:"power3.inOut",onComplete:function(){tpGS.gsap.set(t,{display:"block"})}})}),e.delay)),null!=e.fadeIn&&(t&&t.length>0&&(tpGS.gsap.to(t,e.fadeIn/1e3,{autoAlpha:1,ease:"power3.inOut"}),tpGS.gsap.set(t,{display:"block"})),RVS.S.wamCounter++),null!=e.fadeOut&&(RVS.S.wamCounter--,RVS.S.wamCounter=RVS.S.wamCounter<0?0:RVS.S.wamCounter,RVS.S.wamCounter<=0&&t&&t.length>0&&tpGS.gsap.to(t,e.fadeOut/1e3,{autoAlpha:0,ease:"power3.inOut",onComplete:function(){tpGS.gsap.set(t,{display:"block"})}})),null!=e.text)if("progress1"===e.text);else t.html('
'+e.text+"
");else t.html('
'+RVS_LANG.please_wait_a_moment+"
");return!0},RVS.F.turnOnOff=function(e,t){var i=e.getElementsByTagName("INPUT")[0];!0===i.checked?t?(i.checked=!1,i.dispatchEvent(new Event("change",{bubbles:!0})),e.classList.add("off")):e.classList.remove("off"):t?(i.checked=!0,i.dispatchEvent(new Event("change",{bubbles:!0})),e.classList.remove("off")):e.classList.add("off")},RVS.F.turnOnOffVisUpdate=function(e){e.btn=void 0===e.btn?RVS.F.closestClass(e.input,"tponoff_inner"):e.btn,null!==e.btn&&void 0!==e.btn&&(e.wrap=RVS.F.closestClass(e.btn,"tponoffwrap"),e.input=void 0===e.input?e.btn.getElementsByTagName("INPUT")[0]:e.input,!0===e.input.checked?(e.wrap.classList.add("on"),e.wrap.classList.remove("off")):(e.wrap.classList.add("off"),e.wrap.classList.remove("on")))},RVS.F.initOnOff=function(e){"document"===(e=void 0===e?"document":void 0===e[0]?e:e[0])&&void 0===RVS.S.initOnOffList.document&&(RVS.S.initOnOffList.document=!0),"document"!==e&&void 0===RVS.S.initOnOffList[e.id]&&(RVS.S.initOnOffList[e.id]=e),!0!==RVS.S.initOnOffListRaff&&(RVS.S.initOnOffListRaff=!0,requestAnimationFrame((function(){if(void 0!==RVS.S.initOnOffList.document)RVS.F.initOnOffRAF(document);else for(var e in RVS.S.initOnOffList)RVS.S.initOnOffList.hasOwnProperty(e)&&RVS.F.initOnOffRAF(RVS.S.initOnOffList[e]);RVS.S.initOnOffList={},delete RVS.S.initOnOffListRaff})))},RVS.F.initOnOffRAF=function(t){var i=t.querySelectorAll("input[type='checkbox']");for(var a in i)if(i.hasOwnProperty(a)&&-1==i[a].className.indexOf("simplechkbx")&&-1==i[a].className.indexOf("tponoff")){i[a].className+=" tponoff";var r=RVS.F.cE({cN:"tponoffwrap"}),o=RVS.F.cE({cN:"tponoff_inner"}),s=RVS.F.cE({cN:"tponoff_on"}),l=RVS.F.cE({cN:"tponoff_off"});s.textContent="On",l.textContent="Off",o.appendChild(l),o.appendChild(s),r.appendChild(o),r=i[a].parentNode.insertBefore(r,i[a]),s.appendChild(i[a])}void 0===e&&(e=!0,RVS.DOC.on("click",".tponoffwrap",(function(){RVS.F.turnOnOff(this,!0)}))),RVS.F.updateAllOnOff()},RVS.F.updateAllOnOff=function(){void 0===RVS.S.updateingAllOnOff&&(RVS.S.updateingAllOnOff=!0,requestAnimationFrame((function(){jQuery(".tponoffwrap").each((function(){RVS.F.turnOnOff(this,!1)})),delete RVS.S.updateingAllOnOff})))},RVS.F.getAllShortCodes=function(){console.log(""),console.log("%c ------- INSERT SHORTCODE PARAMETERS INTO TEMPLATE LIBRARY --------","background:#222;color:#bada55"),console.log(""),jQuery(".slider_slug").find("input").each((function(){var e,t="";void 0!==(e=RVS.SC.parseShortCode(this.value))&&void 0!==e.attributes&&(void 0!==(e=e.attributes).usage&&(t+=' usage="'+e.usage+'"'),void 0!==e.modal&&(t+=' modal="'+e.modal+'"'),void 0!==e.offset&&(t+=' offset="'+e.offset+'"'),void 0!==e.layout&&(t+=' layout="'+e.layout+'"'),void 0!==e.zindex&&(t+=' zindex="'+e.zindex+'"'),""!==t&&void 0!==t&&(console.log("%c==== "+e.alias+" ==== ","background:#222;font-size:13px; line-height:15px;"),console.log("%c"+t,"background:#222;color:#c0392b;font-size:10px; line-height:15px;"),console.log("")))})),console.log("%c -------------------------------------------------------------------","background:#222;color:#bada55")},RVS.F.ajaxRequest=function(e,t,i,a,r,o,s){var l={action:RVS.ENV.ajax_pre+"_ajax_action",client_action:e,nonce:RVS.ENV.nonce,data:t};R(),S(),f(),void 0===a&&(void 0!==o?RVS.F.showWaitAMinute({fadeIn:500,text:o}):RVS.F.showWaitAMinute({fadeIn:500,text:RVS_LANG.please_wait_a_moment})),jQuery.ajax({type:"post",url:ajaxurl,dataType:"json",data:l,success:function(t){if(void 0!==a||t.is_redirect||RVS.F.showWaitAMinute({fadeOut:500}),h(),!t)return RVS.F.showErrorMessage("Empty ajax response!"),!1;if(-1==t)return RVS.F.showErrorMessage("ajax error!!!"),!1;if(0==t)return RVS.F.showErrorMessage("ajax error, action:
"+e+" not found"),!1;if(null==t.success)return RVS.F.showErrorMessage("The 'success' param is a must!"),!1;if(0==t.success){if(void 0===r)return RVS.F.showErrorMessage(t.message),!1;"function"==typeof i&&i(t)}else"function"==typeof i&&i(t),t.message&&!0!==s&&y(t.message),t.is_redirect&&(location.href=t.redirect_url)},error:function(t,i,r){switch(void 0===a&&RVS.F.showWaitAMinute({fadeOut:500}),h(),e){case"preview_slider":jQuery("#rbm_preview .rbm_close").trigger("click"),RVS.F.showInfo({content:RVS_LANG.previewnotworking,type:"info",showdelay:0,hidedelay:5,hideon:"",event:""});break;case"check_system":RVS.F.showInfo({content:RVS_LANG.checksystemnotworking,type:"info",showdelay:0,hidedelay:5,hideon:"",event:""});break;default:"parsererror"==i&&RVS.F.debug(t.responseText),RVS.F.showErrorMessage("Ajax Error!!! "+i)}}})},RVS.F.showErrorMessage=function(e){RVS.F.showInfo({content:e,type:"warning",showdelay:0,hidedelay:3,hideon:"",event:""}),b()},RVS.F.setErrorMessageID=function(e){t=e},RVS.F.setSuccessMessageID=function(e){i=e},RVS.F.hideSuccessMessage=function(){i?(jQuery("#"+i).hide(),i=null):jQuery("#success_message").slideUp("slow").fadeOut("slow"),b()},RVS.F.getNewGlobalObject=function(e){var t={};return e=null==e?{}:e,t.version=t.version<"6.0.0"?"6.0.0":t.version,t.permission=g(e.permission,"admin"),t.lang=g(e.lang,"default"),t.allinclude=m(g(e.allinclude,!0)),t.highContrast=m(g(e.highContrast,!1)),t.templateGuide=m(g(e.templateGuide,!0)),t.moduleGuide=m(g(e.moduleGuide,!0)),t.includeids=g(e.includeids,""),t.script=g(e.script,{footer:!0,defer:!0,full:!1,async:!0,ytapi:!0}),t.imgcrossOrigin=g(e.imgcrossOrigin,"unset"),t.lazyloaddata=g(e.lazyloaddata,""),t.fontdownload=g(e.fontdownload,"off"),t.getTec??={},t.getTec.feed=g(e.getTec?.feed,"REST"),t.getTec.core=g(e.getTec?.core,"MIX"),t.getTec.engine=g(e.getTec?.engine,"SR6"),t.script.footer=m(t.script.footer),t.script.defer=m(t.script.defer),t.script.async=m(t.script.async),t.script.full=m(t.script.full),t.fontawesomedisable=m(e.fontawesomedisable),t.onedpronmobile=m(e.onedpronmobile),t.forceLazyLoading=g(e.forceLazyLoading,"smart"),t.forceViewport=g(e.forceViewport,!0),t.lazyonbg=g(e.lazyonbg,!1),t.forcedViewportDistance=g(e.forcedViewportDistance,"-200px"),t.internalcaching=m(e.internalcaching),t.tracking=g(e.tracking,"1999-01-01"),t.trackingOnOff="enabled"==t.tracking,t.fonturl=g(e.fonturl,""),t.size=g(e.size,{desktop:1240,notebook:1024,tablet:778,mobile:480}),t.customfonts=g(e.customfonts,""),t.customFontList=g(e.customFontList,[{family:"",url:"",frontend:!1,backend:!0,weights:"200,300,400,500,600,700,800,900"}]),t};var S=function(){a&&jQuery("#"+a).show()},h=function(){a&&(jQuery("#"+a).hide(),a=null)},f=function(){if(r){var e=r.split(",");if(e.length>1)for(var t=0;t
1)for(var t=0;t',s+='\t\t",s+="\t