Sindbad~EG File Manager
!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.Tether=e()}(this,(function(t,e,o){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t){var e=getComputedStyle(t).position;if("fixed"===e)return t;for(var o=t;o=o.parentNode;){var i=void 0;try{i=getComputedStyle(o)}catch(t){}if(null==i)return o;var n=i.overflow,r=i.overflowX,s=i.overflowY;if(/(auto|scroll)/.test(n+s+r)&&("absolute"!==e||["relative","absolute","fixed"].indexOf(i.position)>=0))return o}return document.body}function r(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var o=e.documentElement,i={},n=t.getBoundingClientRect();for(var r in n)i[r]=n[r];var s=x(e);return i.top-=s.top,i.left-=s.left,void 0===i.width&&(i.width=document.body.scrollWidth-i.left-i.right),void 0===i.height&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-o.clientTop,i.left=i.left-o.clientLeft,i.right=e.body.clientWidth-i.width-i.left,i.bottom=e.body.clientHeight-i.height-i.top,i}function s(t){return t.offsetParent||document.documentElement}function a(){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");h(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var o=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;o===i&&(i=e.clientWidth),document.body.removeChild(e);var n=o-i;return{width:n,height:n}}function h(){var t=void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach((function(e){if(e)for(var o in e)({}).hasOwnProperty.call(e,o)&&(t[o]=e[o])})),t}function l(t,e){if(void 0!==t.classList)e.split(" ").forEach((function(e){e.trim()&&t.classList.remove(e)}));else{var o=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),i=p(t).replace(o," ");u(t,i)}}function f(t,e){if(void 0!==t.classList)e.split(" ").forEach((function(e){e.trim()&&t.classList.add(e)}));else{l(t,e);var o=p(t)+" "+e;u(t,o)}}function d(t,e){if(void 0!==t.classList)return t.classList.contains(e);var o=p(t);return new RegExp("(^| )"+e+"( |$)","gi").test(o)}function p(t){return t.className instanceof SVGAnimatedString?t.className.baseVal:t.className}function u(t,e){t.setAttribute("class",e)}function c(t,e,o){o.forEach((function(o){-1===e.indexOf(o)&&d(t,o)&&l(t,o)})),e.forEach((function(e){d(t,e)||f(t,e)}))}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){var o=void 0===arguments[2]?1:arguments[2];return t+o>=e&&e>=t-o}function v(){return"undefined"!=typeof performance&&void 0!==performance.now?performance.now():+new Date}function m(){for(var t={top:0,left:0},e=arguments.length,o=Array(e),i=0;e>i;i++)o[i]=arguments[i];return o.forEach((function(e){var o=e.top,i=e.left;"string"==typeof o&&(o=parseFloat(o,10)),"string"==typeof i&&(i=parseFloat(i,10)),t.top+=o,t.left+=i})),t}function b(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}function y(t,e){return"scrollParent"===e?e=t.scrollParent:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=r(e),o=t,i=getComputedStyle(e);e=[o.left,o.top,t.width+o.left,t.height+o.top],N.forEach((function(t,o){"Top"===(t=t[0].toUpperCase()+t.substr(1))||"Left"===t?e[o]+=parseFloat(i["border"+t+"Width"]):e[o]-=parseFloat(i["border"+t+"Width"])}))}(),e}var w=function(){function t(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,o,i){return o&&t(e.prototype,o),i&&t(e,i),e}}(),C=void 0;void 0===C&&(C={modules:[]});var O=function(){var t=0;return function(){return++t}}(),E={},x=function(t){var e=t._tetherZeroElement;void 0===e&&((e=t.createElement("div")).setAttribute("data-tether-id",O()),h(e.style,{top:0,left:0,position:"absolute"}),t.body.appendChild(e),t._tetherZeroElement=e);var o=e.getAttribute("data-tether-id");if(void 0===E[o]){E[o]={};var i=e.getBoundingClientRect();for(var n in i)E[o][n]=i[n];T((function(){delete E[o]}))}return E[o]},A=[],T=function(t){A.push(t)},S=function(){for(var t=void 0;t=A.pop();)t()},W=function(){function t(){i(this,t)}return w(t,[{key:"on",value:function(t,e,o){var i=void 0!==arguments[3]&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:o,once:i})}},{key:"once",value:function(t,e,o){this.on(t,e,o,!0)}},{key:"off",value:function(t,e){if(void 0===this.bindings||void 0===this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var o=0;o<this.bindings[t].length;)this.bindings[t][o].handler===e?this.bindings[t].splice(o,1):++o}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t])for(var e=0;e<this.bindings[t].length;){var o=this.bindings[t][e],i=o.handler,n=o.ctx,r=o.once,s=n;void 0===s&&(s=this);for(var a=arguments.length,h=Array(a>1?a-1:0),l=1;a>l;l++)h[l-1]=arguments[l];i.apply(s,h),r?this.bindings[t].splice(e,1):++e}}}]),t}();C.Utils={getScrollParent:n,getBounds:r,getOffsetParent:s,extend:h,addClass:f,removeClass:l,hasClass:d,updateClasses:c,defer:T,flush:S,uniqueId:O,Evented:W,getScrollBarSize:a};var M=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var o=[],i=!0,n=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(o.push(s.value),!e||o.length!==e);i=!0);}catch(t){n=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(n)throw r}}return o}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};if(w=function(){function t(t,e){for(var o=0;o<e.length;o++){var i=e[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,o,i){return o&&t(e.prototype,o),i&&t(e,i),e}}(),void 0===C)throw new Error("You must include the utils.js file before tether.js");var n=(R=C.Utils).getScrollParent,s=(r=R.getBounds,R.getOffsetParent),f=(h=R.extend,R.addClass),l=R.removeClass,a=(c=R.updateClasses,T=R.defer,S=R.flush,R.getScrollBarSize),P=function(){for(var t=document.createElement("div"),e=["transform","webkitTransform","OTransform","MozTransform","msTransform"],o=0;o<e.length;++o){var i=e[o];if(void 0!==t.style[i])return i}}(),k=[],B=function(){k.forEach((function(t){t.position(!1)})),S()};!function(){var t=null,e=null,o=null,i=function i(){return void 0!==e&&e>16?(e=Math.min(e-16,250),void(o=setTimeout(i,250))):void(void 0!==t&&v()-t<10||(void 0!==o&&(clearTimeout(o),o=null),t=v(),B(),e=v()-t))};["resize","scroll","touchmove"].forEach((function(t){window.addEventListener(t,i)}))}();var _={center:"center",left:"right",right:"left"},z={middle:"middle",top:"bottom",bottom:"top"},F={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},L=function(t){var e=t.left,o=t.top;return void 0!==F[t.left]&&(e=F[t.left]),void 0!==F[t.top]&&(o=F[t.top]),{left:e,top:o}},Y=function(t){var e=t.split(" "),o=M(e,2);return{top:o[0],left:o[1]}},H=Y,X=function(){function t(e){var o=this;i(this,t),this.position=this.position.bind(this),k.push(this),this.history=[],this.setOptions(e,!1),C.modules.forEach((function(t){void 0!==t.initialize&&t.initialize.call(o)})),this.position()}return w(t,[{key:"getClass",value:function(){var t=void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,o=void 0===arguments[1]||arguments[1];this.options=h({offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},t);var i=this.options,r=i.element,s=i.target,a=i.targetModifier;if(this.element=r,this.target=s,this.targetModifier=a,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))})),f(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&f(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=H(this.options.targetAttachment),this.attachment=H(this.options.attachment),this.offset=Y(this.options.offset),this.targetOffset=Y(this.options.targetOffset),void 0!==this.scrollParent&&this.disable(),this.scrollParent="scroll-handle"===this.targetModifier?this.target:n(this.target),!1!==this.options.enabled&&this.enable(o)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return r(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((s={height:(t=r(this.target)).height,width:t.width,top:t.top,left:t.left}).height=Math.min(s.height,t.height-(pageYOffset-t.top)),s.height=Math.min(s.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),s.height=Math.min(innerHeight,s.height),s.height-=2,s.width=Math.min(s.width,t.width-(pageXOffset-t.left)),s.width=Math.min(s.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),s.width=Math.min(innerWidth,s.width),s.width-=2,s.top<pageYOffset&&(s.top=pageYOffset),s.left<pageXOffset&&(s.left=pageXOffset),s);if("scroll-handle"===this.targetModifier){var t=void 0,e=this.target;e===document.body?(e=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=r(e);var o=getComputedStyle(e),i=0;(e.scrollWidth>e.clientWidth||[o.overflow,o.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(i=15);var n=t.height-parseFloat(o.borderTopWidth)-parseFloat(o.borderBottomWidth)-i,s={width:15,height:.975*n*(n/e.scrollHeight),left:t.left+t.width-parseFloat(o.borderLeftWidth)-15},a=0;408>n&&this.target===document.body&&(a=-11e-5*Math.pow(n,2)-.00727*n+22.58),this.target!==document.body&&(s.height=Math.max(s.height,24));var h=this.target.scrollTop/(e.scrollHeight-n);return s.top=h*(n-s.height-a)+t.top+parseFloat(o.borderTopWidth),this.target===document.body&&(s.height=Math.max(s.height,24)),s}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&f(this.target,this.getClass("enabled")),f(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParent!==document&&this.scrollParent.addEventListener("scroll",this.position),t&&this.position()}},{key:"disable",value:function(){l(this.target,this.getClass("enabled")),l(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParent&&this.scrollParent.removeEventListener("scroll",this.position)}},{key:"destroy",value:function(){var t=this;this.disable(),k.forEach((function(e,o){return e===t?void k.splice(o,1):void 0}))}},{key:"updateAttachClasses",value:function(t,e){var o=this;t=t||this.attachment,e=e||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var i=this._addAttachClasses;t.top&&i.push(this.getClass("element-attached")+"-"+t.top),t.left&&i.push(this.getClass("element-attached")+"-"+t.left),e.top&&i.push(this.getClass("target-attached")+"-"+e.top),e.left&&i.push(this.getClass("target-attached")+"-"+e.left);var n=[];["left","top","bottom","right","middle","center"].forEach((function(t){n.push(o.getClass("element-attached")+"-"+t),n.push(o.getClass("target-attached")+"-"+t)})),T((function(){void 0!==o._addAttachClasses&&(c(o.element,o._addAttachClasses,n),!1!==o.options.addTargetClasses&&c(o.target,o._addAttachClasses,n),delete o._addAttachClasses)}))}},{key:"position",value:function(){var t=this,e=void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var o=function(t,e){var o=t.left,i=t.top;return"auto"===o&&(o=_[e.left]),"auto"===i&&(i=z[e.top]),{left:o,top:i}}(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,o);var i=this.cache("element-bounds",(function(){return r(t.element)})),n=i.width,h=i.height;if(0===n&&0===h&&void 0!==this.lastSize){var l=this.lastSize;n=l.width,h=l.height}else this.lastSize={width:n,height:h};var f=this.cache("target-bounds",(function(){return t.getTargetBounds()})),d=f,p=b(L(this.attachment),{width:n,height:h}),u=b(L(o),d),c=b(this.offset,{width:n,height:h}),g=b(this.targetOffset,d);p=m(p,c),u=m(u,g);for(var v=f.left+u.left-p.left,y=f.top+u.top-p.top,w=0;w<C.modules.length;++w){var O=C.modules[w].position.call(this,{left:v,top:y,targetAttachment:o,targetPos:f,elementPos:i,offset:p,targetOffset:u,manualOffset:c,manualTargetOffset:g,scrollbarSize:x,attachment:this.attachment});if(!1===O)return!1;void 0!==O&&"object"==typeof O&&(y=O.top,v=O.left)}var E={page:{top:y,left:v},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-h+innerHeight,left:v-pageXOffset,right:pageXOffset-v-n+innerWidth}},x=void 0;return document.body.scrollWidth>window.innerWidth&&(x=this.cache("scrollbar-size",a),E.viewport.bottom-=x.height),document.body.scrollHeight>window.innerHeight&&(x=this.cache("scrollbar-size",a),E.viewport.right-=x.width),(-1===["","static"].indexOf(document.body.style.position)||-1===["","static"].indexOf(document.body.parentElement.style.position))&&(E.page.bottom=document.body.scrollHeight-y-h,E.page.right=document.body.scrollWidth-v-n),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",(function(){return s(t.target)})),o=t.cache("target-offsetparent-bounds",(function(){return r(e)})),i=getComputedStyle(e),n=o,a={};if(["Top","Left","Bottom","Right"].forEach((function(t){a[t.toLowerCase()]=parseFloat(i["border"+t+"Width"])})),o.right=document.body.scrollWidth-o.left-n.width+a.right,o.bottom=document.body.scrollHeight-o.top-n.height+a.bottom,E.page.top>=o.top+a.top&&E.page.bottom>=o.bottom&&E.page.left>=o.left+a.left&&E.page.right>=o.right){var h=e.scrollTop,l=e.scrollLeft;E.offset={top:E.page.top-o.top+h-a.top,left:E.page.left-o.left+l-a.left}}}(),this.move(E),this.history.unshift(E),this.history.length>3&&this.history.pop(),e&&S(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var o={};for(var i in t)for(var n in o[i]={},t[i]){for(var r=!1,a=0;a<this.history.length;++a){var l=this.history[a];if(void 0!==l[i]&&!g(l[i][n],t[i][n])){r=!0;break}}r||(o[i][n]=!0)}var f={top:"",left:"",right:"",bottom:""},d=function(t,o){if(!1!==(void 0!==e.options.optimizations?e.options.optimizations.gpu:null)){var i=void 0,n=void 0;t.top?(f.top=0,i=o.top):(f.bottom=0,i=-o.bottom),t.left?(f.left=0,n=o.left):(f.right=0,n=-o.right),f[P]="translateX("+Math.round(n)+"px) translateY("+Math.round(i)+"px)","msTransform"!==P&&(f[P]+=" translateZ(0)")}else t.top?f.top=o.top+"px":f.bottom=o.bottom+"px",t.left?f.left=o.left+"px":f.right=o.right+"px"},p=!1;(o.page.top||o.page.bottom)&&(o.page.left||o.page.right)?(f.position="absolute",d(o.page,t.page)):(o.viewport.top||o.viewport.bottom)&&(o.viewport.left||o.viewport.right)?(f.position="fixed",d(o.viewport,t.viewport)):void 0!==o.offset&&o.offset.top&&o.offset.left?function(){f.position="absolute";var i=e.cache("target-offsetparent",(function(){return s(e.target)}));s(e.element)!==i&&T((function(){e.element.parentNode.removeChild(e.element),i.appendChild(e.element)})),d(o.offset,t.offset),p=!0}():(f.position="absolute",d({top:!0,left:!0},t.page)),p||"BODY"===this.element.parentNode.tagName||(this.element.parentNode.removeChild(this.element),document.body.appendChild(this.element));var u={},c=!1;for(var n in f){var v=f[n],m=this.element.style[n];""!==m&&""!==v&&["top","left","bottom","right"].indexOf(n)>=0&&(m=parseFloat(m),v=parseFloat(v)),m!==v&&(c=!0,u[n]=v)}c&&T((function(){h(e.element.style,u)}))}}}]),t}();X.modules=[],C.position=B;var j=h(X,C),h=(M=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var o=[],i=!0,n=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(o.push(s.value),!e||o.length!==e);i=!0);}catch(t){n=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(n)throw r}}return o}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=(R=C.Utils).getBounds,R.extend),N=(c=R.updateClasses,T=R.defer,["left","top","right","bottom"]);C.modules.push({position:function(t){var e=this,o=t.top,i=t.left,n=t.targetAttachment;if(!this.options.constraints)return!0;var s=this.cache("element-bounds",(function(){return r(e.element)})),a=s.height,l=s.width;if(0===l&&0===a&&void 0!==this.lastSize){var f=this.lastSize;l=f.width,a=f.height}var d=this.cache("target-bounds",(function(){return e.getTargetBounds()})),p=d.height,u=d.width,g=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(t){var e=t.outOfBoundsClass,o=t.pinnedClass;e&&g.push(e),o&&g.push(o)})),g.forEach((function(t){["left","top","right","bottom"].forEach((function(e){g.push(t+"-"+e)}))}));var v=[],m=h({},n),b=h({},this.attachment);return this.options.constraints.forEach((function(t){var r=t.to,s=t.attachment,h=t.pin;void 0===s&&(s="");var f=void 0,d=void 0;if(s.indexOf(" ")>=0){var c=s.split(" "),g=M(c,2);d=g[0],f=g[1]}else f=d=s;var w=y(e,r);("target"===d||"both"===d)&&(o<w[1]&&"top"===m.top&&(o+=p,m.top="bottom"),o+a>w[3]&&"bottom"===m.top&&(o-=p,m.top="top")),"together"===d&&(o<w[1]&&"top"===m.top&&("bottom"===b.top?(o+=p,m.top="bottom",o+=a,b.top="top"):"top"===b.top&&(o+=p,m.top="bottom",o-=a,b.top="bottom")),o+a>w[3]&&"bottom"===m.top&&("top"===b.top?(o-=p,m.top="top",o-=a,b.top="bottom"):"bottom"===b.top&&(o-=p,m.top="top",o+=a,b.top="top")),"middle"===m.top&&(o+a>w[3]&&"top"===b.top?(o-=a,b.top="bottom"):o<w[1]&&"bottom"===b.top&&(o+=a,b.top="top"))),("target"===f||"both"===f)&&(i<w[0]&&"left"===m.left&&(i+=u,m.left="right"),i+l>w[2]&&"right"===m.left&&(i-=u,m.left="left")),"together"===f&&(i<w[0]&&"left"===m.left?"right"===b.left?(i+=u,m.left="right",i+=l,b.left="left"):"left"===b.left&&(i+=u,m.left="right",i-=l,b.left="right"):i+l>w[2]&&"right"===m.left?"left"===b.left?(i-=u,m.left="left",i-=l,b.left="right"):"right"===b.left&&(i-=u,m.left="left",i+=l,b.left="left"):"center"===m.left&&(i+l>w[2]&&"left"===b.left?(i-=l,b.left="right"):i<w[0]&&"right"===b.left&&(i+=l,b.left="left"))),("element"===d||"both"===d)&&(o<w[1]&&"bottom"===b.top&&(o+=a,b.top="top"),o+a>w[3]&&"top"===b.top&&(o-=a,b.top="bottom")),("element"===f||"both"===f)&&(i<w[0]&&"right"===b.left&&(i+=l,b.left="left"),i+l>w[2]&&"left"===b.left&&(i-=l,b.left="right")),"string"==typeof h?h=h.split(",").map((function(t){return t.trim()})):!0===h&&(h=["top","left","right","bottom"]),h=h||[];var C=[],O=[];o<w[1]&&(h.indexOf("top")>=0?(o=w[1],C.push("top")):O.push("top")),o+a>w[3]&&(h.indexOf("bottom")>=0?(o=w[3]-a,C.push("bottom")):O.push("bottom")),i<w[0]&&(h.indexOf("left")>=0?(i=w[0],C.push("left")):O.push("left")),i+l>w[2]&&(h.indexOf("right")>=0?(i=w[2]-l,C.push("right")):O.push("right")),C.length&&function(){var t;t=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),v.push(t),C.forEach((function(e){v.push(t+"-"+e)}))}(),O.length&&function(){var t;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),v.push(t),O.forEach((function(e){v.push(t+"-"+e)}))}(),(C.indexOf("left")>=0||C.indexOf("right")>=0)&&(b.left=m.left=!1),(C.indexOf("top")>=0||C.indexOf("bottom")>=0)&&(b.top=m.top=!1),(m.top!==n.top||m.left!==n.left||b.top!==e.attachment.top||b.left!==e.attachment.left)&&e.updateAttachClasses(b,m)})),T((function(){!1!==e.options.addTargetClasses&&c(e.target,v,g),c(e.element,v,g)})),{top:o,left:i}}});var R,r=(R=C.Utils).getBounds,c=R.updateClasses;return T=R.defer,C.modules.push({position:function(t){var e=this,o=t.top,i=t.left,n=this.cache("element-bounds",(function(){return r(e.element)})),s=n.height,a=n.width,h=this.getTargetBounds(),l=o+s,f=i+a,d=[];o<=h.bottom&&l>=h.top&&["left","right"].forEach((function(t){var e=h[t];(e===i||e===f)&&d.push(t)})),i<=h.right&&f>=h.left&&["top","bottom"].forEach((function(t){var e=h[t];(e===o||e===l)&&d.push(t)}));var p=[],u=[];return p.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(t){p.push(e.getClass("abutted")+"-"+t)})),d.length&&u.push(this.getClass("abutted")),d.forEach((function(t){u.push(e.getClass("abutted")+"-"+t)})),T((function(){!1!==e.options.addTargetClasses&&c(e.target,u,p),c(e.element,u,p)})),!0}}),M=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var o=[],i=!0,n=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(o.push(s.value),!e||o.length!==e);i=!0);}catch(t){n=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(n)throw r}}return o}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},C.modules.push({position:function(t){var e=t.top,o=t.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:e,left:o}));var n=void 0,r=void 0;if("string"==typeof i){(i=i.split(" "))[1]=i[1]||i[0];var s=M(i,2);n=s[0],r=s[1],n=parseFloat(n,10),r=parseFloat(r,10)}else n=i.top,r=i.left;return{top:e+=n,left:o+=r}}}}),j}));
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists