nextcloud/dist/7883-7883.js

3 lines
228 KiB
JavaScript
Raw Normal View History

/*! For license information please see 7883-7883.js.LICENSE.txt */
(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[7883],{59097:(e,u,r)=>{"use strict";r(2635),u.c0=function(e){return new t.default(e)},r(22128),r(486),r(13605),r(60314),r(52150);var t=n(r(59457));n(r(50432));function n(e){return e&&e.__esModule?e:{default:e}}},50432:(e,u,r)=>{"use strict";function t(e,u){for(var r=0;r<u.length;r++){var t=u[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function n(e,u,r){return u in e?Object.defineProperty(e,u,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[u]=r,e}Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,r(53280),r(22128),r(486),r(13605),r(60314),r(52150),r(2635);var a=function(){function e(u,r,t){!function(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"scope",void 0),n(this,"wrapped",void 0),this.scope="".concat(t?e.GLOBAL_SCOPE_PERSISTENT:e.GLOBAL_SCOPE_VOLATILE,"_").concat(btoa(u),"_"),this.wrapped=r}var u,r;return u=e,(r=[{key:"scopeKey",value:function(e){return"".concat(this.scope).concat(e)}},{key:"setItem",value:function(e,u){this.wrapped.setItem(this.scopeKey(e),u)}},{key:"getItem",value:function(e){return this.wrapped.getItem(this.scopeKey(e))}},{key:"removeItem",value:function(e){this.wrapped.removeItem(this.scopeKey(e))}},{key:"clear",value:function(){var e=this;Object.keys(this.wrapped).filter((function(u){return u.startsWith(e.scope)})).map(this.wrapped.removeItem.bind(this.wrapped))}}])&&t(u.prototype,r),Object.defineProperty(u,"prototype",{writable:!1}),e}();u.default=a,n(a,"GLOBAL_SCOPE_VOLATILE","nextcloud_vol"),n(a,"GLOBAL_SCOPE_PERSISTENT","nextcloud_per")},59457:(e,u,r)=>{"use strict";Object.defineProperty(u,"__esModule",{value:!0}),u.default=void 0,r(2635);var t,n=(t=r(50432))&&t.__esModule?t:{default:t};function a(e,u){for(var r=0;r<u.length;r++){var t=u[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function d(e,u,r){return u in e?Object.defineProperty(e,u,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[u]=r,e}var s=function(){function e(u){!function(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"appId",void 0),d(this,"persisted",!1),d(this,"clearedOnLogout",!1),this.appId=u}var u,r;return u=e,r=[{key:"persist",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.persisted=e,this}},{key:"clearOnLogout",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.clearedOnLogout=e,this}},{key:"build",value:function(){return new n.default(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}],r&&a(u.prototype,r),Object.defineProperty(u,"prototype",{writable:!1}),e}();u.default=s},97504:(e,u,r)=>{var t=r(58131),n=r(1921),a=TypeError;e.exports=function(e){if(t(e))return e;throw a(n(e)+" is not a function")}},13645:(e,u,r)=>{var t=r(48400),n=String,a=TypeError;e.exports=function(e){if(t(e))return e;throw a(n(e)+" is not an object")}},34195:(e,u,r)=>{var t=r(83751),n=r(78024),a=r(26344),d=function(e){return function(u,r,d){var s,i=t(u),o=a(i),f=n(d,o);if(e&&r!=r){for(;o>f;)if((s=i[f++])!=s)return!0}else for(;o>f;f++)if((e||f in i)&&i[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:d(!0),indexOf:d(!1)}},17627:(e,u,r)=>{var t=r(45850),n=r(11426),a=r(26881),d=r(13219),s=r(26344),i=r(943),o=n([].push),f=function(e){var u=1==e,r=2==e,n=3==e,f=4==e,c=6==e,l=7==e,v=5==e||c;return function(p,b,h,y){for(var m,g,C=d(p),B=a(C),_=t(b,h),x=s(B),S=0,w=y||i,j=u?w(p,x):r||l?w(p,0):void 0;x>S;S++)if((v||S in B)&&(g=_(m=B[S],S,C),e))if(u)j[S]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:o(j,m)}else switch(e){case 4:return!1;case 7:o(j,m)}return c?-1:n||f?f:j}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},51147:(e,u,r)=>{var t=r(70961),n=r(95401),a=r(51698),d=n("species");e.exports=
//# sourceMappingURL=7883-7883.js.map?v=3b65531cae454a74494b