You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/core/js/dist/files_fileinfo.js

27 lines
32 KiB
JavaScript

!function(n){var t={};function r(u){if(t[u])return t[u].exports;var e=t[u]={i:u,l:!1,exports:{}};return n[u].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=n,r.c=t,r.d=function(n,t,u){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:u})},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var u=Object.create(null);if(r.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var e in n)r.d(u,e,function(t){return n[t]}.bind(null,e));return u},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="",r(r.s=712)}({1:function(n,t,r){"use strict";(function(n){r.d(t,"e",(function(){return u})),r.d(t,"p",(function(){return e})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return c})),r.d(t,"o",(function(){return f})),r.d(t,"q",(function(){return a})),r.d(t,"t",(function(){return d})),r.d(t,"i",(function(){return l})),r.d(t,"r",(function(){return s})),r.d(t,"s",(function(){return p})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"l",(function(){return g})),r.d(t,"g",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"h",(function(){return j})),r.d(t,"n",(function(){return w})),r.d(t,"b",(function(){return x}));var u="1.12.0",e="object"==typeof self&&self.self===self&&self||"object"==typeof n&&n.global===n&&n||Function("return this")()||{},i=Array.prototype,o=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,f=i.push,a=i.slice,d=o.toString,l=o.hasOwnProperty,s="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,v=Object.keys,y=Object.create,g=s&&ArrayBuffer.isView,m=isNaN,b=isFinite,j=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1}).call(this,r(20))},20:function(n,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}n.exports=r},7:function(n,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return wr})),r.d(t,"VERSION",(function(){return e.e})),r.d(t,"restArguments",(function(){return i})),r.d(t,"isObject",(function(){return o})),r.d(t,"isNull",(function(){return c})),r.d(t,"isUndefined",(function(){return f})),r.d(t,"isBoolean",(function(){return a})),r.d(t,"isElement",(function(){return d})),r.d(t,"isString",(function(){return s})),r.d(t,"isNumber",(function(){return p})),r.d(t,"isDate",(function(){return h})),r.d(t,"isRegExp",(function(){return v})),r.d(t,"isError",(function(){return y})),r.d(t,"isSymbol",(function(){return g})),r.d(t,"isArrayBuffer",(function(){return m})),r.d(t,"isDataView",(function(){return S})),r.d(t,"isArray",(function(){return M})),r.d(t,"isFunction",(function(){return w})),r.d(t,"isArguments",(function(){return k})),r.d(t,"isFinite",(function(){return I})),r.d(t,"isNaN",(function(){return N})),r.d(t,"isTypedArray",(function(){return V})),r.d(t,"isEmpty",(function(){return K})),r.d(t,"isMatch",(function(){return L})),r.d(t,"isEqual",(function(){return G})),r.d(t,"isMap",(function(){return un})),r.d(t,"isWeakMap",(function(){return en})),r.d(t,"isSet",(function(){return on})),r.d(t,"isWeakSet",(function(){return cn})),r.d(t,"keys",(function(){return U})),r.d(t,"allKeys",(function(){return H})),r.d(t,"values",(function(){return fn})),r.d(t,"pairs",(function(){return an})),r.d(t,"invert",(function(){return dn})),r.d(t,"functions",(function(){return ln})),r.d(t,"methods",(function(){return ln})),r.d(t,"extend",(function(){return pn})),r.d(t,"extendOwn",(function(){return hn})),r.d(t,"assign",(function(){return hn})),r.d(t,"defaults",(function(){return vn})),r.d(t,"cr
/**
* Copyright (c) 2015
*
* @author Julius Härtl <jus@bitgrid.net>
* @author Robin Appelman <robin@icewind.nl>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Vincent Petry <vincent@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
!function(t){const r=function(t){const r=this;n.each(t,(function(t,u){n.isFunction(t)||(r[u]=t)})),n.isUndefined(this.id)||(this.id=parseInt(t.id,10)),this.path=t.path||"","dir"===this.type?this.mimetype="httpd/unix-directory":this.mimetype=this.mimetype||"application/octet-stream",this.type||("httpd/unix-directory"===this.mimetype?this.type="dir":this.type="file")};r.prototype={id:null,name:null,path:null,mimetype:null,icon:null,type:null,permissions:null,mtime:null,etag:null,mountType:null,hasPreview:!0,sharePermissions:null,quotaAvailableBytes:-1},t.Files||(t.Files={}),t.Files.FileInfo=r}(OC)}).call(this,r(7))}});
//# sourceMappingURL=files_fileinfo.js.map