Edit C:\Users\Administrator\AppData\Roaming\kingsoft\wps\addons\pool\win-i386\knewfile_1.0.0.54\5.js
webpackJsonp([5],{250:function(e,t,i){function o(e){i(436)}var a=i(2)(i(367),i(480),o,"data-v-4be1f4a9",null);e.exports=a.exports},267:function(e,t,i){function o(e){i(270)}var a=i(2)(i(268),i(271),o,"data-v-055126de",null);e.exports=a.exports},268:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(9);i.n(o);t.default={name:"error",data:function(){return{ERROR:o.ERROR}}}},269:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,".error[data-v-055126de]{min-height:500px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.tips[data-v-055126de]{font-size:12px;color:#888;letter-spacing:-.07px;margin-top:20px}.icon-container[data-v-055126de]{padding-left:24px}",""])},270:function(e,t,i){var o=i(269);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("0c9822f6",o,!0,{})},271:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"error"},[e._m(0),e._v(" "),i("div",{staticClass:"tips"},[e._v(e._s(e.ERROR.NETWORK_ERROR_TIPS))])])},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"icon-container"},[i("span",{staticClass:"icon icon-network-error"})])}]}},272:function(e,t,i){"use strict";var o=i(18),a=i.n(o),s=i(22),n=i.n(s),r=i(7),d=i.n(r),l=i(6),c=i.n(l),u=i(4),p=i(15),f=i(273),h=i(5),m=i(3),b=i(92),g=i(0);t.a={methods:c()({},i.i(u.b)(["setToastMessage","addToMyFolder","retrieveUserFoldersById","setShowFolderOperate","pushAddedIds","setNewDot","getMyTempList","addFolderNewIcon","setFolderNewIcon","removeFromMyFolder","setCurrentFoldeItem","favIdsAdd","commitJobInfo","editFolderThumbnail"]),{getWorkflowId:function(e,t){return new d.a(function(i,o){p.a.get("folder").getWorkflowId({data:{job_id:e,workflow_name:t}}).then(function(e){"ok"===e.result&&i(e.data)}).catch(function(e){})})},createFolder:function(e,t,i,o,a,s,n){return new d.a(function(r,d){p.a.get("folder").addFolder({data:{job_id:e,workflow_id:t,config_id:i,folder_name:o,folder_cover:a,folder_desc:s,local:!!n}}).then(function(e){"ok"===e.result&&r(e.data)}).catch(function(e){})})},addDocerTemp:function(e,t,i){var o=this;return new d.a(function(a,s){p.a.get("folder").addTempToFolder({data:{local:!1,folder_id:e,mb_app:o.appType||1,moban_id:t}}).then(function(e){if(i){var t="ok"===e.result&&e.data;o.setToastMessage({message:t?i.ok:i.fail,status:t?"success":"error",show:t})}a()}).catch(function(e){})})},addLocalToFolder:function(e){var t=this;if(!this.hasLogin)return void h.a.qingLogin();if(this.isGeneral)return this.currentFolderItem&&this.currentFolderItem.job&&"common"!==this.currentFolderItem.job&&this.showGuideDialog(),new d.a(function(e,t){});e.message=n()({ok:"??????",fail:"??????"},e.message),void 0===e.workflow_name&&(e.workflow_name=this.currentFolderItem.workflowName),void 0===e.folder_name&&(e.folder_name=this.currentFolderItem.name),void 0===e.folder_dec&&(e.folder_dec=this.currentFolderItem.folder_dec),void 0===e.user_job_id&&(e.user_job_id=!1);var i=(e.user_job_id||this.userJobs.list[0]||{}).id;return new d.a(function(o,a){t.getWorkflowId(i,e.workflow_name).then(function(o){t.createFolder(i,o,e.config_id,e.folder_name,e.thumb_medium_url,e.folder_dec).then(function(i){t._addLocalFolder(i,e.localFilePathNameList,e.config_id,e.thumbnail_url,e.listFirstThumb)}).catch(function(e){})}).catch(function(e){})})},_addLocalFolder:function(e,t,o,a,s){var n=this,r=!!s;f.a.createUpload({isUploadList:!0,list:t,prev:function(e){},start:function(e){},success:function(t){if(t.ksyunKey){var s=i.i(m.n)(t.fileName||" ");p.a.get("folder").addTempToFolder({data:{folder_id:e,mb_app:g.d[s.replace(/.*?\./g,"")],local:!0,name:s,moban_id:t.ksyunKey,key:t.ksyunKey,thumb_small_key:t.thumbnails[2],thumb_medium_key:t.thumbnails[1],thumb_big_key:t.thumbnails[0],config_id:o}}).then(function(i){n.setToastMessage({message:"?????????",status:"success",show:!0}),!r&&a&&(r=!0,n.editFolderThumbnail({folder_id:e,folder_cover:t.thumbnails[0]}))}).catch(function(e){})}},error:function(e){n.setToastMessage({message:"?????????",status:"success",show:!0})},over:function(){}})},showGuideDialog:function(){throw new Error("showGuideDialog is not defined")},addDocerToFolder:function(e){var t=this;if(!this.hasLogin)return void h.a.qingLogin();if(this.isGeneral)return this.currentFolderItem&&this.currentFolderItem.job&&"common"!==this.currentFolderItem.job&&this.showGuideDialog(),new d.a(function(e,t){});e.message=n()({ok:"??????",fail:"??????"},e.message),void 0===e.workflow_name&&(e.workflow_name=this.currentFolderItem.workflowName),void 0===e.folder_name&&(e.folder_name=this.currentFolderItem.name),void 0===e.folder_dec&&(e.folder_dec=this.currentFolderItem.folder_dec),void 0===e.user_job_id&&(e.user_job_id=!1);var i=(e.user_job_id||this.userJobs.list[0]||{}).id;return new d.a(function(o,a){t.getWorkflowId(i,e.workflow_name).then(function(a){t.createFolder(i,a,e.config_id,e.folder_name,e.thumb_medium_url,e.folder_dec).then(function(a){t.addDocerTemp(a,e.docer_temp_ids,e.message).then(function(){e.is_edit_thumb&&t.editFolderThumbnail({folder_id:a,folder_cover:e.thumb_medium_url}),t.addFolderNewIcon(a),t.setFolderNewIcon({userId:t.userInfo.userid,hasNewList:t.folderHasNewList}),t.retrieveUserFoldersById(i),e.is_goto_index&&t.$router.back(),o()}).catch(function(e){})}).catch(function(e){})}).catch(function(e){})})},delTempFromMyFolder:function(e,t){var i=this;return new d.a(function(o,a){p.a.get("folder").deleteTemp({data:{folder_id:e,moban_id:t}}).then(function(e){var t="ok"===e.result&&e.data;i.setToastMessage({message:t?"??????":"??????",status:t?"success":"error",show:t}),t&&o(!0)}).catch(function(e){})})},delMyFolder:function(e){var t=this;return new d.a(function(i,o){p.a.get("folder").deleteFolder({data:{folder_id:e}}).then(function(o){var a="ok"===o.result&&o.data;t.setToastMessage({message:a?"??????":"??????",status:a?"success":"error",show:a}),i(),t.removeFromMyFolder(e),"/preview"===t.$route.path&&t.$router.back()}).catch(function(e){t.setToastMessage({message:"??????",status:"error",show:!0})})})},updateFolderName:function(e,t){var i=this;p.a.get("folder").editFolderName({data:{folder_id:e.id,folder_name:t}}).then(function(o){var s="ok"===o.result&&o.data;i.setToastMessage({message:s?"??????":"??????",status:s?"success":"error",show:s}),i.setShowFolderOperate(!1);var r=n()(JSON.parse(a()(e)),{name:t});i.setCurrentFoldeItem(r)}).catch(function(e){i.setToastMessage({message:"??????",status:"error",show:!0}),i.setShowFolderOperate(!1)})},addTempToMyFav:function(e,t){var i=this,o=new d.a(function(o,a){p.a.get("myFav").addTmep({data:{mb_id:e}}).then(function(a){var s="ok"===a.result;t||i.setToastMessage({message:s?"??????????????????????":"??????",status:s?"success":"error",show:s}),s&&(i.addFolderNewIcon(0),i.setFolderNewIcon({userId:i.userInfo.userid,hasNewList:i.folderHasNewList}),i.favIdsAdd(+e)),o()}).catch(function(e){a(e)})});return b.a.sendPrettify({app:this.appClass,mid:e,op:"collect"},this.userInfo.userid),o},addTemplateToFolder_pack:function(e){var t=this;if(!this.hasLogin)return void h.a.qingLogin();if("docerFolderCreating"===this.currentFolderItem.type&&!this.isGeneral){var i=(this.userJobs.list||[]).map(function(e){return e.name});this.currentFolderItem.job=this.currentFolderItem.job||this.currentFolderItem._job,~i.indexOf(this.currentFolderItem.job)||"???????"!==this.currentFolderItem.job&&this.commitJobInfo(this.currentFolderItem.job)}new d.a(function(i,o){if(e.isSearchFromIndex||t.isGeneral)t.addTempToMyFav(e.templateId).then(function(){t.isFromDocerTab&&t.setNewDot({hasNew:!0,userId:t.userInfo.userid})}).catch(function(e){});else if(e.isDocerInMyFolder||e.isSearch){var a={ok:"??????",fail:"??????"};t.addDocerTemp(e.folderId,e.templateId,a).then(function(i){t.getMyTempList({folderId:e.folderId}).then(function(i){t.myTempList.length&&t.editFolderThumbnail({folder_id:e.folderId,folder_cover:t.myTempList[0].thumb_big_url})}),t.pushAddedIds(e.templateId)})}else e.isLocal?t.addLocalToFolder({localFilePathNameList:e.filePath,config_id:e.config_id,listFirstThumb:e.isEditThumb,thumbnail_url:e.folderThumb}):t.addDocerToFolder({count:1,docer_temp_ids:e.templateId,message:{ok:"????????????????????????",fail:"??????"},config_id:e.config_id,is_edit_thumb:!!e.folderThumb,thumb_medium_url:e.folderThumb?e.folderThumb:""}).then(function(){t.isFromDocerTab&&t.setNewDot({hasNew:!0,userId:t.userInfo.userid}),t.pushAddedIds(e.templateId)}).catch(function(){});if(e.isSearchFromIndex||t.isGeneral)return t.currentFolderItem&&t.currentFolderItem.job&&"common"!==t.currentFolderItem.job&&t.showGuideDialog(),new d.a(function(e,t){})}).then().catch(function(e){e.result&&"NETWORK_ERROR"===e.result.error_code&&t.setToastMessage({message:"???????????????",status:"error",show:!0})})}}),computed:c()({},i.i(u.a)(["isDocerVip","appClass","hasLogin","appType","currentFolderItem","userJobs","isGeneral","userInfo","isFromDocerTab","folderHasNewList","myTempList"]))}},273:function(e,t,i){"use strict";var o=i(22),a=i.n(o),s=i(5),n=i(23),r={},d=function(){return(Math.random()+"").replace("0.","_uploadFile_")+(new Date).getTime()},l=function(e){var t=d();if(r[t]=a()({id:t,list:[],isUploadList:!1,isPrevPromise:!1,prev:function(e){},start:function(e){},success:function(e){},error:function(e){},over:function(){},cancelFolderUpload:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};r[this.id]&&(s.a.cancelCreateFolder(this.id),e())},cancelUploadFile:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};r[this.id]&&r[this.id].list&&-1!==r[this.id].list.indexOf(e)&&(s.a.cancelUploadFile(this.id,e),t())},retryUploadFile:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};r[this.id]&&r[this.id].list&&-1!==r[this.id].list.indexOf(e)&&(s.a.retryUploadFile(this.id,e),t())}},e),r[t].isUploadList){var i=r[t].list;"string"==typeof i&&(r[t].list=[i]),s.a.createFolderFromLocalFiles(t,r[t].list)}else s.a.createFolderFromLocalFiles(t);return window.fileUploadFailed[t]};s.a.setWindowCallBack("prepareUploadFiles",function(e){e=JSON.parse(n.a.decode(e)),e.result&&r[e.result.folderId]&&(r[e.result.folderId].list=e.result.fileList||[],r[e.result.folderId].prev(e.result))}),s.a.setWindowCallBack("fileUploadStarting",function(e){e=JSON.parse(n.a.decode(e)),e.result&&r[e.result.folderId]&&r[e.result.folderId].start(e.result)}),s.a.setWindowCallBack("fileUploadSuccessed",function(e){e=JSON.parse(n.a.decode(e)),e.result&&r[e.result.folderId]&&r[e.result.folderId].success(e.result)}),s.a.setWindowCallBack("fileUploadFailed",function(e){e=JSON.parse(n.a.decode(e)),e.result&&r[e.result.folderId]&&r[e.result.folderId].error(e.result)}),s.a.setWindowCallBack("uploadFinished",function(e){e=JSON.parse(n.a.decode(e)),e.result&&r[e.result.folderId]&&(r[e.result.folderId].over(e.result.folderId),delete r[e.result.folderId])}),t.a={createUpload:l}},274:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"loading"}},275:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,".loading[data-v-7b858985]{min-height:400px}.loader[data-v-7b858985],.loading[data-v-7b858985]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.loader[data-v-7b858985]{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:0;-webkit-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex-grow:1;flex-grow:1;-webkit-flex-shrink:0;flex-shrink:0;width:250px;height:200px;-webkit-flex-basis:25%;flex-basis:25%}.ball-zig-zag[data-v-7b858985]{position:relative;-webkit-transform:translate(-15px,-15px);transform:translate(-15px,-15px)}.ball-zig-zag>div[data-v-7b858985]:first-child{-webkit-animation:ball-zig .7s 0s infinite linear;animation:ball-zig .7s 0s infinite linear}.ball-zig-zag>div[data-v-7b858985]{background-color:#4a94f8;width:15px;height:15px;-webkit-border-radius:100%;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;position:absolute;margin-left:15px;top:4px;left:-7px}.ball-zig-zag>div[data-v-7b858985]:last-child{-webkit-animation:ball-zag .7s 0s infinite linear;animation:ball-zag .7s 0s infinite linear}",""])},276:function(e,t,i){var o=i(275);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("17a199be",o,!0,{})},277:function(e,t,i){function o(e){i(276)}var a=i(2)(i(274),i(278),o,"data-v-7b858985",null);e.exports=a.exports},278:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},staticRenderFns:[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"loading"},[i("div",{staticClass:"loader"},[i("div",{staticClass:"loader-inner ball-zig-zag"},[i("div"),e._v(" "),i("div")])])])}]}},281:function(e,t,i){"use strict";var o=i(6),a=i.n(o),s=i(4);t.a={methods:a()({},i.i(s.b)(["startDownload"]),{download:function(e){return this.startDownload(e)}})}},282:function(e,t,i){"use strict";var o=i(6),a=i.n(o),s=i(4);t.a={props:{item:{type:Object}},computed:a()({},i.i(s.a)(["isDocerVip"]),{currentTpl:function(){return this.item||this.basicData},discount:function(){return this.currentTpl.discount},originalPrice:function(){return+this.currentTpl.price||0},price:function(){var e=this.originalPrice;return this.discount>=0&&this.discount<=1&&(e=Math.round(this.discount*e)),this.discount>1&&(e=+this.discount),e},finalPrice:function(){return this.isDocerVip?this.vipPrice:this.price},showDiscount:function(){return this.originalPrice!==this.finalPrice||this.isVipDiscount},vipPrice:function(){return Math.min(this.vipDiscountPrice,this.price)},vipDiscountPrice:function(){var e=+this.originalPrice||0;return 1==+this.currentTpl.is_had_discount?0:Math.round(.8*e)},isVipTpl:function(){return!this.isFreeTpl&&1===this.currentTpl.is_had_discount},isVipDiscount:function(){return!this.isFreeTpl&&1!==this.currentTpl.is_had_discount},isFreeTpl:function(){return 3!=+this.currentTpl.moban_type}})}},305:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(6),a=i.n(o),s=i(4);t.default={name:"",props:{title:{type:String,default:function(){return""}},alertMessage:{type:String,default:function(){return""}},confirmEvent:{type:Function,default:function(){}},cancelEvent:{type:Function,default:function(){}},confirmStyle:{type:String,default:function(){return"default"}},confirmText:{type:String,default:function(){return"???"}},cancelText:{type:String,default:function(){return"???"}},closeFunction:{type:Function}},data:function(){return{}},methods:a()({},i.i(s.b)(["setShowConfirm"]),{close:function(){if("function"==typeof this.closeFunction)return this.closeFunction();this.setShowConfirm(!1),this.cancelEvent()},confirm:function(){this.confirmEvent()}}),computed:a()({},i.i(s.a)([])),components:{}}},312:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,'.toast-box[data-v-44f5e0c7]{position:fixed;top:0;left:0;background-color:rgba(0,0,0,.3);z-index:10;width:100%;height:100%}.mark[data-v-44f5e0c7]{width:100%;height:100%;position:absolute;z-index:4}.toast-context[data-v-44f5e0c7]{width:360px;height:192px;position:relative;top:50%;margin-top:-114px;left:50%;margin-left:-180px;z-index:5;-webkit-box-sizing:border-box;box-sizing:border-box}.toast-title[data-v-44f5e0c7]{font-size:18px;color:#1f1f1f;letter-spacing:.3px}.toast-comfirm[data-v-44f5e0c7]{padding:30px 28px 20px;text-align:center;background-color:#fff;box-shaconfirmw:0 0 10px 0 rgba(0,0,0,.27);-webkit-border-radius:4px;border-radius:4px}.toast-alert-message[data-v-44f5e0c7]{font-size:14px;color:#222226;padding:24px 12px 0}.icon-close[data-v-44f5e0c7]{position:absolute;top:10px;right:10px;z-index:11}.icon-close[data-v-44f5e0c7]:hover{cursor:pointer}.toast-btn[data-v-44f5e0c7]{width:100%;height:32px;text-align:center;margin-top:30px}.toast-btn .cancel[data-v-44f5e0c7],.toast-btn .confirm[data-v-44f5e0c7]{display:inline-block;width:120px;height:32px;line-height:32px;font-size:14px;-webkit-border-radius:4px;border-radius:4px;border:1px solid #dbdbdb;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;cursor:pointer;overflow:hidden}.toast-btn .cancel[data-v-44f5e0c7]:after,.toast-btn .confirm[data-v-44f5e0c7]:after{content:"";position:absolute;left:0;top:0;display:block;height:100%;width:100%}.toast-btn .cancel[data-v-44f5e0c7]:hover:after,.toast-btn .confirm[data-v-44f5e0c7]:hover:after{background-color:rgba(0,0,0,.05)}.toast-btn .cancel[data-v-44f5e0c7]:hover:active,.toast-btn .confirm[data-v-44f5e0c7]:hover:active{background-color:rgba(0,0,0,.15)}.toast-btn .confirm[data-v-44f5e0c7]{background-color:#5597fc;color:#fff;margin-right:10px;border:0 none}.toast-btn .cancel[data-v-44f5e0c7]{color:#222226}.toast-btn .delete[data-v-44f5e0c7]{background-color:#eb5350}',""])},327:function(e,t,i){var o=i(312);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("46d87898",o,!0,{})},348:function(e,t,i){function o(e){i(327)}var a=i(2)(i(305),i(354),o,"data-v-44f5e0c7",null);e.exports=a.exports},354:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"toast-box"},[i("div",{staticClass:"mark",on:{click:function(t){e.close()}}}),e._v(" "),i("div",{staticClass:"toast-context"},[i("span",{staticClass:"icon icon-close",attrs:{title:"???"},on:{click:function(t){e.close()}}}),e._v(" "),i("div",{staticClass:"toast-comfirm"},[i("span",{staticClass:"toast-title"},[e._v(e._s(e.title))]),e._v(" "),i("p",{staticClass:"toast-alert-message"},[e._v(e._s(e.alertMessage))]),e._v(" "),i("div",{staticClass:"toast-btn"},[i("span",{staticClass:"confirm",class:e.confirmStyle,on:{click:function(t){e.confirm()}}},[e._v(e._s(e.confirmText))]),e._v(" "),i("span",{staticClass:"cancel",on:{click:function(t){e.close()}}},[e._v(e._s(e.cancelText))])])])])])},staticRenderFns:[]}},367:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(6),a=i.n(o),s=i(450),n=i.n(s),r=i(451),d=i.n(r),l=i(4),c=i(0),u=i(277),p=i.n(u),f=i(448),h=i.n(f),m=i(267),b=i.n(m),g=i(30),v=i(3),w=i(93),_=i.n(w);t.default={name:"new-preview",props:{itemList:{type:Array,default:function(){return[]}}},mounted:function(){var e=this;window._ESC_HOOKS.push({method:this.closePreview,key:"preview"}),this.checkHasBought({mb_id:this.currentItem.id,doc_type:3}),this.initData(),this.$nextTick(function(){e.onScroll()()})},beforeDestroy:function(){i.i(v.k)("preview")},data:function(){return{STATUS:c.c,scrollingHandler:null}},methods:a()({},i.i(l.b)(["togglePreview","retrievePreviewData","setPreviewIndex","retrieveUMayLikeData","retrieveDocerVipTimes","checkHasBought","addIdtoPurchasesList"]),{gotoNext:function(){this.previewData.index>=this.previewData.list.length-1||this.setPreviewIndex(this.previewData.index+1)},gotoLast:function(){this.previewData.index&&this.setPreviewIndex(this.previewData.index-1)},closePreview:function(){this.togglePreview(!1)},initData:function(){this.retrievePreviewData(this.currentItem.id),this.retrieveUMayLikeData({id:this.currentItem.id,mb_app:this.currentItem.moban_app}),this.checkHasBought({mb_id:this.currentItem.id,doc_type:3})},noop:function(){},onScroll:function(){var e=this;return this.scrollingHandler||(this.scrollingHandler=i.i(v.d)(function(){i.i(v.m)(e.$refs.uMayLike,1)&&i.i(g.c)(c.b.YOU_MAY_LIKE_SHOWN)},500)),this.scrollingHandler}}),computed:a()({},i.i(l.a)(["previewThumbList","previewData","hasBought","addedIds","purchasesIds","favIds","hasLogin","showAppTitleBar"]),{shouldShowGotoNext:function(){return this.previewData.index<this.previewData.list.length-1},shouldShowGotoLast:function(){return!!this.previewData.index},imgList:function(){return this.previewThumbList.status===c.c.SUCCESS&&this.previewThumbList.data&&this.previewThumbList.data.page_data&&this.previewThumbList.data.page_data.urls&&this.previewThumbList.data.page_data.urls.length>0?this.previewThumbList.data.page_data.urls:[]},authorAvatar:function(){if(this.previewThumbList.data&&this.previewThumbList.data.basic_data)return"url("+this.previewThumbList.data.basic_data.c_avatar+")"},currentItem:function(){return this.previewData.list[this.previewData.index]},getAppClass:function(){return["wps","wps","et","wpp"][this.currentItem.moban_app]},hasAdded:function(){return!(!~this.addedIds.indexOf(+this.currentItem.id)&&!~this.favIds.indexOf(+this.currentItem.id))},isKsyunFile:function(){return!1},info:function(){return{isRecommendations:this.previewData.isRecommendations,p:this.previewData.p,csource:this.previewData.csource,position:this.previewData.position,isLocalList:this.previewData.isLocalList,sourcePage:this.previewData.sourcePage,pTag:this.previewData.pTag,index:this.previewData.index+1}},getMaskstyls:function(){return this.showAppTitleBar?{}:{top:"0px"}},getCloseButtonStyls:function(){return this.showAppTitleBar?{}:{top:"28px"}}}),watch:{"previewData.index":function(){this.initData()},"previewData.list":function(){this.initData()},hasLogin:function(e){this.closePreview()}},components:{YouMayLike:n.a,Loading:p.a,PreviewFooter:h.a,Error:b.a,YouMayLikeRightPanel:d.a,VueScrollbar:_.a}}},369:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(13),a=i.n(o),s=i(17),n=i.n(s),r=i(22),d=i.n(r),l=i(6),c=i.n(l),u=i(4),p=i(9),f=(i.n(p),i(5)),h=i(97),m=i(91),b=i(281),g=i(94),v=i(282),w=i(12),_=i(272),x=i(348),y=i.n(x),k=i(30),I=i(0),F={docer_doc_add:"guess_like_add",docer_doc_buy:"guess_like_buy",docer_doc_recharge:"guess_like_recharge",docer_doc_use:"guess_like_use",buy:"guess_like_buy",recharge_member:"guess_like_recharge",use:"guess_like_use",preview_add:"guess_like_add"};t.default={name:"preview-footer",mixins:[m.a,b.a,v.a,w.a,_.a,g.a],props:{currentItem:{type:Object},previewData:{type:Object},hasBought:{type:Boolean},hasAdded:{type:Boolean},purchasesIds:{type:Array},retrieveDocerVipTimes:{type:Function},status:{type:Number},info:{type:Object}},data:function(){return{PREVIEW:p.PREVIEW,showConfirm:!1,hasShown:!1}},mounted:function(){this.collectDisplay(),this.setDownloadInfo("download_success"),i.i(h.c)(this.downloadCallback),i.i(k.a)(I.b.YOU_MAY_LIKE_SHOWN,this.collectYouMayLike)},beforeDestroy:function(){i.i(h.d)(this.downloadCallback),i.i(k.b)(I.b.YOU_MAY_LIKE_SHOWN,this.collectYouMayLike)},methods:c()({},i.i(u.b)(["delFromMyTempList","delAddedIds","commitJobInfo","addIdtoPurchasesList","togglePreview","getMyTempList","editFolderThumbnail","setCollectionInfo"]),{collectYouMayLike:function(){this.hasShown||(this.hasShown=!0,this.consolidateSendInfo("docer_doc_previewend_display",this.isFreeTpl?"free":"pay",this.isYouMayLike?"guess":"docer",this.isSingleFile?this.currentItem.id:void 0))},checkLogin:function(e){if(!this.hasLogin)return void f.a.qingLogin();e()},tryDownload:function(){var e=this,t=this.currentItem,i=this.hasBought;this.checkLogin(function(){return e.addTag(),i||~e.purchasesIds.indexOf(+t.id)?e._startDownload(t,i):0!==e.finalPrice?(e.buyItem(d()({},t,{sub_chanel:e.getSubChannel,chanel:e.getChannel,member_postion:e.getPosition})),e.sendByType("docer_doc_buy"),void e.sendFilter({app:e.appClass,mid:e.currentItem.id,op:"buy"})):0===e.price?e._startDownload(t):void e.retrieveDocerVipTimes(function(i){i>0?e._startDownload(t):(e.buyItem(d()({},t,{sub_chanel:e.getSubChannel,chanel:e.getChannel,member_postion:e.getPosition})),e.sendByType("docer_doc_buy"),e.sendFilter({app:e.appClass,mid:e.currentItem.id,op:"buy"}))})})},_startDownload:function(e,t){var i=window.external&&window.external.appInfo||{};this.download({from:"beauty",position:this.getPosition||"newfile_preview_v3",channel:this.getChannel||"newfile",sub_channel:this.hasBought||t?"":this.getSubChannel,guid:i.guid,hdid:i.hdid,dist:i.dist||0,version:i.version||0,id:e.id,name:e.name,class:this.appClass,img_url:e.thumb_big_url,uuid:i.uuid,sn:this.hasBought||t?"":this.isDocerVip?"privilege":"",client_type:"newdoc"}),this.isSingleFile?this.consolidateSendInfo("docer_doc_use",this.isFreeTpl?"free":"pay",void 0,this.currentItem.id):this.consolidateSendInfo("docer_doc_use"),this.consolidateSendInfo("download_display"),this.isMyAccouts||(this.setNewDot({hasNew:!0,userId:this.userInfo.userid}),this.addFolderNewIcon(0),this.setFolderNewIcon({userId:this.userInfo.userid,hasNewList:this.folderHasNewList})),this.sendFilter({app:this.appClass,mid:this.currentItem.id,op:"apply"})},upgradeVip:function(){this.buyVIP({position:this.getPosition,csource:this.getCsource}),this.sendByType("docer_doc_recharge")},confirmDelete:function(){var e=this;this.delTempFromMyFolder(this.currentFolderItem.id,this.currentItem.id).then(function(t){t&&(e.delFromMyTempList(e.currentItem.id),e.delAddedIds(e.currentItem.id),e.hideConfirm(),e.getMyTempList({folderId:e.currentFolderItem.id,limit:60,offset:0}).then(function(t){e.myTempList.length&&e.editFolderThumbnail({folder_id:e.currentFolderItem.id,folder_cover:e.myTempList[0].thumb_big_url})}),e.togglePreview(!1))})},hideConfirm:function(){this.showConfirm=!1},toggleMyTpl:function(){return this.hasLogin?this.hasAdded?(this.consolidateSendInfo("preview_delete"),this.showConfirm=!0):(this.addTemplateToFolder_pack({isSearchFromIndex:this.isSearchFromIndex||this.info.isLocalList||this.isYouMayLikeToFav,isDocerInMyFolder:this.isDocerInMyFolder||this.isSearchInMyFolder_MayLike,isSearch:this.isFromMyFolderInSearch,templateId:this.currentItem.id,folderId:this.currentFolderItem.id,config_id:this.currentFolderItem.config_id,isLocal:!1,filePath:[""],folderThumb:this.currentItem.thumb_big_url}),void this.sendByType("docer_doc_add")):f.a.qingLogin()},downloadCallback:function(e){var t=e.mbid;"finish"===e.paystatus&&(this._startDownload(this.currentItem,!0),this.addIdtoPurchasesList(t))},consolidateSendInfo:function(e,t,i,o){e=this.getActionMapping(e),this.info.isRecommendations&&(e=F[e]||e);var s=n()(this.info.p).length+3,r=this.info.pTag||"p"+s,l=a()({},r,e);t&&(l["p"+(s+1)]=t),i&&(l["p"+(s+2)]=i),o&&(l["p"+(s+3)]=o),this.sendCollect(d()({},this.info.p,l))},setDownloadInfo:function(e){var t=n()(this.info.p).length+3,i=this.info.pTag||"p"+t;e=this.getActionMapping(e);var o=d()({},this.info.p,a()({},i,e));t=n()(o).length+3,this.setCollectionInfo(d()(o,a()({},"p"+t,this.isFreeTpl?"free":"pay"),this.isSingleFile?{p7:this.currentItem.id}:{}))},getActionMapping:function(e){var t={docer_doc_add:"preview_add",docer_doc_buy:"buy",docer_doc_recharge:"recharge_member",docer_doc_use:"use",docer_doc_preview_display:"preview_display",docer_doc_previewend_display:"previewend_display"};return this.isSingleFile||(e=t[e]||e),e},addTag:function(){if("docerFolderCreating"===this.currentFolderItem.type){~(this.userJobs.list||[]).map(function(e){return e.name}).indexOf(this.currentFolderItem.job)||this.commitJobInfo(this.currentFolderItem.job)}},roundPrice:function(e){return(Math.round(e)/100).toFixed(2)},collectDisplay:function(){this.consolidateSendInfo("docer_doc_preview_display",this.isFreeTpl?"free":"pay",this.isYouMayLike?"guess":"docer",this.isSingleFile?this.currentItem.id:void 0)},sendByType:function(e){this.isSingleFile?this.consolidateSendInfo(e,void 0,void 0,this.currentItem.id):this.consolidateSendInfo(e)}}),computed:c()({},i.i(u.a)(["currentFolderItem","selectedFirstLabel","selectedSecondLabel","csourceMapping","searchRecommendHotTab","userJobs","hasLogin","recentFiles"]),{basicData:function(){return d()({},this.currentItem,this.previewData.basic_data)},vipLabel:function(){return this.isVipTpl?p.PREVIEW.DOCER_VIP_FREE:p.PREVIEW.DOCER_VIP_DISCOUNT},tplLabel:function(){return this.hasAdded&&this.hasLogin?p.PREVIEW.DELETE_THIS_TEMPLATE:p.PREVIEW.ADD_TO_MY_TEMPLATE},originPriceLabel:function(){return 0===this.originalPrice?p.PREVIEW.FREE:p.PREVIEW.PRICE+"??"+this.roundPrice(this.originalPrice)},isSearchFromIndex:function(){return"index"===this.$route.query.source},isSearchFromClient:function(){return"client"===this.$route.query.source},isDocerInMyFolder:function(){return this.isMyFolder&&"myfolder_docer_list"===this.currentItem.sourcePage},isInDefaultFolder:function(){return~["myaccounts_fav","myaccounts_recent","myaccounts_buy"].indexOf(this.currentItem.sourcePage)},isMyFolder:function(){return"myFolder"===this.currentFolderItem.type&&"searchResult"!==this.$route.name},isSearchInMyFolder_MayLike:function(){return"may_you_like"===this.info.sourcePage&&this.isMyFolder},isYouMayLike:function(){return"may_you_like"===this.info.sourcePage},isMyAccouts:function(){return"myAccounts"===this.currentFolderItem.type&&"/"!==this.$route.path},isFromMyFolderInSearch:function(){return"myFolder"===this.currentFolderItem.type&&"searchResult"===this.$route.name},isInSearchPage:function(){return"searchResult"===this.$route.name},getPositionOfSearchPage:function(){return this.searchRecommendHotTab?"newfile_mydoc_search":this.isSearchFromIndex||this.isSearchFromClient?"newfile_index_search":this.isFromMyFolderInSearch?"newfile_mydoc_search":void 0},isYouMayLikeToFav:function(){return!this.isDocerFolder&&"myFolder"!==this.currentFolderItem.type},isDocerFolder:function(){return"docerFolderCreating"===this.currentFolderItem.type},showAddButton:function(){return(!this.isDocerFolder&&!this.info.isLocalList&&"/searchResult"!==this.$route.path||!this.hasAdded)&&!this.isInDefaultFolder&&(!this.isMyAccouts||this.isYouMayLike&&!this.hasAdded)},showHasAdded:function(){return!this.showAddButton&&this.hasAdded&&"myaccounts_fav"!==this.currentItem.sourcePage},getPosition:function(){return this.isInSearchPage?this.searchRecommendHotTab?this.getPositionOfSearchPage+"_"+this.getCsourceByTag+"_"+this.currentItem.id+"_"+this.searchRecommendHotTab:this.getPositionOfSearchPage+"_"+this.getCsourceByTag+"_"+this.currentItem.id:(this.info.position||this.currentFolderItem.fromPage)+"_"+this.getCsourceByTag+"_"+this.getTagPosition+"_"+this.currentItem.id},isSingleFile:function(){return!!this.info.isLocalList},getCsource:function(){return this.info.csource||this.appClass+"_newfile_preview_word"},getDiscountLabel:function(){return this.vipDiscountPrice>this.price?p.PREVIEW.SALE:this.isVipDiscount?p.PREVIEW.VIP_DISCOUNT:p.PREVIEW.DISCOUNT},getPurchaseStatus:function(){return this.hasBought||~this.purchasesIds.indexOf(+this.currentItem.id)},getOriginalPrice:function(){return this.originalPrice},getFinalPrice:function(){return this.isVipDiscount?this.vipPrice:this.finalPrice},getChannel:function(){return this.info.isRecommendations?"newfile_guess":this.isSingleFile?"newfile_often":this.searchRecommendHotTab?"newfile_mydoc_search_tags"+this.searchRecommendHotTab:this.isMyFolder?"newfile_mydoc":this.isSearchFromIndex||this.isSearchFromClient?"newfile_index_search":this.isFromMyFolderInSearch?"newfile_mydoc_search":"newfile_subject0"===this.currentFolderItem.fromPage?"newfile_subject_index":"newfile_subject1"===this.currentFolderItem.fromPage?"newfile_subject_more":"newfile_workflow0"===this.currentFolderItem.fromPage?"newfile_workflow":"newfile_workflow1"===this.currentFolderItem.fromPage?"newfile_workflow_more":"newfile_workflow"},getSubChannel:function(){return this.info.isRecommendations?this.appClass+"_newfile_guess_"+this.info.index:this.isSingleFile?this.appClass+"_newfile_often_"+(this.info.index+this.recentFiles.list.length):this.isInSearchPage?this.appClass+"_newfile_search_"+this.getCsourceByTag:this.isMyFolder?this.appClass+"_newfile_mydoc_"+this.getCsourceByTag:/newfile_subject|newfile_workflow|newfile_own/.test(this.currentFolderItem.fromPage)?this.appClass+"_newfile_"+this.getCsourceByTag+"_"+this.getTagPosition+"_"+this.currentFolderItem.config_id+"_"+this.currentFolderItem.position:this.appClass+"_newfile_preview_word"}}),watch:{currentItem:function(){this.hasShown=!1,this.collectDisplay()}},components:{Confirm:y.a}}},372:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(13),a=i.n(o),s=i(17),n=i.n(s),r=i(22),d=i.n(r),l=i(6),c=i.n(l),u=i(4),p=i(9),f=(i.n(p),i(12));t.default={name:"you-may-like",mixins:[f.a],props:{},data:function(){return{PREVIEW:p.PREVIEW}},methods:c()({},i.i(u.b)(["setPreviewData","togglePreview"]),{preview:function(e,t){var i;this.setPreviewData(d()({},this.previewData,{list:e,index:t,sourcePage:"may_you_like",isRecommendations:!0,position:"newfile_guess"}));var o=n()(this.previewData.p).length+3,s=this.previewData.pTag||"p"+o;this.sendCollect(d()({},this.previewData.p,(i={},a()(i,s,"guess_like_click"),a()(i,"p"+(o+1),"bottom"),i)))}}),computed:c()({},i.i(u.a)(["uMayLikeList","previewData"]),{getList:function(){return this.uMayLikeList.list.slice(4,7)}}),components:{}}},373:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(13),a=i.n(o),s=i(17),n=i.n(s),r=i(22),d=i.n(r),l=i(6),c=i.n(l),u=i(4),p=i(9),f=(i.n(p),i(12));t.default={name:"you-may-like-right-panel",mixins:[f.a],props:{},data:function(){return{PREVIEW:p.PREVIEW}},methods:c()({},i.i(u.b)(["setPreviewData","togglePreview"]),{preview:function(e,t){var i;this.setPreviewData(d()({},this.previewData,{list:e,index:t,sourcePage:"may_you_like",isRecommendations:!0,position:"newfile_guess"}));var o=n()(this.previewData.p).length+3,s=this.previewData.pTag||"p"+o;this.sendCollect(d()({},this.previewData.p,(i={},a()(i,s,"guess_like_click"),a()(i,"p"+(o+1),"right"),i)))}}),computed:c()({},i.i(u.a)(["uMayLikeList","previewData","appClass"]),{getList:function(){return this.uMayLikeList.list.slice(0,4)}}),components:{}}},406:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,".you-may-like[data-v-438694c4]{position:relative;font-size:14px;color:#696969;letter-spacing:.17px}.you-may-like .title[data-v-438694c4]{padding-bottom:8px;margin-bottom:20px;border-bottom:1px solid #d8d8d8}.img-container[data-v-438694c4]{margin-right:-25px}.img-container .item[data-v-438694c4]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;height:130px;width:227px;background-color:#e4e7ea;margin-right:20px;vertical-align:top;position:relative;cursor:pointer}.name-label[data-v-438694c4]{position:absolute;font-size:14px;color:#222226;letter-spacing:.33px;bottom:-27px;left:0;right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}",""])},409:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,'.new-preview[data-v-4be1f4a9]{position:relative;z-index:101}.preview-mask[data-v-4be1f4a9]{position:fixed;top:20px;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.6)}.preview-content[data-v-4be1f4a9]{position:relative;width:925px;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 auto;padding-top:30px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.preview-title[data-v-4be1f4a9],.scroll-container[data-v-4be1f4a9]{background-color:#fff}.title-label[data-v-4be1f4a9]{padding-top:52px;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#222226;letter-spacing:.42px;line-height:24px;display:inline-block;max-width:726px}.preview-title[data-v-4be1f4a9]{height:120px;-webkit-border-top-left-radius:12px;border-top-left-radius:12px;-webkit-border-top-right-radius:12px;border-top-right-radius:12px;padding:0 100px 0 99px;background:#f4f4f4}.scroll-container[data-v-4be1f4a9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:hidden;padding-bottom:84px;background:#f4f4f4}.goto-last[data-v-4be1f4a9],.goto-next[data-v-4be1f4a9]{position:absolute;top:50%;margin-top:-58px;padding:40px;cursor:pointer}.goto-last[data-v-4be1f4a9]{left:0;margin-left:-120px}.goto-next[data-v-4be1f4a9]{right:0;margin-right:-120px}.scroll[data-v-4be1f4a9]{overflow-y:auto;-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative}.img-item[data-v-4be1f4a9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.img-item img[data-v-4be1f4a9]{display:block;margin:0 auto}.wps img[lazy=loading][data-v-4be1f4a9]{margin:486px auto}.et img[lazy=loading][data-v-4be1f4a9],.wpp img[lazy=loading][data-v-4be1f4a9]{margin:176px auto}.avatar-img[data-v-4be1f4a9]{display:inline-block;width:20px;height:19px;-webkit-border-radius:10px;border-radius:10px;background-size:contain}.author-name[data-v-4be1f4a9]{font-size:12px;color:#696969;letter-spacing:.28px;line-height:16px;margin-left:10px}.desc-label-group[data-v-4be1f4a9]{position:relative;height:19px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding-top:8px;line-height:1}.desc-label-group span[data-v-4be1f4a9]{line-height:1;display:inline-block;vertical-align:middle}.publish-time[data-v-4be1f4a9]{font-size:12px;color:#a7a7a7;letter-spacing:.28px;margin-left:20px}.preview-count[data-v-4be1f4a9]{display:-webkit-box;display:-webkit-flex;display:flex;font-size:12px;color:#a7a7a7;letter-spacing:.28px;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:19px;position:absolute;right:0;top:10px}.img-list[data-v-4be1f4a9]{max-width:720px;margin:0 auto}.img-list img[data-v-4be1f4a9]{max-width:100%;margin-bottom:20px}.icon-view[data-v-4be1f4a9]{margin-right:6px}.u-may-like[data-v-4be1f4a9]{padding:60px 100px 50px 99px}.icon-preview-left[data-v-4be1f4a9],.icon-preview-right[data-v-4be1f4a9]{cursor:pointer}.close-button[data-v-4be1f4a9]{position:fixed;top:48px;right:20px;cursor:pointer}.tooltip[data-v-4be1f4a9]{background:rgba(26,26,26,.9);bottom:-100%;color:#fff;display:block;z-index:1;line-height:18px;left:0;margin-bottom:15px;opacity:0;padding:10px;pointer-events:none;position:absolute;width:auto;-webkit-transform:translateY(-10px);transform:translateY(-10px);-webkit-transition:all .25s ease-out;transition:all .25s ease-out;-webkit-box-shadow:2px 2px 6px rgba(0,0,0,.28);box-shadow:2px 2px 6px rgba(0,0,0,.28)}.tooltip[data-v-4be1f4a9]:before{top:-10px;content:" ";display:block;height:10px;left:0;position:absolute;width:100%}.tooltip[data-v-4be1f4a9]:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid rgba(26,26,26,.9);top:-6px;content:" ";height:0;left:20px;margin-left:-13px;position:absolute;width:0}.tooltip div[data-v-4be1f4a9]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wrapper[data-v-4be1f4a9]{position:relative;display:inline-block}.wrapper:hover .tooltip[data-v-4be1f4a9]{opacity:1;pointer-events:auto;-webkit-transform:translateY(0);transform:translateY(0)}[selectable][data-v-4be1f4a9]{cursor:text}.u-may-like-panel[data-v-4be1f4a9]{position:absolute;bottom:10px;left:100%;margin-left:10px}@media screen and (max-width:1600px){.preview-content[data-v-4be1f4a9]{width:788px}.u-may-like[data-v-4be1f4a9]{padding:60px 30px 50px;overflow:hidden}.preview-title[data-v-4be1f4a9]{padding:0 40px 0 30px}}@media screen and (max-width:1050px){.u-may-like-panel[data-v-4be1f4a9]{display:none}}@media screen and (max-height:750px){.goto-last[data-v-4be1f4a9],.goto-next[data-v-4be1f4a9]{bottom:350px;top:auto}}',""])},418:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,".you-may-like-right-panel[data-v-b6df50f4]{background:#f4f4f4;-webkit-box-shadow:0 4px 4px 0 rgba(0,0,0,.2);box-shadow:0 4px 4px 0 rgba(0,0,0,.2);-webkit-border-radius:4px;border-radius:4px;padding:12px 12px 0;width:256px;height:336px;-webkit-box-sizing:border-box;box-sizing:border-box}.you-may-like-right-panel.wps[data-v-b6df50f4]{width:235px}.title[data-v-b6df50f4]{font-size:14px;color:#222226;letter-spacing:.38px;line-height:23px;padding-bottom:8px;margin-bottom:14px;border-bottom:1px solid #e0e0e0;height:33px;-webkit-box-sizing:border-box;box-sizing:border-box}.list-item[data-v-b6df50f4]{display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:10px;cursor:pointer;height:58px;margin-left:-12px;padding-left:12px;margin-right:-12px;padding-right:12px}.list-item[data-v-b6df50f4]:hover{background:#e8e8e8}.list-item[data-v-b6df50f4]:active{background:#e1e1e1}.desc[data-v-b6df50f4]{-webkit-box-flex:1;-webkit-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;max-width:149px}.img[data-v-b6df50f4]{margin-right:14px;width:102px;text-align:center;overflow:hidden}.img.img1[data-v-b6df50f4]{width:44px}.name-label[data-v-b6df50f4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:6px;max-width:100%;height:14px}",""])},419:function(e,t,i){t=e.exports=i(247)(!1),t.push([e.i,".preview-footer[data-v-eef9d01c]{position:absolute;bottom:0;left:0;right:0;height:84px;line-height:84px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;background:rgba(26,26,26,.9)}.button[data-v-eef9d01c],.preview-footer[data-v-eef9d01c]{-webkit-box-align:center;-webkit-align-items:center;align-items:center}.button[data-v-eef9d01c]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:46px}.button.is-vip[data-v-eef9d01c]{border:1px solid #f5a623;color:#f5a623}.price[data-v-eef9d01c]{display:inline-block;line-height:48px}.icon[data-v-eef9d01c]{margin-right:9px}.button[data-v-eef9d01c]{border:1px solid hsla(0,0%,100%,.3);font-size:14px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;letter-spacing:.23px;text-align:center;cursor:pointer;-webkit-border-radius:4px;border-radius:4px;width:150px;height:48px;margin-left:20px}.download[data-v-eef9d01c]{margin-left:10px}.upgrade-vip[data-v-eef9d01c]{background:#eb5350;-webkit-border-radius:4px;border-radius:4px;border:none;margin-right:20px;width:180px;margin-left:0}.price[data-v-eef9d01c]{font-size:14px;color:#f14846;letter-spacing:.33px;margin-right:20px;vertical-align:middle}.left-div[data-v-eef9d01c],.right-div[data-v-eef9d01c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.show-discount[data-v-eef9d01c]{line-height:20px;padding:4px 0;text-align:right}.original-price[data-v-eef9d01c]{font-size:12px;color:#adadad;letter-spacing:.28px;text-decoration:line-through}.is-vip-free[data-v-eef9d01c]{font-size:14px;color:#a7a7a7;letter-spacing:.33px;text-decoration:line-through}.add-to-mytpl[data-v-eef9d01c],.download[data-v-eef9d01c],.upgrade-vip[data-v-eef9d01c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;line-height:1}.add-to-mytpl.added[data-v-eef9d01c],.download.added[data-v-eef9d01c],.upgrade-vip.added[data-v-eef9d01c]{cursor:default;border-color:#545454}.add-to-mytpl span[data-v-eef9d01c],.download span[data-v-eef9d01c],.upgrade-vip span[data-v-eef9d01c]{vertical-align:middle}",""])},433:function(e,t,i){var o=i(406);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("1a115ad0",o,!0,{})},436:function(e,t,i){var o=i(409);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("0913057d",o,!0,{})},445:function(e,t,i){var o=i(418);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("dbe23cd4",o,!0,{})},446:function(e,t,i){var o=i(419);"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);i(248)("517532b6",o,!0,{})},448:function(e,t,i){function o(e){i(446)}var a=i(2)(i(369),i(490),o,"data-v-eef9d01c",null);e.exports=a.exports},450:function(e,t,i){function o(e){i(433)}var a=i(2)(i(372),i(476),o,"data-v-438694c4",null);e.exports=a.exports},451:function(e,t,i){function o(e){i(445)}var a=i(2)(i(373),i(489),o,"data-v-b6df50f4",null);e.exports=a.exports},476:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"you-may-like"},[i("div",{staticClass:"title"},[e._v(e._s(e.PREVIEW.YOU_MAY_LIKE))]),e._v(" "),i("div",{staticClass:"img-container"},e._l(e.getList,function(t,o){return i("div",{staticClass:"item",on:{click:function(t){e.preview(e.getList,o)}}},[i("img",{directives:[{name:"lazy",rawName:"v-lazy.scrollattr",value:t.thumb_big_url+"/227X130.png",expression:"item.thumb_big_url + '/227X130.png'",modifiers:{scrollattr:!0}}],attrs:{alt:""}}),e._v(" "),i("div",{staticClass:"name-label",attrs:{title:t.name}},[e._v("??"+e._s(t.name)+"??")])])}))])},staticRenderFns:[]}},480:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"new-preview"},[i("div",{staticClass:"preview-mask",style:e.getMaskstyls,on:{mousedown:function(t){e.closePreview()}}},[i("div",{staticClass:"close-button",style:e.getCloseButtonStyls},[i("span",{staticClass:"icon icon-preview-close"})]),e._v(" "),i("div",{staticClass:"preview-content",on:{mousedown:function(t){return t.stopPropagation(),e.noop(t)},click:function(t){return t.stopPropagation(),e.noop(t)}}},[i("div",{staticClass:"preview-title"},[i("div",{staticClass:"wrapper"},[i("div",{staticClass:"title-label",attrs:{selectable:"title"}},[e._v("\n "+e._s(e.currentItem.name)+"\n ")]),e._v(" "),i("div",{staticClass:"tooltip"},[i("div",{attrs:{selectable:"tooltip"}},[e._v(e._s(e.currentItem.name))]),e._v(" "),i("div",{attrs:{selectable:"tooltip"}},[e._v("?????"+e._s(e.currentItem.id))])])]),e._v(" "),i("div",{staticClass:"desc-label-group"},[i("span",{staticClass:"avatar-img",style:{backgroundImage:e.authorAvatar}}),e._v(" "),i("span",{staticClass:"author-name"},[e._v(e._s(e.currentItem.author))]),e._v(" "),i("span",{staticClass:"publish-time"},[e._v("????????"+e._s(e.currentItem.publish_time))]),e._v(" "),i("div",{staticClass:"preview-count"},[i("span",{staticClass:"icon icon-view"}),i("span",[e._v(e._s(e.currentItem.preview))])])])]),e._v(" "),i("div",{staticClass:"scroll-container"},[e.previewThumbList.status===e.STATUS.SUCCESS?i("div",{staticClass:"scroll",attrs:{"data-scrollattr":"preview"}},[i("vue-scrollbar",{style:{height:"100%",width:"100%",position:"absolute"},attrs:{callback:e.onScroll()}},[i("div",[i("div",{staticClass:"img-list"},e._l(e.imgList,function(t){return i("div",{staticClass:"img-item",class:e.getAppClass},[i("img",{directives:[{name:"lazy",rawName:"v-lazy.scrollattr",value:t,expression:"item",modifiers:{scrollattr:!0}}]})])})),e._v(" "),e.previewThumbList.status===e.STATUS.SUCCESS?i("div",{ref:"uMayLike",staticClass:"u-may-like"},[i("you-may-like")],1):e._e()])])],1):e._e(),e._v(" "),e.previewThumbList.status===e.STATUS.SUCCESS?i("div",{staticClass:"u-may-like-panel"},[i("you-may-like-right-panel")],1):e._e(),e._v(" "),e.previewThumbList.status===e.STATUS.ERROR?i("error"):e._e(),e._v(" "),e.previewThumbList.status===e.STATUS.IN_PROGRESS?i("loading"):e._e(),e._v(" "),i("preview-footer",{attrs:{info:e.info,status:e.previewThumbList.status,retrieveDocerVipTimes:e.retrieveDocerVipTimes,purchasesIds:e.purchasesIds,hasAdded:e.hasAdded,hasBought:e.hasBought,previewData:e.previewThumbList.data,currentItem:e.currentItem}})],1),e._v(" "),e.shouldShowGotoLast?i("div",{staticClass:"goto-last",on:{click:function(t){t.stopPropagation(),e.gotoLast()}}},[i("span",{staticClass:"icon icon-preview-left"})]):e._e(),e._v(" "),e.shouldShowGotoNext?i("div",{staticClass:"goto-next",on:{click:function(t){t.stopPropagation(),e.gotoNext()}}},[i("span",{staticClass:"icon icon-preview-right"})]):e._e()])])])},staticRenderFns:[]}},489:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.getList.length>0?i("div",{staticClass:"you-may-like-right-panel",class:e.appClass},[i("div",{staticClass:"title"},[e._v(e._s(e.PREVIEW.YOU_MAY_LIKE))]),e._v(" "),i("div",{staticClass:"img-container"},e._l(e.getList,function(t,o){return i("div",{staticClass:"list-item",on:{click:function(t){e.preview(e.getList,o)}}},[i("div",{staticClass:"img",class:"img"+t.moban_app},[i("img",{directives:[{name:"lazy",rawName:"v-lazy.scrollattr",value:t.thumb_big_url+"/102X58.png",expression:"item.thumb_big_url + '/102X58.png'",modifiers:{scrollattr:!0}}]})]),e._v(" "),i("div",{staticClass:"desc"},[i("div",{staticClass:"name-label",attrs:{title:t.name}},[e._v(e._s(t.name))]),e._v(" "),i("div",{staticClass:"view-num"},[i("span",{staticClass:"icon icon-view"}),e._v(" "),i("span",{staticClass:"view-count"},[e._v(e._s(t.preview))])])])])}))]):e._e()},staticRenderFns:[]}},490:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"preview-footer"},[i("div",{staticClass:"left-div"},[e.showAddButton?i("div",{staticClass:"add-to-mytpl button blue-button",on:{click:function(t){e.toggleMyTpl()}}},[i("span",{staticClass:"icon",class:{"icon-add-preview":!e.hasAdded||!e.hasLogin,"icon-del-tpl":e.hasAdded&&e.hasLogin}}),i("span",[e._v(e._s(e.tplLabel))])]):e._e(),e._v(" "),e.showHasAdded?i("div",{staticClass:"add-to-mytpl button added"},[i("span",{staticClass:"icon icon-added-thumbnail"}),i("span",[e._v("?????")])]):e._e(),e._v(" "),i("div",{staticClass:"download button blue-button",class:{"is-vip":e.isDocerVip},on:{click:function(t){e.tryDownload()}}},[i("span",{staticClass:"icon",class:{"icon-download-hover":e.isDocerVip,"icon-download":!e.isDocerVip}}),i("span",[e._v(e._s(e.PREVIEW.DOWNLOAD_NOW))])])]),e._v(" "),1===e.status?i("div",{staticClass:"right-div"},[e.getPurchaseStatus?i("div",{staticClass:"price"},[i("span",[e._v(e._s(e.PREVIEW.HAS_BOUGHT))])]):e._e(),e._v(" "),e.showDiscount||e.getPurchaseStatus?e._e():i("div",{staticClass:"price",class:{"is-vip-free":e.isDocerVip&&e.isVipTpl},attrs:{remark:"????????"}},[e._v("\n "+e._s(e.originPriceLabel)+"\n ")]),e._v(" "),e.showDiscount&&!e.getPurchaseStatus?i("div",{staticClass:"price show-discount",attrs:{remark:"??????"}},[0===e.finalPrice?i("div",{staticClass:"discount-price",attrs:{remark:"????????0"}},[e.isVipTpl?i("span",{staticClass:"icon icon-docer-vip"}):e._e(),e._v(" "),i("span",[e._v(e._s(e.PREVIEW.FREE))])]):e._e(),e._v(" "),0!==e.finalPrice||e.vipDiscountPrice<e.price&&!e.isDocerVip?i("div",{staticClass:"discount-price",attrs:{remark:"??????????0???????????????????"}},[e.vipPrice<e.price&&e.isDocerVip?i("span",{staticClass:"icon icon-docer-vip"}):e._e(),e._v(" "),i("span",[e._v(e._s(e.getDiscountLabel)+"??"+e._s(e.roundPrice(e.getFinalPrice)))])]):e._e(),e._v(" "),i("div",{staticClass:"original-price",attrs:{remark:"???"}},[e._v(e._s(e.PREVIEW.PRICE)+"??"+e._s(e.roundPrice(e.getOriginalPrice)))])]):e._e(),e._v(" "),!e.isDocerVip&&!e.isFreeTpl&&e.vipDiscountPrice<=e.price&&!e.getPurchaseStatus?i("div",{staticClass:"upgrade-vip button blue-button",on:{click:function(t){e.upgradeVip()}}},[i("span",{staticClass:"icon icon-vip-preview"}),i("span",[e._v(e._s(e.vipLabel))])]):e._e()]):e._e(),e._v(" "),e.showConfirm?i("confirm",{style:{lineHeight:1},attrs:{closeFunction:e.hideConfirm,alertMessage:e.currentItem.name,title:"???????????????",confirmStyle:"delete",confirmText:"???",confirmEvent:e.confirmDelete}}):e._e()],1)},staticRenderFns:[]}}});
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de