/*! For license information please see memories-main.js.LICENSE.txt */ (()=>{var e={2200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRequestToken",{enumerable:!0,get:function(){return r.getRequestToken}}),Object.defineProperty(t,"onRequestTokenUpdate",{enumerable:!0,get:function(){return r.onRequestTokenUpdate}}),Object.defineProperty(t,"getCurrentUser",{enumerable:!0,get:function(){return a.getCurrentUser}});var r=n(1894),a=n(1618)},1894:(e,t,n)=>{"use strict";var r=n(5108);n(9554),Object.defineProperty(t,"__esModule",{value:!0}),t.getRequestToken=function(){return o},t.onRequestTokenUpdate=function(e){s.push(e)};var a=n(903),i=document.getElementsByTagName("head")[0],o=i?i.getAttribute("data-requesttoken"):null,s=[];(0,a.subscribe)("csrf-token-update",(function(e){o=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:i,isAdmin:o}};var n=document.getElementsByTagName("head")[0],r=n?n.getAttribute("data-user"):null,a=document.getElementsByTagName("head")[0],i=a?a.getAttribute("data-user-displayname"):null,o="undefined"!=typeof OC&&OC.isUserAdmin()},903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{emit:()=>Ha,subscribe:()=>za,unsubscribe:()=>$a});var r=n(4155),a=n(5108),i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function o(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=function(e){return e&&e.Math==Math&&e},u=s("object"==typeof globalThis&&globalThis)||s("object"==typeof window&&window)||s("object"==typeof self&&self)||s("object"==typeof i&&i)||function(){return this}()||Function("return this")(),l=function(e){try{return!!e()}catch(e){return!0}},c=!l((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,h={f:f&&!d.call({1:2},1)?function(e){var t=f(this,e);return!!t&&t.enumerable}:d},p=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},g={}.toString,m=function(e){return g.call(e).slice(8,-1)},_="".split,A=l((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==m(e)?_.call(e,""):Object(e)}:Object,F=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},b=function(e){return A(F(e))},T=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!T(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!T(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},v=function(e){return Object(F(e))},D={}.hasOwnProperty,E=function(e,t){return D.call(v(e),t)},C=u.document,w=T(C)&&T(C.createElement),k=function(e){return w?C.createElement(e):{}},S=!c&&!l((function(){return 7!=Object.defineProperty(k("div"),"a",{get:function(){return 7}}).a})),x=Object.getOwnPropertyDescriptor,N={f:c?x:function(e,t){if(e=b(e),t=y(t,!0),S)try{return x(e,t)}catch(e){}if(E(e,t))return p(!h.f.call(e,t),e[t])}},R=function(e){if(!T(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,B={f:c?O:function(e,t,n){if(R(e),t=y(t,!0),R(n),S)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}},I=c?function(e,t,n){return B.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},M=function(e,t){try{I(u,e,t)}catch(n){u[e]=t}return t},j="__core-js_shared__",L=u[j]||M(j,{}),Y=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(e){return Y.call(e)});var Z,P,G,U=L.inspectSource,q=u.WeakMap,z="function"==typeof q&&/native code/.test(U(q)),$=o((function(e){(e.exports=function(e,t){return L[e]||(L[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.2",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),H=0,V=Math.random(),W=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++H+V).toString(36)},Q=$("keys"),J=function(e){return Q[e]||(Q[e]=W(e))},K={},X="Object already initialized",ee=u.WeakMap;if(z){var te=L.state||(L.state=new ee),ne=te.get,re=te.has,ae=te.set;Z=function(e,t){if(re.call(te,e))throw new TypeError(X);return t.facade=e,ae.call(te,e,t),t},P=function(e){return ne.call(te,e)||{}},G=function(e){return re.call(te,e)}}else{var ie=J("state");K[ie]=!0,Z=function(e,t){if(E(e,ie))throw new TypeError(X);return t.facade=e,I(e,ie,t),t},P=function(e){return E(e,ie)?e[ie]:{}},G=function(e){return E(e,ie)}}var oe={set:Z,get:P,has:G,enforce:function(e){return G(e)?P(e):Z(e,{})},getterFor:function(e){return function(t){var n;if(!T(t)||(n=P(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},se=o((function(e){var t=oe.get,n=oe.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||E(a,"name")||I(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==u?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:I(e,t,a)):l?e[t]=a:M(t,a)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||U(this)}))})),ue=u,le=function(e){return"function"==typeof e?e:void 0},ce=function(e,t){return arguments.length<2?le(ue[e])||le(u[e]):ue[e]&&ue[e][t]||u[e]&&u[e][t]},de=Math.ceil,fe=Math.floor,he=function(e){return isNaN(e=+e)?0:(e>0?fe:de)(e)},pe=Math.min,ge=function(e){return e>0?pe(he(e),9007199254740991):0},me=Math.max,_e=Math.min,Ae=function(e){return function(t,n,r){var a,i=b(t),o=ge(i.length),s=function(e,t){var n=he(e);return n<0?me(n+t,0):_e(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Fe={includes:Ae(!0),indexOf:Ae(!1)}.indexOf,be=function(e,t){var n,r=b(e),a=0,i=[];for(n in r)!E(K,n)&&E(r,n)&&i.push(n);for(;t.length>a;)E(r,n=t[a++])&&(~Fe(i,n)||i.push(n));return i},Te=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ye=Te.concat("length","prototype"),ve={f:Object.getOwnPropertyNames||function(e){return be(e,ye)}},De={f:Object.getOwnPropertySymbols},Ee=ce("Reflect","ownKeys")||function(e){var t=ve.f(R(e)),n=De.f;return n?t.concat(n(e)):t},Ce=function(e,t){for(var n=Ee(t),r=B.f,a=N.f,i=0;ii;)B.f(e,n=r[i++],t[n]);return e},Pe=ce("document","documentElement"),Ge=J("IE_PROTO"),Ue=function(){},qe=function(e){return"