Sindbad~EG File Manager

Current Path : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt/js/
Upload File :
Current File : /var/www/html/wordpress_alg24news/wp-content/themes/newsbt/js/global.min.js

(function($){"use strict";var methods=(function(){var c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',menuArrowClass:'sf-arrows'},ios=(function(){var ios=/iPhone|iPad|iPod/i.test(navigator.userAgent);if(ios){$(window).on('load',function(){$('body').children().on('click',$.noop)})}return ios})(),wp7=(function(){var style=document.documentElement.style;return('behavior'in style&&'fill'in style&&/iemobile/i.test(navigator.userAgent))})(),toggleMenuClasses=function($menu,o){var classes=c.menuClass;if(o.cssArrows){classes+=' '+c.menuArrowClass}$menu.toggleClass(classes)},setPathToCurrent=function($menu,o){return $menu.find('li.'+o.pathClass).slice(0,o.pathLevels).addClass(o.hoverClass+' '+c.bcClass).filter(function(){return($(this).children(o.popUpSelector).hide().show().length)}).removeClass(o.pathClass)},toggleAnchorClass=function($li){$li.children('a').toggleClass(c.anchorClass)},toggleTouchAction=function($menu){var touchAction=$menu.css('ms-touch-action');touchAction=(touchAction==='pan-y')?'auto':'pan-y';$menu.css('ms-touch-action',touchAction)},applyHandlers=function($menu,o){var targets='li:has('+o.popUpSelector+')';if($.fn.hoverIntent&&!o.disableHI){$menu.hoverIntent(over,out,targets)}else{$menu.on('mouseenter.superfish',targets,over).on('mouseleave.superfish',targets,out)}var touchevent='MSPointerDown.superfish';if(!ios){touchevent+=' touchend.superfish'}if(wp7){touchevent+=' mousedown.superfish'}$menu.on('focusin.superfish','li',over).on('focusout.superfish','li',out).on(touchevent,'a',o,touchHandler)},touchHandler=function(e){var $this=$(this),$ul=$this.siblings(e.data.popUpSelector);if($ul.length>0&&$ul.is(':hidden')){$this.one('click.superfish',false);if(e.type==='MSPointerDown'){$this.trigger('focus')}else{$.proxy(over,$this.parent('li'))()}}},over=function(){var $this=$(this),o=getOptions($this);clearTimeout(o.sfTimer);$this.siblings().superfish('hide').end().superfish('show')},out=function(){var $this=$(this),o=getOptions($this);if(ios){$.proxy(close,$this,o)()}else{clearTimeout(o.sfTimer);o.sfTimer=setTimeout($.proxy(close,$this,o),o.delay)}},close=function(o){o.retainPath=($.inArray(this[0],o.$path)>-1);this.superfish('hide');if(!this.parents('.'+o.hoverClass).length){o.onIdle.call(getMenu(this));if(o.$path.length){$.proxy(over,o.$path)()}}},getMenu=function($el){return $el.closest('.'+c.menuClass)},getOptions=function($el){return getMenu($el).data('sf-options')};return{hide:function(instant){if(this.length){var $this=this,o=getOptions($this);if(!o){return this}var not=(o.retainPath===true)?o.$path:'',$ul=$this.find('li.'+o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector),speed=o.speedOut;if(instant){$ul.show();speed=0}o.retainPath=false;o.onBeforeHide.call($ul);$ul.stop(true,true).animate(o.animationOut,speed,function(){var $this=$(this);o.onHide.call($this)})}return this},show:function(){var o=getOptions(this);if(!o){return this}var $this=this.addClass(o.hoverClass),$ul=$this.children(o.popUpSelector);o.onBeforeShow.call($ul);$ul.stop(true,true).animate(o.animation,o.speed,function(){o.onShow.call($ul)});return this},destroy:function(){return this.each(function(){var $this=$(this),o=$this.data('sf-options'),$hasPopUp;if(!o){return false}$hasPopUp=$this.find(o.popUpSelector).parent('li');clearTimeout(o.sfTimer);toggleMenuClasses($this,o);toggleAnchorClass($hasPopUp);toggleTouchAction($this);$this.off('.superfish').off('.hoverIntent');$hasPopUp.children(o.popUpSelector).attr('style',function(i,style){return style.replace(/display[^;]+;?/g,'')});o.$path.removeClass(o.hoverClass+' '+c.bcClass).addClass(o.pathClass);$this.find('.'+o.hoverClass).removeClass(o.hoverClass);o.onDestroy.call($this);$this.removeData('sf-options')})},init:function(op){return this.each(function(){var $this=$(this);if($this.data('sf-options')){return false}var o=$.extend({},$.fn.superfish.defaults,op),$hasPopUp=$this.find(o.popUpSelector).parent('li');o.$path=setPathToCurrent($this,o);$this.data('sf-options',o);toggleMenuClasses($this,o);toggleAnchorClass($hasPopUp);toggleTouchAction($this);applyHandlers($this,o);$hasPopUp.not('.'+c.bcClass).superfish('hide',true);o.onInit.call(this)})}}})();$.fn.superfish=function(method,args){if(methods[method]){return methods[method].apply(this,Array.prototype.slice.call(arguments,1))}else if(typeof method==='object'||!method){return methods.init.apply(this,arguments)}else{return $.error('Method '+method+' does not exist on jQuery.fn.superfish')}};$.fn.superfish.defaults={popUpSelector:'ul,.sf-mega',hoverClass:'sfHover',pathClass:'overrideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},animationOut:{opacity:'hide'},speed:'normal',speedOut:'fast',cssArrows:true,disableHI:false,onInit:$.noop,onBeforeShow:$.noop,onShow:$.noop,onBeforeHide:$.noop,onHide:$.noop,onIdle:$.noop,onDestroy:$.noop};$.fn.extend({hideSuperfishUl:methods.hide,showSuperfishUl:methods.show})})(jQuery);
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.Slideout=t()}}(function(){var t,e,n;return function i(t,e,n){function o(r,a){if(!e[r]){if(!t[r]){var u=typeof require=="function"&&require;if(!a&&u)return u(r,!0);if(s)return s(r,!0);var l=new Error("Cannot find module '"+r+"'");throw l.code="MODULE_NOT_FOUND",l}var f=e[r]={exports:{}};t[r][0].call(f.exports,function(e){var n=t[r][1][e];return o(n?n:e)},f,f.exports,i,t,e,n)}return e[r].exports}var s=typeof require=="function"&&require;for(var r=0;r<n.length;r++)o(n[r]);return o}({1:[function(t,e,n){"use strict";var i=t("decouple");var o=t("emitter");var s;var r=false;var a=window.document;var u=a.documentElement;var l=window.navigator.msPointerEnabled;var f={start:l?"MSPointerDown":"touchstart",move:l?"MSPointerMove":"touchmove",end:l?"MSPointerUp":"touchend"};var h=function v(){var t=/^(Webkit|Khtml|Moz|ms|O)(?=[A-Z])/;var e=a.getElementsByTagName("script")[0].style;for(var n in e){if(t.test(n)){return"-"+n.match(t)[0].toLowerCase()+"-"}}if("WebkitOpacity"in e){return"-webkit-"}if("KhtmlOpacity"in e){return"-khtml-"}return""}();function c(t,e){for(var n in e){if(e[n]){t[n]=e[n]}}return t}function p(t,e){t.prototype=c(t.prototype||{},e.prototype)}function d(t){t=t||{};this._startOffsetX=0;this._currentOffsetX=0;this._opening=false;this._moved=false;this._opened=false;this._preventOpen=false;this._touch=t.touch===undefined?true:t.touch&&true;this.panel=t.panel;this.menu=t.menu;if(this.panel.className.search("slideout-panel")===-1){this.panel.className+=" slideout-panel"}if(this.menu.className.search("slideout-menu")===-1){this.menu.className+=" slideout-menu"}this._fx=t.fx||"ease";this._duration=parseInt(t.duration,10)||300;this._tolerance=parseInt(t.tolerance,10)||70;this._padding=this._translateTo=parseInt(t.padding,10)||256;this._orientation=t.side==="right"?-1:1;this._translateTo*=this._orientation;if(this._touch){this._initTouchEvents()}}p(d,o);d.prototype.open=function(){var t=this;this.emit("beforeopen");if(u.className.search("slideout-open")===-1){u.className+=" slideout-open"}this._setTransition();this._translateXTo(this._translateTo);this._opened=true;setTimeout(function(){t.panel.style.transition=t.panel.style["-webkit-transition"]="";t.emit("open")},this._duration+50);return this};d.prototype.close=function(){var t=this;if(!this.isOpen()&&!this._opening){return this}this.emit("beforeclose");this._setTransition();this._translateXTo(0);this._opened=false;setTimeout(function(){u.className=u.className.replace(/ slideout-open/,"");t.panel.style.transition=t.panel.style["-webkit-transition"]=t.panel.style[h+"transform"]=t.panel.style.transform="";t.emit("close")},this._duration+50);return this};d.prototype.toggle=function(){return this.isOpen()?this.close():this.open()};d.prototype.isOpen=function(){return this._opened};d.prototype._translateXTo=function(t){this._currentOffsetX=t;this.panel.style[h+"transform"]=this.panel.style.transform="translateX("+t+"px)";return this};d.prototype._setTransition=function(){this.panel.style[h+"transition"]=this.panel.style.transition=h+"transform "+this._duration+"ms "+this._fx;return this};d.prototype._initTouchEvents=function(){var t=this;this._onScrollFn=i(a,"scroll",function(){if(!t._moved){clearTimeout(s);r=true;s=setTimeout(function(){r=false},250)}});this._preventMove=function(e){if(t._moved){e.preventDefault()}};a.addEventListener(f.move,this._preventMove);this._resetTouchFn=function(e){if(typeof e.touches==="undefined"){return}t._moved=false;t._opening=false;t._startOffsetX=e.touches[0].pageX;t._preventOpen=!t._touch||!t.isOpen()&&t.menu.clientWidth!==0};this.panel.addEventListener(f.start,this._resetTouchFn);this._onTouchCancelFn=function(){t._moved=false;t._opening=false};this.panel.addEventListener("touchcancel",this._onTouchCancelFn);this._onTouchEndFn=function(){if(t._moved){t.emit("translateend");t._opening&&Math.abs(t._currentOffsetX)>t._tolerance?t.open():t.close()}t._moved=false};this.panel.addEventListener(f.end,this._onTouchEndFn);this._onTouchMoveFn=function(e){if(r||t._preventOpen||typeof e.touches==="undefined"){return}var n=e.touches[0].clientX-t._startOffsetX;var i=t._currentOffsetX=n;if(Math.abs(i)>t._padding){return}if(Math.abs(n)>20){t._opening=true;var o=n*t._orientation;if(t._opened&&o>0||!t._opened&&o<0){return}if(!t._moved){t.emit("translatestart")}if(o<=0){i=n+t._padding*t._orientation;t._opening=false}if(!t._moved&&u.className.search("slideout-open")===-1){u.className+=" slideout-open"}t.panel.style[h+"transform"]=t.panel.style.transform="translateX("+i+"px)";t.emit("translate",i);t._moved=true}};this.panel.addEventListener(f.move,this._onTouchMoveFn);return this};d.prototype.enableTouch=function(){this._touch=true;return this};d.prototype.disableTouch=function(){this._touch=false;return this};d.prototype.destroy=function(){this.close();a.removeEventListener(f.move,this._preventMove);this.panel.removeEventListener(f.start,this._resetTouchFn);this.panel.removeEventListener("touchcancel",this._onTouchCancelFn);this.panel.removeEventListener(f.end,this._onTouchEndFn);this.panel.removeEventListener(f.move,this._onTouchMoveFn);a.removeEventListener("scroll",this._onScrollFn);this.open=this.close=function(){};return this};e.exports=d},{decouple:2,emitter:3}],2:[function(t,e,n){"use strict";var i=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();function o(t,e,n){var o,s=false;function r(t){o=t;a()}function a(){if(!s){i(u);s=true}}function u(){n.call(t,o);s=false}t.addEventListener(e,r,false);return r}e.exports=o},{}],3:[function(t,e,n){"use strict";var i=function(t,e){if(!(t instanceof e)){throw new TypeError("Cannot call a class as a function")}};n.__esModule=true;var o=function(){function t(){i(this,t)}t.prototype.on=function e(t,n){this._eventCollection=this._eventCollection||{};this._eventCollection[t]=this._eventCollection[t]||[];this._eventCollection[t].push(n);return this};t.prototype.once=function n(t,e){var n=this;function i(){n.off(t,i);e.apply(this,arguments)}i.listener=e;this.on(t,i);return this};t.prototype.off=function o(t,e){var n=undefined;if(!this._eventCollection||!(n=this._eventCollection[t])){return this}n.forEach(function(t,i){if(t===e||t.listener===e){n.splice(i,1)}});if(n.length===0){delete this._eventCollection[t]}return this};t.prototype.emit=function s(t){var e=this;for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++){i[o-1]=arguments[o]}var s=undefined;if(!this._eventCollection||!(s=this._eventCollection[t])){return this}s=s.slice(0);s.forEach(function(t){return t.apply(e,i)});return this};return t}();n["default"]=o;e.exports=n["default"]},{}]},{},[1])(1)});
(function($){'use strict';$.fn.removeDuplicates=function(){var $original=$([]);this.each(function(i,el){var $el=$(el),isDuplicate;$original.each(function(i,orig){if(el.isEqualNode(orig)){isDuplicate=true;$el.remove()}});if(!isDuplicate){$original=$original.add($el)}});return $original}}(jQuery));
(function($){var name='newsTicker';var debugMode=false;function runTicker(settings){tickerData=$(settings.newsList).data('newsTicker');if(tickerData.currentItem>tickerData.newsItemCounter){tickerData.currentItem=0}else if(tickerData.currentItem<0){tickerData.currentItem=tickerData.newsItemCounter}if(tickerData.currentPosition==0){if(tickerData.newsLinks[tickerData.currentItem].length>0){$(tickerData.newsList).empty().append('<li><a '+tickerData.newsAttributes[tickerData.currentItem]+'></a></li>')}else{$(tickerData.newsList).empty().append('<li></li>')}}if(tickerData.animating){if(tickerData.currentPosition%2==0){var placeHolder=tickerData.placeHolder1}else{var placeHolder=tickerData.placeHolder2}if(tickerData.currentPosition<tickerData.newsItems[tickerData.currentItem].length){var tickerText=tickerData.newsItems[tickerData.currentItem].substring(0,tickerData.currentPosition);if(tickerData.newsLinks[tickerData.currentItem].length>0){$(tickerData.newsList+' li a').text(tickerText+placeHolder)}else{$(tickerData.newsList+' li').text(tickerText+placeHolder)}tickerData.currentPosition++;setTimeout(function(){runTicker(settings);settings=null},tickerData.tickerRate)}else{if(tickerData.newsLinks[tickerData.currentItem].length>0){$(tickerData.newsList+' li a').text(tickerData.newsItems[tickerData.currentItem])}else{$(tickerData.newsList+' li').text(tickerData.newsItems[tickerData.currentItem])}setTimeout(function(){if(tickerData.animating){tickerData.currentPosition=0;tickerData.currentItem++;runTicker(settings);settings=null}},tickerData.loopDelay)}}else{var tickerText=tickerData.newsItems[tickerData.currentItem];if(tickerData.newsLinks[tickerData.currentItem].length>0){$(tickerData.newsList+' li a').text(tickerText)}else{$(tickerData.newsList+' li').text(tickerText)}}}jQuery.fn[name]=function(options){var settings=jQuery.extend({},jQuery.fn.newsTicker.defaults,options);var newsItems=new Array();var newsLinks=new Array();var newsAttributes=new Array();var newsItemCounter=0;$(settings.newsList+' li').hide();$(settings.newsList+' li').each(function(){if($(this).children('a').length){newsItems[newsItemCounter]=$(this).children('a').text();newsLinks[newsItemCounter]=$(this).children('a').attr('href');var linkAttributes=new Object();var attrs=$(this).children('a')[0].attributes;for(var i=0;i<attrs.length;i++){linkAttributes[attrs[i].nodeName]=attrs[i].value}if(debugMode){console.log(linkAttributes)}var linkAttributesProcessed='';for(var prop in linkAttributes){linkAttributesProcessed=linkAttributesProcessed+prop+'="'+linkAttributes[prop]+'" '}if(debugMode){console.log(linkAttributesProcessed)}newsAttributes[newsItemCounter]=linkAttributesProcessed}else{newsItems[newsItemCounter]=$(this).text();newsLinks[newsItemCounter]='';newsAttributes[newsItemCounter]=''}newsItemCounter++});var tickerElement=$(settings.newsList);tickerElement.data(name,{newsList:settings.newsList,tickerRate:settings.tickerRate,startDelay:settings.startDelay,loopDelay:settings.loopDelay,placeHolder1:settings.placeHolder1,placeHolder2:settings.placeHolder2,controls:settings.controls,ownControls:settings.ownControls,stopOnHover:settings.stopOnHover,resumeOffHover:settings.resumeOffHover,newsItems:newsItems,newsLinks:newsLinks,newsAttributes:newsAttributes,newsItemCounter:newsItemCounter-1,currentItem:0,currentPosition:0,firstRun:1}).bind({stop:function(event){tickerData=tickerElement.data(name);if(tickerData.animating){tickerData.animating=false;if(debugMode){console.log('stop'+tickerData.currentItem+' '+tickerData.animating)}}},play:function(event){tickerData=tickerElement.data(name);if(!tickerData.animating){tickerData.animating=true;if(debugMode){console.log('play'+tickerData.currentItem+' '+tickerData.animating)}setTimeout(function(){runTicker(tickerData);tickerData=null},tickerData.startDelay)}},resume:function(event){tickerData=tickerElement.data(name);if(!tickerData.animating){tickerData.animating=true;tickerData.currentPosition=0;tickerData.currentItem++;if(debugMode){console.log('resume'+tickerData.currentItem+' '+tickerData.animating)}runTicker(tickerData)}},next:function(event){tickerData=tickerElement.data(name);$(tickerData.newsList).trigger("stop");tickerData.currentPosition=0;tickerData.currentItem++;if(debugMode){console.log('next'+tickerData.currentItem+' '+tickerData.animating)}runTicker(tickerData)},previous:function(event){tickerData=tickerElement.data(name);$(tickerData.newsList).trigger("stop");tickerData.currentPosition=0;tickerData.currentItem--;if(debugMode){console.log('previous'+tickerData.currentItem+' '+tickerData.animating)}runTicker(tickerData)}});if(settings.stopOnHover){tickerElement.bind({mouseover:function(event){tickerData=tickerElement.data(name);if(tickerData.animating){$(tickerData.newsList).trigger("stop");if(tickerData.controls){$('.stop').hide();$('.resume').show()}}}});if(settings.resumeOffHover){tickerElement.bind({mouseout:function(event){tickerData=tickerElement.data(name);if(!tickerData.animating){$(tickerData.newsList).trigger("resume");if(debugMode){console.log('resumeoffhover'+tickerData.currentItem+' '+tickerData.animating)}}}})}}tickerData=tickerElement.data(name);if(tickerData.controls||tickerData.ownControls){if(!tickerData.ownControls){$('<ul class="ticker-controls"><li class="play"><a href="#play">Play</a></li><li class="resume"><a href="#resume">Resume</a></li><li class="stop"><a href="#stop">Stop</a></li><li class="previous"><a href="#previous">Previous</a></li><li class="next"><a href="#next">Next</a></li></ul>').insertAfter($(tickerData.newsList))}$('.play').hide();$('.resume').hide();$('.play').click(function(event){$(tickerData.newsList).trigger("play");$('.play').hide();$('.resume').hide();$('.stop').show();event.preventDefault()});$('.resume').click(function(event){$(tickerData.newsList).trigger("resume");$('.play').hide();$('.resume').hide();$('.stop').show();event.preventDefault()});$('.stop').click(function(event){$(tickerData.newsList).trigger("stop");$('.stop').hide();$('.resume').show();event.preventDefault()});$('.previous').click(function(event){$(tickerData.newsList).trigger("previous");$('.stop').hide();$('.resume').show();event.preventDefault()});$('.next').click(function(event){$(tickerData.newsList).trigger("next");$('.stop').hide();$('.resume').show();event.preventDefault()})};$(tickerData.newsList).trigger("play")};jQuery.fn[name].defaults={newsList:"#news",tickerRate:80,startDelay:100,loopDelay:3000,placeHolder1:" |",placeHolder2:"_",controls:true,ownControls:false,stopOnHover:true,resumeOffHover:false}})(jQuery);
(function(d){var n={speed:700,pause:4E3,showItems:1,mousePause:!0,height:0,animate:!0,margin:0,padding:0,startPaused:!1},c={moveUp:function(a,b){c.animate(a,b,"up")},moveDown:function(a,b){c.animate(a,b,"down")},animate:function(a,b,e){var c=a.itemHeight,f=a.options,k=a.element,g=k.children("ul"),l="up"===e?"li:first":"li:last";k.trigger("vticker.beforeTick");var m=g.children(l).clone(!0);0<f.height&&(c=g.children("li:first").height());c+=f.margin+2*f.padding;"down"===e&&g.css("top","-"+c+"px").prepend(m);if(b&&b.animate){if(a.animating)return;a.animating=!0;g.animate("up"===e?{top:"-="+c+"px"}:{top:0},f.speed,function(){d(g).children(l).remove();d(g).css("top","0px");a.animating=!1;k.trigger("vticker.afterTick")})}else g.children(l).remove(),g.css("top","0px"),k.trigger("vticker.afterTick");"up"===e&&m.appendTo(g)},nextUsePause:function(){var a=d(this).data("state"),b=a.options;a.isPaused||2>a.itemCount||f.next.call(this,{animate:b.animate})},startInterval:function(){var a=d(this).data("state"),b=this;a.intervalId=setInterval(function(){c.nextUsePause.call(b)},a.options.pause)},stopInterval:function(){var a=d(this).data("state");a&&(a.intervalId&&clearInterval(a.intervalId),a.intervalId=void 0)},restartInterval:function(){c.stopInterval.call(this);c.startInterval.call(this)}},f={init:function(a){f.stop.call(this);var b=jQuery.extend({},n);a=d.extend(b,a);var b=d(this),e={itemCount:b.children("ul").children("li").length,itemHeight:0,itemMargin:0,element:b,animating:!1,options:a,isPaused:a.startPaused?!0:!1,pausedByCode:!1};d(this).data("state",e);b.css({overflow:"hidden",position:"relative"}).children("ul").css({position:"absolute",margin:0,padding:0}).children("li").css({margin:a.margin,padding:a.padding});isNaN(a.height)||0===a.height?(b.children("ul").children("li").each(function(){var a=d(this);a.height()>e.itemHeight&&(e.itemHeight=a.height())}),b.children("ul").children("li").each(function(){d(this).height(e.itemHeight)}),b.height((e.itemHeight+(a.margin+2*a.padding))*a.showItems+a.margin)):b.height(a.height);var h=this;a.startPaused||c.startInterval.call(h);a.mousePause&&b.bind("mouseenter",function(){!0!==e.isPaused&&(e.pausedByCode=!0,c.stopInterval.call(h),f.pause.call(h,!0))}).bind("mouseleave",function(){if(!0!==e.isPaused||e.pausedByCode)e.pausedByCode=!1,f.pause.call(h,!1),c.startInterval.call(h)})},pause:function(a){var b=d(this).data("state");if(b){if(2>b.itemCount)return!1;b.isPaused=a;b=b.element;a?(d(this).addClass("paused"),b.trigger("vticker.pause")):(d(this).removeClass("paused"),b.trigger("vticker.resume"))}},next:function(a){var b=d(this).data("state");if(b){if(b.animating||2>b.itemCount)return!1;c.restartInterval.call(this);c.moveUp(b,a)}},prev:function(a){var b=d(this).data("state");if(b){if(b.animating||2>b.itemCount)return!1;c.restartInterval.call(this);c.moveDown(b,a)}},stop:function(){d(this).data("state")&&c.stopInterval.call(this)},remove:function(){var a=d(this).data("state");a&&(c.stopInterval.call(this),a=a.element,a.unbind(),a.remove())}};d.fn.vTicker=function(a){if(f[a])return f[a].apply(this,Array.prototype.slice.call(arguments,1));if("object"!==typeof a&&a)d.error("Method "+a+" does not exist on jQuery.vTicker");else return f.init.apply(this,arguments)}})(jQuery);
(function($){$.fn.navAccordion=function(options,callback){this.each(function(){var settings=$.extend({expandButtonText:"+",collapseButtonText:"-",selectedExpand:"true",selectedClass:"selected",multipleLevels:"true",buttonWidth:"20%",buttonPosition:"right",slideSpeed:"fast",parentElement:"li",childElement:"ul",headersOnly:false,headersOnlyCheck:false,delayLink:false,delayAmount:null},options);var container=this,multi=settings.multipleLevels?'':' > '+settings.childElement+' > ';$(container).addClass('accordion-nav');$(multi+settings.parentElement,container).each(function(){if(($(this).contents(settings.childElement).length>0&&settings.headersOnlyCheck==false)||(!($('> a',this).attr('href'))&&settings.headersOnlyCheck==true)){$(this).addClass('has-subnav').css('position','relative').find('>a').css('margin-'+settings.buttonPosition,settings.buttonWidth);$(' > '+settings.childElement,this).before('<span class="accordion-btn-wrap"><span class="accordion-btn accordion-collapsed">'+settings.expandButtonText+'</span><span class="accordion-btn accordion-expanded">'+settings.collapseButtonText+'</span></span>');$('.accordion-btn-wrap',this).css({'width':settings.buttonWidth,'position':'absolute','top':0,'text-align':'center','cursor':'pointer','display':'inline-block'}).css(settings.buttonPosition,0);$('.accordion-btn ',this).css({'display':'inline-block','width':'100%'});$('.accordion-expanded',this).css('display','none')}if(!($('> a',this).attr('href'))||settings.headersOnly){$(this).addClass('accordion-header-only').find('.accordion-btn-wrap').css({'width':'100%','text-align':settings.buttonPosition}).find('.accordion-btn ').css({'width':settings.buttonWidth,'text-align':'center'})}if(settings.delayLink&&!settings.headersOnly){var currentThis=this,speed=settings.delayAmount!=null?settings.delayAmount:settings.slideSpeed;if(speed=="fast"){speed=200}else if(speed=="slow"){speed=600}$('> a',currentThis).on('click',function(e){if(!$('> .accordion-btn-wrap',currentThis).hasClass("accordion-active")){e.preventDefault();var href=$(this).attr('href');clickToggle($('> .accordion-btn-wrap',currentThis));setTimeout(function(){window.location=href},speed)}})}});var selectedNavAccordion=$(settings.parentElement+'.'+settings.selectedClass+' > .accordion-btn-wrap',container);var buttonheightResize=debounce(function(){buttonheight();expandSelected()},250);buttonheight();expandSelected();$(container).on('click','.accordion-btn-wrap',function(e){e.preventDefault();clickToggle(this)});if(typeof callback=="function"){callback()}function clickToggle(element){var nextChild=$(element).next(settings.childElement),currentExpandBtn=$('.accordion-expanded',element),currentCollapseBtn=$('.accordion-collapsed',element),parentObj=$(element).closest(settings.parentElement);if(nextChild.is(':visible')){nextChild.slideUp(settings.slideSpeed);$(element).removeClass('accordion-active');currentExpandBtn.css('display','none');currentCollapseBtn.css('display','inline-block');parentObj.add(parentObj.siblings('.active')).add(parentObj.find('.active')).removeClass('active')}else{$(element).closest(settings.childElement).find('.accordion-active').removeClass('accordion-active').next(settings.childElement).slideUp(settings.slideSpeed).prev().find('.accordion-expanded').css('display','none').parent().find('.accordion-collapsed').css('display','inline-block');parentObj.add(parentObj.siblings('.active')).add(parentObj.find('.active')).removeClass('active');$(element).addClass('accordion-active');nextChild.slideToggle(settings.slideSpeed);currentExpandBtn.css('display','inline-block');currentCollapseBtn.css('display','none');parentObj.addClass('active')}}function expandSelected(){if(settings.selectedExpand){if(!settings.headersOnlyCheck){selectedNavAccordion.find('.accordion-expanded').css('display','inline-block');selectedNavAccordion.find('.accordion-collapsed').css('display','none');selectedNavAccordion.addClass('accordion-active').next(settings.childElement).css('display','block');selectedNavAccordion.closest(settings.parentElement).addClass('active')}else{$(settings.parentElement+'.'+settings.selectedClass+' > '+settings.childElement,container).css('display','block');$(settings.parentElement+'.'+settings.selectedClass).addClass('active')}}}function buttonheight(){$('.accordion-btn',container).each(function(){$(settings.parentElement+'.has-subnav > '+settings.childElement,container).css('display','block');var parentItem=$(this).closest(settings.parentElement),lineheight=$('> a',parentItem).innerHeight();$(this).css({'line-height':lineheight+'px','height':lineheight});$(settings.parentElement+((settings.headersOnlyCheck)?' ':'.has-subnav > ')+settings.childElement,container).css('display','none');$('.accordion-expanded').css('display','none');$('.accordion-collapsed').css('display','inline-block')})}function debounce(func,wait,immediate){var timeout;return function(){var context=this,args=arguments;var later=function(){timeout=null;if(!immediate)func.apply(context,args)};var callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)func.apply(context,args)}}})}})(jQuery);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists