/home/ivoiecob/email.hirewise-va.com/static/js/FilesWebclient.app.b31aa90b5a5397626387.min.js
(self.webpackChunkafterlogic_aurora_platform=self.webpackChunkafterlogic_aurora_platform||[]).push([[6607],{"2KI4":(e,t,i)=>{"use strict";var o=i("a7T2");void 0===window.Enums&&(window.Enums={}),o.extendOwn(window.Enums,{FileStorageType:{Personal:"personal",Corporate:"corporate",Shared:"shared",GoogleDrive:"google",Dropbox:"dropbox",Encrypted:"encrypted",Trash:"trash",Favorites:"favorites"},FileStorageLinkType:{Unknown:0,GoogleDrive:1,Dropbox:2,YouTube:3,Vimeo:4,SoundCloud:5},SharedFileAccess:{NoAccess:0,Write:1,Read:2,Reshare:3},FilesSortField:{Filename:0,Size:1,Modified:2}})},FTUa:(e,t,i)=>{"use strict";e.exports=function(e){i("2KI4");var t=i("M4cL"),o=i("yU9o"),s=i("5D2l"),n=i("LKDt"),r=i("aSuo"),a=null,l=[],u=null,c=function(){if(!u){var e=i("v0iR");u=new e,o.isPublic()||(u.registerToolbarButtons(l),l=[])}return u};return r.init(e),!s.isModuleAvailable(r.ServerModuleName)||!o.isPublic()&&0===r.Storages.length?null:o.isPublic()?{getScreens:function(){var e={};return e[r.HashModuleName]=c,e}}:o.isUserNormalOrTenant()?o.isNewTab()?{getSelectFilesPopup:function(){return i("jkTn")}}:{start:function(e){(r.ShowCommonSettings||r.ShowFilesApps)&&e.run("SettingsWebclient","registerSettingsTab",[function(){return i("lfpz")},r.HashModuleName,n.i18n("FILESWEBCLIENT/LABEL_SETTINGS_TAB")]),o.broadcastEvent("RegisterNewItemElement",{title:n.i18n("FILESWEBCLIENT/ACTION_UPLOAD_FILES"),handler:function(){window.location.hash.startsWith("#"+r.HashModuleName)||(window.location.hash=r.HashModuleName);var e=c();function i(){var i=e.uploaderButton().find("input")[0];i&&(i.click(),setTimeout(function(){t(".tabsbar .new_button_panel")[0].click()},0))}if(e.isCreateAllowed())if(e.uploaderButton()&&e.uploaderButton().find("input").length)i();else var o=e.uploaderButton.subscribe(function(){setTimeout(function(){i(),o.dispose()},0)})},className:"item_files",order:1,column:2}),o.broadcastEvent("RegisterNewItemElement",{title:n.i18n("FILESWEBCLIENT/ACTION_NEW_FOLDER"),handler:function(){window.location.hash.startsWith("#"+r.HashModuleName)||(window.location.hash=r.HashModuleName);var e=c().createFolderCommand;e.canExecute()&&e()},className:"item_folder",order:5,column:2})},getScreens:function(){var e={};return e[r.HashModuleName]=c,e},getHeaderItem:function(){if(null===a){var e=i("cR1d"),t=""!==r.CustomTabTitle?r.CustomTabTitle:n.i18n("FILESWEBCLIENT/ACTION_SHOW_FILES");a=new e(t)}return{item:a,name:r.HashModuleName}},getSelectFilesPopup:function(){return i("jkTn")},getMobileSyncSettingsView:function(){return i("vV+s")},getFileConstructor:function(e){return i("8ri2")},addFileToCurrentFolder:function(e){u&&u.addFileToCurrentFolder(e)},refresh:function(){u&&u.refresh()},registerToolbarButtons:function(e){u?u.registerToolbarButtons([e]):l.push(e)}}:null}},cR1d:(e,t,i)=>{var o=i("p09A"),s=i("ioSH");function n(e){this.sName="",this.visible=o.observable(!0),this.baseHash=o.observable(""),this.hash=o.observable(""),this.linkText=o.observable(e),this.isCurrent=o.observable(!1),this.recivedAnim=o.observable(!1).extend({autoResetToFalse:500}),this.unseenCount=o.observable(0),this.allowChangeTitle=o.observable(!1),this.inactiveTitle=o.observable(""),this.excludedHashes=o.observableArray([])}n.prototype.ViewTemplate="CoreWebclient_HeaderItemView",n.prototype.setName=function(e){this.sName=e.toLowerCase(),""===this.baseHash()?(this.hash(s.buildHashFromArray([e.toLowerCase()])),this.baseHash(this.hash())):this.hash(this.baseHash())},e.exports=n},jkTn:(e,t,i)=>{"use strict";var o=i("a7T2"),s=i("69av"),n=i("v0iR");function r(){s.call(this),this.callbackHandler=function(){},this.filesView=new n(!0),this.filesView.onSelectClickPopupBound=o.bind(this.selectFiles,this)}o.extendOwn(r.prototype,s.prototype),r.prototype.PopupTemplate="FilesWebclient_SelectFilesPopup",r.prototype.onOpen=function(e){this.callbackHandler=o.isFunction(e)?e:function(){},this.filesView.onShow()},r.prototype.onBind=function(){this.filesView.onBind(this.$popupDom)},r.prototype.selectFiles=function(){var e=this.filesView.selector.listCheckedAndSelected().filter(function(e){return e.IS_FILE});this.callbackHandler(e),this.closePopup()},e.exports=new r},lfpz:(e,t,i)=>{"use strict";var o=i("a7T2"),s=i("5D2l"),n=i("3cxN"),r=s.run("SettingsWebclient","getAbstractSettingsFormViewClass"),a=i("aSuo");function l(){r.call(this,"FilesWebclient"),this.bShowFilesApps=a.ShowFilesApps,this.sAppPath=n.getAppPath()}o.extendOwn(l.prototype,r.prototype),l.prototype.ViewTemplate="FilesWebclient_FilesSettingsFormView",e.exports=new l},"vV+s":(e,t,i)=>{"use strict";var o=i("p09A"),s=i("yU9o"),n=i("KIwC");function r(){this.davServer=o.observable(""),this.credentialsHintText=s.mobileCredentialsHintText,this.bDemo=n.IsDemo}r.prototype.ViewTemplate="FilesWebclient_MobileSyncSettingsView",r.prototype.populate=function(e){this.davServer(e.Server)},e.exports=new r}}]);