nextcloud/apps/dashboard/js/dashboard.js

2 lines
1.3 MiB
JavaScript
Raw Normal View History

!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/js/",n(n.s=334)}([function(t,e,n){var o=n(1),r=n(25).f,i=n(20),a=n(12),s=n(79),c=n(119),l=n(42);t.exports=function(t,e){var n,u,d,p,f,m=t.target,A=t.global,h=t.stat;if(n=A?o:h?o[m]||s(m,{}):(o[m]||{}).prototype)for(u in e){if(p=e[u],d=t.noTargetGet?(f=r(n,u))&&f.value:n[u],!l(A?u:m+(h?".":"#")+u,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&i(p,"sham",!0),a(n,u,p,t)}}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(18))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var o=n(1),r=n(82),i=n(8),a=n(56),s=n(86),c=n(123),l=r("wks"),u=o.Symbol,d=c?u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)||(s&&i(u,t)?l[t]=u[t]:l[t]=d("Symbol."+t)),l[t]}},function(t,e,n){var o=n(7);t.exports=function(t){if(!o(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var o=n(2);t.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){"use strict";n(144),n(146),n(63),n(51),n(99),n(66),Object.defineProperty(e,"__esModule",{value:!0}),e.getRootUrl=e.generateFilePath=e.imagePath=e.generateUrl=e.generateOcsUrl=e.generateRemoteUrl=e.linkTo=void 0;e.linkTo=function(t,e){return o(t,"",e)};e.generateRemoteUrl=function(t){return window.location.protocol+"//"+window.location.host+function(t){return r()+"/remote.php/"+t}(t)};e.generateOcsUrl=function(t,e){return e=2!==e?1:2,window.location.protocol+"//"+window.location.host+r()+"/ocs/v"+e+".php/"+t+"/"};e.generateUrl=function(t,e,n){var o=Object.assign({escape:!0,noRewrite:!1},n||{}),i=function(t,e){return e=e||{},t.replace(/{([^{}]*)}/g,(function(t,n){var r=e[n];return o.escape?"string"==typeof r||"number"==typeof r?encodeURIComponent(r.toString()):encodeURIComponent(t):"string"==typeof r||"number"==typeof r?r.toString():t}))};return"/"!==t.charAt(0)&&(t="/"+t),!0!==OC.config.modRewriteWorking||o.noRewrite?r()+"/index.php"+i(t,e||{}):r()+i(t,e||{})};e.imagePath=function(t,e){return-1===e.indexOf(".")?o(t,"img",e+".svg"):o(t,"img",e)};var o=function(t,e,n){var o=-1!==OC.coreApps.indexOf(t),i=r();return"php"!==n.substring(n.length-3)||o?"php"===n.substring(n.length-3)||o?(i+="settings"!==t&&"core"!==t&&"search"!==t||"ajax"!==e?"/":"/index.php/",o||(i+="apps/"),""!==t&&(i+=t+="/"),e&&(i+=e+"/"),i+=n):(i=OC.appswebroots[t],e&&(i+="/"+e+"/"),"/"!==i.substring(i.length-1)&&(i+="/"),i+=n):(i+="/index.php/apps/"+t,"index.php"!==n&&(i+="/",e&&(i+=encodeURI(e+"/")),i+=n)),i};e.generateFilePath=o;var r=function(){return OC.webroot};e.getRootUrl=r},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var o=n(5),r=n(118),i=n(4),a=n(39),s=Object.defineProperty;e.f=o?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not su
//# sourceMappingURL=dashboard.js.map