/*! 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 i.getCurrentUser}});var r=n(1894),i=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 i=n(903),a=document.getElementsByTagName("head")[0],o=a?a.getAttribute("data-requesttoken"):null,s=[];(0,i.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:a,isAdmin:o}};var n=document.getElementsByTagName("head")[0],r=n?n.getAttribute("data-user"):null,i=document.getElementsByTagName("head")[0],a=i?i.getAttribute("data-user-displayname"):null,o="undefined"!=typeof OC&&OC.isUserAdmin()},903:(e,t,n)=>{"use strict";n.r(t),n.d(t,{emit:()=>Hi,subscribe:()=>$i,unsubscribe:()=>zi});var r=n(4155),i=n(5108),a="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 a&&a)||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}},M=c?function(e,t,n){return B.f(e,t,p(1,n))}:function(e,t,n){return e[t]=n,e},I=function(e,t){try{M(u,e,t)}catch(n){u[e]=t}return t},j="__core-js_shared__",L=u[j]||I(j,{}),Y=Function.toString;"function"!=typeof L.inspectSource&&(L.inspectSource=function(e){return Y.call(e)});var Z,P,G,q=L.inspectSource,U=u.WeakMap,$="function"==typeof U&&/native code/.test(q(U)),z=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=z("keys"),K=function(e){return Q[e]||(Q[e]=W(e))},J={},X="Object already initialized",ee=u.WeakMap;if($){var te=L.state||(L.state=new ee),ne=te.get,re=te.has,ie=te.set;Z=function(e,t){if(re.call(te,e))throw new TypeError(X);return t.facade=e,ie.call(te,e,t),t},P=function(e){return ne.call(te,e)||{}},G=function(e){return re.call(te,e)}}else{var ae=K("state");J[ae]=!0,Z=function(e,t){if(E(e,ae))throw new TypeError(X);return t.facade=e,M(e,ae,t),t},P=function(e){return E(e,ae)?e[ae]:{}},G=function(e){return E(e,ae)}}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,i,a){var o,s=!!a&&!!a.unsafe,l=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof t||E(i,"name")||M(i,"name",t),(o=n(i)).source||(o.source=r.join("string"==typeof t?t:""))),e!==u?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=i:M(e,t,i)):l?e[t]=i:I(t,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||q(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 i,a=b(t),o=ge(a.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((i=a[s++])!=i)return!0}else for(;o>s;s++)if((e||s in a)&&a[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),i=0,a=[];for(n in r)!E(J,n)&&E(r,n)&&a.push(n);for(;t.length>i;)E(r,n=t[i++])&&(~Fe(a,n)||a.push(n));return a},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,i=N.f,a=0;aa;)B.f(e,n=r[a++],t[n]);return e},Pe=ce("document","documentElement"),Ge=K("IE_PROTO"),qe=function(){},Ue=function(e){return"