n.p=OC.linkTo("files_sharing","js/dist/"),n.nc=btoa(OC.requestToken),window.OCP.Collaboration.registerType("file",{action:()=>newPromise((e,r)=>{OC.dialogs.filepicker(t("files_sharing","Link to a file"),(function(t){OC.Files.getClient().getFileInfo(t).then((t,r)=>{e(r.id)}).fail(()=>{r(newError("Cannot get fileinfo"))})}),!1,null,!1,OC.dialogs.FILEPICKER_TYPE_CHOOSE,"",{allowDirectoryChooser:!0})}),typeString:t("files_sharing","Link to a file"),typeIconClass:"icon-files-dark"})},18:function(e,t,r){"use strict";varn,a=function(){returnvoid0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){vare={};returnfunction(t){if(void0===e[t]){varr=document.querySelector(t);if(window.HTMLIFrameElement&&rinstanceofwindow.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}returne[t]}}(),s=[];functiono(e){for(vart=-1,r=0;r<s.length;r++)if(s[r].identifier===e){t=r;break}returnt}functionl(e,t){for(varr={},n=[],a=0;a<e.length;a++){vari=e[a],l=t.base?i[0]+t.base:i[0],c=r[l]||0,d="".concat(l," ").concat(c);r[l]=c+1;varu=o(d),h={css:i[1],media:i[2],sourceMap:i[3]};-1!==u?(s[u].references++,s[u].updater(h)):s.push({identifier:d,updater:C(h,t),references:1}),n.push(d)}returnn}functionc(e){vart=document.createElement("style"),n=e.attributes||{};if(void0===n.nonce){vara=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeofe.insert)e.insert(t);else{vars=i(e.insert||"head");if(!s)thrownewError("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}returnt}vard,u=(d=[],function(e,t){returnd[e]=t,d.filter(Boolean).join("\n")});functionh(e,t,r,n){vara=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{vari=document.createTextNode(a),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}functionf(e,t,r){varn=r.css,a=r.media,i=r.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeofbtoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}varp=null,m=0;functionC(e,t){varr,n,a;if(t.singleton){vari=m++;r=p||(p=c(t)),n=h.bind(null,r,i,!1),a=h.bind(null,r,i,!0)}elser=c(t),n=f.bind(null,r,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};returnn(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}elsea()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeoft.singleton||(t.singleton=a());varr=l(e=e||[],t);returnfunction(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(varn=0;n<r.length;n++){vara=o(r[n]);s[a].references--}for(vari=l(e,t),c=0;c<r.length;c++){vard=o(r[c]);0===s[d].references&&(s[d].updater(),s.splice(d,1))}r=i}}}},19:function(e,t,r){"use strict";functionn(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){varr=e&&("undefined"!=typeofSymbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;varn,a,i=[],s=!0,o=!1;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);s=!0);}catch(e){o=!0,a=e}finally{try{s||null==r.return||r.return()}finally{if(o)throwa}}returni}(e,t)||function(e,t){if(!e)return;if("string"==typeofe)returna(e,t);varr=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)returnArray.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))returna(e,t)}(e,t)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functiona(e,t){(null==t||t>e.length)&&(t=e.length);for(varr=0,n=newArray(t);r<