').find("#sdrn_wrapper_inner");m.insertBefore(E),l.insertBefore(E),C.insertBefore(E);var O=M.find("> *").filter(function(){return"fixed"===e(this).css("position")}).each(function(){var n=e(this);p.append(n),k.push(n)});a(k),p.height()
=0?{background:"#fff"}:{background:p.css("background")})}l.on("click",function(){i(),l.toggleClass("_opened_"),l.hasClass("_opened_")?(l.addClass("menu_is_opened"),p.addClass("menu_is_opened"),e(".fixed_animation").addClass("fixed_animation_moved")):(l.removeClass("menu_is_opened"),p.removeClass("menu_is_opened"),e(".fixed_animation").removeClass("fixed_animation_moved"))}),u.on("click",function(n){if(n.preventDefault(),"yes"==b&&e(this).parent().hasClass("sdrn_parent_item_li"))return void e(this).prev("span.sdrn_icon").trigger("click");var s=e(this).attr("href");m.hasClass("sdrn_jquery")&&e.sidr("close","sdrn_menu"),m.hasClass("sdrn_css3")&&(i(),l.removeClass("menu_is_opened"),p.removeClass("menu_is_opened"),e(".fixed_animation").removeClass("fixed_animation_moved")),setTimeout(function(){window.location.href=s},w)}),"yes"==m.attr("data-swipe_actions")&&e(window).touchwipe({wipeLeft:function(){m.hasClass("left")&&o(),m.hasClass("right")&&d()},wipeRight:function(){m.hasClass("left")&&d(),m.hasClass("right")&&o()},preventDefaultEvents:!1}),e(window).resize(function(){x=window.innerWidthc&&n(m)&&(i(),m.hasClass("sdrn_jquery")&&e.sidr("close","sdrn_menu"),m.hasClass("sdrn_css3")&&(l.removeClass("menu_is_opened"),p.removeClass("menu_is_opened"),e(".fixed_animation").removeClass("fixed_animation_moved"))),r(),a(k)})}else m.hasClass("top")&&(p.prepend(m),r(),l.on("click",function(n){e("html, body").animate({scrollTop:0},w),l.toggleClass("_opened_"),l.hasClass("_opened_")?(l.addClass("menu_is_opened"),p.addClass("menu_is_opened")):(l.removeClass("menu_is_opened"),p.removeClass("menu_is_opened")),i(),m.stop(!0,!1).slideToggle(w)}),u.on("click",function(n){if(n.preventDefault(),"yes"==b&&e(this).parent().hasClass("sdrn_parent_item_li"))return console.log("s"),void e(this).prev("span.sdrn_icon_par").trigger("click");var s=e(this).attr("href");m.slideUp(w,function(){window.location.href=s})}),e(window).resize(function(){x=window.innerWidthc&&n(m)&&(i(),m.slideUp(w,function(){}))}))}});var Detect=function(e){void 0===e&&(e={}),this.init=function(){return this.mm=window.matchMedia,this.mm&&!e.useUA?(this.method="media queries",this.type=n()):(this.method="user agent strings",this.type=r()),e.verbose?[this.type,this.method]:this.type};var n=function(){return t(320)&&a(480)?"smartphone":t(768)&&a(1024)?"tablet":"desktop"},s=function(e,n){return window.matchMedia("screen and ("+e+"-device-width: "+n+"px)").matches},t=function(e){return s("min",e)},a=function(e){return s("max",e)},r=function(){var e=navigator.userAgent;for(tablets=[/Android 3/i,/iPad/i],i=0,l=tablets.length;l>i;i++)if(e.match(tablets[i]))return"tablet";for(smartphones=[/Mobile/i,/Android/i,/iPhone/i,/BlackBerry/i,/Windows Phone/i,/Windows Mobile/i,/Maemo/i,/PalmSource/i,/SymbianOS/i,/SymbOS/i,/Nokia/i,/MOT-/i,/JDME/i,/Series 60/i,/S60/i,/SonyEricsson/i],i=0,l=smartphones.length;l>i;i++)if(e.match(smartphones[i]))return"smartphone";return"desktop"};return this.init()};
;!function(a,b){"use strict";function c(){if(!e){e=!0;var a,c,d,f,g=-1!==navigator.appVersion.indexOf("MSIE 10"),h=!!navigator.userAgent.match(/Trident.*rv:11\./),i=b.querySelectorAll("iframe.wp-embedded-content");for(c=0;c1e3)g=1e3;else if(~~g<200)g=200;f.height=g}if("link"===d.message)if(h=b.createElement("a"),i=b.createElement("a"),h.href=f.getAttribute("src"),i.href=d.value,i.host===h.host)if(b.activeElement===f)a.top.location.href=d.value}else;}},d)a.addEventListener("message",a.wp.receiveEmbedMessage,!1),b.addEventListener("DOMContentLoaded",c,!1),a.addEventListener("load",c,!1)}(window,document);