123 |
- /*! For license information please see files-sidebar.js.LICENSE.txt */
- !function(){var n,e={94686:function(n,e,i){"use strict";var r=i(20144),o=i(9944),s=i(65358),a=i(19755),c=i.n(a),l=i(4820),u=i(78595),d=i(80351),f=i.n(d),p=i(41922),h=i(10250),m=i.n(h),v=i(45400),b=i.n(v),g=i(93455),y=i.n(g);function j(n,t,e,i,r,o,s){try{var a=n[o](s),c=a.value}catch(n){return void e(n)}a.done?t(c):Promise.resolve(c).then(i,r)}function A(n){return function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function s(n){j(o,i,r,s,a,"next",n)}function a(n){j(o,i,r,s,a,"throw",n)}s(void 0)}))}}function w(n){return C.apply(this,arguments)}function C(){return(C=A(regeneratorRuntime.mark((function n(t){var e,i,r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,l.default)({method:"PROPFIND",url:t,data:'<?xml version="1.0"?>\n\t\t\t<d:propfind xmlns:d="DAV:"\n\t\t\t\txmlns:oc="http://owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t<d:prop>\n\t\t\t\t<d:getlastmodified />\n\t\t\t\t<d:getetag />\n\t\t\t\t<d:getcontenttype />\n\t\t\t\t<d:resourcetype />\n\t\t\t\t<oc:fileid />\n\t\t\t\t<oc:permissions />\n\t\t\t\t<oc:size />\n\t\t\t\t<d:getcontentlength />\n\t\t\t\t<nc:has-preview />\n\t\t\t\t<nc:mount-type />\n\t\t\t\t<nc:is-encrypted />\n\t\t\t\t<ocs:share-permissions />\n\t\t\t\t<nc:share-attributes />\n\t\t\t\t<oc:tags />\n\t\t\t\t<oc:favorite />\n\t\t\t\t<oc:comments-unread />\n\t\t\t\t<oc:owner-id />\n\t\t\t\t<oc:owner-display-name />\n\t\t\t\t<oc:share-types />\n\t\t\t</d:prop>\n\t\t\t</d:propfind>'});case 2:return e=n.sent,i=OCA.Files.App.fileList.filesClient._client.parseMultiStatus(e.data),(r=OCA.Files.App.fileList.filesClient._parseFileInfo(i[0])).get=function(n){return r[n]},r.isDirectory=function(){return"httpd/unix-directory"===r.mimetype},n.abrupt("return",r);case 8:case"end":return n.stop()}}),n)})))).apply(this,arguments)}var _=i(62574);function O(n,t,e,i,r,o,s){try{var a=n[o](s),c=a.value}catch(n){return void e(n)}a.done?t(c):Promise.resolve(c).then(i,r)}function k(n){return function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function s(n){O(o,i,r,s,a,"next",n)}function a(n){O(o,i,r,s,a,"throw",n)}s(void 0)}))}}var S={name:"SidebarTab",components:{NcAppSidebarTab:i.n(_)(),NcEmptyContent:y()},props:{fileInfo:{type:Object,default:function(){},required:!0},id:{type:String,required:!0},name:{type:String,required:!0},icon:{type:String,required:!1},onMount:{type:Function,required:!0},onUpdate:{type:Function,required:!0},onDestroy:{type:Function,required:!0},onScrollBottomReached:{type:Function,default:function(){}}},data:function(){return{loading:!0}},computed:{activeTab:function(){return this.$parent.activeTab}},watch:{fileInfo:function(n,t){var e=this;return k(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(n.id===t.id){i.next=5;break}return e.loading=!0,i.next=4,e.onUpdate(e.fileInfo);case 4:e.loading=!1;case 5:case"end":return i.stop()}}),i)})))()}},mounted:function(){var n=this;return k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.loading=!0,t.next=3,n.onMount(n.$refs.mount,n.fileInfo,n.$refs.tab);case 3:n.loading=!1;case 4:case"end":return t.stop()}}),t)})))()},beforeDestroy:function(){var n=this;return k(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.onDestroy();case 2:case"end":return t.stop()}}),t)})))()}},x=i(51900),T=(0,x.Z)(S,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("NcAppSidebarTab",{ref:"tab",attrs:{id:n.id,name:n.name,icon:n.icon},on:{bottomReached:n.onScrollBottomReached},scopedSlots:n._u([{key:"icon",fn:function(){return[n._t("icon")]},proxy:!0}],null,!0)},[n._v(" "),n.loading?e("NcEmptyContent",{attrs:{icon:"icon-loading"}}):n._e(),n._v(" "),e("div",{ref:"mount"})],1)}),[],!1,null,null,null).exports,I={name:"LegacyView",props:{component:{type:Object,required:!0},fileInfo:{type:Object,default:function(){},required:!0}},watch:{fileInfo:function(n){this.setFileInfo(n)}},mounted:function(){this.component.$el.replaceAll(this.$el),this.setFileInfo(this.fileInfo)},methods:{setFileInfo:function(n){this.component.setFileInfo(new OCA.Files.FileInfoModel(n))}}},F=(0,x.Z)(I,(function(){var n=this.$createElement;return(this._self._c||n)("div")}),[],!1,null,null,null).exports;function E(n,t,e,i,r,o,s){try{var a=n[o](s),c=a.value}catch(n){return void e(n)}a.done?t(c):Promise.resolve(c).then(i,r)}function z(n){return function(){var t=this,e=arguments;return new Promise((function(i,r){var o=n.apply(t,e);function s(n){E(o,i,r,s,a,"next",n)}function a(n){E(o,i,r,s,a,"throw",n)}s(void 0)}))}}var P={name:"Sidebar",components:{NcActionButton:b(),NcAppSidebar:m(),NcEmptyContent:y(),LegacyView:F,SidebarTab:T},data:function(){return{Sidebar:OCA.Files.Sidebar.state,error:null,loading:!0,fileInfo:null,starLoading:!1,isFullScreen:!1}},computed:{file:function(){return this.Sidebar.file},tabs:function(){return this.Sidebar.tabs},views:function(){return this.Sidebar.views},davPath:function(){var n=OC.getCurrentUser().uid;return OC.linkToRemote("dav/files/".concat(n).concat((0,s.Ec)(this.file)))},activeTab:function(){return this.Sidebar.activeTab},subtitle:function(){return"".concat(this.size,", ").concat(this.time)},time:function(){return OC.Util.relativeModifiedDate(this.fileInfo.mtime)},fullTime:function(){return f()(this.fileInfo.mtime).format("LLL")},size:function(){return OC.Util.humanFileSize(this.fileInfo.size)},background:function(){return this.getPreviewIfAny(this.fileInfo)},appSidebar:function(){return this.fileInfo?{"data-mimetype":this.fileInfo.mimetype,"star-loading":this.starLoading,active:this.activeTab,background:this.background,class:{"app-sidebar--has-preview":this.fileInfo.hasPreview&&!this.isFullScreen,"app-sidebar--full":this.isFullScreen},compact:!this.fileInfo.hasPreview||this.isFullScreen,loading:this.loading,starred:this.fileInfo.isFavourited,subtitle:this.subtitle,subtitleTooltip:this.fullTime,title:this.fileInfo.name,titleTooltip:this.fileInfo.name}:this.error?{key:"error",subtitle:"",title:""}:{loading:this.loading,subtitle:"",title:""}},defaultAction:function(){return this.fileInfo&&OCA.Files&&OCA.Files.App&&OCA.Files.App.fileList&&OCA.Files.App.fileList.fileActions&&OCA.Files.App.fileList.fileActions.getDefaultFileAction&&OCA.Files.App.fileList.fileActions.getDefaultFileAction(this.fileInfo.mimetype,this.fileInfo.type,OC.PERMISSION_READ)},defaultActionListener:function(){return this.defaultAction?"figure-click":null},isSystemTagsEnabled:function(){return OCA&&"SystemTags"in OCA}},methods:{canDisplay:function(n){return n.enabled(this.fileInfo)},resetData:function(){var n=this;this.error=null,this.fileInfo=null,this.$nextTick((function(){n.$refs.tabs&&n.$refs.tabs.updateTabs()}))},getPreviewIfAny:function(n){return n.hasPreview&&!this.isFullScreen?OC.generateUrl("/core/preview?fileId=".concat(n.id,"&x=").concat(screen.width,"&y=").concat(screen.height,"&a=true")):this.getIconUrl(n)},getIconUrl:function(n){var t=n.mimetype||"application/octet-stream";return"httpd/unix-directory"===t?"shared"===n.mountType||"shared-root"===n.mountType?OC.MimeType.getIconUrl("dir-shared"):"external-root"===n.mountType?OC.MimeType.getIconUrl("dir-external"):void 0!==n.mountType&&""!==n.mountType?OC.MimeType.getIconUrl("dir-"+n.mountType):n.shareTypes&&(n.shareTypes.indexOf(p.D.SHARE_TYPE_LINK)>-1||n.shareTypes.indexOf(p.D.SHARE_TYPE_EMAIL)>-1)?OC.MimeType.getIconUrl("dir-public"):n.shareTypes&&n.shareTypes.length>0?OC.MimeType.getIconUrl("dir-shared"):OC.MimeType.getIconUrl("dir"):OC.MimeType.getIconUrl(t)},setActiveTab:function(n){OCA.Files.Sidebar.setActiveTab(n)},toggleStarred:function(n){var e=this;return z(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,e.starLoading=!0,i.next=4,(0,l.default)({method:"PROPPATCH",url:e.davPath,data:'<?xml version="1.0"?>\n\t\t\t\t\t\t<d:propertyupdate xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n\t\t\t\t\t\t'.concat(n?"<d:set>":"<d:remove>","\n\t\t\t\t\t\t\t<d:prop>\n\t\t\t\t\t\t\t\t<oc:favorite>1</oc:favorite>\n\t\t\t\t\t\t\t</d:prop>\n\t\t\t\t\t\t").concat(n?"</d:set>":"</d:remove>","\n\t\t\t\t\t\t</d:propertyupdate>")});case 4:OCA.Files&&OCA.Files.App&&OCA.Files.App.fileList&&OCA.Files.App.fileList.fileActions&&OCA.Files.App.fileList.fileActions.triggerAction("Favorite",OCA.Files.App.fileList.getModelForFile(e.fileInfo.name),OCA.Files.App.fileList),i.next=11;break;case 7:i.prev=7,i.t0=i.catch(0),OC.Notification.showTemporary(t("files","Unable to change the favourite state of the file")),console.error("Unable to change favourite state",i.t0);case 11:e.starLoading=!1;case 12:case"end":return i.stop()}}),i,null,[[0,7]])})))()},onDefaultAction:function(){this.defaultAction&&this.defaultAction.action(this.fileInfo.name,{fileInfo:this.fileInfo,dir:this.fileInfo.dir,fileList:OCA.Files.App.fileList,$file:c()("body")})},toggleTags:function(){OCA.SystemTags&&OCA.SystemTags.View&&OCA.SystemTags.View.toggle()},open:function(n){var e=this;return z(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(e.Sidebar.file=n,!n||""===n.trim()){i.next=21;break}return e.error=null,e.loading=!0,i.prev=4,i.next=7,w(e.davPath);case 7:e.fileInfo=i.sent,e.fileInfo.dir=e.file.split("/").slice(0,-1).join("/"),e.views.forEach((function(n){n.setFileInfo(e.fileInfo)})),e.$nextTick((function(){e.$refs.tabs&&e.$refs.tabs.updateTabs()})),i.next=18;break;case 13:throw i.prev=13,i.t0=i.catch(4),e.error=t("files","Error while loading the file data"),console.error("Error while loading the file data",i.t0),new Error(i.t0);case 18:return i.prev=18,e.loading=!1,i.finish(18);case 21:case"end":return i.stop()}}),i,null,[[4,13,18,21]])})))()},close:function(){this.Sidebar.file="",this.resetData()},setFullScreenMode:function(n){var t,e,i,r;this.isFullScreen=n,n?(null===(t=document.querySelector("#content"))||void 0===t?void 0:t.classList.add("with-sidebar--full"))||null===(e=document.querySelector("#content-vue"))||void 0===e||e.classList.add("with-sidebar--full"):(null===(i=document.querySelector("#content"))||void 0===i?void 0:i.classList.remove("with-sidebar--full"))||null===(r=document.querySelector("#content-vue"))||void 0===r||r.classList.remove("with-sidebar--full")},handleOpening:function(){(0,u.j8)("files:sidebar:opening")},handleOpened:function(){(0,u.j8)("files:sidebar:opened")},handleClosing:function(){(0,u.j8)("files:sidebar:closing")},handleClosed:function(){(0,u.j8)("files:sidebar:closed")}}},L=i(93379),R=i.n(L),M=i(7795),D=i.n(M),U=i(90569),B=i.n(U),q=i(3565),N=i.n(q),$=i(19216),Z=i.n($),V=i(44589),H=i.n(V),K=i(89758),Y={};Y.styleTagTransform=H(),Y.setAttributes=N(),Y.insert=B().bind(null,"head"),Y.domAPI=D(),Y.insertStyleElement=Z(),R()(K.Z,Y),K.Z&&K.Z.locals&&K.Z.locals;var W=(0,x.Z)(P,(function(){var n=this,t=n.$createElement,e=n._self._c||t;return n.file?e("NcAppSidebar",n._b({ref:"sidebar",attrs:{"force-menu":!0,tabindex:"0"},on:n._d({close:n.close,"update:active":n.setActiveTab,"update:starred":n.toggleStarred,opening:n.handleOpening,opened:n.handleOpened,closing:n.handleClosing,closed:n.handleClosed},[n.defaultActionListener,function(t){return t.stopPropagation(),t.preventDefault(),n.onDefaultAction.apply(null,arguments)}]),scopedSlots:n._u([n.fileInfo?{key:"description",fn:function(){return n._l(n.views,(function(t){return e("LegacyView",{key:t.cid,attrs:{component:t,"file-info":n.fileInfo}})}))},proxy:!0}:null,n.fileInfo?{key:"secondary-actions",fn:function(){return[n.isSystemTagsEnabled?e("NcActionButton",{attrs:{"close-after-click":!0,icon:"icon-tag"},on:{click:n.toggleTags}},[n._v("\n\t\t\t"+n._s(n.t("files","Tags"))+"\n\t\t")]):n._e()]},proxy:!0}:null],null,!0)},"NcAppSidebar",n.appSidebar,!1),[n._v(" "),n._v(" "),n.error?e("NcEmptyContent",{attrs:{icon:"icon-error"}},[n._v("\n\t\t"+n._s(n.error)+"\n\t")]):n.fileInfo?n._l(n.tabs,(function(t){return[t.enabled(n.fileInfo)?e("SidebarTab",{directives:[{name:"show",rawName:"v-show",value:!n.loading,expression:"!loading"}],key:t.id,attrs:{id:t.id,name:t.name,icon:t.icon,"on-mount":t.mount,"on-update":t.update,"on-destroy":t.destroy,"on-scroll-bottom-reached":t.scrollBottomReached,"file-info":n.fileInfo},scopedSlots:n._u([void 0!==t.iconSvg?{key:"icon",fn:function(){return[e("span",{staticClass:"svg-icon",domProps:{innerHTML:n._s(t.iconSvg)}})]},proxy:!0}:null],null,!0)}):n._e()]})):n._e()],2):n._e()}),[],!1,null,"4afc9c22",null),G=W.exports;function J(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}var Q=function(){function n(){var t,e;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=void 0,(t="_state")in this?Object.defineProperty(this,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):this[t]=e,this._state={},this._state.tabs=[],this._state.views=[],this._state.file="",this._state.activeTab="",console.debug("OCA.Files.Sidebar initialized")}var t,e;return t=n,(e=[{key:"state",get:function(){return this._state}},{key:"registerTab",value:function(n){return this._state.tabs.findIndex((function(t){return t.id===n.id}))>-1?(console.error("An tab with the same id ".concat(n.id," already exists"),n),!1):(this._state.tabs.push(n),!0)}},{key:"registerSecondaryView",value:function(n){return this._state.views.findIndex((function(t){return t.id===n.id}))>-1?(console.error("A similar view already exists",n),!1):(this._state.views.push(n),!0)}},{key:"file",get:function(){return this._state.file}},{key:"setActiveTab",value:function(n){this._state.activeTab=n}}])&&J(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),n}(),X=i(57005);function nn(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(n,t){for(var e=0;e<t.length;e++){var i=t[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}}function en(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var rn=function(){function n(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.id,r=e.name,o=e.icon,s=e.iconSvg,a=e.mount,c=e.update,l=e.destroy,u=e.enabled,d=e.scrollBottomReached;if(nn(this,n),en(this,"_id",void 0),en(this,"_name",void 0),en(this,"_icon",void 0),en(this,"_iconSvgSanitized",void 0),en(this,"_mount",void 0),en(this,"_update",void 0),en(this,"_destroy",void 0),en(this,"_enabled",void 0),en(this,"_scrollBottomReached",void 0),void 0===u&&(u=function(){return!0}),void 0===d&&(d=function(){}),"string"!=typeof i||""===i.trim())throw new Error("The id argument is not a valid string");if("string"!=typeof r||""===r.trim())throw new Error("The name argument is not a valid string");if(("string"!=typeof o||""===o.trim())&&"string"!=typeof s)throw new Error("Missing valid string for icon or iconSvg argument");if("function"!=typeof a)throw new Error("The mount argument should be a function");if("function"!=typeof c)throw new Error("The update argument should be a function");if("function"!=typeof l)throw new Error("The destroy argument should be a function");if("function"!=typeof u)throw new Error("The enabled argument should be a function");if("function"!=typeof d)throw new Error("The scrollBottomReached argument should be a function");this._id=i,this._name=r,this._icon=o,this._mount=a,this._update=c,this._destroy=l,this._enabled=u,this._scrollBottomReached=d,"string"==typeof s&&(0,X.t)(s).then((function(n){t._iconSvgSanitized=n}))}var t,e;return t=n,(e=[{key:"id",get:function(){return this._id}},{key:"name",get:function(){return this._name}},{key:"icon",get:function(){return this._icon}},{key:"iconSvg",get:function(){return this._iconSvgSanitized}},{key:"mount",get:function(){return this._mount}},{key:"update",get:function(){return this._update}},{key:"destroy",get:function(){return this._destroy}},{key:"enabled",get:function(){return this._enabled}},{key:"scrollBottomReached",get:function(){return this._scrollBottomReached}}])&&tn(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),n}();r.ZP.prototype.t=o.translate,window.OCA.Files||(window.OCA.Files={}),Object.assign(window.OCA.Files,{Sidebar:new Q}),Object.assign(window.OCA.Files.Sidebar,{Tab:rn}),console.debug("OCA.Files.Sidebar initialized"),window.addEventListener("DOMContentLoaded",(function(){var n=document.querySelector("body > .content")||document.querySelector("body > #content");if(n&&!document.getElementById("app-sidebar")){var t=document.createElement("div");t.id="app-sidebar",n.appendChild(t)}var e=new(r.ZP.extend(G))({name:"SidebarRoot"});e.$mount("#app-sidebar"),window.OCA.Files.Sidebar.open=e.open,window.OCA.Files.Sidebar.close=e.close,window.OCA.Files.Sidebar.setFullScreenMode=e.setFullScreenMode}))},89758:function(n,t,e){"use strict";var i=e(87537),r=e.n(i),o=e(23645),s=e.n(o)()(r());s.push([n.id,'.app-sidebar--has-preview[data-v-4afc9c22] .app-sidebar-header__figure{background-size:cover}.app-sidebar--has-preview[data-v-4afc9c22][data-mimetype="text/plain"] .app-sidebar-header__figure,.app-sidebar--has-preview[data-v-4afc9c22][data-mimetype="text/markdown"] .app-sidebar-header__figure{background-size:contain}.app-sidebar--full[data-v-4afc9c22]{position:fixed !important;z-index:2025 !important;top:0 !important;height:100% !important}.app-sidebar .svg-icon[data-v-4afc9c22] svg{width:20px;height:20px;fill:currentColor}',"",{version:3,sources:["webpack://./apps/files/src/views/Sidebar.vue"],names:[],mappings:"AAifE,uEACC,qBAAA,CAKA,yMACC,uBAAA,CAKH,oCACC,yBAAA,CACA,uBAAA,CACA,gBAAA,CACA,sBAAA,CAIA,6CACC,UAAA,CACA,WAAA,CACA,iBAAA",sourcesContent:['\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.app-sidebar {\n\t&--has-preview::v-deep {\n\t\t.app-sidebar-header__figure {\n\t\t\tbackground-size: cover;\n\t\t}\n\n\t\t&[data-mimetype="text/plain"],\n\t\t&[data-mimetype="text/markdown"] {\n\t\t\t.app-sidebar-header__figure {\n\t\t\t\tbackground-size: contain;\n\t\t\t}\n\t\t}\n\t}\n\n\t&--full {\n\t\tposition: fixed !important;\n\t\tz-index: 2025 !important;\n\t\ttop: 0 !important;\n\t\theight: 100% !important;\n\t}\n\n\t.svg-icon {\n\t\t::v-deep svg {\n\t\t\twidth: 20px;\n\t\t\theight: 20px;\n\t\t\tfill: currentColor;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]),t.Z=s},46700:function(n,t,e){var i={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function r(n){var t=o(n);return e(t)}function o(n){if(!e.o(i,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}return i[n]}r.keys=function(){return Object.keys(i)},r.resolve=o,n.exports=r,r.id=46700}},i={};function r(n){var t=i[n];if(void 0!==t)return t.exports;var o=i[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=e,r.amdD=function(){throw new Error("define cannot be used indirect")},r.amdO={},n=[],r.O=function(t,e,i,o){if(!e){var s=1/0;for(u=0;u<n.length;u++){e=n[u][0],i=n[u][1],o=n[u][2];for(var a=!0,c=0;c<e.length;c++)(!1&o||s>=o)&&Object.keys(r.O).every((function(n){return r.O[n](e[c])}))?e.splice(c--,1):(a=!1,o<s&&(s=o));if(a){n.splice(u--,1);var l=i();void 0!==l&&(t=l)}}return t}o=o||0;for(var u=n.length;u>0&&n[u-1][2]>o;u--)n[u]=n[u-1];n[u]=[e,i,o]},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,{a:t}),t},r.d=function(n,t){for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.nmd=function(n){return n.paths=[],n.children||(n.children=[]),n},r.j=4092,function(){r.b=document.baseURI||self.location.href;var n={4092:0};r.O.j=function(t){return 0===n[t]};var t=function(t,e){var i,o,s=e[0],a=e[1],c=e[2],l=0;if(s.some((function(t){return 0!==n[t]}))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(c)var u=c(r)}for(t&&t(e);l<s.length;l++)o=s[l],r.o(n,o)&&n[o]&&n[o][0](),n[o]=0;return r.O(u)},e=self.webpackChunknextcloud=self.webpackChunknextcloud||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))}(),r.nc=void 0;var o=r.O(void 0,[7874],(function(){return r(94686)}));o=r.O(o)}();
- //# sourceMappingURL=files-sidebar.js.map?v=316a36d50aef237db4ab
|