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