2022-09-15 21:32:14 +00:00
|
|
|
(()=>{var e={2200:(e,t,n)=>{"use strict";Object.defineProperty(t,"ts",{enumerable:!0,get:function(){return o.getCurrentUser}});var r=n(1894),o=n(1618)},1894:(e,t,n)=>{"use strict";var r=n(5108);n(9554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return i},t.onRequestTokenUpdate=function(e){s.push(e)};var o=n(903),a=document.getElementsByTagName("head")[0],i=a?a.getAttribute("data-requesttoken"):null,s=[];(0,o.subscribe)("csrf-token-update",(function(e){i=e.token,s.forEach((function(t){try{t(e.token)}catch(e){r.error("error updating CSRF token observer",e)}}))}))},1618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentUser=function(){if(null===r)return null;return{uid:r,displayName:a,isAdmin:i}};var n=document.getElementsByTagName("head")[0],r=n?n.getAttribute("data-user"):null,o=document.getElementsByTagName("head")[0],a=o?o.getAttribute("data-user-displayname"):null,i="undefined"!=typeof OC&&OC.isUserAdmin()},903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{emit:()=>Ho,subscribe:()=>Wo,unsubscribe:()=>Vo});var r=n(4155),o=n(5108),a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function i(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=function(e){return e&&e.Math==Math&&e},l=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof a&&a)||function(){return this}()||Function("return this")(),c=function(e){try{return!!e()}catch(e){return!0}},u=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),p={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,f={f:d&&!p.call({1:2},1)?function(e){var t=d(this,e);return!!t&&t.enumerable}:p},h=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m={}.toString,g=function(e){return m.call(e).slice(8,-1)},v="".split,A=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==g(e)?v.call(e,""):Object(e)}:Object,b=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},y=function(e){return A(b(e))},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},w=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},k=function(e){return Object(b(e))},S={}.hasOwnProperty,x=function(e,t){return S.call(k(e),t)},E=l.document,N=C(E)&&C(E.createElement),j=function(e){return N?E.createElement(e):{}},_=!u&&!c((function(){return 7!=Object.defineProperty(j("div"),"a",{get:function(){return 7}}).a})),D=Object.getOwnPropertyDescriptor,T={f:u?D:function(e,t){if(e=y(e),t=w(t,!0),_)try{return D(e,t)}catch(e){}if(x(e,t))return h(!f.f.call(e,t),e[t])}},P=function(e){if(!C(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,I={f:u?O:function(e,t,n){if(P(e),t=w(t,!0),P(n),_)try{return O(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},z=u?function(e,t,n){return I.f(e,t,h(1,n))}:function(e,t,n){return e[t]=n,e},F=function(e,t){try{z(l,e,t)}catch(n){l[e]=t}return t},B="__core-js_shared__",R=l[B]||F(B,{}),M=Function.toString;"function"!=typeof R.inspectSource&&(R.inspectSource=function(e){return M.call(e)});var L,U,$,G=R.inspectSource,q=l.WeakMap,Z="function"==typeof q&&/native code/.test(G(q)),W=i((function(e){(e.exports=function(e,t){return R[e]||(R[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),V=0,H=Math.random(),Y=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++V+H).toString(36)},K=W("keys"),X=function(e){return K[e]||(K[e]=Y(e))},J={},Q="Object already initialized",ee=l.WeakMap;if(Z){var te=R.state||(R.state=new ee),ne=te.get,re=te.h
|