diff --git a/public/chunks/files.js b/public/chunks/files.js index ff71b7ac..a2e68671 100644 --- a/public/chunks/files.js +++ b/public/chunks/files.js @@ -1 +1 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1693],{4734:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".emoji{font-size:inherit;height:1em;width:1em}",""]);const r=u},700:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".button-base[data-v-367d774e]{border:0;border-radius:8px;cursor:pointer;display:inline-block;font-size:.9375em;font-weight:700;padding:10px 28px;transition:all .15s ease}.button-base[data-v-367d774e]:active{transform:scale(.95)}.button-base.secondary[data-v-367d774e]{background:#f4f5f6;color:#1b2539}",""]);const r=u},4630:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".title[data-v-4dc14d25]{color:#1b2539;font-size:1.25em;font-weight:700;margin:0}.description[data-v-4dc14d25]{color:rgba(27,37,57,.7);display:block;font-size:.8125em;margin-bottom:20px}.dark .title[data-v-4dc14d25]{color:#bec6cf}.dark .description[data-v-4dc14d25]{color:#7d858c}",""]);const r=u},7426:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".button-enter-active[data-v-0f546a02],.button-leave-active[data-v-0f546a02]{transition:all .25s}.button-enter[data-v-0f546a02]{opacity:0;transform:translateY(-50%)}.button-leave-to[data-v-0f546a02]{opacity:0;transform:translateY(50%)}.button-leave-active[data-v-0f546a02]{position:absolute}",""]);const r=u},6799:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".alphabet-icon g,.alphabet-icon line,.alphabet-icon polyline{color:inherit}",""]);const r=u},1700:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".preview-list-icon line,.preview-list-icon path,.preview-list-icon polyline{color:inherit}",""]);const r=u},1586:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".slide-from-left-move[data-v-55079be7]{transition:transform 300s ease}.slide-from-left-enter-active[data-v-55079be7],.slide-from-left-leave-active[data-v-55079be7],.slide-from-right-enter-active[data-v-55079be7],.slide-from-right-leave-active[data-v-55079be7]{transition:all .3s}.slide-from-left-enter[data-v-55079be7],.slide-from-left-leave-to[data-v-55079be7]{opacity:0;transform:translateX(-100%)}.slide-from-right-enter[data-v-55079be7],.slide-from-right-leave-to[data-v-55079be7]{opacity:0;transform:translateX(100%)}.check-box[data-v-55079be7]{margin-left:6px;margin-right:15px}.file-wrapper[data-v-55079be7]{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.file-wrapper[data-v-55079be7]:hover{border-color:transparent}.file-wrapper .actions[data-v-55079be7]{text-align:right;width:50px}.file-wrapper .actions .show-actions[data-v-55079be7]{cursor:pointer;padding:12px 0 12px 6px}.file-wrapper .actions .show-actions .icon-action[data-v-55079be7]{font-size:.875em;margin-top:9px}.file-wrapper .actions .show-actions .icon-action circle[data-v-55079be7]{color:inherit}.file-wrapper .item-name[data-v-55079be7]{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.file-wrapper .item-name .item-info[data-v-55079be7]{display:block;line-height:1}.file-wrapper .item-name .item-shared[data-v-55079be7]{display:inline-block}.file-wrapper .item-name .item-shared .label[data-v-55079be7]{color:#00bc7e;font-size:.75em;font-weight:400}.file-wrapper .item-name .item-shared .shared-icon[data-v-55079be7]{vertical-align:middle}.file-wrapper .item-name .item-shared .shared-icon circle[data-v-55079be7],.file-wrapper .item-name .item-shared .shared-icon line[data-v-55079be7],.file-wrapper .item-name .item-shared .shared-icon path[data-v-55079be7]{color:inherit}.file-wrapper .item-name .item-length[data-v-55079be7],.file-wrapper .item-name .item-size[data-v-55079be7]{color:rgba(27,37,57,.7);font-size:.6875em;font-weight:400}.file-wrapper .item-name .name[data-v-55079be7]{white-space:nowrap}.file-wrapper .item-name .name[contenteditable][data-v-55079be7]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.file-wrapper .item-name .name[contenteditable=true][data-v-55079be7]:hover{text-decoration:underline}.file-wrapper .item-name .name[data-v-55079be7]{color:#1b2539;font-size:.875em;font-weight:700;max-height:40px;overflow:hidden;text-overflow:ellipsis}.file-wrapper .item-name .name.actived[data-v-55079be7]{max-height:none}.file-wrapper.selected .file-item[data-v-55079be7]{background:#f4f5f6}.file-wrapper .icon-item[data-v-55079be7]{flex:0 0 50px;line-height:0;margin-right:20px;position:relative;text-align:center}.file-wrapper .icon-item .folder[data-v-55079be7]{height:52px;width:52px}.file-wrapper .icon-item .folder[data-v-55079be7] .folder-icon{font-size:3.25em}.file-wrapper .icon-item .file-icon[data-v-55079be7]{font-size:2.8125em}.file-wrapper .icon-item .file-icon path[data-v-55079be7]{fill:#fafafc;stroke:#dfe0e8;stroke-width:1}.file-wrapper .icon-item .file-icon-text[data-v-55079be7]{font-size:.6875em;font-weight:600;left:0;line-height:1;margin:0 auto;max-height:20px;max-width:50px;overflow:hidden;position:absolute;right:0;text-align:center;text-overflow:ellipsis;top:40%;white-space:nowrap}.file-wrapper .icon-item .file-icon-text[data-v-55079be7],.file-wrapper .icon-item .image[data-v-55079be7]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.file-wrapper .icon-item .image[data-v-55079be7]{border-radius:5px;height:50px;max-width:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;width:50px}.file-wrapper .file-item[data-v-55079be7]{align-items:center;border:2px dashed transparent;display:flex;padding:7px;width:100%}.file-wrapper .file-item.is-dragenter[data-v-55079be7]{border-radius:8px}.file-wrapper .file-item.no-clicked[data-v-55079be7]{background:#fff!important}.file-wrapper .file-item.no-clicked .item-name .name[data-v-55079be7]{color:#1b2539!important}.file-wrapper .file-item.is-clicked[data-v-55079be7],.file-wrapper .file-item[data-v-55079be7]:hover{background:#f4f5f6;border-radius:8px}.dark .file-wrapper .icon-item .file-icon path[data-v-55079be7]{fill:#1e2024;stroke:#2f3c54}.dark .file-wrapper .file-item.no-clicked[data-v-55079be7]{background:#151515!important}.dark .file-wrapper .file-item.no-clicked .file-icon path[data-v-55079be7]{fill:#1e2024!important;stroke:#2f3c54}.dark .file-wrapper .file-item.no-clicked .item-name .name[data-v-55079be7]{color:#bec6cf!important}.dark .file-wrapper .file-item.is-clicked[data-v-55079be7],.dark .file-wrapper .file-item[data-v-55079be7]:hover{background:#1e2024}.dark .file-wrapper .file-item.is-clicked .file-icon path[data-v-55079be7],.dark .file-wrapper .file-item:hover .file-icon path[data-v-55079be7]{fill:#151515}.dark .file-wrapper .item-name .name[data-v-55079be7]{color:#bec6cf}.dark .file-wrapper .item-name .item-length[data-v-55079be7],.dark .file-wrapper .item-name .item-size[data-v-55079be7]{color:#7d858c}",""]);const r=u},392:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".mobile-action-button[data-v-7f6a0870]{background:#f4f5f6;border:none;border-radius:8px;cursor:pointer;margin-right:8px;padding:7px 14px}.mobile-action-button .flex[data-v-7f6a0870]{align-items:center;display:flex}.mobile-action-button .icon[data-v-7f6a0870]{font-size:.875em;margin-right:10px;vertical-align:middle}.mobile-action-button .label[data-v-7f6a0870]{color:#1b2539;font-size:.875em;font-weight:700;vertical-align:middle}.dark .mobile-action-button[data-v-7f6a0870]{background:#1e2024}.dark .mobile-action-button circle[data-v-7f6a0870],.dark .mobile-action-button line[data-v-7f6a0870],.dark .mobile-action-button path[data-v-7f6a0870],.dark .mobile-action-button polyline[data-v-7f6a0870],.dark .mobile-action-button rect[data-v-7f6a0870]{color:inherit}.dark .mobile-action-button .label[data-v-7f6a0870]{color:#bec6cf}",""]);const r=u},2386:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".multiselect-actions[data-v-73b4b078]{background:#fff;bottom:0;display:flex;left:0;overflow:hidden;padding:10px 15px;position:fixed;right:0;z-index:9}.multiselect-actions .action-btn[data-v-73b4b078]{margin-right:25px}.multiselect-actions .action-btn[data-v-73b4b078]:last-child{margin-right:0}.multiselect-actions .close-icon[data-v-73b4b078]{margin-left:auto!important}.is-inactive[data-v-73b4b078]{opacity:.25!important;pointer-events:none!important}.is-inactive .menu-option[data-v-73b4b078]{align-items:center;display:flex}.is-inactive .options.is-active[data-v-73b4b078]{opacity:1!important;pointer-events:auto!important}.dark .multiselect-actions[data-v-73b4b078]{background:#1e2024}.context-menu-enter-active[data-v-73b4b078],.context-menu-leave-active[data-v-73b4b078],.fade-enter-active[data-v-73b4b078],.fade-leave-active[data-v-73b4b078]{transition:all .2s}.fade-enter[data-v-73b4b078],.fade-leave-to[data-v-73b4b078]{opacity:0}.context-menu-enter[data-v-73b4b078],.context-menu-leave-to[data-v-73b4b078]{opacity:0;transform:translateY(100%)}.context-menu-leave-active[data-v-73b4b078]{position:absolute}",""]);const r=u},2028:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".progress-bar[data-v-0b81e9e0]{background:#f4f5f6;border-radius:10px;height:5px;margin-top:6px;width:100%}.progress-bar span[data-v-0b81e9e0]{border-radius:10px;display:block;height:100%;max-width:100%}.dark .progress-bar[data-v-0b81e9e0]{background:#1e2024}@media only screen and (min-width:680px){.dark .progress-bar[data-v-0b81e9e0]{background:#1e2024}}",""]);const r=u},2248:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".sync-alt[data-v-4f244cbc]{-webkit-animation:spin-data-v-4f244cbc 1s linear infinite;animation:spin-data-v-4f244cbc 1s linear infinite;margin-right:5px}.sync-alt path[data-v-4f244cbc],.sync-alt polyline[data-v-4f244cbc]{color:inherit}@-webkit-keyframes spin-data-v-4f244cbc{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes spin-data-v-4f244cbc{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.info-panel-enter-active[data-v-4f244cbc],.info-panel-leave-active[data-v-4f244cbc]{transition:all .3s ease}.info-panel-enter[data-v-4f244cbc],.info-panel-leave-to[data-v-4f244cbc]{opacity:0;transform:translateY(-100%)}.upload-progress[data-v-4f244cbc]{position:relative;width:100%;z-index:1}.upload-progress .progress-wrapper[data-v-4f244cbc]{display:flex}.upload-progress .progress-wrapper .cancel-icon[data-v-4f244cbc]{cursor:pointer;padding:0 7px 0 13px}.upload-progress .progress-wrapper .cancel-icon:hover line[data-v-4f244cbc]{color:inherit}.upload-progress .progress-title[data-v-4f244cbc]{font-weight:700;text-align:center}.upload-progress .progress-title span[data-v-4f244cbc]{font-size:.875em}.dark .progress-bar[data-v-4f244cbc]{background:#1e2024}",""]);const r=u},7691:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".context-menu-enter-active[data-v-87406fb8],.context-menu-leave-active[data-v-87406fb8],.fade-enter-active[data-v-87406fb8],.fade-leave-active[data-v-87406fb8]{transition:all .3s}.fade-enter[data-v-87406fb8],.fade-leave-to[data-v-87406fb8]{opacity:0}.context-menu-enter[data-v-87406fb8],.context-menu-leave-to[data-v-87406fb8]{opacity:0;transform:translateY(100%)}.context-menu-leave-active[data-v-87406fb8]{position:fixed}.vignette-enter-active[data-v-87406fb8]{-webkit-animation:vignette-in-data-v-87406fb8 .15s cubic-bezier(.4,0,1,1);animation:vignette-in-data-v-87406fb8 .15s cubic-bezier(.4,0,1,1)}.vignette-leave-active[data-v-87406fb8]{animation:vignette-in-data-v-87406fb8 .15s linear reverse}@-webkit-keyframes vignette-in-data-v-87406fb8{0%{opacity:0}to{opacity:1}}@keyframes vignette-in-data-v-87406fb8{0%{opacity:0}to{opacity:1}}",""]);const r=u},6713:(e,t,d)=>{d.d(t,{Z:()=>r});var i=d(3645),u=d.n(i)()((function(e){return e[1]}));u.push([e.id,".menu-options[data-v-8c83820c]{list-style:none;margin-top:10px;width:100%}",""]);const r=u},1857:(e,t,d)=>{d.d(t,{Z:()=>o});const i={name:"ButtonBase",props:["buttonStyle"],data:function(){return{files:void 0}},methods:{emmitFiles:function(e){this.$uploadFiles(e.target.files)}}};var u=d(3379),r=d.n(u),n=d(700),a={insert:"head",singleton:!1};r()(n.Z,a);n.Z.locals;const o=(0,d(1900).Z)(i,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("label",{staticClass:"button file-input button-base",class:e.buttonStyle,attrs:{label:"file"}},[e._t("default"),e._v(" "),d("input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],attrs:{accept:"*",id:"file",type:"file",name:"files[]",multiple:""},on:{change:e.emmitFiles}})],2)}),[],!1,null,"367d774e",null).exports},9470:(e,t,d)=>{d.d(t,{Z:()=>u});const i={name:"CheckBox",props:["isClicked"],components:{CheckIcon:d(9101).nQG},data:function(){return{isSwitched:void 0}},methods:{changeState:function(){this.isSwitched=!this.isSwitched,this.$emit("input",this.isSwitched)}},mounted:function(){this.isSwitched=this.isClicked}};const u=(0,d(1900).Z)(i,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("div",[d("div",{staticClass:"flex h-5 w-5 items-center justify-center rounded-md",class:{"bg-theme":e.isClicked,"bg-light-background dark:bg-4x-dark-foreground":!e.isClicked},on:{click:e.changeState}},[e.isClicked?d("CheckIcon",{staticClass:"vue-feather text-white",attrs:{size:"17"}}):e._e()],1)])}),[],!1,null,null,null).exports},5570:(e,t,d)=>{d.d(t,{Z:()=>o});var i=d(826);function u(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function r(e){for(var t=1;t1&&this.clipboard.includes(this.item))&&(this.clipboard.length<2||!this.clipboard.includes(this.item)||void 0)}}),data:function(){return{item:void 0,isVisible:!1,positionX:0,positionY:0}},methods:{closeAndResetContextMenu:function(){this.isVisible=!1,this.item=void 0},showContextMenu:function(e){var t=this.$refs.contextmenu,d=window.innerWidth-e.clientX-t.clientWidth-25,i=window.innerHeight-e.clientY-t.clientHeight-25;this.positionX=d<0?e.clientX+d:e.clientX,this.positionY=i<0?e.clientY+i:e.clientY,this.isVisible=!0}},created:function(){var e=this;i.U.$on("context-menu:hide",(function(){return e.closeAndResetContextMenu()})),i.U.$on("context-menu:show",(function(t,d){e.item=d,setTimeout((function(){return e.showContextMenu(t,d)}),10)})),i.U.$on("context-menu:current-folder",(function(t){if(e.item=t,e.isVisible=!e.isVisible,e.isVisible){var d=document.getElementById("folder-actions").getBoundingClientRect();e.positionX=d.x,e.positionY=d.y+20}}))}};const o=(0,d(1900).Z)(a,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],ref:"contextmenu",staticClass:"fixed z-20 w-60 select-none overflow-hidden rounded-xl bg-white shadow-lg dark:bg-2x-dark-foreground",style:{top:e.positionY+"px",left:e.positionX+"px"},on:{click:e.closeAndResetContextMenu}},[d("div",{staticClass:"w-full"},[e.item?e._e():e._t("empty-select"),e._v(" "),e.isMultiSelectContextMenu?e._t("single-select"):e._e(),e._v(" "),e.isMultiSelectContextMenu?e._e():e._t("multiple-select")],2)])}),[],!1,null,null,null).exports},5942:(e,t,d)=>{d.d(t,{Z:()=>p});var i=d(7318),u=d(629);function r(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function n(e){for(var t=1;t{d.d(t,{Z:()=>p});var i=d(3911),u=d(8495),r=d(629);function n(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function a(e,t,d){return t in e?Object.defineProperty(e,t,{value:d,enumerable:!0,configurable:!0,writable:!0}):e[t]=d,e}const o={name:"FileActionsMobile",components:{MobileActionButton:i.Z,UploadProgress:u.Z},computed:function(e){for(var t=1;t{d.d(t,{Z:()=>y});var i=d(826),u=d(4662),r=d(9318),n=d(629);function a(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function o(e){for(var t=1;t=u;n--)this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.entries[n])}else this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);else this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item.data.id):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item);!this.isMultiSelectMode&&this.$isMobile()&&(this.isFolder?this.$goToFileView(this.item.data.id):(this.isImage||this.isVideo||this.isAudio||this.isPdf)&&(this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item),i.U.$emit("file-preview:show"))),this.isMultiSelectMode&&this.$isMobile()&&(this.clipboard.some((function(e){return e.data.id===t.item.data.id}))?this.$store.commit("REMOVE_ITEM_FROM_CLIPBOARD",this.item.data.id):this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item))}},goToItem:function(){this.isImage||this.isVideo||this.isAudio||this.isPdf?(this.$store.commit("CLIPBOARD_CLEAR"),this.$store.commit("ADD_ITEM_TO_CLIPBOARD",this.item),i.U.$emit("file-preview:show")):!this.isFile&&(this.isFolder||this.isVideo||this.isAudio||this.isImage)?this.isFolder&&this.$goToFileView(this.item.data.id):this.$downloadFile(this.item.data.attributes.file_url,this.item.data.attributes.name+"."+this.item.data.attributes.mimetype)}}};var l=d(3379),f=d.n(l),p=d(1586),m={insert:"head",singleton:!1};f()(p.Z,m);p.Z.locals;var h=d(1900);function b(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function v(e){for(var t=1;t0&&this.$checkPermission("master")||this.$checkPermission("editor"))&&this.$store.dispatch("deleteItem")},uploadDroppedItems:function(e){this.$uploadDraggedFiles(e,this.currentFolder.data.id),this.isDragging=!1},dragEnter:function(){this.isDragging=!0},dragLeave:function(){this.isDragging=!1},dragStart:function(e){var t=document.createElement("img");t.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",event.dataTransfer.setDragImage(t,0,0),i.U.$emit("dragstart",e),this.draggingId=e},dragFinish:function(e,t){var d=this;if(0===t.dataTransfer.items.length){if("folder"!==e.data.type||this.draggingId===e)return;if(this.clipboard.find((function(t){return t===e&&d.clipboard.length>1})))return;this.clipboard.includes(this.draggingId)||this.$store.dispatch("moveItem",{to_item:e,noSelectedItem:this.draggingId}),this.clipboard.length>0&&this.clipboard.includes(this.draggingId)&&this.$store.dispatch("moveItem",{to_item:e,noSelectedItem:null})}else{var i,u="folder"!==e.data.type?null===(i=this.currentFolder)||void 0===i?void 0:i.data.id:e.data.id;this.$uploadDraggedFiles(t,u)}this.isDragging=!1},contextMenu:function(e,t){i.U.$emit("context-menu:show",e,t)},hideContextMenu:function(){i.U.$emit("context-menu:hide")},deselect:function(){i.U.$emit("context-menu:hide"),this.$store.commit("CLIPBOARD_CLEAR")}},created:function(){var e=this;i.U.$on("drop",(function(){e.isDragging=!1,setTimeout((function(){e.draggingId=void 0}),10)}))}};const y=(0,h.Z)(_,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("div",{staticClass:"px-4 lg:h-full lg:w-full lg:overflow-y-auto lg:px-0",class:{"opacity-75":e.isDragging,"grid-view":"grid"===e.itemViewType&&!e.isVisibleSidebar,"grid-view-sidebar":"grid"===e.itemViewType&&e.isVisibleSidebar},attrs:{tabindex:"-1"},on:{drop:function(t){return t.stopPropagation(),t.preventDefault(),e.uploadDroppedItems(t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deleteItems.apply(null,arguments)},dragover:[e.dragEnter,function(e){e.preventDefault()}],dragleave:e.dragLeave,click:function(t){return t.target!==t.currentTarget?null:e.deselect.apply(null,arguments)}}},e._l(e.entries,(function(t){return d("ItemHandler",{key:t.data.id,class:e.draggedItems.includes(t)?"opacity-60":"",attrs:{item:t},on:{dragstart:function(d){return e.dragStart(t)}},nativeOn:{click:function(t){return e.hideContextMenu.apply(null,arguments)},drop:function(d){return d.stopPropagation(),d.preventDefault(),e.dragFinish(t,d)},contextmenu:function(d){return d.preventDefault(),e.contextMenu(d,t)}}})})),1)}),[],!1,null,null,null).exports},3119:(e,t,d)=>{d.d(t,{Z:()=>u});const i={name:"FileIconThumbnail",props:["entry"]};const u=(0,d(1900).Z)(i,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("div",{staticClass:"flex items-center justify-center"},[d("span",{staticClass:"text-theme absolute z-[5] mx-auto mt-1 inline-block w-7 overflow-hidden text-ellipsis text-center text-[9px] font-semibold"},[e._v("\n "+e._s(e.entry.data.attributes.mimetype)+"\n ")]),e._v(" "),d("svg",{staticClass:"vue-feather dark:text-gray-800 text-gray-100 ",attrs:{width:"38px",height:"51px",fill:"currentColor",viewBox:"0 0 38 51",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[d("path",{attrs:{d:"M22.1666667,13.546875 L22.1666667,0 L2.375,0 C1.05885417,0 0,1.06582031 0,2.390625 L0,48.609375 C0,49.9341797 1.05885417,51 2.375,51 L35.625,51 C36.9411458,51 38,49.9341797 38,48.609375 L38,15.9375 L24.5416667,15.9375 C23.2354167,15.9375 22.1666667,14.8617187 22.1666667,13.546875 Z M38,12.1423828 L38,12.75 L25.3333333,12.75 L25.3333333,0 L25.9369792,0 C26.5703125,0 27.1739583,0.249023438 27.6192708,0.697265625 L37.3072917,10.4589844 C37.7526042,10.9072266 38,11.5148437 38,12.1423828 Z"}})])])}),[],!1,null,null,null).exports},4886:(e,t,d)=>{d.d(t,{Z:()=>n});var i=d(8569),u=d(7212);const r={name:"FolderIcon",props:["item"],components:{VueFolderTeamIcon:i.Z,VueFolderIcon:u.Z}};const n=(0,d(1900).Z)(r,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("div",[e.item.data.attributes.isTeamFolder?e._e():d("VueFolderIcon"),e._v(" "),e.item.data.attributes.isTeamFolder?d("VueFolderTeamIcon",{staticStyle:{width:"53px",height:"52px"}}):e._e()],1)}),[],!1,null,null,null).exports},7212:(e,t,d)=>{d.d(t,{Z:()=>u});const i={name:"VueFolderIcon"};const u=(0,d(1900).Z)(i,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("svg",{attrs:{width:"53px",height:"52px",viewBox:"0 0 53 39",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[d("path",{staticClass:"svg-color-theme",attrs:{d:"M48.03125,6.5 L29.790833,6.5 C28.7431613,6.5 27.7373076,6.08896217 26.9894703,5.35523504 L22.6980297,1.14476496 C21.9501924,0.41103783 20.9443387,-6.36543387e-16 19.896667,0 L4.96875,0 L4.96875,0 C2.22455078,0 0,2.18257812 0,4.875 L0,34.125 C0,36.8174219 2.22455078,39 4.96875,39 L48.03125,39 C50.7754492,39 53,36.8174219 53,34.125 L53,11.375 C53,8.68257813 50.7754492,6.5 48.03125,6.5 Z",stroke:"none","stroke-width":"0"}}),e._v(" "),d("path",{attrs:{d:"M48.03125,6.5 L29.790833,6.5 C28.7431613,6.5 27.7373076,6.08896217 26.9894703,5.35523504 L22.6980297,1.14476496 C21.9501924,0.41103783 20.9443387,-6.36543387e-16 19.896667,0 L4.96875,0 L4.96875,0 C2.22455078,0 0,2.18257812 0,4.875 L0,34.125 C0,36.8174219 2.22455078,39 4.96875,39 L48.03125,39 C50.7754492,39 53,36.8174219 53,34.125 L53,11.375 C53,8.68257813 50.7754492,6.5 48.03125,6.5 Z",fill:"black","fill-opacity":"0.2",stroke:"none","stroke-width":"0"}}),e._v(" "),d("path",{staticClass:"svg-color-theme",attrs:{d:"M48.03125,12.75 C49.0609313,12.75 49.9941504,13.1577174 50.6692739,13.8201027 C51.3356976,14.4739525 51.75,15.3766531 51.75,16.375 L51.75,16.375 L51.75,34.125 C51.75,35.1233469 51.3356976,36.0260475 50.6692739,36.6798973 C49.9941504,37.3422826 49.0609313,37.75 48.03125,37.75 L48.03125,37.75 L4.96875,37.75 C3.93906868,37.75 3.00584961,37.3422826 2.33072613,36.6798973 C1.66430239,36.0260475 1.25,35.1233469 1.25,34.125 L1.25,34.125 L1.25,16.375 C1.25,15.3766531 1.66430239,14.4739525 2.33072613,13.8201027 C3.00584961,13.1577174 3.93906868,12.75 4.96875,12.75 L4.96875,12.75 Z","stroke-width":"2",fill:"green"}})])}),[],!1,null,null,null).exports},8569:(e,t,d)=>{d.d(t,{Z:()=>u});const i={name:"VueFolderTeamIcon"};const u=(0,d(1900).Z)(i,(function(){var e=this,t=e.$createElement,d=e._self._c||t;return d("svg",{attrs:{viewBox:"0 0 53 39",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[d("g",{attrs:{id:"V2",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[d("g",{attrs:{id:"team-folder"}},[d("path",{staticClass:"svg-color-theme",attrs:{d:"M48.03125,6.5 L29.790833,6.5 C28.7431613,6.5 27.7373076,6.08896217 26.9894703,5.35523504 L22.6980297,1.14476496 C21.9501924,0.41103783 20.9443387,-6.36543387e-16 19.896667,0 L4.96875,0 L4.96875,0 C2.22455078,0 0,2.18257812 0,4.875 L0,34.125 C0,36.8174219 2.22455078,39 4.96875,39 L48.03125,39 C50.7754492,39 53,36.8174219 53,34.125 L53,11.375 C53,8.68257813 50.7754492,6.5 48.03125,6.5 Z",stroke:"none","stroke-width":"0"}}),e._v(" "),d("path",{attrs:{d:"M48.03125,6.5 L29.790833,6.5 C28.7431613,6.5 27.7373076,6.08896217 26.9894703,5.35523504 L22.6980297,1.14476496 C21.9501924,0.41103783 20.9443387,-6.36543387e-16 19.896667,0 L4.96875,0 L4.96875,0 C2.22455078,0 0,2.18257812 0,4.875 L0,34.125 C0,36.8174219 2.22455078,39 4.96875,39 L48.03125,39 C50.7754492,39 53,36.8174219 53,34.125 L53,11.375 C53,8.68257813 50.7754492,6.5 48.03125,6.5 Z",fill:"black","fill-opacity":"0.2",stroke:"none","stroke-width":"0"}}),e._v(" "),d("path",{staticClass:"svg-color-theme",attrs:{d:"M48.03125,12.75 C49.0609313,12.75 49.9941504,13.1577174 50.6692739,13.8201027 C51.3356976,14.4739525 51.75,15.3766531 51.75,16.375 L51.75,16.375 L51.75,34.125 C51.75,35.1233469 51.3356976,36.0260475 50.6692739,36.6798973 C49.9941504,37.3422826 49.0609313,37.75 48.03125,37.75 L48.03125,37.75 L4.96875,37.75 C3.93906868,37.75 3.00584961,37.3422826 2.33072613,36.6798973 C1.66430239,36.0260475 1.25,35.1233469 1.25,34.125 L1.25,34.125 L1.25,16.375 C1.25,15.3766531 1.66430239,14.4739525 2.33072613,13.8201027 C3.00584961,13.1577174 3.93906868,12.75 4.96875,12.75 L4.96875,12.75 Z","stroke-width":"2",fill:"green"}}),e._v(" "),d("g",{staticClass:"svg-stroke-theme-darken",attrs:{id:"Icon",transform:"translate(8.000000, 20.000000)","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.3",stroke:"black","stroke-opacity":"0.25"}},[d("path",{attrs:{d:"M9.59999943,10.7999994 L9.59999943,9.59999943 C9.59999943,8.27451611 8.52548289,7.19999957 7.19999957,7.19999957 L2.39999986,7.19999957 C1.07451654,7.19999957 0,8.27451611 0,9.59999943 L0,10.7999994"}}),e._v(" "),d("circle",{attrs:{cx:"4.79999971",cy:"2.39999986",r:"2.39999986"}}),e._v(" "),d("path",{attrs:{d:"M13.1999992,10.7999994 L13.1999992,9.59999943 C13.1991834,8.50627014 12.4589985,7.55143166 11.3999993,7.27799957"}}),e._v(" "),d("path",{attrs:{d:"M8.99999946,0.0779999954 C10.0619483,0.349901852 10.8047053,1.30679461 10.8047053,2.40299986 C10.8047053,3.4992051 10.0619483,4.45609786 8.99999946,4.72799972"}})])])])])}),[],!1,null,null,null).exports},9318:(e,t,d)=>{d.d(t,{Z:()=>b});var i=d(4886),u=d(9101),r=d(3119),n=d(167),a=d(1165),o=d(9470),s=d(6486),c=d(629),l=d(826);function f(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function p(e){for(var t=1;t{d.d(t,{Z:()=>b});var i=d(1165),u=d(4886),r=d(9101),n=d(3119),a=d(167),o=d(9470),s=d(6486),c=d(629),l=d(826);function f(e,t){var d=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),d.push.apply(d,i)}return d}function p(e){for(var t=1;t