!function(e){vart={};functionr(n){if(t[n])returnt[n].exports;vara=t[n]={i:n,l:!1,exports:{}};returne[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varn=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varaine)r.d(n,a,function(t){returne[t]}.bind(null,a));returnn},r.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(t,"a",t),t},r.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r.p="/js/",r(r.s=517)}({15: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}}}},16: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&
n.p=OC.linkTo("files_sharing","js/dist/"),n.nc=btoa(OC.requestToken),window.OCP.Collaboration.registerType("file",{action:function(){returnnewPromise((function(e,r){OC.dialogs.filepicker(t("files_sharing","Link to a file"),(function(t){OC.Files.getClient().getFileInfo(t).then((function(t,r){e(r.id)})).fail((function(){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"})},17:function(e,t,r){"use strict";e.exports=function(e){vart=[];returnt.toString=function(){returnthis.map((function(t){varr=e(t);returnt[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeofe&&(e=[[null,e,""]]);vara={};if(n)for(vari=0;i<this.length;i++){vars=this[i][0];null!=s&&(a[s]=!0)}for(varo=0;o<e.length;o++){varl=[].concat(e[o]);n&&a[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},227:function(e,t,r){"use strict";varn=r(16),a=r.n(n),i=r(17),s=r.n(i)()(a.a);s.push([e.i,"div.crumb span.icon-shared,div.crumb span.icon-public{display:inline-block;cursor:pointer;opacity:.2;margin-right:6px}div.crumb span.icon-shared.shared,div.crumb span.icon-public.shared{opacity:.7}","",{version:3,sources:["webpack://./apps/files_sharing/src/style/sharebreadcrumb.scss"],names:[],mappings:"AAsBA,sDAEC,oBAAA,CACA,cAAA,CACA,UAAA,CACA,gBAAA,CAGD,oEAEC,UAAA",sourcesContent:["/**\n * @copyright 2016 Christoph Wurst <christoph@winzerhof-wurst.at>\n *\n * @author 2016 Christoph Wurst <christoph@winzerhof-wurst.at>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\ndiv.crumb span.icon-shared,\ndiv.crumb span.icon-public {\n\tdisplay: inline-block;\n\tcursor: pointer;\n\topacity: 0.2;\n\tmargin-right: 6px;\n}\n\ndiv.crumb span.icon-shared.shared,\ndiv.crumb span.icon-public.shared {\n\topacity: 0.7;\n}\n"],sourceRoot:""}]),t.a=s},29:function(e,t,r){"use strict";