1"use strict";(self["webpackChunkconveyour_ui"]=self["webpackChunkconveyour_ui"]||[]).push([[4607,22629,24701,59392,63324],{75701:function(t,e,r){r.d(e,{A:function(){return c}});var o=r(3698),a=function(){var t=this,e=t._self._c;return e(t.tag,{tag:"component",staticClass:"wrap-link folder__item-wrap",attrs:{to:t.path}},[e(o.A,{staticClass:"folder__item",attrs:{text:"",ripple:""}},[e("div",{staticClass:"folder-icon"},[e("icon-base",{attrs:{icon:"custom/folder",alt:""}}),e("span",{staticClass:"items-count"},[t._t("count",function(){return[t._v(" "+t._s(t.itemsCount)+" ")]})],2)],1),e("p",{staticClass:"folder-title",domProps:{innerHTML:t._s(t.name)}}),t._t("actions")],2)],1)},l=[],s={name:"FolderCard",props:{path:[String,Object],name:String,itemsCount:{type:Number,default:0}},computed:{tag(){return this.path?"router-link":"div"}}},i=s,n=r(81656),d=(0,n.A)(i,a,l,!1,null,null,null),c=d.exports},11066:function(t,e,r){r.d(e,{A:function(){return d}});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"underlay-img"},[e("img",{attrs:{src:t.img,alt:"",width:"360",height:"200"}})])},a=[],l={name:"UnderlayImg",props:{img:String}},s=l,i=r(81656),n=(0,i.A)(s,o,a,!1,null,null,null),d=n.exports},46409:function(t,e,r){r.r(e),r.d(e,{default:function(){return g}});var o=r(45961),a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"portal-page"},[t.showBackground?e("underlay-img",{class:{visible:t.checkIsVisible},attrs:{img:t.backgroundImage}}):t._e(),e("portal-navbar",{class:{scrolled:t.scrolled},attrs:{headerTitle:t.pageTitle,headerText:t.text,backRoute:t.backPath,noBack:t.noBack}}),e("div",{staticClass:"portal-page__content",class:{loading:t.loading,large:t.large}},[t._t("progress"),e("div",{staticClass:"container"},[e(o.mM,{attrs:{mode:"out-in"}},[t.loading?e("div",{staticClass:"spinner-overlay portal-page__spinner pa-5"},[e("spinner")],1):[t._t("default")]],2)],1)],2),e("portal-logo",{staticClass:"footer-logo mt-2 mb-2",class:{"d-none":t.hideLogo},attrs:{full:"",small:"small"===t.orgMeta.cy_branding}})],1)},l=[],s=r(1910),i=r(79753),n=r(11066),d=r(7256),c={name:"PortalPage",components:{PortalNavbar:i["default"],UnderlayImg:n.A,PortalLogo:d["default"]},props:{title:String,text:String,metaTitle:String,backRoute:{type:[String,Object]},previous:Boolean,img:String,loading:Boolean,noLogo:Boolean,noBack:Boolean,large:Boolean},data(){return{scrolled:!1}},computed:{...(0,s.L8)(["orgMeta"]),...(0,s.L8)("courses",["singleCourse"]),pageTitle(){return this.title},hideLogo(){return"hidden"===this.orgMeta?.cy_branding||this.noLogo},backPath(){return this.previous&&this.previousRoute?this.previousRoute.path:this.backRoute},checkIsVisible(){if("portal-course-about"!==this.$route.name)return!1;let t=this.singleCourse(this.$route.params.id);return t?.video_url},showBackground(){return"none"!==this.img&&(this.backgroundImage&&"portal-lesson"!==this.$route.name)},backgroundImage(){return this.img||this.orgMeta?.background||this.getFilePath("img/portal-bg.jpg")},documentTitle(){return this.metaTitle||this.title||"Conveyour"}},watch:{documentTitle(t){t&&this.setDocumentTitle()}},methods:{checkScrolled(){window.addEventListener("scroll",this.setScrolled)},setScrolled(){this.scrolled=!!window.pageYOffset},setDocumentTitle(){document.title=this.documentTitle}},mounted(){this.setScrolled(),this.checkScrolled()},beforeDestroy(){window.removeEventListener("scroll",this.setScrolled)},beforeMount(){this.setDocumentTitle()}},u=c,h=r(81656),f=(0,h.A)(u,a,l,!1,null,null,null),g=f.exports},79753:function(t,e,r){r.r(e),r.d(e,{default:function(){return h}});var o=r(69390),a=r(36930),l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"portal-navbar"},[t.showToggleSidebarBtn?e(o.A,{staticClass:"sidebar-toggle-btn",attrs:{fab:"",small:"",icon:""},on:{click:function(e){return t.togglePortalSidebar(!0)}}},[e("icon-base",{attrs:{icon:"portal/menu"}})],1):t._e(),t.showBackBtn?e(o.A,{staticClass:"back-btn",attrs:{text:"",fab:"",small:""},on:{click:t.openPrevious}},[e(a.A,{staticClass:"mr-0"},[t._v("chevron_left")])],1):t._e(),e("transition",{attrs:{name:"title"}},[t.titleAnimationDelay?[t.headerTitle?e("h3",{staticClass:"portal-navbar__title text-ellipsis"},[t._v(" "+t._s(t.headerTitle)+" ")]):t.headerText?e("div",{staticClass:"portal-navbar__text text-ellipsis"},[t._v(" "+t._s(t.headerText)+" ")]):t._e()]:t._e()],2),e("div",{staticClass:"nav-control
1s"},[e("portal-target",{attrs:{name:"portalHeaderButtons"}})],1)],1)},s=[],i=(r(44114),r(1910)),n={name:"PortalNavbar",props:{headerTitle:String,headerText:String,backRoute:{type:[String,Object]},backRouteTitle:{type:String,default:"Back"},noBack:Boolean},data(){return{titleAnimationDelay:!1}},computed:{...(0,i.L8)(["profile","orgMeta","insideScorm"]),...(0,i.L8)("courses",["coursesWithBilling"]),pageHasNav(){return this.$route.meta.showNav},showToggleSidebarBtn(){return this.pageHasNav},showBackBtn(){return!this.insideScorm&&!this.noBack&&(!this.pageHasNav||this.pageHasNav&&this.backRoute)}},methods:{...(0,i.PY)(["togglePortalSidebar"]),openPrevious(){this.backRoute?this.$router.push(this.backRoute):this.$router.go(-1)}},created(){setTimeout(()=>{this.titleAnimationDelay=!0})}},d=n,c=r(81656),u=(0,c.A)(d,l,s,!1,null,"4d747c50",null),h=u.exports},10684:function(t,e,r){r.r(e),r.d(e,{default:function(){return m}});var o=r(69390),a=r(54414),l=r(2756),s=function(){var t=this,e=t._self._c;return e("portal-page",{attrs:{backRoute:t.backRoute,loading:!t.foldersLoaded,title:t.title,large:""}},[t.folder?e("div",[t.folder.folders&&t.folder.folders.length?e(l.A,t._l(t.folder.folders,function(t){return e(a.A,{key:t.id,attrs:{cols:"12",sm:"4"}},[e("portal-shared-file-folder-card",{attrs:{folder:t}})],1)}),1):t._e(),e(l.A,t._l(t.folder.files,function(t){return e(a.A,{key:t.id,attrs:{cols:"12",sm:"4"}},[e("file-card",{staticClass:"file-card",attrs:{file:t,viewOnly:!0,portal:""}})],1)}),1)],1):t.folderFetching?t._e():e("div",{staticClass:"placeholder-text--wrap"},[e("div",{staticClass:"placeholder-text block"},[t._v(" "+t._s(t.$t("portal.files.notFound"))),e("br"),e(o.A,{staticClass:"mt-3",attrs:{color:"primary",to:{name:"portal-home"}}},[t._v(" "+t._s(t.$t("portal.common.mainMenu"))+" ")])],1)])])},i=[],n=r(1910),d=r(46409),c=r(43445),u=r(37956),h={name:"PortalSharedFileFolder",components:{PortalSharedFileFolderCard:u["default"],PortalPage:d["default"],FileCard:c["default"]},props:{folderId:String},data(){return{folderFetching:!1}},watch:{folderId(){this.loadFolderIfNeeded()},foldersLoaded(){this.loadFolderIfNeeded()}},computed:{...(0,n.L8)("portalSharedFiles",["getFolder"]),...(0,n.aH)("portalSharedFiles",["foldersLoaded"]),title(){return!this.foldersLoaded||this.folderFetching?this.$t("portal.common.loading"):this.folder?.name},folder(){return this.getFolder(this.folderId)},backRoute(){return this.folder?.folder_id?{name:"portal-shared-files-folder",params:{folderId:this.folder.folder_id}}:{name:"portal-files"}}},methods:{...(0,n.i0)("portalSharedFiles",["loadSingleFolder"]),async loadFolderIfNeeded(){if(this.foldersLoaded&&!this.folder){this.folderFetching=!0;try{await this.loadSingleFolder(this.folderId)}finally{this.folderFetching=!1}}}},mounted(){this.loadFolderIfNeeded()}},f=h,g=r(81656),p=(0,g.A)(f,s,i,!1,null,null,null),m=p.exports},37956:function(t,e,r){r.r(e),r.d(e,{default:function(){return c}});var o=function(){var t=this,e=t._self._c;return e("folder-card",{attrs:{name:t.folder.name,itemsCount:t.getFolderItemsCount(t.folder),path:t.getFolderPath(t.folder.id)}})},a=[],l=r(75701),s={name:"PortalSharedFileFolderCard",components:{FolderCard:l.A},props:{folder:{type:Object,required:!0}},methods:{getFolderPath(t){return{name:"portal-shared-files-folder",params:{folderId:t}}},getFolderItemsCount(t){let{files_count:e=0,folders_count:r=0}=t;return e+r}}},i=s,n=r(81656),d=(0,n.A)(i,o,a,!1,null,null,null),c=d.exports}}]); 2//# sourceMappingURL=view-portal-portalSharedFiles-PortalSharedFileFolder-vue.883cd9a3.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.