nextcloud/core/js/dist/files_client.js

33 lines
123 KiB
JavaScript
Raw Normal View History

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1072)}({0:function(e,t,n){var r,i,o;
/*!
* jQuery JavaScript Library v2.2.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-05-20T17:23Z
*/i="undefined"!=typeof window?window:this,o=function(n,i){var o=[],u=n.document,s=o.slice,a=o.concat,c=o.push,l=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h={},g=function(e,t){return new g.fn.init(e,t)},v=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,m=/^-ms-/,y=/-([\da-z])/gi,x=function(e,t){return t.toUpperCase()};function b(e){var t=!!e&&"length"in e&&e.length,n=g.type(e);return"function"!==n&&!g.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}g.fn=g.prototype={jquery:"2.2.4",constructor:g,selector:"",length:0,toArray:function(){return s.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:s.call(this)},pushStack:function(e){var t=g.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return g.each(this,e)},map:function(e){return this.pushStack(g.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},g.extend=g.fn.extend=function(){var e,t,n,r,i,o,u=arguments[0]||{},s=1,a=arguments.length,c=!1;for("boolean"==typeof u&&(c=u,u=arguments[s]||{},s++),"object"==typeof u||g.isFunction(u)||(u={}),s===a&&(u=this,s--);s<a;s++)if(null!=(e=arguments[s]))for(t in e)n=u[t],u!==(r=e[t])&&(c&&r&&(g.isPlainObject(r)||(i=g.isArray(r)))?(i?(i=!1,o=n&&g.isArray(n)?n:[]):o=n&&g.isPlainObject(n)?n:{},u[t]=g.extend(c,o,r)):void 0!==r&&(u[t]=r));return u},g.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===g.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!g.isArray(e)&&t-parseFloat(t)+1>=0},isPlainObject:function(e){var t;if("object"!==g.type(e)||e.nodeType||g.isWindow(e))return!1;if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||p.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=g.trim(e))&&(1===e.indexOf("use strict")?((t=u.createElement("script")).text=e,u.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(m,"ms-").replace(y,x)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(b(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(v,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(b(Object(e))?g.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,u=!n;i<o;i++)!t(e[i],i)!==u&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,u=[];if(b(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&u.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&u.push(i);return a.apply([],u)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g.isFunction(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||g.guid++,i},now:Date.now,support:h}),"function"==typeof Symbol&&(g.fn[Symbol.iterator]=o[Symbol.iterator]),g.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){f["[object "+t+"]"]=t.toLowerCase()}));var w=
/*!
* Sizzle CSS Selector Engine v2.2.1
* http://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-10-17
*/
function(e){var t,n,r,i,o,u,s,a,c,l,f,d,p,h,g,v,m,y,x,b="sizzle"+1*new Date,w=e.document,T=0,S=0,E=ie(),N=ie(),C=ie(),_=function(e,t){return e===t&&(f=!0),0},O={}.hasOwnProperty,k=[],j=k.pop,D=k.push,A=k.push,P=k.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F="\\["+q+"*("+I+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+q+"*\\]",H=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",M=new RegExp(q+"+","g"),W=new RegExp("^"+q+"+|((?:^|[^\\\\])(?:\\\\.)*)"+q+"+$","g"),U=new RegExp("^"+q+"*,"+q+"*"),B=new RegExp("^"+q+"*([>+~]|"+q+")"+q+"*"),$=new RegExp("="+q+"*([^\\]'\"]*?)"+q+"*\\]","g"),z=new RegExp(H),X=new RegExp("^"+I+"$"),Y={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+q+"*(even|odd|(([+-]|)(\\d*)n|)"+q+"*(?:([+-]|)"+q+"*(\\d+)|))"+q+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+q+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+q+"*((?:-\\d)?\\d*)"+q+"*\\)|)(?=[^-]|$)","i")},V=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+q+"?|("+q+")|.)","ig"),te=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ne=function(){d()};try{A.apply(k=P.call(w.childNodes),w.childNodes),k[w.childNodes.length].nodeType}catch(e){A={apply:k.length?function(e,t){D.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,r,i){var o,s,c,l,f,h,m,y,T=t&&t.ownerDocument,S=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==S&&9!==S&&11!==S)return r;if(!i&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,g)){if(11!==S&&(h=J.exec(e)))if(o=h[1]){if(9===S){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(T&&(c=T.getElementById(o))&&x(t,c)&&c.id===o)return r.push(c),r}else{if(h[2])return A.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return A.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!C[e+" "]&&(!v||!v.test(e))){if(1!==S)T=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((l=t.getAttribute("id"))?l=l.replace(Z,"\\$&"):t.setAttribute("id",l=b),s=(m=u(e)).length,f=X.test(l)?"#"+l:"[id='"+l+"']";s--;)m[s]=f+" "+he(m[s]);y=m.join(","),T=Q.test(e)&&de(t.parentNode)||t}if(y)try{return A.apply(r,T.querySelectorAll(y)),r}catch(e){}finally{l===b&&t.removeAttribute("id")}}}return a(e.replace(W,"$1"),t,r,i)}function ie(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function oe(e){return e[b]=!0,e}function ue(e){var t=p.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ae(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function le(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function fe(e){return oe((function(t){return t=+t,oe((function(n,r){for(var i,o=e([],n.length,t),u=o.length;u--;)n[i=o[u]]&&(n[i]=!(r[i]=n[i]))}))}))}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=re.support={},o=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=re.setDocument=function(e){var t,i
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var r=/["'&<>]/;e.exports=function(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var o="",u=0,s=0;for(u=i.index;u<n.length;u++){switch(n.charCodeAt(u)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==u&&(o+=n.substring(s,u)),s=u+1,o+=t}return s!==u?o+n.substring(s,u):o}},20:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},26:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"default",(function(){return m})),n.d(t,"VERSION",(function(){return y})),n.d(t,"iteratee",(function(){return w})),n.d(t,"restArguments",(function(){return S})),n.d(t,"each",(function(){return D})),n.d(t,"forEach",(function(){return D})),n.d(t,"map",(function(){return A})),n.d(t,"collect",(function(){return A})),n.d(t,"reduce",(function(){return R})),n.d(t,"foldl",(function(){return R})),n.d(t,"inject",(function(){return R})),n.d(t,"reduceRight",(function(){return L})),n.d(t,"foldr",(function(){return L})),n.d(t,"find",(function(){return q})),n.d(t,"detect",(function(){return q})),n.d(t,"filter",(function(){return I})),n.d(t,"select",(function(){return I})),n.d(t,"reject",(function(){return F})),n.d(t,"every",(function(){return H})),n.d(t,"all",(function(){return H})),n.d(t,"some",(function(){return M})),n.d(t,"any",(function(){return M})),n.d(t,"contains",(function(){return W})),n.d(t,"includes",(function(){return W})),n.d(t,"include",(function(){return W})),n.d(t,"invoke",(function(){return U})),n.d(t,"pluck",(function(){return B})),n.d(t,"where",(function(){return $})),n.d(t,"findWhere",(function(){return z})),n.d(t,"max",(function(){return X})),n.d(t,"min",(function(){return Y})),n.d(t,"shuffle",(function(){return V})),n.d(t,"sample",(function(){return G})),n.d(t,"sortBy",(function(){return K})),n.d(t,"groupBy",(function(){return Q})),n.d(t,"indexBy",(function(){return Z})),n.d(t,"countBy",(function(){return ee})),n.d(t,"toArray",(function(){return ne})),n.d(t,"size",(function(){return re})),n.d(t,"partition",(function(){return ie})),n.d(t,"first",(function(){return oe})),n.d(t,"head",(function(){return oe})),n.d(t,"take",(function(){return oe})),n.d(t,"initial",(function(){return ue})),n.d(t,"last",(function(){return se})),n.d(t,"rest",(function(){return ae})),n.d(t,"tail",(function(){return ae})),n.d(t,"drop",(function(){return ae})),n.d(t,"compact",(function(){return ce})),n.d(t,"flatten",(function(){return fe})),n.d(t,"without",(function(){return de})),n.d(t,"uniq",(function(){return pe})),n.d(t,"unique",(function(){return pe})),n.d(t,"union",(function(){return he})),n.d(t,"intersection",(function(){return ge})),n.d(t,"difference",(function(){return ve})),n.d(t,"unzip",(function(){return me})),n.d(t,"zip",(function(){return ye})),n.d(t,"object",(function(){return xe})),n.d(t,"findIndex",(function(){return we})),n.d(t,"findLastIndex",(function(){return Te})),n.d(t,"sortedIndex",(function(){return Se})),n.d(t,"indexOf",(function(){return Ne})),n.d(t,"lastIndexOf",(function(){return Ce})),n.d(t,"range",(function(){return _e})),n.d(t,"chunk",(function(){return Oe})),n.d(t,"bind",(function(){return je})),n.d(t,"partial",(function(){return De})),n.d(t,"bindAll",(function(){return Ae})),n.d(t,"memoize",(function(){return Pe})),n.d(t,"delay",(function(){return Re})),n.d(t,"defer",(function(){return Le})),n.d(t,"throttle",(function(){return qe})),n.d(t,"debounce",(function(){return Ie})),n.d(t,"wrap",(function(){return Fe})),n.d(t,"negate",(function(){return He})),n.d(t,"compose",(function(){return Me})),n.d(t,"after",(function(){return We})),n.d(t,"before",(function(){return Ue})),n.d(t,"once",(function(){return Be})),n.d(t,"keys",(function(){return Ye})),n.d(t,"allKeys",(function(){return Ve})),n.d(t,"values",(function(){return Ge})),n.d(t,"mapObject",(function(){return Ke})),n.d(t,"pairs",(function(){return Je})),n.d(t,"invert",(function(){return Qe})),n.d(t,"functions",(function(){return Ze})),n.d(t,"methods",(function(){return Ze})),n.d(t,"extend",(function(
//# sourceMappingURL=files_client.js.map