From 56cf534340f60f8dcf090bde806474f6e1510a27 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 2 Apr 2023 23:08:05 +0800 Subject: [PATCH] build --- CHANGELOG.md | 11 + language/original-api.txt | 2 + language/translate.json | 11 + package.json | 2 +- .../{404.a0cc881c.js => 404.9e328ed1.js} | 2 +- public/js/build/AceEditor.0c7bc196.js | 1 + public/js/build/AceEditor.a2d80e8c.js | 1 - ....e14dcdab.js => CheckinExport.058fd78e.js} | 2 +- ...t.c9796cea.js => DialogSelect.13f2bf9c.js} | 2 +- ....1815cab6.js => DialogWrapper.1ee2083a.js} | 4 +- ...{Drawio.3f845169.js => Drawio.c3becab8.js} | 2 +- ...nt.9f2379fd.js => FileContent.f5b4eda8.js} | 2 +- ...ew.23f7e260.js => FilePreview.393d5c5f.js} | 2 +- ...{IFrame.dee76434.js => IFrame.fe0c152e.js} | 2 +- ...load.6e9513da.js => ImgUpload.8dae08e9.js} | 2 +- ...{Minder.60b25458.js => Minder.056301a4.js} | 2 +- public/js/build/OnlyOffice.162b8727.js | 1 + public/js/build/OnlyOffice.2b2000e0.js | 1 - ...e.d36f3069.css => OnlyOffice.a5dfbde1.css} | 2 +- ...Log.bffe06c7.js => ProjectLog.f97ce9f6.js} | 2 +- ...l.2649fc9a.js => ReportDetail.8bf290bc.js} | 2 +- ...dit.1329be12.js => ReportEdit.862ac89e.js} | 2 +- ...Editor.4460561b.js => TEditor.28d6de3c.js} | 2 +- ...ail.32c1f371.js => TaskDetail.e91c9282.js} | 2 +- ...kMenu.c2c77c47.js => TaskMenu.382f8823.js} | 2 +- ...eLog.cb948ed8.js => UpdateLog.3dc5cd8a.js} | 2 +- ...nput.d6d4081e.js => UserInput.ca38ea3c.js} | 2 +- .../{app.bd09c684.js => app.139edc4e.js} | 10 +- .../{app.4b871516.css => app.f866d722.css} | 2 +- ...58ab80.js => bn.interface.min.7ad14d1f.js} | 2 +- ...{bn.min.0b81af35.js => bn.min.560fdb8a.js} | 2 +- ...endar.e0641411.js => calendar.2b98d510.js} | 2 +- ...heckin.f6dbbcd5.js => checkin.3faaf45a.js} | 2 +- ...oard.033b5cc0.js => dashboard.5ce7ec00.js} | 2 +- ...{delete.fbfdc492.js => delete.56c99ce6.js} | 2 +- ...n.9c4a89b7.js => elliptic.min.779c7e7c.js} | 2 +- .../{email.8e1aeed0.js => email.18d0e3e0.js} | 2 +- .../{file.23aabd63.js => file.9e559479.js} | 4 +- .../{file.04750cb8.js => file.e9bf4a7a.js} | 2 +- ...ileMsg.57896aee.js => fileMsg.bdeeabcf.js} | 2 +- ...eTask.7159d584.js => fileTask.8806fdea.js} | 2 +- ...{index.03d13184.css => index.00d00dd2.css} | 2 +- .../{index.f03606a8.js => index.03956335.js} | 2 +- .../{index.2ea00280.js => index.12fe75c7.js} | 2 +- .../{index.bef6361b.js => index.cd76540e.js} | 6 +- .../{index.458f2773.js => index.f1edfbd3.js} | 2 +- ...board.1394c96e.js => keyboard.6fdea8ad.js} | 2 +- ...guage.a41faf36.js => language.a3631794.js} | 2 +- ...icense.edbf6d2b.js => license.ec7859dd.js} | 2 +- .../{login.8ccc6e89.js => login.afc3f999.js} | 2 +- ...{manage.d79a71f6.js => manage.cf339c66.js} | 2 +- ...nger.794ab91e.js => messenger.fe5c226c.js} | 2 +- ...sword.2e1e77d4.js => password.6b370885.js} | 2 +- ...sonal.b664ab75.js => personal.ca33ed1a.js} | 2 +- public/js/build/preview.b5a0d740.js | 1 + public/js/build/preview.d4c536ab.js | 1 - .../{pro.8a3b5ca3.js => pro.413ec6f5.js} | 2 +- ...roject.cdb0a3eb.js => project.99d93326.js} | 2 +- ....72ab7a65.js => projectInvite.fd2d96df.js} | 2 +- ...l.2fdd49c5.js => reportDetail.2c03059f.js} | 2 +- ...dit.2224e869.js => reportEdit.e3b4e1c0.js} | 2 +- .../{swipe.d5e59444.js => swipe.03138fa2.js} | 4 +- ...{system.fcb52847.js => system.bc6e0444.js} | 2 +- .../{task.dd3b0ed0.js => task.ea1e90d1.js} | 2 +- .../{theme.85634171.js => theme.f1f699eb.js} | 2 +- .../{token.01d28a9f.js => token.92606108.js} | 2 +- ...ail.53202fb3.js => validEmail.f33be862.js} | 2 +- .../{view.fb31d396.js => view.d0be2e7e.js} | 2 +- public/language/api/de.json | 2 +- public/language/api/en.json | 2 +- public/language/api/fr.json | 2 +- public/language/api/id.json | 2 +- public/language/api/ja.json | 2 +- public/language/api/key.json | 2 +- public/language/api/ko.json | 2 +- public/language/api/zh-CHT.json | 2 +- public/language/api/zh.json | 2 +- public/manifest.json | 280 +++++++++--------- resources/mobile | 2 +- 79 files changed, 245 insertions(+), 221 deletions(-) rename public/js/build/{404.a0cc881c.js => 404.9e328ed1.js} (87%) create mode 100644 public/js/build/AceEditor.0c7bc196.js delete mode 100644 public/js/build/AceEditor.a2d80e8c.js rename public/js/build/{CheckinExport.e14dcdab.js => CheckinExport.058fd78e.js} (99%) rename public/js/build/{DialogSelect.c9796cea.js => DialogSelect.13f2bf9c.js} (96%) rename public/js/build/{DialogWrapper.1815cab6.js => DialogWrapper.1ee2083a.js} (92%) rename public/js/build/{Drawio.3f845169.js => Drawio.c3becab8.js} (93%) rename public/js/build/{FileContent.9f2379fd.js => FileContent.f5b4eda8.js} (92%) rename public/js/build/{FilePreview.23f7e260.js => FilePreview.393d5c5f.js} (76%) rename public/js/build/{IFrame.dee76434.js => IFrame.fe0c152e.js} (94%) rename public/js/build/{ImgUpload.6e9513da.js => ImgUpload.8dae08e9.js} (99%) rename public/js/build/{Minder.60b25458.js => Minder.056301a4.js} (97%) create mode 100644 public/js/build/OnlyOffice.162b8727.js delete mode 100644 public/js/build/OnlyOffice.2b2000e0.js rename public/js/build/{OnlyOffice.d36f3069.css => OnlyOffice.a5dfbde1.css} (60%) rename public/js/build/{ProjectLog.bffe06c7.js => ProjectLog.f97ce9f6.js} (98%) rename public/js/build/{ReportDetail.2649fc9a.js => ReportDetail.8bf290bc.js} (95%) rename public/js/build/{ReportEdit.1329be12.js => ReportEdit.862ac89e.js} (94%) rename public/js/build/{TEditor.4460561b.js => TEditor.28d6de3c.js} (99%) rename public/js/build/{TaskDetail.32c1f371.js => TaskDetail.e91c9282.js} (99%) rename public/js/build/{TaskMenu.c2c77c47.js => TaskMenu.382f8823.js} (96%) rename public/js/build/{UpdateLog.cb948ed8.js => UpdateLog.3dc5cd8a.js} (94%) rename public/js/build/{UserInput.d6d4081e.js => UserInput.ca38ea3c.js} (98%) rename public/js/build/{app.bd09c684.js => app.139edc4e.js} (97%) rename public/js/build/{app.4b871516.css => app.f866d722.css} (99%) rename public/js/build/{bn.interface.min.7458ab80.js => bn.interface.min.7ad14d1f.js} (96%) rename public/js/build/{bn.min.0b81af35.js => bn.min.560fdb8a.js} (99%) rename public/js/build/{calendar.e0641411.js => calendar.2b98d510.js} (99%) rename public/js/build/{checkin.f6dbbcd5.js => checkin.3faaf45a.js} (99%) rename public/js/build/{dashboard.033b5cc0.js => dashboard.5ce7ec00.js} (97%) rename public/js/build/{delete.fbfdc492.js => delete.56c99ce6.js} (99%) rename public/js/build/{elliptic.min.9c4a89b7.js => elliptic.min.779c7e7c.js} (99%) rename public/js/build/{email.8e1aeed0.js => email.18d0e3e0.js} (98%) rename public/js/build/{file.23aabd63.js => file.9e559479.js} (99%) rename public/js/build/{file.04750cb8.js => file.e9bf4a7a.js} (88%) rename public/js/build/{fileMsg.57896aee.js => fileMsg.bdeeabcf.js} (70%) rename public/js/build/{fileTask.7159d584.js => fileTask.8806fdea.js} (69%) rename public/js/build/{index.03d13184.css => index.00d00dd2.css} (99%) rename public/js/build/{index.f03606a8.js => index.03956335.js} (98%) rename public/js/build/{index.2ea00280.js => index.12fe75c7.js} (99%) rename public/js/build/{index.bef6361b.js => index.cd76540e.js} (99%) rename public/js/build/{index.458f2773.js => index.f1edfbd3.js} (98%) rename public/js/build/{keyboard.1394c96e.js => keyboard.6fdea8ad.js} (97%) rename public/js/build/{language.a41faf36.js => language.a3631794.js} (95%) rename public/js/build/{license.edbf6d2b.js => license.ec7859dd.js} (98%) rename public/js/build/{login.8ccc6e89.js => login.afc3f999.js} (99%) rename public/js/build/{manage.d79a71f6.js => manage.cf339c66.js} (85%) rename public/js/build/{messenger.794ab91e.js => messenger.fe5c226c.js} (98%) rename public/js/build/{password.2e1e77d4.js => password.6b370885.js} (97%) rename public/js/build/{personal.b664ab75.js => personal.ca33ed1a.js} (96%) create mode 100644 public/js/build/preview.b5a0d740.js delete mode 100644 public/js/build/preview.d4c536ab.js rename public/js/build/{pro.8a3b5ca3.js => pro.413ec6f5.js} (99%) rename public/js/build/{project.cdb0a3eb.js => project.99d93326.js} (99%) rename public/js/build/{projectInvite.72ab7a65.js => projectInvite.fd2d96df.js} (96%) rename public/js/build/{reportDetail.2fdd49c5.js => reportDetail.2c03059f.js} (85%) rename public/js/build/{reportEdit.2224e869.js => reportEdit.e3b4e1c0.js} (86%) rename public/js/build/{swipe.d5e59444.js => swipe.03138fa2.js} (82%) rename public/js/build/{system.fcb52847.js => system.bc6e0444.js} (99%) rename public/js/build/{task.dd3b0ed0.js => task.ea1e90d1.js} (83%) rename public/js/build/{theme.85634171.js => theme.f1f699eb.js} (96%) rename public/js/build/{token.01d28a9f.js => token.92606108.js} (91%) rename public/js/build/{validEmail.53202fb3.js => validEmail.f33be862.js} (95%) rename public/js/build/{view.fb31d396.js => view.d0be2e7e.js} (98%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bc3ace62..afe9ed1b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. +## [0.25.68] + +### Bug Fixes + +- 会议回音 + +### Performance + +- 优化动态加载静态资源 +- 消息接口支持MARKDOWN + ## [0.25.60] ### Bug Fixes diff --git a/language/original-api.txt b/language/original-api.txt index 5f2bbf4ed..64bc1db4c 100644 --- a/language/original-api.txt +++ b/language/original-api.txt @@ -439,3 +439,5 @@ Api接口文档 开心笑话 心灵鸡汤 + +请填写完整的参数 diff --git a/language/translate.json b/language/translate.json index ff3156214..0ece80cf2 100644 --- a/language/translate.json +++ b/language/translate.json @@ -15299,5 +15299,16 @@ "de": "Download starten. - ja.", "fr": "Télécharger maintenant télécharger", "id": "Download sekarang" + }, + { + "key": "请填写完整的参数", + "zh": "", + "zh-CHT": "請填寫完整的參數", + "en": "Please fill in the complete parameters", + "ko": "완벽한 파라메터를 기입해 주십시오", + "ja": "完全なパラメータをお願いします。", + "de": "Füllen sie bitte die vollständige parameter aus", + "fr": "Veuillez remplir tous les paramètres", + "id": "Silahkan isi seluruh parameter" } ] \ No newline at end of file diff --git a/package.json b/package.json index 8e68348ad..37e654555 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "DooTask", - "version": "0.25.60", + "version": "0.25.68", "description": "DooTask is task management system.", "scripts": { "start": "./cmd dev", diff --git a/public/js/build/404.a0cc881c.js b/public/js/build/404.9e328ed1.js similarity index 87% rename from public/js/build/404.a0cc881c.js rename to public/js/build/404.9e328ed1.js index de3b2309d..fce451f52 100644 --- a/public/js/build/404.a0cc881c.js +++ b/public/js/build/404.9e328ed1.js @@ -1 +1 @@ -import{n}from"./app.bd09c684.js";var r=function(){var e=this,t=e.$createElement;return e._self._c,e._m(0)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"page-404"},[s("div",{staticClass:"flex-center position-ref full-height"},[s("div",{staticClass:"code"},[e._v("404")]),s("div",{staticClass:"message"},[e._v("Not Found")])])])}];const i={},_={};var o=n(i,r,a,!1,c,"7d7154a8",null,null);function c(e){for(let t in _)this[t]=_[t]}var v=function(){return o.exports}();export{v as default}; +import{n}from"./app.139edc4e.js";var r=function(){var e=this,t=e.$createElement;return e._self._c,e._m(0)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"page-404"},[s("div",{staticClass:"flex-center position-ref full-height"},[s("div",{staticClass:"code"},[e._v("404")]),s("div",{staticClass:"message"},[e._v("Not Found")])])])}];const i={},_={};var o=n(i,r,a,!1,c,"7d7154a8",null,null);function c(e){for(let t in _)this[t]=_[t]}var v=function(){return o.exports}();export{v as default}; diff --git a/public/js/build/AceEditor.0c7bc196.js b/public/js/build/AceEditor.0c7bc196.js new file mode 100644 index 000000000..04670f12a --- /dev/null +++ b/public/js/build/AceEditor.0c7bc196.js @@ -0,0 +1 @@ +import{m as h,n as l}from"./app.139edc4e.js";const d={name:"AceEditor",props:{value:{default:""},options:{type:Object,default:()=>({})},theme:{type:String,default:"auto"},ext:{type:String,default:"txt"},height:{type:Number||null,default:null},width:{type:Number||null,default:null},wrap:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},render(e){return e("div",{class:"no-dark-content"})},data:()=>({code:"",editor:null,cursorPosition:{row:0,column:0},supportedModes:{Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],BatchFile:["bat|cmd"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp|ino"],CSharp:["cs"],CSS:["css"],Dockerfile:["^Dockerfile"],golang:["go|golang"],HTML:["html|htm|xhtml|vue|we|wpy"],Java:["java"],JavaScript:["js|jsm|jsx"],JSON:["json"],JSP:["jsp"],LESS:["less"],Lua:["lua"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],MySQL:["mysql"],Nginx:["nginx|conf"],INI:["ini|conf|cfg|prefs"],ObjectiveC:["m|mm"],Perl:["pl|pm"],Perl6:["p6|pl6|pm6"],pgSQL:["pgsql"],PHP_Laravel_blade:["blade.php"],PHP:["php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],Powershell:["ps1"],Python:["py"],R:["r"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SQL:["sql"],SQLServer:["sqlserver"],Swift:["swift"],Text:["txt"],Typescript:["ts|typescript|str"],VBScript:["vbs|vb"],Verilog:["v|vh|sv|svh"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml|plist"],YAML:["yaml|yml"],Compress:["tar|zip|7z|rar|gz|arj|z"],images:["icon|jpg|jpeg|png|bmp|gif|tif|emf"]}}),mounted(){$A.loadScriptS(["js/ace/ace.js","js/ace/mode-json.js"]).then(e=>{this.setSize(this.$el,{height:this.height,width:this.width}),this.editor=window.ace.edit(this.$el,{wrap:this.wrap,showPrintMargin:!1,readOnly:this.readOnly,keyboardHandler:"vscode"}),this.editor.session.setMode(`ace/mode/${this.getFileMode()}`),this.$emit("mounted",this.editor),this.editor.session.$worker&&this.editor.session.$worker.addEventListener("annotate",this.workerMessage,!1),this.setValue(this.value),this.editor.setOptions(this.options),this.editTheme&&this.editor.setTheme(`ace/theme/${this.editTheme}`),this.editor.commands.addCommand({name:"\u4FDD\u5B58\u6587\u4EF6",bindKey:{win:"Ctrl-S",mac:"Command-S"},exec:()=>{this.$emit("saveData")},readOnly:!1}),this.editor.getSession().on("change",()=>{this.code=this.editor.getValue(),this.$emit("input",this.code)})})},methods:{workerMessage({data:e}){this.cursorPosition=this.editor.selection.getCursor();const[t]=e;t&&t.type==="error"?this.$emit("validationFailed",t):this.$emit("change",this.editor.getValue())},setSize(e,{width:t=this.width,height:s=this.height}){e.style.width=t&&typeof t=="number"?`${t}px`:"100%",e.style.height=s&&typeof s=="number"?`${s}px`:"100%",this.$nextTick(()=>this.editor&&this.editor.resize())},setValue(e){typeof e=="string"&&this.editor&&(this.editor.setValue(e),this.editor.clearSelection())},getFileMode(){var e=this.ext||"text";for(var t in this.supportedModes)for(var s=this.supportedModes[t],r=s[0].split("|"),a=t.toLowerCase(),i=0;i({})},theme:{type:String,default:"auto"},ext:{type:String,default:"txt"},height:{type:Number||null,default:null},width:{type:Number||null,default:null},wrap:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1}},render(e){return e("div",{class:"no-dark-content"})},data:()=>({code:"",editor:null,cursorPosition:{row:0,column:0},supportedModes:{Apache_Conf:["^htaccess|^htgroups|^htpasswd|^conf|htaccess|htgroups|htpasswd"],BatchFile:["bat|cmd"],C_Cpp:["cpp|c|cc|cxx|h|hh|hpp|ino"],CSharp:["cs"],CSS:["css"],Dockerfile:["^Dockerfile"],golang:["go|golang"],HTML:["html|htm|xhtml|vue|we|wpy"],Java:["java"],JavaScript:["js|jsm|jsx"],JSON:["json"],JSP:["jsp"],LESS:["less"],Lua:["lua"],Makefile:["^Makefile|^GNUmakefile|^makefile|^OCamlMakefile|make"],Markdown:["md|markdown"],MySQL:["mysql"],Nginx:["nginx|conf"],INI:["ini|conf|cfg|prefs"],ObjectiveC:["m|mm"],Perl:["pl|pm"],Perl6:["p6|pl6|pm6"],pgSQL:["pgsql"],PHP_Laravel_blade:["blade.php"],PHP:["php|inc|phtml|shtml|php3|php4|php5|phps|phpt|aw|ctp|module"],Powershell:["ps1"],Python:["py"],R:["r"],Ruby:["rb|ru|gemspec|rake|^Guardfile|^Rakefile|^Gemfile"],Rust:["rs"],SASS:["sass"],SCSS:["scss"],SH:["sh|bash|^.bashrc"],SQL:["sql"],SQLServer:["sqlserver"],Swift:["swift"],Text:["txt"],Typescript:["ts|typescript|str"],VBScript:["vbs|vb"],Verilog:["v|vh|sv|svh"],XML:["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml|plist"],YAML:["yaml|yml"],Compress:["tar|zip|7z|rar|gz|arj|z"],images:["icon|jpg|jpeg|png|bmp|gif|tif|emf"]}}),mounted(){$A.loadScriptS(["js/ace/ace.js","js/ace/mode-json.js"],()=>{this.setSize(this.$el,{height:this.height,width:this.width}),this.editor=window.ace.edit(this.$el,{wrap:this.wrap,showPrintMargin:!1,readOnly:this.readOnly,keyboardHandler:"vscode"}),this.editor.session.setMode(`ace/mode/${this.getFileMode()}`),this.$emit("mounted",this.editor),this.editor.session.$worker&&this.editor.session.$worker.addEventListener("annotate",this.workerMessage,!1),this.setValue(this.value),this.editor.setOptions(this.options),this.editTheme&&this.editor.setTheme(`ace/theme/${this.editTheme}`),this.editor.commands.addCommand({name:"\u4FDD\u5B58\u6587\u4EF6",bindKey:{win:"Ctrl-S",mac:"Command-S"},exec:()=>{this.$emit("saveData")},readOnly:!1}),this.editor.getSession().on("change",()=>{this.code=this.editor.getValue(),this.$emit("input",this.code)})})},methods:{workerMessage({data:e}){this.cursorPosition=this.editor.selection.getCursor();const[t]=e;t&&t.type==="error"?this.$emit("validationFailed",t):this.$emit("change",this.editor.getValue())},setSize(e,{width:t=this.width,height:s=this.height}){e.style.width=t&&typeof t=="number"?`${t}px`:"100%",e.style.height=s&&typeof s=="number"?`${s}px`:"100%",this.$nextTick(()=>this.editor&&this.editor.resize())},setValue(e){typeof e=="string"&&this.editor&&(this.editor.setValue(e),this.editor.clearSelection())},getFileMode(){var e=this.ext||"text";for(var t in this.supportedModes)for(var s=this.supportedModes[t],r=s[0].split("|"),a=t.toLowerCase(),i=0;i0?e("Loading"):t._e()],1)]),e("div",{staticClass:"management-box"},[e("div",{staticClass:"management-department"},[e("ul",[e("li",{class:["level-1",t.departmentSelect===0?"active":""],on:{click:function(a){return t.onSelectDepartment(0)}}},[e("i",{staticClass:"taskfont department-icon"},[t._v("\uE766")]),e("div",{staticClass:"department-title"},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(a){a.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("EDropdownItem",{attrs:{command:"add_0"}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])])],1)],1)],1),t._l(t.departmentList,function(a){return e("li",{key:a.id,class:[`level-${a.level}`,t.departmentSelect===a.id?"active":""],on:{click:function(i){return t.onSelectDepartment(a.id)}}},[e("UserAvatar",{staticClass:"department-icon",attrs:{userid:a.owner_userid,size:20}},[e("p",[e("strong",[t._v(t._s(t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")))])])]),e("div",{staticClass:"department-title"},[t._v(t._s(a.name))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(i){i.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a.level<=2?e("EDropdownItem",{attrs:{command:`add_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])]):t._e(),e("EDropdownItem",{attrs:{command:`edit_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u7F16\u8F91")))])]),e("EDropdownItem",{attrs:{command:`del_${a.id}`}},[e("div",{staticStyle:{color:"#f00"}},[t._v(t._s(t.$L("\u5220\u9664")))])])],1)],1)],1)})],2),e("div",{staticClass:"department-buttons"},[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(a){return t.onShowDepartment(null)}}},[t._v(t._s(t.$L("\u65B0\u5EFA\u90E8\u95E8")))])],1)]),e("div",{staticClass:"management-user"},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5173\u952E\u8BCD"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("\u90AE\u7BB1\u3001\u6635\u79F0\u3001\u804C\u4F4D"),clearable:""},model:{value:t.keys.key,callback:function(a){t.$set(t.keys,"key",a)},expression:"keys.key"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u8EAB\u4EFD"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.identity,callback:function(a){t.$set(t.keys,"identity",a)},expression:"keys.identity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"admin"}},[t._v(t._s(t.$L("\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"noadmin"}},[t._v(t._s(t.$L("\u975E\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"temp"}},[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7")))]),e("Option",{attrs:{value:"notemp"}},[t._v(t._s(t.$L("\u975E\u4E34\u65F6\u5E10\u53F7")))])],1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5728\u804C\u72B6\u6001"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5728\u804C")},model:{value:t.keys.disable,callback:function(a){t.$set(t.keys,"disable",a)},expression:"keys.disable"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5728\u804C")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u79BB\u804C")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8")))])],1)],1)]),t.checkinMac?e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("MAC\u5730\u5740"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("MAC\u5730\u5740"),clearable:""},model:{value:t.keys.checkin_mac,callback:function(a){t.$set(t.keys,"checkin_mac",a)},expression:"keys.checkin_mac"}})],1)]):e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u90AE\u7BB1\u8BA4\u8BC1"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.email_verity,callback:function(a){t.$set(t.keys,"email_verity",a)},expression:"keys.email_verity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u5DF2\u90AE\u7BB1\u8BA4\u8BC1")))]),e("Option",{attrs:{value:"no"}},[t._v(t._s(t.$L("\u672A\u90AE\u7BB1\u8BA4\u8BC1")))])],1)],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"bottom","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(a){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])]),e("Modal",{attrs:{title:t.$L(t.departmentData.id>0?"\u4FEE\u6539\u90E8\u95E8":"\u65B0\u5EFA\u90E8\u95E8"),"mask-closable":!1},model:{value:t.departmentShow,callback:function(a){t.departmentShow=a},expression:"departmentShow"}},[e("Form",{ref:"addProject",attrs:{model:t.departmentData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{prop:"name",label:t.$L("\u90E8\u95E8\u540D\u79F0")}},[e("Input",{attrs:{type:"text",placeholder:t.$L("\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0")},model:{value:t.departmentData.name,callback:function(a){t.$set(t.departmentData,"name",a)},expression:"departmentData.name"}})],1),e("FormItem",{attrs:{prop:"parent_id",label:t.$L("\u4E0A\u7EA7\u90E8\u95E8")}},[e("Select",{attrs:{disabled:t.departmentParentDisabled,placeholder:t.$L("\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8")},model:{value:t.departmentData.parent_id,callback:function(a){t.$set(t.departmentData,"parent_id",a)},expression:"departmentData.parent_id"}},[e("Option",{attrs:{value:0}},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),t._l(t.departmentList,function(a,i){return a.parent_id==0&&a.id!=t.departmentData.id?e("Option",{key:i,attrs:{value:a.id,label:a.name}},[t._v("\xA0\xA0\xA0\xA0"+t._s(a.name))]):t._e()})],2),t.departmentParentDisabled?e("div",{staticClass:"form-tip",staticStyle:{"margin-bottom":"-16px"}},[t._v(t._s(t.$L("\u542B\u6709\u5B50\u90E8\u95E8\u65E0\u6CD5\u4FEE\u6539\u4E0A\u7EA7\u90E8\u95E8")))]):t._e()],1),e("FormItem",{attrs:{prop:"owner_userid",label:t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")}},[e("UserInput",{attrs:{"multiple-max":1,"max-hidden-select":"",placeholder:t.$L("\u8BF7\u9009\u62E9\u90E8\u95E8\u8D1F\u8D23\u4EBA")},model:{value:t.departmentData.owner_userid,callback:function(a){t.$set(t.departmentData,"owner_userid",a)},expression:"departmentData.owner_userid"}})],1),t.departmentData.id==0?[e("Divider",{attrs:{orientation:"left"}},[t._v(t._s(t.$L("\u7FA4\u7EC4\u8BBE\u7F6E")))]),e("FormItem",{attrs:{prop:"dialog_group",label:t.$L("\u90E8\u95E8\u7FA4\u804A")}},[e("RadioGroup",{model:{value:t.departmentData.dialog_group,callback:function(a){t.$set(t.departmentData,"dialog_group",a)},expression:"departmentData.dialog_group"}},[e("Radio",{attrs:{label:"new"}},[t._v(t._s(t.$L("\u521B\u5EFA\u90E8\u95E8\u7FA4")))]),e("Radio",{attrs:{label:"use"}},[t._v(t._s(t.$L("\u4F7F\u7528\u73B0\u6709\u7FA4")))])],1)],1),t.departmentData.dialog_group==="use"?e("FormItem",{attrs:{prop:"dialog_useid",label:t.$L("\u9009\u62E9\u7FA4\u7EC4")}},[e("Select",{attrs:{filterable:"","remote-method":t.dialogRemote,placeholder:t.$L("\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22\u7FA4"),loading:t.dialogLoad},model:{value:t.departmentData.dialog_useid,callback:function(a){t.$set(t.departmentData,"dialog_useid",a)},expression:"departmentData.dialog_useid"}},t._l(t.dialogList,function(a,i){return e("Option",{key:i,attrs:{value:a.id,label:a.name}},[e("div",{staticClass:"team-department-add-dialog-group"},[e("div",{staticClass:"dialog-name"},[t._v(t._s(a.name))]),e("UserAvatar",{attrs:{userid:a.owner_id,size:20}})],1)])}),1),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EC5\u652F\u6301\u9009\u62E9\u4E2A\u4EBA\u7FA4\u8F6C\u4E3A\u90E8\u95E8\u7FA4")))])],1):t._e()]:t._e()],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentLoading>0},on:{click:t.onSaveDepartment}},[t._v(t._s(t.$L(t.departmentData.id>0?"\u4FDD\u5B58":"\u65B0\u5EFA")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u7B7E\u5230MAC\u5730\u5740")},model:{value:t.checkinMacEditShow,callback:function(a){t.checkinMacEditShow=a},expression:"checkinMacEditShow"}},[e("Form",{attrs:{model:t.checkinMacEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.checkinMacEditData.userid}\uFF0C${t.checkinMacEditData.nickname}\u3011MAC\u5730\u5740\u4FEE\u6539\u3002`)))]),e("Row",{staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u8BBE\u5907MAC\u5730\u5740")))]),e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u5907\u6CE8")))])],1),t._l(t.checkinMacEditData.checkin_macs,function(a,i){return e("Row",{key:i,staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8BBE\u5907MAC\u5730\u5740"),clearable:""},on:{"on-clear":function(n){return t.delCheckinDatum(i)}},model:{value:a.mac,callback:function(n){t.$set(a,"mac",n)},expression:"item.mac"}})],1),e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:100,placeholder:t.$L("\u5907\u6CE8")},model:{value:a.remark,callback:function(n){t.$set(a,"remark",n)},expression:"item.remark"}})],1)],1)}),e("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addCheckinDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u8BBE\u5907")))])],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.checkinMacEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.checkinMacEditLoading>0},on:{click:function(a){return t.operationUser(t.checkinMacEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u90E8\u95E8")},model:{value:t.departmentEditShow,callback:function(a){t.departmentEditShow=a},expression:"departmentEditShow"}},[e("Form",{attrs:{model:t.departmentEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.departmentEditData.userid}\uFF0C${t.departmentEditData.nickname}\u3011\u90E8\u95E8\u4FEE\u6539\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u4FEE\u6539\u90E8\u95E8")}},[e("Select",{attrs:{multiple:"","multiple-max":10,placeholder:t.$L("\u7559\u7A7A\u4E3A\u9ED8\u8BA4\u90E8\u95E8")},model:{value:t.departmentEditData.department,callback:function(a){t.$set(t.departmentEditData,"department",a)},expression:"departmentEditData.department"}},t._l(t.departmentList,function(a,i){return e("Option",{key:i,attrs:{value:a.id}},[t._v(t._s(a.name))])}),1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentEditLoading>0},on:{click:function(a){return t.operationUser(t.departmentEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u64CD\u4F5C\u79BB\u804C")},model:{value:t.disableShow,callback:function(a){t.disableShow=a},expression:"disableShow"}},[e("Form",{attrs:{model:t.disableData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.disableData.userid}\uFF0C${t.disableData.nickname}\u3011\u79BB\u804C\u64CD\u4F5C\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u79BB\u804C\u65F6\u95F4")}},[e("DatePicker",{ref:"disableTime",staticStyle:{width:"100%"},attrs:{editable:!1,placeholder:t.$L("\u9009\u62E9\u79BB\u804C\u65F6\u95F4"),options:t.disableOptions,format:"yyyy/MM/dd HH:mm",type:"datetime"},model:{value:t.disableData.disable_time,callback:function(a){t.$set(t.disableData,"disable_time",a)},expression:"disableData.disable_time"}})],1),e("FormItem",{attrs:{label:t.$L("\u4EA4\u63A5\u4EBA")}},[e("UserInput",{attrs:{"disabled-choice":[t.disableData.userid],"multiple-max":1,"max-hidden-select":"",placeholder:t.$L("\u9009\u62E9\u4EA4\u63A5\u4EBA")},model:{value:t.disableData.transfer_userid,callback:function(a){t.$set(t.disableData,"transfer_userid",a)},expression:"disableData.transfer_userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L(`${t.disableData.nickname} \u8D1F\u8D23\u7684\u90E8\u95E8\u3001\u9879\u76EE\u3001\u4EFB\u52A1\u548C\u6587\u4EF6\u5C06\u79FB\u4EA4\u7ED9\u4EA4\u63A5\u4EBA\uFF1B\u540C\u65F6\u9000\u51FA\u6240\u6709\u7FA4\uFF08\u5982\u679C\u662F\u7FA4\u4E3B\u5219\u8F6C\u8BA9\u7ED9\u4EA4\u63A5\u4EBA\uFF09`)))])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.disableShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":t.$L("\u786E\u5B9A"),"cancel-text":t.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(a){return t.operationUser(t.disableData,!0)}}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("p",[t._v(t._s(t.$L("\u6CE8\u610F\uFF1A\u79BB\u804C\u64CD\u4F5C\u4E0D\u53EF\u9006\uFF01")))])]),e("Button",{attrs:{type:"primary",loading:t.disableLoading>0}},[t._v(t._s(t.$L("\u786E\u5B9A\u79BB\u804C")))])],1)],1)],1)],1)},p=[];const m={name:"TeamManagement",components:{UserInput:l},props:{checkinMac:{type:Boolean,default:!1}},data(){return{loadIng:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"userid",width:80,render:(t,{row:s,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",s.userid)])},{title:this.$L("\u90AE\u7BB1"),key:"email",minWidth:160,render:(t,{row:s})=>{const e=[t("AutoTip",s.email)],{email_verity:a,identity:i,disable_at:n}=s;return a&&e.push(t("Icon",{props:{type:"md-mail"}})),i.includes("ldap")&&e.push(t("Tag",{props:{color:"orange"}},this.$L("LDAP"))),i.includes("admin")&&e.push(t("Tag",{props:{color:"warning"}},this.$L("\u7BA1\u7406\u5458"))),i.includes("temp")&&e.push(t("Tag",{props:{color:"success"}},this.$L("\u4E34\u65F6"))),i.includes("disable")&&e.push(t("Tooltip",{props:{content:this.$L("\u79BB\u804C\u65F6\u95F4")+": "+n}},[t("Tag",{props:{color:"error"}},this.$L("\u79BB\u804C"))])),t("div",{class:"team-email"},e)}},{title:this.$L("\u7535\u8BDD"),key:"tel",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.tel},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,tel:e},!0).finally(a)}}},[t("AutoTip",s.tel||"-")])},{title:this.$L("\u6635\u79F0"),key:"nickname",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.nickname_original},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,nickname:e},!0).finally(a)}}},[t("AutoTip",s.nickname_original||"-")])},{title:this.$L("\u804C\u4F4D/\u804C\u79F0"),key:"profession",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.profession},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,profession:e},!0).finally(a)}}},[t("AutoTip",s.profession||"-")])},{title:this.$L("\u90E8\u95E8"),key:"department",minWidth:80,render:(t,{row:s})=>{let e=[];if(s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.name)}),e.length===0)return t("div",this.$L("\u9ED8\u8BA4\u90E8\u95E8"));{const a=[];return a.push(t("span",{domProps:{title:e[0]}},e[0])),e.length>1&&(e=e.splice(1),a.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},a)}}},{title:this.$L("\u6700\u540E\u5728\u7EBF"),key:"line_at",width:168},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(t,s)=>{const e=s.row.identity,a=[];e.includes("admin")?a.push(t("EDropdownItem",{props:{command:"clearadmin"}},[t("div",this.$L("\u53D6\u6D88\u7BA1\u7406\u5458"))])):a.push(t("EDropdownItem",{props:{command:"setadmin"}},[t("div",this.$L("\u8BBE\u4E3A\u7BA1\u7406\u5458"))])),e.includes("temp")?a.push(t("EDropdownItem",{props:{command:"cleartemp"}},[t("div",this.$L("\u53D6\u6D88\u4E34\u65F6\u8EAB\u4EFD"))])):a.push(t("EDropdownItem",{props:{command:"settemp"}},[t("div",this.$L("\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7"))])),a.push(t("EDropdownItem",{props:{command:"email"}},[t("div",this.$L("\u4FEE\u6539\u90AE\u7BB1"))])),a.push(t("EDropdownItem",{props:{command:"password"}},[t("div",this.$L("\u4FEE\u6539\u5BC6\u7801"))])),this.checkinMac&&a.push(t("EDropdownItem",{props:{command:"checkin_mac"}},[t("div",this.$L("\u4FEE\u6539MAC"))])),a.push(t("EDropdownItem",{props:{command:"department"}},[t("div",this.$L("\u4FEE\u6539\u90E8\u95E8"))])),e.includes("disable")?a.push(t("EDropdownItem",{props:{command:"cleardisable"},style:{color:"#f90"}},[t("div",this.$L("\u6062\u590D\u5E10\u53F7\uFF08\u5DF2\u79BB\u804C\uFF09"))])):a.push(t("EDropdownItem",{props:{command:"setdisable"},style:{color:"#f90"}},[t("div",this.$L("\u64CD\u4F5C\u79BB\u804C"))])),a.push(t("EDropdownItem",{props:{command:"delete"},style:{color:"red"}},[t("div",this.$L("\u5220\u9664"))]));const i=t("EDropdown",{props:{size:"small",trigger:"click"},on:{command:n=>{this.dropUser(n,s.row)}}},[t("Button",{props:{type:"primary",size:"small"},style:{fontSize:"12px"}},this.$L("\u64CD\u4F5C")),t("EDropdownMenu",{slot:"dropdown"},[a])]);return t("TableAction",{props:{column:s.column}},[i])}}],list:[],page:1,pageSize:20,total:0,noText:"",checkinMacEditShow:!1,checkinMacEditLoading:0,checkinMacEditData:{},departmentEditShow:!1,departmentEditLoading:0,departmentEditData:{},disableShow:!1,disableLoading:0,disableData:{},disableOptions:{shortcuts:[{text:this.$L("12:00"),value(){return $A.Date($A.formatDate("Y-m-d 12:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("17:00"),value(){return $A.Date($A.formatDate("Y-m-d 17:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("18:00"),value(){return $A.Date($A.formatDate("Y-m-d 18:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("19:00"),value(){return $A.Date($A.formatDate("Y-m-d 19:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("\u73B0\u5728"),value(){return new Date},onClick:t=>{t.handlePickSuccess()}}]},departmentShow:!1,departmentLoading:0,departmentSelect:-1,departmentData:{id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new",dialog_useid:0},departmentList:[],dialogLoad:!1,dialogList:[],nullCheckinDatum:{mac:"",remark:""}}},created(){this.checkinMac&&this.columns.splice(5,0,{title:this.$L("MAC\u5730\u5740"),key:"checkin_mac",minWidth:80,render:(t,{row:s})=>{let e=$A.cloneJSON(s.checkin_macs||[]);if(e.length===0)return t("div","-");{const a=n=>n.remark?`${n.mac} (${n.remark})`:n.mac,i=[];return i.push(t("AutoTip",a(e[0]))),e.length>1&&(e=e.splice(1),i.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.map(n=>a(n)).join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},i)}}})},mounted(){this.getLists(),this.getDepartmentLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))},departmentSelect(){this.setPage(1)}},computed:{departmentParentDisabled(){return!!(this.departmentData.id>0&&this.departmentList.find(({parent_id:t})=>t==this.departmentData.id))}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="";let t=$A.cloneJSON(this.keys);this.departmentSelect>-1&&(t=Object.assign(t,{department:this.departmentSelect})),this.$store.dispatch("call",{url:"users/lists",data:{keys:t,get_checkin_mac:this.checkinMac?1:0,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:s})=>{this.page=s.current_page,this.total=s.total,this.list=s.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6210\u5458"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(s=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()},dropUser(t,s){switch(t){case"settemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u5C06\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7\u5417\uFF1F\uFF08\u6CE8\uFF1A\u4E34\u65F6\u5E10\u53F7\u9650\u5236\u8BF7\u67E5\u770B\u7CFB\u7EDF\u8BBE\u7F6E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"cleartemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u53D6\u6D88\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u4E34\u65F6\u8EAB\u4EFD\u5417\uFF1F`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"email":$A.modalInput({title:"\u4FEE\u6539\u90AE\u7BB1",placeholder:`\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\uFF08${s.email}\uFF09`,onOk:a=>a?this.operationUser({userid:s.userid,email:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\u5730\u5740"});break;case"password":$A.modalInput({title:"\u4FEE\u6539\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",onOk:a=>a?this.operationUser({userid:s.userid,password:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801"});break;case"checkin_mac":this.checkinMacEditData={type:"checkin_macs",userid:s.userid,nickname:s.nickname,checkin_macs:s.checkin_macs},this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum(),this.checkinMacEditShow=!0;break;case"department":let e=[];s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.owner_userid===s.userid?`${i.name} (${this.$L("\u8D1F\u8D23\u4EBA")})`:i.name)}),this.departmentEditData={type:"department",userid:s.userid,nickname:s.nickname,department:s.department.map(a=>parseInt(a))},this.departmentEditShow=!0;break;case"setdisable":this.disableData={type:"setdisable",userid:s.userid,nickname:s.nickname},this.disableShow=!0;break;case"cleardisable":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6062\u590D\u5DF2\u79BB\u804C\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u5417\uFF1F\uFF08\u6CE8\uFF1A\u6B64\u64CD\u4F5C\u4EC5\u6062\u590D\u5E10\u53F7\u72B6\u6001\uFF0C\u65E0\u6CD5\u6062\u590D\u64CD\u4F5C\u79BB\u804C\u65F6\u79FB\u4EA4\u7684\u6570\u636E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"delete":$A.modalInput({title:`\u5220\u9664\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011`,placeholder:"\u8BF7\u8F93\u5165\u5220\u9664\u539F\u56E0",okText:"\u786E\u5B9A\u5220\u9664",onOk:a=>a?this.operationUser({userid:s.userid,type:t,delete_reason:a}):"\u5220\u9664\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"});break;default:this.operationUser({userid:s.userid,type:t},!0);break}},operationUser(t,s){return new Promise((e,a)=>{t.type=="checkin_macs"?this.checkinMacEditLoading++:t.type=="department"?this.departmentEditLoading++:t.type=="setdisable"?this.disableLoading++:this.loadIng++,this.$store.dispatch("call",{url:"users/operation",data:t}).then(({msg:i})=>{$A.messageSuccess(i),this.getLists(),e(),t.type=="checkin_macs"?this.checkinMacEditShow=!1:t.type=="department"?this.departmentEditShow=!1:t.type=="setdisable"&&(this.disableShow=!1)}).catch(({msg:i})=>{s===!0&&$A.modalError(i),this.getLists(),a(i)}).finally(i=>{t.type=="checkin_macs"?this.checkinMacEditLoading--:t.type=="department"?this.departmentEditLoading--:t.type=="setdisable"?this.disableLoading--:this.loadIng--})})},getDepartmentLists(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/list"}).then(({data:t})=>{this.departmentList=[],this.generateDepartmentList(t,0,1)}).finally(t=>{this.departmentLoading--})},generateDepartmentList(t,s,e){t.some(a=>{a.parent_id==s&&(this.departmentList.push(Object.assign(a,{level:e+1})),this.generateDepartmentList(t,a.id,e+1))})},onShowDepartment(t){this.departmentData=Object.assign({id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new"},t||{}),this.departmentShow=!0},onSaveDepartment(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/add",data:Object.assign(this.departmentData,{owner_userid:this.departmentData.owner_userid[0]})}).then(({msg:t})=>{$A.messageSuccess(t),this.getDepartmentLists(),this.getLists(),this.departmentShow=!1}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.departmentLoading--})},onSelectDepartment(t){if(this.departmentSelect===t){this.departmentSelect=-1;return}this.departmentSelect=t},onOpDepartment(t){if($A.leftExists(t,"add_"))this.onShowDepartment({parent_id:parseInt(t.substr(4))});else if($A.leftExists(t,"edit_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(5)));s&&this.onShowDepartment(s)}else if($A.leftExists(t,"del_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(4)));s&&$A.modalConfirm({title:this.$L("\u5220\u9664\u90E8\u95E8"),content:`
${this.$L(`\u4F60\u786E\u5B9A\u8981\u5220\u9664\u3010${s.name}\u3011\u90E8\u95E8\u5417\uFF1F`)}
${this.$L("\u6CE8\u610F\uFF1A\u6B64\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u90E8\u95E8\u4E0B\u7684\u6210\u5458\u5C06\u79FB\u81F3\u9ED8\u8BA4\u90E8\u95E8\u3002")}
`,language:!1,loading:!0,onOk:()=>new Promise((e,a)=>{this.$store.dispatch("call",{url:"users/department/del",data:{id:s.id}}).then(({msg:i})=>{s.id===this.departmentSelect&&(this.departmentSelect=-1),e(i),this.getDepartmentLists()}).catch(({msg:i})=>{a(i)})})})}},dialogRemote(t){t!==""?(this.dialogLoad=!0,this.$store.dispatch("call",{url:"dialog/group/searchuser",data:{key:t}}).then(({data:s})=>{this.dialogList=s.list}).finally(s=>{this.dialogLoad=!1})):this.dialogList=[]},addCheckinDatum(){this.checkinMacEditData.checkin_macs.push($A.cloneJSON(this.nullCheckinDatum))},delCheckinDatum(t){this.checkinMacEditData.checkin_macs.splice(t,1),this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum()}}},r={};var u=d(m,c,p,!1,h,null,null,null);function h(t){for(let s in r)this[s]=r[s]}var D=function(){return u.exports}(),_=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Modal",{attrs:{title:t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E"),"mask-closable":!1},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("Form",{ref:"export",attrs:{model:t.formData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5BFC\u51FA\u6210\u5458")}},[e("UserInput",{attrs:{"multiple-max":100,placeholder:t.$L("\u8BF7\u9009\u62E9\u6210\u5458")},model:{value:t.formData.userid,callback:function(a){t.$set(t.formData,"userid",a)},expression:"formData.userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6BCF\u6B21\u6700\u591A\u9009\u62E9\u5BFC\u51FA100\u4E2A\u6210\u5458")))])],1),e("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u65E5\u671F")}},[e("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("\u8BF7\u9009\u62E9\u7B7E\u5230\u65E5\u671F")},model:{value:t.formData.date,callback:function(a){t.$set(t.formData,"date",a)},expression:"formData.date"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("prev")}}},[t._v(t._s(t.$L("\u4E0A\u4E2A\u6708")))]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("this")}}},[t._v(t._s(t.$L("\u8FD9\u4E2A\u6708")))])])],1),e("FormItem",{attrs:{label:t.$L("\u73ED\u6B21\u65F6\u95F4")}},[e("TimePicker",{staticStyle:{width:"100%"},attrs:{type:"timerange",format:"HH:mm",placeholder:t.$L("\u8BF7\u9009\u62E9\u73ED\u6B21\u65F6\u95F4")},model:{value:t.formData.time,callback:function(a){t.$set(t.formData,"time",a)},expression:"formData.time"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.time=["8:30","18:00"]}}},[t._v("8:30-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:00","18:00"]}}},[t._v("9:00-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:30","18:00"]}}},[t._v("9:30-18:30")])])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onExport}},[t._v(t._s(t.$L("\u5BFC\u51FA")))])],1)],1)},f=[];const v={name:"CheckinExport",components:{UserInput:l},props:{value:{type:Boolean,default:!1}},data(){return{show:this.value,loadIng:0,formData:{userid:[],date:[],time:[]}}},watch:{value(t){this.show=t},show(t){this.value!==t&&this.$emit("input",t)}},methods:{dateShortcuts(t){if(t==="prev")return[$A.getSpecifyDate("\u4E0A\u4E2A\u6708"),$A.getSpecifyDate("\u4E0A\u4E2A\u6708\u7ED3\u675F")];if(t==="this")return[$A.getSpecifyDate("\u672C\u6708"),$A.getSpecifyDate("\u672C\u6708\u7ED3\u675F")]},onExport(){this.loadIng>0||(this.loadIng++,this.$store.dispatch("call",{url:"system/checkin/export",data:this.formData}).then(({data:t})=>{this.show=!1,this.$store.dispatch("downUrl",{url:t.url})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))}}},o={};var $=d(v,_,f,!1,k,null,null,null);function k(t){for(let s in o)this[s]=o[s]}var b=function(){return $.exports}();export{b as C,D as T}; +import{U as l}from"./UserInput.ca38ea3c.js";import{n as d}from"./app.139edc4e.js";var c=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"team-management"},[e("div",{staticClass:"management-title"},[t._v(" "+t._s(t.$L("\u56E2\u961F\u7BA1\u7406"))+" "),e("div",{staticClass:"title-icon"},[t.loadIng>0?e("Loading"):t._e()],1)]),e("div",{staticClass:"management-box"},[e("div",{staticClass:"management-department"},[e("ul",[e("li",{class:["level-1",t.departmentSelect===0?"active":""],on:{click:function(a){return t.onSelectDepartment(0)}}},[e("i",{staticClass:"taskfont department-icon"},[t._v("\uE766")]),e("div",{staticClass:"department-title"},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(a){a.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("EDropdownItem",{attrs:{command:"add_0"}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])])],1)],1)],1),t._l(t.departmentList,function(a){return e("li",{key:a.id,class:[`level-${a.level}`,t.departmentSelect===a.id?"active":""],on:{click:function(i){return t.onSelectDepartment(a.id)}}},[e("UserAvatar",{staticClass:"department-icon",attrs:{userid:a.owner_userid,size:20}},[e("p",[e("strong",[t._v(t._s(t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")))])])]),e("div",{staticClass:"department-title"},[t._v(t._s(a.name))]),e("EDropdown",{attrs:{size:"medium",trigger:"click"},on:{command:t.onOpDepartment}},[e("i",{staticClass:"taskfont department-menu",on:{click:function(i){i.stopPropagation()}}},[t._v("\uE6E9")]),e("EDropdownMenu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a.level<=2?e("EDropdownItem",{attrs:{command:`add_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u6DFB\u52A0\u5B50\u90E8\u95E8")))])]):t._e(),e("EDropdownItem",{attrs:{command:`edit_${a.id}`}},[e("div",[t._v(t._s(t.$L("\u7F16\u8F91")))])]),e("EDropdownItem",{attrs:{command:`del_${a.id}`}},[e("div",{staticStyle:{color:"#f00"}},[t._v(t._s(t.$L("\u5220\u9664")))])])],1)],1)],1)})],2),e("div",{staticClass:"department-buttons"},[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(a){return t.onShowDepartment(null)}}},[t._v(t._s(t.$L("\u65B0\u5EFA\u90E8\u95E8")))])],1)]),e("div",{staticClass:"management-user"},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5173\u952E\u8BCD"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("\u90AE\u7BB1\u3001\u6635\u79F0\u3001\u804C\u4F4D"),clearable:""},model:{value:t.keys.key,callback:function(a){t.$set(t.keys,"key",a)},expression:"keys.key"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u8EAB\u4EFD"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.identity,callback:function(a){t.$set(t.keys,"identity",a)},expression:"keys.identity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"admin"}},[t._v(t._s(t.$L("\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"noadmin"}},[t._v(t._s(t.$L("\u975E\u7BA1\u7406\u5458")))]),e("Option",{attrs:{value:"temp"}},[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7")))]),e("Option",{attrs:{value:"notemp"}},[t._v(t._s(t.$L("\u975E\u4E34\u65F6\u5E10\u53F7")))])],1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5728\u804C\u72B6\u6001"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5728\u804C")},model:{value:t.keys.disable,callback:function(a){t.$set(t.keys,"disable",a)},expression:"keys.disable"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5728\u804C")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u79BB\u804C")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8")))])],1)],1)]),t.checkinMac?e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("MAC\u5730\u5740"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("MAC\u5730\u5740"),clearable:""},model:{value:t.keys.checkin_mac,callback:function(a){t.$set(t.keys,"checkin_mac",a)},expression:"keys.checkin_mac"}})],1)]):e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u90AE\u7BB1\u8BA4\u8BC1"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.email_verity,callback:function(a){t.$set(t.keys,"email_verity",a)},expression:"keys.email_verity"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u5168\u90E8")))]),e("Option",{attrs:{value:"yes"}},[t._v(t._s(t.$L("\u5DF2\u90AE\u7BB1\u8BA4\u8BC1")))]),e("Option",{attrs:{value:"no"}},[t._v(t._s(t.$L("\u672A\u90AE\u7BB1\u8BA4\u8BC1")))])],1)],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"bottom","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(a){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])]),e("Modal",{attrs:{title:t.$L(t.departmentData.id>0?"\u4FEE\u6539\u90E8\u95E8":"\u65B0\u5EFA\u90E8\u95E8"),"mask-closable":!1},model:{value:t.departmentShow,callback:function(a){t.departmentShow=a},expression:"departmentShow"}},[e("Form",{ref:"addProject",attrs:{model:t.departmentData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{prop:"name",label:t.$L("\u90E8\u95E8\u540D\u79F0")}},[e("Input",{attrs:{type:"text",placeholder:t.$L("\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0")},model:{value:t.departmentData.name,callback:function(a){t.$set(t.departmentData,"name",a)},expression:"departmentData.name"}})],1),e("FormItem",{attrs:{prop:"parent_id",label:t.$L("\u4E0A\u7EA7\u90E8\u95E8")}},[e("Select",{attrs:{disabled:t.departmentParentDisabled,placeholder:t.$L("\u8BF7\u9009\u62E9\u4E0A\u7EA7\u90E8\u95E8")},model:{value:t.departmentData.parent_id,callback:function(a){t.$set(t.departmentData,"parent_id",a)},expression:"departmentData.parent_id"}},[e("Option",{attrs:{value:0}},[t._v(t._s(t.$L("\u9ED8\u8BA4\u90E8\u95E8")))]),t._l(t.departmentList,function(a,i){return a.parent_id==0&&a.id!=t.departmentData.id?e("Option",{key:i,attrs:{value:a.id,label:a.name}},[t._v("\xA0\xA0\xA0\xA0"+t._s(a.name))]):t._e()})],2),t.departmentParentDisabled?e("div",{staticClass:"form-tip",staticStyle:{"margin-bottom":"-16px"}},[t._v(t._s(t.$L("\u542B\u6709\u5B50\u90E8\u95E8\u65E0\u6CD5\u4FEE\u6539\u4E0A\u7EA7\u90E8\u95E8")))]):t._e()],1),e("FormItem",{attrs:{prop:"owner_userid",label:t.$L("\u90E8\u95E8\u8D1F\u8D23\u4EBA")}},[e("UserInput",{attrs:{"multiple-max":1,"max-hidden-select":"",placeholder:t.$L("\u8BF7\u9009\u62E9\u90E8\u95E8\u8D1F\u8D23\u4EBA")},model:{value:t.departmentData.owner_userid,callback:function(a){t.$set(t.departmentData,"owner_userid",a)},expression:"departmentData.owner_userid"}})],1),t.departmentData.id==0?[e("Divider",{attrs:{orientation:"left"}},[t._v(t._s(t.$L("\u7FA4\u7EC4\u8BBE\u7F6E")))]),e("FormItem",{attrs:{prop:"dialog_group",label:t.$L("\u90E8\u95E8\u7FA4\u804A")}},[e("RadioGroup",{model:{value:t.departmentData.dialog_group,callback:function(a){t.$set(t.departmentData,"dialog_group",a)},expression:"departmentData.dialog_group"}},[e("Radio",{attrs:{label:"new"}},[t._v(t._s(t.$L("\u521B\u5EFA\u90E8\u95E8\u7FA4")))]),e("Radio",{attrs:{label:"use"}},[t._v(t._s(t.$L("\u4F7F\u7528\u73B0\u6709\u7FA4")))])],1)],1),t.departmentData.dialog_group==="use"?e("FormItem",{attrs:{prop:"dialog_useid",label:t.$L("\u9009\u62E9\u7FA4\u7EC4")}},[e("Select",{attrs:{filterable:"","remote-method":t.dialogRemote,placeholder:t.$L("\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22\u7FA4"),loading:t.dialogLoad},model:{value:t.departmentData.dialog_useid,callback:function(a){t.$set(t.departmentData,"dialog_useid",a)},expression:"departmentData.dialog_useid"}},t._l(t.dialogList,function(a,i){return e("Option",{key:i,attrs:{value:a.id,label:a.name}},[e("div",{staticClass:"team-department-add-dialog-group"},[e("div",{staticClass:"dialog-name"},[t._v(t._s(a.name))]),e("UserAvatar",{attrs:{userid:a.owner_id,size:20}})],1)])}),1),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EC5\u652F\u6301\u9009\u62E9\u4E2A\u4EBA\u7FA4\u8F6C\u4E3A\u90E8\u95E8\u7FA4")))])],1):t._e()]:t._e()],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentLoading>0},on:{click:t.onSaveDepartment}},[t._v(t._s(t.$L(t.departmentData.id>0?"\u4FDD\u5B58":"\u65B0\u5EFA")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u7B7E\u5230MAC\u5730\u5740")},model:{value:t.checkinMacEditShow,callback:function(a){t.checkinMacEditShow=a},expression:"checkinMacEditShow"}},[e("Form",{attrs:{model:t.checkinMacEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.checkinMacEditData.userid}\uFF0C${t.checkinMacEditData.nickname}\u3011MAC\u5730\u5740\u4FEE\u6539\u3002`)))]),e("Row",{staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u8BBE\u5907MAC\u5730\u5740")))]),e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u5907\u6CE8")))])],1),t._l(t.checkinMacEditData.checkin_macs,function(a,i){return e("Row",{key:i,staticClass:"team-department-checkin-item"},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8BBE\u5907MAC\u5730\u5740"),clearable:""},on:{"on-clear":function(n){return t.delCheckinDatum(i)}},model:{value:a.mac,callback:function(n){t.$set(a,"mac",n)},expression:"item.mac"}})],1),e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:100,placeholder:t.$L("\u5907\u6CE8")},model:{value:a.remark,callback:function(n){t.$set(a,"remark",n)},expression:"item.remark"}})],1)],1)}),e("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addCheckinDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u8BBE\u5907")))])],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.checkinMacEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.checkinMacEditLoading>0},on:{click:function(a){return t.operationUser(t.checkinMacEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u4FEE\u6539\u90E8\u95E8")},model:{value:t.departmentEditShow,callback:function(a){t.departmentEditShow=a},expression:"departmentEditShow"}},[e("Form",{attrs:{model:t.departmentEditData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.departmentEditData.userid}\uFF0C${t.departmentEditData.nickname}\u3011\u90E8\u95E8\u4FEE\u6539\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u4FEE\u6539\u90E8\u95E8")}},[e("Select",{attrs:{multiple:"","multiple-max":10,placeholder:t.$L("\u7559\u7A7A\u4E3A\u9ED8\u8BA4\u90E8\u95E8")},model:{value:t.departmentEditData.department,callback:function(a){t.$set(t.departmentEditData,"department",a)},expression:"departmentEditData.department"}},t._l(t.departmentList,function(a,i){return e("Option",{key:i,attrs:{value:a.id}},[t._v(t._s(a.name))])}),1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.departmentEditShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.departmentEditLoading>0},on:{click:function(a){return t.operationUser(t.departmentEditData,!0)}}},[t._v(t._s(t.$L("\u786E\u5B9A\u4FEE\u6539")))])],1)],1),e("Modal",{attrs:{title:t.$L("\u64CD\u4F5C\u79BB\u804C")},model:{value:t.disableShow,callback:function(a){t.disableShow=a},expression:"disableShow"}},[e("Form",{attrs:{model:t.disableData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("Alert",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"error"}},[t._v(t._s(t.$L(`\u6B63\u5728\u8FDB\u884C\u5E10\u53F7\u3010ID:${t.disableData.userid}\uFF0C${t.disableData.nickname}\u3011\u79BB\u804C\u64CD\u4F5C\u3002`)))]),e("FormItem",{attrs:{label:t.$L("\u79BB\u804C\u65F6\u95F4")}},[e("DatePicker",{ref:"disableTime",staticStyle:{width:"100%"},attrs:{editable:!1,placeholder:t.$L("\u9009\u62E9\u79BB\u804C\u65F6\u95F4"),options:t.disableOptions,format:"yyyy/MM/dd HH:mm",type:"datetime"},model:{value:t.disableData.disable_time,callback:function(a){t.$set(t.disableData,"disable_time",a)},expression:"disableData.disable_time"}})],1),e("FormItem",{attrs:{label:t.$L("\u4EA4\u63A5\u4EBA")}},[e("UserInput",{attrs:{"disabled-choice":[t.disableData.userid],"multiple-max":1,"max-hidden-select":"",placeholder:t.$L("\u9009\u62E9\u4EA4\u63A5\u4EBA")},model:{value:t.disableData.transfer_userid,callback:function(a){t.$set(t.disableData,"transfer_userid",a)},expression:"disableData.transfer_userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L(`${t.disableData.nickname} \u8D1F\u8D23\u7684\u90E8\u95E8\u3001\u9879\u76EE\u3001\u4EFB\u52A1\u548C\u6587\u4EF6\u5C06\u79FB\u4EA4\u7ED9\u4EA4\u63A5\u4EBA\uFF1B\u540C\u65F6\u9000\u51FA\u6240\u6709\u7FA4\uFF08\u5982\u679C\u662F\u7FA4\u4E3B\u5219\u8F6C\u8BA9\u7ED9\u4EA4\u63A5\u4EBA\uFF09`)))])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.disableShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":t.$L("\u786E\u5B9A"),"cancel-text":t.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(a){return t.operationUser(t.disableData,!0)}}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("p",[t._v(t._s(t.$L("\u6CE8\u610F\uFF1A\u79BB\u804C\u64CD\u4F5C\u4E0D\u53EF\u9006\uFF01")))])]),e("Button",{attrs:{type:"primary",loading:t.disableLoading>0}},[t._v(t._s(t.$L("\u786E\u5B9A\u79BB\u804C")))])],1)],1)],1)],1)},p=[];const m={name:"TeamManagement",components:{UserInput:l},props:{checkinMac:{type:Boolean,default:!1}},data(){return{loadIng:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"userid",width:80,render:(t,{row:s,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",s.userid)])},{title:this.$L("\u90AE\u7BB1"),key:"email",minWidth:160,render:(t,{row:s})=>{const e=[t("AutoTip",s.email)],{email_verity:a,identity:i,disable_at:n}=s;return a&&e.push(t("Icon",{props:{type:"md-mail"}})),i.includes("ldap")&&e.push(t("Tag",{props:{color:"orange"}},this.$L("LDAP"))),i.includes("admin")&&e.push(t("Tag",{props:{color:"warning"}},this.$L("\u7BA1\u7406\u5458"))),i.includes("temp")&&e.push(t("Tag",{props:{color:"success"}},this.$L("\u4E34\u65F6"))),i.includes("disable")&&e.push(t("Tooltip",{props:{content:this.$L("\u79BB\u804C\u65F6\u95F4")+": "+n}},[t("Tag",{props:{color:"error"}},this.$L("\u79BB\u804C"))])),t("div",{class:"team-email"},e)}},{title:this.$L("\u7535\u8BDD"),key:"tel",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.tel},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,tel:e},!0).finally(a)}}},[t("AutoTip",s.tel||"-")])},{title:this.$L("\u6635\u79F0"),key:"nickname",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.nickname_original},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,nickname:e},!0).finally(a)}}},[t("AutoTip",s.nickname_original||"-")])},{title:this.$L("\u804C\u4F4D/\u804C\u79F0"),key:"profession",minWidth:80,render:(t,{row:s})=>t("QuickEdit",{props:{value:s.profession},on:{"on-update":(e,a)=>{this.operationUser({userid:s.userid,profession:e},!0).finally(a)}}},[t("AutoTip",s.profession||"-")])},{title:this.$L("\u90E8\u95E8"),key:"department",minWidth:80,render:(t,{row:s})=>{let e=[];if(s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.name)}),e.length===0)return t("div",this.$L("\u9ED8\u8BA4\u90E8\u95E8"));{const a=[];return a.push(t("span",{domProps:{title:e[0]}},e[0])),e.length>1&&(e=e.splice(1),a.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},a)}}},{title:this.$L("\u6700\u540E\u5728\u7EBF"),key:"line_at",width:168},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(t,s)=>{const e=s.row.identity,a=[];e.includes("admin")?a.push(t("EDropdownItem",{props:{command:"clearadmin"}},[t("div",this.$L("\u53D6\u6D88\u7BA1\u7406\u5458"))])):a.push(t("EDropdownItem",{props:{command:"setadmin"}},[t("div",this.$L("\u8BBE\u4E3A\u7BA1\u7406\u5458"))])),e.includes("temp")?a.push(t("EDropdownItem",{props:{command:"cleartemp"}},[t("div",this.$L("\u53D6\u6D88\u4E34\u65F6\u8EAB\u4EFD"))])):a.push(t("EDropdownItem",{props:{command:"settemp"}},[t("div",this.$L("\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7"))])),a.push(t("EDropdownItem",{props:{command:"email"}},[t("div",this.$L("\u4FEE\u6539\u90AE\u7BB1"))])),a.push(t("EDropdownItem",{props:{command:"password"}},[t("div",this.$L("\u4FEE\u6539\u5BC6\u7801"))])),this.checkinMac&&a.push(t("EDropdownItem",{props:{command:"checkin_mac"}},[t("div",this.$L("\u4FEE\u6539MAC"))])),a.push(t("EDropdownItem",{props:{command:"department"}},[t("div",this.$L("\u4FEE\u6539\u90E8\u95E8"))])),e.includes("disable")?a.push(t("EDropdownItem",{props:{command:"cleardisable"},style:{color:"#f90"}},[t("div",this.$L("\u6062\u590D\u5E10\u53F7\uFF08\u5DF2\u79BB\u804C\uFF09"))])):a.push(t("EDropdownItem",{props:{command:"setdisable"},style:{color:"#f90"}},[t("div",this.$L("\u64CD\u4F5C\u79BB\u804C"))])),a.push(t("EDropdownItem",{props:{command:"delete"},style:{color:"red"}},[t("div",this.$L("\u5220\u9664"))]));const i=t("EDropdown",{props:{size:"small",trigger:"click"},on:{command:n=>{this.dropUser(n,s.row)}}},[t("Button",{props:{type:"primary",size:"small"},style:{fontSize:"12px"}},this.$L("\u64CD\u4F5C")),t("EDropdownMenu",{slot:"dropdown"},[a])]);return t("TableAction",{props:{column:s.column}},[i])}}],list:[],page:1,pageSize:20,total:0,noText:"",checkinMacEditShow:!1,checkinMacEditLoading:0,checkinMacEditData:{},departmentEditShow:!1,departmentEditLoading:0,departmentEditData:{},disableShow:!1,disableLoading:0,disableData:{},disableOptions:{shortcuts:[{text:this.$L("12:00"),value(){return $A.Date($A.formatDate("Y-m-d 12:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("17:00"),value(){return $A.Date($A.formatDate("Y-m-d 17:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("18:00"),value(){return $A.Date($A.formatDate("Y-m-d 18:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("19:00"),value(){return $A.Date($A.formatDate("Y-m-d 19:00:00"))},onClick:t=>{t.handlePickSuccess()}},{text:this.$L("\u73B0\u5728"),value(){return new Date},onClick:t=>{t.handlePickSuccess()}}]},departmentShow:!1,departmentLoading:0,departmentSelect:-1,departmentData:{id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new",dialog_useid:0},departmentList:[],dialogLoad:!1,dialogList:[],nullCheckinDatum:{mac:"",remark:""}}},created(){this.checkinMac&&this.columns.splice(5,0,{title:this.$L("MAC\u5730\u5740"),key:"checkin_mac",minWidth:80,render:(t,{row:s})=>{let e=$A.cloneJSON(s.checkin_macs||[]);if(e.length===0)return t("div","-");{const a=n=>n.remark?`${n.mac} (${n.remark})`:n.mac,i=[];return i.push(t("AutoTip",a(e[0]))),e.length>1&&(e=e.splice(1),i.push(t("ETooltip",[t("div",{slot:"content",domProps:{innerHTML:e.map(n=>a(n)).join("
")}}),t("div",{class:"department-tag-num"},` +${e.length}`)]))),t("div",{class:"team-table-department-warp"},i)}}})},mounted(){this.getLists(),this.getDepartmentLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))},departmentSelect(){this.setPage(1)}},computed:{departmentParentDisabled(){return!!(this.departmentData.id>0&&this.departmentList.find(({parent_id:t})=>t==this.departmentData.id))}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="";let t=$A.cloneJSON(this.keys);this.departmentSelect>-1&&(t=Object.assign(t,{department:this.departmentSelect})),this.$store.dispatch("call",{url:"users/lists",data:{keys:t,get_checkin_mac:this.checkinMac?1:0,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:s})=>{this.page=s.current_page,this.total=s.total,this.list=s.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6210\u5458"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(s=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()},dropUser(t,s){switch(t){case"settemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u5C06\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u8BBE\u4E3A\u4E34\u65F6\u5E10\u53F7\u5417\uFF1F\uFF08\u6CE8\uFF1A\u4E34\u65F6\u5E10\u53F7\u9650\u5236\u8BF7\u67E5\u770B\u7CFB\u7EDF\u8BBE\u7F6E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"cleartemp":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u53D6\u6D88\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u4E34\u65F6\u8EAB\u4EFD\u5417\uFF1F`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"email":$A.modalInput({title:"\u4FEE\u6539\u90AE\u7BB1",placeholder:`\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\uFF08${s.email}\uFF09`,onOk:a=>a?this.operationUser({userid:s.userid,email:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u90AE\u7BB1\u5730\u5740"});break;case"password":$A.modalInput({title:"\u4FEE\u6539\u5BC6\u7801",placeholder:"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801",onOk:a=>a?this.operationUser({userid:s.userid,password:a}):"\u8BF7\u8F93\u5165\u65B0\u7684\u5BC6\u7801"});break;case"checkin_mac":this.checkinMacEditData={type:"checkin_macs",userid:s.userid,nickname:s.nickname,checkin_macs:s.checkin_macs},this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum(),this.checkinMacEditShow=!0;break;case"department":let e=[];s.department.some(a=>{const i=this.departmentList.find(n=>n.id==a);i&&e.push(i.owner_userid===s.userid?`${i.name} (${this.$L("\u8D1F\u8D23\u4EBA")})`:i.name)}),this.departmentEditData={type:"department",userid:s.userid,nickname:s.nickname,department:s.department.map(a=>parseInt(a))},this.departmentEditShow=!0;break;case"setdisable":this.disableData={type:"setdisable",userid:s.userid,nickname:s.nickname},this.disableShow=!0;break;case"cleardisable":$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6062\u590D\u5DF2\u79BB\u804C\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011\u5417\uFF1F\uFF08\u6CE8\uFF1A\u6B64\u64CD\u4F5C\u4EC5\u6062\u590D\u5E10\u53F7\u72B6\u6001\uFF0C\u65E0\u6CD5\u6062\u590D\u64CD\u4F5C\u79BB\u804C\u65F6\u79FB\u4EA4\u7684\u6570\u636E\uFF09`,loading:!0,onOk:()=>this.operationUser({userid:s.userid,type:t})});break;case"delete":$A.modalInput({title:`\u5220\u9664\u5E10\u53F7\u3010ID:${s.userid}\uFF0C${s.nickname}\u3011`,placeholder:"\u8BF7\u8F93\u5165\u5220\u9664\u539F\u56E0",okText:"\u786E\u5B9A\u5220\u9664",onOk:a=>a?this.operationUser({userid:s.userid,type:t,delete_reason:a}):"\u5220\u9664\u539F\u56E0\u4E0D\u80FD\u4E3A\u7A7A"});break;default:this.operationUser({userid:s.userid,type:t},!0);break}},operationUser(t,s){return new Promise((e,a)=>{t.type=="checkin_macs"?this.checkinMacEditLoading++:t.type=="department"?this.departmentEditLoading++:t.type=="setdisable"?this.disableLoading++:this.loadIng++,this.$store.dispatch("call",{url:"users/operation",data:t}).then(({msg:i})=>{$A.messageSuccess(i),this.getLists(),e(),t.type=="checkin_macs"?this.checkinMacEditShow=!1:t.type=="department"?this.departmentEditShow=!1:t.type=="setdisable"&&(this.disableShow=!1)}).catch(({msg:i})=>{s===!0&&$A.modalError(i),this.getLists(),a(i)}).finally(i=>{t.type=="checkin_macs"?this.checkinMacEditLoading--:t.type=="department"?this.departmentEditLoading--:t.type=="setdisable"?this.disableLoading--:this.loadIng--})})},getDepartmentLists(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/list"}).then(({data:t})=>{this.departmentList=[],this.generateDepartmentList(t,0,1)}).finally(t=>{this.departmentLoading--})},generateDepartmentList(t,s,e){t.some(a=>{a.parent_id==s&&(this.departmentList.push(Object.assign(a,{level:e+1})),this.generateDepartmentList(t,a.id,e+1))})},onShowDepartment(t){this.departmentData=Object.assign({id:0,name:"",parent_id:0,owner_userid:[],dialog_group:"new"},t||{}),this.departmentShow=!0},onSaveDepartment(){this.departmentLoading++,this.$store.dispatch("call",{url:"users/department/add",data:Object.assign(this.departmentData,{owner_userid:this.departmentData.owner_userid[0]})}).then(({msg:t})=>{$A.messageSuccess(t),this.getDepartmentLists(),this.getLists(),this.departmentShow=!1}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.departmentLoading--})},onSelectDepartment(t){if(this.departmentSelect===t){this.departmentSelect=-1;return}this.departmentSelect=t},onOpDepartment(t){if($A.leftExists(t,"add_"))this.onShowDepartment({parent_id:parseInt(t.substr(4))});else if($A.leftExists(t,"edit_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(5)));s&&this.onShowDepartment(s)}else if($A.leftExists(t,"del_")){const s=this.departmentList.find(({id:e})=>e===parseInt(t.substr(4)));s&&$A.modalConfirm({title:this.$L("\u5220\u9664\u90E8\u95E8"),content:`
${this.$L(`\u4F60\u786E\u5B9A\u8981\u5220\u9664\u3010${s.name}\u3011\u90E8\u95E8\u5417\uFF1F`)}
${this.$L("\u6CE8\u610F\uFF1A\u6B64\u64CD\u4F5C\u4E0D\u53EF\u6062\u590D\uFF0C\u90E8\u95E8\u4E0B\u7684\u6210\u5458\u5C06\u79FB\u81F3\u9ED8\u8BA4\u90E8\u95E8\u3002")}
`,language:!1,loading:!0,onOk:()=>new Promise((e,a)=>{this.$store.dispatch("call",{url:"users/department/del",data:{id:s.id}}).then(({msg:i})=>{s.id===this.departmentSelect&&(this.departmentSelect=-1),e(i),this.getDepartmentLists()}).catch(({msg:i})=>{a(i)})})})}},dialogRemote(t){t!==""?(this.dialogLoad=!0,this.$store.dispatch("call",{url:"dialog/group/searchuser",data:{key:t}}).then(({data:s})=>{this.dialogList=s.list}).finally(s=>{this.dialogLoad=!1})):this.dialogList=[]},addCheckinDatum(){this.checkinMacEditData.checkin_macs.push($A.cloneJSON(this.nullCheckinDatum))},delCheckinDatum(t){this.checkinMacEditData.checkin_macs.splice(t,1),this.checkinMacEditData.checkin_macs.length===0&&this.addCheckinDatum()}}},r={};var u=d(m,c,p,!1,h,null,null,null);function h(t){for(let s in r)this[s]=r[s]}var D=function(){return u.exports}(),_=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("Modal",{attrs:{title:t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E"),"mask-closable":!1},model:{value:t.show,callback:function(a){t.show=a},expression:"show"}},[e("Form",{ref:"export",attrs:{model:t.formData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5BFC\u51FA\u6210\u5458")}},[e("UserInput",{attrs:{"multiple-max":100,placeholder:t.$L("\u8BF7\u9009\u62E9\u6210\u5458")},model:{value:t.formData.userid,callback:function(a){t.$set(t.formData,"userid",a)},expression:"formData.userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6BCF\u6B21\u6700\u591A\u9009\u62E9\u5BFC\u51FA100\u4E2A\u6210\u5458")))])],1),e("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u65E5\u671F")}},[e("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("\u8BF7\u9009\u62E9\u7B7E\u5230\u65E5\u671F")},model:{value:t.formData.date,callback:function(a){t.$set(t.formData,"date",a)},expression:"formData.date"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("prev")}}},[t._v(t._s(t.$L("\u4E0A\u4E2A\u6708")))]),e("em",{on:{click:function(a){t.formData.date=t.dateShortcuts("this")}}},[t._v(t._s(t.$L("\u8FD9\u4E2A\u6708")))])])],1),e("FormItem",{attrs:{label:t.$L("\u73ED\u6B21\u65F6\u95F4")}},[e("TimePicker",{staticStyle:{width:"100%"},attrs:{type:"timerange",format:"HH:mm",placeholder:t.$L("\u8BF7\u9009\u62E9\u73ED\u6B21\u65F6\u95F4")},model:{value:t.formData.time,callback:function(a){t.$set(t.formData,"time",a)},expression:"formData.time"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(a){t.formData.time=["8:30","18:00"]}}},[t._v("8:30-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:00","18:00"]}}},[t._v("9:00-18:00")]),e("em",{on:{click:function(a){t.formData.time=["9:30","18:00"]}}},[t._v("9:30-18:30")])])],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(a){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onExport}},[t._v(t._s(t.$L("\u5BFC\u51FA")))])],1)],1)},f=[];const v={name:"CheckinExport",components:{UserInput:l},props:{value:{type:Boolean,default:!1}},data(){return{show:this.value,loadIng:0,formData:{userid:[],date:[],time:[]}}},watch:{value(t){this.show=t},show(t){this.value!==t&&this.$emit("input",t)}},methods:{dateShortcuts(t){if(t==="prev")return[$A.getSpecifyDate("\u4E0A\u4E2A\u6708"),$A.getSpecifyDate("\u4E0A\u4E2A\u6708\u7ED3\u675F")];if(t==="this")return[$A.getSpecifyDate("\u672C\u6708"),$A.getSpecifyDate("\u672C\u6708\u7ED3\u675F")]},onExport(){this.loadIng>0||(this.loadIng++,this.$store.dispatch("call",{url:"system/checkin/export",data:this.formData}).then(({data:t})=>{this.show=!1,this.$store.dispatch("downUrl",{url:t.url})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))}}},o={};var $=d(v,_,f,!1,k,null,null,null);function k(t){for(let s in o)this[s]=o[s]}var b=function(){return $.exports}();export{b as C,D as T}; diff --git a/public/js/build/DialogSelect.c9796cea.js b/public/js/build/DialogSelect.13f2bf9c.js similarity index 96% rename from public/js/build/DialogSelect.c9796cea.js rename to public/js/build/DialogSelect.13f2bf9c.js index acb9b154e..48289ec67 100644 --- a/public/js/build/DialogSelect.c9796cea.js +++ b/public/js/build/DialogSelect.13f2bf9c.js @@ -1 +1 @@ -import{U as i}from"./UserInput.d6d4081e.js";import{m as c,n as u}from"./app.bd09c684.js";const l="ontouchend"in document,h={bind:function(t,s){let a=500,e=s.value;if($A.isJson(s.value)&&(a=s.value.delay||500,e=s.value.callback),typeof e!="function")throw"callback must be a function";if(!l){t.__longpressContextmenu__=r=>{r.preventDefault(),r.stopPropagation(),e(r,t)},t.addEventListener("contextmenu",t.__longpressContextmenu__);return}let n=null,o=!1;t.__longpressStart__=r=>{r.type==="click"&&r.button!==0||(o=!1,n===null&&(n=setTimeout(()=>{o=!0,e(r.touches[0],t)},a)))},t.__longpressCancel__=r=>{n!==null&&(clearTimeout(n),n=null)},t.__longpressClick__=r=>{o&&(r.preventDefault(),r.stopPropagation()),t.__longpressCancel__(r)},t.addEventListener("touchstart",t.__longpressStart__),t.addEventListener("click",t.__longpressClick__),t.addEventListener("touchmove",t.__longpressCancel__),t.addEventListener("touchend",t.__longpressCancel__),t.addEventListener("touchcancel",t.__longpressCancel__)},unbind(t){if(!l){t.removeEventListener("contextmenu",t.__longpressContextmenu__),delete t.__longpressContextmenu__;return}t.removeEventListener("touchstart",t.__longpressStart__),t.removeEventListener("click",t.__longpressClick__),t.removeEventListener("touchmove",t.__longpressCancel__),t.removeEventListener("touchend",t.__longpressCancel__),t.removeEventListener("touchcancel",t.__longpressCancel__),delete t.__longpressStart__,delete t.__longpressClick__,delete t.__longpressCancel__}};var p=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("Form",{ref:"forwardForm",attrs:{model:t.value,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{prop:"dialogids",label:t.$L("\u6700\u8FD1\u804A\u5929")}},[a("Select",{staticClass:"dialog-wrapper-dialogids",attrs:{placeholder:t.$L("\u9009\u62E9\u8F6C\u53D1\u6700\u8FD1\u804A\u5929"),"multiple-max":20,multiple:"",filterable:"","transfer-class-name":"dialog-wrapper-forward"},model:{value:t.value.dialogids,callback:function(e){t.$set(t.value,"dialogids",e)},expression:"value.dialogids"}},[a("div",{staticClass:"forward-drop-prepend",attrs:{slot:"drop-prepend"},slot:"drop-prepend"},[t._v(t._s(t.$L("\u6700\u591A\u53EA\u80FD\u9009\u62E920\u4E2A")))]),t._l(t.dialogList,function(e,n){return a("Option",{key:n,attrs:{value:e.id,"key-value":e.name,label:e.name}},[a("div",{staticClass:"forward-option"},[a("div",{staticClass:"forward-avatar"},[e.type=="group"?[e.group_type=="department"?a("i",{staticClass:"taskfont icon-avatar department"},[t._v("\uE75C")]):e.group_type=="project"?a("i",{staticClass:"taskfont icon-avatar project"},[t._v("\uE6F9")]):e.group_type=="task"?a("i",{staticClass:"taskfont icon-avatar task"},[t._v("\uE6F4")]):a("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:e.dialog_user?a("div",{staticClass:"user-avatar"},[a("UserAvatar",{attrs:{userid:e.dialog_user.userid,size:26}})],1):a("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}})],2),a("div",{staticClass:"forward-name"},[t._v(t._s(e.name))])])])})],2)],1),a("FormItem",{attrs:{prop:"userids",label:t.$L("\u6307\u5B9A\u6210\u5458")}},[a("UserInput",{attrs:{"multiple-max":20,placeholder:`(${t.$L("\u6216")}) ${t.$L("\u9009\u62E9\u8F6C\u53D1\u6307\u5B9A\u6210\u5458")}`},model:{value:t.value.userids,callback:function(e){t.$set(t.value,"userids",e)},expression:"value.userids"}})],1)],1)},d=[];const v={name:"DialogSelect",components:{UserInput:i},props:{value:{type:Object,default:()=>({})}},computed:{...c(["cacheDialogs"]),dialogList(){return this.cacheDialogs.filter(t=>!(t.name===void 0||t.dialog_delete===1)).sort((t,s)=>t.top_at||s.top_at?$A.Date(s.top_at)-$A.Date(t.top_at):t.todo_num>0||s.todo_num>0?s.todo_num-t.todo_num:$A.Date(s.last_at)-$A.Date(t.last_at))}}},_={};var m=u(v,p,d,!1,f,null,null,null);function f(t){for(let s in _)this[s]=_[s]}var L=function(){return m.exports}();export{L as D,h as l}; +import{U as i}from"./UserInput.ca38ea3c.js";import{m as c,n as u}from"./app.139edc4e.js";const l="ontouchend"in document,h={bind:function(t,s){let a=500,e=s.value;if($A.isJson(s.value)&&(a=s.value.delay||500,e=s.value.callback),typeof e!="function")throw"callback must be a function";if(!l){t.__longpressContextmenu__=r=>{r.preventDefault(),r.stopPropagation(),e(r,t)},t.addEventListener("contextmenu",t.__longpressContextmenu__);return}let n=null,o=!1;t.__longpressStart__=r=>{r.type==="click"&&r.button!==0||(o=!1,n===null&&(n=setTimeout(()=>{o=!0,e(r.touches[0],t)},a)))},t.__longpressCancel__=r=>{n!==null&&(clearTimeout(n),n=null)},t.__longpressClick__=r=>{o&&(r.preventDefault(),r.stopPropagation()),t.__longpressCancel__(r)},t.addEventListener("touchstart",t.__longpressStart__),t.addEventListener("click",t.__longpressClick__),t.addEventListener("touchmove",t.__longpressCancel__),t.addEventListener("touchend",t.__longpressCancel__),t.addEventListener("touchcancel",t.__longpressCancel__)},unbind(t){if(!l){t.removeEventListener("contextmenu",t.__longpressContextmenu__),delete t.__longpressContextmenu__;return}t.removeEventListener("touchstart",t.__longpressStart__),t.removeEventListener("click",t.__longpressClick__),t.removeEventListener("touchmove",t.__longpressCancel__),t.removeEventListener("touchend",t.__longpressCancel__),t.removeEventListener("touchcancel",t.__longpressCancel__),delete t.__longpressStart__,delete t.__longpressClick__,delete t.__longpressCancel__}};var p=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("Form",{ref:"forwardForm",attrs:{model:t.value,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{prop:"dialogids",label:t.$L("\u6700\u8FD1\u804A\u5929")}},[a("Select",{staticClass:"dialog-wrapper-dialogids",attrs:{placeholder:t.$L("\u9009\u62E9\u8F6C\u53D1\u6700\u8FD1\u804A\u5929"),"multiple-max":20,multiple:"",filterable:"","transfer-class-name":"dialog-wrapper-forward"},model:{value:t.value.dialogids,callback:function(e){t.$set(t.value,"dialogids",e)},expression:"value.dialogids"}},[a("div",{staticClass:"forward-drop-prepend",attrs:{slot:"drop-prepend"},slot:"drop-prepend"},[t._v(t._s(t.$L("\u6700\u591A\u53EA\u80FD\u9009\u62E920\u4E2A")))]),t._l(t.dialogList,function(e,n){return a("Option",{key:n,attrs:{value:e.id,"key-value":e.name,label:e.name}},[a("div",{staticClass:"forward-option"},[a("div",{staticClass:"forward-avatar"},[e.type=="group"?[e.group_type=="department"?a("i",{staticClass:"taskfont icon-avatar department"},[t._v("\uE75C")]):e.group_type=="project"?a("i",{staticClass:"taskfont icon-avatar project"},[t._v("\uE6F9")]):e.group_type=="task"?a("i",{staticClass:"taskfont icon-avatar task"},[t._v("\uE6F4")]):a("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:e.dialog_user?a("div",{staticClass:"user-avatar"},[a("UserAvatar",{attrs:{userid:e.dialog_user.userid,size:26}})],1):a("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}})],2),a("div",{staticClass:"forward-name"},[t._v(t._s(e.name))])])])})],2)],1),a("FormItem",{attrs:{prop:"userids",label:t.$L("\u6307\u5B9A\u6210\u5458")}},[a("UserInput",{attrs:{"multiple-max":20,placeholder:`(${t.$L("\u6216")}) ${t.$L("\u9009\u62E9\u8F6C\u53D1\u6307\u5B9A\u6210\u5458")}`},model:{value:t.value.userids,callback:function(e){t.$set(t.value,"userids",e)},expression:"value.userids"}})],1)],1)},d=[];const v={name:"DialogSelect",components:{UserInput:i},props:{value:{type:Object,default:()=>({})}},computed:{...c(["cacheDialogs"]),dialogList(){return this.cacheDialogs.filter(t=>!(t.name===void 0||t.dialog_delete===1)).sort((t,s)=>t.top_at||s.top_at?$A.Date(s.top_at)-$A.Date(t.top_at):t.todo_num>0||s.todo_num>0?s.todo_num-t.todo_num:$A.Date(s.last_at)-$A.Date(t.last_at))}}},_={};var m=u(v,p,d,!1,f,null,null,null);function f(t){for(let s in _)this[s]=_[s]}var L=function(){return m.exports}();export{L as D,h as l}; diff --git a/public/js/build/DialogWrapper.1815cab6.js b/public/js/build/DialogWrapper.1ee2083a.js similarity index 92% rename from public/js/build/DialogWrapper.1815cab6.js rename to public/js/build/DialogWrapper.1ee2083a.js index f55f2cdcf..e0f5b21ba 100644 --- a/public/js/build/DialogWrapper.1815cab6.js +++ b/public/js/build/DialogWrapper.1ee2083a.js @@ -1,4 +1,4 @@ -import{n as pt,m as bt,c as Ft,d as Tt,e as Ut,g as Xt,f as Jt,r as te,V as ee,i as ie}from"./app.bd09c684.js";import{l as zt,D as ne}from"./DialogSelect.c9796cea.js";import{U as Ht}from"./UserInput.d6d4081e.js";import{D as re}from"./index.f03606a8.js";import{I as oe}from"./ImgUpload.6e9513da.js";var ae=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"common-circle",style:t.style,attrs:{"data-id":t.percent}},[e("svg",{attrs:{viewBox:"0 0 28 28"}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("path",{staticClass:"common-circle-path",attrs:{d:"M-500-100h997V48h-997z"}}),e("g",{attrs:{"fill-rule":"nonzero"}},[e("path",{staticClass:"common-circle-g-path-ring",attrs:{"stroke-width":"3",d:"M14 25.5c6.351 0 11.5-5.149 11.5-11.5S20.351 2.5 14 2.5 2.5 7.649 2.5 14 7.649 25.5 14 25.5z"}}),e("path",{staticClass:"common-circle-g-path-core",attrs:{d:t.arc(t.args)}})])])])])},se=[];const le={name:"WCircle",props:{percent:{type:Number,default:0},size:{type:Number,default:120}},computed:{style(){let{size:t}=this;return this.isNumeric(t)&&(t+="px"),{width:t,height:t}},args(){const{percent:t}=this;let o=Math.min(360,360/100*t);return o==360?o=0:o==0&&(o=360),{x:14,y:14,r:14,start:360,end:o}}},methods:{isNumeric(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)},point(t,o,e,i){return[(t+Math.sin(i)*e).toFixed(2),(o-Math.cos(i)*e).toFixed(2)]},full(t,o,e,i){return i<=0?`M ${t-e} ${o} A ${e} ${e} 0 1 1 ${t+e} ${o} A ${e} ${e} 1 1 1 ${t-e} ${o} Z`:`M ${t-e} ${o} A ${e} ${e} 0 1 1 ${t+e} ${o} A ${e} ${e} 1 1 1 ${t-e} ${o} M ${t-i} ${o} A ${i} ${i} 0 1 1 ${t+i} ${o} A ${i} ${i} 1 1 1 ${t-i} ${o} Z`},part(t,o,e,i,a,O){const[S,w]=[a/360*2*Math.PI,O/360*2*Math.PI],b=[this.point(t,o,i,S),this.point(t,o,e,S),this.point(t,o,e,w),this.point(t,o,i,w)],_=w-S>Math.PI?"1":"0";return`M ${b[0][0]} ${b[0][1]} L ${b[1][0]} ${b[1][1]} A ${e} ${e} 0 ${_} 1 ${b[2][0]} ${b[2][1]} L ${b[3][0]} ${b[3][1]} A ${i} ${i} 0 ${_} 0 ${b[0][0]} ${b[0][1]} Z`},arc(t){const{x:o=0,y:e=0}=t;let{R:i=0,r:a=0,start:O,end:S}=t;return[i,a]=[Math.max(i,a),Math.min(i,a)],i<=0?"":O!==+O||S!==+S?this.full(o,e,i,a):Math.abs(O-S)<1e-6?"":Math.abs(O-S)%360<1e-6?this.full(o,e,i,a):([O,S]=[O%360,S%360],O>S&&(S+=360),this.part(o,e,i,a,O,S))}}},xt={};var ue=pt(le,ae,se,!1,ce,null,null,null);function ce(t){for(let o in xt)this[o]=xt[o]}var fe=function(){return ue.exports}(),he=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"dialog-view",class:t.viewClass,attrs:{"data-id":t.msgData.id}},[t.dialogType==="group"?e("div",{staticClass:"dialog-username"},[e("UserAvatar",{attrs:{userid:t.msgData.userid,"show-icon":!1,"show-name":!0,"click-open-dialog":""}})],1):t._e(),e("div",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:t.handleLongpress,delay:300},expression:"{callback: handleLongpress, delay: 300}"}],staticClass:"dialog-head",class:t.headClass},[!t.hideReply&&t.msgData.reply_data?e("div",{staticClass:"dialog-reply no-dark-content",on:{click:t.viewReply}},[e("UserAvatar",{attrs:{userid:t.msgData.reply_data.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":!0}}),e("div",{staticClass:"reply-desc"},[t._v(t._s(t.$A.getMsgSimpleDesc(t.msgData.reply_data)))])],1):t._e(),e("div",{staticClass:"dialog-content",class:t.contentClass},[t.msgData.type==="text"?e("div",{staticClass:"content-text no-dark-content"},[e("pre",{domProps:{innerHTML:t._s(t.$A.formatTextMsg(t.msgData.msg.text,t.userId))},on:{click:t.viewText}})]):t.msgData.type==="file"?e("div",{class:`content-file ${t.msgData.msg.type}`},[e("div",{staticClass:"dialog-file"},[t.msgData.msg.type==="img"?e("img",{staticClass:"file-img",style:t.imageStyle(t.msgData.msg),attrs:{src:t.msgData.msg.thumb},on:{click:t.viewFile}}):e("div",{staticClass:"file-box",on:{click:t.downFile}},[e("img",{staticClass:"file-thumb",attrs:{src:t.msgData.msg.thumb}}),e("div",{staticClass:"file-info"},[e("div",{staticClass:"file-name"},[t._v(t._s(t.msgData.msg.name))]),e("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(t.msgData.msg.size)))])])])])]):t.msgData.type==="record"?e("div",{staticClass:"content-record no-dark-content"},[e("div",{staticClass:"dialog-record",class:{playing:t.audioPlaying===t.msgData.msg.path},style:t.recordStyle(t.msgData.msg),on:{click:t.playRecord}},[e("div",{staticClass:"record-time"},[t._v(t._s(t.recordDuration(t.msgData.msg.duration)))]),e("div",{staticClass:"record-icon taskfont"})])]):t.msgData.type==="meeting"?e("div",{staticClass:"content-meeting no-dark-content"},[e("ul",{staticClass:"dialog-meeting"},[e("li",[e("em",[t._v(t._s(t.$L("\u4F1A\u8BAE\u4E3B\u9898")))]),t._v(" "+t._s(t.msgData.msg.name)+" ")]),e("li",[e("em",[t._v(t._s(t.$L("\u4F1A\u8BAE\u521B\u5EFA\u4EBA")))]),e("UserAvatar",{attrs:{userid:t.msgData.msg.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":""}})],1),e("li",[e("em",[t._v(t._s(t.$L("\u9891\u9053ID")))]),t._v(" "+t._s(t.msgData.msg.meetingid.replace(/^(.{3})(.{3})(.*)$/,"$1 $2 $3"))+" ")]),e("li",{staticClass:"meeting-operation",on:{click:t.openMeeting}},[t._v(" "+t._s(t.$L("\u70B9\u51FB\u52A0\u5165\u4F1A\u8BAE"))+" "),e("i",{staticClass:"taskfont"},[t._v("\uE68B")])])])]):t.msgData.type==="loading"?e("div",{staticClass:"content-loading"},[t.msgData.error===!0?e("Icon",{attrs:{type:"ios-alert-outline"}}):e("Loading")],1):e("div",{staticClass:"content-unknown"},[t._v(t._s(t.$L("\u672A\u77E5\u7684\u6D88\u606F\u7C7B\u578B")))])]),t.$A.arrayLength(t.msgData.emoji)>0?e("ul",{staticClass:"dialog-emoji"},t._l(t.msgData.emoji,function(i,a){return e("li",{key:a,class:{hasme:i.userids.includes(t.userId)}},[e("div",{staticClass:"emoji-symbol no-dark-content",on:{click:function(O){return t.onEmoji(i.symbol)}}},[t._v(t._s(i.symbol))]),e("div",{staticClass:"emoji-users",on:{click:function(O){return t.onShowEmojiUser(i)}}},[e("ul",[t._l(i.userids,function(O,S){return[S0?e("div",{staticClass:"reply",on:{click:t.replyList}},[e("i",{staticClass:"taskfont"},[t._v("\uE6EB")]),t._v(" "+t._s(t.msgData.reply_num)+"\u6761\u56DE\u590D ")]):t._e(),t.msgData.tag?e("div",{staticClass:"tag"},[e("i",{staticClass:"taskfont"},[t._v("\uE61E")])]):t._e(),t.msgData.todo?e("div",{staticClass:"todo",on:{click:t.openTodo}},[e("EPopover",{ref:"todo",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:t.isRightMsg?"bottom-end":"bottom-start"},model:{value:t.todoShow,callback:function(i){t.todoShow=i},expression:"todoShow"}},[e("div",{staticClass:"read-poptip-content"},[e("ul",{staticClass:"read scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.todoDoneList.length))]),t._v(t._s(t.$L("\u5B8C\u6210")))]),t._l(t.todoDoneList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2),e("ul",{staticClass:"unread scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.todoUndoneList.length))]),t._v(t._s(t.$L("\u5F85\u529E")))]),t._l(t.todoUndoneList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2)]),e("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),t.todoLoad>0?e("Loading"):e("i",{staticClass:"taskfont"},[t._v("\uE7B7")])],1):t._e(),t.msgData.modify?e("div",{staticClass:"modify"},[e("i",{staticClass:"taskfont"},[t._v("\uE779")])]):t._e(),t.msgData.error===!0?e("div",{staticClass:"error",on:{click:t.onError}},[e("Icon",{attrs:{type:"ios-alert"}})],1):t.isLoading?e("Loading"):[t.timeShow?e("div",{staticClass:"time",on:{click:function(i){t.timeShow=!1}}},[t._v(t._s(t.msgData.created_at))]):e("div",{staticClass:"time",attrs:{title:t.msgData.created_at},on:{click:function(i){t.timeShow=!0}}},[t._v(t._s(t.$A.formatTime(t.msgData.created_at)))]),t.hidePercentage?t._e():[t.msgData.send>1||t.dialogType==="group"?e("div",{staticClass:"percent",on:{click:t.openReadPercentage}},[e("EPopover",{ref:"percent",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:t.isRightMsg?"bottom-end":"bottom-start"},model:{value:t.percentageShow,callback:function(i){t.percentageShow=i},expression:"percentageShow"}},[e("div",{staticClass:"read-poptip-content"},[e("ul",{staticClass:"read scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.readList.length))]),t._v(t._s(t.$L("\u5DF2\u8BFB")))]),t._l(t.readList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2),e("ul",{staticClass:"unread scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.unreadList.length))]),t._v(t._s(t.$L("\u672A\u8BFB")))]),t._l(t.unreadList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2)]),e("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),t.percentageLoad>0?e("Loading"):e("WCircle",{attrs:{percent:t.msgData.percentage,size:14}})],1):t.msgData.percentage===100?e("Icon",{staticClass:"done",attrs:{type:"md-done-all"}}):e("Icon",{staticClass:"done",attrs:{type:"md-checkmark"}})]]],2)])},de=[];const pe={name:"DialogView",components:{WCircle:fe},directives:{longpress:zt},props:{msgData:{type:Object,default:()=>({})},dialogType:{type:String,default:""},hidePercentage:{type:Boolean,default:!1},hideReply:{type:Boolean,default:!1},operateVisible:{type:Boolean,default:!1},operateAction:{type:Boolean,default:!1},isRightMsg:{type:Boolean,default:!1}},data(){return{timeShow:!1,operateEnter:!1,percentageLoad:0,percentageShow:!1,percentageList:[],todoLoad:0,todoShow:!1,todoList:[],emojiUsersNum:5}},mounted(){this.emojiUsersNum=Math.min(6,Math.max(2,Math.floor((this.windowWidth-180)/52)))},beforeDestroy(){this.$store.dispatch("audioStop",this.msgData.msg.path)},computed:{...bt(["loads","audioPlaying"]),...Ft(["isLoad"]),isLoading(){return this.msgData.created_at?this.isLoad(`msg-${this.msgData.id}`):!0},viewClass(){const{msgData:t,operateAction:o,operateEnter:e}=this,i=[];return t.type&&i.push(t.type),t.reply_data&&i.push("reply-view"),o&&(i.push("operate-action"),e&&i.push("operate-enter")),i},readList(){return this.percentageList.filter(({read_at:t})=>t)},unreadList(){return this.percentageList.filter(({read_at:t})=>!t)},todoDoneList(){return this.todoList.filter(({done_at:t})=>t)},todoUndoneList(){return this.todoList.filter(({done_at:t})=>!t)},headClass(){const{reply_id:t,type:o,msg:e,emoji:i}=this.msgData,a=[];return t===0&&$A.arrayLength(i)===0&&o==="text"&&(/^]*?>$/.test(e.text)||/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){1,3}\s*<\/p>\s*$/.test(e.text))&&a.push("transparent"),a},contentClass(){const{type:t,msg:o}=this.msgData,e=[];return t==="text"&&(/^]*?>$/.test(o.text)?e.push("an-emoticon"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){3}\s*<\/p>\s*$/.test(o.text)?e.push("three-emoji"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){2}\s*<\/p>\s*$/.test(o.text)?e.push("two-emoji"):/^\s*

\s*[\uD800-\uDBFF][\uDC00-\uDFFF]\s*<\/p>\s*$/.test(o.text)&&e.push("an-emoji")),e}},watch:{operateAction(t){this.operateEnter=!1,t&&setTimeout(o=>this.operateEnter=!0,500)}},methods:{handleLongpress(t,o){this.$emit("on-longpress",{event:t,el:o,msgData:this.msgData})},openTodo(){if(!(this.todoLoad>0)){if(this.todoShow){this.todoShow=!1;return}this.todoLoad++,this.$store.dispatch("call",{url:"dialog/msg/todolist",data:{msg_id:this.msgData.id}}).then(({data:t})=>{this.todoList=t}).catch(()=>{this.todoList=[]}).finally(t=>{setTimeout(()=>{this.todoLoad--,this.todoShow=!0},100)})}},openReadPercentage(){if(!(this.percentageLoad>0)){if(this.percentageShow){this.percentageShow=!1;return}this.percentageLoad++,this.$store.dispatch("call",{url:"dialog/msg/readlist",data:{msg_id:this.msgData.id}}).then(({data:t})=>{this.percentageList=t}).catch(()=>{this.percentageList=[]}).finally(t=>{setTimeout(()=>{this.percentageLoad--,this.percentageShow=!0},100)})}},recordStyle(t){const{duration:o}=t;return{width:50+Math.min(180,Math.floor(o/150))+"px"}},recordDuration(t){const o=Math.floor(t/6e4),e=Math.floor(t/1e3)%60;return o>0?`${o}:${e}\u2033`:`${Math.max(1,e)}\u2033`},imageStyle(t){const{width:o,height:e}=t;if(o&&e){let i=220,a=220,O=o,S=e;return(o>i||e>a)&&(o>e?(O=i,S=e*(i/o)):(O=o*(a/e),S=a)),{width:O+"px",height:S+"px"}}return{}},playRecord(){this.operateVisible||this.$store.dispatch("audioPlay",this.msgData.msg.path)},openMeeting(){this.operateVisible||Tt.Store.set("addMeeting",{type:"join",name:this.msgData.msg.name,meetingid:this.msgData.msg.meetingid,meetingdisabled:!0})},viewReply(){this.$emit("on-view-reply",{msg_id:this.msgData.id,reply_id:this.msgData.reply_id})},viewText(t){this.$emit("on-view-text",t)},viewFile(){this.$emit("on-view-file",this.msgData)},downFile(){this.$emit("on-down-file",this.msgData)},replyList(){this.$emit("on-reply-list",{msg_id:this.msgData.id})},onError(){this.$emit("on-error",this.msgData)},onEmoji(t){this.$emit("on-emoji",{msg_id:this.msgData.id,symbol:t})},onShowEmojiUser(t){this.$emit("on-show-emoji-user",t)}}},At={};var me=pt(pe,he,de,!1,ve,null,null,null);function ve(t){for(let o in At)this[o]=At[o]}var ge=function(){return me.exports}(),ye=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{class:t.classArray},[t.source.type==="tag"?e("div",{staticClass:"dialog-tag",on:{click:t.onViewTag}},[e("div",{staticClass:"tag-user"},[e("UserAvatar",{attrs:{userid:t.source.userid,tooltipDisabled:t.source.userid==t.userId,"show-name":!0,"show-icon":!1}})],1),t._v(" "+t._s(t.$L(t.source.msg.action==="remove"?"\u53D6\u6D88\u6807\u6CE8":"\u6807\u6CE8\u4E86"))+' "'+t._s(t.$A.getMsgSimpleDesc(t.source.msg.data))+'" ')]):t.source.type==="todo"?e("div",{staticClass:"dialog-todo",on:{click:t.onViewTodo}},[e("div",{staticClass:"todo-user"},[e("UserAvatar",{attrs:{userid:t.source.userid,tooltipDisabled:t.source.userid==t.userId,"show-name":!0,"show-icon":!1}})],1),t._v(" "+t._s(t.$L(t.source.msg.action==="remove"?"\u53D6\u6D88\u5F85\u529E":t.source.msg.action==="done"?"\u5B8C\u6210":"\u8BBE\u5F85\u529E"))+' "'+t._s(t.$A.getMsgSimpleDesc(t.source.msg.data))+'" '),t.formatTodoUser(t.source.msg.data).length>0?e("div",{staticClass:"todo-users"},[e("span",[t._v(t._s(t.$L("\u7ED9")))]),t._l(t.formatTodoUser(t.source.msg.data),function(i,a){return[a<3?e("div",{staticClass:"todo-user"},[e("UserAvatar",{attrs:{userid:i,tooltipDisabled:i==t.userId,"show-name":!0,"show-icon":!1}})],1):a==3?e("div",{staticClass:"todo-user"},[t._v("+"+t._s(t.formatTodoUser(t.source.msg.data).length-3))]):t._e()]})],2):t._e()]):t.source.type==="notice"?e("div",{staticClass:"dialog-notice"},[t._v(" "+t._s(t.source.msg.notice)+" ")]):[e("div",{staticClass:"dialog-avatar"},[e("UserAvatar",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:t.onMention,delay:300},expression:"{callback: onMention, delay: 300}"}],attrs:{userid:t.source.userid,size:30,"tooltip-disabled":""},on:{"open-dialog":t.onOpenDialog}})],1),e("DialogView",{attrs:{"msg-data":t.source,"dialog-type":t.dialogData.type,"hide-percentage":t.hidePercentage,"hide-reply":t.hideReply,"operate-visible":t.operateVisible,"operate-action":t.operateVisible&&t.source.id===t.operateItem.id,"is-right-msg":t.isRightMsg},on:{"on-longpress":t.onLongpress,"on-view-reply":t.onViewReply,"on-view-text":t.onViewText,"on-view-file":t.onViewFile,"on-down-file":t.onDownFile,"on-reply-list":t.onReplyList,"on-error":t.onError,"on-emoji":t.onEmoji,"on-show-emoji-user":t.onShowEmojiUser}})]],2)},be=[];const _e={name:"DialogItem",components:{DialogView:ge},directives:{longpress:zt},props:{source:{type:Object,default(){return{}}},dialogData:{type:Object,default(){return{}}},operateVisible:{type:Boolean,default:!1},operateItem:{type:Object,default(){return{}}},simpleView:{type:Boolean,default:!1},isMyDialog:{type:Boolean,default:!1},msgId:{type:Number,default:0}},data(){return{subscribe:null}},computed:{...bt(["userId"]),isRightMsg(){return this.source.userid==this.userId},isReply(){return this.simpleView||this.msgId===this.source.id},hidePercentage(){return this.simpleView||this.isMyDialog||this.isReply},hideReply(){return this.simpleView||this.msgId>0},classArray(){return{"dialog-item":!0,"reply-item":this.isReply,self:this.isRightMsg}}},watch:{source:{handler(){this.msgRead()},immediate:!0},windowActive(t){t&&this.msgRead()}},methods:{msgRead(){!this.windowActive||this.$store.dispatch("dialogMsgRead",this.source)},formatTodoUser(t){if($A.isJson(t)){const{userids:o}=t;if(o)return o.split(",")}return[]},onViewTag(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onViewTodo(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onOpenDialog(t){this.dialogData.type=="group"&&this.$store.dispatch("openDialogUserid",t).then(o=>{this.goForward({name:"manage-messenger"})}).catch(({msg:o})=>{$A.modalError(o)})},onMention(){this.dispatch("on-mention",this.source)},onLongpress(t){this.dispatch("on-longpress",t)},onViewReply(t){this.dispatch("on-view-reply",t)},onViewText(t){this.dispatch("on-view-text",t)},onViewFile(t){this.dispatch("on-view-file",t)},onDownFile(t){this.dispatch("on-down-file",t)},onReplyList(t){this.dispatch("on-reply-list",t)},onError(t){this.dispatch("on-error",t)},onEmoji(t){this.dispatch("on-emoji",t)},onShowEmojiUser(t){this.dispatch("on-show-emoji-user",t)},dispatch(t,o){if(this.isReply){this.$emit(t,o);return}let e=this.$parent,i=e.$options.name;for(;e&&(!i||i!=="virtual-list");)e=e.$parent,e&&(i=e.$options.name);e&&e.$emit(t,o)}}},Lt={};var we=pt(_e,ye,be,!1,ke,null,null,null);function ke(t){for(let o in Lt)this[o]=Lt[o]}var Dt=function(){return we.exports}(),Oe=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("Upload",{ref:"upload",attrs:{name:"files",action:t.actionUrl,headers:t.headers,data:t.params,multiple:"",format:t.uploadFormat,"show-upload-list":!1,"max-size":t.maxSize,"on-progress":t.handleProgress,"on-success":t.handleSuccess,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize}})},Ee=[];const Se={name:"DialogUpload",props:{dialogId:{type:Number,default:0},maxSize:{type:Number,default:1024e3}},data(){return{uploadFormat:[],actionUrl:$A.apiUrl("dialog/msg/sendfile")}},computed:{...bt(["cacheDialogs"]),headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},params(){return{dialog_id:this.dialogId,reply_id:this.dialogData.extra_quote_id||0}},dialogData(){return this.cacheDialogs.find(({id:t})=>t==this.dialogId)||{}}},methods:{handleProgress(t,o){o.tempId===void 0&&(this.$parent.$options.name==="DialogWrapper"?o.tempId=this.$parent.getTempId():o.tempId=$A.randNum(1e9,9999999999),this.$emit("on-progress",o))},handleSuccess(t,o){t.ret===1?(o.data=t.data,this.$emit("on-success",o),t.data.task_id&&this.$store.dispatch("getTaskFiles",t.data.task_id)):($A.modalWarning({title:"\u53D1\u9001\u5931\u8D25",content:"\u6587\u4EF6 "+o.name+" \u53D1\u9001\u5931\u8D25\uFF0C"+t.msg}),this.$emit("on-error",o),this.$refs.upload.fileList.pop())},handleFormatError(t){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u53D1\u9001\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(t){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u53D1\u9001\u8D85\u8FC7"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleClick(){this.$refs.upload.handleClick()},upload(t){this.$refs.upload.upload(t)}}},Ct={};var Te=pt(Se,Oe,Ee,!1,xe,null,null,null);function xe(t){for(let o in Ct)this[o]=Ct[o]}var Ae=function(){return Te.exports}(),Le=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"dialog-group-info"},[e("div",{staticClass:"group-info-title"},[t._v(t._s(t.$L("\u7FA4\u540D")))]),e("div",{staticClass:"group-info-value"},[e("QuickEdit",{attrs:{value:t.dialogData.name,disabled:t.dialogData.owner_id!=t.userId},on:{"on-update":t.updateName}},[t._v(t._s(t.dialogData.name))])],1),e("div",{staticClass:"group-info-title"},[t._v(t._s(t.$L("\u7FA4\u7C7B\u578B")))]),e("div",{staticClass:"group-info-value"},[t._v(t._s(t.$L(t.groupType)))]),e("div",{staticClass:"group-info-search"},[e("Input",{attrs:{prefix:"ios-search",placeholder:t.$L("\u641C\u7D22\u6210\u5458"),clearable:""},model:{value:t.searchKey,callback:function(i){t.searchKey=i},expression:"searchKey"}})],1),e("div",{staticClass:"group-info-user"},[e("ul",[t._l(t.userList,function(i,a){return e("li",{key:a,on:{click:function(O){return t.openUser(i.userid)}}},[e("UserAvatar",{attrs:{userid:i.userid,size:32,showName:"",tooltipDisabled:""}}),i.userid===t.dialogData.owner_id?e("div",{staticClass:"user-tag"},[t._v(t._s(t.$L("\u7FA4\u4E3B")))]):t.operableExit(i)?e("div",{staticClass:"user-exit",on:{click:function(O){return O.stopPropagation(),t.onExit(i)}}},[e("Icon",{attrs:{type:"md-exit"}})],1):t._e()],1)}),t.userList.length===0?e("li",{staticClass:"no"},[t.loadIng>0?e("Loading"):e("span",[t._v(t._s(t.$L("\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E")))])],1):t._e()],2)]),t.operableAdd?e("div",{staticClass:"group-info-button"},[t.dialogData.owner_id==t.userId||t.dialogData.owner_id==0?e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.openAdd}},[t._v(t._s(t.$L("\u6DFB\u52A0\u6210\u5458")))]):t._e()],1):t._e(),e("Modal",{attrs:{title:t.$L("\u6DFB\u52A0\u7FA4\u6210\u5458"),"mask-closable":!1},model:{value:t.addShow,callback:function(i){t.addShow=i},expression:"addShow"}},[e("Form",{attrs:{model:t.addData,"label-width":"auto"},nativeOn:{submit:function(i){i.preventDefault()}}},[e("FormItem",{attrs:{prop:"userids",label:t.$L("\u65B0\u589E\u6210\u5458")}},[e("UserInput",{attrs:{disabledChoice:t.addData.disabledChoice,"multiple-max":100,"show-bot":"",placeholder:t.$L("\u9009\u62E9\u6210\u5458")},model:{value:t.addData.userids,callback:function(i){t.$set(t.addData,"userids",i)},expression:"addData.userids"}}),t.dialogData.group_type==="department"?e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u90E8\u95E8")))]):t.dialogData.group_type==="project"?e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u9879\u76EE")))]):t.dialogData.group_type==="task"?e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u4EFB\u52A1\u8D1F\u8D23\u4EBA")))]):t._e()],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(i){t.addShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.addLoad>0},on:{click:t.onAdd}},[t._v(t._s(t.$L("\u786E\u5B9A\u6DFB\u52A0")))])],1)],1)],1)},De=[];const Ce={name:"DialogGroupInfo",components:{UserInput:Ht},props:{dialogId:{type:Number,default:0}},data(){return{searchKey:"",loadIng:0,dialogUser:[],addShow:!1,addData:{},addLoad:0,openIng:!1}},computed:{...bt(["cacheDialogs","cacheUserBasic","userIsAdmin"]),dialogData(){return this.cacheDialogs.find(({id:t})=>t==this.dialogId)||{}},groupType(){const{group_type:t}=this.dialogData;return t==="department"?"\u90E8\u95E8\u7FA4\u7EC4":t==="project"?"\u9879\u76EE\u7FA4\u7EC4":t==="task"?"\u4EFB\u52A1\u7FA4\u7EC4":t==="user"?"\u4E2A\u4EBA\u7FA4\u7EC4":t==="all"?"\u5168\u5458\u7FA4\u7EC4":"\u672A\u77E5"},userList(){const{dialogUser:t,searchKey:o,cacheUserBasic:e,dialogData:i}=this;return t.map(O=>{const S=e.find(w=>w.userid==O.userid);return S&&(O.nickname=S.nickname,O.email=S.email),O}).filter(O=>!(o&&O.nickname&&!$A.strExists(O.nickname,o)&&!$A.strExists(O.email,o))).sort((O,S)=>O.userid===i.owner_id||S.userid===i.owner_id?(O.userid===i.owner_id?0:1)-(S.userid===i.owner_id?0:1):$A.Date(O.created_at)-$A.Date(S.created_at))}},watch:{dialogId:{handler(){this.getDialogUser()},immediate:!0}},methods:{updateName(t,o){if(!t){o();return}this.$store.dispatch("call",{url:"dialog/group/edit",data:{dialog_id:this.dialogId,chat_name:t}}).then(({data:e})=>{this.$store.dispatch("saveDialog",e),o()}).catch(({msg:e})=>{$A.modalError(e),o()})},getDialogUser(){this.dialogId<=0||(this.loadIng++,this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:this.dialogId}}).then(({data:t})=>{this.dialogUser=t,this.$store.dispatch("saveDialog",{id:this.dialogId,people:t.length})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))},operableAdd(){const{owner_id:t,group_type:o}=this.dialogData;return o=="all"?this.userIsAdmin:[0,this.userId].includes(t)},openAdd(){this.addData={dialog_id:this.dialogId,userids:[],disabledChoice:this.dialogUser.map(t=>t.userid)},this.addShow=!0},onAdd(){this.addLoad++,this.$store.dispatch("call",{url:"dialog/group/adduser",data:this.addData}).then(({msg:t})=>{$A.messageSuccess(t),this.addShow=!1,this.addData={},this.getDialogUser()}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.addLoad--})},operableExit(t){const{owner_id:o,group_type:e}=this.dialogData;return e=="all"?this.userIsAdmin:o==this.userId||t.inviter==this.userId},onExit(t){let o="\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u7FA4\u7EC4\u5417\uFF1F",e=[];$A.isJson(t)&&t.userid!=this.userId&&(o=`\u4F60\u786E\u5B9A\u8981\u5C06\u3010${t.nickname}\u3011\u79FB\u51FA\u7FA4\u7EC4\u5417\uFF1F`,e=[t.userid]),$A.modalConfirm({content:o,loading:!0,onOk:()=>new Promise((i,a)=>{this.$store.dispatch("call",{url:"dialog/group/deluser",data:{dialog_id:this.dialogId,userids:e}}).then(({msg:O})=>{i(O),e.length>0?this.getDialogUser():(this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"}))}).catch(({msg:O})=>{a(O)})})})},openUser(t){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",t).then(o=>{this.$emit("on-close")}).catch(({msg:o})=>{$A.modalError(o)}).finally(o=>{this.openIng=!1}))}}},It={};var Ie=pt(Ce,Le,De,!1,$e,null,null,null);function $e(t){for(let o in It)this[o]=It[o]}var Ne=function(){return Ie.exports}(),Me=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"dialog-respond"},[e("div",{staticClass:"respond-title"},[e("em",[t._v(t._s(t.respondData.symbol))]),t._v(t._s(t.$L("\u56DE\u5E94\u8BE6\u60C5"))+" ("+t._s(t.respondData.userids.length)+")")]),e("div",{staticClass:"respond-user"},[e("ul",t._l(t.respondData.userids,function(i,a){return e("li",{key:a,on:{click:function(O){return t.openUser(i)}}},[e("UserAvatar",{attrs:{userid:i,size:32,showName:"",tooltipDisabled:""}})],1)}),0)])])},Pe=[];const je={name:"DialogRespond",props:{respondData:{type:Object,default:()=>({})}},data(){return{openIng:!1}},methods:{openUser(t){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",t).then(o=>{this.$emit("on-close")}).catch(({msg:o})=>{$A.modalError(o)}).finally(o=>{this.openIng=!1}))}}},$t={};var Re=pt(je,Me,Pe,!1,qe,null,null,null);function qe(t){for(let o in $t)this[o]=$t[o]}var Be=function(){return Re.exports}(),Vt={exports:{}};/*! +import{n as pt,m as bt,c as Ft,d as Tt,e as Ut,g as Xt,f as Jt,r as te,V as ee,i as ie}from"./app.139edc4e.js";import{l as zt,D as ne}from"./DialogSelect.13f2bf9c.js";import{U as Ht}from"./UserInput.ca38ea3c.js";import{D as re}from"./index.03956335.js";import{I as oe}from"./ImgUpload.8dae08e9.js";var ae=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"common-circle",style:t.style,attrs:{"data-id":t.percent}},[e("svg",{attrs:{viewBox:"0 0 28 28"}},[e("g",{attrs:{fill:"none","fill-rule":"evenodd"}},[e("path",{staticClass:"common-circle-path",attrs:{d:"M-500-100h997V48h-997z"}}),e("g",{attrs:{"fill-rule":"nonzero"}},[e("path",{staticClass:"common-circle-g-path-ring",attrs:{"stroke-width":"3",d:"M14 25.5c6.351 0 11.5-5.149 11.5-11.5S20.351 2.5 14 2.5 2.5 7.649 2.5 14 7.649 25.5 14 25.5z"}}),e("path",{staticClass:"common-circle-g-path-core",attrs:{d:t.arc(t.args)}})])])])])},se=[];const le={name:"WCircle",props:{percent:{type:Number,default:0},size:{type:Number,default:120}},computed:{style(){let{size:t}=this;return this.isNumeric(t)&&(t+="px"),{width:t,height:t}},args(){const{percent:t}=this;let o=Math.min(360,360/100*t);return o==360?o=0:o==0&&(o=360),{x:14,y:14,r:14,start:360,end:o}}},methods:{isNumeric(t){return t!==""&&!isNaN(parseFloat(t))&&isFinite(t)},point(t,o,e,i){return[(t+Math.sin(i)*e).toFixed(2),(o-Math.cos(i)*e).toFixed(2)]},full(t,o,e,i){return i<=0?`M ${t-e} ${o} A ${e} ${e} 0 1 1 ${t+e} ${o} A ${e} ${e} 1 1 1 ${t-e} ${o} Z`:`M ${t-e} ${o} A ${e} ${e} 0 1 1 ${t+e} ${o} A ${e} ${e} 1 1 1 ${t-e} ${o} M ${t-i} ${o} A ${i} ${i} 0 1 1 ${t+i} ${o} A ${i} ${i} 1 1 1 ${t-i} ${o} Z`},part(t,o,e,i,a,O){const[S,w]=[a/360*2*Math.PI,O/360*2*Math.PI],b=[this.point(t,o,i,S),this.point(t,o,e,S),this.point(t,o,e,w),this.point(t,o,i,w)],_=w-S>Math.PI?"1":"0";return`M ${b[0][0]} ${b[0][1]} L ${b[1][0]} ${b[1][1]} A ${e} ${e} 0 ${_} 1 ${b[2][0]} ${b[2][1]} L ${b[3][0]} ${b[3][1]} A ${i} ${i} 0 ${_} 0 ${b[0][0]} ${b[0][1]} Z`},arc(t){const{x:o=0,y:e=0}=t;let{R:i=0,r:a=0,start:O,end:S}=t;return[i,a]=[Math.max(i,a),Math.min(i,a)],i<=0?"":O!==+O||S!==+S?this.full(o,e,i,a):Math.abs(O-S)<1e-6?"":Math.abs(O-S)%360<1e-6?this.full(o,e,i,a):([O,S]=[O%360,S%360],O>S&&(S+=360),this.part(o,e,i,a,O,S))}}},xt={};var ue=pt(le,ae,se,!1,ce,null,null,null);function ce(t){for(let o in xt)this[o]=xt[o]}var fe=function(){return ue.exports}(),he=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"dialog-view",class:t.viewClass,attrs:{"data-id":t.msgData.id}},[t.dialogType==="group"?e("div",{staticClass:"dialog-username"},[e("UserAvatar",{attrs:{userid:t.msgData.userid,"show-icon":!1,"show-name":!0,"click-open-dialog":""}})],1):t._e(),e("div",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:t.handleLongpress,delay:300},expression:"{callback: handleLongpress, delay: 300}"}],staticClass:"dialog-head",class:t.headClass},[!t.hideReply&&t.msgData.reply_data?e("div",{staticClass:"dialog-reply no-dark-content",on:{click:t.viewReply}},[e("UserAvatar",{attrs:{userid:t.msgData.reply_data.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":!0}}),e("div",{staticClass:"reply-desc"},[t._v(t._s(t.$A.getMsgSimpleDesc(t.msgData.reply_data)))])],1):t._e(),e("div",{staticClass:"dialog-content",class:t.contentClass},[t.msgData.type==="text"?e("div",{staticClass:"content-text no-dark-content"},[e("pre",{domProps:{innerHTML:t._s(t.$A.formatTextMsg(t.msgData.msg.text,t.userId))},on:{click:t.viewText}})]):t.msgData.type==="file"?e("div",{class:`content-file ${t.msgData.msg.type}`},[e("div",{staticClass:"dialog-file"},[t.msgData.msg.type==="img"?e("img",{staticClass:"file-img",style:t.imageStyle(t.msgData.msg),attrs:{src:t.msgData.msg.thumb},on:{click:t.viewFile}}):e("div",{staticClass:"file-box",on:{click:t.downFile}},[e("img",{staticClass:"file-thumb",attrs:{src:t.msgData.msg.thumb}}),e("div",{staticClass:"file-info"},[e("div",{staticClass:"file-name"},[t._v(t._s(t.msgData.msg.name))]),e("div",{staticClass:"file-size"},[t._v(t._s(t.$A.bytesToSize(t.msgData.msg.size)))])])])])]):t.msgData.type==="record"?e("div",{staticClass:"content-record no-dark-content"},[e("div",{staticClass:"dialog-record",class:{playing:t.audioPlaying===t.msgData.msg.path},style:t.recordStyle(t.msgData.msg),on:{click:t.playRecord}},[e("div",{staticClass:"record-time"},[t._v(t._s(t.recordDuration(t.msgData.msg.duration)))]),e("div",{staticClass:"record-icon taskfont"})])]):t.msgData.type==="meeting"?e("div",{staticClass:"content-meeting no-dark-content"},[e("ul",{staticClass:"dialog-meeting"},[e("li",[e("em",[t._v(t._s(t.$L("\u4F1A\u8BAE\u4E3B\u9898")))]),t._v(" "+t._s(t.msgData.msg.name)+" ")]),e("li",[e("em",[t._v(t._s(t.$L("\u4F1A\u8BAE\u521B\u5EFA\u4EBA")))]),e("UserAvatar",{attrs:{userid:t.msgData.msg.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":""}})],1),e("li",[e("em",[t._v(t._s(t.$L("\u9891\u9053ID")))]),t._v(" "+t._s(t.msgData.msg.meetingid.replace(/^(.{3})(.{3})(.*)$/,"$1 $2 $3"))+" ")]),e("li",{staticClass:"meeting-operation",on:{click:t.openMeeting}},[t._v(" "+t._s(t.$L("\u70B9\u51FB\u52A0\u5165\u4F1A\u8BAE"))+" "),e("i",{staticClass:"taskfont"},[t._v("\uE68B")])])])]):t.msgData.type==="loading"?e("div",{staticClass:"content-loading"},[t.msgData.error===!0?e("Icon",{attrs:{type:"ios-alert-outline"}}):e("Loading")],1):e("div",{staticClass:"content-unknown"},[t._v(t._s(t.$L("\u672A\u77E5\u7684\u6D88\u606F\u7C7B\u578B")))])]),t.$A.arrayLength(t.msgData.emoji)>0?e("ul",{staticClass:"dialog-emoji"},t._l(t.msgData.emoji,function(i,a){return e("li",{key:a,class:{hasme:i.userids.includes(t.userId)}},[e("div",{staticClass:"emoji-symbol no-dark-content",on:{click:function(O){return t.onEmoji(i.symbol)}}},[t._v(t._s(i.symbol))]),e("div",{staticClass:"emoji-users",on:{click:function(O){return t.onShowEmojiUser(i)}}},[e("ul",[t._l(i.userids,function(O,S){return[S0?e("div",{staticClass:"reply",on:{click:t.replyList}},[e("i",{staticClass:"taskfont"},[t._v("\uE6EB")]),t._v(" "+t._s(t.msgData.reply_num)+"\u6761\u56DE\u590D ")]):t._e(),t.msgData.tag?e("div",{staticClass:"tag"},[e("i",{staticClass:"taskfont"},[t._v("\uE61E")])]):t._e(),t.msgData.todo?e("div",{staticClass:"todo",on:{click:t.openTodo}},[e("EPopover",{ref:"todo",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:t.isRightMsg?"bottom-end":"bottom-start"},model:{value:t.todoShow,callback:function(i){t.todoShow=i},expression:"todoShow"}},[e("div",{staticClass:"read-poptip-content"},[e("ul",{staticClass:"read scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.todoDoneList.length))]),t._v(t._s(t.$L("\u5B8C\u6210")))]),t._l(t.todoDoneList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2),e("ul",{staticClass:"unread scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.todoUndoneList.length))]),t._v(t._s(t.$L("\u5F85\u529E")))]),t._l(t.todoUndoneList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2)]),e("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),t.todoLoad>0?e("Loading"):e("i",{staticClass:"taskfont"},[t._v("\uE7B7")])],1):t._e(),t.msgData.modify?e("div",{staticClass:"modify"},[e("i",{staticClass:"taskfont"},[t._v("\uE779")])]):t._e(),t.msgData.error===!0?e("div",{staticClass:"error",on:{click:t.onError}},[e("Icon",{attrs:{type:"ios-alert"}})],1):t.isLoading?e("Loading"):[t.timeShow?e("div",{staticClass:"time",on:{click:function(i){t.timeShow=!1}}},[t._v(t._s(t.msgData.created_at))]):e("div",{staticClass:"time",attrs:{title:t.msgData.created_at},on:{click:function(i){t.timeShow=!0}}},[t._v(t._s(t.$A.formatTime(t.msgData.created_at)))]),t.hidePercentage?t._e():[t.msgData.send>1||t.dialogType==="group"?e("div",{staticClass:"percent",on:{click:t.openReadPercentage}},[e("EPopover",{ref:"percent",attrs:{"popper-class":"dialog-wrapper-read-poptip",placement:t.isRightMsg?"bottom-end":"bottom-start"},model:{value:t.percentageShow,callback:function(i){t.percentageShow=i},expression:"percentageShow"}},[e("div",{staticClass:"read-poptip-content"},[e("ul",{staticClass:"read scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.readList.length))]),t._v(t._s(t.$L("\u5DF2\u8BFB")))]),t._l(t.readList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2),e("ul",{staticClass:"unread scrollbar-overlay"},[e("li",{staticClass:"read-title"},[e("em",[t._v(t._s(t.unreadList.length))]),t._v(t._s(t.$L("\u672A\u8BFB")))]),t._l(t.unreadList,function(i){return e("li",[e("UserAvatar",{attrs:{userid:i.userid,size:26,showName:"",tooltipDisabled:""}})],1)})],2)]),e("div",{staticClass:"popover-reference",attrs:{slot:"reference"},slot:"reference"})]),t.percentageLoad>0?e("Loading"):e("WCircle",{attrs:{percent:t.msgData.percentage,size:14}})],1):t.msgData.percentage===100?e("Icon",{staticClass:"done",attrs:{type:"md-done-all"}}):e("Icon",{staticClass:"done",attrs:{type:"md-checkmark"}})]]],2)])},de=[];const pe={name:"DialogView",components:{WCircle:fe},directives:{longpress:zt},props:{msgData:{type:Object,default:()=>({})},dialogType:{type:String,default:""},hidePercentage:{type:Boolean,default:!1},hideReply:{type:Boolean,default:!1},operateVisible:{type:Boolean,default:!1},operateAction:{type:Boolean,default:!1},isRightMsg:{type:Boolean,default:!1}},data(){return{timeShow:!1,operateEnter:!1,percentageLoad:0,percentageShow:!1,percentageList:[],todoLoad:0,todoShow:!1,todoList:[],emojiUsersNum:5}},mounted(){this.emojiUsersNum=Math.min(6,Math.max(2,Math.floor((this.windowWidth-180)/52)))},beforeDestroy(){this.$store.dispatch("audioStop",this.msgData.msg.path)},computed:{...bt(["loads","audioPlaying"]),...Ft(["isLoad"]),isLoading(){return this.msgData.created_at?this.isLoad(`msg-${this.msgData.id}`):!0},viewClass(){const{msgData:t,operateAction:o,operateEnter:e}=this,i=[];return t.type&&i.push(t.type),t.reply_data&&i.push("reply-view"),o&&(i.push("operate-action"),e&&i.push("operate-enter")),i},readList(){return this.percentageList.filter(({read_at:t})=>t)},unreadList(){return this.percentageList.filter(({read_at:t})=>!t)},todoDoneList(){return this.todoList.filter(({done_at:t})=>t)},todoUndoneList(){return this.todoList.filter(({done_at:t})=>!t)},headClass(){const{reply_id:t,type:o,msg:e,emoji:i}=this.msgData,a=[];return t===0&&$A.arrayLength(i)===0&&o==="text"&&(/^]*?>$/.test(e.text)||/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){1,3}\s*<\/p>\s*$/.test(e.text))&&a.push("transparent"),a},contentClass(){const{type:t,msg:o}=this.msgData,e=[];return t==="text"&&(/^]*?>$/.test(o.text)?e.push("an-emoticon"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){3}\s*<\/p>\s*$/.test(o.text)?e.push("three-emoji"):/^\s*

\s*([\uD800-\uDBFF][\uDC00-\uDFFF]){2}\s*<\/p>\s*$/.test(o.text)?e.push("two-emoji"):/^\s*

\s*[\uD800-\uDBFF][\uDC00-\uDFFF]\s*<\/p>\s*$/.test(o.text)&&e.push("an-emoji")),e}},watch:{operateAction(t){this.operateEnter=!1,t&&setTimeout(o=>this.operateEnter=!0,500)}},methods:{handleLongpress(t,o){this.$emit("on-longpress",{event:t,el:o,msgData:this.msgData})},openTodo(){if(!(this.todoLoad>0)){if(this.todoShow){this.todoShow=!1;return}this.todoLoad++,this.$store.dispatch("call",{url:"dialog/msg/todolist",data:{msg_id:this.msgData.id}}).then(({data:t})=>{this.todoList=t}).catch(()=>{this.todoList=[]}).finally(t=>{setTimeout(()=>{this.todoLoad--,this.todoShow=!0},100)})}},openReadPercentage(){if(!(this.percentageLoad>0)){if(this.percentageShow){this.percentageShow=!1;return}this.percentageLoad++,this.$store.dispatch("call",{url:"dialog/msg/readlist",data:{msg_id:this.msgData.id}}).then(({data:t})=>{this.percentageList=t}).catch(()=>{this.percentageList=[]}).finally(t=>{setTimeout(()=>{this.percentageLoad--,this.percentageShow=!0},100)})}},recordStyle(t){const{duration:o}=t;return{width:50+Math.min(180,Math.floor(o/150))+"px"}},recordDuration(t){const o=Math.floor(t/6e4),e=Math.floor(t/1e3)%60;return o>0?`${o}:${e}\u2033`:`${Math.max(1,e)}\u2033`},imageStyle(t){const{width:o,height:e}=t;if(o&&e){let i=220,a=220,O=o,S=e;return(o>i||e>a)&&(o>e?(O=i,S=e*(i/o)):(O=o*(a/e),S=a)),{width:O+"px",height:S+"px"}}return{}},playRecord(){this.operateVisible||this.$store.dispatch("audioPlay",this.msgData.msg.path)},openMeeting(){this.operateVisible||Tt.Store.set("addMeeting",{type:"join",name:this.msgData.msg.name,meetingid:this.msgData.msg.meetingid,meetingdisabled:!0})},viewReply(){this.$emit("on-view-reply",{msg_id:this.msgData.id,reply_id:this.msgData.reply_id})},viewText(t){this.$emit("on-view-text",t)},viewFile(){this.$emit("on-view-file",this.msgData)},downFile(){this.$emit("on-down-file",this.msgData)},replyList(){this.$emit("on-reply-list",{msg_id:this.msgData.id})},onError(){this.$emit("on-error",this.msgData)},onEmoji(t){this.$emit("on-emoji",{msg_id:this.msgData.id,symbol:t})},onShowEmojiUser(t){this.$emit("on-show-emoji-user",t)}}},At={};var me=pt(pe,he,de,!1,ve,null,null,null);function ve(t){for(let o in At)this[o]=At[o]}var ge=function(){return me.exports}(),ye=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{class:t.classArray},[t.source.type==="tag"?e("div",{staticClass:"dialog-tag",on:{click:t.onViewTag}},[e("div",{staticClass:"tag-user"},[e("UserAvatar",{attrs:{userid:t.source.userid,tooltipDisabled:t.source.userid==t.userId,"show-name":!0,"show-icon":!1}})],1),t._v(" "+t._s(t.$L(t.source.msg.action==="remove"?"\u53D6\u6D88\u6807\u6CE8":"\u6807\u6CE8\u4E86"))+' "'+t._s(t.$A.getMsgSimpleDesc(t.source.msg.data))+'" ')]):t.source.type==="todo"?e("div",{staticClass:"dialog-todo",on:{click:t.onViewTodo}},[e("div",{staticClass:"todo-user"},[e("UserAvatar",{attrs:{userid:t.source.userid,tooltipDisabled:t.source.userid==t.userId,"show-name":!0,"show-icon":!1}})],1),t._v(" "+t._s(t.$L(t.source.msg.action==="remove"?"\u53D6\u6D88\u5F85\u529E":t.source.msg.action==="done"?"\u5B8C\u6210":"\u8BBE\u5F85\u529E"))+' "'+t._s(t.$A.getMsgSimpleDesc(t.source.msg.data))+'" '),t.formatTodoUser(t.source.msg.data).length>0?e("div",{staticClass:"todo-users"},[e("span",[t._v(t._s(t.$L("\u7ED9")))]),t._l(t.formatTodoUser(t.source.msg.data),function(i,a){return[a<3?e("div",{staticClass:"todo-user"},[e("UserAvatar",{attrs:{userid:i,tooltipDisabled:i==t.userId,"show-name":!0,"show-icon":!1}})],1):a==3?e("div",{staticClass:"todo-user"},[t._v("+"+t._s(t.formatTodoUser(t.source.msg.data).length-3))]):t._e()]})],2):t._e()]):t.source.type==="notice"?e("div",{staticClass:"dialog-notice"},[t._v(" "+t._s(t.source.msg.notice)+" ")]):[e("div",{staticClass:"dialog-avatar"},[e("UserAvatar",{directives:[{name:"longpress",rawName:"v-longpress",value:{callback:t.onMention,delay:300},expression:"{callback: onMention, delay: 300}"}],attrs:{userid:t.source.userid,size:30,"tooltip-disabled":""},on:{"open-dialog":t.onOpenDialog}})],1),e("DialogView",{attrs:{"msg-data":t.source,"dialog-type":t.dialogData.type,"hide-percentage":t.hidePercentage,"hide-reply":t.hideReply,"operate-visible":t.operateVisible,"operate-action":t.operateVisible&&t.source.id===t.operateItem.id,"is-right-msg":t.isRightMsg},on:{"on-longpress":t.onLongpress,"on-view-reply":t.onViewReply,"on-view-text":t.onViewText,"on-view-file":t.onViewFile,"on-down-file":t.onDownFile,"on-reply-list":t.onReplyList,"on-error":t.onError,"on-emoji":t.onEmoji,"on-show-emoji-user":t.onShowEmojiUser}})]],2)},be=[];const _e={name:"DialogItem",components:{DialogView:ge},directives:{longpress:zt},props:{source:{type:Object,default(){return{}}},dialogData:{type:Object,default(){return{}}},operateVisible:{type:Boolean,default:!1},operateItem:{type:Object,default(){return{}}},simpleView:{type:Boolean,default:!1},isMyDialog:{type:Boolean,default:!1},msgId:{type:Number,default:0}},data(){return{subscribe:null}},computed:{...bt(["userId"]),isRightMsg(){return this.source.userid==this.userId},isReply(){return this.simpleView||this.msgId===this.source.id},hidePercentage(){return this.simpleView||this.isMyDialog||this.isReply},hideReply(){return this.simpleView||this.msgId>0},classArray(){return{"dialog-item":!0,"reply-item":this.isReply,self:this.isRightMsg}}},watch:{source:{handler(){this.msgRead()},immediate:!0},windowActive(t){t&&this.msgRead()}},methods:{msgRead(){!this.windowActive||this.$store.dispatch("dialogMsgRead",this.source)},formatTodoUser(t){if($A.isJson(t)){const{userids:o}=t;if(o)return o.split(",")}return[]},onViewTag(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onViewTodo(){this.onViewReply({msg_id:this.source.id,reply_id:this.source.msg.data.id})},onOpenDialog(t){this.dialogData.type=="group"&&this.$store.dispatch("openDialogUserid",t).then(o=>{this.goForward({name:"manage-messenger"})}).catch(({msg:o})=>{$A.modalError(o)})},onMention(){this.dispatch("on-mention",this.source)},onLongpress(t){this.dispatch("on-longpress",t)},onViewReply(t){this.dispatch("on-view-reply",t)},onViewText(t){this.dispatch("on-view-text",t)},onViewFile(t){this.dispatch("on-view-file",t)},onDownFile(t){this.dispatch("on-down-file",t)},onReplyList(t){this.dispatch("on-reply-list",t)},onError(t){this.dispatch("on-error",t)},onEmoji(t){this.dispatch("on-emoji",t)},onShowEmojiUser(t){this.dispatch("on-show-emoji-user",t)},dispatch(t,o){if(this.isReply){this.$emit(t,o);return}let e=this.$parent,i=e.$options.name;for(;e&&(!i||i!=="virtual-list");)e=e.$parent,e&&(i=e.$options.name);e&&e.$emit(t,o)}}},Lt={};var we=pt(_e,ye,be,!1,ke,null,null,null);function ke(t){for(let o in Lt)this[o]=Lt[o]}var Dt=function(){return we.exports}(),Oe=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("Upload",{ref:"upload",attrs:{name:"files",action:t.actionUrl,headers:t.headers,data:t.params,multiple:"",format:t.uploadFormat,"show-upload-list":!1,"max-size":t.maxSize,"on-progress":t.handleProgress,"on-success":t.handleSuccess,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize}})},Ee=[];const Se={name:"DialogUpload",props:{dialogId:{type:Number,default:0},maxSize:{type:Number,default:1024e3}},data(){return{uploadFormat:[],actionUrl:$A.apiUrl("dialog/msg/sendfile")}},computed:{...bt(["cacheDialogs"]),headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},params(){return{dialog_id:this.dialogId,reply_id:this.dialogData.extra_quote_id||0}},dialogData(){return this.cacheDialogs.find(({id:t})=>t==this.dialogId)||{}}},methods:{handleProgress(t,o){o.tempId===void 0&&(this.$parent.$options.name==="DialogWrapper"?o.tempId=this.$parent.getTempId():o.tempId=$A.randNum(1e9,9999999999),this.$emit("on-progress",o))},handleSuccess(t,o){t.ret===1?(o.data=t.data,this.$emit("on-success",o),t.data.task_id&&this.$store.dispatch("getTaskFiles",t.data.task_id)):($A.modalWarning({title:"\u53D1\u9001\u5931\u8D25",content:"\u6587\u4EF6 "+o.name+" \u53D1\u9001\u5931\u8D25\uFF0C"+t.msg}),this.$emit("on-error",o),this.$refs.upload.fileList.pop())},handleFormatError(t){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u53D1\u9001\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(t){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u53D1\u9001\u8D85\u8FC7"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleClick(){this.$refs.upload.handleClick()},upload(t){this.$refs.upload.upload(t)}}},Ct={};var Te=pt(Se,Oe,Ee,!1,xe,null,null,null);function xe(t){for(let o in Ct)this[o]=Ct[o]}var Ae=function(){return Te.exports}(),Le=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"dialog-group-info"},[e("div",{staticClass:"group-info-title"},[t._v(t._s(t.$L("\u7FA4\u540D")))]),e("div",{staticClass:"group-info-value"},[e("QuickEdit",{attrs:{value:t.dialogData.name,disabled:t.dialogData.owner_id!=t.userId},on:{"on-update":t.updateName}},[t._v(t._s(t.dialogData.name))])],1),e("div",{staticClass:"group-info-title"},[t._v(t._s(t.$L("\u7FA4\u7C7B\u578B")))]),e("div",{staticClass:"group-info-value"},[t._v(t._s(t.$L(t.groupType)))]),e("div",{staticClass:"group-info-search"},[e("Input",{attrs:{prefix:"ios-search",placeholder:t.$L("\u641C\u7D22\u6210\u5458"),clearable:""},model:{value:t.searchKey,callback:function(i){t.searchKey=i},expression:"searchKey"}})],1),e("div",{staticClass:"group-info-user"},[e("ul",[t._l(t.userList,function(i,a){return e("li",{key:a,on:{click:function(O){return t.openUser(i.userid)}}},[e("UserAvatar",{attrs:{userid:i.userid,size:32,showName:"",tooltipDisabled:""}}),i.userid===t.dialogData.owner_id?e("div",{staticClass:"user-tag"},[t._v(t._s(t.$L("\u7FA4\u4E3B")))]):t.operableExit(i)?e("div",{staticClass:"user-exit",on:{click:function(O){return O.stopPropagation(),t.onExit(i)}}},[e("Icon",{attrs:{type:"md-exit"}})],1):t._e()],1)}),t.userList.length===0?e("li",{staticClass:"no"},[t.loadIng>0?e("Loading"):e("span",[t._v(t._s(t.$L("\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6570\u636E")))])],1):t._e()],2)]),t.operableAdd?e("div",{staticClass:"group-info-button"},[t.dialogData.owner_id==t.userId||t.dialogData.owner_id==0?e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.openAdd}},[t._v(t._s(t.$L("\u6DFB\u52A0\u6210\u5458")))]):t._e()],1):t._e(),e("Modal",{attrs:{title:t.$L("\u6DFB\u52A0\u7FA4\u6210\u5458"),"mask-closable":!1},model:{value:t.addShow,callback:function(i){t.addShow=i},expression:"addShow"}},[e("Form",{attrs:{model:t.addData,"label-width":"auto"},nativeOn:{submit:function(i){i.preventDefault()}}},[e("FormItem",{attrs:{prop:"userids",label:t.$L("\u65B0\u589E\u6210\u5458")}},[e("UserInput",{attrs:{disabledChoice:t.addData.disabledChoice,"multiple-max":100,"show-bot":"",placeholder:t.$L("\u9009\u62E9\u6210\u5458")},model:{value:t.addData.userids,callback:function(i){t.$set(t.addData,"userids",i)},expression:"addData.userids"}}),t.dialogData.group_type==="department"?e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u90E8\u95E8")))]):t.dialogData.group_type==="project"?e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u9879\u76EE")))]):t.dialogData.group_type==="task"?e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6B64\u64CD\u4F5C\u4EC5\u52A0\u5165\u7FA4\u6210\u5458\u5E76\u4E0D\u4F1A\u52A0\u5165\u4EFB\u52A1\u8D1F\u8D23\u4EBA")))]):t._e()],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(i){t.addShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.addLoad>0},on:{click:t.onAdd}},[t._v(t._s(t.$L("\u786E\u5B9A\u6DFB\u52A0")))])],1)],1)],1)},De=[];const Ce={name:"DialogGroupInfo",components:{UserInput:Ht},props:{dialogId:{type:Number,default:0}},data(){return{searchKey:"",loadIng:0,dialogUser:[],addShow:!1,addData:{},addLoad:0,openIng:!1}},computed:{...bt(["cacheDialogs","cacheUserBasic","userIsAdmin"]),dialogData(){return this.cacheDialogs.find(({id:t})=>t==this.dialogId)||{}},groupType(){const{group_type:t}=this.dialogData;return t==="department"?"\u90E8\u95E8\u7FA4\u7EC4":t==="project"?"\u9879\u76EE\u7FA4\u7EC4":t==="task"?"\u4EFB\u52A1\u7FA4\u7EC4":t==="user"?"\u4E2A\u4EBA\u7FA4\u7EC4":t==="all"?"\u5168\u5458\u7FA4\u7EC4":"\u672A\u77E5"},userList(){const{dialogUser:t,searchKey:o,cacheUserBasic:e,dialogData:i}=this;return t.map(O=>{const S=e.find(w=>w.userid==O.userid);return S&&(O.nickname=S.nickname,O.email=S.email),O}).filter(O=>!(o&&O.nickname&&!$A.strExists(O.nickname,o)&&!$A.strExists(O.email,o))).sort((O,S)=>O.userid===i.owner_id||S.userid===i.owner_id?(O.userid===i.owner_id?0:1)-(S.userid===i.owner_id?0:1):$A.Date(O.created_at)-$A.Date(S.created_at))}},watch:{dialogId:{handler(){this.getDialogUser()},immediate:!0}},methods:{updateName(t,o){if(!t){o();return}this.$store.dispatch("call",{url:"dialog/group/edit",data:{dialog_id:this.dialogId,chat_name:t}}).then(({data:e})=>{this.$store.dispatch("saveDialog",e),o()}).catch(({msg:e})=>{$A.modalError(e),o()})},getDialogUser(){this.dialogId<=0||(this.loadIng++,this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:this.dialogId}}).then(({data:t})=>{this.dialogUser=t,this.$store.dispatch("saveDialog",{id:this.dialogId,people:t.length})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))},operableAdd(){const{owner_id:t,group_type:o}=this.dialogData;return o=="all"?this.userIsAdmin:[0,this.userId].includes(t)},openAdd(){this.addData={dialog_id:this.dialogId,userids:[],disabledChoice:this.dialogUser.map(t=>t.userid)},this.addShow=!0},onAdd(){this.addLoad++,this.$store.dispatch("call",{url:"dialog/group/adduser",data:this.addData}).then(({msg:t})=>{$A.messageSuccess(t),this.addShow=!1,this.addData={},this.getDialogUser()}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.addLoad--})},operableExit(t){const{owner_id:o,group_type:e}=this.dialogData;return e=="all"?this.userIsAdmin:o==this.userId||t.inviter==this.userId},onExit(t){let o="\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u7FA4\u7EC4\u5417\uFF1F",e=[];$A.isJson(t)&&t.userid!=this.userId&&(o=`\u4F60\u786E\u5B9A\u8981\u5C06\u3010${t.nickname}\u3011\u79FB\u51FA\u7FA4\u7EC4\u5417\uFF1F`,e=[t.userid]),$A.modalConfirm({content:o,loading:!0,onOk:()=>new Promise((i,a)=>{this.$store.dispatch("call",{url:"dialog/group/deluser",data:{dialog_id:this.dialogId,userids:e}}).then(({msg:O})=>{i(O),e.length>0?this.getDialogUser():(this.$store.dispatch("forgetDialog",this.dialogId),this.goForward({name:"manage-messenger"}))}).catch(({msg:O})=>{a(O)})})})},openUser(t){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",t).then(o=>{this.$emit("on-close")}).catch(({msg:o})=>{$A.modalError(o)}).finally(o=>{this.openIng=!1}))}}},It={};var Ie=pt(Ce,Le,De,!1,$e,null,null,null);function $e(t){for(let o in It)this[o]=It[o]}var Ne=function(){return Ie.exports}(),Me=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"dialog-respond"},[e("div",{staticClass:"respond-title"},[e("em",[t._v(t._s(t.respondData.symbol))]),t._v(t._s(t.$L("\u56DE\u5E94\u8BE6\u60C5"))+" ("+t._s(t.respondData.userids.length)+")")]),e("div",{staticClass:"respond-user"},[e("ul",t._l(t.respondData.userids,function(i,a){return e("li",{key:a,on:{click:function(O){return t.openUser(i)}}},[e("UserAvatar",{attrs:{userid:i,size:32,showName:"",tooltipDisabled:""}})],1)}),0)])])},Pe=[];const je={name:"DialogRespond",props:{respondData:{type:Object,default:()=>({})}},data(){return{openIng:!1}},methods:{openUser(t){this.openIng||(this.openIng=!0,this.$store.dispatch("openDialogUserid",t).then(o=>{this.$emit("on-close")}).catch(({msg:o})=>{$A.modalError(o)}).finally(o=>{this.openIng=!1}))}}},$t={};var Re=pt(je,Me,Pe,!1,qe,null,null,null);function qe(t){for(let o in $t)this[o]=$t[o]}var Be=function(){return Re.exports}(),Vt={exports:{}};/*! * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen @@ -40,7 +40,7 @@ import{n as pt,m as bt,c as Ft,d as Tt,e as Ut,g as Xt,f as Jt,r as te,V as ee,i `)){var Y=V.offsetHeight+parseFloat(U(V).marginTop)+parseFloat(U(V).marginBottom);V.nextElementSibling.offsetTop>V.offsetTop+Y*1.5&&K.insert(` `)}return K}function ut(V,K){var Y={},Z=V.style||{};return Z.fontStyle&&U(V).fontStyle==="italic"&&(Y.italic=!0),Z.fontWeight&&(U(V).fontWeight.startsWith("bold")||parseInt(U(V).fontWeight)>=700)&&(Y.bold=!0),Object.keys(Y).length>0&&(K=P(K,Y)),parseFloat(Z.textIndent||0)>0&&(K=new c.default().insert(" ").concat(K)),K}function lt(V,K){var Y=V.data;if(V.parentNode.tagName==="O:P")return K.insert(Y.trim());if(Y.trim().length===0&&V.parentNode.classList.contains("ql-clipboard"))return K;if(!U(V.parentNode).whiteSpace.startsWith("pre")){var Z=function(et,it){return it=it.replace(/[^\u00a0]/g,""),it.length<1&&et?" ":it};Y=Y.replace(/\r\n/g," ").replace(/\n/g," "),Y=Y.replace(/\s\s+/g,Z.bind(Z,!0)),(V.previousSibling==null&&$(V.parentNode)||V.previousSibling!=null&&$(V.previousSibling))&&(Y=Y.replace(/^\s+/,Z.bind(Z,!1))),(V.nextSibling==null&&$(V.parentNode)||V.nextSibling!=null&&$(V.nextSibling))&&(Y=Y.replace(/\s+$/,Z.bind(Z,!1)))}return K.insert(Y)}i.default=N,i.matchAttributor=H,i.matchBlot=G,i.matchNewline=nt,i.matchSpacing=ot,i.matchText=lt},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=function(){function d(f,h){for(var l=0;l '},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=function(){function d(f,h){for(var l=0;lr.right&&(f=r.right-d.right,this.root.style.left=c+f+"px"),d.leftr.bottom){var h=d.bottom-d.top,l=m.bottom-m.top+h;this.root.style.top=n-l+"px",this.root.classList.add("ql-flip")}return f}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),b}();i.default=w},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=function(){function T(E,v){var y=[],k=!0,C=!1,j=void 0;try{for(var B=E[Symbol.iterator](),W;!(k=(W=B.next()).done)&&(y.push(W.value),!(v&&y.length===v));k=!0);}catch(q){C=!0,j=q}finally{try{!k&&B.return&&B.return()}finally{if(C)throw j}}return y}return function(E,v){if(Array.isArray(E))return E;if(Symbol.iterator in Object(E))return T(E,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),S=function T(E,v,y){E===null&&(E=Function.prototype);var k=Object.getOwnPropertyDescriptor(E,v);if(k===void 0){var C=Object.getPrototypeOf(E);return C===null?void 0:T(C,v,y)}else{if("value"in k)return k.value;var j=k.get;return j===void 0?void 0:j.call(y)}},w=function(){function T(E,v){for(var y=0;y','','',''].join(""),i.default=A},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=a(29),S=Q(O),w=a(36),b=a(38),_=a(64),m=a(65),c=Q(m),n=a(66),r=Q(n),d=a(67),f=Q(d),h=a(37),l=a(26),u=a(39),p=a(40),s=a(56),g=Q(s),D=a(68),x=Q(D),A=a(27),I=Q(A),T=a(69),E=Q(T),v=a(70),y=Q(v),k=a(71),C=Q(k),j=a(72),B=Q(j),W=a(73),q=Q(W),M=a(13),L=Q(M),N=a(74),P=Q(N),U=a(75),F=Q(U),$=a(57),R=Q($),z=a(41),H=Q(z),G=a(28),X=Q(G),J=a(59),tt=Q(J),nt=a(60),ot=Q(nt),ut=a(61),lt=Q(ut),V=a(108),K=Q(V),Y=a(62),Z=Q(Y);function Q(et){return et&&et.__esModule?et:{default:et}}S.default.register({"attributors/attribute/direction":b.DirectionAttribute,"attributors/class/align":w.AlignClass,"attributors/class/background":h.BackgroundClass,"attributors/class/color":l.ColorClass,"attributors/class/direction":b.DirectionClass,"attributors/class/font":u.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":w.AlignStyle,"attributors/style/background":h.BackgroundStyle,"attributors/style/color":l.ColorStyle,"attributors/style/direction":b.DirectionStyle,"attributors/style/font":u.FontStyle,"attributors/style/size":p.SizeStyle},!0),S.default.register({"formats/align":w.AlignClass,"formats/direction":b.DirectionClass,"formats/indent":_.IndentClass,"formats/background":h.BackgroundStyle,"formats/color":l.ColorStyle,"formats/font":u.FontClass,"formats/size":p.SizeClass,"formats/blockquote":c.default,"formats/code-block":L.default,"formats/header":r.default,"formats/list":f.default,"formats/bold":g.default,"formats/code":M.Code,"formats/italic":x.default,"formats/link":I.default,"formats/script":E.default,"formats/strike":y.default,"formats/underline":C.default,"formats/image":B.default,"formats/video":q.default,"formats/list/item":d.ListItem,"modules/formula":P.default,"modules/syntax":F.default,"modules/toolbar":R.default,"themes/bubble":K.default,"themes/snow":Z.default,"ui/icons":H.default,"ui/picker":X.default,"ui/icon-picker":ot.default,"ui/color-picker":tt.default,"ui/tooltip":lt.default},!0),i.default=S.default},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.IndentClass=void 0;var O=function(){function f(h,l){for(var u=0;u0&&this.children.tail.format(x,A)}},{key:"formats",value:function(){return d({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(x,A){if(x instanceof u)S(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"insertBefore",this).call(this,x,A);else{var I=A==null?this.length():A.offset(this),T=this.split(I);T.parent.insertBefore(x,T)}}},{key:"optimize",value:function(x){S(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"optimize",this).call(this,x);var A=this.next;A!=null&&A.prev===this&&A.statics.blotName===this.statics.blotName&&A.domNode.tagName===this.domNode.tagName&&A.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(A.moveChildren(this),A.remove())}},{key:"replace",value:function(x){if(x.statics.blotName!==this.statics.blotName){var A=b.default.create(this.statics.defaultChild);x.moveChildren(A),this.appendChild(A)}S(g.prototype.__proto__||Object.getPrototypeOf(g.prototype),"replace",this).call(this,x)}}]),g}(n.default);p.blotName="list",p.scope=b.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[u],i.ListItem=u,i.default=p},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=a(56),S=w(O);function w(n){return n&&n.__esModule?n:{default:n}}function b(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function _(n,r){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r&&(typeof r=="object"||typeof r=="function")?r:n}function m(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof r);n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(n,r):n.__proto__=r)}var c=function(n){m(r,n);function r(){return b(this,r),_(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return r}(S.default);c.blotName="italic",c.tagName=["EM","I"],i.default=c},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=function(){function d(f,h){for(var l=0;l-1?s?this.domNode.setAttribute(p,s):this.domNode.removeAttribute(p):S(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"format",this).call(this,p,s)}}],[{key:"create",value:function(p){var s=S(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this,p);return typeof p=="string"&&s.setAttribute("src",this.sanitize(p)),s}},{key:"formats",value:function(p){return d.reduce(function(s,g){return p.hasAttribute(g)&&(s[g]=p.getAttribute(g)),s},{})}},{key:"match",value:function(p){return/\.(jpe?g|gif|png)$/.test(p)||/^data:image\/.+;base64/.test(p)}},{key:"sanitize",value:function(p){return(0,_.sanitize)(p,["http","https","data"])?p:"//:0"}},{key:"value",value:function(p){return p.getAttribute("src")}}]),l}(b.default.Embed);f.blotName="image",f.tagName="IMG",i.default=f},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0});var O=function(){function h(l,u){for(var p=0;p-1?s?this.domNode.setAttribute(p,s):this.domNode.removeAttribute(p):S(l.prototype.__proto__||Object.getPrototypeOf(l.prototype),"format",this).call(this,p,s)}}],[{key:"create",value:function(p){var s=S(l.__proto__||Object.getPrototypeOf(l),"create",this).call(this,p);return s.setAttribute("frameborder","0"),s.setAttribute("allowfullscreen",!0),s.setAttribute("src",this.sanitize(p)),s}},{key:"formats",value:function(p){return d.reduce(function(s,g){return p.hasAttribute(g)&&(s[g]=p.getAttribute(g)),s},{})}},{key:"sanitize",value:function(p){return _.default.sanitize(p)}},{key:"value",value:function(p){return p.getAttribute("src")}}]),l}(w.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",i.default=f},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=i.FormulaBlot=void 0;var O=function(){function p(s,g){for(var D=0;D0||this.cachedText==null)&&(this.domNode.innerHTML=I(T),this.domNode.normalize(),this.attach()),this.cachedText=T)}}]),x}(d.default);p.className="ql-syntax";var s=new b.default.Attributor.Class("token","hljs",{scope:b.default.Scope.INLINE}),g=function(D){u(x,D),O(x,null,[{key:"register",value:function(){m.default.register(s,!0),m.default.register(p,!0)}}]);function x(A,I){h(this,x);var T=l(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,A,I));if(typeof T.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var E=null;return T.quill.on(m.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(E),E=setTimeout(function(){T.highlight(),E=null},T.options.interval)}),T.highlight(),T}return O(x,[{key:"highlight",value:function(){var I=this;if(!this.quill.selection.composing){this.quill.update(m.default.sources.USER);var T=this.quill.getSelection();this.quill.scroll.descendants(p).forEach(function(E){E.highlight(I.options.highlight)}),this.quill.update(m.default.sources.SILENT),T!=null&&this.quill.setSelection(T,m.default.sources.SILENT)}}}]),x}(n.default);g.DEFAULTS={highlight:function(){return window.hljs==null?null:function(D){var x=window.hljs.highlightAuto(D);return x.value}}(),interval:1e3},i.CodeBlock=p,i.CodeToken=s,i.default=g},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i){e.exports=' '},function(e,i,a){Object.defineProperty(i,"__esModule",{value:!0}),i.default=i.BubbleTooltip=void 0;var O=function x(A,I,T){A===null&&(A=Function.prototype);var E=Object.getOwnPropertyDescriptor(A,I);if(E===void 0){var v=Object.getPrototypeOf(A);return v===null?void 0:x(v,I,T)}else{if("value"in E)return E.value;var y=E.get;return y===void 0?void 0:y.call(T)}},S=function(){function x(A,I){for(var T=0;T0&&C===m.default.sources.USER){E.show(),E.root.style.left="0px",E.root.style.width="",E.root.style.width=E.root.offsetWidth+"px";var j=E.quill.getLines(y.index,y.length);if(j.length===1)E.position(E.quill.getBounds(y));else{var B=j[j.length-1],W=E.quill.getIndex(B),q=Math.min(B.length()-1,y.index+y.length-W),M=E.quill.getBounds(new r.Range(W,q));E.position(M)}}else document.activeElement!==E.textbox&&E.quill.hasFocus()&&E.hide()}),E}return S(A,[{key:"listen",value:function(){var T=this;O(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){T.root.classList.remove("ql-editing")}),this.quill.on(m.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!T.root.classList.contains("ql-hidden")){var E=T.quill.getSelection();E!=null&&T.position(T.quill.getBounds(E))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(T){var E=O(A.prototype.__proto__||Object.getPrototypeOf(A.prototype),"position",this).call(this,T),v=this.root.querySelector(".ql-tooltip-arrow");if(v.style.marginLeft="",E===0)return E;v.style.marginLeft=-1*E-v.offsetWidth/2+"px"}}]),A}(c.BaseTooltip);D.TEMPLATE=['','

','','',"
"].join(""),i.BubbleTooltip=D,i.default=g},function(e,i,a){e.exports=a(63)}]).default})})(Vt);var dt=Xt(Vt.exports);function _t(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_t=function(o){return typeof o}:_t=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_t(t)}function Kt(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function Nt(t,o){for(var e=0;et.length)&&(o=t.length);for(var e=0,i=new Array(o);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(b){throw b},f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,S=!1,w;return{s:function(){e=e.call(t)},n:function(){var b=e.next();return O=b.done,b},e:function(b){S=!0,w=b},f:function(){try{!O&&e.return!=null&&e.return()}finally{if(S)throw w}}}}var ht={TAB:9,ENTER:13,ESCAPE:27,UP:38,DOWN:40};function Ge(t,o,e){var i=t;return Object.keys(o).forEach(function(a){e.indexOf(a)>-1?i.dataset[a]=o[a]:delete i.dataset[a]}),i}function Qe(t,o){return o.reduce(function(e,i){var a=t.lastIndexOf(i);return a>e.mentionCharIndex?{mentionChar:i,mentionCharIndex:a}:{mentionChar:e.mentionChar,mentionCharIndex:e.mentionCharIndex}},{mentionChar:null,mentionCharIndex:-1})}function Ye(t,o){return o.test(t)}function Ze(t,o,e){return t>-1?!(e&&!(t===0||!!o[t-1].match(/\s/g))):!1}function Xe(t){return _t(t)!=="object"||t===null?t:JSON.parse(JSON.stringify(t))}var Je=dt.import("blots/embed"),kt=function(t){Fe(e,t);var o=He(e);function e(i,a){var O;return Kt(this,e),O=o.call(this,i,a),Mt(Et(O),"hoverHandler",void 0),Mt(Et(O),"hoverHandler",void 0),O.clickHandler=null,O.hoverHandler=null,O.mounted=!1,O}return Wt(e,[{key:"attach",value:function(){yt(vt(e.prototype),"attach",this).call(this),this.mounted||(this.mounted=!0,this.clickHandler=this.getClickHandler(),this.hoverHandler=this.getHoverHandler(),this.domNode.addEventListener("click",this.clickHandler,!1),this.domNode.addEventListener("mouseenter",this.hoverHandler,!1))}},{key:"detach",value:function(){yt(vt(e.prototype),"detach",this).call(this),this.mounted=!1,this.clickHandler&&(this.domNode.removeEventListener("click",this.clickHandler),this.clickHandler=null)}},{key:"getClickHandler",value:function(){var a=this;return function(O){var S=a.buildEvent("mention-clicked",O);window.dispatchEvent(S),O.preventDefault()}}},{key:"getHoverHandler",value:function(){var a=this;return function(O){var S=a.buildEvent("mention-hovered",O);window.dispatchEvent(S),O.preventDefault()}}},{key:"buildEvent",value:function(a,O){var S=new Event(a,{bubbles:!0,cancelable:!0});return S.value=wt({},this.domNode.dataset),S.event=O,S}}],[{key:"create",value:function(a){var O=yt(vt(e),"create",this).call(this),S=document.createElement("span");return S.className="ql-mention-denotation-char",S.innerHTML=a.denotationChar,O.appendChild(S),O.innerHTML+=a.value,e.setDataValues(O,a)}},{key:"setDataValues",value:function(a,O){var S=a;return Object.keys(O).forEach(function(w){S.dataset[w]=O[w]}),S}},{key:"value",value:function(a){return a.dataset}}]),e}(Je);kt.blotName="mention";kt.tagName="span";kt.className="mention";dt.register(kt);var ti=function(){function t(o,e){var i=this;Kt(this,t),this.isOpen=!1,this.itemIndex=0,this.mentionCharPos=null,this.cursorPos=null,this.values=[],this.suspendMouseEnter=!1,this.existingSourceExecutionToken=null,this.quill=o,this.options={source:null,renderItem:function(b){return"".concat(b.value)},renderLoading:function(){return null},onSelect:function(b,_){_(b)},mentionDenotationChars:["@"],showDenotationChar:!0,allowedChars:/^[a-zA-Z0-9_]*$/,minChars:0,maxChars:31,offsetTop:2,offsetLeft:0,isolateCharacter:!1,fixMentionsToQuill:!1,positioningStrategy:"normal",defaultMenuOrientation:"bottom",blotName:"mention",dataAttributes:["id","value","denotationChar","link","target","disabled"],linkTarget:"_blank",onOpen:function(){return!0},onBeforeClose:function(){return!0},onClose:function(){return!0},listItemClass:"ql-mention-list-item",mentionContainerClass:"ql-mention-list-container",mentionListClass:"ql-mention-list",spaceAfterInsert:!0,selectKeys:[ht.ENTER]},wt(this.options,e,{dataAttributes:Array.isArray(e.dataAttributes)?this.options.dataAttributes.concat(e.dataAttributes):this.options.dataAttributes}),this.mentionContainer=document.createElement("div"),this.mentionContainer.className=this.options.mentionContainerClass?this.options.mentionContainerClass:"",this.mentionContainer.style.cssText="display: none; position: absolute;",this.mentionContainer.onmousemove=this.onContainerMouseMove.bind(this),this.options.fixMentionsToQuill&&(this.mentionContainer.style.width="auto"),this.mentionList=document.createElement("ul"),this.mentionList.id="quill-mention-list",o.root.setAttribute("aria-owns","quill-mention-list"),this.mentionList.className=this.options.mentionListClass?this.options.mentionListClass:"",this.mentionContainer.appendChild(this.mentionList),o.on("text-change",this.onTextChange.bind(this)),o.on("selection-change",this.onSelectionChange.bind(this)),o.container.addEventListener("paste",function(){setTimeout(function(){var w=o.getSelection();i.onSelectionChange(w)})}),o.keyboard.addBinding({key:ht.TAB},this.selectHandler.bind(this)),o.keyboard.bindings[ht.TAB].unshift(o.keyboard.bindings[ht.TAB].pop());var a=We(this.options.selectKeys),O;try{for(a.s();!(O=a.n()).done;){var S=O.value;o.keyboard.addBinding({key:S},this.selectHandler.bind(this))}}catch(w){a.e(w)}finally{a.f()}o.keyboard.bindings[ht.ENTER].unshift(o.keyboard.bindings[ht.ENTER].pop()),o.keyboard.addBinding({key:ht.ESCAPE},this.escapeHandler.bind(this)),o.keyboard.addBinding({key:ht.UP},this.upHandler.bind(this)),o.keyboard.addBinding({key:ht.DOWN},this.downHandler.bind(this))}return Wt(t,[{key:"selectHandler",value:function(){return this.isOpen&&!this.existingSourceExecutionToken?(this.selectItem(),!1):!0}},{key:"escapeHandler",value:function(){return this.isOpen?(this.existingSourceExecutionToken&&(this.existingSourceExecutionToken.abandoned=!0),this.hideMentionList(),!1):!0}},{key:"upHandler",value:function(){return this.isOpen&&!this.existingSourceExecutionToken?(this.prevItem(),!1):!0}},{key:"downHandler",value:function(){return this.isOpen&&!this.existingSourceExecutionToken?(this.nextItem(),!1):!0}},{key:"showMentionList",value:function(){this.options.positioningStrategy==="fixed"?document.body.appendChild(this.mentionContainer):this.quill.container.appendChild(this.mentionContainer),this.mentionContainer.style.visibility="hidden",this.mentionContainer.style.display="",this.mentionContainer.scrollTop=0,this.setMentionContainerPosition(),this.setIsOpen(!0)}},{key:"hideMentionList",value:function(){this.options.onBeforeClose(),this.mentionContainer.style.display="none",this.mentionContainer.remove(),this.setIsOpen(!1),this.quill.root.removeAttribute("aria-activedescendant")}},{key:"highlightItem",value:function(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,i=0;iw-a&&(this.mentionContainer.scrollTop+=O-w+a)}}},{key:"getItemData",value:function(){var e=this.mentionList.childNodes[this.itemIndex].dataset.link,i=typeof e!="undefined",a=this.mentionList.childNodes[this.itemIndex].dataset.target;return i&&(this.mentionList.childNodes[this.itemIndex].dataset.value='-1&&(n=setTimeout(function(){m(),c(),a({statusText:"Request Timeout",status:408})},e)),window[S]=function(d){clearTimeout(n),m(),c(),i(d)};var r=document.createElement("script");r.addEventListener("error",_),r.src=t+(/\?/.test(t)?"&":"?")+b,document.body.appendChild(r)})}var ii=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"chat-emoji-wrapper"},[e("div",{staticClass:"chat-emoji-box"},[t.type==="emosearch"?e("div",{staticClass:"chat-emoji-emosearch"},[e("Input",{attrs:{clearable:"",placeholder:t.$L("\u641C\u7D22\u8868\u60C5")},model:{value:t.emosearchKey,callback:function(i){t.emosearchKey=i},expression:"emosearchKey"}},[e("Icon",{class:{"icon-loading":t.emosearchLoad},attrs:{slot:"prefix",type:t.emosearchLoad?"ios-loading":"ios-search"},slot:"prefix"})],1)],1):t.type==="emoji"?e("div",{staticClass:"chat-emoji-nav"},t._l(t.emojiNavList,function(i){var a;return e("div",{key:i.type,class:(a={},a[`i-${i.name}`]=!0,a.active=i.type===t.emojiNavActive,a),domProps:{innerHTML:t._s(i.content)},on:{click:function(O){t.emojiNavActive=i.type}}})}),0):t._e(),e("ul",{staticClass:"scrollbar-overlay",class:[t.type,"no-dark-content"]},t._l(t.list,function(i){return e("li",{on:{click:function(a){return t.onSelect(a,i)}}},[i.type==="emoticon"?e("img",{attrs:{src:i.src,title:i.name,alt:i.name}}):e("span",{attrs:{title:i.name},domProps:{innerHTML:t._s(i.html)}})])}),0)]),t.onlyEmoji?t._e():e("ul",{staticClass:"chat-emoji-menu"},[e("li",{class:{active:t.type==="emosearch"},on:{click:function(i){t.type="emosearch"}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F8")])]),e("li",{class:{active:t.type==="emoji"},on:{click:function(i){t.type="emoji"}}},[e("span",{staticClass:"no-dark-content"},[t._v("\u{1F600}")])]),t._l(t.emoticonData,function(i){return e("li",{class:{active:t.type==="emoticon"&&t.emoticonPath==i.path},on:{click:function(a){return t.onEmoticon(i.path)}}},[e("img",{attrs:{title:i.name,alt:i.name,src:i.src}})])})],2)])},ni=[];const ri={name:"ChatEmoji",props:{searchKey:{type:String,default:""},onlyEmoji:{type:Boolean,default:!1}},data(){return{type:"emoji",emojiNavActive:"p",emojiNavList:[{type:"p",name:"people",content:''},{type:"n",name:"nature",content:` -`},{type:"d",name:"food",content:''},{type:"s",name:"symbols",content:''},{type:"a",name:"activity",content:''},{type:"t",name:"travel",content:''},{type:"o",name:"objects",content:''},{type:"f",name:"flags",content:''}],emoticonPath:"",emosearchKey:"",emosearchCache:null,emosearchLoad:!1,emosearchTimer:null,emosearchList:[],emojiData:[],emoticonData:[]}},mounted(){this.initData()},watch:{type(){this.onEmosearch()},emosearchKey(){this.onEmosearch()},searchKey:{handler(t){this.emosearchKey=t},immediate:!0}},computed:{list(){if(this.type==="emoji")return this.emojiData.filter(t=>t.category===this.emojiNavActive);if(this.type==="emosearch")return this.emosearchList;if(this.type==="emoticon"){const t=this.emoticonData.find(({path:o})=>o===this.emoticonPath);if(t)return t.list}return[]}},methods:{initData(){$A.loadScriptS(["js/emoji.all.js","js/emoticon.all.js"],t=>{const o=$A.apiUrl("../images/emoticon");$A.isArray(window.emojiData)&&(this.emojiData=window.emojiData.sort(function(e,i){return e.emoji_order-i.emoji_order}).map(e=>({type:"emoji",name:e.name,category:e.category,html:e.code_decimal}))),$A.isArray(window.emoticonData)&&(this.emoticonData=window.emoticonData.map(e=>Object.assign(e,{src:`${o}/${e.path}/${e.icon}`,list:e.list.map(i=>Object.assign(i,{type:"emoticon",asset:`images/emoticon/${e.path}/${i.path}`,src:`${o}/${e.path}/${i.path}`}))})))})},onEmosearch(){this.type!=="emosearch"||this.emosearchCache===this.emosearchKey||(this.emosearchCache=this.emosearchKey,this.emosearchLoad=!0,this.emosearchTimer&&clearTimeout(this.emosearchTimer),this.emosearchTimer=setTimeout(t=>{ei("https://pic.sogou.com/napi/wap/pic",{query:this.emosearchKey+" \u8868\u60C5"}).then(o=>{if(this.emosearchList=[],o.status===0){const e=o.data.items;e.length>0&&(this.emosearchList=e.map(i=>({type:"emoticon",asset:"emosearch",name:i.title,src:i.thumbUrl,height:i.thumbHeight,width:i.thumbWidth})))}this.emosearchList.length===0&&$A.noticeWarning("\u6CA1\u6709\u641C\u7D22\u5230\u4EFB\u4F55\u8868\u60C5")}).catch(o=>{this.emosearchList=[],$A.noticeWarning("\u641C\u7D22\u7ED3\u679C\u4E3A\u7A7A")}).finally(o=>{this.emosearchLoad=!1})},300))},onEmoticon(t){this.type="emoticon",this.emoticonPath=t},onSelect(t,o){o.type==="emoji"?this.$emit("on-select",{type:"emoji",text:t.target.innerText}):this.$emit("on-select",o)}}},jt={};var oi=pt(ri,ii,ni,!1,ai,null,null,null);function ai(t){for(let o in jt)this[o]=jt[o]}var Qt=function(){return oi.exports}();const Rt="ontouchend"in document;var si={bind(t,o){let e=!1;t.__touchMouseDown__=i=>{i.preventDefault(),e=!0,o.value("down",i)},t.__touchMouseMove__=i=>{e&&o.value("move",i)},t.__touchMouseUp__=i=>{e&&(e=!1,o.value("up"))},Rt?(t.addEventListener("touchstart",t.__touchMouseDown__),t.addEventListener("touchmove",t.__touchMouseMove__),t.addEventListener("touchend",t.__touchMouseUp__)):(t.addEventListener("mousedown",t.__touchMouseDown__),document.addEventListener("mousemove",t.__touchMouseMove__),document.addEventListener("mouseup",t.__touchMouseUp__))},update(){},unbind(t){Rt?(t.removeEventListener("touchstart",t.__touchMouseDown__),t.removeEventListener("touchmove",t.__touchMouseMove__),t.removeEventListener("touchend",t.__touchMouseUp__)):(t.removeEventListener("mousedown",t.__touchMouseDown__),document.removeEventListener("mousemove",t.__touchMouseMove__),document.removeEventListener("mouseup",t.__touchMouseUp__)),delete t.__touchMouseDown__,delete t.__touchMouseMove__,delete t.__touchMouseUp__}};function gt(t){return t===void 0&&(t=document.body),t===!0?document.body:t instanceof window.Node?t:document.querySelector(t)}const li={inserted(t,{value:o},e){if(t.dataset&&t.dataset.transfer!=="true")return!1;t.className=t.className?t.className+" v-transfer-dom":"v-transfer-dom";const i=t.parentNode;if(!i)return;const a=document.createComment("");let O=!1;o!==!1&&(i.replaceChild(a,t),gt(o).appendChild(t),O=!0),t.__transferDomData||(t.__transferDomData={parentNode:i,home:a,target:gt(o),hasMovedOut:O})},componentUpdated(t,{value:o}){if(t.dataset&&t.dataset.transfer!=="true")return!1;const e=t.__transferDomData;if(!e)return;const i=e.parentNode,a=e.home,O=e.hasMovedOut;!O&&o?(i.replaceChild(a,t),gt(o).appendChild(t),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!0,target:gt(o)})):O&&o===!1?(i.replaceChild(t,a),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!1,target:gt(o)})):o&>(o).appendChild(t)},unbind(t){if(t.dataset&&t.dataset.transfer!=="true")return!1;t.className=t.className.replace("v-transfer-dom",""),t.__transferDomData&&(t.__transferDomData.hasMovedOut===!0&&t.__transferDomData.parentNode&&t.__transferDomData.parentNode.appendChild(t),t.__transferDomData=null)}};var ui=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.hidePopover,expression:"hidePopover"}],staticClass:"chat-input-box",class:t.boxClass},[e("div",{staticClass:"chat-input-quick-emoji"},[e("EPopover",{ref:"emojiQuickRef",attrs:{visibleArrow:!1,transition:"",placement:"top-end",popperClass:"chat-quick-emoji-popover"},model:{value:t.emojiQuickShow,callback:function(i){t.emojiQuickShow=i},expression:"emojiQuickShow"}},[e("div",{attrs:{slot:"reference"},slot:"reference"}),e("ul",{staticClass:"chat-quick-emoji-wrapper"},t._l(t.emojiQuickItems,function(i){return e("li",{on:{click:function(a){return t.onEmojiQuick(i)}}},[e("img",{attrs:{title:i.name,alt:i.name,src:i.src}})])}),0)])],1),e("div",{staticClass:"chat-input-wrapper",on:{click:function(i){return i.stopPropagation(),t.focus.apply(null,arguments)}}},[t.quoteData?e("div",{staticClass:"chat-quote"},[t.quoteUpdate?e("div",{staticClass:"quote-label"},[t._v(t._s(t.$L("\u7F16\u8F91\u6D88\u606F")))]):e("UserAvatar",{attrs:{userid:t.quoteData.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":!0}}),e("div",{staticClass:"quote-desc"},[t._v(t._s(t.$A.getMsgSimpleDesc(t.quoteData)))]),e("i",{staticClass:"taskfont",on:{click:function(i){return i.stopPropagation(),t.cancelQuote.apply(null,arguments)}}},[t._v("\uE6E5")])],1):t._e(),e("div",{ref:"editor",staticClass:"no-dark-content",style:t.editorStyle,on:{click:function(i){return i.stopPropagation(),t.onClickEditor.apply(null,arguments)},paste:t.handlePaste}}),e("ul",{staticClass:"chat-toolbar",on:{click:function(i){i.stopPropagation()}}},[e("li",[t.emojiBottom?e("ETooltip",{ref:"emojiTip",attrs:{disabled:t.windowSmall||t.$isEEUiApp||t.showEmoji,placement:"top",content:t.$L("\u8868\u60C5")}},[e("i",{staticClass:"taskfont",on:{click:function(i){t.showEmoji=!t.showEmoji}}},[t._v("\uE7AD")])]):e("EPopover",{attrs:{visibleArrow:!1,placement:"top",popperClass:"chat-input-emoji-popover"},model:{value:t.showEmoji,callback:function(i){t.showEmoji=i},expression:"showEmoji"}},[e("ETooltip",{ref:"emojiTip",attrs:{slot:"reference",disabled:t.windowSmall||t.$isEEUiApp||t.showEmoji,placement:"top",content:t.$L("\u8868\u60C5")},slot:"reference"},[e("i",{staticClass:"taskfont"},[t._v("\uE7AD")])]),t.showEmoji?e("ChatEmoji",{attrs:{searchKey:t.emojiQuickKey},on:{"on-select":t.onSelectEmoji}}):t._e()],1)],1),e("li",[e("ETooltip",{attrs:{placement:"top",disabled:t.windowSmall||t.$isEEUiApp,content:t.$L("\u9009\u62E9\u6210\u5458")}},[e("i",{staticClass:"taskfont",on:{click:function(i){return t.onToolbar("user")}}},[t._v("\uE78F")])])],1),e("li",[e("ETooltip",{attrs:{placement:"top",disabled:t.windowSmall||t.$isEEUiApp,content:t.$L("\u9009\u62E9\u4EFB\u52A1")}},[e("i",{staticClass:"taskfont",on:{click:function(i){return t.onToolbar("task")}}},[t._v("\uE7D6")])])],1),e("li",[e("EPopover",{attrs:{visibleArrow:!1,placement:"top",popperClass:"chat-input-more-popover"},model:{value:t.showMore,callback:function(i){t.showMore=i},expression:"showMore"}},[e("ETooltip",{ref:"moreTip",attrs:{slot:"reference",disabled:t.windowSmall||t.$isEEUiApp||t.showMore,placement:"top",content:t.$L("\u5C55\u5F00")},slot:"reference"},[e("i",{staticClass:"taskfont"},[t._v("\uE790")])]),t.recordReady?e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("meeting")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7C1")]),t._v(" "+t._s(t.$L("\u65B0\u4F1A\u8BAE"))+" ")]):t._e(),t.canCall?e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("call")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7BA")]),t._v(" "+t._s(t.$L("\u62E8\u6253\u7535\u8BDD"))+" ")]):t._e(),e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("image")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7BC")]),t._v(" "+t._s(t.$L("\u53D1\u9001\u56FE\u7247"))+" ")]),e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("file")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7C0")]),t._v(" "+t._s(t.$L("\u4E0A\u4F20\u6587\u4EF6"))+" ")]),t.canAnon?e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("anon")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE690")]),t._v(" "+t._s(t.$L("\u533F\u540D\u6D88\u606F"))+" ")]):t._e()],1)],1),e("li",{directives:[{name:"touchmouse",rawName:"v-touchmouse",value:t.clickSend,expression:"clickSend"}],staticClass:"chat-send",class:t.sendClass},[e("ETooltip",{attrs:{placement:"top",disabled:t.windowSmall||t.$isEEUiApp,content:t.$L(t.sendClass==="recorder"?"\u957F\u6309\u5F55\u97F3":"\u53D1\u9001")}},[t.loading?e("div",[e("div",{staticClass:"chat-load"},[e("Loading")],1)]):e("div",[e("transition",{attrs:{name:"mobile-send"}},[t.sendClass==="recorder"?e("i",{staticClass:"taskfont"},[t._v("\uE609")]):t._e()]),e("transition",{attrs:{name:"mobile-send"}},[t.sendClass!=="recorder"?e("i",{staticClass:"taskfont"},[t._v("\uE606")]):t._e()])],1)])],1),e("li",{staticClass:"chat-record-recwave"},[e("div",{ref:"recwave"})])]),e("div",{staticClass:"chat-cover",on:{click:function(i){return i.stopPropagation(),t.onClickCover.apply(null,arguments)}}})]),t.emojiBottom&&t.showEmoji?e("ChatEmoji",{attrs:{searchKey:t.emojiQuickKey},on:{"on-select":t.onSelectEmoji}}):t._e(),e("transition",{attrs:{name:"fade"}},[["ready","ing"].includes(t.recordState)?e("div",{directives:[{name:"transfer-dom",rawName:"v-transfer-dom"}],staticClass:"chat-input-record-transfer",class:{cancel:t.touchLimitY},style:t.recordTransferStyle,attrs:{"data-transfer":!0},on:{click:t.stopRecord}},[t.recordDuration>0?e("div",{staticClass:"record-duration"},[t._v(t._s(t.recordFormatDuration))]):e("div",{staticClass:"record-loading"},[e("Loading")],1),e("div",{staticClass:"record-cancel",on:{click:function(i){return i.stopPropagation(),t.stopRecord(!0)}}},[t._v(t._s(t.$L(t.touchLimitY?"\u677E\u5F00\u53D6\u6D88":"\u5411\u4E0A\u6ED1\u52A8\u53D6\u6D88")))])]):t._e()])],1)},ci=[];const fi={name:"ChatInput",components:{ChatEmoji:Qt},directives:{touchmouse:si,TransferDom:li,clickoutside:Jt},props:{value:{type:[String,Number],default:""},dialogId:{type:Number,default:0},taskId:{type:Number,default:0},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},disabledRecord:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},enterSend:{type:[String,Boolean],default:null},emojiBottom:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},maxlength:{type:Number},defaultMenuOrientation:{type:String,default:"top"}},data(){return{quill:null,isFocus:!1,rangeIndex:0,_content:"",_options:{},mentionMode:"",userList:null,userCache:null,taskList:null,fileList:{},showMore:!1,showEmoji:!1,emojiQuickTimer:null,emojiQuickShow:!1,emojiQuickKey:"",emojiQuickItems:[],observer:null,wrapperWidth:0,wrapperHeight:0,editorHeight:0,recordReady:!1,recordRec:null,recordBlob:null,recordWave:null,recordInter:null,recordState:"stop",recordDuration:0,touchStart:{},touchLimitX:!1,touchLimitY:!1,pasteClean:!0,isSpecVersion:this.checkIOSVersion()}},mounted(){this.init(),this.observer=new ResizeObserver(t=>{t.some(({target:o,contentRect:e})=>{o===this.$el?(this.wrapperWidth=e.width,this.wrapperHeight=e.height):o===this.$refs.editor&&(this.editorHeight=e.height)})}),this.observer.observe(this.$el),this.observer.observe(this.$refs.editor),this.recordInter=setInterval(t=>{this.recordState==="ing"&&(this.__recordDuration&&this.__recordDuration===this.recordDuration?(this.__recordDuration=null,this.stopRecord(!0),$A.messageWarning("\u5F55\u97F3\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")):this.__recordDuration=this.recordDuration)},1e3),this.$isEEUiApp&&(window.__onPermissionRequest=(t,o)=>{t==="recordAudio"&&o===!1&&this.stopRecord(!0)})},beforeDestroy(){this.quill&&(this.quill=null),this.recordRec&&(this.recordRec=null),this.observer&&(this.observer.disconnect(),this.observer=null),this.recordInter&&clearInterval(this.recordInter)},computed:{...bt(["cacheProjects","cacheTasks","cacheUserBasic","dialogMsgs","cacheDialogs"]),isEnterSend(){return typeof this.enterSend=="boolean"?this.enterSend:this.$store.state.windowLarge},canCall(){return this.dialogData.type==="user"&&!this.dialogData.bot&&this.$isEEUiApp},canAnon(){return this.dialogData.type==="user"&&!this.dialogData.bot},editorStyle(){const{wrapperWidth:t,editorHeight:o}=this;return t>0&&o>0&&(t<280||o>40)?{width:"100%"}:{}},recordTransferStyle(){const{windowScrollY:t}=this;return t>0?{marginTop:t/2+"px"}:null},boxClass(){const t=[];return["ready","ing"].includes(this.recordState)&&(this.recordState==="ing"&&this.recordDuration>0?t.push("record-progress"):t.push("record-ready")),this.showMore&&t.push("show-more"),this.showEmoji&&t.push("show-emoji"),this.mentionMode&&t.push(this.mentionMode),t},sendClass(){return this.value?"sender":this.recordReady?"recorder":""},recordFormatDuration(){const{recordDuration:t}=this;let o=Math.floor(t/6e4),e=Math.floor(t/1e3)%60,i=("00"+t%1e3).substr(-2);return o<10&&(o=`0${o}`),e<10&&(e=`0${e}`),`${o}:${e}\u2033${i}`},dialogData(){return this.dialogId>0?this.cacheDialogs.find(({id:t})=>t==this.dialogId)||{}:{}},quoteUpdate(){return this.dialogData.extra_quote_type==="update"},quoteData(){const{extra_quote_id:t}=this.dialogData;return t?this.dialogMsgs.find(o=>o.id===t):null}},watch:{value(t){this.quill&&(t&&t!==this._content?(this._content=t,this.setContent(t)):t||this.quill.setText("")),this.$store.dispatch("saveDialogDraft",{id:this.dialogId,extra_draft_content:t})},disabled(t){var o;(o=this.quill)==null||o.enable(!t)},dialogId(){this.userList=null,this.userCache=null,this.taskList=null,this.fileList={},this.loadInputDraft()},taskId(){this.userList=null,this.userCache=null,this.taskList=null,this.fileList={},this.loadInputDraft()},"dialogData.extra_draft_content"(){this.isFocus||this.loadInputDraft()},showEmoji(t){if(this.emojiBottom&&(t?this.quill.enable(!1):this.disabled||this.quill.enable(!0)),t){let o=this.value.replace(/ /g," ");if(o=o.replace(/<[^>]+>/g,""),o&&o.indexOf(" ")===-1&&o.length>=1&&o.length<=4?this.emojiQuickKey=o:this.emojiQuickKey="",this.showMore=!1,this.emojiQuickShow=!1,this.quill){const e=this.quill.selection.savedRange;this.rangeIndex=e?e.index:0}}else this.rangeIndex>0&&this.quill.setSelection(this.rangeIndex);this.$emit("on-emoji-visible-change",t)},showMore(t){t&&(this.showEmoji=!1),this.$emit("on-more-visible-change",t)},isFocus(t){this.timerScroll&&clearInterval(this.timerScroll),t?(this.$emit("on-focus"),this.hidePopover(),this.isSpecVersion||this.windowSmall&&(this.timerScroll=setInterval(()=>{var o;(o=this.quill)!=null&&o.hasFocus()?this.windowScrollY>0&&$A.scrollIntoViewIfNeeded(this.$refs.editor):clearInterval(this.timerScroll)},200))):this.$emit("on-blur")},recordState(t){t==="ing"?this.recordWave=window.Recorder.FrequencyHistogramView({elem:this.$refs.recwave,lineCount:90,position:0,minHeight:1,stripeEnable:!1}):(this.recordWave=null,this.$refs.recwave.innerHTML=""),this.$emit("on-record-state",t)},wrapperHeight(t,o){this.$emit("on-height-change",{newVal:t,oldVal:o})}},methods:{init(){this._options=Object.assign({theme:"bubble",readOnly:!1,placeholder:this.placeholder,modules:{toolbar:[["bold","strike","italic","underline",{list:"ordered"},{list:"bullet"},"blockquote","code-block"]],keyboard:{bindings:{"short enter":{key:13,shortKey:!0,handler:t=>this.isEnterSend?!0:(this.onSend(),!1)},enter:{key:13,shiftKey:!1,handler:t=>this.isEnterSend?(this.onSend(),!1):!0},esc:{key:27,shiftKey:!1,handler:t=>this.emojiQuickShow?(this.emojiQuickShow=!1,!1):!0}}},mention:{allowedChars:/^\S*$/,mentionDenotationChars:["@","#","~"],defaultMenuOrientation:this.defaultMenuOrientation,isolateCharacter:!0,positioningStrategy:"fixed",renderItem:t=>{if(t.disabled===!0)return`
${t.value}
`;if(t.id===0)return`
@
${t.value}
${t.tip}
`;if(t.avatar){const o=t.bot?'
':"";return`
${o}
${t.value}
`}return t.tip?`
${t.value}
${t.tip}
`:`
${t.value}
`},renderLoading:()=>"Loading...",source:(t,o,e)=>{const i=e=="@"?"user-mention":e=="#"?"task-mention":"file-mention",a=document.getElementsByClassName("ql-mention-list-container");for(let S=0;S{const w=[];S.some(b=>{let _=b.list;t&&(_=_.filter(({value:m})=>$A.strExists(m,t))),_.length>0&&(b.label&&w.push(...b.label),w.push(..._))}),$A.jsonStringify(w.map(({id:b})=>b))!==O&&(O=$A.jsonStringify(w.map(({id:b})=>b)),o(w,t))})}}}},this.options),this.quill=new dt(this.$refs.editor,this._options),this.quill.enable(!this.disabled),this.value?this.setContent(this.value):this.loadInputDraft(),this.quill.on("selection-change",t=>{if(!t){if(this.quill.hasFocus()){this.quill.setSelection(0);return}if(document.activeElement&&document.activeElement.className==="ql-clipboard"){this.quill.setSelection(this.quill.getLength());return}}this.isFocus=!!t}),this.quill.on("text-change",t=>{this.maxlength>0&&this.quill.getLength()>this.maxlength&&this.quill.deleteText(this.maxlength,this.quill.getLength());let o=this.$refs.editor.children[0].innerHTML;o=o.replace(/^(

\s*<\/p>)+|(

\s*<\/p>)+$/gi,""),o=o.replace(/^(

<\/p>)+|(

<\/p>)+$/gi,""),this.updateEmojiQuick(o),this._content=o,this.$emit("input",this._content),this.$nextTick(e=>{const i=this.quill.getSelection();if(i){const a=this.quill.getText(i.index);/^\n\n$/.test(a)&&this.quill.deleteText(i.index,1)}})}),this.quill.clipboard.addMatcher(Node.ELEMENT_NODE,(t,o)=>(this.pasteClean&&(o.ops=o.ops.map(e=>{const i={insert:e.insert};try{typeof i.insert.mention=="object"&&t.innerHTML&&(i.insert=t.innerHTML.replace(/<[^>]+>/g,""))}catch{}return e.attributes&&["bold","strike","italic","underline","list","blockquote","link"].some(a=>{e.attributes[a]&&(typeof i.attributes=="undefined"&&(i.attributes={}),i.attributes[a]=e.attributes[a])}),i})),o)),this.$emit("on-ready",this.quill),this.disabledRecord||$A.loadScriptS(["js/recorder/recorder.mp3.min.js","js/recorder/lib.fft.js","js/recorder/frequency.histogram.view.js"],t=>{t!==null||typeof window.Recorder!="function"||(this.recordRec=window.Recorder({type:"mp3",bitRate:64,sampleRate:32e3,onProcess:(o,e,i,a,O,S)=>{var w;(w=this.recordWave)==null||w.input(o[o.length-1],e,a),this.recordDuration=i,i>=3*60*1e3&&this.stopRecord(!1)}}),window.Recorder.Support()&&(this.recordReady=!0))})},updateEmojiQuick(t){if(!this.isFocus||!t){this.emojiQuickShow=!1;return}this.emojiQuickTimer&&clearTimeout(this.emojiQuickTimer),this.emojiQuickTimer=setTimeout(o=>{if(t=t.replace(/ /g," "),t=t.replace(/<[^>]+>/g,""),t&&t.indexOf(" ")===-1&&t.length>=1&&t.length<=4&&$A.isArray(window.emoticonData)){this.emojiQuickItems=[];let e=$A.apiUrl("../images/emoticon");if(window.emoticonData.some(i=>{let a=i.list.find(O=>$A.strExists(O.name+(O.key?` ${O.key}`:""),t));if(a&&(this.emojiQuickItems.push(Object.assign(a,{type:"emoticon",asset:`images/emoticon/${i.path}/${a.path}`,src:`${e}/${i.path}/${a.path}`})),this.emojiQuickItems.length>=3))return!0}),this.emojiQuickItems.length>0){this.$nextTick(i=>{this.emojiQuickShow=!0,this.$refs.emojiQuickRef.updatePopper()});return}}this.emojiQuickShow=!1},100)},setText(t){this.quill&&this.quill.setText(t)},setContent(t){this.quill&&this.quill.setContents(this.quill.clipboard.convert(t))},setPasteMode(t){this.pasteClean=t},loadInputDraft(){const{extra_draft_content:t}=this.dialogData;t?(this.pasteClean=!1,this.$emit("input",t),this.$nextTick(o=>this.pasteClean=!0)):this.$emit("input","")},onClickEditor(){this.$store.state.messengerSearchKey={dialog:"",contacts:""},this.updateEmojiQuick(this.value)},focus(){this.$nextTick(()=>{this.quill&&(this.quill.setSelection(this.quill.getLength()),this.quill.focus())})},blur(){this.$nextTick(()=>{this.quill&&this.quill.blur()})},clickSend(t,o){if(!this.loading)switch(t){case"down":if(this.touchLimitX=!1,this.touchLimitY=!1,this.touchStart=o.type==="touchstart"?o.touches[0]:o,this.startRecord())return;break;case"move":const e=o.type==="touchmove"?o.touches[0]:o;this.touchLimitX=(this.touchStart.clientX-e.clientX)/window.innerWidth>.1,this.touchLimitY=(this.touchStart.clientY-e.clientY)/window.innerHeight>.1;break;case"up":if(this.stopRecord(this.touchLimitY)||this.touchLimitY||this.touchLimitX)return;this.onSend();break}},onSend(){this.rangeIndex=0,this.$emit("on-send")},startRecord(){return this.sendClass==="recorder"?(this.$store.dispatch("audioStop",!0),this.recordDuration=0,this.recordState="ready",this.$nextTick(t=>{this.recordRec.open(o=>{this.recordState==="ready"?(this.recordState="ing",this.recordBlob=null,setTimeout(e=>{this.recordRec.start()},300)):this.recordRec.close()},o=>{this.recordState="stop",$A.messageError(o||"\u6253\u5F00\u5F55\u97F3\u5931\u8D25")})}),!0):!1},stopRecord(t){switch(this.recordState){case"ing":return this.recordState="stop",this.recordRec.stop((o,e)=>{this.recordRec.close(),t!==!0&&(e<600?$A.messageWarning("\u8BF4\u8BDD\u65F6\u95F4\u592A\u77ED"):(this.recordBlob=o,this.uploadRecord(e)))},o=>{this.recordRec.close(),$A.messageError(o||"\u5F55\u97F3\u5931\u8D25")}),!0;case"ready":return this.recordState="stop",!0;default:return this.recordState="stop",!1}},hidePopover(){this.showMore=!1,this.showEmoji=!1,this.emojiQuickShow=!1},onClickCover(){this.hidePopover(),this.$nextTick(t=>{var o;(o=this.quill)==null||o.focus()})},uploadRecord(t){if(this.recordBlob===null)return;const o=new FileReader;o.onloadend=()=>{this.$emit("on-record",{type:this.recordBlob.type,base64:o.result,duration:t})},o.readAsDataURL(this.recordBlob)},onEmojiQuick(t){t.type==="online"?(this.$emit("input",""),this.$emit("on-send",``)):(this.$emit("input",""),this.$emit("on-send",``)),this.emojiQuickShow=!1,this.focus()},onSelectEmoji(t){!this.quill||(t.type==="emoji"?(this.quill.insertText(this.rangeIndex,t.text),this.rangeIndex+=t.text.length,this.windowLarge&&(this.showEmoji=!1)):t.type==="emoticon"&&(this.$emit("on-send",``),t.asset==="emosearch"&&this.$emit("input",""),this.windowLarge&&(this.showEmoji=!1)))},onToolbar(t){switch(this.hidePopover(),t){case"user":this.openMenu("@");break;case"task":this.openMenu("#");break;case"meeting":Tt.Store.set("addMeeting",{type:"create",dialog_id:this.dialogId,userids:[this.userId]});break;case"image":case"file":case"call":case"anon":this.$emit("on-more",t);break}},onMoreVisibleChange(t){this.showMore=t},setQuote(t,o="reply"){this.dialogId>0&&this.$store.dispatch("saveDialog",{id:this.dialogId,extra_quote_id:t,extra_quote_type:o==="update"?"update":"reply"})},cancelQuote(){this.quoteUpdate&&this.$emit("input",""),this.setQuote(0)},openMenu(t){if(!!this.quill)if(this.value.length===0||this.value.endsWith("


"))this.quill.getModule("mention").openMenu(t);else{let o=this.value.replace(/<[^>]+>/g,"");o.length===0||o.endsWith(" ")?this.quill.getModule("mention").openMenu(t):this.quill.getModule("mention").openMenu(` ${t}`)}},addMention(t){!this.quill||this.quill.getModule("mention").insertItem(t,!0)},getProjectId(){let t=null;if(this.dialogId>0){if(t=this.cacheProjects.find(({dialog_id:o})=>o==this.dialogId),t)return t.id;if(t=this.cacheTasks.find(({dialog_id:o})=>o==this.dialogId),t)return t.project_id}else if(this.taskId>0&&(t=this.cacheTasks.find(({id:o})=>o==this.taskId),t))return t.project_id;return 0},getMentionSource(t,o,e){switch(t){case"@":this.mentionMode="user-mention";const i=w=>{this.getMoreUser(o,w.map(b=>b.id)).then(b=>{this.userList=w,this.userCache=[],b.length>0?(w.length>2&&this.userCache.push({label:null,list:[{id:0,value:this.$L("\u6240\u6709\u4EBA"),tip:this.$L("\u4EC5\u63D0\u793A\u4F1A\u8BDD\u5185\u6210\u5458")}]}),this.userCache.push({label:[{id:0,value:this.$L("\u4F1A\u8BDD\u5185\u6210\u5458"),disabled:!0}],list:w},{label:[{id:0,value:this.$L("\u4F1A\u8BDD\u4EE5\u5916\u6210\u5458"),disabled:!0}],list:b})):w.length>2?this.userCache.push({label:null,list:[{id:0,value:this.$L("\u6240\u6709\u4EBA"),tip:this.$L("\u63D0\u793A\u6240\u6709\u6210\u5458")}]},{label:[{id:0,value:this.$L("\u4F1A\u8BDD\u5185\u6210\u5458"),disabled:!0}],list:w}):this.userCache.push({label:null,list:w}),e(this.userCache)})};if(this.dialogData.people&&$A.arrayLength(this.userList)!==this.dialogData.people&&(this.userList=null,this.userCache=null),this.userCache!==null&&e(this.userCache),this.userList!==null){i(this.userList);return}const a=[];if(this.dialogId>0)this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:this.dialogId,getuser:1}}).then(({data:w})=>{this.cacheDialogs.find(({id:b})=>b==this.dialogId)&&this.$store.dispatch("saveDialog",{id:this.dialogId,people:w.length}),w.length>0&&a.push(...w.map(b=>({id:b.userid,value:b.nickname,avatar:b.userimg,online:b.online,bot:b.bot}))),i(a)}).catch(w=>{i(a)});else if(this.taskId>0){const w=this.cacheTasks.find(({id:b})=>b==this.taskId);w&&$A.isArray(w.task_user)&&w.task_user.some(b=>{const _=this.cacheUserBasic.find(({userid:m})=>m==b.userid);_&&a.push({id:_.userid,value:_.nickname,avatar:_.userimg,online:_.online,bot:_.bot})}),i(a)}break;case"#":if(this.mentionMode="task-mention",this.taskList!==null){e(this.taskList);return}const O=w=>{this.taskList=[],w.length>0&&(w=w.map(m=>({id:m.id,value:m.name,tip:m.complete_at?this.$L("\u5DF2\u5B8C\u6210"):null})).splice(0,100),this.taskList.push({label:[{id:0,value:this.$L("\u9879\u76EE\u4EFB\u52A1"),disabled:!0}],list:w}));let b=this.$store.getters.transforTasks(this.$store.getters.dashboardTask.all);b.length>0&&(b=b.sort((m,c)=>$A.Date(m.end_at||"2099-12-31 23:59:59")-$A.Date(c.end_at||"2099-12-31 23:59:59")).splice(0,100),this.taskList.push({label:[{id:0,value:this.$L("\u6211\u7684\u5F85\u5B8C\u6210\u4EFB\u52A1"),disabled:!0}],list:b.map(m=>({id:m.id,value:m.name}))}));let _=this.$store.getters.assistTask;_.length>0&&(_=_.sort((m,c)=>$A.Date(m.end_at||"2099-12-31 23:59:59")-$A.Date(c.end_at||"2099-12-31 23:59:59")).splice(0,100),this.taskList.push({label:[{id:0,value:this.$L("\u6211\u534F\u52A9\u7684\u4EFB\u52A1"),disabled:!0}],list:_.map(m=>({id:m.id,value:m.name}))})),e(this.taskList)},S=this.getProjectId();if(S>0){this.$store.dispatch("getTaskForProject",S).then(w=>{const b=this.cacheTasks.filter(_=>_.archived_at?!1:_.project_id==S&&_.parent_id===0&&!_.archived_at).sort((_,m)=>$A.Date(m.complete_at||"2099-12-31 23:59:59")-$A.Date(_.complete_at||"2099-12-31 23:59:59"));b.length>0?O(b):O([])}).catch(w=>{O([])});return}O([]);break;case"~":if(this.mentionMode="file-mention",$A.isArray(this.fileList[o])){e(this.fileList[o]);return}this.fileTimer&&clearTimeout(this.fileTimer),this.fileTimer=setTimeout(w=>{this.$store.dispatch("searchFiles",o).then(({data:b})=>{this.fileList[o]=[{label:[{id:0,value:this.$L("\u6587\u4EF6\u5206\u4EAB\u67E5\u770B"),disabled:!0}],list:b.filter(_=>_.type!=="folder").map(_=>({id:_.id,value:_.ext?`${_.name}.${_.ext}`:_.name}))}],e(this.fileList[o])}).catch(()=>{e([])})},300);break;default:e([]);break}},getMoreUser(t,o){return new Promise(e=>{const{owner_id:i,type:a}=this.dialogData,O=a==="group"&&[0,this.userId].includes(i);this.taskId>0||O?(this.__getMoreTimer&&clearTimeout(this.__getMoreTimer),this.__getMoreTimer=setTimeout(S=>{this.$store.dispatch("call",{url:"users/search",data:{keys:{key:t},state:1,take:30}}).then(({data:w})=>{const b=w.filter(_=>!o.includes(_.userid));e(b.map(_=>({id:_.userid,value:_.nickname,avatar:_.userimg,online:!!_.online})))}).catch(w=>{e([])})},this.userCache===null?0:600)):e([])})},checkIOSVersion(){let o=(window&&window.navigator&&window.navigator.userAgent).match(/OS ((\d+_?){2,3})\s/i);const i=(o?o[1].replace(/_/g,"."):"unknown").split(".");return+i[0]==11&&+i[1]>=0&&+i[1]<3},handlePaste(t){const o=Array.prototype.slice.call(t.clipboardData.files);o.filter(i=>!$A.leftExists(i.type,"image/")).length>0?(t.preventDefault(),this.$emit("on-file",o)):this.pasteRtf(t)&&t.preventDefault()},pasteRtf(t){if(t&&t.clipboardData&&t.clipboardData.items&&!new DOMParser().parseFromString(t.clipboardData.getData("text/html")||"","text/html").querySelector("img")){const e=[];let i=null;if(t.clipboardData.types&&[].indexOf.call(t.clipboardData.types,"text/rtf")!=-1||t.clipboardData.getData("text/rtf"))i=t.clipboardData.items[0].getAsFile(),i&&e.push(i);else for(let a=0;a0)return e.forEach(a=>{const O=new FileReader;O.onload=({target:S})=>{const w=this.quill.getSelection(!0).index;this.quill.insertEmbed(w,"image",S.result),this.quill.setSelection(w+1)},O.readAsDataURL(a)}),!0}return!1}}},qt={};var hi=pt(fi,ui,ci,!1,di,null,null,null);function di(t){for(let o in qt)this[o]=qt[o]}var pi=function(){return hi.exports}(),Yt={exports:{}};/*! +`},{type:"d",name:"food",content:''},{type:"s",name:"symbols",content:''},{type:"a",name:"activity",content:''},{type:"t",name:"travel",content:''},{type:"o",name:"objects",content:''},{type:"f",name:"flags",content:''}],emoticonPath:"",emosearchKey:"",emosearchCache:null,emosearchLoad:!1,emosearchTimer:null,emosearchList:[],emojiData:[],emoticonData:[]}},mounted(){this.initData()},watch:{type(){this.onEmosearch()},emosearchKey(){this.onEmosearch()},searchKey:{handler(t){this.emosearchKey=t},immediate:!0}},computed:{list(){if(this.type==="emoji")return this.emojiData.filter(t=>t.category===this.emojiNavActive);if(this.type==="emosearch")return this.emosearchList;if(this.type==="emoticon"){const t=this.emoticonData.find(({path:o})=>o===this.emoticonPath);if(t)return t.list}return[]}},methods:{initData(){$A.loadScriptS(["js/emoji.all.js","js/emoticon.all.js"]).then(t=>{const o=$A.apiUrl("../images/emoticon");$A.isArray(window.emojiData)&&(this.emojiData=window.emojiData.sort(function(e,i){return e.emoji_order-i.emoji_order}).map(e=>({type:"emoji",name:e.name,category:e.category,html:e.code_decimal}))),$A.isArray(window.emoticonData)&&(this.emoticonData=window.emoticonData.map(e=>Object.assign(e,{src:`${o}/${e.path}/${e.icon}`,list:e.list.map(i=>Object.assign(i,{type:"emoticon",asset:`images/emoticon/${e.path}/${i.path}`,src:`${o}/${e.path}/${i.path}`}))})))})},onEmosearch(){this.type!=="emosearch"||this.emosearchCache===this.emosearchKey||(this.emosearchCache=this.emosearchKey,this.emosearchLoad=!0,this.emosearchTimer&&clearTimeout(this.emosearchTimer),this.emosearchTimer=setTimeout(t=>{ei("https://pic.sogou.com/napi/wap/pic",{query:this.emosearchKey+" \u8868\u60C5"}).then(o=>{if(this.emosearchList=[],o.status===0){const e=o.data.items;e.length>0&&(this.emosearchList=e.map(i=>({type:"emoticon",asset:"emosearch",name:i.title,src:i.thumbUrl,height:i.thumbHeight,width:i.thumbWidth})))}this.emosearchList.length===0&&$A.noticeWarning("\u6CA1\u6709\u641C\u7D22\u5230\u4EFB\u4F55\u8868\u60C5")}).catch(o=>{this.emosearchList=[],$A.noticeWarning("\u641C\u7D22\u7ED3\u679C\u4E3A\u7A7A")}).finally(o=>{this.emosearchLoad=!1})},300))},onEmoticon(t){this.type="emoticon",this.emoticonPath=t},onSelect(t,o){o.type==="emoji"?this.$emit("on-select",{type:"emoji",text:t.target.innerText}):this.$emit("on-select",o)}}},jt={};var oi=pt(ri,ii,ni,!1,ai,null,null,null);function ai(t){for(let o in jt)this[o]=jt[o]}var Qt=function(){return oi.exports}();const Rt="ontouchend"in document;var si={bind(t,o){let e=!1;t.__touchMouseDown__=i=>{i.preventDefault(),e=!0,o.value("down",i)},t.__touchMouseMove__=i=>{e&&o.value("move",i)},t.__touchMouseUp__=i=>{e&&(e=!1,o.value("up"))},Rt?(t.addEventListener("touchstart",t.__touchMouseDown__),t.addEventListener("touchmove",t.__touchMouseMove__),t.addEventListener("touchend",t.__touchMouseUp__)):(t.addEventListener("mousedown",t.__touchMouseDown__),document.addEventListener("mousemove",t.__touchMouseMove__),document.addEventListener("mouseup",t.__touchMouseUp__))},update(){},unbind(t){Rt?(t.removeEventListener("touchstart",t.__touchMouseDown__),t.removeEventListener("touchmove",t.__touchMouseMove__),t.removeEventListener("touchend",t.__touchMouseUp__)):(t.removeEventListener("mousedown",t.__touchMouseDown__),document.removeEventListener("mousemove",t.__touchMouseMove__),document.removeEventListener("mouseup",t.__touchMouseUp__)),delete t.__touchMouseDown__,delete t.__touchMouseMove__,delete t.__touchMouseUp__}};function gt(t){return t===void 0&&(t=document.body),t===!0?document.body:t instanceof window.Node?t:document.querySelector(t)}const li={inserted(t,{value:o},e){if(t.dataset&&t.dataset.transfer!=="true")return!1;t.className=t.className?t.className+" v-transfer-dom":"v-transfer-dom";const i=t.parentNode;if(!i)return;const a=document.createComment("");let O=!1;o!==!1&&(i.replaceChild(a,t),gt(o).appendChild(t),O=!0),t.__transferDomData||(t.__transferDomData={parentNode:i,home:a,target:gt(o),hasMovedOut:O})},componentUpdated(t,{value:o}){if(t.dataset&&t.dataset.transfer!=="true")return!1;const e=t.__transferDomData;if(!e)return;const i=e.parentNode,a=e.home,O=e.hasMovedOut;!O&&o?(i.replaceChild(a,t),gt(o).appendChild(t),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!0,target:gt(o)})):O&&o===!1?(i.replaceChild(t,a),t.__transferDomData=Object.assign({},t.__transferDomData,{hasMovedOut:!1,target:gt(o)})):o&>(o).appendChild(t)},unbind(t){if(t.dataset&&t.dataset.transfer!=="true")return!1;t.className=t.className.replace("v-transfer-dom",""),t.__transferDomData&&(t.__transferDomData.hasMovedOut===!0&&t.__transferDomData.parentNode&&t.__transferDomData.parentNode.appendChild(t),t.__transferDomData=null)}};var ui=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.hidePopover,expression:"hidePopover"}],staticClass:"chat-input-box",class:t.boxClass},[e("div",{staticClass:"chat-input-quick-emoji"},[e("EPopover",{ref:"emojiQuickRef",attrs:{visibleArrow:!1,transition:"",placement:"top-end",popperClass:"chat-quick-emoji-popover"},model:{value:t.emojiQuickShow,callback:function(i){t.emojiQuickShow=i},expression:"emojiQuickShow"}},[e("div",{attrs:{slot:"reference"},slot:"reference"}),e("ul",{staticClass:"chat-quick-emoji-wrapper"},t._l(t.emojiQuickItems,function(i){return e("li",{on:{click:function(a){return t.onEmojiQuick(i)}}},[e("img",{attrs:{title:i.name,alt:i.name,src:i.src}})])}),0)])],1),e("div",{staticClass:"chat-input-wrapper",on:{click:function(i){return i.stopPropagation(),t.focus.apply(null,arguments)}}},[t.quoteData?e("div",{staticClass:"chat-quote"},[t.quoteUpdate?e("div",{staticClass:"quote-label"},[t._v(t._s(t.$L("\u7F16\u8F91\u6D88\u606F")))]):e("UserAvatar",{attrs:{userid:t.quoteData.userid,"show-icon":!1,"show-name":!0,"tooltip-disabled":!0}}),e("div",{staticClass:"quote-desc"},[t._v(t._s(t.$A.getMsgSimpleDesc(t.quoteData)))]),e("i",{staticClass:"taskfont",on:{click:function(i){return i.stopPropagation(),t.cancelQuote.apply(null,arguments)}}},[t._v("\uE6E5")])],1):t._e(),e("div",{ref:"editor",staticClass:"no-dark-content",style:t.editorStyle,on:{click:function(i){return i.stopPropagation(),t.onClickEditor.apply(null,arguments)},paste:t.handlePaste}}),e("ul",{staticClass:"chat-toolbar",on:{click:function(i){i.stopPropagation()}}},[e("li",[t.emojiBottom?e("ETooltip",{ref:"emojiTip",attrs:{disabled:t.windowSmall||t.$isEEUiApp||t.showEmoji,placement:"top",content:t.$L("\u8868\u60C5")}},[e("i",{staticClass:"taskfont",on:{click:function(i){t.showEmoji=!t.showEmoji}}},[t._v("\uE7AD")])]):e("EPopover",{attrs:{visibleArrow:!1,placement:"top",popperClass:"chat-input-emoji-popover"},model:{value:t.showEmoji,callback:function(i){t.showEmoji=i},expression:"showEmoji"}},[e("ETooltip",{ref:"emojiTip",attrs:{slot:"reference",disabled:t.windowSmall||t.$isEEUiApp||t.showEmoji,placement:"top",content:t.$L("\u8868\u60C5")},slot:"reference"},[e("i",{staticClass:"taskfont"},[t._v("\uE7AD")])]),t.showEmoji?e("ChatEmoji",{attrs:{searchKey:t.emojiQuickKey},on:{"on-select":t.onSelectEmoji}}):t._e()],1)],1),e("li",[e("ETooltip",{attrs:{placement:"top",disabled:t.windowSmall||t.$isEEUiApp,content:t.$L("\u9009\u62E9\u6210\u5458")}},[e("i",{staticClass:"taskfont",on:{click:function(i){return t.onToolbar("user")}}},[t._v("\uE78F")])])],1),e("li",[e("ETooltip",{attrs:{placement:"top",disabled:t.windowSmall||t.$isEEUiApp,content:t.$L("\u9009\u62E9\u4EFB\u52A1")}},[e("i",{staticClass:"taskfont",on:{click:function(i){return t.onToolbar("task")}}},[t._v("\uE7D6")])])],1),e("li",[e("EPopover",{attrs:{visibleArrow:!1,placement:"top",popperClass:"chat-input-more-popover"},model:{value:t.showMore,callback:function(i){t.showMore=i},expression:"showMore"}},[e("ETooltip",{ref:"moreTip",attrs:{slot:"reference",disabled:t.windowSmall||t.$isEEUiApp||t.showMore,placement:"top",content:t.$L("\u5C55\u5F00")},slot:"reference"},[e("i",{staticClass:"taskfont"},[t._v("\uE790")])]),t.recordReady?e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("meeting")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7C1")]),t._v(" "+t._s(t.$L("\u65B0\u4F1A\u8BAE"))+" ")]):t._e(),t.canCall?e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("call")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7BA")]),t._v(" "+t._s(t.$L("\u62E8\u6253\u7535\u8BDD"))+" ")]):t._e(),e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("image")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7BC")]),t._v(" "+t._s(t.$L("\u53D1\u9001\u56FE\u7247"))+" ")]),e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("file")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE7C0")]),t._v(" "+t._s(t.$L("\u4E0A\u4F20\u6587\u4EF6"))+" ")]),t.canAnon?e("div",{staticClass:"chat-input-popover-item",on:{click:function(i){return t.onToolbar("anon")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE690")]),t._v(" "+t._s(t.$L("\u533F\u540D\u6D88\u606F"))+" ")]):t._e()],1)],1),e("li",{directives:[{name:"touchmouse",rawName:"v-touchmouse",value:t.clickSend,expression:"clickSend"}],staticClass:"chat-send",class:t.sendClass},[e("ETooltip",{attrs:{placement:"top",disabled:t.windowSmall||t.$isEEUiApp,content:t.$L(t.sendClass==="recorder"?"\u957F\u6309\u5F55\u97F3":"\u53D1\u9001")}},[t.loading?e("div",[e("div",{staticClass:"chat-load"},[e("Loading")],1)]):e("div",[e("transition",{attrs:{name:"mobile-send"}},[t.sendClass==="recorder"?e("i",{staticClass:"taskfont"},[t._v("\uE609")]):t._e()]),e("transition",{attrs:{name:"mobile-send"}},[t.sendClass!=="recorder"?e("i",{staticClass:"taskfont"},[t._v("\uE606")]):t._e()])],1)])],1),e("li",{staticClass:"chat-record-recwave"},[e("div",{ref:"recwave"})])]),e("div",{staticClass:"chat-cover",on:{click:function(i){return i.stopPropagation(),t.onClickCover.apply(null,arguments)}}})]),t.emojiBottom&&t.showEmoji?e("ChatEmoji",{attrs:{searchKey:t.emojiQuickKey},on:{"on-select":t.onSelectEmoji}}):t._e(),e("transition",{attrs:{name:"fade"}},[["ready","ing"].includes(t.recordState)?e("div",{directives:[{name:"transfer-dom",rawName:"v-transfer-dom"}],staticClass:"chat-input-record-transfer",class:{cancel:t.touchLimitY},style:t.recordTransferStyle,attrs:{"data-transfer":!0},on:{click:t.stopRecord}},[t.recordDuration>0?e("div",{staticClass:"record-duration"},[t._v(t._s(t.recordFormatDuration))]):e("div",{staticClass:"record-loading"},[e("Loading")],1),e("div",{staticClass:"record-cancel",on:{click:function(i){return i.stopPropagation(),t.stopRecord(!0)}}},[t._v(t._s(t.$L(t.touchLimitY?"\u677E\u5F00\u53D6\u6D88":"\u5411\u4E0A\u6ED1\u52A8\u53D6\u6D88")))])]):t._e()])],1)},ci=[];const fi={name:"ChatInput",components:{ChatEmoji:Qt},directives:{touchmouse:si,TransferDom:li,clickoutside:Jt},props:{value:{type:[String,Number],default:""},dialogId:{type:Number,default:0},taskId:{type:Number,default:0},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},disabledRecord:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},enterSend:{type:[String,Boolean],default:null},emojiBottom:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},maxlength:{type:Number},defaultMenuOrientation:{type:String,default:"top"}},data(){return{quill:null,isFocus:!1,rangeIndex:0,_content:"",_options:{},mentionMode:"",userList:null,userCache:null,taskList:null,fileList:{},showMore:!1,showEmoji:!1,emojiQuickTimer:null,emojiQuickShow:!1,emojiQuickKey:"",emojiQuickItems:[],observer:null,wrapperWidth:0,wrapperHeight:0,editorHeight:0,recordReady:!1,recordRec:null,recordBlob:null,recordWave:null,recordInter:null,recordState:"stop",recordDuration:0,touchStart:{},touchLimitX:!1,touchLimitY:!1,pasteClean:!0,isSpecVersion:this.checkIOSVersion()}},mounted(){this.init(),this.observer=new ResizeObserver(t=>{t.some(({target:o,contentRect:e})=>{o===this.$el?(this.wrapperWidth=e.width,this.wrapperHeight=e.height):o===this.$refs.editor&&(this.editorHeight=e.height)})}),this.observer.observe(this.$el),this.observer.observe(this.$refs.editor),this.recordInter=setInterval(t=>{this.recordState==="ing"&&(this.__recordDuration&&this.__recordDuration===this.recordDuration?(this.__recordDuration=null,this.stopRecord(!0),$A.messageWarning("\u5F55\u97F3\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")):this.__recordDuration=this.recordDuration)},1e3),this.$isEEUiApp&&(window.__onPermissionRequest=(t,o)=>{t==="recordAudio"&&o===!1&&this.stopRecord(!0)})},beforeDestroy(){this.quill&&(this.quill=null),this.recordRec&&(this.recordRec=null),this.observer&&(this.observer.disconnect(),this.observer=null),this.recordInter&&clearInterval(this.recordInter)},computed:{...bt(["cacheProjects","cacheTasks","cacheUserBasic","dialogMsgs","cacheDialogs"]),isEnterSend(){return typeof this.enterSend=="boolean"?this.enterSend:this.$store.state.windowLarge},canCall(){return this.dialogData.type==="user"&&!this.dialogData.bot&&this.$isEEUiApp},canAnon(){return this.dialogData.type==="user"&&!this.dialogData.bot},editorStyle(){const{wrapperWidth:t,editorHeight:o}=this;return t>0&&o>0&&(t<280||o>40)?{width:"100%"}:{}},recordTransferStyle(){const{windowScrollY:t}=this;return t>0?{marginTop:t/2+"px"}:null},boxClass(){const t=[];return["ready","ing"].includes(this.recordState)&&(this.recordState==="ing"&&this.recordDuration>0?t.push("record-progress"):t.push("record-ready")),this.showMore&&t.push("show-more"),this.showEmoji&&t.push("show-emoji"),this.mentionMode&&t.push(this.mentionMode),t},sendClass(){return this.value?"sender":this.recordReady?"recorder":""},recordFormatDuration(){const{recordDuration:t}=this;let o=Math.floor(t/6e4),e=Math.floor(t/1e3)%60,i=("00"+t%1e3).substr(-2);return o<10&&(o=`0${o}`),e<10&&(e=`0${e}`),`${o}:${e}\u2033${i}`},dialogData(){return this.dialogId>0?this.cacheDialogs.find(({id:t})=>t==this.dialogId)||{}:{}},quoteUpdate(){return this.dialogData.extra_quote_type==="update"},quoteData(){const{extra_quote_id:t}=this.dialogData;return t?this.dialogMsgs.find(o=>o.id===t):null}},watch:{value(t){this.quill&&(t&&t!==this._content?(this._content=t,this.setContent(t)):t||this.quill.setText("")),this.$store.dispatch("saveDialogDraft",{id:this.dialogId,extra_draft_content:t})},disabled(t){var o;(o=this.quill)==null||o.enable(!t)},dialogId(){this.userList=null,this.userCache=null,this.taskList=null,this.fileList={},this.loadInputDraft()},taskId(){this.userList=null,this.userCache=null,this.taskList=null,this.fileList={},this.loadInputDraft()},"dialogData.extra_draft_content"(){this.isFocus||this.loadInputDraft()},showEmoji(t){if(this.emojiBottom&&(t?this.quill.enable(!1):this.disabled||this.quill.enable(!0)),t){let o=this.value.replace(/ /g," ");if(o=o.replace(/<[^>]+>/g,""),o&&o.indexOf(" ")===-1&&o.length>=1&&o.length<=4?this.emojiQuickKey=o:this.emojiQuickKey="",this.showMore=!1,this.emojiQuickShow=!1,this.quill){const e=this.quill.selection.savedRange;this.rangeIndex=e?e.index:0}}else this.rangeIndex>0&&this.quill.setSelection(this.rangeIndex);this.$emit("on-emoji-visible-change",t)},showMore(t){t&&(this.showEmoji=!1),this.$emit("on-more-visible-change",t)},isFocus(t){this.timerScroll&&clearInterval(this.timerScroll),t?(this.$emit("on-focus"),this.hidePopover(),this.isSpecVersion||this.windowSmall&&(this.timerScroll=setInterval(()=>{var o;(o=this.quill)!=null&&o.hasFocus()?this.windowScrollY>0&&$A.scrollIntoViewIfNeeded(this.$refs.editor):clearInterval(this.timerScroll)},200))):this.$emit("on-blur")},recordState(t){t==="ing"?this.recordWave=window.Recorder.FrequencyHistogramView({elem:this.$refs.recwave,lineCount:90,position:0,minHeight:1,stripeEnable:!1}):(this.recordWave=null,this.$refs.recwave.innerHTML=""),this.$emit("on-record-state",t)},wrapperHeight(t,o){this.$emit("on-height-change",{newVal:t,oldVal:o})}},methods:{init(){this._options=Object.assign({theme:"bubble",readOnly:!1,placeholder:this.placeholder,modules:{toolbar:[["bold","strike","italic","underline",{list:"ordered"},{list:"bullet"},"blockquote","code-block"]],keyboard:{bindings:{"short enter":{key:13,shortKey:!0,handler:t=>this.isEnterSend?!0:(this.onSend(),!1)},enter:{key:13,shiftKey:!1,handler:t=>this.isEnterSend?(this.onSend(),!1):!0},esc:{key:27,shiftKey:!1,handler:t=>this.emojiQuickShow?(this.emojiQuickShow=!1,!1):!0}}},mention:{allowedChars:/^\S*$/,mentionDenotationChars:["@","#","~"],defaultMenuOrientation:this.defaultMenuOrientation,isolateCharacter:!0,positioningStrategy:"fixed",renderItem:t=>{if(t.disabled===!0)return`
${t.value}
`;if(t.id===0)return`
@
${t.value}
${t.tip}
`;if(t.avatar){const o=t.bot?'
':"";return`
${o}
${t.value}
`}return t.tip?`
${t.value}
${t.tip}
`:`
${t.value}
`},renderLoading:()=>"Loading...",source:(t,o,e)=>{const i=e=="@"?"user-mention":e=="#"?"task-mention":"file-mention",a=document.getElementsByClassName("ql-mention-list-container");for(let S=0;S{const w=[];S.some(b=>{let _=b.list;t&&(_=_.filter(({value:m})=>$A.strExists(m,t))),_.length>0&&(b.label&&w.push(...b.label),w.push(..._))}),$A.jsonStringify(w.map(({id:b})=>b))!==O&&(O=$A.jsonStringify(w.map(({id:b})=>b)),o(w,t))})}}}},this.options),this.quill=new dt(this.$refs.editor,this._options),this.quill.enable(!this.disabled),this.value?this.setContent(this.value):this.loadInputDraft(),this.quill.on("selection-change",t=>{if(!t){if(this.quill.hasFocus()){this.quill.setSelection(0);return}if(document.activeElement&&document.activeElement.className==="ql-clipboard"){this.quill.setSelection(this.quill.getLength());return}}this.isFocus=!!t}),this.quill.on("text-change",t=>{this.maxlength>0&&this.quill.getLength()>this.maxlength&&this.quill.deleteText(this.maxlength,this.quill.getLength());let o=this.$refs.editor.children[0].innerHTML;o=o.replace(/^(

\s*<\/p>)+|(

\s*<\/p>)+$/gi,""),o=o.replace(/^(

<\/p>)+|(

<\/p>)+$/gi,""),this.updateEmojiQuick(o),this._content=o,this.$emit("input",this._content),this.$nextTick(e=>{const i=this.quill.getSelection();if(i){const a=this.quill.getText(i.index);/^\n\n$/.test(a)&&this.quill.deleteText(i.index,1)}})}),this.quill.clipboard.addMatcher(Node.ELEMENT_NODE,(t,o)=>(this.pasteClean&&(o.ops=o.ops.map(e=>{const i={insert:e.insert};try{typeof i.insert.mention=="object"&&t.innerHTML&&(i.insert=t.innerHTML.replace(/<[^>]+>/g,""))}catch{}return e.attributes&&["bold","strike","italic","underline","list","blockquote","link"].some(a=>{e.attributes[a]&&(typeof i.attributes=="undefined"&&(i.attributes={}),i.attributes[a]=e.attributes[a])}),i})),o)),this.$emit("on-ready",this.quill),this.disabledRecord||$A.loadScriptS(["js/recorder/recorder.mp3.min.js","js/recorder/lib.fft.js","js/recorder/frequency.histogram.view.js"]).then(t=>{typeof window.Recorder=="function"&&(this.recordRec=window.Recorder({type:"mp3",bitRate:64,sampleRate:32e3,onProcess:(o,e,i,a,O,S)=>{var w;(w=this.recordWave)==null||w.input(o[o.length-1],e,a),this.recordDuration=i,i>=3*60*1e3&&this.stopRecord(!1)}}),window.Recorder.Support()&&(this.recordReady=!0))})},updateEmojiQuick(t){if(!this.isFocus||!t){this.emojiQuickShow=!1;return}this.emojiQuickTimer&&clearTimeout(this.emojiQuickTimer),this.emojiQuickTimer=setTimeout(o=>{if(t=t.replace(/ /g," "),t=t.replace(/<[^>]+>/g,""),t&&t.indexOf(" ")===-1&&t.length>=1&&t.length<=4&&$A.isArray(window.emoticonData)){this.emojiQuickItems=[];let e=$A.apiUrl("../images/emoticon");if(window.emoticonData.some(i=>{let a=i.list.find(O=>$A.strExists(O.name+(O.key?` ${O.key}`:""),t));if(a&&(this.emojiQuickItems.push(Object.assign(a,{type:"emoticon",asset:`images/emoticon/${i.path}/${a.path}`,src:`${e}/${i.path}/${a.path}`})),this.emojiQuickItems.length>=3))return!0}),this.emojiQuickItems.length>0){this.$nextTick(i=>{this.emojiQuickShow=!0,this.$refs.emojiQuickRef.updatePopper()});return}}this.emojiQuickShow=!1},100)},setText(t){this.quill&&this.quill.setText(t)},setContent(t){this.quill&&this.quill.setContents(this.quill.clipboard.convert(t))},setPasteMode(t){this.pasteClean=t},loadInputDraft(){const{extra_draft_content:t}=this.dialogData;t?(this.pasteClean=!1,this.$emit("input",t),this.$nextTick(o=>this.pasteClean=!0)):this.$emit("input","")},onClickEditor(){this.$store.state.messengerSearchKey={dialog:"",contacts:""},this.updateEmojiQuick(this.value)},focus(){this.$nextTick(()=>{this.quill&&(this.quill.setSelection(this.quill.getLength()),this.quill.focus())})},blur(){this.$nextTick(()=>{this.quill&&this.quill.blur()})},clickSend(t,o){if(!this.loading)switch(t){case"down":if(this.touchLimitX=!1,this.touchLimitY=!1,this.touchStart=o.type==="touchstart"?o.touches[0]:o,this.startRecord())return;break;case"move":const e=o.type==="touchmove"?o.touches[0]:o;this.touchLimitX=(this.touchStart.clientX-e.clientX)/window.innerWidth>.1,this.touchLimitY=(this.touchStart.clientY-e.clientY)/window.innerHeight>.1;break;case"up":if(this.stopRecord(this.touchLimitY)||this.touchLimitY||this.touchLimitX)return;this.onSend();break}},onSend(){this.rangeIndex=0,this.$emit("on-send")},startRecord(){return this.sendClass==="recorder"?(this.$store.dispatch("audioStop",!0),this.recordDuration=0,this.recordState="ready",this.$nextTick(t=>{this.recordRec.open(o=>{this.recordState==="ready"?(this.recordState="ing",this.recordBlob=null,setTimeout(e=>{this.recordRec.start()},300)):this.recordRec.close()},o=>{this.recordState="stop",$A.messageError(o||"\u6253\u5F00\u5F55\u97F3\u5931\u8D25")})}),!0):!1},stopRecord(t){switch(this.recordState){case"ing":return this.recordState="stop",this.recordRec.stop((o,e)=>{this.recordRec.close(),t!==!0&&(e<600?$A.messageWarning("\u8BF4\u8BDD\u65F6\u95F4\u592A\u77ED"):(this.recordBlob=o,this.uploadRecord(e)))},o=>{this.recordRec.close(),$A.messageError(o||"\u5F55\u97F3\u5931\u8D25")}),!0;case"ready":return this.recordState="stop",!0;default:return this.recordState="stop",!1}},hidePopover(){this.showMore=!1,this.showEmoji=!1,this.emojiQuickShow=!1},onClickCover(){this.hidePopover(),this.$nextTick(t=>{var o;(o=this.quill)==null||o.focus()})},uploadRecord(t){if(this.recordBlob===null)return;const o=new FileReader;o.onloadend=()=>{this.$emit("on-record",{type:this.recordBlob.type,base64:o.result,duration:t})},o.readAsDataURL(this.recordBlob)},onEmojiQuick(t){t.type==="online"?(this.$emit("input",""),this.$emit("on-send",``)):(this.$emit("input",""),this.$emit("on-send",``)),this.emojiQuickShow=!1,this.focus()},onSelectEmoji(t){!this.quill||(t.type==="emoji"?(this.quill.insertText(this.rangeIndex,t.text),this.rangeIndex+=t.text.length,this.windowLarge&&(this.showEmoji=!1)):t.type==="emoticon"&&(this.$emit("on-send",``),t.asset==="emosearch"&&this.$emit("input",""),this.windowLarge&&(this.showEmoji=!1)))},onToolbar(t){switch(this.hidePopover(),t){case"user":this.openMenu("@");break;case"task":this.openMenu("#");break;case"meeting":Tt.Store.set("addMeeting",{type:"create",dialog_id:this.dialogId,userids:[this.userId]});break;case"image":case"file":case"call":case"anon":this.$emit("on-more",t);break}},onMoreVisibleChange(t){this.showMore=t},setQuote(t,o="reply"){this.dialogId>0&&this.$store.dispatch("saveDialog",{id:this.dialogId,extra_quote_id:t,extra_quote_type:o==="update"?"update":"reply"})},cancelQuote(){this.quoteUpdate&&this.$emit("input",""),this.setQuote(0)},openMenu(t){if(!!this.quill)if(this.value.length===0||this.value.endsWith("


"))this.quill.getModule("mention").openMenu(t);else{let o=this.value.replace(/<[^>]+>/g,"");o.length===0||o.endsWith(" ")?this.quill.getModule("mention").openMenu(t):this.quill.getModule("mention").openMenu(` ${t}`)}},addMention(t){!this.quill||this.quill.getModule("mention").insertItem(t,!0)},getProjectId(){let t=null;if(this.dialogId>0){if(t=this.cacheProjects.find(({dialog_id:o})=>o==this.dialogId),t)return t.id;if(t=this.cacheTasks.find(({dialog_id:o})=>o==this.dialogId),t)return t.project_id}else if(this.taskId>0&&(t=this.cacheTasks.find(({id:o})=>o==this.taskId),t))return t.project_id;return 0},getMentionSource(t,o,e){switch(t){case"@":this.mentionMode="user-mention";const i=w=>{this.getMoreUser(o,w.map(b=>b.id)).then(b=>{this.userList=w,this.userCache=[],b.length>0?(w.length>2&&this.userCache.push({label:null,list:[{id:0,value:this.$L("\u6240\u6709\u4EBA"),tip:this.$L("\u4EC5\u63D0\u793A\u4F1A\u8BDD\u5185\u6210\u5458")}]}),this.userCache.push({label:[{id:0,value:this.$L("\u4F1A\u8BDD\u5185\u6210\u5458"),disabled:!0}],list:w},{label:[{id:0,value:this.$L("\u4F1A\u8BDD\u4EE5\u5916\u6210\u5458"),disabled:!0}],list:b})):w.length>2?this.userCache.push({label:null,list:[{id:0,value:this.$L("\u6240\u6709\u4EBA"),tip:this.$L("\u63D0\u793A\u6240\u6709\u6210\u5458")}]},{label:[{id:0,value:this.$L("\u4F1A\u8BDD\u5185\u6210\u5458"),disabled:!0}],list:w}):this.userCache.push({label:null,list:w}),e(this.userCache)})};if(this.dialogData.people&&$A.arrayLength(this.userList)!==this.dialogData.people&&(this.userList=null,this.userCache=null),this.userCache!==null&&e(this.userCache),this.userList!==null){i(this.userList);return}const a=[];if(this.dialogId>0)this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:this.dialogId,getuser:1}}).then(({data:w})=>{this.cacheDialogs.find(({id:b})=>b==this.dialogId)&&this.$store.dispatch("saveDialog",{id:this.dialogId,people:w.length}),w.length>0&&a.push(...w.map(b=>({id:b.userid,value:b.nickname,avatar:b.userimg,online:b.online,bot:b.bot}))),i(a)}).catch(w=>{i(a)});else if(this.taskId>0){const w=this.cacheTasks.find(({id:b})=>b==this.taskId);w&&$A.isArray(w.task_user)&&w.task_user.some(b=>{const _=this.cacheUserBasic.find(({userid:m})=>m==b.userid);_&&a.push({id:_.userid,value:_.nickname,avatar:_.userimg,online:_.online,bot:_.bot})}),i(a)}break;case"#":if(this.mentionMode="task-mention",this.taskList!==null){e(this.taskList);return}const O=w=>{this.taskList=[],w.length>0&&(w=w.map(m=>({id:m.id,value:m.name,tip:m.complete_at?this.$L("\u5DF2\u5B8C\u6210"):null})).splice(0,100),this.taskList.push({label:[{id:0,value:this.$L("\u9879\u76EE\u4EFB\u52A1"),disabled:!0}],list:w}));let b=this.$store.getters.transforTasks(this.$store.getters.dashboardTask.all);b.length>0&&(b=b.sort((m,c)=>$A.Date(m.end_at||"2099-12-31 23:59:59")-$A.Date(c.end_at||"2099-12-31 23:59:59")).splice(0,100),this.taskList.push({label:[{id:0,value:this.$L("\u6211\u7684\u5F85\u5B8C\u6210\u4EFB\u52A1"),disabled:!0}],list:b.map(m=>({id:m.id,value:m.name}))}));let _=this.$store.getters.assistTask;_.length>0&&(_=_.sort((m,c)=>$A.Date(m.end_at||"2099-12-31 23:59:59")-$A.Date(c.end_at||"2099-12-31 23:59:59")).splice(0,100),this.taskList.push({label:[{id:0,value:this.$L("\u6211\u534F\u52A9\u7684\u4EFB\u52A1"),disabled:!0}],list:_.map(m=>({id:m.id,value:m.name}))})),e(this.taskList)},S=this.getProjectId();if(S>0){this.$store.dispatch("getTaskForProject",S).then(w=>{const b=this.cacheTasks.filter(_=>_.archived_at?!1:_.project_id==S&&_.parent_id===0&&!_.archived_at).sort((_,m)=>$A.Date(m.complete_at||"2099-12-31 23:59:59")-$A.Date(_.complete_at||"2099-12-31 23:59:59"));b.length>0?O(b):O([])}).catch(w=>{O([])});return}O([]);break;case"~":if(this.mentionMode="file-mention",$A.isArray(this.fileList[o])){e(this.fileList[o]);return}this.fileTimer&&clearTimeout(this.fileTimer),this.fileTimer=setTimeout(w=>{this.$store.dispatch("searchFiles",o).then(({data:b})=>{this.fileList[o]=[{label:[{id:0,value:this.$L("\u6587\u4EF6\u5206\u4EAB\u67E5\u770B"),disabled:!0}],list:b.filter(_=>_.type!=="folder").map(_=>({id:_.id,value:_.ext?`${_.name}.${_.ext}`:_.name}))}],e(this.fileList[o])}).catch(()=>{e([])})},300);break;default:e([]);break}},getMoreUser(t,o){return new Promise(e=>{const{owner_id:i,type:a}=this.dialogData,O=a==="group"&&[0,this.userId].includes(i);this.taskId>0||O?(this.__getMoreTimer&&clearTimeout(this.__getMoreTimer),this.__getMoreTimer=setTimeout(S=>{this.$store.dispatch("call",{url:"users/search",data:{keys:{key:t},state:1,take:30}}).then(({data:w})=>{const b=w.filter(_=>!o.includes(_.userid));e(b.map(_=>({id:_.userid,value:_.nickname,avatar:_.userimg,online:!!_.online})))}).catch(w=>{e([])})},this.userCache===null?0:600)):e([])})},checkIOSVersion(){let o=(window&&window.navigator&&window.navigator.userAgent).match(/OS ((\d+_?){2,3})\s/i);const i=(o?o[1].replace(/_/g,"."):"unknown").split(".");return+i[0]==11&&+i[1]>=0&&+i[1]<3},handlePaste(t){const o=Array.prototype.slice.call(t.clipboardData.files);o.filter(i=>!$A.leftExists(i.type,"image/")).length>0?(t.preventDefault(),this.$emit("on-file",o)):this.pasteRtf(t)&&t.preventDefault()},pasteRtf(t){if(t&&t.clipboardData&&t.clipboardData.items&&!new DOMParser().parseFromString(t.clipboardData.getData("text/html")||"","text/html").querySelector("img")){const e=[];let i=null;if(t.clipboardData.types&&[].indexOf.call(t.clipboardData.types,"text/rtf")!=-1||t.clipboardData.getData("text/rtf"))i=t.clipboardData.items[0].getAsFile(),i&&e.push(i);else for(let a=0;a0)return e.forEach(a=>{const O=new FileReader;O.onload=({target:S})=>{const w=this.quill.getSelection(!0).index;this.quill.insertEmbed(w,"image",S.result),this.quill.setSelection(w+1)},O.readAsDataURL(a)}),!0}return!1}}},qt={};var hi=pt(fi,ui,ci,!1,di,null,null,null);function di(t){for(let o in qt)this[o]=qt[o]}var pi=function(){return hi.exports}(),Yt={exports:{}};/*! * vue-virtual-scroll-list v2.3.4-3 * open source under the MIT license * https://github.com/tangbc/vue-virtual-scroll-list#readme diff --git a/public/js/build/Drawio.3f845169.js b/public/js/build/Drawio.c3becab8.js similarity index 93% rename from public/js/build/Drawio.3f845169.js rename to public/js/build/Drawio.c3becab8.js index e0fca673d..ae9408165 100644 --- a/public/js/build/Drawio.3f845169.js +++ b/public/js/build/Drawio.c3becab8.js @@ -1 +1 @@ -import{m as o,n as l,a as s}from"./app.bd09c684.js";import{I as d}from"./IFrame.dee76434.js";var u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawio-content"},[a("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:e.url},on:{"on-message":e.onMessage}}),e.loadIng?a("div",{staticClass:"drawio-loading"},[a("Loading")],1):e._e()],1)},m=[];const c={name:"Drawio",components:{IFrame:d},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data(){return{loadIng:!0,url:null,bakData:""}},created(){let e=s;switch(s){case"zh-CHT":e="zh-tw";break}let t=this.readOnly?1:0,a=this.readOnly?0:1,r=this.themeIsDark?"dark":"kennedy",n=`?title=${this.title?encodeURIComponent(this.title):""}&chrome=${a}&lightbox=${t}&ui=${r}&lang=${e}&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json`;this.$Electron?this.url=$A.originUrl(`drawio/webapp/index.html${n}`):this.url=$A.apiUrl(`../drawio/webapp/${n}`)},mounted(){window.addEventListener("message",this.handleMessage)},beforeDestroy(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler(e){this.bakData!=$A.jsonStringify(e)&&(this.bakData=$A.jsonStringify(e),this.updateContent())},deep:!0}},computed:{...o(["themeIsDark"])},methods:{formatZoom(e){return e+"%"},updateContent(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage(e){switch(e.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":typeof this.value.xml=="undefined"&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":const t={xml:e.xml};this.bakData=$A.jsonStringify(t),this.$emit("input",t);break;case"save":this.$emit("saveData");break}}}},i={};var h=l(c,u,m,!1,f,"6b690a27",null,null);function f(e){for(let t in i)this[t]=i[t]}var _=function(){return h.exports}();export{_ as default}; +import{m as o,n as l,a as s}from"./app.139edc4e.js";import{I as d}from"./IFrame.fe0c152e.js";var u=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"drawio-content"},[a("IFrame",{ref:"frame",staticClass:"drawio-iframe",attrs:{src:e.url},on:{"on-message":e.onMessage}}),e.loadIng?a("div",{staticClass:"drawio-loading"},[a("Loading")],1):e._e()],1)},m=[];const c={name:"Drawio",components:{IFrame:d},props:{value:{type:Object,default:function(){return{}}},title:{type:String,default:""},readOnly:{type:Boolean,default:!1}},data(){return{loadIng:!0,url:null,bakData:""}},created(){let e=s;switch(s){case"zh-CHT":e="zh-tw";break}let t=this.readOnly?1:0,a=this.readOnly?0:1,r=this.themeIsDark?"dark":"kennedy",n=`?title=${this.title?encodeURIComponent(this.title):""}&chrome=${a}&lightbox=${t}&ui=${r}&lang=${e}&offline=1&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json`;this.$Electron?this.url=$A.originUrl(`drawio/webapp/index.html${n}`):this.url=$A.apiUrl(`../drawio/webapp/${n}`)},mounted(){window.addEventListener("message",this.handleMessage)},beforeDestroy(){window.removeEventListener("message",this.handleMessage)},watch:{value:{handler(e){this.bakData!=$A.jsonStringify(e)&&(this.bakData=$A.jsonStringify(e),this.updateContent())},deep:!0}},computed:{...o(["themeIsDark"])},methods:{formatZoom(e){return e+"%"},updateContent(){this.$refs.frame.postMessage(JSON.stringify({action:"load",autosave:1,xml:this.value.xml}))},onMessage(e){switch(e.event){case"init":this.loadIng=!1,this.updateContent();break;case"load":typeof this.value.xml=="undefined"&&this.$refs.frame.postMessage(JSON.stringify({action:"template"}));break;case"autosave":const t={xml:e.xml};this.bakData=$A.jsonStringify(t),this.$emit("input",t);break;case"save":this.$emit("saveData");break}}}},i={};var h=l(c,u,m,!1,f,"6b690a27",null,null);function f(e){for(let t in i)this[t]=i[t]}var _=function(){return h.exports}();export{_ as default}; diff --git a/public/js/build/FileContent.9f2379fd.js b/public/js/build/FileContent.f5b4eda8.js similarity index 92% rename from public/js/build/FileContent.9f2379fd.js rename to public/js/build/FileContent.f5b4eda8.js index 836046447..9649eefae 100644 --- a/public/js/build/FileContent.9f2379fd.js +++ b/public/js/build/FileContent.f5b4eda8.js @@ -1 +1 @@ -import{n as r,m as c,_ as n}from"./app.bd09c684.js";import{I as d}from"./IFrame.dee76434.js";var h=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"file-history"},[t("Table",{attrs:{width:480,"max-height":e.windowHeight-180,columns:e.columns,data:e.list,loading:e.loadIng>0,"no-data-text":e.$L(e.noText),"highlight-row":"",stripe:""}}),e.total>e.pageSize?t("Page",{attrs:{total:e.total,current:e.page,"page-size":e.pageSize,disabled:e.loadIng>0,simple:!0},on:{"on-change":e.setPage,"on-page-size-change":e.setPageSize}}):e._e()],1)},u=[];const f={name:"FileHistory",props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{loadIng:0,columns:[{title:this.$L("\u65E5\u671F"),key:"created_at",width:168},{title:this.$L("\u521B\u5EFA\u4EBA"),width:120,render:(e,{row:s})=>e("UserAvatar",{props:{showName:!0,size:22,userid:s.userid}})},{title:this.$L("\u5927\u5C0F"),key:"size",width:90,render:(e,{row:s})=>e("AutoTip",$A.bytesToSize(s.size))},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(e,{index:s,row:t,column:i})=>s===0&&this.page===1?e("div","-"):e("TableAction",{props:{column:i,menu:[{label:this.$L("\u67E5\u770B"),action:"preview"},{label:this.$L("\u8FD8\u539F"),action:"restore"}]},on:{action:a=>{this.onAction(a,t)}}})}],list:[],page:1,pageSize:10,total:0,noText:""}},mounted(){},watch:{value:{handler(e){e&&this.setPage(1)},immediate:!0}},computed:{fileId(){return this.file.id||0}},methods:{getLists(){this.fileId!==0&&(this.loadIng++,this.$store.dispatch("call",{url:"file/content/history",data:{id:this.fileId,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:e})=>{this.page=e.current_page,this.total=e.total,this.list=e.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(e=>{this.loadIng--}))},setPage(e){this.page=e,this.getLists()},setPageSize(e){this.page=1,this.pageSize=e,this.getLists()},onAction(e,s){switch(e){case"restore":this.$emit("on-restore",s);break;case"preview":const t=`/single/file/${this.fileId}?history_id=${s.id}&history_at=${s.created_at}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-${this.fileId}-${s.id}`,path:t,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:$A.getFileName(this.file)+` [${s.created_at}]`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:this.file.type==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:$A.getFileName(this.file)+` [${s.created_at}]`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${t}`}}):window.open($A.apiUrl(`..${t}`));break}}}},o={};var p=r(f,h,u,!1,v,"44e1704c",null,null);function v(e){for(let s in o)this[s]=o[s]}var _=function(){return p.exports}(),m=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.ready?t("div",{staticClass:"file-content"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[["word","excel","ppt"].includes(e.file.type)?t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("div",{ref:"officeHeader",staticClass:"office-header",attrs:{slot:"reference"},slot:"reference"})]):t("div",{staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[e.equalContent?e._e():t("EPopover",{staticClass:"file-unsave-tip",model:{value:e.unsaveTip,callback:function(i){e.unsaveTip=i},expression:"unsaveTip"}},[t("div",{staticClass:"task-detail-delete-file-popover"},[t("p",[e._v(e._s(e.$L("\u672A\u4FDD\u5B58\u5F53\u524D\u4FEE\u6539\u5185\u5BB9\uFF1F")))]),t("div",{staticClass:"buttons"},[t("Button",{attrs:{size:"small",type:"text"},on:{click:e.unSaveGive}},[e._v(e._s(e.$L("\u653E\u5F03")))]),t("Button",{attrs:{size:"small",type:"primary"},on:{click:e.onSaveSave}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])],1)]),t("span",{attrs:{slot:"reference"},slot:"reference"},[e._v("["+e._s(e.$L("\u672A\u4FDD\u5B58"))+"*]")])]),e._v(" "+e._s(e.fileName)+" ")],1),t("div",{staticClass:"header-user"},[t("ul",[e._l(e.editUser,function(i,a){return a<=10?t("li",{key:a},[t("UserAvatar",{attrs:{userid:i,size:28,"border-witdh":2}})],1):e._e()}),e.editUser.length>10?t("li",{staticClass:"more",attrs:{title:e.editUser.length}},[e._v(e._s(e.editUser.length>999?"...":e.editUser.length))]):e._e()],2)]),e.file.type=="document"&&e.contentDetail?t("div",{staticClass:"header-hint"},[t("ButtonGroup",{attrs:{size:"small",shape:"circle"}},[t("Button",{attrs:{type:`${e.contentDetail.type=="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("md")}}},[e._v(e._s(e.$L("MD\u7F16\u8F91\u5668")))]),t("Button",{attrs:{type:`${e.contentDetail.type!="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("text")}}},[e._v(e._s(e.$L("\u6587\u672C\u7F16\u8F91\u5668")))])],1)],1):e._e(),e.file.type=="mind"?t("div",{staticClass:"header-hint"},[e._v(" "+e._s(e.$L("\u9009\u4E2D\u8282\u70B9\uFF0C\u6309enter\u952E\u6DFB\u52A0\u540C\u7EA7\u8282\u70B9\uFF0Ctab\u952E\u6DFB\u52A0\u5B50\u8282\u70B9"))+" ")]):e._e(),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click",transfer:""},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e(),e.file.only_view?e._e():[t("div",{staticClass:"header-icons"},[t("ETooltip",{attrs:{disabled:e.windowSmall||e.$isEEUiApp,content:e.$L("\u6587\u4EF6\u94FE\u63A5")}},[t("div",{staticClass:"header-icon",on:{click:function(i){return e.handleClick("link")}}},[t("i",{staticClass:"taskfont"},[e._v("\uE785")])])]),t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("ETooltip",{ref:"historyTip",attrs:{slot:"reference",disabled:e.windowSmall||e.$isEEUiApp||e.historyShow,content:e.$L("\u5386\u53F2\u7248\u672C")},slot:"reference"},[t("div",{staticClass:"header-icon"},[t("i",{staticClass:"taskfont"},[e._v("\uE71D")])])])],1)],1),t("Button",{staticClass:"header-button",attrs:{disabled:e.equalContent,loading:e.loadSave>0,size:"small",type:"primary"},on:{click:function(i){return e.handleClick("save")}}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])]],2),t("div",{staticClass:"content-body"},[e.historyShow?t("div",{staticClass:"content-mask"}):e._e(),e.file.type=="document"?[e.contentDetail.type=="md"?t("MDEditor",{attrs:{height:"100%"},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):t("TEditor",{attrs:{height:"100%"},on:{editorSave:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{title:e.file.name},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e.file.type=="mind"?t("Minder",{ref:"myMind",on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{ext:e.file.ext},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{documentKey:e.documentKey},on:{"on-document-ready":function(i){return e.handleClick("officeReady")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e(),t("Modal",{attrs:{title:e.$L("\u6587\u4EF6\u94FE\u63A5"),"mask-closable":!1},model:{value:e.linkShow,callback:function(i){e.linkShow=i},expression:"linkShow"}},[t("div",[t("div",{staticStyle:{margin:"-10px 0 8px"}},[e._v(e._s(e.$L("\u6587\u4EF6\u540D\u79F0"))+": "+e._s(e.linkData.name))]),t("Input",{ref:"linkInput",attrs:{type:"textarea",rows:3,readonly:""},on:{"on-focus":e.linkFocus},model:{value:e.linkData.url,callback:function(i){e.$set(e.linkData,"url",i)},expression:"linkData.url"}}),t("div",{staticClass:"form-tip",staticStyle:{"padding-top":"6px"}},[e._v(e._s(e.$L("\u53EF\u901A\u8FC7\u6B64\u94FE\u63A5\u6D4F\u89C8\u6587\u4EF6\u3002"))),t("a",{attrs:{href:"javascript:void(0)"},on:{click:e.linkCopy}},[e._v(e._s(e.$L("\u70B9\u51FB\u590D\u5236\u94FE\u63A5")))])])],1),t("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[t("Button",{attrs:{type:"default"},on:{click:function(i){e.linkShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),t("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":e.$L("\u786E\u5B9A"),"cancel-text":e.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(i){return e.linkGet(!0)}}},[t("div",{attrs:{slot:"title"},slot:"title"},[t("p",[t("strong",[e._v(e._s(e.$L("\u6CE8\u610F\uFF1A\u5237\u65B0\u5C06\u5BFC\u81F4\u539F\u6765\u7684\u94FE\u63A5\u5931\u6548\uFF01")))])])]),t("Button",{attrs:{type:"primary",loading:e.linkLoad>0}},[e._v(e._s(e.$L("\u5237\u65B0")))])],1)],1)])],2):e._e()},y=[];const k=()=>n(()=>import("./index.bef6361b.js"),["js/build/index.bef6361b.js","js/build/index.03d13184.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/ImgUpload.6e9513da.js"]),$=()=>n(()=>import("./TEditor.4460561b.js"),["js/build/TEditor.4460561b.js","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/ImgUpload.6e9513da.js"]),w=()=>n(()=>import("./AceEditor.a2d80e8c.js"),["js/build/AceEditor.a2d80e8c.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),g=()=>n(()=>import("./OnlyOffice.2b2000e0.js"),["js/build/OnlyOffice.2b2000e0.js","js/build/OnlyOffice.d36f3069.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),D=()=>n(()=>import("./Drawio.3f845169.js"),["js/build/Drawio.3f845169.js","js/build/Drawio.fc5c6326.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),x=()=>n(()=>import("./Minder.60b25458.js"),["js/build/Minder.60b25458.js","js/build/Minder.f2273bdb.css","js/build/IFrame.dee76434.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),S={name:"FileContent",components:{IFrame:d,FileHistory:_,AceEditor:w,TEditor:$,MDEditor:k,OnlyOffice:g,Drawio:D,Minder:x},props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{ready:!1,loadSave:0,loadContent:0,unsaveTip:!1,fileExt:null,contentDetail:null,contentBak:{},editUser:[],loadPreview:!0,linkShow:!1,linkData:{},linkLoad:0,historyShow:!1,officeReady:!1}},mounted(){document.addEventListener("keydown",this.keySave),window.addEventListener("message",this.handleOfficeMessage),this.$isSubElectron&&(window.__onBeforeUnload=()=>{if(!this.equalContent)return $A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{this.$Electron.sendMessage("windowDestroy")}}),!0})},beforeDestroy(){document.removeEventListener("keydown",this.keySave),window.removeEventListener("message",this.handleOfficeMessage)},watch:{value:{handler(e){e?(this.ready=!0,this.editUser=[this.userId],this.getContent()):(this.linkShow=!1,this.historyShow=!1,this.officeReady=!1,this.fileExt=null)},immediate:!0},historyShow(e){!e&&this.$refs.historyTip&&this.$refs.historyTip.updatePopper()},wsMsg:{handler(e){const{type:s,action:t,data:i}=e;switch(s){case"path":i.path=="/single/file/"+this.fileId&&(this.editUser=i.userids);break;case"file":t=="content"&&this.value&&i.id==this.fileId&&$A.modalConfirm({title:"\u66F4\u65B0\u63D0\u793A",content:"\u56E2\u961F\u6210\u5458\uFF08"+e.nickname+"\uFF09\u66F4\u65B0\u4E86\u5185\u5BB9\uFF0C
\u66F4\u65B0\u65F6\u95F4\uFF1A"+$A.formatDate("Y-m-d H:i:s",e.time)+"\u3002

\u70B9\u51FB\u3010\u786E\u5B9A\u3011\u52A0\u8F7D\u6700\u65B0\u5185\u5BB9\u3002",onOk:()=>{this.getContent()}});break}},deep:!0}},computed:{...c(["wsMsg"]),fileId(){return this.file.id||0},fileName(){return this.fileExt?$A.getFileName(Object.assign(this.file,{ext:this.fileExt})):$A.getFileName(this.file)},equalContent(){return this.contentBak==$A.jsonStringify(this.contentDetail)},contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:s}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${s}`)}return""}},methods:{handleOfficeMessage({data:e,source:s}){if(e.source==="onlyoffice")switch(e.action){case"ready":s.postMessage("createMenu","*");break;case"link":this.handleClick("link");break;case"history":const t=this.$refs.officeHeader;t&&(t.style.top=`${e.rect.top}px`,t.style.left=`${e.rect.left}px`,t.style.width=`${e.rect.width}px`,t.style.height=`${e.rect.height}px`,t.click());break}},onFrameLoad(){this.loadPreview=!1},keySave(e){this.value&&e.keyCode===83&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),this.onSaveSave())},getContent(){if(this.fileId===0){this.contentDetail={},this.updateBak();return}if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file),this.updateBak();return}this.loadSave++,setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId}}).then(({data:e})=>{this.contentDetail=e.content,this.updateBak()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadSave--,this.loadContent--})},updateBak(){this.contentBak=$A.jsonStringify(this.contentDetail)},handleClick(e){switch(e){case"link":this.linkData={id:this.fileId,name:this.file.name},this.linkShow=!0,this.linkGet();break;case"saveBefore":!this.equalContent&&this.loadSave==0?this.handleClick("save"):$A.messageWarning("\u6CA1\u6709\u4EFB\u4F55\u4FEE\u6539\uFF01");break;case"save":if(this.file.only_view)return;this.updateBak(),this.loadSave++,this.$store.dispatch("call",{url:"file/content/save",method:"post",data:{id:this.fileId,content:this.contentBak}}).then(({data:s,msg:t})=>{$A.messageSuccess(t);const i={id:this.fileId,size:s.size};this.fileExt&&(i.ext=this.fileExt,this.fileExt=null),this.$store.dispatch("saveFile",i)}).catch(({msg:s})=>{$A.modalError(s),this.getContent()}).finally(s=>{this.loadSave--});break;case"officeReady":this.officeReady=!0;break}},onRestoreHistory(e){this.historyShow=!1,$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6587\u4EF6\u8FD8\u539F\u81F3\u3010${e.created_at}\u3011\u5417\uFF1F`,cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>new Promise((s,t)=>{this.$store.dispatch("call",{url:"file/content/restore",data:{id:this.fileId,history_id:e.id}}).then(({msg:i})=>{s(i),this.contentDetail=null,this.getContent()}).catch(({msg:i})=>{t(i)})})})},linkGet(e){this.linkLoad++,this.$store.dispatch("call",{url:"file/link",data:{id:this.linkData.id,refresh:e===!0?"yes":"no"}}).then(({data:s})=>{this.linkData=Object.assign(s,{id:this.linkData.id,name:this.linkData.name}),this.linkFocus()}).catch(({msg:s})=>{this.linkShow=!1,$A.modalError(s)}).finally(s=>{this.linkLoad--})},linkCopy(){!this.linkData.url||(this.linkFocus(),this.$copyText(this.linkData.url).then(e=>{$A.messageSuccess("\u590D\u5236\u6210\u529F")}).catch(e=>{$A.messageError("\u590D\u5236\u5931\u8D25")}))},linkFocus(){this.$nextTick(e=>{this.$refs.linkInput.focus({cursor:"all"})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}},unSaveGive(){this.getContent(),this.unsaveTip=!1},onSaveSave(){this.handleClick("save"),this.unsaveTip=!1},setTextType(e){this.fileExt=e,this.$set(this.contentDetail,"type",e)},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId,only_update_at:"yes"}}).then(({data:s})=>{e(`${s.id}-${$A.Time(s.update_at)}`)}).catch(()=>{e(0)})})}}},l={};var C=r(S,m,y,!1,L,null,null,null);function L(e){for(let s in l)this[s]=l[s]}var A=function(){return C.exports}();export{A as default}; +import{n as r,m as c,_ as n}from"./app.139edc4e.js";import{I as d}from"./IFrame.fe0c152e.js";var h=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"file-history"},[t("Table",{attrs:{width:480,"max-height":e.windowHeight-180,columns:e.columns,data:e.list,loading:e.loadIng>0,"no-data-text":e.$L(e.noText),"highlight-row":"",stripe:""}}),e.total>e.pageSize?t("Page",{attrs:{total:e.total,current:e.page,"page-size":e.pageSize,disabled:e.loadIng>0,simple:!0},on:{"on-change":e.setPage,"on-page-size-change":e.setPageSize}}):e._e()],1)},u=[];const f={name:"FileHistory",props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{loadIng:0,columns:[{title:this.$L("\u65E5\u671F"),key:"created_at",width:168},{title:this.$L("\u521B\u5EFA\u4EBA"),width:120,render:(e,{row:s})=>e("UserAvatar",{props:{showName:!0,size:22,userid:s.userid}})},{title:this.$L("\u5927\u5C0F"),key:"size",width:90,render:(e,{row:s})=>e("AutoTip",$A.bytesToSize(s.size))},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(e,{index:s,row:t,column:i})=>s===0&&this.page===1?e("div","-"):e("TableAction",{props:{column:i,menu:[{label:this.$L("\u67E5\u770B"),action:"preview"},{label:this.$L("\u8FD8\u539F"),action:"restore"}]},on:{action:a=>{this.onAction(a,t)}}})}],list:[],page:1,pageSize:10,total:0,noText:""}},mounted(){},watch:{value:{handler(e){e&&this.setPage(1)},immediate:!0}},computed:{fileId(){return this.file.id||0}},methods:{getLists(){this.fileId!==0&&(this.loadIng++,this.$store.dispatch("call",{url:"file/content/history",data:{id:this.fileId,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:e})=>{this.page=e.current_page,this.total=e.total,this.list=e.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(e=>{this.loadIng--}))},setPage(e){this.page=e,this.getLists()},setPageSize(e){this.page=1,this.pageSize=e,this.getLists()},onAction(e,s){switch(e){case"restore":this.$emit("on-restore",s);break;case"preview":const t=`/single/file/${this.fileId}?history_id=${s.id}&history_at=${s.created_at}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-${this.fileId}-${s.id}`,path:t,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:$A.getFileName(this.file)+` [${s.created_at}]`,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:this.file.type==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:$A.getFileName(this.file)+` [${s.created_at}]`,url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${t}`}}):window.open($A.apiUrl(`..${t}`));break}}}},o={};var p=r(f,h,u,!1,v,"44e1704c",null,null);function v(e){for(let s in o)this[s]=o[s]}var _=function(){return p.exports}(),m=function(){var e=this,s=e.$createElement,t=e._self._c||s;return e.ready?t("div",{staticClass:"file-content"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[["word","excel","ppt"].includes(e.file.type)?t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("div",{ref:"officeHeader",staticClass:"office-header",attrs:{slot:"reference"},slot:"reference"})]):t("div",{staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[e.equalContent?e._e():t("EPopover",{staticClass:"file-unsave-tip",model:{value:e.unsaveTip,callback:function(i){e.unsaveTip=i},expression:"unsaveTip"}},[t("div",{staticClass:"task-detail-delete-file-popover"},[t("p",[e._v(e._s(e.$L("\u672A\u4FDD\u5B58\u5F53\u524D\u4FEE\u6539\u5185\u5BB9\uFF1F")))]),t("div",{staticClass:"buttons"},[t("Button",{attrs:{size:"small",type:"text"},on:{click:e.unSaveGive}},[e._v(e._s(e.$L("\u653E\u5F03")))]),t("Button",{attrs:{size:"small",type:"primary"},on:{click:e.onSaveSave}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])],1)]),t("span",{attrs:{slot:"reference"},slot:"reference"},[e._v("["+e._s(e.$L("\u672A\u4FDD\u5B58"))+"*]")])]),e._v(" "+e._s(e.fileName)+" ")],1),t("div",{staticClass:"header-user"},[t("ul",[e._l(e.editUser,function(i,a){return a<=10?t("li",{key:a},[t("UserAvatar",{attrs:{userid:i,size:28,"border-witdh":2}})],1):e._e()}),e.editUser.length>10?t("li",{staticClass:"more",attrs:{title:e.editUser.length}},[e._v(e._s(e.editUser.length>999?"...":e.editUser.length))]):e._e()],2)]),e.file.type=="document"&&e.contentDetail?t("div",{staticClass:"header-hint"},[t("ButtonGroup",{attrs:{size:"small",shape:"circle"}},[t("Button",{attrs:{type:`${e.contentDetail.type=="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("md")}}},[e._v(e._s(e.$L("MD\u7F16\u8F91\u5668")))]),t("Button",{attrs:{type:`${e.contentDetail.type!="md"?"primary":"default"}`},on:{click:function(i){return e.setTextType("text")}}},[e._v(e._s(e.$L("\u6587\u672C\u7F16\u8F91\u5668")))])],1)],1):e._e(),e.file.type=="mind"?t("div",{staticClass:"header-hint"},[e._v(" "+e._s(e.$L("\u9009\u4E2D\u8282\u70B9\uFF0C\u6309enter\u952E\u6DFB\u52A0\u540C\u7EA7\u8282\u70B9\uFF0Ctab\u952E\u6DFB\u52A0\u5B50\u8282\u70B9"))+" ")]):e._e(),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click",transfer:""},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e(),e.file.only_view?e._e():[t("div",{staticClass:"header-icons"},[t("ETooltip",{attrs:{disabled:e.windowSmall||e.$isEEUiApp,content:e.$L("\u6587\u4EF6\u94FE\u63A5")}},[t("div",{staticClass:"header-icon",on:{click:function(i){return e.handleClick("link")}}},[t("i",{staticClass:"taskfont"},[e._v("\uE785")])])]),t("EPopover",{attrs:{trigger:"click"},model:{value:e.historyShow,callback:function(i){e.historyShow=i},expression:"historyShow"}},[t("div",{staticClass:"file-content-history"},[t("FileHistory",{attrs:{value:e.historyShow,file:e.file},on:{"on-restore":e.onRestoreHistory}})],1),t("ETooltip",{ref:"historyTip",attrs:{slot:"reference",disabled:e.windowSmall||e.$isEEUiApp||e.historyShow,content:e.$L("\u5386\u53F2\u7248\u672C")},slot:"reference"},[t("div",{staticClass:"header-icon"},[t("i",{staticClass:"taskfont"},[e._v("\uE71D")])])])],1)],1),t("Button",{staticClass:"header-button",attrs:{disabled:e.equalContent,loading:e.loadSave>0,size:"small",type:"primary"},on:{click:function(i){return e.handleClick("save")}}},[e._v(e._s(e.$L("\u4FDD\u5B58")))])]],2),t("div",{staticClass:"content-body"},[e.historyShow?t("div",{staticClass:"content-mask"}):e._e(),e.file.type=="document"?[e.contentDetail.type=="md"?t("MDEditor",{attrs:{height:"100%"},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):t("TEditor",{attrs:{height:"100%"},on:{editorSave:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{title:e.file.name},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e.file.type=="mind"?t("Minder",{ref:"myMind",on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{ext:e.file.ext},on:{saveData:function(i){return e.handleClick("saveBefore")}},model:{value:e.contentDetail.content,callback:function(i){e.$set(e.contentDetail,"content",i)},expression:"contentDetail.content"}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{documentKey:e.documentKey},on:{"on-document-ready":function(i){return e.handleClick("officeReady")}},model:{value:e.contentDetail,callback:function(i){e.contentDetail=i},expression:"contentDetail"}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e(),t("Modal",{attrs:{title:e.$L("\u6587\u4EF6\u94FE\u63A5"),"mask-closable":!1},model:{value:e.linkShow,callback:function(i){e.linkShow=i},expression:"linkShow"}},[t("div",[t("div",{staticStyle:{margin:"-10px 0 8px"}},[e._v(e._s(e.$L("\u6587\u4EF6\u540D\u79F0"))+": "+e._s(e.linkData.name))]),t("Input",{ref:"linkInput",attrs:{type:"textarea",rows:3,readonly:""},on:{"on-focus":e.linkFocus},model:{value:e.linkData.url,callback:function(i){e.$set(e.linkData,"url",i)},expression:"linkData.url"}}),t("div",{staticClass:"form-tip",staticStyle:{"padding-top":"6px"}},[e._v(e._s(e.$L("\u53EF\u901A\u8FC7\u6B64\u94FE\u63A5\u6D4F\u89C8\u6587\u4EF6\u3002"))),t("a",{attrs:{href:"javascript:void(0)"},on:{click:e.linkCopy}},[e._v(e._s(e.$L("\u70B9\u51FB\u590D\u5236\u94FE\u63A5")))])])],1),t("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[t("Button",{attrs:{type:"default"},on:{click:function(i){e.linkShow=!1}}},[e._v(e._s(e.$L("\u53D6\u6D88")))]),t("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":e.$L("\u786E\u5B9A"),"cancel-text":e.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(i){return e.linkGet(!0)}}},[t("div",{attrs:{slot:"title"},slot:"title"},[t("p",[t("strong",[e._v(e._s(e.$L("\u6CE8\u610F\uFF1A\u5237\u65B0\u5C06\u5BFC\u81F4\u539F\u6765\u7684\u94FE\u63A5\u5931\u6548\uFF01")))])])]),t("Button",{attrs:{type:"primary",loading:e.linkLoad>0}},[e._v(e._s(e.$L("\u5237\u65B0")))])],1)],1)])],2):e._e()},y=[];const k=()=>n(()=>import("./index.cd76540e.js"),["js/build/index.cd76540e.js","js/build/index.00d00dd2.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/ImgUpload.8dae08e9.js"]),$=()=>n(()=>import("./TEditor.28d6de3c.js"),["js/build/TEditor.28d6de3c.js","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/ImgUpload.8dae08e9.js"]),w=()=>n(()=>import("./AceEditor.0c7bc196.js"),["js/build/AceEditor.0c7bc196.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),g=()=>n(()=>import("./OnlyOffice.162b8727.js"),["js/build/OnlyOffice.162b8727.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),D=()=>n(()=>import("./Drawio.c3becab8.js"),["js/build/Drawio.c3becab8.js","js/build/Drawio.fc5c6326.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),x=()=>n(()=>import("./Minder.056301a4.js"),["js/build/Minder.056301a4.js","js/build/Minder.f2273bdb.css","js/build/IFrame.fe0c152e.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),S={name:"FileContent",components:{IFrame:d,FileHistory:_,AceEditor:w,TEditor:$,MDEditor:k,OnlyOffice:g,Drawio:D,Minder:x},props:{value:{type:Boolean,default:!1},file:{type:Object,default:()=>({})}},data(){return{ready:!1,loadSave:0,loadContent:0,unsaveTip:!1,fileExt:null,contentDetail:null,contentBak:{},editUser:[],loadPreview:!0,linkShow:!1,linkData:{},linkLoad:0,historyShow:!1,officeReady:!1}},mounted(){document.addEventListener("keydown",this.keySave),window.addEventListener("message",this.handleOfficeMessage),this.$isSubElectron&&(window.__onBeforeUnload=()=>{if(!this.equalContent)return $A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{this.$Electron.sendMessage("windowDestroy")}}),!0})},beforeDestroy(){document.removeEventListener("keydown",this.keySave),window.removeEventListener("message",this.handleOfficeMessage)},watch:{value:{handler(e){e?(this.ready=!0,this.editUser=[this.userId],this.getContent()):(this.linkShow=!1,this.historyShow=!1,this.officeReady=!1,this.fileExt=null)},immediate:!0},historyShow(e){!e&&this.$refs.historyTip&&this.$refs.historyTip.updatePopper()},wsMsg:{handler(e){const{type:s,action:t,data:i}=e;switch(s){case"path":i.path=="/single/file/"+this.fileId&&(this.editUser=i.userids);break;case"file":t=="content"&&this.value&&i.id==this.fileId&&$A.modalConfirm({title:"\u66F4\u65B0\u63D0\u793A",content:"\u56E2\u961F\u6210\u5458\uFF08"+e.nickname+"\uFF09\u66F4\u65B0\u4E86\u5185\u5BB9\uFF0C
\u66F4\u65B0\u65F6\u95F4\uFF1A"+$A.formatDate("Y-m-d H:i:s",e.time)+"\u3002

\u70B9\u51FB\u3010\u786E\u5B9A\u3011\u52A0\u8F7D\u6700\u65B0\u5185\u5BB9\u3002",onOk:()=>{this.getContent()}});break}},deep:!0}},computed:{...c(["wsMsg"]),fileId(){return this.file.id||0},fileName(){return this.fileExt?$A.getFileName(Object.assign(this.file,{ext:this.fileExt})):$A.getFileName(this.file)},equalContent(){return this.contentBak==$A.jsonStringify(this.contentDetail)},contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:s}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${s}`)}return""}},methods:{handleOfficeMessage({data:e,source:s}){if(e.source==="onlyoffice")switch(e.action){case"ready":s.postMessage("createMenu","*");break;case"link":this.handleClick("link");break;case"history":const t=this.$refs.officeHeader;t&&(t.style.top=`${e.rect.top}px`,t.style.left=`${e.rect.left}px`,t.style.width=`${e.rect.width}px`,t.style.height=`${e.rect.height}px`,t.click());break}},onFrameLoad(){this.loadPreview=!1},keySave(e){this.value&&e.keyCode===83&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),this.onSaveSave())},getContent(){if(this.fileId===0){this.contentDetail={},this.updateBak();return}if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file),this.updateBak();return}this.loadSave++,setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId}}).then(({data:e})=>{this.contentDetail=e.content,this.updateBak()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadSave--,this.loadContent--})},updateBak(){this.contentBak=$A.jsonStringify(this.contentDetail)},handleClick(e){switch(e){case"link":this.linkData={id:this.fileId,name:this.file.name},this.linkShow=!0,this.linkGet();break;case"saveBefore":!this.equalContent&&this.loadSave==0?this.handleClick("save"):$A.messageWarning("\u6CA1\u6709\u4EFB\u4F55\u4FEE\u6539\uFF01");break;case"save":if(this.file.only_view)return;this.updateBak(),this.loadSave++,this.$store.dispatch("call",{url:"file/content/save",method:"post",data:{id:this.fileId,content:this.contentBak}}).then(({data:s,msg:t})=>{$A.messageSuccess(t);const i={id:this.fileId,size:s.size};this.fileExt&&(i.ext=this.fileExt,this.fileExt=null),this.$store.dispatch("saveFile",i)}).catch(({msg:s})=>{$A.modalError(s),this.getContent()}).finally(s=>{this.loadSave--});break;case"officeReady":this.officeReady=!0;break}},onRestoreHistory(e){this.historyShow=!1,$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u6587\u4EF6\u8FD8\u539F\u81F3\u3010${e.created_at}\u3011\u5417\uFF1F`,cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>new Promise((s,t)=>{this.$store.dispatch("call",{url:"file/content/restore",data:{id:this.fileId,history_id:e.id}}).then(({msg:i})=>{s(i),this.contentDetail=null,this.getContent()}).catch(({msg:i})=>{t(i)})})})},linkGet(e){this.linkLoad++,this.$store.dispatch("call",{url:"file/link",data:{id:this.linkData.id,refresh:e===!0?"yes":"no"}}).then(({data:s})=>{this.linkData=Object.assign(s,{id:this.linkData.id,name:this.linkData.name}),this.linkFocus()}).catch(({msg:s})=>{this.linkShow=!1,$A.modalError(s)}).finally(s=>{this.linkLoad--})},linkCopy(){!this.linkData.url||(this.linkFocus(),this.$copyText(this.linkData.url).then(e=>{$A.messageSuccess("\u590D\u5236\u6210\u529F")}).catch(e=>{$A.messageError("\u590D\u5236\u5931\u8D25")}))},linkFocus(){this.$nextTick(e=>{this.$refs.linkInput.focus({cursor:"all"})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}},unSaveGive(){this.getContent(),this.unsaveTip=!1},onSaveSave(){this.handleClick("save"),this.unsaveTip=!1},setTextType(e){this.fileExt=e,this.$set(this.contentDetail,"type",e)},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.fileId,only_update_at:"yes"}}).then(({data:s})=>{e(`${s.id}-${$A.Time(s.update_at)}`)}).catch(()=>{e(0)})})}}},l={};var C=r(S,m,y,!1,L,null,null,null);function L(e){for(let s in l)this[s]=l[s]}var A=function(){return C.exports}();export{A as default}; diff --git a/public/js/build/FilePreview.23f7e260.js b/public/js/build/FilePreview.393d5c5f.js similarity index 76% rename from public/js/build/FilePreview.23f7e260.js rename to public/js/build/FilePreview.393d5c5f.js index e551d6aab..93e396cd5 100644 --- a/public/js/build/FilePreview.23f7e260.js +++ b/public/js/build/FilePreview.393d5c5f.js @@ -1 +1 @@ -import{n as r,_ as n}from"./app.bd09c684.js";import{I as a}from"./IFrame.dee76434.js";var s=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"file-preview"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.headerShow&&!["word","excel","ppt"].includes(e.file.type),expression:"headerShow && !['word', 'excel', 'ppt'].includes(file.type)"}],staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[t("div",{staticClass:"title-name"},[e._v(e._s(e.$A.getFileName(e.file)))]),t("Tag",{attrs:{color:"default"}},[e._v(e._s(e.$L("\u53EA\u8BFB")))]),t("div",{staticClass:"refresh"},[e.contentLoad?t("Loading"):t("Icon",{attrs:{type:"ios-refresh"},on:{click:e.getContent}})],1)],1),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click"},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e()],1),t("div",{staticClass:"content-body"},[e.file.type=="document"?[e.contentDetail.type=="md"?t("MDPreview",{attrs:{initialValue:e.contentDetail.content}}):t("TEditor",{attrs:{value:e.contentDetail.content,height:"100%",readOnly:""}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{value:e.contentDetail,title:e.file.name,readOnly:""}}):e.file.type=="mind"?t("Minder",{ref:"myMind",attrs:{value:e.contentDetail,readOnly:""}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{value:e.contentDetail.content,ext:e.file.ext,readOnly:""}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{value:e.contentDetail,code:e.code,historyId:e.historyId,documentKey:e.documentKey,readOnly:""}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e()],2)},l=[];const d=()=>n(()=>import("./preview.d4c536ab.js"),["js/build/preview.d4c536ab.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),c=()=>n(()=>import("./TEditor.4460561b.js"),["js/build/TEditor.4460561b.js","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/ImgUpload.6e9513da.js"]),_=()=>n(()=>import("./AceEditor.a2d80e8c.js"),["js/build/AceEditor.a2d80e8c.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),p=()=>n(()=>import("./OnlyOffice.2b2000e0.js"),["js/build/OnlyOffice.2b2000e0.js","js/build/OnlyOffice.d36f3069.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),u=()=>n(()=>import("./Drawio.3f845169.js"),["js/build/Drawio.3f845169.js","js/build/Drawio.fc5c6326.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),h=()=>n(()=>import("./Minder.60b25458.js"),["js/build/Minder.60b25458.js","js/build/Minder.f2273bdb.css","js/build/IFrame.dee76434.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),v={name:"FilePreview",components:{IFrame:a,AceEditor:_,TEditor:c,MDPreview:d,OnlyOffice:p,Drawio:u,Minder:h},props:{code:{type:String,default:""},historyId:{type:Number,default:0},file:{type:Object,default:()=>({})},headerShow:{type:Boolean,default:!0}},data(){return{loadContent:0,contentDetail:null,loadPreview:!0}},watch:{"file.id":{handler(e){e&&(this.contentDetail=null,this.getContent())},immediate:!0,deep:!0}},computed:{contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:i}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${i}`)}return""}},methods:{onFrameLoad(){this.loadPreview=!1},getContent(){if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file);return}setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,history_id:this.historyId}}).then(({data:e})=>{this.contentDetail=e.content}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadContent--})},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,only_update_at:"yes"}}).then(({data:i})=>{e(`${i.id}-${$A.Time(i.update_at)}`)}).catch(()=>{e(0)})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}}}},o={};var f=r(v,s,l,!1,m,null,null,null);function m(e){for(let i in o)this[i]=o[i]}var D=function(){return f.exports}();export{D as default}; +import{n as r,_ as n}from"./app.139edc4e.js";import{I as a}from"./IFrame.fe0c152e.js";var s=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"file-preview"},[e.isPreview?t("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}):e.contentDetail?[t("div",{directives:[{name:"show",rawName:"v-show",value:e.headerShow&&!["word","excel","ppt"].includes(e.file.type),expression:"headerShow && !['word', 'excel', 'ppt'].includes(file.type)"}],staticClass:"edit-header"},[t("div",{staticClass:"header-title"},[t("div",{staticClass:"title-name"},[e._v(e._s(e.$A.getFileName(e.file)))]),t("Tag",{attrs:{color:"default"}},[e._v(e._s(e.$L("\u53EA\u8BFB")))]),t("div",{staticClass:"refresh"},[e.contentLoad?t("Loading"):t("Icon",{attrs:{type:"ios-refresh"},on:{click:e.getContent}})],1)],1),e.file.type=="mind"?t("Dropdown",{staticClass:"header-hint",attrs:{trigger:"click"},on:{"on-click":e.exportMenu}},[t("a",{attrs:{href:"javascript:void(0)"}},[e._v(e._s(e.$L("\u5BFC\u51FA"))),t("Icon",{attrs:{type:"ios-arrow-down"}})],1),t("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t("DropdownItem",{attrs:{name:"png"}},[e._v(e._s(e.$L("\u5BFC\u51FAPNG\u56FE\u7247")))]),t("DropdownItem",{attrs:{name:"pdf"}},[e._v(e._s(e.$L("\u5BFC\u51FAPDF\u6587\u4EF6")))])],1)],1):e._e()],1),t("div",{staticClass:"content-body"},[e.file.type=="document"?[e.contentDetail.type=="md"?t("MDPreview",{attrs:{initialValue:e.contentDetail.content}}):t("TEditor",{attrs:{value:e.contentDetail.content,height:"100%",readOnly:""}})]:e.file.type=="drawio"?t("Drawio",{ref:"myFlow",attrs:{value:e.contentDetail,title:e.file.name,readOnly:""}}):e.file.type=="mind"?t("Minder",{ref:"myMind",attrs:{value:e.contentDetail,readOnly:""}}):["code","txt"].includes(e.file.type)?t("AceEditor",{attrs:{value:e.contentDetail.content,ext:e.file.ext,readOnly:""}}):["word","excel","ppt"].includes(e.file.type)?t("OnlyOffice",{attrs:{value:e.contentDetail,code:e.code,historyId:e.historyId,documentKey:e.documentKey,readOnly:""}}):e._e()],2)]:e._e(),e.contentLoad?t("div",{staticClass:"content-load"},[t("Loading")],1):e._e()],2)},l=[];const d=()=>n(()=>import("./preview.b5a0d740.js"),["js/build/preview.b5a0d740.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),c=()=>n(()=>import("./TEditor.28d6de3c.js"),["js/build/TEditor.28d6de3c.js","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/ImgUpload.8dae08e9.js"]),_=()=>n(()=>import("./AceEditor.0c7bc196.js"),["js/build/AceEditor.0c7bc196.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),p=()=>n(()=>import("./OnlyOffice.162b8727.js"),["js/build/OnlyOffice.162b8727.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),u=()=>n(()=>import("./Drawio.c3becab8.js"),["js/build/Drawio.c3becab8.js","js/build/Drawio.fc5c6326.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),h=()=>n(()=>import("./Minder.056301a4.js"),["js/build/Minder.056301a4.js","js/build/Minder.f2273bdb.css","js/build/IFrame.fe0c152e.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),v={name:"FilePreview",components:{IFrame:a,AceEditor:_,TEditor:c,MDPreview:d,OnlyOffice:p,Drawio:u,Minder:h},props:{code:{type:String,default:""},historyId:{type:Number,default:0},file:{type:Object,default:()=>({})},headerShow:{type:Boolean,default:!0}},data(){return{loadContent:0,contentDetail:null,loadPreview:!0}},watch:{"file.id":{handler(e){e&&(this.contentDetail=null,this.getContent())},immediate:!0,deep:!0}},computed:{contentLoad(){return this.loadContent>0||this.previewLoad},isPreview(){return this.contentDetail&&this.contentDetail.preview===!0},previewLoad(){return this.isPreview&&this.loadPreview===!0},previewUrl(){if(this.isPreview){const{name:e,key:i}=this.contentDetail;return $A.apiUrl(`../online/preview/${e}?key=${i}`)}return""}},methods:{onFrameLoad(){this.loadPreview=!1},getContent(){if(["word","excel","ppt"].includes(this.file.type)){this.contentDetail=$A.cloneJSON(this.file);return}setTimeout(e=>{this.loadContent++},600),this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,history_id:this.historyId}}).then(({data:e})=>{this.contentDetail=e.content}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadContent--})},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"file/content",data:{id:this.code||this.file.id,only_update_at:"yes"}}).then(({data:i})=>{e(`${i.id}-${$A.Time(i.update_at)}`)}).catch(()=>{e(0)})})},exportMenu(e){switch(this.file.type){case"mind":this.$refs.myMind.exportHandle(e,this.file.name);break}}}},o={};var f=r(v,s,l,!1,m,null,null,null);function m(e){for(let i in o)this[i]=o[i]}var D=function(){return f.exports}();export{D as default}; diff --git a/public/js/build/IFrame.dee76434.js b/public/js/build/IFrame.fe0c152e.js similarity index 94% rename from public/js/build/IFrame.dee76434.js rename to public/js/build/IFrame.fe0c152e.js index 2a85d8e4b..1a32c3bfc 100644 --- a/public/js/build/IFrame.dee76434.js +++ b/public/js/build/IFrame.fe0c152e.js @@ -1 +1 @@ -import{n}from"./app.bd09c684.js";var i=function(){var e=this,s=e.$createElement,r=e._self._c||s;return r("iframe",{directives:[{name:"show",rawName:"v-show",value:e.src,expression:"src"}],ref:"iframe",attrs:{src:e.src}})},a=[];const o={name:"IFrame",props:{src:{type:String,default:""}},mounted(){this.$refs.iframe.addEventListener("load",this.handleLoad),window.addEventListener("message",this.handleMessage)},beforeDestroy(){this.$refs.iframe.removeEventListener("load",this.handleLoad),window.removeEventListener("message",this.handleMessage)},methods:{handleLoad(){this.$emit("on-load")},handleMessage({data:e,source:s}){var r;s===((r=this.$refs.iframe)==null?void 0:r.contentWindow)&&(e=$A.jsonParse(e),e.source==="fileView"&&e.action==="picture"&&this.$store.dispatch("previewImage",{index:e.params.index,list:e.params.array}),this.$emit("on-message",e))},postMessage(e,s="*"){this.$refs.iframe&&this.$refs.iframe.contentWindow.postMessage(e,s)}}},t={};var m=n(o,i,a,!1,c,null,null,null);function c(e){for(let s in t)this[s]=t[s]}var l=function(){return m.exports}();export{l as I}; +import{n}from"./app.139edc4e.js";var i=function(){var e=this,s=e.$createElement,r=e._self._c||s;return r("iframe",{directives:[{name:"show",rawName:"v-show",value:e.src,expression:"src"}],ref:"iframe",attrs:{src:e.src}})},a=[];const o={name:"IFrame",props:{src:{type:String,default:""}},mounted(){this.$refs.iframe.addEventListener("load",this.handleLoad),window.addEventListener("message",this.handleMessage)},beforeDestroy(){this.$refs.iframe.removeEventListener("load",this.handleLoad),window.removeEventListener("message",this.handleMessage)},methods:{handleLoad(){this.$emit("on-load")},handleMessage({data:e,source:s}){var r;s===((r=this.$refs.iframe)==null?void 0:r.contentWindow)&&(e=$A.jsonParse(e),e.source==="fileView"&&e.action==="picture"&&this.$store.dispatch("previewImage",{index:e.params.index,list:e.params.array}),this.$emit("on-message",e))},postMessage(e,s="*"){this.$refs.iframe&&this.$refs.iframe.contentWindow.postMessage(e,s)}}},t={};var m=n(o,i,a,!1,c,null,null,null);function c(e){for(let s in t)this[s]=t[s]}var l=function(){return m.exports}();export{l as I}; diff --git a/public/js/build/ImgUpload.6e9513da.js b/public/js/build/ImgUpload.8dae08e9.js similarity index 99% rename from public/js/build/ImgUpload.6e9513da.js rename to public/js/build/ImgUpload.8dae08e9.js index 023445f00..c804ac6cc 100644 --- a/public/js/build/ImgUpload.6e9513da.js +++ b/public/js/build/ImgUpload.8dae08e9.js @@ -1 +1 @@ -import{n as o}from"./app.bd09c684.js";var r=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"common-img-update"},[t._l(t.uploadList,function(s){return t.type!=="callback"?e("div",{staticClass:"imgcomp-upload-list"},[s.status==="finished"?[e("div",{staticClass:"imgcomp-upload-img",style:{"background-image":"url("+t.__thumb(s.thumb)+")"}}),e("div",{staticClass:"imgcomp-upload-list-cover"},[e("Icon",{attrs:{type:"ios-eye-outline"},nativeOn:{click:function(a){return t.handleView(s)}}}),e("Icon",{attrs:{type:"ios-trash-outline"},nativeOn:{click:function(a){return t.handleRemove(s)}}})],1)]:[s.showProgress?e("Progress",{attrs:{percent:s.percentage,"hide-info":""}}):t._e()]],2):t._e()}),e("div",{staticClass:"add-box",class:{"callback-add-box":t.type==="callback"}},[e("div",{staticClass:"add-box-icon"},[e("Icon",{attrs:{type:"md-add",size:"32"}})],1),e("div",{staticClass:"add-box-upload"},[e("div",{staticClass:"add-box-item",on:{click:t.browsePicture}},[e("span",[t._v(t._s(t.$L("\u6D4F\u89C8"))),t.type==="callback"?e("em",[t._v(t._s(t.$L("\u56FE\u7247")))]):t._e()])]),e("div",{staticClass:"add-box-item"},[e("Upload",{ref:"upload",attrs:{name:"image",accept:"image/*",action:t.actionUrl,headers:t.uploadHeaders,data:t.uploadParams,"show-upload-list":!1,"max-size":t.maxSize,format:["jpg","jpeg","gif","png"],"default-file-list":t.defaultList,"on-progress":t.handleProgress,"on-success":t.handleSuccess,"on-error":t.handleError,"on-format-error":t.handleFormatError,"on-exceeded-size":t.handleMaxSize,"before-upload":t.handleBeforeUpload,multiple:t.multiple}},[e("span",[t._v(t._s(t.$L("\u4E0A\u4F20"))),t.type==="callback"?e("em",[t._v(t._s(t.$L("\u56FE\u7247")))]):t._e()])])],1)])]),e("Modal",{staticClass:"img-upload-modal",attrs:{title:t.$L("\u6D4F\u89C8\u56FE\u7247\u7A7A\u95F4"),width:"710"},model:{value:t.browseVisible,callback:function(s){t.browseVisible=s},expression:"browseVisible"}},[t.isLoading?e("div",{staticClass:"browse-load"},[t._v(t._s(t.$L("\u52A0\u8F7D\u4E2D...")))]):e("div",{ref:"browselistbox",staticClass:"browse-list",class:t.httpType==="input"?"browse-list-disabled":""},[t.browseList.length<=0?e("div",[t._v(t._s(t.$L("\u65E0\u5185\u5BB9")))]):t._l(t.browseList,function(s){return e("div",{staticClass:"browse-item",on:{click:function(a){return t.browseItem(s)}}},[s.active?e("Icon",{staticClass:"browse-icon",attrs:{type:"ios-checkmark-circle"}}):t._e(),e("div",{staticClass:"browse-img",style:{"background-image":"url("+s.thumb+")"}}),e("div",{staticClass:"browse-title"},[t._v(t._s(s.title))])],1)})],2),e("div",{staticClass:"img-upload-foot",attrs:{slot:"footer"},slot:"footer"},[t.type!=="callback"&&t.http&&t.httpType===""?e("div",{staticClass:"img-upload-foot-input",on:{click:function(s){t.httpType="input"}}},[e("Icon",{attrs:{type:"ios-image",size:"22"}}),e("div",{staticClass:"img-upload-foot-httptitle"},[t._v(t._s(t.$L("\u81EA\u5B9A\u4E49\u56FE\u7247\u5730\u5740")))])],1):t._e(),t.type!=="callback"&&t.http&&t.httpType==="input"?e("div",{staticClass:"img-upload-foot-input"},[e("Input",{attrs:{placeholder:t.$L("\u4EE5 http:// \u6216 https:// \u5F00\u5934"),search:"","enter-button":t.$L("\u786E\u5B9A")},on:{"on-search":t.httpEnter},model:{value:t.httpValue,callback:function(s){t.httpValue=s},expression:"httpValue"}},[e("span",{staticStyle:{cursor:"pointer"},attrs:{slot:"prepend"},on:{click:function(s){t.httpType=""}},slot:"prepend"},[t._v(t._s(t.$L("\u81EA\u5B9A\u4E49\u5730\u5740"))+": ")])])],1):t._e(),t.httpType===""?e("Button",{on:{click:function(s){t.browseVisible=!1}}},[t._v(t._s(t.$L("\u5173\u95ED")))]):t._e(),t.httpType===""?e("Button",{attrs:{type:"primary"},on:{click:function(s){return t.handleCallback(!0)}}},[t._v(t._s(t.$L("\u5B8C\u6210")))]):t._e()],1)]),e("Modal",{staticClass:"img-upload-modal",attrs:{title:t.$L("\u67E5\u770B\u56FE\u7247"),draggable:""},model:{value:t.visible,callback:function(s){t.visible=s},expression:"visible"}},[e("div",{staticStyle:{"max-height":"480px",overflow:"auto"}},[e("a",{attrs:{href:t.imgVisible,target:"_blank"}},[t.visible?e("img",{staticStyle:{"max-width":"100%","max-height":"900px",display:"block",margin:"0 auto"},attrs:{src:t.imgVisible}}):t._e()])])])],2)},n=[];const h={name:"ImgUpload",props:{value:{},num:{},width:{},height:{},whcut:{},type:{},http:{type:Boolean,default:!1},otherParams:{type:Object,default:()=>({})},uploadIng:{type:Number,default:0}},data(){return{actionUrl:$A.apiUrl("system/imgupload"),multiple:this.num>1,visible:!1,browseVisible:!1,isLoading:!1,browseList:[],browseListNext:[],imgVisible:"",defaultList:this.initItems(this.value),uploadList:[],maxNum:Math.min(Math.max($A.runNum(this.num),1),99),httpValue:"",httpType:"",maxSize:2048}},mounted(){this.uploadList=this.$refs.upload.fileList,this.$emit("input",this.uploadList);let t=$A(this.$refs.browselistbox);t.scroll(()=>{let i=t[0].scrollHeight,e=t[0].scrollTop,s=t.height();if(e+s>=i&&this.browseListNext.length>0){let a=this.browseListNext;this.browseListNext=[],this.browsePictureFor(a)}})},watch:{value(t){if(typeof t=="string"){this.$emit("input",this.initItems(t));return}t!==this.$refs.upload.fileList&&(this.$refs.upload.fileList=this.initItems(t),this.uploadList=this.$refs.upload.fileList)},browseVisible(){this.httpType="",this.httpValue=""}},computed:{uploadHeaders(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},uploadParams(){let t={width:this.width,height:this.height,whcut:this.whcut};return Object.keys(this.otherParams).length>0?Object.assign(t,this.otherParams):t}},methods:{handleCallback(t){this.type==="callback"&&(t===!0?(this.$emit("on-callback",this.uploadList),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList):typeof t=="object"&&this.$emit("on-callback",[t])),this.browseVisible=!1},initItems(t){typeof t=="string"&&(t=[{url:t}]);let i=[];return $A.each(t,(e,s)=>{typeof s=="string"&&(s={url:s}),s.url&&(s.active=!0,s.status="finished",typeof s.path=="undefined"&&(s.path=s.url),typeof s.thumb=="undefined"&&(s.thumb=s.url),i.push(s))}),i},handleView(t){this.$store.dispatch("previewImage",t.url)},handleRemove(t){let i=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(i.indexOf(t),1),this.$emit("input",this.$refs.upload.fileList)},handleProgress(t,i){i._uploadIng===void 0&&(i._uploadIng=!0,this.$emit("update:uploadIng",this.uploadIng+1))},handleSuccess(t,i){this.$emit("update:uploadIng",this.uploadIng-1),t.ret===1?(i.url=t.data.url,i.path=t.data.path,i.thumb=t.data.thumb,this.handleCallback(i)):($A.noticeWarning({title:this.$L("\u4E0A\u4F20\u5931\u8D25"),desc:this.$L("\u6587\u4EF6 "+i.name+" \u4E0A\u4F20\u5931\u8D25 "+t.msg)}),this.$refs.upload.fileList.pop()),this.$emit("input",this.$refs.upload.fileList)},handleError(){this.$emit("update:uploadIng",this.uploadIng-1)},handleFormatError(t){$A.noticeWarning({title:this.$L("\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u4E0A\u4F20 jpg\u3001jpeg\u3001gif\u3001png \u683C\u5F0F\u7684\u56FE\u7247\u3002")})},handleMaxSize(t){$A.noticeWarning({title:this.$L("\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024))})},handleBeforeUpload(){let t=this.uploadList.length{let e=i.dirs;for(let s=0;s{this.browseVisible=!1,$A.noticeWarning(i)}).finally(i=>{this.isLoading=!1})},browsePictureFor(t){for(let i=0;i({})},uploadIng:{type:Number,default:0}},data(){return{actionUrl:$A.apiUrl("system/imgupload"),multiple:this.num>1,visible:!1,browseVisible:!1,isLoading:!1,browseList:[],browseListNext:[],imgVisible:"",defaultList:this.initItems(this.value),uploadList:[],maxNum:Math.min(Math.max($A.runNum(this.num),1),99),httpValue:"",httpType:"",maxSize:2048}},mounted(){this.uploadList=this.$refs.upload.fileList,this.$emit("input",this.uploadList);let t=$A(this.$refs.browselistbox);t.scroll(()=>{let i=t[0].scrollHeight,e=t[0].scrollTop,s=t.height();if(e+s>=i&&this.browseListNext.length>0){let a=this.browseListNext;this.browseListNext=[],this.browsePictureFor(a)}})},watch:{value(t){if(typeof t=="string"){this.$emit("input",this.initItems(t));return}t!==this.$refs.upload.fileList&&(this.$refs.upload.fileList=this.initItems(t),this.uploadList=this.$refs.upload.fileList)},browseVisible(){this.httpType="",this.httpValue=""}},computed:{uploadHeaders(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},uploadParams(){let t={width:this.width,height:this.height,whcut:this.whcut};return Object.keys(this.otherParams).length>0?Object.assign(t,this.otherParams):t}},methods:{handleCallback(t){this.type==="callback"&&(t===!0?(this.$emit("on-callback",this.uploadList),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList):typeof t=="object"&&this.$emit("on-callback",[t])),this.browseVisible=!1},initItems(t){typeof t=="string"&&(t=[{url:t}]);let i=[];return $A.each(t,(e,s)=>{typeof s=="string"&&(s={url:s}),s.url&&(s.active=!0,s.status="finished",typeof s.path=="undefined"&&(s.path=s.url),typeof s.thumb=="undefined"&&(s.thumb=s.url),i.push(s))}),i},handleView(t){this.$store.dispatch("previewImage",t.url)},handleRemove(t){let i=this.$refs.upload.fileList;this.$refs.upload.fileList.splice(i.indexOf(t),1),this.$emit("input",this.$refs.upload.fileList)},handleProgress(t,i){i._uploadIng===void 0&&(i._uploadIng=!0,this.$emit("update:uploadIng",this.uploadIng+1))},handleSuccess(t,i){this.$emit("update:uploadIng",this.uploadIng-1),t.ret===1?(i.url=t.data.url,i.path=t.data.path,i.thumb=t.data.thumb,this.handleCallback(i)):($A.noticeWarning({title:this.$L("\u4E0A\u4F20\u5931\u8D25"),desc:this.$L("\u6587\u4EF6 "+i.name+" \u4E0A\u4F20\u5931\u8D25 "+t.msg)}),this.$refs.upload.fileList.pop()),this.$emit("input",this.$refs.upload.fileList)},handleError(){this.$emit("update:uploadIng",this.uploadIng-1)},handleFormatError(t){$A.noticeWarning({title:this.$L("\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u4E0A\u4F20 jpg\u3001jpeg\u3001gif\u3001png \u683C\u5F0F\u7684\u56FE\u7247\u3002")})},handleMaxSize(t){$A.noticeWarning({title:this.$L("\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236"),desc:this.$L("\u6587\u4EF6 "+t.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024))})},handleBeforeUpload(){let t=this.uploadList.length{let e=i.dirs;for(let s=0;s{this.browseVisible=!1,$A.noticeWarning(i)}).finally(i=>{this.isLoading=!1})},browsePictureFor(t){for(let i=0;i"office_"+Math.round(Math.random()*1e4)},code:{type:String,default:""},historyId:{type:Number,default:0},value:{type:[Object,Array],default:function(){return{}}},readOnly:{type:Boolean,default:!1},documentKey:Function},data(){return{loading:!1,loadError:!1,docEditor:null}},beforeDestroy(){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null)},computed:{...d(["userInfo","themeIsDark"]),fileType(){return this.getType(this.value.type)},fileName(){return this.value.name},fileUrl(){let e=this.code||this.value.id,t;return $A.leftExists(e,"msgFile_")?t=`dialog/msg/download/?msg_id=${$A.leftDelete(e,"msgFile_")}&token=${this.userToken}`:$A.leftExists(e,"taskFile_")?t=`project/task/filedown/?file_id=${$A.leftDelete(e,"taskFile_")}&token=${this.userToken}`:(t=`file/content/?id=${e}&token=${this.userToken}`,this.historyId>0&&(t+=`&history_id=${this.historyId}`)),t},previewUrl(){return $A.apiUrl(this.fileUrl)+"&down=preview"}},watch:{"value.id":{handler(e){!e||!$A.isDesktop()||(this.loading=!0,this.loadError=!1,$A.loadScript($A.apiUrl("../office/web-apps/apps/api/documents/api.js")).then(t=>{if(!this.documentKey){this.handleClose();return}const i=this.documentKey();i&&i.then?i.then(this.loadFile):this.loadFile()}).catch(t=>{this.loadError=!0}).finally(t=>{this.loading=!1}))},immediate:!0},previewUrl:{handler(){$A.isDesktop()||(this.loading=!0)},immediate:!0}},methods:{onFrameLoad(){this.loading=!1},getType(e){switch(e){case"word":return"docx";case"excel":return"xlsx";case"ppt":return"pptx"}return e},loadFile(e=""){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null);let t=l;switch(l){case"zh-CHT":t="zh-TW";break}let i=this.code||this.value.id,a=$A.strExists(this.fileName,".")?this.fileName:this.fileName+"."+this.fileType,s=`${this.fileType}-${e||i}`;this.historyId>0&&(s+=`-${this.historyId}`);const r={document:{fileType:this.fileType,title:a,key:s,url:`http://nginx/api/${this.fileUrl}`},editorConfig:{mode:"edit",lang:t,user:{id:String(this.userInfo.userid),name:this.userInfo.nickname},customization:{uiTheme:this.themeIsDark?"theme-dark":"theme-classic-light",forcesave:!0,help:!1},callbackUrl:`http://nginx/api/file/content/office?id=${i}&token=${this.userToken}`},events:{onDocumentReady:this.onDocumentReady}};/\/hideenOfficeTitle\//.test(window.navigator.userAgent)&&(r.document.title=" "),(async y=>{if((this.readOnly||this.historyId>0)&&(r.editorConfig.mode="view",r.editorConfig.callbackUrl=null,!r.editorConfig.user.id)){let o=await $A.IDBInt("officeViewer");o||(o=$A.randNum(1e3,99999),await $A.IDBSet("officeViewer",o)),r.editorConfig.user.id="viewer_"+o,r.editorConfig.user.name="Viewer_"+o}this.$nextTick(()=>{this.docEditor=new DocsAPI.DocEditor(this.id,r)})})()},onDocumentReady(){this.$emit("on-document-ready",this.docEditor)}}},n={};var p=f(m,h,u,!1,_,"38b2d892",null,null);function _(e){for(let t in n)this[t]=n[t]}var $=function(){return p.exports}();export{$ as default}; diff --git a/public/js/build/OnlyOffice.2b2000e0.js b/public/js/build/OnlyOffice.2b2000e0.js deleted file mode 100644 index d1fec4d3a..000000000 --- a/public/js/build/OnlyOffice.2b2000e0.js +++ /dev/null @@ -1 +0,0 @@ -import{m as d,n as f,a as l}from"./app.bd09c684.js";import{I as c}from"./IFrame.dee76434.js";var u=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"component-only-office"},[e.$A.isDesktop()?[e.loadError?i("Alert",{staticClass:"load-error",attrs:{type:"error","show-icon":""}},[e._v(e._s(e.$L("\u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01")))]):e._e(),i("div",{staticClass:"placeholder",attrs:{id:e.id}})]:i("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl},on:{"on-load":e.onFrameLoad}}),e.loading?i("div",{staticClass:"office-loading"},[i("Loading")],1):e._e()],2)},h=[];const m={name:"OnlyOffice",components:{IFrame:c},props:{id:{type:String,default:()=>"office_"+Math.round(Math.random()*1e4)},code:{type:String,default:""},historyId:{type:Number,default:0},value:{type:[Object,Array],default:function(){return{}}},readOnly:{type:Boolean,default:!1},documentKey:Function},data(){return{loading:!1,loadError:!1,docEditor:null}},beforeDestroy(){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null)},computed:{...d(["userInfo","themeIsDark"]),fileType(){return this.getType(this.value.type)},fileName(){return this.value.name},fileUrl(){let e=this.code||this.value.id,t;return $A.leftExists(e,"msgFile_")?t=`dialog/msg/download/?msg_id=${$A.leftDelete(e,"msgFile_")}&token=${this.userToken}`:$A.leftExists(e,"taskFile_")?t=`project/task/filedown/?file_id=${$A.leftDelete(e,"taskFile_")}&token=${this.userToken}`:(t=`file/content/?id=${e}&token=${this.userToken}`,this.historyId>0&&(t+=`&history_id=${this.historyId}`)),t},previewUrl(){return $A.apiUrl(this.fileUrl)+"&down=preview"}},watch:{"value.id":{handler(e){!e||!$A.isDesktop()||(this.loading=!0,this.loadError=!1,$A.loadScript($A.apiUrl("../office/web-apps/apps/api/documents/api.js"),t=>{if(this.loading=!1,t!==null){this.loadError=!0;return}if(!this.documentKey){this.handleClose();return}const i=this.documentKey();i&&i.then?i.then(this.loadFile):this.loadFile()}))},immediate:!0},previewUrl:{handler(){$A.isDesktop()||(this.loading=!0)},immediate:!0}},methods:{onFrameLoad(){this.loading=!1},getType(e){switch(e){case"word":return"docx";case"excel":return"xlsx";case"ppt":return"pptx"}return e},loadFile(e=""){this.docEditor!==null&&(this.docEditor.destroyEditor(),this.docEditor=null);let t=l;switch(l){case"zh-CHT":t="zh-TW";break}let i=this.code||this.value.id,a=$A.strExists(this.fileName,".")?this.fileName:this.fileName+"."+this.fileType,s=`${this.fileType}-${e||i}`;this.historyId>0&&(s+=`-${this.historyId}`);const r={document:{fileType:this.fileType,title:a,key:s,url:`http://nginx/api/${this.fileUrl}`},editorConfig:{mode:"edit",lang:t,user:{id:String(this.userInfo.userid),name:this.userInfo.nickname},customization:{uiTheme:this.themeIsDark?"theme-dark":"theme-classic-light",forcesave:!0,help:!1},callbackUrl:`http://nginx/api/file/content/office?id=${i}&token=${this.userToken}`},events:{onDocumentReady:this.onDocumentReady}};/\/hideenOfficeTitle\//.test(window.navigator.userAgent)&&(r.document.title=" "),(async _=>{if((this.readOnly||this.historyId>0)&&(r.editorConfig.mode="view",r.editorConfig.callbackUrl=null,!r.editorConfig.user.id)){let o=await $A.IDBInt("officeViewer");o||(o=$A.randNum(1e3,99999),await $A.IDBSet("officeViewer",o)),r.editorConfig.user.id="viewer_"+o,r.editorConfig.user.name="Viewer_"+o}this.$nextTick(()=>{this.docEditor=new DocsAPI.DocEditor(this.id,r)})})()},onDocumentReady(){this.$emit("on-document-ready",this.docEditor)}}},n={};var p=f(m,u,h,!1,y,"42265d2e",null,null);function y(e){for(let t in n)this[t]=n[t]}var $=function(){return p.exports}();export{$ as default}; diff --git a/public/js/build/OnlyOffice.d36f3069.css b/public/js/build/OnlyOffice.a5dfbde1.css similarity index 60% rename from public/js/build/OnlyOffice.d36f3069.css rename to public/js/build/OnlyOffice.a5dfbde1.css index 55cb6997e..07923827e 100644 --- a/public/js/build/OnlyOffice.d36f3069.css +++ b/public/js/build/OnlyOffice.a5dfbde1.css @@ -1 +1 @@ -.component-only-office[data-v-42265d2e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.component-only-office .placeholder[data-v-42265d2e]{flex:1;width:100%;height:100%}.component-only-office .office-loading[data-v-42265d2e]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:2}.component-only-office .load-error{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;padding:8px;display:flex;align-items:center}.component-only-office .load-error .ivu-alert-icon{position:static;margin-right:8px;margin-left:4px} +.component-only-office[data-v-38b2d892]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center}.component-only-office .placeholder[data-v-38b2d892]{flex:1;width:100%;height:100%}.component-only-office .office-loading[data-v-38b2d892]{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:2}.component-only-office .load-error{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;padding:8px;display:flex;align-items:center}.component-only-office .load-error .ivu-alert-icon{position:static;margin-right:8px;margin-left:4px} diff --git a/public/js/build/ProjectLog.bffe06c7.js b/public/js/build/ProjectLog.f97ce9f6.js similarity index 98% rename from public/js/build/ProjectLog.bffe06c7.js rename to public/js/build/ProjectLog.f97ce9f6.js index a56df1707..c166b1be6 100644 --- a/public/js/build/ProjectLog.bffe06c7.js +++ b/public/js/build/ProjectLog.f97ce9f6.js @@ -1 +1 @@ -import{m as p,n as c}from"./app.bd09c684.js";var h=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"task-priority",style:t.myStyle},[t._t("default")],2)},m=[];const _={name:"TaskPriority",props:{color:{default:"#ffffff"},background:{default:"#7DBEEA"},backgroundColor:{default:"#7DBEEA"}},data(){return{}},computed:{...p(["themeIsDark"]),myStyle(){const{color:t,background:e,backgroundColor:s,themeIsDark:a}=this;return a?{color:s||e,borderColor:s||e,backgroundColor:"transparent"}:{color:t,borderColor:s||e,backgroundColor:s||e}}}},l={};var f=c(_,h,m,!1,g,null,null,null);function g(t){for(let e in l)this[e]=l[e]}var I=function(){return f.exports}(),v={name:"ProjectLogDetail",functional:!0,props:{render:Function,item:Object},render:(t,e)=>e.props.render(t,e.props.item)},$=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["project-log",t.taskId==0?"is-drawer":""]},[s("div",{staticClass:"log-title"},[t._v(t._s(t.$L("\u9879\u76EE\u52A8\u6001")))]),s("ul",{staticClass:"logs-activity"},[t._l(t.lists,function(a){return s("li",[s("div",{staticClass:"logs-date"},[t._v(t._s(t.logDate(a)))]),s("div",{staticClass:"logs-section"},[s("Timeline",t._l(a.lists,function(r,o){return s("TimelineItem",{key:o},[s("div",{staticClass:"logs-dot",attrs:{slot:"dot"},slot:"dot"},[r.userid?s("UserAvatar",{attrs:{userid:r.userid,size:18,showName:""}}):s("div",{staticClass:"avatar-wrapper common-avatar"},[s("EAvatar",{attrs:{size:18}},[t._v("A")]),s("div",{staticClass:"avatar-name auto"},[t._v(t._s(t.$L("\u7CFB\u7EDF")))])],1)],1),t._l(r.lists,function(i){return[s("div",{staticClass:"log-summary"},[s("ProjectLogDetail",{attrs:{render:t.logDetail,item:i}}),t.operationList(i).length>0?s("span",{staticClass:"log-operation"},t._l(t.operationList(i),function(n,d){return s("Button",{key:d,attrs:{size:"small"},on:{click:function(P){return t.onOperation(n)}}},[t._v(t._s(n.button))])}),1):t._e(),s("span",{staticClass:"log-time"},[t._v(t._s(i.time.ymd)+" "+t._s(i.time.segment)+" "+t._s(i.time.hi))])],1),i.project_task?s("div",{staticClass:"log-task"},[s("em",{on:{click:function(n){return t.openTask(i.project_task)}}},[t._v(t._s(t.$L("\u5173\u8054\u4EFB\u52A1"))+": "+t._s(i.project_task.name))])]):t._e()]})],2)}),1)],1)])}),t.loadIng>0&&t.showLoad?s("li",{staticClass:"logs-loading"},[s("Loading")],1):t.hasMorePages?s("li",{staticClass:"logs-more",on:{click:t.getMore}},[t._v(t._s(t.$L("\u52A0\u8F7D\u66F4\u591A")))]):t.totalNum==0?s("li",{staticClass:"logs-none",on:{click:function(a){return t.getLists(!0)}}},[t._v(t._s(t.$L("\u6CA1\u6709\u4EFB\u4F55\u52A8\u6001")))]):t._e()],2)])},k=[];const y={name:"ProjectLog",components:{ProjectLogDetail:v},props:{projectId:{type:Number,default:0},taskId:{type:Number,default:0},showLoad:{type:Boolean,default:!0}},data(){return{loadIng:0,lists:[],listPage:1,listPageSize:20,hasMorePages:!1,totalNum:-1}},mounted(){this.getLists(!0)},computed:{},watch:{projectId(){this.lists=[],this.getLists(!0)},taskId(){this.lists=[],this.getLists(!0)},loadIng(t){this.$emit("on-load-change",t>0)}},methods:{logDate(t){return $A.formatDate("m-d")==t.ymd?t.ymd+" "+this.$L("\u4ECA\u5929"):t.key},getLists(t){t===!0&&(this.listPage=1),this.loadIng++,this.$store.dispatch("call",{url:"project/log/lists",data:{project_id:this.projectId,task_id:this.taskId,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:e})=>{t===!0&&(this.lists=[]),e.data.some(s=>{let a=s.time,r=a.ymd+" "+a.week,o=this.lists.find(({key:i})=>i==r);if(o){let i=o.lists.find(({userid:n})=>n==s.userid);i?i.lists.push(s):o.lists.push({userid:s.userid,lists:[s]})}else this.lists.push({key:r,ymd:s.ymd,lists:[{userid:s.userid,lists:[s]}]})}),this.hasMorePages=e.current_page{this.lists=[],this.hasMorePages=!1,this.totalNum=0}).finally(e=>{this.loadIng--})},getMore(){!this.hasMorePages||(this.hasMorePages=!1,this.listPage++,this.getLists())},logDetail(t,{detail:e,record:s}){let a=[t("span",e)];if($A.isJson(s)){if($A.isArray(s.change)){let[r,o]=s.change;a.push(t("span",": ")),r&&r!=o?(a.push(t("span",{class:"change-value"},`${r||"-"}`)),a.push(t("span"," => ")),a.push(t("span",{class:"change-value"},`${o||"-"}`))):a.push(t("span",{class:"change-value"},o||"-"))}if(s.userid){let r=$A.isArray(s.userid)?s.userid:[s.userid],o=[];r.some(i=>{/^\d+$/.test(i)?o.push(t("UserAvatar",{props:{size:18,userid:i}})):o.push(t("span",i))}),o.length>0&&a.push(t("div",{class:"detail-user"},[t("div",{class:"detail-user-wrap"},o)]))}}return t("span",{class:"log-text"},a)},operationList({id:t,record:e}){let s=[];if(!$A.isJson(e))return s;if(this.taskId>0&&$A.isJson(e.flow)){let a=$A.getMiddle(e.flow.flow_item_name,"|");a&&s.push({id:t,button:this.$L("\u91CD\u7F6E"),content:this.$L(`\u786E\u5B9A\u91CD\u7F6E\u4E3A\u3010${a}\u3011\u5417\uFF1F`)})}return s},onOperation(t){$A.modalConfirm({content:t.content,loading:!0,onOk:()=>new Promise((e,s)=>{this.$store.dispatch("call",{url:"project/task/resetfromlog",data:{id:t.id}}).then(({data:a,msg:r})=>{e(r),this.$store.dispatch("saveTask",a),this.getLists(!0)}).catch(({msg:a})=>{s(a)})})})},openTask(t){this.$store.dispatch("openTask",t)}}},u={};var L=c(y,$,k,!1,C,null,null,null);function C(t){for(let e in u)this[e]=u[e]}var A=function(){return L.exports}();export{A as P,I as T}; +import{m as p,n as c}from"./app.139edc4e.js";var h=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"task-priority",style:t.myStyle},[t._t("default")],2)},m=[];const _={name:"TaskPriority",props:{color:{default:"#ffffff"},background:{default:"#7DBEEA"},backgroundColor:{default:"#7DBEEA"}},data(){return{}},computed:{...p(["themeIsDark"]),myStyle(){const{color:t,background:e,backgroundColor:s,themeIsDark:a}=this;return a?{color:s||e,borderColor:s||e,backgroundColor:"transparent"}:{color:t,borderColor:s||e,backgroundColor:s||e}}}},l={};var f=c(_,h,m,!1,g,null,null,null);function g(t){for(let e in l)this[e]=l[e]}var I=function(){return f.exports}(),v={name:"ProjectLogDetail",functional:!0,props:{render:Function,item:Object},render:(t,e)=>e.props.render(t,e.props.item)},$=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["project-log",t.taskId==0?"is-drawer":""]},[s("div",{staticClass:"log-title"},[t._v(t._s(t.$L("\u9879\u76EE\u52A8\u6001")))]),s("ul",{staticClass:"logs-activity"},[t._l(t.lists,function(a){return s("li",[s("div",{staticClass:"logs-date"},[t._v(t._s(t.logDate(a)))]),s("div",{staticClass:"logs-section"},[s("Timeline",t._l(a.lists,function(r,o){return s("TimelineItem",{key:o},[s("div",{staticClass:"logs-dot",attrs:{slot:"dot"},slot:"dot"},[r.userid?s("UserAvatar",{attrs:{userid:r.userid,size:18,showName:""}}):s("div",{staticClass:"avatar-wrapper common-avatar"},[s("EAvatar",{attrs:{size:18}},[t._v("A")]),s("div",{staticClass:"avatar-name auto"},[t._v(t._s(t.$L("\u7CFB\u7EDF")))])],1)],1),t._l(r.lists,function(i){return[s("div",{staticClass:"log-summary"},[s("ProjectLogDetail",{attrs:{render:t.logDetail,item:i}}),t.operationList(i).length>0?s("span",{staticClass:"log-operation"},t._l(t.operationList(i),function(n,d){return s("Button",{key:d,attrs:{size:"small"},on:{click:function(P){return t.onOperation(n)}}},[t._v(t._s(n.button))])}),1):t._e(),s("span",{staticClass:"log-time"},[t._v(t._s(i.time.ymd)+" "+t._s(i.time.segment)+" "+t._s(i.time.hi))])],1),i.project_task?s("div",{staticClass:"log-task"},[s("em",{on:{click:function(n){return t.openTask(i.project_task)}}},[t._v(t._s(t.$L("\u5173\u8054\u4EFB\u52A1"))+": "+t._s(i.project_task.name))])]):t._e()]})],2)}),1)],1)])}),t.loadIng>0&&t.showLoad?s("li",{staticClass:"logs-loading"},[s("Loading")],1):t.hasMorePages?s("li",{staticClass:"logs-more",on:{click:t.getMore}},[t._v(t._s(t.$L("\u52A0\u8F7D\u66F4\u591A")))]):t.totalNum==0?s("li",{staticClass:"logs-none",on:{click:function(a){return t.getLists(!0)}}},[t._v(t._s(t.$L("\u6CA1\u6709\u4EFB\u4F55\u52A8\u6001")))]):t._e()],2)])},k=[];const y={name:"ProjectLog",components:{ProjectLogDetail:v},props:{projectId:{type:Number,default:0},taskId:{type:Number,default:0},showLoad:{type:Boolean,default:!0}},data(){return{loadIng:0,lists:[],listPage:1,listPageSize:20,hasMorePages:!1,totalNum:-1}},mounted(){this.getLists(!0)},computed:{},watch:{projectId(){this.lists=[],this.getLists(!0)},taskId(){this.lists=[],this.getLists(!0)},loadIng(t){this.$emit("on-load-change",t>0)}},methods:{logDate(t){return $A.formatDate("m-d")==t.ymd?t.ymd+" "+this.$L("\u4ECA\u5929"):t.key},getLists(t){t===!0&&(this.listPage=1),this.loadIng++,this.$store.dispatch("call",{url:"project/log/lists",data:{project_id:this.projectId,task_id:this.taskId,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:e})=>{t===!0&&(this.lists=[]),e.data.some(s=>{let a=s.time,r=a.ymd+" "+a.week,o=this.lists.find(({key:i})=>i==r);if(o){let i=o.lists.find(({userid:n})=>n==s.userid);i?i.lists.push(s):o.lists.push({userid:s.userid,lists:[s]})}else this.lists.push({key:r,ymd:s.ymd,lists:[{userid:s.userid,lists:[s]}]})}),this.hasMorePages=e.current_page{this.lists=[],this.hasMorePages=!1,this.totalNum=0}).finally(e=>{this.loadIng--})},getMore(){!this.hasMorePages||(this.hasMorePages=!1,this.listPage++,this.getLists())},logDetail(t,{detail:e,record:s}){let a=[t("span",e)];if($A.isJson(s)){if($A.isArray(s.change)){let[r,o]=s.change;a.push(t("span",": ")),r&&r!=o?(a.push(t("span",{class:"change-value"},`${r||"-"}`)),a.push(t("span"," => ")),a.push(t("span",{class:"change-value"},`${o||"-"}`))):a.push(t("span",{class:"change-value"},o||"-"))}if(s.userid){let r=$A.isArray(s.userid)?s.userid:[s.userid],o=[];r.some(i=>{/^\d+$/.test(i)?o.push(t("UserAvatar",{props:{size:18,userid:i}})):o.push(t("span",i))}),o.length>0&&a.push(t("div",{class:"detail-user"},[t("div",{class:"detail-user-wrap"},o)]))}}return t("span",{class:"log-text"},a)},operationList({id:t,record:e}){let s=[];if(!$A.isJson(e))return s;if(this.taskId>0&&$A.isJson(e.flow)){let a=$A.getMiddle(e.flow.flow_item_name,"|");a&&s.push({id:t,button:this.$L("\u91CD\u7F6E"),content:this.$L(`\u786E\u5B9A\u91CD\u7F6E\u4E3A\u3010${a}\u3011\u5417\uFF1F`)})}return s},onOperation(t){$A.modalConfirm({content:t.content,loading:!0,onOk:()=>new Promise((e,s)=>{this.$store.dispatch("call",{url:"project/task/resetfromlog",data:{id:t.id}}).then(({data:a,msg:r})=>{e(r),this.$store.dispatch("saveTask",a),this.getLists(!0)}).catch(({msg:a})=>{s(a)})})})},openTask(t){this.$store.dispatch("openTask",t)}}},u={};var L=c(y,$,k,!1,C,null,null,null);function C(t){for(let e in u)this[e]=u[e]}var A=function(){return L.exports}();export{A as P,I as T}; diff --git a/public/js/build/ReportDetail.2649fc9a.js b/public/js/build/ReportDetail.8bf290bc.js similarity index 95% rename from public/js/build/ReportDetail.2649fc9a.js rename to public/js/build/ReportDetail.8bf290bc.js index bf5ea1938..2f5ffa59d 100644 --- a/public/js/build/ReportDetail.2649fc9a.js +++ b/public/js/build/ReportDetail.8bf290bc.js @@ -1 +1 @@ -import{n as o}from"./app.bd09c684.js";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"report-detail"},[a("div",{staticClass:"report-title"},[t._v(" "+t._s(t.data.title)+" "),t.loadIng>0?a("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):t._e()],1),a("div",{staticClass:"report-detail-context"},[a("Form",{staticClass:"report-form",attrs:{"label-width":"auto",inline:""}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u4EBA")}},[a("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),a("FormItem",{attrs:{label:t.$L("\u63D0\u4EA4\u65F6\u95F4")}},[t._v(" "+t._s(t.data.created_at)+" ")]),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[t.data.receives_user.length===0?[t._v("-")]:t._l(t.data.receives_user,function(s,i){return a("UserAvatar",{key:i,attrs:{userid:s.userid,size:28}})})],2)],1),a("Form",{staticClass:"report-form",attrs:{"label-width":"auto"}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[a("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],1)],1)])},n=[];const d={name:"ReportDetail",props:{data:{default:{}}},data(){return{loadIng:0}},watch:{"data.id":{handler(t){t>0&&this.sendRead()},immediate:!0}},methods:{sendRead(){this.loadIng++,this.$store.dispatch("call",{url:"report/read",data:{ids:[this.data.id]}}).then(()=>{}).catch(()=>{}).finally(t=>{this.loadIng--})}}},r={};var c=o(d,l,n,!1,_,null,null,null);function _(t){for(let e in r)this[e]=r[e]}var m=function(){return c.exports}();export{m as R}; +import{n as o}from"./app.139edc4e.js";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"report-detail"},[a("div",{staticClass:"report-title"},[t._v(" "+t._s(t.data.title)+" "),t.loadIng>0?a("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):t._e()],1),a("div",{staticClass:"report-detail-context"},[a("Form",{staticClass:"report-form",attrs:{"label-width":"auto",inline:""}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u4EBA")}},[a("UserAvatar",{attrs:{userid:t.data.userid,size:28}})],1),a("FormItem",{attrs:{label:t.$L("\u63D0\u4EA4\u65F6\u95F4")}},[t._v(" "+t._s(t.data.created_at)+" ")]),a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[t.data.receives_user.length===0?[t._v("-")]:t._l(t.data.receives_user,function(s,i){return a("UserAvatar",{key:i,attrs:{userid:s.userid,size:28}})})],2)],1),a("Form",{staticClass:"report-form",attrs:{"label-width":"auto"}},[a("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[a("div",{staticClass:"report-content",domProps:{innerHTML:t._s(t.data.content)}})])],1)],1)])},n=[];const d={name:"ReportDetail",props:{data:{default:{}}},data(){return{loadIng:0}},watch:{"data.id":{handler(t){t>0&&this.sendRead()},immediate:!0}},methods:{sendRead(){this.loadIng++,this.$store.dispatch("call",{url:"report/read",data:{ids:[this.data.id]}}).then(()=>{}).catch(()=>{}).finally(t=>{this.loadIng--})}}},r={};var c=o(d,l,n,!1,_,null,null,null);function _(t){for(let e in r)this[e]=r[e]}var m=function(){return c.exports}();export{m as R}; diff --git a/public/js/build/ReportEdit.1329be12.js b/public/js/build/ReportEdit.862ac89e.js similarity index 94% rename from public/js/build/ReportEdit.1329be12.js rename to public/js/build/ReportEdit.862ac89e.js index 655df9e31..b268b6d10 100644 --- a/public/js/build/ReportEdit.1329be12.js +++ b/public/js/build/ReportEdit.862ac89e.js @@ -1 +1 @@ -import{n as s,_ as o}from"./app.bd09c684.js";import{U as l}from"./UserInput.d6d4081e.js";var n=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("Form",{staticClass:"report-edit",attrs:{"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u7C7B\u578B")}},[e("RadioGroup",{staticClass:"report-radiogroup",attrs:{type:"button","button-style":"solid",readonly:t.id>0},on:{"on-change":t.typeChange},model:{value:t.reportData.type,callback:function(a){t.$set(t.reportData,"type",a)},expression:"reportData.type"}},[e("Radio",{attrs:{label:"weekly",disabled:t.id>0&&t.reportData.type=="daily"}},[t._v(t._s(t.$L("\u5468\u62A5")))]),e("Radio",{attrs:{label:"daily",disabled:t.id>0&&t.reportData.type=="weekly"}},[t._v(t._s(t.$L("\u65E5\u62A5")))])],1),t.id===0?e("ButtonGroup",{staticClass:"report-buttongroup"},[e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp,content:t.prevCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary"},on:{click:t.prevCycle}},[e("Icon",{attrs:{type:"ios-arrow-back"}})],1)],1),e("div",{staticClass:"report-buttongroup-vertical"}),e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp||t.reportData.offset>=0,content:t.nextCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary",disabled:t.reportData.offset>=0},on:{click:t.nextCycle}},[e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)],1)],1):t._e()],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u540D\u79F0")}},[e("Input",{attrs:{disabled:""},model:{value:t.reportData.title,callback:function(a){t.$set(t.reportData,"title",a)},expression:"reportData.title"}})],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[e("div",{staticClass:"report-users"},[e("UserInput",{attrs:{disabledChoice:[t.userId],placeholder:t.$L("\u9009\u62E9\u63A5\u6536\u4EBA"),transfer:!1},model:{value:t.reportData.receive,callback:function(a){t.$set(t.reportData,"receive",a)},expression:"reportData.receive"}}),e("a",{staticClass:"report-user-link",attrs:{href:"javascript:void(0);"},on:{click:t.getLastSubmitter}},[t.receiveLoad>0?e("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):e("Icon",{attrs:{type:"ios-share-outline"}}),t._v(" "+t._s(t.$L("\u4F7F\u7528\u6211\u4E0A\u6B21\u7684\u6C47\u62A5\u5BF9\u8C61"))+" ")],1)],1)]),e("FormItem",{staticClass:"report-content-editor",attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[e("TEditor",{attrs:{height:"100%"},model:{value:t.reportData.content,callback:function(a){t.$set(t.reportData,"content",a)},expression:"reportData.content"}})],1),e("FormItem",{staticClass:"report-foot"},[e("Button",{staticClass:"report-bottom",attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.handleSubmit}},[t._v(t._s(t.$L(t.id>0?"\u4FEE\u6539":"\u63D0\u4EA4")))])],1)],1)},p=[];const c=()=>o(()=>import("./TEditor.4460561b.js"),["js/build/TEditor.4460561b.js","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/ImgUpload.6e9513da.js"]),h={name:"ReportEdit",components:{TEditor:c,UserInput:l},props:{id:{default:0}},data(){return{loadIng:0,receiveLoad:0,reportData:{sign:"",title:"",content:"",type:"weekly",receive:[],id:0,offset:0},prevCycleText:this.$L("\u4E0A\u4E00\u5468"),nextCycleText:this.$L("\u4E0B\u4E00\u5468")}},watch:{id:{handler(t){t>0?this.getDetail(t):(this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate())},immediate:!0}},mounted(){},methods:{handleSubmit(){this.id===0&&this.reportData.id>0?$A.modalConfirm({title:"\u8986\u76D6\u63D0\u4EA4",content:"\u4F60\u5DF2\u63D0\u4EA4\u8FC7\u6B64\u65E5\u671F\u7684\u62A5\u544A\uFF0C\u662F\u5426\u8986\u76D6\u63D0\u4EA4\uFF1F",onOk:()=>{this.doSubmit()}}):this.doSubmit()},doSubmit(){this.loadIng++,this.$store.dispatch("call",{url:"report/store",data:this.reportData,method:"post"}).then(({data:t,msg:r})=>{this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate(),!this.$isSubElectron&&$A.messageSuccess(r),this.$emit("saveSuccess",{data:t,msg:r})}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},getTemplate(){this.loadIng++,this.$store.dispatch("call",{url:"report/template",data:{type:this.reportData.type,offset:this.reportData.offset,id:this.id}}).then(({data:t})=>{t.id?(this.reportData.id=t.id,this.id>0?this.getDetail(t.id):(this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)):(this.reportData.id=0,this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},typeChange(t){this.reportData.offset=0,t==="weekly"?(this.prevCycleText=this.$L("\u4E0A\u4E00\u5468"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5468")):(this.prevCycleText=this.$L("\u4E0A\u4E00\u5929"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5929")),this.getTemplate()},getDetail(t){this.$store.dispatch("call",{url:"report/detail",data:{id:t}}).then(({data:r})=>{this.reportData.title=r.title,this.reportData.content=r.content,this.reportData.receive=r.receives_user.map(({userid:e})=>e),this.reportData.type=r.type_val,this.reportData.id=t}).catch(({msg:r})=>{$A.messageError(r)})},prevCycle(){this.reportData.offset-=1,this.reReportData(),this.getTemplate()},nextCycle(){this.reportData.offset<0&&(this.reportData.offset+=1),this.reReportData(),this.getTemplate()},getLastSubmitter(){setTimeout(t=>{this.receiveLoad++},300),this.$store.dispatch("call",{url:"report/last_submitter"}).then(({data:t})=>{this.reportData.receive=t}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.receiveLoad--})},reReportData(){this.reportData.title="",this.reportData.content="",this.reportData.receive=[],this.reportData.id=0}}},i={};var d=s(h,n,p,!1,m,null,null,null);function m(t){for(let r in i)this[r]=i[r]}var f=function(){return d.exports}();export{f as R}; +import{n as s,_ as o}from"./app.139edc4e.js";import{U as l}from"./UserInput.ca38ea3c.js";var n=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("Form",{staticClass:"report-edit",attrs:{"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u7C7B\u578B")}},[e("RadioGroup",{staticClass:"report-radiogroup",attrs:{type:"button","button-style":"solid",readonly:t.id>0},on:{"on-change":t.typeChange},model:{value:t.reportData.type,callback:function(a){t.$set(t.reportData,"type",a)},expression:"reportData.type"}},[e("Radio",{attrs:{label:"weekly",disabled:t.id>0&&t.reportData.type=="daily"}},[t._v(t._s(t.$L("\u5468\u62A5")))]),e("Radio",{attrs:{label:"daily",disabled:t.id>0&&t.reportData.type=="weekly"}},[t._v(t._s(t.$L("\u65E5\u62A5")))])],1),t.id===0?e("ButtonGroup",{staticClass:"report-buttongroup"},[e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp,content:t.prevCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary"},on:{click:t.prevCycle}},[e("Icon",{attrs:{type:"ios-arrow-back"}})],1)],1),e("div",{staticClass:"report-buttongroup-vertical"}),e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp||t.reportData.offset>=0,content:t.nextCycleText,placement:"bottom"}},[e("Button",{attrs:{type:"primary",disabled:t.reportData.offset>=0},on:{click:t.nextCycle}},[e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)],1)],1):t._e()],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u540D\u79F0")}},[e("Input",{attrs:{disabled:""},model:{value:t.reportData.title,callback:function(a){t.$set(t.reportData,"title",a)},expression:"reportData.title"}})],1),e("FormItem",{attrs:{label:t.$L("\u6C47\u62A5\u5BF9\u8C61")}},[e("div",{staticClass:"report-users"},[e("UserInput",{attrs:{disabledChoice:[t.userId],placeholder:t.$L("\u9009\u62E9\u63A5\u6536\u4EBA"),transfer:!1},model:{value:t.reportData.receive,callback:function(a){t.$set(t.reportData,"receive",a)},expression:"reportData.receive"}}),e("a",{staticClass:"report-user-link",attrs:{href:"javascript:void(0);"},on:{click:t.getLastSubmitter}},[t.receiveLoad>0?e("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}):e("Icon",{attrs:{type:"ios-share-outline"}}),t._v(" "+t._s(t.$L("\u4F7F\u7528\u6211\u4E0A\u6B21\u7684\u6C47\u62A5\u5BF9\u8C61"))+" ")],1)],1)]),e("FormItem",{staticClass:"report-content-editor",attrs:{label:t.$L("\u6C47\u62A5\u5185\u5BB9")}},[e("TEditor",{attrs:{height:"100%"},model:{value:t.reportData.content,callback:function(a){t.$set(t.reportData,"content",a)},expression:"reportData.content"}})],1),e("FormItem",{staticClass:"report-foot"},[e("Button",{staticClass:"report-bottom",attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.handleSubmit}},[t._v(t._s(t.$L(t.id>0?"\u4FEE\u6539":"\u63D0\u4EA4")))])],1)],1)},p=[];const c=()=>o(()=>import("./TEditor.28d6de3c.js"),["js/build/TEditor.28d6de3c.js","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/ImgUpload.8dae08e9.js"]),h={name:"ReportEdit",components:{TEditor:c,UserInput:l},props:{id:{default:0}},data(){return{loadIng:0,receiveLoad:0,reportData:{sign:"",title:"",content:"",type:"weekly",receive:[],id:0,offset:0},prevCycleText:this.$L("\u4E0A\u4E00\u5468"),nextCycleText:this.$L("\u4E0B\u4E00\u5468")}},watch:{id:{handler(t){t>0?this.getDetail(t):(this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate())},immediate:!0}},mounted(){},methods:{handleSubmit(){this.id===0&&this.reportData.id>0?$A.modalConfirm({title:"\u8986\u76D6\u63D0\u4EA4",content:"\u4F60\u5DF2\u63D0\u4EA4\u8FC7\u6B64\u65E5\u671F\u7684\u62A5\u544A\uFF0C\u662F\u5426\u8986\u76D6\u63D0\u4EA4\uFF1F",onOk:()=>{this.doSubmit()}}):this.doSubmit()},doSubmit(){this.loadIng++,this.$store.dispatch("call",{url:"report/store",data:this.reportData,method:"post"}).then(({data:t,msg:r})=>{this.reportData.offset=0,this.reportData.type="weekly",this.reportData.receive=[],this.getTemplate(),!this.$isSubElectron&&$A.messageSuccess(r),this.$emit("saveSuccess",{data:t,msg:r})}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},getTemplate(){this.loadIng++,this.$store.dispatch("call",{url:"report/template",data:{type:this.reportData.type,offset:this.reportData.offset,id:this.id}}).then(({data:t})=>{t.id?(this.reportData.id=t.id,this.id>0?this.getDetail(t.id):(this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)):(this.reportData.id=0,this.reportData.sign=t.sign,this.reportData.title=t.title,this.reportData.content=t.content)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.loadIng--})},typeChange(t){this.reportData.offset=0,t==="weekly"?(this.prevCycleText=this.$L("\u4E0A\u4E00\u5468"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5468")):(this.prevCycleText=this.$L("\u4E0A\u4E00\u5929"),this.nextCycleText=this.$L("\u4E0B\u4E00\u5929")),this.getTemplate()},getDetail(t){this.$store.dispatch("call",{url:"report/detail",data:{id:t}}).then(({data:r})=>{this.reportData.title=r.title,this.reportData.content=r.content,this.reportData.receive=r.receives_user.map(({userid:e})=>e),this.reportData.type=r.type_val,this.reportData.id=t}).catch(({msg:r})=>{$A.messageError(r)})},prevCycle(){this.reportData.offset-=1,this.reReportData(),this.getTemplate()},nextCycle(){this.reportData.offset<0&&(this.reportData.offset+=1),this.reReportData(),this.getTemplate()},getLastSubmitter(){setTimeout(t=>{this.receiveLoad++},300),this.$store.dispatch("call",{url:"report/last_submitter"}).then(({data:t})=>{this.reportData.receive=t}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.receiveLoad--})},reReportData(){this.reportData.title="",this.reportData.content="",this.reportData.receive=[],this.reportData.id=0}}},i={};var d=s(h,n,p,!1,m,null,null,null);function m(t){for(let r in i)this[r]=i[r]}var f=function(){return d.exports}();export{f as R}; diff --git a/public/js/build/TEditor.4460561b.js b/public/js/build/TEditor.28d6de3c.js similarity index 99% rename from public/js/build/TEditor.4460561b.js rename to public/js/build/TEditor.28d6de3c.js index aea6374d3..f66f59c11 100644 --- a/public/js/build/TEditor.4460561b.js +++ b/public/js/build/TEditor.28d6de3c.js @@ -1,4 +1,4 @@ -import{e as PC,m as a2,a as IC,n as i2}from"./app.bd09c684.js";import{I as o2}from"./ImgUpload.6e9513da.js";var FC={exports:{}};(function(V){(function(){var Ee=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var t=typeof e;return t==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":t==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":t},be=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},he=function(e,t){var n=Array.prototype.slice.call(e);return n.sort(t)},Ke=function(e,t){return ht(function(n,r){return e.eq(t(n),t(r))})},ht=function(e){return{eq:e}},Qt=ht(function(e,t){return e===t}),Qr=Qt,Ka=function(e){return ht(function(t,n){if(t.length!==n.length)return!1;for(var r=t.length,a=0;a-1},bt=function(e,t){for(var n=0,r=e.length;n=0;n--){var r=e[n];t(r,n)}},Yc=function(e,t){for(var n=[],r=[],a=0,i=e.length;a=0&&t=t.length&&e.substr(n,n+t.length)===t},d0=function(e,t){return Sr(e,t)?c0(e,t.length):e},yt=function(e,t){return e.indexOf(t)!==-1},Sr=function(e,t){return v0(e,t,0)},cs=function(e){return function(t){return t.replace(e,"")}},vs=cs(/^\s+|\s+$/g),m0=cs(/^\s+/g),uv=cs(/\s+$/g),Gi=function(e){return e.length>0},sv=function(e){return!Gi(e)},ds=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Pn=function(e){return function(t){return yt(t,e)}},p0=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return yt(e,"edge/")&&yt(e,"chrome")&&yt(e,"safari")&&yt(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,ds],search:function(e){return yt(e,"chrome")&&!yt(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return yt(e,"msie")||yt(e,"trident")}},{name:"Opera",versionRegexes:[ds,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Pn("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Pn("firefox")},{name:"Safari",versionRegexes:[ds,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(yt(e,"safari")||yt(e,"mobile/"))&&yt(e,"applewebkit")}}],g0=[{name:"Windows",search:Pn("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return yt(e,"iphone")||yt(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Pn("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Pn("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Pn("linux"),versionRegexes:[]},{name:"Solaris",search:Pn("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Pn("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Pn("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],fv={browsers:X(p0),oses:X(g0)},lv="Edge",cv="Chrome",vv="IE",dv="Opera",mv="Firefox",pv="Safari",h0=function(){return gv({current:void 0,version:Za.unknown()})},gv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isEdge:r(lv),isChrome:r(cv),isIE:r(vv),isOpera:r(dv),isFirefox:r(mv),isSafari:r(pv)}},hv={unknown:h0,nu:gv,edge:X(lv),chrome:X(cv),ie:X(vv),opera:X(dv),firefox:X(mv),safari:X(pv)},bv="Windows",yv="iOS",Cv="Android",wv="Linux",Sv="OSX",Ev="Solaris",kv="FreeBSD",xv="ChromeOS",b0=function(){return Nv({current:void 0,version:Za.unknown()})},Nv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isWindows:r(bv),isiOS:r(yv),isAndroid:r(Cv),isOSX:r(Sv),isLinux:r(wv),isSolaris:r(Ev),isFreeBSD:r(kv),isChromeOS:r(xv)}},Tv={unknown:b0,nu:Nv,windows:X(bv),ios:X(yv),android:X(Cv),linux:X(wv),osx:X(Sv),solaris:X(Ev),freebsd:X(kv),chromeos:X(xv)},y0=function(e,t,n){var r=fv.browsers(),a=fv.oses(),i=t.bind(function(s){return s0(r,s)}).orThunk(function(){return f0(r,e)}).fold(hv.unknown,hv.nu),o=l0(a,e).fold(Tv.unknown,Tv.nu),u=a0(o,i,e,n);return{browser:i,os:o,deviceType:u}},C0={detect:y0},w0=function(e){return window.matchMedia(e).matches},S0=fs(function(){return C0.detect(navigator.userAgent,b.from(navigator.userAgentData),w0)}),qt=function(){return S0()},Av=navigator.userAgent,ms=qt(),Ct=ms.browser,It=ms.os,pn=ms.deviceType,E0=/WebKit/.test(Av)&&!Ct.isEdge(),k0="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,x0=Av.indexOf("Windows Phone")!==-1,se={opera:Ct.isOpera(),webkit:E0,ie:Ct.isIE()||Ct.isEdge()?Ct.version.major:!1,gecko:Ct.isFirefox(),mac:It.isOSX()||It.isiOS(),iOS:pn.isiPad()||pn.isiPhone(),android:It.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:Ct.isIE()?document.documentMode||7:10,fileApi:k0,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!Ct.isIE(),desktop:pn.isDesktop(),windowsPhone:x0,browser:{current:Ct.current,version:Ct.version,isChrome:Ct.isChrome,isEdge:Ct.isEdge,isFirefox:Ct.isFirefox,isIE:Ct.isIE,isOpera:Ct.isOpera,isSafari:Ct.isSafari},os:{current:It.current,version:It.version,isAndroid:It.isAndroid,isChromeOS:It.isChromeOS,isFreeBSD:It.isFreeBSD,isiOS:It.isiOS,isLinux:It.isLinux,isOSX:It.isOSX,isSolaris:It.isSolaris,isWindows:It.isWindows},deviceType:{isDesktop:pn.isDesktop,isiPad:pn.isiPad,isiPhone:pn.isiPhone,isPhone:pn.isPhone,isTablet:pn.isTablet,isTouch:pn.isTouch,isWebView:pn.isWebView}},N0=/^\s*|\s*$/g,Rv=function(e){return e==null?"":(""+e).replace(N0,"")},Bv=function(e,t){return t?t==="array"&&us(e)?!0:typeof e===t:e!==void 0},T0=function(e,t,n){var r;for(e=e||[],t=t||",",typeof e=="string"&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n},A0=de,R0=function(e,t,n){var r=this,a,i,o,u=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var s=e[3].match(/(^|\.)(\w+)$/i)[2],f=r.createNS(e[3].replace(/\.\w+$/,""),n);if(!f[s]){if(e[2]==="static"){f[s]=t,this.onCreate&&this.onCreate(e[2],e[3],f[s]);return}t[s]||(t[s]=function(){},u=1),f[s]=t[s],r.extend(f[s].prototype,t),e[5]&&(a=r.resolve(e[5]).prototype,i=e[5].match(/\.(\w+)$/i)[1],o=f[s],u?f[s]=function(){return a[i].apply(this,arguments)}:f[s]=function(){return this.parent=a[i],o.apply(this,arguments)},f[s].prototype[s]=f[s],r.each(a,function(l,c){f[s].prototype[c]=a[c]}),r.each(t,function(l,c){a[c]?f[s].prototype[c]=function(){return this.parent=a[c],l.apply(this,arguments)}:c!==s&&(f[s].prototype[c]=l)})),r.each(t.static,function(l,c){f[s][c]=l})}},B0=function(e){for(var t=[],n=1;n1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Ja(r.childNodes[0])},$0=function(e,t){var n=t||document,r=n.createElement(e);return Ja(r)},L0=function(e,t){var n=t||document,r=n.createTextNode(e);return Ja(r)},Ja=function(e){if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},F0=function(e,t,n){return b.from(e.dom.elementFromPoint(t,n)).map(Ja)},k={fromHtml:I0,fromTag:$0,fromText:L0,fromDom:Ja,fromPoint:F0},Dv=function(e,t){var n=[],r=function(i){return n.push(i),t(i)},a=t(e);do a=a.bind(r);while(a.isSome());return n},M0=function(e,t,n){return(e.compareDocumentPosition(t)&n)!==0},U0=function(e,t){return M0(e,t,Node.DOCUMENT_POSITION_CONTAINED_BY)},z0=8,Ov=9,Pv=11,ps=1,H0=3,aa=function(e,t){var n=e.dom;if(n.nodeType!==ps)return!1;var r=n;if(r.matches!==void 0)return r.matches(t);if(r.msMatchesSelector!==void 0)return r.msMatchesSelector(t);if(r.webkitMatchesSelector!==void 0)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector!==void 0)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},Iv=function(e){return e.nodeType!==ps&&e.nodeType!==Ov&&e.nodeType!==Pv||e.childElementCount===0},V0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?[]:De(n.querySelectorAll(e),k.fromDom)},q0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?b.none():b.from(n.querySelector(e)).map(k.fromDom)},Te=function(e,t){return e.dom===t.dom},W0=function(e,t){var n=e.dom,r=t.dom;return n===r?!1:n.contains(r)},j0=function(e,t){return U0(e.dom,t.dom)},Wn=function(e,t){return qt().browser.isIE()?j0(e,t):W0(e,t)};typeof window!="undefined"||Function("return this;")();var je=function(e){var t=e.dom.nodeName;return t.toLowerCase()},$v=function(e){return e.dom.nodeType},Xi=function(e){return function(t){return $v(t)===e}},K0=function(e){return $v(e)===z0||je(e)==="#comment"},Jt=Xi(ps),Wt=Xi(H0),G0=Xi(Ov),X0=Xi(Pv),Y0=function(e){return function(t){return Jt(t)&&je(t)===e}},Lv=function(e){return k.fromDom(e.dom.ownerDocument)},ia=function(e){return G0(e)?e:Lv(e)},Q0=function(e){return k.fromDom(ia(e).dom.documentElement)},Fv=function(e){return k.fromDom(ia(e).dom.defaultView)},en=function(e){return b.from(e.dom.parentNode).map(k.fromDom)},Z0=function(e,t){for(var n=Oe(t)?t:Re,r=e.dom,a=[];r.parentNode!==null&&r.parentNode!==void 0;){var i=r.parentNode,o=k.fromDom(i);if(a.push(o),n(o)===!0)break;r=i}return a},J0=function(e){var t=function(n){return ve(n,function(r){return!Te(e,r)})};return en(e).map(jt).map(t).getOr([])},Er=function(e){return b.from(e.dom.previousSibling).map(k.fromDom)},ei=function(e){return b.from(e.dom.nextSibling).map(k.fromDom)},Mv=function(e){return ji(Dv(e,Er))},Uv=function(e){return Dv(e,ei)},jt=function(e){return De(e.dom.childNodes,k.fromDom)},Yi=function(e,t){var n=e.dom.childNodes;return b.from(n[t]).map(k.fromDom)},zv=function(e){return Yi(e,0)},gs=function(e){return Yi(e,e.dom.childNodes.length-1)},Hv=function(e){return e.dom.childNodes.length},ew=function(e){var t=e.dom.head;if(t==null)throw new Error("Head is not available yet");return k.fromDom(t)},Vv=function(e){return X0(e)&&Ne(e.dom.host)},qv=Oe(Element.prototype.attachShadow)&&Oe(Node.prototype.getRootNode),tw=X(qv),kr=qv?function(e){return k.fromDom(e.dom.getRootNode())}:ia,hs=function(e){return Vv(e)?e:ew(ia(e))},nw=function(e){var t=kr(e);return Vv(t)?b.some(t):b.none()},rw=function(e){return k.fromDom(e.dom.host)},aw=function(e){if(tw()&&Ne(e.target)){var t=k.fromDom(e.target);if(Jt(t)&&iw(t)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return Pt(n)}}return b.from(e.target)},iw=function(e){return Ne(e.dom.shadowRoot)},tn=function(e,t){var n=en(e);n.each(function(r){r.dom.insertBefore(t.dom,e.dom)})},ti=function(e,t){var n=ei(e);n.fold(function(){var r=en(e);r.each(function(a){at(a,t)})},function(r){tn(r,t)})},Wv=function(e,t){var n=zv(e);n.fold(function(){at(e,t)},function(r){e.dom.insertBefore(t.dom,r.dom)})},at=function(e,t){e.dom.appendChild(t.dom)},ow=function(e,t){tn(e,t),at(t,e)},uw=function(e,t){Y(t,function(n){tn(e,n)})},Qi=function(e,t){Y(t,function(n){at(e,n)})},bs=function(e){e.dom.textContent="",Y(jt(e),function(t){tt(t)})},tt=function(e){var t=e.dom;t.parentNode!==null&&t.parentNode.removeChild(t)},jv=function(e){var t=jt(e);t.length>0&&uw(e,t),tt(e)},ni=function(e){var t=Wt(e)?e.dom.parentNode:e.dom;if(t==null||t.ownerDocument===null)return!1;var n=t.ownerDocument;return nw(k.fromDom(t)).fold(function(){return n.body.contains(t)},Kc(ni,rw))},Kv=function(e,t){var n=function(r,a){return Kv(e+r,t+a)};return{left:e,top:t,translate:n}},oa=Kv,sw=function(e){var t=e.getBoundingClientRect();return oa(t.left,t.top)},Zi=function(e,t){return e!==void 0?e:t!==void 0?t:0},fw=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,a=t.documentElement;if(n===e.dom)return oa(n.offsetLeft,n.offsetTop);var i=Zi(r==null?void 0:r.pageYOffset,a.scrollTop),o=Zi(r==null?void 0:r.pageXOffset,a.scrollLeft),u=Zi(a.clientTop,n.clientTop),s=Zi(a.clientLeft,n.clientLeft);return ys(e).translate(o-s,i-u)},ys=function(e){var t=e.dom,n=t.ownerDocument,r=n.body;return r===t?oa(r.offsetLeft,r.offsetTop):ni(e)?sw(t):oa(0,0)},Cs=function(e){var t=e!==void 0?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return oa(n,r)},Gv=function(e,t,n){var r=n!==void 0?n.dom:document,a=r.defaultView;a&&a.scrollTo(e,t)},Xv=function(e,t){var n=qt().browser.isSafari();n&&Oe(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},lw=function(e){var t=e===void 0?window:e;return qt().browser.isFirefox()?b.none():b.from(t.visualViewport)},Yv=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Qv=function(e){var t=e===void 0?window:e,n=t.document,r=Cs(k.fromDom(n));return lw(t).fold(function(){var a=t.document.documentElement,i=a.clientWidth,o=a.clientHeight;return Yv(r.left,r.top,i,o)},function(a){return Yv(Math.max(a.pageLeft,r.left),Math.max(a.pageTop,r.top),a.width,a.height)})},ri=function(e){return function(t){return!!t&&t.nodeType===e}},Ji=function(e){return!!e&&!Object.getPrototypeOf(e)},ae=ri(1),Kt=function(e){var t=e.map(function(n){return n.toLowerCase()});return function(n){if(n&&n.nodeName){var r=n.nodeName.toLowerCase();return Je(t,r)}return!1}},eo=function(e,t){var n=t.toLowerCase().split(" ");return function(r){if(ae(r))for(var a=0;a0})},rd=function(e){var t={},n=e.dom;if(ro(n))for(var r=0;r=e.length&&n(r)}};e.length===0?n([]):Y(e,function(o,u){o.get(i(u))})})},Dw=function(e){return _w(e,sd.nu)},fa=function(e){var t=function(c){return fa(e)},n=function(c){return fa(e)},r=function(c){return fa(c(e))},a=function(c){return fa(e)},i=function(c){c(e)},o=function(c){return c(e)},u=function(c,v){return v(e)},s=function(c){return c(e)},f=function(c){return c(e)},l=function(){return b.some(e)};return{isValue:qe,isError:Re,getOr:X(e),getOrThunk:X(e),getOrDie:X(e),or:t,orThunk:n,fold:u,map:r,mapError:a,each:i,bind:o,exists:s,forall:f,toOptional:l}},ii=function(e){var t=function(f){return f()},n=function(){return zC(String(e))()},r=Tt,a=function(f){return f()},i=function(f){return ii(e)},o=function(f){return ii(f(e))},u=function(f){return ii(e)},s=function(f,l){return f(e)};return{isValue:Re,isError:qe,getOr:Tt,getOrThunk:t,getOrDie:n,or:r,orThunk:a,fold:s,map:i,mapError:o,each:le,bind:u,exists:Re,forall:qe,toOptional:b.none}},Ow=function(e,t){return e.fold(function(){return ii(t)},fa)},fd={value:fa,error:ii,fromOption:Ow},Pw=function(e){if(!Vt(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");var t=[],n={};return Y(e,function(r,a){var i=ta(r);if(i.length!==1)throw new Error("one and only one name per case");var o=i[0],u=r[o];if(n[o]!==void 0)throw new Error("duplicate key detected:"+o);if(o==="cata")throw new Error("cannot have a case named cata (sorry)");if(!Vt(u))throw new Error("case arguments must be an array");t.push(o),n[o]=function(){for(var s=[],f=0;f-1},bt=function(e,t){for(var n=0,r=e.length;n=0;n--){var r=e[n];t(r,n)}},Yc=function(e,t){for(var n=[],r=[],a=0,i=e.length;a=0&&t=t.length&&e.substr(n,n+t.length)===t},d0=function(e,t){return Sr(e,t)?c0(e,t.length):e},yt=function(e,t){return e.indexOf(t)!==-1},Sr=function(e,t){return v0(e,t,0)},cs=function(e){return function(t){return t.replace(e,"")}},vs=cs(/^\s+|\s+$/g),m0=cs(/^\s+/g),uv=cs(/\s+$/g),Gi=function(e){return e.length>0},sv=function(e){return!Gi(e)},ds=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Pn=function(e){return function(t){return yt(t,e)}},p0=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return yt(e,"edge/")&&yt(e,"chrome")&&yt(e,"safari")&&yt(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,ds],search:function(e){return yt(e,"chrome")&&!yt(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return yt(e,"msie")||yt(e,"trident")}},{name:"Opera",versionRegexes:[ds,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Pn("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Pn("firefox")},{name:"Safari",versionRegexes:[ds,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(yt(e,"safari")||yt(e,"mobile/"))&&yt(e,"applewebkit")}}],g0=[{name:"Windows",search:Pn("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return yt(e,"iphone")||yt(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Pn("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Pn("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Pn("linux"),versionRegexes:[]},{name:"Solaris",search:Pn("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Pn("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Pn("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],fv={browsers:X(p0),oses:X(g0)},lv="Edge",cv="Chrome",vv="IE",dv="Opera",mv="Firefox",pv="Safari",h0=function(){return gv({current:void 0,version:Za.unknown()})},gv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isEdge:r(lv),isChrome:r(cv),isIE:r(vv),isOpera:r(dv),isFirefox:r(mv),isSafari:r(pv)}},hv={unknown:h0,nu:gv,edge:X(lv),chrome:X(cv),ie:X(vv),opera:X(dv),firefox:X(mv),safari:X(pv)},bv="Windows",yv="iOS",Cv="Android",wv="Linux",Sv="OSX",Ev="Solaris",kv="FreeBSD",xv="ChromeOS",b0=function(){return Nv({current:void 0,version:Za.unknown()})},Nv=function(e){var t=e.current,n=e.version,r=function(a){return function(){return t===a}};return{current:t,version:n,isWindows:r(bv),isiOS:r(yv),isAndroid:r(Cv),isOSX:r(Sv),isLinux:r(wv),isSolaris:r(Ev),isFreeBSD:r(kv),isChromeOS:r(xv)}},Tv={unknown:b0,nu:Nv,windows:X(bv),ios:X(yv),android:X(Cv),linux:X(wv),osx:X(Sv),solaris:X(Ev),freebsd:X(kv),chromeos:X(xv)},y0=function(e,t,n){var r=fv.browsers(),a=fv.oses(),i=t.bind(function(s){return s0(r,s)}).orThunk(function(){return f0(r,e)}).fold(hv.unknown,hv.nu),o=l0(a,e).fold(Tv.unknown,Tv.nu),u=a0(o,i,e,n);return{browser:i,os:o,deviceType:u}},C0={detect:y0},w0=function(e){return window.matchMedia(e).matches},S0=fs(function(){return C0.detect(navigator.userAgent,b.from(navigator.userAgentData),w0)}),qt=function(){return S0()},Av=navigator.userAgent,ms=qt(),Ct=ms.browser,It=ms.os,pn=ms.deviceType,E0=/WebKit/.test(Av)&&!Ct.isEdge(),k0="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,x0=Av.indexOf("Windows Phone")!==-1,se={opera:Ct.isOpera(),webkit:E0,ie:Ct.isIE()||Ct.isEdge()?Ct.version.major:!1,gecko:Ct.isFirefox(),mac:It.isOSX()||It.isiOS(),iOS:pn.isiPad()||pn.isiPhone(),android:It.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:Ct.isIE()?document.documentMode||7:10,fileApi:k0,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!Ct.isIE(),desktop:pn.isDesktop(),windowsPhone:x0,browser:{current:Ct.current,version:Ct.version,isChrome:Ct.isChrome,isEdge:Ct.isEdge,isFirefox:Ct.isFirefox,isIE:Ct.isIE,isOpera:Ct.isOpera,isSafari:Ct.isSafari},os:{current:It.current,version:It.version,isAndroid:It.isAndroid,isChromeOS:It.isChromeOS,isFreeBSD:It.isFreeBSD,isiOS:It.isiOS,isLinux:It.isLinux,isOSX:It.isOSX,isSolaris:It.isSolaris,isWindows:It.isWindows},deviceType:{isDesktop:pn.isDesktop,isiPad:pn.isiPad,isiPhone:pn.isiPhone,isPhone:pn.isPhone,isTablet:pn.isTablet,isTouch:pn.isTouch,isWebView:pn.isWebView}},N0=/^\s*|\s*$/g,Rv=function(e){return e==null?"":(""+e).replace(N0,"")},Bv=function(e,t){return t?t==="array"&&us(e)?!0:typeof e===t:e!==void 0},T0=function(e,t,n){var r;for(e=e||[],t=t||",",typeof e=="string"&&(e=e.split(t)),n=n||{},r=e.length;r--;)n[e[r]]={};return n},A0=de,R0=function(e,t,n){var r=this,a,i,o,u=0;e=/^((static) )?([\w.]+)(:([\w.]+))?/.exec(e);var s=e[3].match(/(^|\.)(\w+)$/i)[2],f=r.createNS(e[3].replace(/\.\w+$/,""),n);if(!f[s]){if(e[2]==="static"){f[s]=t,this.onCreate&&this.onCreate(e[2],e[3],f[s]);return}t[s]||(t[s]=function(){},u=1),f[s]=t[s],r.extend(f[s].prototype,t),e[5]&&(a=r.resolve(e[5]).prototype,i=e[5].match(/\.(\w+)$/i)[1],o=f[s],u?f[s]=function(){return a[i].apply(this,arguments)}:f[s]=function(){return this.parent=a[i],o.apply(this,arguments)},f[s].prototype[s]=f[s],r.each(a,function(l,c){f[s].prototype[c]=a[c]}),r.each(t,function(l,c){a[c]?f[s].prototype[c]=function(){return this.parent=a[c],l.apply(this,arguments)}:c!==s&&(f[s].prototype[c]=l)})),r.each(t.static,function(l,c){f[s][c]=l})}},B0=function(e){for(var t=[],n=1;n1)throw console.error("HTML does not have a single root node",e),new Error("HTML must have a single root node");return Ja(r.childNodes[0])},$0=function(e,t){var n=t||document,r=n.createElement(e);return Ja(r)},L0=function(e,t){var n=t||document,r=n.createTextNode(e);return Ja(r)},Ja=function(e){if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},F0=function(e,t,n){return b.from(e.dom.elementFromPoint(t,n)).map(Ja)},k={fromHtml:I0,fromTag:$0,fromText:L0,fromDom:Ja,fromPoint:F0},Dv=function(e,t){var n=[],r=function(i){return n.push(i),t(i)},a=t(e);do a=a.bind(r);while(a.isSome());return n},M0=function(e,t,n){return(e.compareDocumentPosition(t)&n)!==0},U0=function(e,t){return M0(e,t,Node.DOCUMENT_POSITION_CONTAINED_BY)},z0=8,Ov=9,Pv=11,ps=1,H0=3,aa=function(e,t){var n=e.dom;if(n.nodeType!==ps)return!1;var r=n;if(r.matches!==void 0)return r.matches(t);if(r.msMatchesSelector!==void 0)return r.msMatchesSelector(t);if(r.webkitMatchesSelector!==void 0)return r.webkitMatchesSelector(t);if(r.mozMatchesSelector!==void 0)return r.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")},Iv=function(e){return e.nodeType!==ps&&e.nodeType!==Ov&&e.nodeType!==Pv||e.childElementCount===0},V0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?[]:De(n.querySelectorAll(e),k.fromDom)},q0=function(e,t){var n=t===void 0?document:t.dom;return Iv(n)?b.none():b.from(n.querySelector(e)).map(k.fromDom)},Te=function(e,t){return e.dom===t.dom},W0=function(e,t){var n=e.dom,r=t.dom;return n===r?!1:n.contains(r)},j0=function(e,t){return U0(e.dom,t.dom)},Wn=function(e,t){return qt().browser.isIE()?j0(e,t):W0(e,t)};typeof window!="undefined"||Function("return this;")();var je=function(e){var t=e.dom.nodeName;return t.toLowerCase()},$v=function(e){return e.dom.nodeType},Xi=function(e){return function(t){return $v(t)===e}},K0=function(e){return $v(e)===z0||je(e)==="#comment"},Jt=Xi(ps),Wt=Xi(H0),G0=Xi(Ov),X0=Xi(Pv),Y0=function(e){return function(t){return Jt(t)&&je(t)===e}},Lv=function(e){return k.fromDom(e.dom.ownerDocument)},ia=function(e){return G0(e)?e:Lv(e)},Q0=function(e){return k.fromDom(ia(e).dom.documentElement)},Fv=function(e){return k.fromDom(ia(e).dom.defaultView)},en=function(e){return b.from(e.dom.parentNode).map(k.fromDom)},Z0=function(e,t){for(var n=Oe(t)?t:Re,r=e.dom,a=[];r.parentNode!==null&&r.parentNode!==void 0;){var i=r.parentNode,o=k.fromDom(i);if(a.push(o),n(o)===!0)break;r=i}return a},J0=function(e){var t=function(n){return ve(n,function(r){return!Te(e,r)})};return en(e).map(jt).map(t).getOr([])},Er=function(e){return b.from(e.dom.previousSibling).map(k.fromDom)},ei=function(e){return b.from(e.dom.nextSibling).map(k.fromDom)},Mv=function(e){return ji(Dv(e,Er))},Uv=function(e){return Dv(e,ei)},jt=function(e){return De(e.dom.childNodes,k.fromDom)},Yi=function(e,t){var n=e.dom.childNodes;return b.from(n[t]).map(k.fromDom)},zv=function(e){return Yi(e,0)},gs=function(e){return Yi(e,e.dom.childNodes.length-1)},Hv=function(e){return e.dom.childNodes.length},ew=function(e){var t=e.dom.head;if(t==null)throw new Error("Head is not available yet");return k.fromDom(t)},Vv=function(e){return X0(e)&&Ne(e.dom.host)},qv=Oe(Element.prototype.attachShadow)&&Oe(Node.prototype.getRootNode),tw=X(qv),kr=qv?function(e){return k.fromDom(e.dom.getRootNode())}:ia,hs=function(e){return Vv(e)?e:ew(ia(e))},nw=function(e){var t=kr(e);return Vv(t)?b.some(t):b.none()},rw=function(e){return k.fromDom(e.dom.host)},aw=function(e){if(tw()&&Ne(e.target)){var t=k.fromDom(e.target);if(Jt(t)&&iw(t)&&e.composed&&e.composedPath){var n=e.composedPath();if(n)return Pt(n)}}return b.from(e.target)},iw=function(e){return Ne(e.dom.shadowRoot)},tn=function(e,t){var n=en(e);n.each(function(r){r.dom.insertBefore(t.dom,e.dom)})},ti=function(e,t){var n=ei(e);n.fold(function(){var r=en(e);r.each(function(a){at(a,t)})},function(r){tn(r,t)})},Wv=function(e,t){var n=zv(e);n.fold(function(){at(e,t)},function(r){e.dom.insertBefore(t.dom,r.dom)})},at=function(e,t){e.dom.appendChild(t.dom)},ow=function(e,t){tn(e,t),at(t,e)},uw=function(e,t){Y(t,function(n){tn(e,n)})},Qi=function(e,t){Y(t,function(n){at(e,n)})},bs=function(e){e.dom.textContent="",Y(jt(e),function(t){tt(t)})},tt=function(e){var t=e.dom;t.parentNode!==null&&t.parentNode.removeChild(t)},jv=function(e){var t=jt(e);t.length>0&&uw(e,t),tt(e)},ni=function(e){var t=Wt(e)?e.dom.parentNode:e.dom;if(t==null||t.ownerDocument===null)return!1;var n=t.ownerDocument;return nw(k.fromDom(t)).fold(function(){return n.body.contains(t)},Kc(ni,rw))},Kv=function(e,t){var n=function(r,a){return Kv(e+r,t+a)};return{left:e,top:t,translate:n}},oa=Kv,sw=function(e){var t=e.getBoundingClientRect();return oa(t.left,t.top)},Zi=function(e,t){return e!==void 0?e:t!==void 0?t:0},fw=function(e){var t=e.dom.ownerDocument,n=t.body,r=t.defaultView,a=t.documentElement;if(n===e.dom)return oa(n.offsetLeft,n.offsetTop);var i=Zi(r==null?void 0:r.pageYOffset,a.scrollTop),o=Zi(r==null?void 0:r.pageXOffset,a.scrollLeft),u=Zi(a.clientTop,n.clientTop),s=Zi(a.clientLeft,n.clientLeft);return ys(e).translate(o-s,i-u)},ys=function(e){var t=e.dom,n=t.ownerDocument,r=n.body;return r===t?oa(r.offsetLeft,r.offsetTop):ni(e)?sw(t):oa(0,0)},Cs=function(e){var t=e!==void 0?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return oa(n,r)},Gv=function(e,t,n){var r=n!==void 0?n.dom:document,a=r.defaultView;a&&a.scrollTo(e,t)},Xv=function(e,t){var n=qt().browser.isSafari();n&&Oe(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},lw=function(e){var t=e===void 0?window:e;return qt().browser.isFirefox()?b.none():b.from(t.visualViewport)},Yv=function(e,t,n,r){return{x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}},Qv=function(e){var t=e===void 0?window:e,n=t.document,r=Cs(k.fromDom(n));return lw(t).fold(function(){var a=t.document.documentElement,i=a.clientWidth,o=a.clientHeight;return Yv(r.left,r.top,i,o)},function(a){return Yv(Math.max(a.pageLeft,r.left),Math.max(a.pageTop,r.top),a.width,a.height)})},ri=function(e){return function(t){return!!t&&t.nodeType===e}},Ji=function(e){return!!e&&!Object.getPrototypeOf(e)},ae=ri(1),Kt=function(e){var t=e.map(function(n){return n.toLowerCase()});return function(n){if(n&&n.nodeName){var r=n.nodeName.toLowerCase();return Je(t,r)}return!1}},eo=function(e,t){var n=t.toLowerCase().split(" ");return function(r){if(ae(r))for(var a=0;a0})},rd=function(e){var t={},n=e.dom;if(ro(n))for(var r=0;r=e.length&&n(r)}};e.length===0?n([]):Y(e,function(o,u){o.get(i(u))})})},Dw=function(e){return _w(e,sd.nu)},fa=function(e){var t=function(c){return fa(e)},n=function(c){return fa(e)},r=function(c){return fa(c(e))},a=function(c){return fa(e)},i=function(c){c(e)},o=function(c){return c(e)},u=function(c,v){return v(e)},s=function(c){return c(e)},f=function(c){return c(e)},l=function(){return b.some(e)};return{isValue:qe,isError:Re,getOr:X(e),getOrThunk:X(e),getOrDie:X(e),or:t,orThunk:n,fold:u,map:r,mapError:a,each:i,bind:o,exists:s,forall:f,toOptional:l}},ii=function(e){var t=function(f){return f()},n=function(){return zC(String(e))()},r=Tt,a=function(f){return f()},i=function(f){return ii(e)},o=function(f){return ii(f(e))},u=function(f){return ii(e)},s=function(f,l){return f(e)};return{isValue:Re,isError:qe,getOr:Tt,getOrThunk:t,getOrDie:n,or:r,orThunk:a,fold:s,map:i,mapError:o,each:le,bind:u,exists:Re,forall:qe,toOptional:b.none}},Ow=function(e,t){return e.fold(function(){return ii(t)},fa)},fd={value:fa,error:ii,fromOption:Ow},Pw=function(e){if(!Vt(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");var t=[],n={};return Y(e,function(r,a){var i=ta(r);if(i.length!==1)throw new Error("one and only one name per case");var o=i[0],u=r[o];if(n[o]!==void 0)throw new Error("duplicate key detected:"+o);if(o==="cata")throw new Error("cannot have a case named cata (sorry)");if(!Vt(u))throw new Error("case arguments must be an array");t.push(o),n[o]=function(){for(var s=[],f=0;f0?h(S.fail.map(ld)):y(S.pass.map(ld))})},m=function(g){var y=B._addCacheSuffix(g);We(r,y).each(function(h){var E=--h.count;E===0&&(delete r[y],f(h.id))})},p=function(g){Y(g,function(y){m(y)})};return{load:c,loadAll:d,unload:m,unloadAll:p,_setReferrerPolicy:u}},Uw=function(){var e=new WeakMap,t=function(n,r){var a=kr(n),i=a.dom;return b.from(e.get(i)).getOrThunk(function(){var o=md(i,r);return e.set(i,o),o})};return{forElement:t}},pd=Uw(),Ge=function(){function e(t,n){this.node=t,this.rootNode=n,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}return e.prototype.current=function(){return this.node},e.prototype.next=function(t){return this.node=this.findSibling(this.node,"firstChild","nextSibling",t),this.node},e.prototype.prev=function(t){return this.node=this.findSibling(this.node,"lastChild","previousSibling",t),this.node},e.prototype.prev2=function(t){return this.node=this.findPreviousNode(this.node,"lastChild","previousSibling",t),this.node},e.prototype.findSibling=function(t,n,r,a){var i,o;if(t){if(!a&&t[n])return t[n];if(t!==this.rootNode){if(i=t[r],i)return i;for(o=t.parentNode;o&&o!==this.rootNode;o=o.parentNode)if(i=o[r],i)return i}}},e.prototype.findPreviousNode=function(t,n,r,a){var i,o,u;if(t){if(i=t[r],this.rootNode&&i===this.rootNode)return;if(i){if(!a){for(u=i[n];u;u=u[n])if(!u[n])return u}return i}if(o=t.parentNode,o&&o!==this.rootNode)return o}},e}(),zw=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],Hw=["td","th"],Vw=["thead","tbody","tfoot"],qw=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],Ww=["h1","h2","h3","h4","h5","h6"],jw=["li","dd","dt"],Kw=["ul","ol","dl"],Gw=["pre","script","textarea","style"],Xn=function(e){var t;return function(n){return t=t||XC(e,qe),de(t,je(n))}},Xw=Xn(Ww),bn=Xn(zw),Yw=function(e){return je(e)==="table"},Bs=function(e){return Jt(e)&&!bn(e)},la=function(e){return Jt(e)&&je(e)==="br"},gd=Xn(qw),_s=Xn(Kw),ui=Xn(jw),Qw=Xn(Vw),uo=Xn(Hw),so=Xn(Gw),Zw=function(e,t,n){return io(e,t,n).isSome()},Ds="\uFEFF",At="\xA0",Jw=function(e){return e===Ds},eS=function(e){return e.replace(/\uFEFF/g,"")},nt=Ds,fo=Jw,Yn=eS,tS=ae,ca=Q,va=function(e){return ca(e)&&(e=e.parentNode),tS(e)&&e.hasAttribute("data-mce-caret")},da=function(e){return ca(e)&&fo(e.data)},$t=function(e){return va(e)||da(e)},hd=function(e){return e.firstChild!==e.lastChild||!Le(e.firstChild)},nS=function(e,t){var n=e.ownerDocument,r=n.createTextNode(nt),a=e.parentNode;if(t){var i=e.previousSibling;if(ca(i)){if($t(i))return i;if(co(i))return i.splitText(i.data.length-1)}a.insertBefore(r,e)}else{var i=e.nextSibling;if(ca(i)){if($t(i))return i;if(lo(i))return i.splitText(1),i}e.nextSibling?a.insertBefore(r,e.nextSibling):a.appendChild(r)}return r},Os=function(e){var t=e.container();return Q(t)?t.data.charAt(e.offset())===nt||e.isAtStart()&&da(t.previousSibling):!1},Ps=function(e){var t=e.container();return Q(t)?t.data.charAt(e.offset()-1)===nt||e.isAtEnd()&&da(t.nextSibling):!1},rS=function(){var e=document.createElement("br");return e.setAttribute("data-mce-bogus","1"),e},aS=function(e,t,n){var r=t.ownerDocument,a=r.createElement(e);a.setAttribute("data-mce-caret",n?"before":"after"),a.setAttribute("data-mce-bogus","all"),a.appendChild(rS());var i=t.parentNode;return n?i.insertBefore(a,t):t.nextSibling?i.insertBefore(a,t.nextSibling):i.appendChild(a),a},lo=function(e){return ca(e)&&e.data[0]===nt},co=function(e){return ca(e)&&e.data[e.data.length-1]===nt},iS=function(e){var t=e.getElementsByTagName("br"),n=t[t.length-1];xr(n)&&n.parentNode.removeChild(n)},Is=function(e){return e&&e.hasAttribute("data-mce-caret")?(iS(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("_moz_abspos"),e):null},bd=function(e){return va(e.startContainer)},yd=gn,oS=_e,uS=Le,sS=Q,fS=Kt(["script","style","textarea"]),Cd=Kt(["img","input","textarea","hr","iframe","video","audio","object","embed"]),lS=Kt(["table"]),cS=$t,yn=function(e){return cS(e)?!1:sS(e)?!fS(e.parentNode):Cd(e)||uS(e)||lS(e)||$s(e)},vS=function(e){return ae(e)&&e.getAttribute("unselectable")==="true"},$s=function(e){return vS(e)===!1&&oS(e)},dS=function(e,t){for(e=e.parentNode;e&&e!==t;e=e.parentNode){if($s(e))return!1;if(yd(e))return!0}return!0},mS=function(e){return $s(e)?Zt(mn(e.getElementsByTagName("*")),function(t,n){return t||yd(n)},!1)!==!0:!1},pS=function(e){return Cd(e)||mS(e)},vo=function(e,t){return yn(e)&&dS(e,t)},gS=/^[ \t\r\n]*$/,Nr=function(e){return gS.test(e)},hS=function(e,t){var n=k.fromDom(t),r=k.fromDom(e);return Zw(r,"pre,code",G(Te,n))},bS=function(e,t){return Q(e)&&Nr(e.data)&&hS(e,t)===!1},yS=function(e){return ae(e)&&e.nodeName==="A"&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id"))},mo=function(e,t){return yn(e)&&bS(e,t)===!1||yS(e)||CS(e)},CS=Zv("data-mce-bookmark"),wS=Zv("data-mce-bogus"),SS=cw("data-mce-bogus","all"),ES=function(e,t){var n=0;if(mo(e,e))return!1;var r=e.firstChild;if(!r)return!0;var a=new Ge(r,e);do{if(t){if(SS(r)){r=a.next(!0);continue}if(wS(r)){r=a.next();continue}}if(Le(r)){n++,r=a.next();continue}if(mo(r,e))return!1;r=a.next()}while(r);return n<=1},Xe=function(e,t){return t===void 0&&(t=!0),ES(e.dom,t)},kS=function(e){return e.nodeName.toLowerCase()==="span"},wd=function(e,t){return Ne(e)&&(mo(e,t)||Bs(k.fromDom(e)))},xS=function(e,t){var n=new Ge(e,t).prev(!1),r=new Ge(e,t).next(!1),a=Nt(n)||wd(n,t),i=Nt(r)||wd(r,t);return a&&i},Sd=function(e){return kS(e)&&e.getAttribute("data-mce-type")==="bookmark"},NS=function(e,t){return Q(e)&&e.data.length>0&&xS(e,t)},TS=function(e){return ae(e)?e.childNodes.length>0:!1},AS=function(e){return Es(e)||Ss(e)},Ls=function(e,t,n){var r=n||t;if(ae(t)&&Sd(t))return t;for(var a=t.childNodes,i=a.length-1;i>=0;i--)Ls(e,a[i],r);if(ae(t)){var o=t.childNodes;o.length===1&&Sd(o[0])&&t.parentNode.insertBefore(o[0],t)}return!AS(t)&&!mo(t,r)&&!TS(t)&&!NS(t,r)&&e.remove(t),t},RS=B.makeMap,po=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,go=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,BS=/[<>&\"\']/g,_S=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,DS={128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"},Tr={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},OS={"<":"<",">":">","&":"&",""":'"',"'":"'"},PS=function(e){var t=k.fromTag("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e},Ed=function(e,t){var n,r,a,i={};if(e){for(e=e.split(","),t=t||10,n=0;n1?"&#"+((n.charCodeAt(0)-55296)*1024+(n.charCodeAt(1)-56320)+65536)+";":Tr[n]||"&#"+n.charCodeAt(0)+";"})},Ms=function(e,t,n){return n=n||Fs,e.replace(t?po:go,function(r){return Tr[r]||n[r]||r})},$S=function(e,t){var n=Ed(t)||Fs,r=function(o,u){return o.replace(u?po:go,function(s){return Tr[s]!==void 0?Tr[s]:n[s]!==void 0?n[s]:s.length>1?"&#"+((s.charCodeAt(0)-55296)*1024+(s.charCodeAt(1)-56320)+65536)+";":"&#"+s.charCodeAt(0)+";"})},a=function(o,u){return Ms(o,u,n)},i=RS(e.replace(/\+/g,","));return i.named&&i.numeric?r:i.named?t?a:Ms:i.numeric?xd:kd},LS=function(e){return e.replace(_S,function(t,n){return n?(n.charAt(0).toLowerCase()==="x"?n=parseInt(n.substr(1),16):n=parseInt(n,10),n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(n&1023))):DS[n]||String.fromCharCode(n)):OS[t]||Fs[t]||PS(t)})},Qn={encodeRaw:kd,encodeAllRaw:IS,encodeNumeric:xd,encodeNamed:Ms,getEncodeFunc:$S,decode:LS},Zn={},FS={},ma=B.makeMap,ut=B.each,Us=B.extend,Nd=B.explode,MS=B.inArray,rt=function(e,t){return e=B.trim(e),e?e.split(t||" "):[]},Td=function(e,t){var n=ma(e," ",ma(e.toUpperCase()," "));return Us(n,t)},Ad=function(e){return Td("td th li dt dd figcaption caption details summary",e.getTextBlockElements())},US=function(e){var t={},n,r,a,i,o,u,s=function(l,c,v){var d,m,p,g=function(h,E){var S={},C,x;for(C=0,x=h.length;C
",i};or.prototype.image=function(e,t,r){if(e=ME(this.options.sanitize,this.options.baseUrl,e),e===null)return r;var i=''+r+'":">",i};or.prototype.text=function(e){return e};function Ha(){}Ha.prototype.strong=Ha.prototype.em=Ha.prototype.codespan=Ha.prototype.del=Ha.prototype.text=function(e){return e};Ha.prototype.link=Ha.prototype.image=function(e,t,r){return""+r};Ha.prototype.br=function(){return""};function ba(e){this.tokens=[],this.token=null,this.options=e||Hn.defaults,this.options.renderer=this.options.renderer||new or,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new C0}ba.parse=function(e,t){var r=new ba(t);return r.parse(e)};ba.prototype.parse=function(e){this.inline=new mi(e.links,this.options),this.inlineText=new mi(e.links,wa({},this.options,{renderer:new Ha})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t};ba.prototype.next=function(){return this.token=this.tokens.pop(),this.token};ba.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};ba.prototype.parseText=function(){for(var e=this.token.text;this.peek().type==="text";)e+=` `+this.next().text;return this.inline.output(e)};ba.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,AE(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":{var e="",t="",r,i,a,s;for(a="",r=0;r?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var r=t;do this.seen[r]++,t=r+"-"+this.seen[r];while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t};function jn(e,t){if(t){if(jn.escapeTest.test(e))return e.replace(jn.escapeReplace,function(r){return jn.replacements[r]})}else if(jn.escapeTestNoEncode.test(e))return e.replace(jn.escapeReplaceNoEncode,function(r){return jn.replacements[r]});return e}jn.escapeTest=/[&<>"']/;jn.escapeReplace=/[&<>"']/g;jn.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"};jn.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/;jn.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;function AE(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,function(t,r){return r=r.toLowerCase(),r==="colon"?":":r.charAt(0)==="#"?r.charAt(1)==="x"?String.fromCharCode(parseInt(r.substring(2),16)):String.fromCharCode(+r.substring(1)):""})}function Dr(e,t){return e=e.source||e,t=t||"",{replace:function(r,i){return i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),this},getRegex:function(){return new RegExp(e,t)}}}function ME(e,t,r){if(e){try{var i=decodeURIComponent(AE(r)).replace(/[^\w:]/g,"").toLowerCase()}catch{return null}if(i.indexOf("javascript:")===0||i.indexOf("vbscript:")===0||i.indexOf("data:")===0)return null}t&&!dB.test(r)&&(r=cB(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}function cB(e,t){return Rh[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?Rh[" "+e]=e+"/":Rh[" "+e]=IE(e,"/",!0)),e=Rh[" "+e],t.slice(0,2)==="//"?e.replace(/:[\s\S]*/,":")+t:t.charAt(0)==="/"?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}var Rh={},dB=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function cl(){}cl.exec=cl;function wa(e){for(var t=1,r,i;t=0&&c[n]==="\\";)h=!h;return h?"|":" |"}),i=r.split(/ \|/),a=0;if(i.length>t)i.splice(t);else for(;i.lengthAn error occurred:

"+jn(h.message+"",!0)+"
";throw h}}Hn.options=Hn.setOptions=function(e){return wa(Hn.defaults,e),Hn};Hn.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new or,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}};Hn.defaults=Hn.getDefaults();Hn.Parser=ba;Hn.parser=ba.parse;Hn.Renderer=or;Hn.TextRenderer=Ha;Hn.Lexer=Ps;Hn.lexer=Ps.lex;Hn.InlineLexer=mi;Hn.inlineLexer=mi.output;Hn.Slugger=C0;Hn.parse=Hn;rn.initHighlightingOnLoad();const hB=new Hn.Renderer;var pB=Hn.setOptions({renderer:hB,gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,smartLists:!0,highlight:function(e){return rn.highlightAuto(e).value}}),vB=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"preview",staticClass:"markdown-preview-warp"},[r("div",{class:`markdown-preview ${"markdown-theme-"+e.theme}`,domProps:{innerHTML:e._s(e.html)}}),r("div",{class:["preview-img",e.previewImgModal?"active":""]},[r("span",{staticClass:"close icon-close iconfont",on:{click:function(i){e.previewImgModal=!1}}}),r("img",{class:[e.previewImgMode],attrs:{src:e.previewImgSrc,alt:""}})])])},mB=[];const _B={name:"markdown-preview",props:{initialValue:{type:String,default:""},markedOptions:{type:Object,default:()=>({})},theme:{type:String,default:"light"},copyCode:{type:Boolean,default:!0},copyBtnText:{type:String,default:"\u590D\u5236\u4EE3\u7801"}},data(){return{html:"",previewImgModal:!1,previewImgSrc:"",previewImgMode:""}},mounted(){this.translateMarkdown()},methods:{tocLevel(e,t){let r=9999;return t.forEach(({level:i})=>{r=Math.min(r,i)}),r===9999?e:e-(r-1)},translateMarkdown(){let e=pB(this.initialValue,{sanitize:!1,...this.markedOptions}).replace(/href="/gi,'target="_blank" href="');if(this.copyCode&&(e=e.replace(/
/g,'
'+this.copyBtnText+"
").replace(/<\/pre>/g,"
")),/\[\[TOC\]\]/.test(e)){let t="";jg.tocItems.forEach(r=>{t+=`
  • ${r.text}
  • `}),e=e.replace(/\[\[TOC\]\]/g,`
      ${t}
    `)}this.html=e,this.addCopyListener(),this.addImageClickListener()},addCopyListener(){setTimeout(()=>{const e=document.querySelectorAll(".code-block .copy-code");this.btns=e;for(let t=0,r=e.length;t{const i=e[t].parentNode.querySelectorAll("pre")[0].innerText,a=document.createElement("input");a.setAttribute("value",i),document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a),this.$emit("on-copy",i)}},600)},addImageClickListener(){const{imgs:e=[]}=this;if(e.length>0)for(let t=0,r=e.length;t{if(!!this.$refs.preview){this.imgs=this.$refs.preview.querySelectorAll("img");for(let t=0,r=this.imgs.length;t{const i=this.imgs[t].getAttribute("src");this.previewImage(i)}}},600)},previewImage(e){const t=new Image;t.src=e,t.onload=()=>{const r=t.naturalWidth;t.naturalHeight/r>1.4?this.previewImgMode="horizontal":this.previewImgMode="vertical",this.previewImgSrc=e,this.previewImgModal=!0}}},watch:{initialValue(){this.translateMarkdown()}}},Yx={};var gB=ri(_B,vB,mB,!1,yB,"7c98e74e",null,null);function yB(e){for(let t in Yx)this[t]=Yx[t]}var bB=function(){return gB.exports}(),x0={exports:{}},$E=function(t,r){return function(){for(var a=new Array(arguments.length),s=0;s=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([a]):r[i]=r[i]?r[i]+", "+a:a}}),r},Jx=Xi,QB=Jx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(s){var u=s;return t&&(r.setAttribute("href",u),u=r.href),r.setAttribute("href",u),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(u){var c=Jx.isString(u)?a(u):u;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}();function E0(e){this.message=e}E0.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};E0.prototype.__CANCEL__=!0;var $v=E0,Bh=Xi,qB=VB,eF=WB,tF=NE,nF=XB,rF=ZB,iF=QB,D_=FE,aF=Lv,sF=$v,Zx=function(t){return new Promise(function(i,a){var s=t.data,u=t.headers,c=t.responseType,h;function n(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}Bh.isFormData(s)&&delete u["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";u.Authorization="Basic "+btoa(d+":"+v)}var m=nF(t.baseURL,t.url);p.open(t.method.toUpperCase(),tF(m,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function g(){if(!!p){var b="getAllResponseHeaders"in p?rF(p.getAllResponseHeaders()):null,k=!c||c==="text"||c==="json"?p.responseText:p.response,O={data:k,status:p.status,statusText:p.statusText,headers:b,config:t,request:p};qB(function(x){i(x),n()},function(x){a(x),n()},O),p=null}}if("onloadend"in p?p.onloadend=g:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(g)},p.onabort=function(){!p||(a(D_("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){a(D_("Network Error",t,null,p)),p=null},p.ontimeout=function(){var k=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",O=t.transitional||aF.transitional;t.timeoutErrorMessage&&(k=t.timeoutErrorMessage),a(D_(k,t,O.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},Bh.isStandardBrowserEnv()){var y=(t.withCredentials||iF(m))&&t.xsrfCookieName?eF.read(t.xsrfCookieName):void 0;y&&(u[t.xsrfHeaderName]=y)}"setRequestHeader"in p&&Bh.forEach(u,function(k,O){typeof s=="undefined"&&O.toLowerCase()==="content-type"?delete u[O]:p.setRequestHeader(O,k)}),Bh.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),c&&c!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(b){!p||(a(!b||b&&b.type?new sF("canceled"):b),p.abort(),p=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),s||(s=null),p.send(s)})},jr=Xi,Qx=zB,oF=BE,lF={"Content-Type":"application/x-www-form-urlencoded"};function qx(e,t){!jr.isUndefined(e)&&jr.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function uF(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Zx),e}function cF(e,t,r){if(jr.isString(e))try{return(t||JSON.parse)(e),jr.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var Rv={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:uF(),transformRequest:[function(t,r){return Qx(r,"Accept"),Qx(r,"Content-Type"),jr.isFormData(t)||jr.isArrayBuffer(t)||jr.isBuffer(t)||jr.isStream(t)||jr.isFile(t)||jr.isBlob(t)?t:jr.isArrayBufferView(t)?t.buffer:jr.isURLSearchParams(t)?(qx(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):jr.isObject(t)||r&&r["Content-Type"]==="application/json"?(qx(r,"application/json"),cF(t)):t}],transformResponse:[function(t){var r=this.transitional||Rv.transitional,i=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||a&&jr.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(s)throw u.name==="SyntaxError"?oF(u,this,"E_JSON_PARSE"):u}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};jr.forEach(["delete","get","head"],function(t){Rv.headers[t]={}});jr.forEach(["post","put","patch"],function(t){Rv.headers[t]=jr.merge(lF)});var Lv=Rv,dF=Xi,fF=Lv,hF=function(t,r,i){var a=this||fF;return dF.forEach(i,function(u){t=u.call(a,t,r)}),t},zE=function(t){return!!(t&&t.__CANCEL__)},eS=Xi,O_=hF,pF=zE,vF=Lv,mF=$v;function P_(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mF("canceled")}var _F=function(t){P_(t),t.headers=t.headers||{},t.data=O_.call(t,t.data,t.headers,t.transformRequest),t.headers=eS.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),eS.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var r=t.adapter||vF.adapter;return r(t).then(function(a){return P_(t),a.data=O_.call(t,a.data,a.headers,t.transformResponse),a},function(a){return pF(a)||(P_(t),a&&a.response&&(a.response.data=O_.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})},Bi=Xi,jE=function(t,r){r=r||{};var i={};function a(p,d){return Bi.isPlainObject(p)&&Bi.isPlainObject(d)?Bi.merge(p,d):Bi.isPlainObject(d)?Bi.merge({},d):Bi.isArray(d)?d.slice():d}function s(p){if(Bi.isUndefined(r[p])){if(!Bi.isUndefined(t[p]))return a(void 0,t[p])}else return a(t[p],r[p])}function u(p){if(!Bi.isUndefined(r[p]))return a(void 0,r[p])}function c(p){if(Bi.isUndefined(r[p])){if(!Bi.isUndefined(t[p]))return a(void 0,t[p])}else return a(void 0,r[p])}function h(p){if(p in r)return a(t[p],r[p]);if(p in t)return a(void 0,t[p])}var n={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:h};return Bi.forEach(Object.keys(t).concat(Object.keys(r)),function(d){var v=n[d]||s,m=v(d);Bi.isUndefined(m)&&v!==h||(i[d]=m)}),i},UE={version:"0.24.0"},gF=UE.version,D0={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){D0[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var tS={};D0.transitional=function(t,r,i){function a(s,u){return"[Axios v"+gF+"] Transitional option '"+s+"'"+u+(i?". "+i:"")}return function(s,u,c){if(t===!1)throw new Error(a(u," has been removed"+(r?" in "+r:"")));return r&&!tS[u]&&(tS[u]=!0,console.warn(a(u," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,u,c):!0}};function yF(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),a=i.length;a-- >0;){var s=i[a],u=t[s];if(u){var c=e[s],h=c===void 0||u(c,s,e);if(h!==!0)throw new TypeError("option "+s+" must be "+h);continue}if(r!==!0)throw Error("Unknown option "+s)}}var bF={assertOptions:yF,validators:D0},VE=Xi,wF=NE,nS=BB,rS=_F,Nv=jE,WE=bF,Wl=WE.validators;function Cd(e){this.defaults=e,this.interceptors={request:new nS,response:new nS}}Cd.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=Nv(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&WE.assertOptions(r,{silentJSONParsing:Wl.transitional(Wl.boolean),forcedJSONParsing:Wl.transitional(Wl.boolean),clarifyTimeoutError:Wl.transitional(Wl.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(t)===!1||(a=a&&v.synchronous,i.unshift(v.fulfilled,v.rejected))});var s=[];this.interceptors.response.forEach(function(v){s.push(v.fulfilled,v.rejected)});var u;if(!a){var c=[rS,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),u=Promise.resolve(t);c.length;)u=u.then(c.shift(),c.shift());return u}for(var h=t;i.length;){var n=i.shift(),p=i.shift();try{h=n(h)}catch(d){p(d);break}}try{u=rS(h)}catch(d){return Promise.reject(d)}for(;s.length;)u=u.then(s.shift(),s.shift());return u};Cd.prototype.getUri=function(t){return t=Nv(this.defaults,t),wF(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};VE.forEach(["delete","get","head","options"],function(t){Cd.prototype[t]=function(r,i){return this.request(Nv(i||{},{method:t,url:r,data:(i||{}).data}))}});VE.forEach(["post","put","patch"],function(t){Cd.prototype[t]=function(r,i,a){return this.request(Nv(a||{},{method:t,url:r,data:i}))}});var CF=Cd,xF=$v;function mu(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(a){t=a});var r=this;this.promise.then(function(i){if(!!r._listeners){var a,s=r._listeners.length;for(a=0;a v"+e._s(e.updateVersion))])],1),e.$Platform==="mac"?r("div",{staticClass:"notification-tip"},[e._v(e._s(e.$L("\u79BB\u6700\u65B0\u7248\u672C\u53EA\u6709\u4E00\u6B65\u4E4B\u9065\u4E86\uFF01\u91CD\u65B0\u542F\u52A8\u5E94\u7528\u5373\u53EF\u5B8C\u6210\u66F4\u65B0\u3002")))]):e._e()]),r("MarkdownPreview",{staticClass:"notification-body scrollbar-overlay",attrs:{initialValue:e.updateNote}}),r("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[r("Button",{attrs:{type:"default"},on:{click:function(i){e.updateShow=!1}}},[e._v(e._s(e.$L("\u7A0D\u540E")))]),r("Button",{attrs:{type:"primary",loading:e.updateIng},on:{click:e.updateQuitAndInstall}},[e._v(e._s(e.$L(e.$Platform==="mac"?"\u91CD\u65B0\u542F\u52A8":"\u7ACB\u5373\u5347\u7EA7")))])],1)],1)],2)},BF=[];const FF={name:"RightBottom",components:{MarkdownPreview:bB},data(){return{loadIng:0,subscribe:null,apiVersion:"",systemVersion:window.systemInfo.version,updateVersion:"",updateNote:"",updateShow:!1,updateBottomShow:!1,updateIng:!1,downloadUrl:""}},mounted(){this.checkVersion(),this.$Electron&&(this.subscribe=nl.Store.subscribe("updateNotification",e=>{this.updateShow=!0}),this.$Electron.registerMsgListener("updateDownloaded",e=>{this.$store.state.clientNewVersion=e.version,this.updateVersion=e.version,this.updateNote=e.releaseNotes||this.$L("\u6CA1\u6709\u66F4\u65B0\u63CF\u8FF0\u3002"),this.updateShow=$A.strExists(this.updateNote,`[${this.updateVersion}-Release]`)}))},beforeDestroy(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},watch:{updateShow(e){e&&(this.updateBottomShow=!0)}},computed:{isSoftware(){return this.$Electron||this.$isEEUiApp},showSSO(){return this.isSoftware&&["login"].includes(this.$route.name)},showDown(){return!this.$isEEUiApp&&this.windowLarge&&["login","index","manage-dashboard"].includes(this.$route.name)},showPrivacy(){return $A.isDooServer()&&this.$isEEUiApp&&["login"].includes(this.$route.name)}},methods:{isNotServer(){let e=$A.getDomain(window.systemInfo.apiUrl);return this.isSoftware&&(e==""||e=="public")},checkVersion(){this.isNotServer()||(aS.get($A.apiUrl("system/version")).then(({status:e,data:t})=>{e===200&&(this.apiVersion=t.version||"",this.compareVersion(this.apiVersion,"0.19.0")===-1&&$A.modalWarning({title:"\u6E29\u99A8\u63D0\u793A",message:"\u670D\u52A1\u5668\u63A5\u53E3\u7248\u672C\u8FC7\u4F4E\uFF0C\u90E8\u5206\u529F\u80FD\u53EF\u80FD\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\u3002"}),this.$Electron?this.$Electron.sendMessage("updateCheckAndDownload",{apiVersion:this.apiVersion}):this.getDownloadUrl(t.publish))}).catch(e=>{}),this.__checkVersion&&clearTimeout(this.__checkVersion),this.__checkVersion=setTimeout(this.checkVersion,600*1e3))},getDownloadUrl(e){if(!!$A.isJson(e))switch(e.provider){case"generic":this.downloadUrl=`${e.url}/latest`;break;case"github":(async t=>{let r="cacheAppdown::"+this.apiVersion,i=await $A.IDBJson(r),a=600;if(i.time&&i.time+a>Math.round(new Date().getTime()/1e3)){this.downloadUrl=i.data.html_url;return}this.loadIng>0||(this.loadIng++,aS.get(`https://api.github.com/repos/${e.owner}/${e.repo}/releases`).then(({status:s,data:u})=>{this.loadIng--,s===200&&$A.isArray(u)&&(i.time=Math.round(new Date().getTime()/1e3),i.data=u.find(({tag_name:c})=>this.compareVersion(this.tagVersion(c),this.apiVersion)===0)||{},$A.IDBSave(r,i),this.downloadUrl=i.data.html_url)}).catch(()=>{this.loadIng--}))})();break}},updateQuitAndInstall(){this.updateIng=!0,setTimeout(()=>{this.$Electron.sendMessage("updateQuitAndInstall")},301)},useSSOLogin(){nl.Store.set("useSSOLogin",!0)},tagVersion(e){return e?$A.leftDelete(e.toLowerCase(),"v"):""},compareVersion(e,t){let r=0,i=0;if(e===t)return 0;const a=(s,u)=>{let c=u;for(;s[c]!=="."&&ch?1:-1;r=s+1,i=u+1}for(;r0)return 1;r=s+1}for(;i0)return-1;i=s+1}return 0}}},sS={};var zF=ri(FF,NF,BF,!1,jF,null,null,null);function jF(e){for(let t in sS)this[t]=sS[t]}var UF=function(){return zF.exports}();const VF="modulepreload",oS={},WF="/",kn=function(t,r){return!r||r.length===0?t():Promise.all(r.map(i=>{if(i=`${WF}${i}`,i in oS)return;oS[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":VF,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((c,h)=>{u.addEventListener("load",c),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};var KF=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("Modal",{attrs:{mask:!1,"mask-closable":!1,"footer-hide":!0,"transition-names":["",""],"class-name":e.viewMode==="desktop"?"common-preview-image-view":"common-preview-image-swipe",fullscreen:""},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}},[e.list.length>0?[e.viewMode==="desktop"?r("PreviewImageView",{attrs:{"initial-index":e.index,"url-list":e.list,infinite:""}}):e._e(),e.viewMode==="mobile"?r("PreviewImageSwipe",{attrs:{"initial-index":e.index,"url-list":e.list},on:{"on-destroy":function(i){e.show=!1}}}):e._e()]:e._e()],2)},HF=[];const GF=()=>kn(()=>import("./view.fb31d396.js"),["js/build/view.fb31d396.js","js/build/view.0cad54ff.css"]),YF=()=>kn(()=>import("./swipe.d5e59444.js"),["js/build/swipe.d5e59444.js","js/build/swipe.750bd8d1.css"]),XF={name:"PreviewImage",components:{PreviewImageSwipe:YF,PreviewImageView:GF},props:{value:{type:Boolean,default:!1},index:{type:Number,default:0},list:{type:Array,default:()=>[]},mode:{type:String,default:null}},data(){return{show:this.value}},watch:{value(e){this.show=e},show(e){this.value!==e&&this.$emit("input",e)}},computed:{viewMode(){return this.mode?this.mode:this.$store.state.windowLarge?"desktop":"mobile"}}},lS={};var JF=ri(XF,KF,HF,!1,ZF,null,null,null);function ZF(e){for(let t in lS)this[t]=lS[t]}var QF=function(){return JF.exports}(),qF=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("PreviewImage",{attrs:{index:e.previewImageIndex,list:e.previewImageList},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}})},ez=[];const tz={name:"PreviewImageState",components:{PreviewImage:QF},computed:{...Ls(["previewImageIndex","previewImageList"])},data(){return{show:!1}},watch:{show(e){e?this.$store.state.previewImageIndex=Math.min(Math.max(this.$store.state.previewImageIndex,0),this.$store.state.previewImageList.length-1):(this.$store.state.previewImageIndex=0,this.$store.state.previewImageList=[])},previewImageList(e){if(e.length>0)if($A.isEEUiApp){const t=Math.min(Math.max(this.$store.state.previewImageIndex,0),this.$store.state.previewImageList.length-1),r=e.map(i=>$A.isJson(i)?$A.rightDelete(i.src,"_thumb.jpg"):$A.rightDelete(i,"_thumb.jpg"));$A.eeuiAppSendMessage({action:"picturePreview",position:t,paths:r})}else this.show=!0}}},uS={};var nz=ri(tz,qF,ez,!1,rz,null,null,null);function rz(e){for(let t in uS)this[t]=uS[t]}var iz=function(){return nz.exports}(),az=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-network-exception"},[e.type==="alert"?[e.show?r("Alert",{attrs:{type:"error","show-icon":"",closable:""}},[e._v(e._s(e.$L("\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8BBE\u7F6E\u3002")))]):e._e()]:e.type==="modal"?[r("Modal",{attrs:{width:416,closable:!1,"footer-hide":!0,"class-name":"common-network-exception-modal"},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}},[r("div",{staticClass:"ivu-modal-confirm"},[r("div",{staticClass:"ivu-modal-confirm-head"},[r("div",{staticClass:"ivu-modal-confirm-head-icon ivu-modal-confirm-head-icon-error"},[r("Icon",{attrs:{type:"ios-close-circle"}})],1),r("div",{staticClass:"ivu-modal-confirm-head-title"},[e._v(e._s(e.$L("\u6E29\u99A8\u63D0\u793A")))])]),r("div",{staticClass:"ivu-modal-confirm-body"},[r("div",[e._v(e._s(e.$L("\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8BBE\u7F6E\u3002")))])]),r("div",{staticClass:"ivu-modal-confirm-footer"},[r("Button",{attrs:{type:"primary"},on:{click:function(i){e.show=!1}}},[e._v(e._s(e.$L("\u786E\u5B9A")))])],1)])])]:e._e()],2)},sz=[];const oz={name:"NetworkException",props:{type:{type:String,default:"modal"}},data(){return{show:!1}},beforeDestroy(){this.show=!1},computed:{...Ls(["ajaxNetworkException"])},watch:{ajaxNetworkException:{handler(e){this.show=e},immediate:!0}}},cS={};var lz=ri(oz,az,sz,!1,uz,null,null,null);function uz(e){for(let t in cS)this[t]=cS[t]}var cz=function(){return lz.exports}(),dz=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("EDropdown",{ref:"dropdown",staticClass:"task-operation-dropdown",style:e.styles,attrs:{trigger:"click",disabled:e.disabled,size:e.size,placement:"bottom"},on:{command:e.dropTask,"visible-change":e.visibleChange}},[r("div",{ref:"icon",staticClass:"task-operation-icon"}),r("EDropdownMenu",{ref:"dropdownMenu",staticClass:"task-operation-more-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[r("li",{staticClass:"task-operation-more-warp",class:e.size},[r("ul",[e.flow?e.turns.length>0?e._l(e.turns,function(i){return r("EDropdownItem",{key:i.id,attrs:{command:`turn::${i.id}`}},[r("div",{staticClass:"item flow"},[i.id==e.task.flow_item_id&&e.flow.auto_assign!==!0?r("Icon",{staticClass:"check",attrs:{type:"md-checkmark-circle-outline"}}):r("Icon",{attrs:{type:"md-radio-button-off"}}),r("div",{staticClass:"flow-name",class:i.status},[e._v(e._s(i.name))])],1)])}):[e.task.complete_at?r("EDropdownItem",{attrs:{command:"uncomplete"}},[r("div",{staticClass:"item red"},[r("Icon",{attrs:{type:"md-checkmark-circle-outline"}}),e._v(e._s(e.$L("\u6807\u8BB0\u672A\u5B8C\u6210"))+" ")],1)]):r("EDropdownItem",{attrs:{command:"complete"}},[r("div",{staticClass:"item"},[r("Icon",{attrs:{type:"md-radio-button-off"}}),e._v(e._s(e.$L("\u5B8C\u6210"))+" ")],1)])]:r("EDropdownItem",{staticClass:"load-flow",attrs:{disabled:""}},[r("div",{staticClass:"load-flow-warp"},[r("Loading")],1)]),e.task.parent_id===0?[r("EDropdownItem",{attrs:{divided:e.turns.length>0,command:"archived"}},[r("div",{staticClass:"item"},[r("Icon",{attrs:{type:"ios-filing"}}),e._v(e._s(e.$L(e.task.archived_at?"\u8FD8\u539F\u5F52\u6863":"\u5F52\u6863"))+" ")],1)]),r("EDropdownItem",{attrs:{command:"remove"}},[r("div",{staticClass:"item hover-del"},[r("Icon",{attrs:{type:"md-trash"}}),e._v(e._s(e.$L("\u5220\u9664"))+" ")],1)]),e.colorShow?e._l(e.taskColorList,function(i,a){return r("EDropdownItem",{key:"c_"+a,attrs:{divided:a==0,command:i}},[r("div",{staticClass:"item"},[r("i",{staticClass:"taskfont",style:{color:i.color||"#f9f9f9"},domProps:{innerHTML:e._s(i.color==e.task.color?"":"")}}),e._v(e._s(e.$L(i.name))+" ")])])}):e._e()]:r("EDropdownItem",{attrs:{command:"remove",divided:e.turns.length>0}},[r("div",{staticClass:"item"},[r("Icon",{attrs:{type:"md-trash"}}),e._v(e._s(e.$L("\u5220\u9664"))+" ")],1)])],2)])])],1)},fz=[];const hz={name:"TaskOperation",data(){return{task:{},loadStatus:!1,colorShow:!0,updateBefore:!1,disabled:!1,size:"small",onUpdate:null,element:null,target:null,styles:{}}},beforeDestroy(){this.target&&this.target.removeEventListener("scroll",this.handlerEventListeners)},computed:{...Ls(["loads","taskOperation","taskColorList","taskFlows","taskFlowItems"]),..._0(["isLoad"]),loadIng(){return this.loadStatus?!0:this.isLoad(`task-${this.task.id}`)},flow(){return this.taskFlows.find(({task_id:e})=>e==this.task.id)},turns(){if(!this.flow)return[];let e=this.taskFlowItems.find(({id:t})=>t==this.flow.flow_item_id);return e?this.taskFlowItems.filter(({id:t})=>e.turns.includes(t)):[]}},watch:{taskOperation(e){if(e.event&&e.task){if(this.$refs.dropdown.visible&&this.element===e.event.target){this.hide();return}const t=e.event.target.getBoundingClientRect();this.styles={left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`},this.task=e.task,this.loadStatus=typeof e.loadStatus=="undefined"?!1:e.loadStatus,this.colorShow=typeof e.colorShow=="undefined"?!0:e.colorShow,this.updateBefore=typeof e.updateBefore=="undefined"?!1:e.updateBefore,this.disabled=typeof e.disabled=="undefined"?!1:e.disabled,this.size=typeof e.size=="undefined"?"small":e.size,this.onUpdate=typeof e.onUpdate=="function"?e.onUpdate:null,this.$refs.icon.focus(),this.updatePopper(),this.show(),this.$store.dispatch("getTaskFlow",this.task.id).finally(this.updatePopper),this.setupEventListeners(e.event)}else this.hide()}},methods:{show(){this.$refs.dropdown.show()},hide(){this.$refs.dropdown.hide()},dropTask(e){const t=this.task,r=i=>{i?this.$store.dispatch("saveTaskCompleteTemp",t.id):this.$store.dispatch("forgetTaskCompleteTemp",t.id)};if($A.isJson(e)){e.name&&this.updateTask({color:e.color}).catch(()=>{});return}if($A.leftExists(e,"turn::")){let i=$A.leftDelete(e,"turn::");if(i==this.task.flow_item_id)return;let a=this.taskFlowItems.find(({id:h})=>h==this.flow.flow_item_id)||{},s=this.taskFlowItems.find(({id:h})=>h==i)||{},u=a.status!=="end"&&s.status==="end",c=a.status==="end"&&s.status!=="end";this.updateBefore&&(u?r(!0):c&&r(!1)),this.updateTask({flow_item_id:i}).then(()=>{u?r(!0):c&&r(!1)}).catch(()=>{u?r(!1):c&&r(!0)});return}switch(e){case"complete":if(this.task.complete_at)return;this.updateBefore&&r(!0),this.updateTask({complete_at:$A.formatDate("Y-m-d H:i:s")}).then(()=>{r(!0)}).catch(()=>{r(!1)});break;case"uncomplete":if(!this.task.complete_at)return;this.updateBefore&&r(!1),this.updateTask({complete_at:!1}).then(()=>{r(!1)}).catch(()=>{r(!0)});break;case"archived":case"remove":this.archivedOrRemoveTask(e);break}},updateTask(e){return new Promise((t,r)=>{if(this.loadIng){r();return}Object.keys(e).forEach(a=>this.$set(this.task,a,e[a]));const i=Object.assign(e,{task_id:this.task.id});this.$store.dispatch("taskUpdate",i).then(({data:a,msg:s})=>{$A.messageSuccess(s),t(),this.$store.dispatch("saveTaskBrowse",i.task_id),typeof this.onUpdate=="function"&&this.onUpdate(a)}).catch(({msg:a})=>{$A.modalError(a),this.$store.dispatch("getTaskOne",i.task_id).catch(()=>{}),r()})})},archivedOrRemoveTask(e){let t="removeTask",r="\u5220\u9664",i={task_id:this.task.id},a=this.task.parent_id>0?"\u5B50\u4EFB\u52A1":"\u4EFB\u52A1";e=="archived"&&(t="archivedTask",r="\u5F52\u6863",this.task.archived_at&&(r="\u8FD8\u539F\u5F52\u6863",i={task_id:this.task.id,type:"recovery"})),$A.modalConfirm({title:r+a,content:"\u4F60\u786E\u5B9A\u8981"+r+a+"\u3010"+this.task.name+"\u3011\u5417\uFF1F",loading:!0,onOk:()=>{if(!this.loadIng)return new Promise((s,u)=>{this.$store.dispatch(t,i).then(({msg:c})=>{s(c),this.$store.dispatch("saveTaskBrowse",i.task_id)}).catch(({msg:c})=>{u(c)})})}})},visibleChange(e){this.visible=e},updatePopper(){this.$nextTick(this.$refs.dropdownMenu.updatePopper)},setupEventListeners(e){this.element=e.target;let t=this.getScrollParent(this.element);if((t===window.document.body||t===window.document.documentElement)&&(t=window),this.target){if(this.target===t)return;this.target.removeEventListener("scroll",this.handlerEventListeners)}this.target=t,this.target.addEventListener("scroll",this.handlerEventListeners)},handlerEventListeners(e){if(!this.visible||!this.element)return;const t=e.target.getBoundingClientRect(),r=this.element.getBoundingClientRect();if(r.topt.top+t.height){this.hide();return}this.styles={left:`${r.left}px`,top:`${r.top}px`,width:`${r.width}px`,height:`${r.height}px`},this.updatePopper()},getScrollParent(e){const t=e.parentNode;return t?t===window.document?window.document.body.scrollTop||window.document.body.scrollLeft?window.document.body:window.document.documentElement:["scroll","auto"].indexOf(this.getStyleComputedProperty(t,"overflow"))!==-1||["scroll","auto"].indexOf(this.getStyleComputedProperty(t,"overflow-x"))!==-1||["scroll","auto"].indexOf(this.getStyleComputedProperty(t,"overflow-y"))!==-1?t:this.getScrollParent(e.parentNode):e},getStyleComputedProperty(e,t){return window.getComputedStyle(e,null)[t]}}},dS={};var pz=ri(hz,dz,fz,!1,vz,null,null,null);function vz(e){for(let t in dS)this[t]=dS[t]}var mz=function(){return pz.exports}(),_z=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("keep-alive",[r("router-view",{staticClass:"child-view"})],1),r("TaskOperation"),r("FloatSpinner"),r("RightBottom"),e.windowLarge?r("NetworkException"):e._e(),r("PreviewImageState"),e._l(e.iframes,function(i){return i.url?r("iframe",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],key:i.key,attrs:{src:i.url}}):e._e()})],2)},gz=[];const yz={components:{TaskOperation:mz,NetworkException:cz,PreviewImageState:iz,RightBottom:UF,FloatSpinner:FN},data(){return{routePath:null,searchInter:null,iframes:[]}},created(){this.electronEvents(),this.eeuiEvents(),this.otherEvents(),this.synchThemeLanguage()},mounted(){window.addEventListener("resize",this.windowSizeListener),window.addEventListener("scroll",this.windowScrollListener),this.searchInter=setInterval(this.searchEnter,1e3)},beforeDestroy(){window.removeEventListener("resize",this.windowSizeListener),window.removeEventListener("scroll",this.windowScrollListener),this.searchInter&&clearInterval(this.searchInter)},computed:{...Ls(["ws","themeMode","supportTouch"]),isSoftware(){return this.$Electron||this.$isEEUiApp}},watch:{$route:{handler(e){this.routePath=e.path},immediate:!0},routePath:{handler(e){e&&this.userId>0&&(e=e.replace(/^\/manage\/file\/\d+\/(\d+)$/,"/single/file/$1"),this.$store.dispatch("websocketPath",e))},immediate:!0},userId:{handler(){this.$store.dispatch("websocketConnection"),this.userId>0&&(this.$isEEUiApp&&($A.eeuiAppSendMessage({action:"intiUmeng"}),setTimeout(e=>{$A.eeuiAppSendMessage({action:"setUmengAlias",userid:this.userId,token:this.userToken,url:$A.apiUrl("users/umeng/alias")})},6e3)),$A.IDBString("logOpen").then(e=>{$A.openLog=e==="open",$A.openLog&&$A.loadScript("js/vconsole.min.js",t=>{if(t!==null||typeof window.VConsole!="function"){$A.modalError("vConsole \u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01");return}window.vConsole=new window.VConsole({onReady:()=>{console.log("vConsole: onReady")},onClearLog:()=>{console.log("vConsole: onClearLog")}})})}))},immediate:!0},supportTouch:{handler(e){e?$A("body").addClass("support-touch"):$A("body").removeClass("support-touch")},immediate:!0},windowActive(e){e?(this.__windowTimer&&clearTimeout(this.__windowTimer),this.__windowTimer=setTimeout(t=>{this.$store.dispatch("call",{url:"users/socket/status"}).then(r=>{this.$store.dispatch("websocketSend",{type:"handshake"}).catch(i=>{this.$store.dispatch("websocketConnection")})}).catch(r=>{this.$store.dispatch("websocketConnection")}),this.themeMode==="auto"&&$A.dark.autoDarkMode()},600)):this.$store.dispatch("audioStop",!0)},themeMode(){this.synchThemeLanguage()}},methods:{searchEnter(){let e=$A(".sreachBox");if(e.length===0||e.attr("data-enter-init")==="init")return;e.attr("data-enter-init","init");let t=e.find("button[type='button']"),r=null;t.length!==0&&(t.each((i,a)=>{$A(a).text().indexOf("\u641C\u7D22")&&(r=$A(a))}),r!==null&&e.find("input.ivu-input").keydown(function(i){i.keyCode==13&&(r.hasClass("ivu-btn-loading")||r.click())}))},synchThemeLanguage(){this.isSoftware&&(this.iframes=this.iframes.filter(({key:e})=>e!="synchThemeLanguage"),this.iframes.push({key:"synchThemeLanguage",url:$A.apiUrl(`../setting/theme_language?theme=${this.themeMode}&language=${Qo}`)}))},windowSizeListener(){this.$store.state.windowWidth=$A(window).width(),this.$store.state.windowHeight=$A(window).height(),this.$store.state.windowLarge=this.$store.state.windowWidth>768,this.$store.state.windowSmall=this.$store.state.windowWidth<=768},windowScrollListener(){this.$store.state.windowScrollY=window.scrollY},electronEvents(){!this.$Electron||(window.__onBeforeUnload=()=>{if(this.$Modal.removeLast())return!0},this.$Electron.registerMsgListener("dispatch",e=>{if(!$A.isJson(e))return;let{action:t,data:r}=e;this.$store.dispatch(t,r)}),this.$Electron.registerMsgListener("browserWindowBlur",e=>{this.$store.state.windowActive=!1}),this.$Electron.registerMsgListener("browserWindowFocus",e=>{this.$store.state.windowActive=!0}),this.iframes.push({key:"manifest",url:$A.apiUrl("../manifest")}),$A.bindScreenshotKey($A.jsonParse(window.localStorage.getItem("__keyboard:data__"))||{}))},eeuiEvents(){!this.$isEEUiApp||(window.__onPagePause=()=>{this.$store.state.windowActive=!1,this.$store.dispatch("getBasicData",-1)},window.__onPageResume=e=>{this.$store.state.windowActive=!0,e>0&&this.$store.dispatch("getBasicData",600)},window.__onNotificationPermissionStatus=e=>{this.$store.state.appNotificationPermission=$A.runNum(e)==1})},otherEvents(){if(!this.isSoftware){const e="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,t=e.replace(/hidden/i,"visibilitychange");document.addEventListener(t,()=>{this.$store.state.windowActive=!document[e]})}}}},fS={};var bz=ri(yz,_z,gz,!1,wz,"5cab08f9",null,null);function wz(e){for(let t in fS)this[t]=fS[t]}var Cz=function(){return bz.exports}(),xz=[{name:"index",path:"/",component:()=>kn(()=>import("./index.2ea00280.js"),["js/build/index.2ea00280.js","js/build/UpdateLog.cb948ed8.js"])},{name:"pro",path:"/pro",component:()=>kn(()=>import("./pro.8a3b5ca3.js"),["js/build/pro.8a3b5ca3.js","js/build/pro.26bf0cbb.css","js/build/UpdateLog.cb948ed8.js"])},{name:"manage",path:"/manage",component:()=>kn(()=>import("./manage.d79a71f6.js"),["js/build/manage.d79a71f6.js","js/build/manage.a77f99dc.css","js/build/CheckinExport.e14dcdab.js","js/build/CheckinExport.68b4950e.css","js/build/UserInput.d6d4081e.js","js/build/index.f03606a8.js","js/build/index.4fc2d335.css","js/build/TEditor.4460561b.js","js/build/ImgUpload.6e9513da.js","js/build/ReportEdit.1329be12.js","js/build/ReportDetail.2649fc9a.js","js/build/DialogSelect.c9796cea.js","js/build/DialogWrapper.1815cab6.js","js/build/TaskDetail.32c1f371.js","js/build/ProjectLog.bffe06c7.js","js/build/TaskMenu.c2c77c47.js"]),children:[{name:"manage-dashboard",path:"dashboard",component:()=>kn(()=>import("./dashboard.033b5cc0.js"),["js/build/dashboard.033b5cc0.js","js/build/TaskMenu.c2c77c47.js"])},{name:"manage-calendar",path:"calendar",component:()=>kn(()=>import("./calendar.e0641411.js"),["js/build/calendar.e0641411.js","js/build/calendar.05643a5b.css","js/build/TaskMenu.c2c77c47.js"])},{name:"manage-messenger",path:"messenger/:dialogAction?",component:()=>kn(()=>import("./messenger.794ab91e.js"),["js/build/messenger.794ab91e.js","js/build/DialogWrapper.1815cab6.js","js/build/DialogSelect.c9796cea.js","js/build/UserInput.d6d4081e.js","js/build/index.f03606a8.js","js/build/index.4fc2d335.css","js/build/ImgUpload.6e9513da.js"])},{name:"manage-setting",path:"setting",component:()=>kn(()=>import("./index.458f2773.js"),[]),children:[{name:"manage-setting-personal",path:"personal",component:()=>kn(()=>import("./personal.b664ab75.js"),["js/build/personal.b664ab75.js","js/build/ImgUpload.6e9513da.js"])},{name:"manage-setting-checkin",path:"checkin",component:()=>kn(()=>import("./checkin.f6dbbcd5.js"),["js/build/checkin.f6dbbcd5.js","js/build/checkin.01811e2e.css"])},{name:"manage-setting-language",path:"language",component:()=>kn(()=>import("./language.a41faf36.js"),[])},{name:"manage-setting-theme",path:"theme",component:()=>kn(()=>import("./theme.85634171.js"),[])},{name:"manage-setting-keyboard",path:"keyboard",component:()=>kn(()=>import("./keyboard.1394c96e.js"),["js/build/keyboard.1394c96e.js","js/build/keyboard.83204363.css"])},{name:"manage-setting-license",path:"license",component:()=>kn(()=>import("./license.edbf6d2b.js"),["js/build/license.edbf6d2b.js","js/build/license.fe800466.css"])},{name:"manage-setting-password",path:"password",component:()=>kn(()=>import("./password.2e1e77d4.js"),[])},{name:"manage-setting-email",path:"email",component:()=>kn(()=>import("./email.8e1aeed0.js"),[])},{name:"manage-setting-system",path:"system",component:()=>kn(()=>import("./system.fcb52847.js"),["js/build/system.fcb52847.js","js/build/index.f03606a8.js","js/build/index.4fc2d335.css","js/build/CheckinExport.e14dcdab.js","js/build/CheckinExport.68b4950e.css","js/build/UserInput.d6d4081e.js"])},{name:"manage-setting-delete",path:"delete",component:()=>kn(()=>import("./delete.fbfdc492.js"),[])}]},{name:"manage-project-invite",path:"project/invite",component:()=>kn(()=>import("./projectInvite.72ab7a65.js"),["js/build/projectInvite.72ab7a65.js","js/build/projectInvite.c62994fb.css"])},{name:"manage-project",path:"project/:projectId",component:()=>kn(()=>import("./project.cdb0a3eb.js"),["js/build/project.cdb0a3eb.js","js/build/ProjectLog.bffe06c7.js","js/build/UserInput.d6d4081e.js","js/build/TaskMenu.c2c77c47.js","js/build/index.f03606a8.js","js/build/index.4fc2d335.css","js/build/DialogWrapper.1815cab6.js","js/build/DialogSelect.c9796cea.js","js/build/ImgUpload.6e9513da.js"])},{name:"manage-file",path:"file/:folderId?/:fileId?",component:()=>kn(()=>import("./file.23aabd63.js"),["js/build/file.23aabd63.js","js/build/UserInput.d6d4081e.js","js/build/index.f03606a8.js","js/build/index.4fc2d335.css","js/build/DialogSelect.c9796cea.js"])}]},{name:"single-file-msg",path:"/single/file/msg/:msgId",component:()=>kn(()=>import("./fileMsg.57896aee.js"),["js/build/fileMsg.57896aee.js","js/build/fileMsg.1a0b76dd.css","js/build/IFrame.dee76434.js"])},{name:"single-file-task",path:"/single/file/task/:fileId",component:()=>kn(()=>import("./fileTask.7159d584.js"),["js/build/fileTask.7159d584.js","js/build/fileTask.93338ba0.css","js/build/IFrame.dee76434.js"])},{name:"single-file",path:"/single/file/:codeOrFileId",component:()=>kn(()=>import("./file.04750cb8.js"),["js/build/file.04750cb8.js","js/build/file.560ab02c.css","js/build/FileContent.9f2379fd.js","js/build/FileContent.5c6a1e1c.css","js/build/IFrame.dee76434.js","js/build/FilePreview.23f7e260.js"])},{name:"single-task",path:"/single/task/:taskId",component:()=>kn(()=>import("./task.dd3b0ed0.js"),["js/build/task.dd3b0ed0.js","js/build/task.0d7ca2d3.css","js/build/TaskDetail.32c1f371.js","js/build/TEditor.4460561b.js","js/build/ImgUpload.6e9513da.js","js/build/ProjectLog.bffe06c7.js","js/build/UserInput.d6d4081e.js","js/build/DialogWrapper.1815cab6.js","js/build/DialogSelect.c9796cea.js","js/build/index.f03606a8.js","js/build/index.4fc2d335.css","js/build/TaskMenu.c2c77c47.js"])},{name:"valid-email",path:"/single/valid/email",component:()=>kn(()=>import("./validEmail.53202fb3.js"),["js/build/validEmail.53202fb3.js","js/build/validEmail.6e361ca9.css"])},{name:"report-edit",path:"/single/report/edit/:reportEditId",component:()=>kn(()=>import("./reportEdit.2224e869.js"),["js/build/reportEdit.2224e869.js","js/build/reportEdit.5c397123.css","js/build/ReportEdit.1329be12.js","js/build/UserInput.d6d4081e.js"])},{name:"report-detail",path:"/single/report/detail/:reportDetailId",component:()=>kn(()=>import("./reportDetail.2fdd49c5.js"),["js/build/reportDetail.2fdd49c5.js","js/build/reportDetail.c12bef4b.css","js/build/ReportDetail.2649fc9a.js"])},{name:"token",path:"/token",component:()=>kn(()=>import("./token.01d28a9f.js"),["js/build/token.01d28a9f.js","js/build/token.7afc4e00.css"])},{name:"login",path:"/login",component:()=>kn(()=>import("./login.8ccc6e89.js"),[])},{name:"404",path:"*",component:()=>kn(()=>import("./404.a0cc881c.js"),["js/build/404.a0cc881c.js","js/build/404.d686a01f.css"])}];/*! +`),function(c){if(s=c.indexOf(":"),i=E_.trim(c.substr(0,s)).toLowerCase(),a=E_.trim(c.substr(s+1)),i){if(r[i]&&JB.indexOf(i)>=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([a]):r[i]=r[i]?r[i]+", "+a:a}}),r},Jx=Xi,QB=Jx.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(s){var u=s;return t&&(r.setAttribute("href",u),u=r.href),r.setAttribute("href",u),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(u){var c=Jx.isString(u)?a(u):u;return c.protocol===i.protocol&&c.host===i.host}}():function(){return function(){return!0}}();function E0(e){this.message=e}E0.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};E0.prototype.__CANCEL__=!0;var $v=E0,Bh=Xi,qB=VB,eF=WB,tF=NE,nF=XB,rF=ZB,iF=QB,D_=FE,aF=Lv,sF=$v,Zx=function(t){return new Promise(function(i,a){var s=t.data,u=t.headers,c=t.responseType,h;function n(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}Bh.isFormData(s)&&delete u["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";u.Authorization="Basic "+btoa(d+":"+v)}var m=nF(t.baseURL,t.url);p.open(t.method.toUpperCase(),tF(m,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function g(){if(!!p){var b="getAllResponseHeaders"in p?rF(p.getAllResponseHeaders()):null,k=!c||c==="text"||c==="json"?p.responseText:p.response,O={data:k,status:p.status,statusText:p.statusText,headers:b,config:t,request:p};qB(function(x){i(x),n()},function(x){a(x),n()},O),p=null}}if("onloadend"in p?p.onloadend=g:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(g)},p.onabort=function(){!p||(a(D_("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){a(D_("Network Error",t,null,p)),p=null},p.ontimeout=function(){var k=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",O=t.transitional||aF.transitional;t.timeoutErrorMessage&&(k=t.timeoutErrorMessage),a(D_(k,t,O.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",p)),p=null},Bh.isStandardBrowserEnv()){var y=(t.withCredentials||iF(m))&&t.xsrfCookieName?eF.read(t.xsrfCookieName):void 0;y&&(u[t.xsrfHeaderName]=y)}"setRequestHeader"in p&&Bh.forEach(u,function(k,O){typeof s=="undefined"&&O.toLowerCase()==="content-type"?delete u[O]:p.setRequestHeader(O,k)}),Bh.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),c&&c!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(b){!p||(a(!b||b&&b.type?new sF("canceled"):b),p.abort(),p=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),s||(s=null),p.send(s)})},jr=Xi,Qx=zB,oF=BE,lF={"Content-Type":"application/x-www-form-urlencoded"};function qx(e,t){!jr.isUndefined(e)&&jr.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function uF(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Zx),e}function cF(e,t,r){if(jr.isString(e))try{return(t||JSON.parse)(e),jr.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(e)}var Rv={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:uF(),transformRequest:[function(t,r){return Qx(r,"Accept"),Qx(r,"Content-Type"),jr.isFormData(t)||jr.isArrayBuffer(t)||jr.isBuffer(t)||jr.isStream(t)||jr.isFile(t)||jr.isBlob(t)?t:jr.isArrayBufferView(t)?t.buffer:jr.isURLSearchParams(t)?(qx(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):jr.isObject(t)||r&&r["Content-Type"]==="application/json"?(qx(r,"application/json"),cF(t)):t}],transformResponse:[function(t){var r=this.transitional||Rv.transitional,i=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,s=!i&&this.responseType==="json";if(s||a&&jr.isString(t)&&t.length)try{return JSON.parse(t)}catch(u){if(s)throw u.name==="SyntaxError"?oF(u,this,"E_JSON_PARSE"):u}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};jr.forEach(["delete","get","head"],function(t){Rv.headers[t]={}});jr.forEach(["post","put","patch"],function(t){Rv.headers[t]=jr.merge(lF)});var Lv=Rv,dF=Xi,fF=Lv,hF=function(t,r,i){var a=this||fF;return dF.forEach(i,function(u){t=u.call(a,t,r)}),t},zE=function(t){return!!(t&&t.__CANCEL__)},eS=Xi,O_=hF,pF=zE,vF=Lv,mF=$v;function P_(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mF("canceled")}var _F=function(t){P_(t),t.headers=t.headers||{},t.data=O_.call(t,t.data,t.headers,t.transformRequest),t.headers=eS.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),eS.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var r=t.adapter||vF.adapter;return r(t).then(function(a){return P_(t),a.data=O_.call(t,a.data,a.headers,t.transformResponse),a},function(a){return pF(a)||(P_(t),a&&a.response&&(a.response.data=O_.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})},Bi=Xi,jE=function(t,r){r=r||{};var i={};function a(p,d){return Bi.isPlainObject(p)&&Bi.isPlainObject(d)?Bi.merge(p,d):Bi.isPlainObject(d)?Bi.merge({},d):Bi.isArray(d)?d.slice():d}function s(p){if(Bi.isUndefined(r[p])){if(!Bi.isUndefined(t[p]))return a(void 0,t[p])}else return a(t[p],r[p])}function u(p){if(!Bi.isUndefined(r[p]))return a(void 0,r[p])}function c(p){if(Bi.isUndefined(r[p])){if(!Bi.isUndefined(t[p]))return a(void 0,t[p])}else return a(void 0,r[p])}function h(p){if(p in r)return a(t[p],r[p]);if(p in t)return a(void 0,t[p])}var n={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:h};return Bi.forEach(Object.keys(t).concat(Object.keys(r)),function(d){var v=n[d]||s,m=v(d);Bi.isUndefined(m)&&v!==h||(i[d]=m)}),i},UE={version:"0.24.0"},gF=UE.version,D0={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){D0[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});var tS={};D0.transitional=function(t,r,i){function a(s,u){return"[Axios v"+gF+"] Transitional option '"+s+"'"+u+(i?". "+i:"")}return function(s,u,c){if(t===!1)throw new Error(a(u," has been removed"+(r?" in "+r:"")));return r&&!tS[u]&&(tS[u]=!0,console.warn(a(u," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,u,c):!0}};function yF(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var i=Object.keys(e),a=i.length;a-- >0;){var s=i[a],u=t[s];if(u){var c=e[s],h=c===void 0||u(c,s,e);if(h!==!0)throw new TypeError("option "+s+" must be "+h);continue}if(r!==!0)throw Error("Unknown option "+s)}}var bF={assertOptions:yF,validators:D0},VE=Xi,wF=NE,nS=BB,rS=_F,Nv=jE,WE=bF,Wl=WE.validators;function Cd(e){this.defaults=e,this.interceptors={request:new nS,response:new nS}}Cd.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=Nv(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&WE.assertOptions(r,{silentJSONParsing:Wl.transitional(Wl.boolean),forcedJSONParsing:Wl.transitional(Wl.boolean),clarifyTimeoutError:Wl.transitional(Wl.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(t)===!1||(a=a&&v.synchronous,i.unshift(v.fulfilled,v.rejected))});var s=[];this.interceptors.response.forEach(function(v){s.push(v.fulfilled,v.rejected)});var u;if(!a){var c=[rS,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(s),u=Promise.resolve(t);c.length;)u=u.then(c.shift(),c.shift());return u}for(var h=t;i.length;){var n=i.shift(),p=i.shift();try{h=n(h)}catch(d){p(d);break}}try{u=rS(h)}catch(d){return Promise.reject(d)}for(;s.length;)u=u.then(s.shift(),s.shift());return u};Cd.prototype.getUri=function(t){return t=Nv(this.defaults,t),wF(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};VE.forEach(["delete","get","head","options"],function(t){Cd.prototype[t]=function(r,i){return this.request(Nv(i||{},{method:t,url:r,data:(i||{}).data}))}});VE.forEach(["post","put","patch"],function(t){Cd.prototype[t]=function(r,i,a){return this.request(Nv(a||{},{method:t,url:r,data:i}))}});var CF=Cd,xF=$v;function mu(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(a){t=a});var r=this;this.promise.then(function(i){if(!!r._listeners){var a,s=r._listeners.length;for(a=0;a v"+e._s(e.updateVersion))])],1),e.$Platform==="mac"?r("div",{staticClass:"notification-tip"},[e._v(e._s(e.$L("\u79BB\u6700\u65B0\u7248\u672C\u53EA\u6709\u4E00\u6B65\u4E4B\u9065\u4E86\uFF01\u91CD\u65B0\u542F\u52A8\u5E94\u7528\u5373\u53EF\u5B8C\u6210\u66F4\u65B0\u3002")))]):e._e()]),r("MarkdownPreview",{staticClass:"notification-body scrollbar-overlay",attrs:{initialValue:e.updateNote}}),r("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[r("Button",{attrs:{type:"default"},on:{click:function(i){e.updateShow=!1}}},[e._v(e._s(e.$L("\u7A0D\u540E")))]),r("Button",{attrs:{type:"primary",loading:e.updateIng},on:{click:e.updateQuitAndInstall}},[e._v(e._s(e.$L(e.$Platform==="mac"?"\u91CD\u65B0\u542F\u52A8":"\u7ACB\u5373\u5347\u7EA7")))])],1)],1)],2)},BF=[];const FF={name:"RightBottom",components:{MarkdownPreview:bB},data(){return{loadIng:0,subscribe:null,apiVersion:"",systemVersion:window.systemInfo.version,updateVersion:"",updateNote:"",updateShow:!1,updateBottomShow:!1,updateIng:!1,downloadUrl:""}},mounted(){this.checkVersion(),this.$Electron&&(this.subscribe=nl.Store.subscribe("updateNotification",e=>{this.updateShow=!0}),this.$Electron.registerMsgListener("updateDownloaded",e=>{this.$store.state.clientNewVersion=e.version,this.updateVersion=e.version,this.updateNote=e.releaseNotes||this.$L("\u6CA1\u6709\u66F4\u65B0\u63CF\u8FF0\u3002"),this.updateShow=$A.strExists(this.updateNote,`[${this.updateVersion}-Release]`)}))},beforeDestroy(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},watch:{updateShow(e){e&&(this.updateBottomShow=!0)}},computed:{isSoftware(){return this.$Electron||this.$isEEUiApp},showSSO(){return this.isSoftware&&["login"].includes(this.$route.name)},showDown(){return!this.$isEEUiApp&&this.windowLarge&&["login","index","manage-dashboard"].includes(this.$route.name)},showPrivacy(){return $A.isDooServer()&&this.$isEEUiApp&&["login"].includes(this.$route.name)}},methods:{isNotServer(){let e=$A.getDomain(window.systemInfo.apiUrl);return this.isSoftware&&(e==""||e=="public")},checkVersion(){this.isNotServer()||(aS.get($A.apiUrl("system/version")).then(({status:e,data:t})=>{e===200&&(this.apiVersion=t.version||"",this.compareVersion(this.apiVersion,"0.19.0")===-1&&$A.modalWarning({title:"\u6E29\u99A8\u63D0\u793A",message:"\u670D\u52A1\u5668\u63A5\u53E3\u7248\u672C\u8FC7\u4F4E\uFF0C\u90E8\u5206\u529F\u80FD\u53EF\u80FD\u65E0\u6CD5\u6B63\u5E38\u4F7F\u7528\u3002"}),this.$Electron?this.$Electron.sendMessage("updateCheckAndDownload",{apiVersion:this.apiVersion}):this.getDownloadUrl(t.publish))}).catch(e=>{}),this.__checkVersion&&clearTimeout(this.__checkVersion),this.__checkVersion=setTimeout(this.checkVersion,600*1e3))},getDownloadUrl(e){if(!!$A.isJson(e))switch(e.provider){case"generic":this.downloadUrl=`${e.url}/latest`;break;case"github":(async t=>{let r="cacheAppdown::"+this.apiVersion,i=await $A.IDBJson(r),a=600;if(i.time&&i.time+a>Math.round(new Date().getTime()/1e3)){this.downloadUrl=i.data.html_url;return}this.loadIng>0||(this.loadIng++,aS.get(`https://api.github.com/repos/${e.owner}/${e.repo}/releases`).then(({status:s,data:u})=>{this.loadIng--,s===200&&$A.isArray(u)&&(i.time=Math.round(new Date().getTime()/1e3),i.data=u.find(({tag_name:c})=>this.compareVersion(this.tagVersion(c),this.apiVersion)===0)||{},$A.IDBSave(r,i),this.downloadUrl=i.data.html_url)}).catch(()=>{this.loadIng--}))})();break}},updateQuitAndInstall(){this.updateIng=!0,setTimeout(()=>{this.$Electron.sendMessage("updateQuitAndInstall")},301)},useSSOLogin(){nl.Store.set("useSSOLogin",!0)},tagVersion(e){return e?$A.leftDelete(e.toLowerCase(),"v"):""},compareVersion(e,t){let r=0,i=0;if(e===t)return 0;const a=(s,u)=>{let c=u;for(;s[c]!=="."&&ch?1:-1;r=s+1,i=u+1}for(;r0)return 1;r=s+1}for(;i0)return-1;i=s+1}return 0}}},sS={};var zF=ri(FF,NF,BF,!1,jF,null,null,null);function jF(e){for(let t in sS)this[t]=sS[t]}var UF=function(){return zF.exports}();const VF="modulepreload",oS={},WF="/",kn=function(t,r){return!r||r.length===0?t():Promise.all(r.map(i=>{if(i=`${WF}${i}`,i in oS)return;oS[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${s}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":VF,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((c,h)=>{u.addEventListener("load",c),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};var KF=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("Modal",{attrs:{mask:!1,"mask-closable":!1,"footer-hide":!0,"transition-names":["",""],"class-name":e.viewMode==="desktop"?"common-preview-image-view":"common-preview-image-swipe",fullscreen:""},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}},[e.list.length>0?[e.viewMode==="desktop"?r("PreviewImageView",{attrs:{"initial-index":e.index,"url-list":e.list,infinite:""}}):e._e(),e.viewMode==="mobile"?r("PreviewImageSwipe",{attrs:{"initial-index":e.index,"url-list":e.list},on:{"on-destroy":function(i){e.show=!1}}}):e._e()]:e._e()],2)},HF=[];const GF=()=>kn(()=>import("./view.d0be2e7e.js"),["js/build/view.d0be2e7e.js","js/build/view.0cad54ff.css"]),YF=()=>kn(()=>import("./swipe.03138fa2.js"),["js/build/swipe.03138fa2.js","js/build/swipe.750bd8d1.css"]),XF={name:"PreviewImage",components:{PreviewImageSwipe:YF,PreviewImageView:GF},props:{value:{type:Boolean,default:!1},index:{type:Number,default:0},list:{type:Array,default:()=>[]},mode:{type:String,default:null}},data(){return{show:this.value}},watch:{value(e){this.show=e},show(e){this.value!==e&&this.$emit("input",e)}},computed:{viewMode(){return this.mode?this.mode:this.$store.state.windowLarge?"desktop":"mobile"}}},lS={};var JF=ri(XF,KF,HF,!1,ZF,null,null,null);function ZF(e){for(let t in lS)this[t]=lS[t]}var QF=function(){return JF.exports}(),qF=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("PreviewImage",{attrs:{index:e.previewImageIndex,list:e.previewImageList},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}})},ez=[];const tz={name:"PreviewImageState",components:{PreviewImage:QF},computed:{...Ls(["previewImageIndex","previewImageList"])},data(){return{show:!1}},watch:{show(e){e?this.$store.state.previewImageIndex=Math.min(Math.max(this.$store.state.previewImageIndex,0),this.$store.state.previewImageList.length-1):(this.$store.state.previewImageIndex=0,this.$store.state.previewImageList=[])},previewImageList(e){if(e.length>0)if($A.isEEUiApp){const t=Math.min(Math.max(this.$store.state.previewImageIndex,0),this.$store.state.previewImageList.length-1),r=e.map(i=>$A.isJson(i)?$A.rightDelete(i.src,"_thumb.jpg"):$A.rightDelete(i,"_thumb.jpg"));$A.eeuiAppSendMessage({action:"picturePreview",position:t,paths:r})}else this.show=!0}}},uS={};var nz=ri(tz,qF,ez,!1,rz,null,null,null);function rz(e){for(let t in uS)this[t]=uS[t]}var iz=function(){return nz.exports}(),az=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-network-exception"},[e.type==="alert"?[e.show?r("Alert",{attrs:{type:"error","show-icon":"",closable:""}},[e._v(e._s(e.$L("\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8BBE\u7F6E\u3002")))]):e._e()]:e.type==="modal"?[r("Modal",{attrs:{width:416,closable:!1,"footer-hide":!0,"class-name":"common-network-exception-modal"},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}},[r("div",{staticClass:"ivu-modal-confirm"},[r("div",{staticClass:"ivu-modal-confirm-head"},[r("div",{staticClass:"ivu-modal-confirm-head-icon ivu-modal-confirm-head-icon-error"},[r("Icon",{attrs:{type:"ios-close-circle"}})],1),r("div",{staticClass:"ivu-modal-confirm-head-title"},[e._v(e._s(e.$L("\u6E29\u99A8\u63D0\u793A")))])]),r("div",{staticClass:"ivu-modal-confirm-body"},[r("div",[e._v(e._s(e.$L("\u7F51\u7EDC\u8FDE\u63A5\u5931\u8D25\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8BBE\u7F6E\u3002")))])]),r("div",{staticClass:"ivu-modal-confirm-footer"},[r("Button",{attrs:{type:"primary"},on:{click:function(i){e.show=!1}}},[e._v(e._s(e.$L("\u786E\u5B9A")))])],1)])])]:e._e()],2)},sz=[];const oz={name:"NetworkException",props:{type:{type:String,default:"modal"}},data(){return{show:!1}},beforeDestroy(){this.show=!1},computed:{...Ls(["ajaxNetworkException"])},watch:{ajaxNetworkException:{handler(e){this.show=e},immediate:!0}}},cS={};var lz=ri(oz,az,sz,!1,uz,null,null,null);function uz(e){for(let t in cS)this[t]=cS[t]}var cz=function(){return lz.exports}(),dz=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("EDropdown",{ref:"dropdown",staticClass:"task-operation-dropdown",style:e.styles,attrs:{trigger:"click",disabled:e.disabled,size:e.size,placement:"bottom"},on:{command:e.dropTask,"visible-change":e.visibleChange}},[r("div",{ref:"icon",staticClass:"task-operation-icon"}),r("EDropdownMenu",{ref:"dropdownMenu",staticClass:"task-operation-more-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[r("li",{staticClass:"task-operation-more-warp",class:e.size},[r("ul",[e.flow?e.turns.length>0?e._l(e.turns,function(i){return r("EDropdownItem",{key:i.id,attrs:{command:`turn::${i.id}`}},[r("div",{staticClass:"item flow"},[i.id==e.task.flow_item_id&&e.flow.auto_assign!==!0?r("Icon",{staticClass:"check",attrs:{type:"md-checkmark-circle-outline"}}):r("Icon",{attrs:{type:"md-radio-button-off"}}),r("div",{staticClass:"flow-name",class:i.status},[e._v(e._s(i.name))])],1)])}):[e.task.complete_at?r("EDropdownItem",{attrs:{command:"uncomplete"}},[r("div",{staticClass:"item red"},[r("Icon",{attrs:{type:"md-checkmark-circle-outline"}}),e._v(e._s(e.$L("\u6807\u8BB0\u672A\u5B8C\u6210"))+" ")],1)]):r("EDropdownItem",{attrs:{command:"complete"}},[r("div",{staticClass:"item"},[r("Icon",{attrs:{type:"md-radio-button-off"}}),e._v(e._s(e.$L("\u5B8C\u6210"))+" ")],1)])]:r("EDropdownItem",{staticClass:"load-flow",attrs:{disabled:""}},[r("div",{staticClass:"load-flow-warp"},[r("Loading")],1)]),e.task.parent_id===0?[r("EDropdownItem",{attrs:{divided:e.turns.length>0,command:"archived"}},[r("div",{staticClass:"item"},[r("Icon",{attrs:{type:"ios-filing"}}),e._v(e._s(e.$L(e.task.archived_at?"\u8FD8\u539F\u5F52\u6863":"\u5F52\u6863"))+" ")],1)]),r("EDropdownItem",{attrs:{command:"remove"}},[r("div",{staticClass:"item hover-del"},[r("Icon",{attrs:{type:"md-trash"}}),e._v(e._s(e.$L("\u5220\u9664"))+" ")],1)]),e.colorShow?e._l(e.taskColorList,function(i,a){return r("EDropdownItem",{key:"c_"+a,attrs:{divided:a==0,command:i}},[r("div",{staticClass:"item"},[r("i",{staticClass:"taskfont",style:{color:i.color||"#f9f9f9"},domProps:{innerHTML:e._s(i.color==e.task.color?"":"")}}),e._v(e._s(e.$L(i.name))+" ")])])}):e._e()]:r("EDropdownItem",{attrs:{command:"remove",divided:e.turns.length>0}},[r("div",{staticClass:"item"},[r("Icon",{attrs:{type:"md-trash"}}),e._v(e._s(e.$L("\u5220\u9664"))+" ")],1)])],2)])])],1)},fz=[];const hz={name:"TaskOperation",data(){return{task:{},loadStatus:!1,colorShow:!0,updateBefore:!1,disabled:!1,size:"small",onUpdate:null,element:null,target:null,styles:{}}},beforeDestroy(){this.target&&this.target.removeEventListener("scroll",this.handlerEventListeners)},computed:{...Ls(["loads","taskOperation","taskColorList","taskFlows","taskFlowItems"]),..._0(["isLoad"]),loadIng(){return this.loadStatus?!0:this.isLoad(`task-${this.task.id}`)},flow(){return this.taskFlows.find(({task_id:e})=>e==this.task.id)},turns(){if(!this.flow)return[];let e=this.taskFlowItems.find(({id:t})=>t==this.flow.flow_item_id);return e?this.taskFlowItems.filter(({id:t})=>e.turns.includes(t)):[]}},watch:{taskOperation(e){if(e.event&&e.task){if(this.$refs.dropdown.visible&&this.element===e.event.target){this.hide();return}const t=e.event.target.getBoundingClientRect();this.styles={left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:`${t.height}px`},this.task=e.task,this.loadStatus=typeof e.loadStatus=="undefined"?!1:e.loadStatus,this.colorShow=typeof e.colorShow=="undefined"?!0:e.colorShow,this.updateBefore=typeof e.updateBefore=="undefined"?!1:e.updateBefore,this.disabled=typeof e.disabled=="undefined"?!1:e.disabled,this.size=typeof e.size=="undefined"?"small":e.size,this.onUpdate=typeof e.onUpdate=="function"?e.onUpdate:null,this.$refs.icon.focus(),this.updatePopper(),this.show(),this.$store.dispatch("getTaskFlow",this.task.id).finally(this.updatePopper),this.setupEventListeners(e.event)}else this.hide()}},methods:{show(){this.$refs.dropdown.show()},hide(){this.$refs.dropdown.hide()},dropTask(e){const t=this.task,r=i=>{i?this.$store.dispatch("saveTaskCompleteTemp",t.id):this.$store.dispatch("forgetTaskCompleteTemp",t.id)};if($A.isJson(e)){e.name&&this.updateTask({color:e.color}).catch(()=>{});return}if($A.leftExists(e,"turn::")){let i=$A.leftDelete(e,"turn::");if(i==this.task.flow_item_id)return;let a=this.taskFlowItems.find(({id:h})=>h==this.flow.flow_item_id)||{},s=this.taskFlowItems.find(({id:h})=>h==i)||{},u=a.status!=="end"&&s.status==="end",c=a.status==="end"&&s.status!=="end";this.updateBefore&&(u?r(!0):c&&r(!1)),this.updateTask({flow_item_id:i}).then(()=>{u?r(!0):c&&r(!1)}).catch(()=>{u?r(!1):c&&r(!0)});return}switch(e){case"complete":if(this.task.complete_at)return;this.updateBefore&&r(!0),this.updateTask({complete_at:$A.formatDate("Y-m-d H:i:s")}).then(()=>{r(!0)}).catch(()=>{r(!1)});break;case"uncomplete":if(!this.task.complete_at)return;this.updateBefore&&r(!1),this.updateTask({complete_at:!1}).then(()=>{r(!1)}).catch(()=>{r(!0)});break;case"archived":case"remove":this.archivedOrRemoveTask(e);break}},updateTask(e){return new Promise((t,r)=>{if(this.loadIng){r();return}Object.keys(e).forEach(a=>this.$set(this.task,a,e[a]));const i=Object.assign(e,{task_id:this.task.id});this.$store.dispatch("taskUpdate",i).then(({data:a,msg:s})=>{$A.messageSuccess(s),t(),this.$store.dispatch("saveTaskBrowse",i.task_id),typeof this.onUpdate=="function"&&this.onUpdate(a)}).catch(({msg:a})=>{$A.modalError(a),this.$store.dispatch("getTaskOne",i.task_id).catch(()=>{}),r()})})},archivedOrRemoveTask(e){let t="removeTask",r="\u5220\u9664",i={task_id:this.task.id},a=this.task.parent_id>0?"\u5B50\u4EFB\u52A1":"\u4EFB\u52A1";e=="archived"&&(t="archivedTask",r="\u5F52\u6863",this.task.archived_at&&(r="\u8FD8\u539F\u5F52\u6863",i={task_id:this.task.id,type:"recovery"})),$A.modalConfirm({title:r+a,content:"\u4F60\u786E\u5B9A\u8981"+r+a+"\u3010"+this.task.name+"\u3011\u5417\uFF1F",loading:!0,onOk:()=>{if(!this.loadIng)return new Promise((s,u)=>{this.$store.dispatch(t,i).then(({msg:c})=>{s(c),this.$store.dispatch("saveTaskBrowse",i.task_id)}).catch(({msg:c})=>{u(c)})})}})},visibleChange(e){this.visible=e},updatePopper(){this.$nextTick(this.$refs.dropdownMenu.updatePopper)},setupEventListeners(e){this.element=e.target;let t=this.getScrollParent(this.element);if((t===window.document.body||t===window.document.documentElement)&&(t=window),this.target){if(this.target===t)return;this.target.removeEventListener("scroll",this.handlerEventListeners)}this.target=t,this.target.addEventListener("scroll",this.handlerEventListeners)},handlerEventListeners(e){if(!this.visible||!this.element)return;const t=e.target.getBoundingClientRect(),r=this.element.getBoundingClientRect();if(r.topt.top+t.height){this.hide();return}this.styles={left:`${r.left}px`,top:`${r.top}px`,width:`${r.width}px`,height:`${r.height}px`},this.updatePopper()},getScrollParent(e){const t=e.parentNode;return t?t===window.document?window.document.body.scrollTop||window.document.body.scrollLeft?window.document.body:window.document.documentElement:["scroll","auto"].indexOf(this.getStyleComputedProperty(t,"overflow"))!==-1||["scroll","auto"].indexOf(this.getStyleComputedProperty(t,"overflow-x"))!==-1||["scroll","auto"].indexOf(this.getStyleComputedProperty(t,"overflow-y"))!==-1?t:this.getScrollParent(e.parentNode):e},getStyleComputedProperty(e,t){return window.getComputedStyle(e,null)[t]}}},dS={};var pz=ri(hz,dz,fz,!1,vz,null,null,null);function vz(e){for(let t in dS)this[t]=dS[t]}var mz=function(){return pz.exports}(),_z=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("keep-alive",[r("router-view",{staticClass:"child-view"})],1),r("TaskOperation"),r("FloatSpinner"),r("RightBottom"),e.windowLarge?r("NetworkException"):e._e(),r("PreviewImageState"),e._l(e.iframes,function(i){return i.url?r("iframe",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],key:i.key,attrs:{src:i.url}}):e._e()})],2)},gz=[];const yz={components:{TaskOperation:mz,NetworkException:cz,PreviewImageState:iz,RightBottom:UF,FloatSpinner:FN},data(){return{routePath:null,searchInter:null,iframes:[]}},created(){this.electronEvents(),this.eeuiEvents(),this.otherEvents(),this.synchThemeLanguage()},mounted(){window.addEventListener("resize",this.windowSizeListener),window.addEventListener("scroll",this.windowScrollListener),this.searchInter=setInterval(this.searchEnter,1e3)},beforeDestroy(){window.removeEventListener("resize",this.windowSizeListener),window.removeEventListener("scroll",this.windowScrollListener),this.searchInter&&clearInterval(this.searchInter)},computed:{...Ls(["ws","themeMode","supportTouch"]),isSoftware(){return this.$Electron||this.$isEEUiApp}},watch:{$route:{handler(e){this.routePath=e.path},immediate:!0},routePath:{handler(e){e&&this.userId>0&&(e=e.replace(/^\/manage\/file\/\d+\/(\d+)$/,"/single/file/$1"),this.$store.dispatch("websocketPath",e))},immediate:!0},userId:{handler(){this.$store.dispatch("websocketConnection"),this.userId>0&&(this.$isEEUiApp&&($A.eeuiAppSendMessage({action:"intiUmeng"}),setTimeout(e=>{$A.eeuiAppSendMessage({action:"setUmengAlias",userid:this.userId,token:this.userToken,url:$A.apiUrl("users/umeng/alias")})},6e3)),$A.IDBString("logOpen").then(e=>{$A.openLog=e==="open",$A.openLog&&$A.loadScript("js/vconsole.min.js").then(t=>{window.vConsole=new window.VConsole({onReady:()=>{console.log("vConsole: onReady")},onClearLog:()=>{console.log("vConsole: onClearLog")}})}).catch(t=>{$A.modalError("vConsole \u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01")})}))},immediate:!0},supportTouch:{handler(e){e?$A("body").addClass("support-touch"):$A("body").removeClass("support-touch")},immediate:!0},windowActive(e){e?(this.__windowTimer&&clearTimeout(this.__windowTimer),this.__windowTimer=setTimeout(t=>{this.$store.dispatch("call",{url:"users/socket/status"}).then(r=>{this.$store.dispatch("websocketSend",{type:"handshake"}).catch(i=>{this.$store.dispatch("websocketConnection")})}).catch(r=>{this.$store.dispatch("websocketConnection")}),this.themeMode==="auto"&&$A.dark.autoDarkMode()},600)):this.$store.dispatch("audioStop",!0)},themeMode(){this.synchThemeLanguage()}},methods:{searchEnter(){let e=$A(".sreachBox");if(e.length===0||e.attr("data-enter-init")==="init")return;e.attr("data-enter-init","init");let t=e.find("button[type='button']"),r=null;t.length!==0&&(t.each((i,a)=>{$A(a).text().indexOf("\u641C\u7D22")&&(r=$A(a))}),r!==null&&e.find("input.ivu-input").keydown(function(i){i.keyCode==13&&(r.hasClass("ivu-btn-loading")||r.click())}))},synchThemeLanguage(){this.isSoftware&&(this.iframes=this.iframes.filter(({key:e})=>e!="synchThemeLanguage"),this.iframes.push({key:"synchThemeLanguage",url:$A.apiUrl(`../setting/theme_language?theme=${this.themeMode}&language=${Qo}`)}))},windowSizeListener(){this.$store.state.windowWidth=$A(window).width(),this.$store.state.windowHeight=$A(window).height(),this.$store.state.windowLarge=this.$store.state.windowWidth>768,this.$store.state.windowSmall=this.$store.state.windowWidth<=768},windowScrollListener(){this.$store.state.windowScrollY=window.scrollY},electronEvents(){!this.$Electron||(window.__onBeforeUnload=()=>{if(this.$Modal.removeLast())return!0},this.$Electron.registerMsgListener("dispatch",e=>{if(!$A.isJson(e))return;let{action:t,data:r}=e;this.$store.dispatch(t,r)}),this.$Electron.registerMsgListener("browserWindowBlur",e=>{this.$store.state.windowActive=!1}),this.$Electron.registerMsgListener("browserWindowFocus",e=>{this.$store.state.windowActive=!0}),this.iframes.push({key:"manifest",url:$A.apiUrl("../manifest")}),$A.bindScreenshotKey($A.jsonParse(window.localStorage.getItem("__keyboard:data__"))||{}))},eeuiEvents(){!this.$isEEUiApp||(window.__onPagePause=()=>{this.$store.state.windowActive=!1,this.$store.dispatch("getBasicData",-1)},window.__onPageResume=e=>{this.$store.state.windowActive=!0,e>0&&this.$store.dispatch("getBasicData",600)},window.__onNotificationPermissionStatus=e=>{this.$store.state.appNotificationPermission=$A.runNum(e)==1})},otherEvents(){if(!this.isSoftware){const e="hidden"in document?"hidden":"webkitHidden"in document?"webkitHidden":"mozHidden"in document?"mozHidden":null,t=e.replace(/hidden/i,"visibilitychange");document.addEventListener(t,()=>{this.$store.state.windowActive=!document[e]})}}}},fS={};var bz=ri(yz,_z,gz,!1,wz,"ccf0a5d0",null,null);function wz(e){for(let t in fS)this[t]=fS[t]}var Cz=function(){return bz.exports}(),xz=[{name:"index",path:"/",component:()=>kn(()=>import("./index.12fe75c7.js"),["js/build/index.12fe75c7.js","js/build/UpdateLog.3dc5cd8a.js"])},{name:"pro",path:"/pro",component:()=>kn(()=>import("./pro.413ec6f5.js"),["js/build/pro.413ec6f5.js","js/build/pro.26bf0cbb.css","js/build/UpdateLog.3dc5cd8a.js"])},{name:"manage",path:"/manage",component:()=>kn(()=>import("./manage.cf339c66.js"),["js/build/manage.cf339c66.js","js/build/manage.a77f99dc.css","js/build/CheckinExport.058fd78e.js","js/build/CheckinExport.68b4950e.css","js/build/UserInput.ca38ea3c.js","js/build/index.03956335.js","js/build/index.4fc2d335.css","js/build/TEditor.28d6de3c.js","js/build/ImgUpload.8dae08e9.js","js/build/ReportEdit.862ac89e.js","js/build/ReportDetail.8bf290bc.js","js/build/DialogSelect.13f2bf9c.js","js/build/DialogWrapper.1ee2083a.js","js/build/TaskDetail.e91c9282.js","js/build/ProjectLog.f97ce9f6.js","js/build/TaskMenu.382f8823.js"]),children:[{name:"manage-dashboard",path:"dashboard",component:()=>kn(()=>import("./dashboard.5ce7ec00.js"),["js/build/dashboard.5ce7ec00.js","js/build/TaskMenu.382f8823.js"])},{name:"manage-calendar",path:"calendar",component:()=>kn(()=>import("./calendar.2b98d510.js"),["js/build/calendar.2b98d510.js","js/build/calendar.05643a5b.css","js/build/TaskMenu.382f8823.js"])},{name:"manage-messenger",path:"messenger/:dialogAction?",component:()=>kn(()=>import("./messenger.fe5c226c.js"),["js/build/messenger.fe5c226c.js","js/build/DialogWrapper.1ee2083a.js","js/build/DialogSelect.13f2bf9c.js","js/build/UserInput.ca38ea3c.js","js/build/index.03956335.js","js/build/index.4fc2d335.css","js/build/ImgUpload.8dae08e9.js"])},{name:"manage-setting",path:"setting",component:()=>kn(()=>import("./index.f1edfbd3.js"),[]),children:[{name:"manage-setting-personal",path:"personal",component:()=>kn(()=>import("./personal.ca33ed1a.js"),["js/build/personal.ca33ed1a.js","js/build/ImgUpload.8dae08e9.js"])},{name:"manage-setting-checkin",path:"checkin",component:()=>kn(()=>import("./checkin.3faaf45a.js"),["js/build/checkin.3faaf45a.js","js/build/checkin.01811e2e.css"])},{name:"manage-setting-language",path:"language",component:()=>kn(()=>import("./language.a3631794.js"),[])},{name:"manage-setting-theme",path:"theme",component:()=>kn(()=>import("./theme.f1f699eb.js"),[])},{name:"manage-setting-keyboard",path:"keyboard",component:()=>kn(()=>import("./keyboard.6fdea8ad.js"),["js/build/keyboard.6fdea8ad.js","js/build/keyboard.83204363.css"])},{name:"manage-setting-license",path:"license",component:()=>kn(()=>import("./license.ec7859dd.js"),["js/build/license.ec7859dd.js","js/build/license.fe800466.css"])},{name:"manage-setting-password",path:"password",component:()=>kn(()=>import("./password.6b370885.js"),[])},{name:"manage-setting-email",path:"email",component:()=>kn(()=>import("./email.18d0e3e0.js"),[])},{name:"manage-setting-system",path:"system",component:()=>kn(()=>import("./system.bc6e0444.js"),["js/build/system.bc6e0444.js","js/build/index.03956335.js","js/build/index.4fc2d335.css","js/build/CheckinExport.058fd78e.js","js/build/CheckinExport.68b4950e.css","js/build/UserInput.ca38ea3c.js"])},{name:"manage-setting-delete",path:"delete",component:()=>kn(()=>import("./delete.56c99ce6.js"),[])}]},{name:"manage-project-invite",path:"project/invite",component:()=>kn(()=>import("./projectInvite.fd2d96df.js"),["js/build/projectInvite.fd2d96df.js","js/build/projectInvite.c62994fb.css"])},{name:"manage-project",path:"project/:projectId",component:()=>kn(()=>import("./project.99d93326.js"),["js/build/project.99d93326.js","js/build/ProjectLog.f97ce9f6.js","js/build/UserInput.ca38ea3c.js","js/build/TaskMenu.382f8823.js","js/build/index.03956335.js","js/build/index.4fc2d335.css","js/build/DialogWrapper.1ee2083a.js","js/build/DialogSelect.13f2bf9c.js","js/build/ImgUpload.8dae08e9.js"])},{name:"manage-file",path:"file/:folderId?/:fileId?",component:()=>kn(()=>import("./file.9e559479.js"),["js/build/file.9e559479.js","js/build/UserInput.ca38ea3c.js","js/build/index.03956335.js","js/build/index.4fc2d335.css","js/build/DialogSelect.13f2bf9c.js"])}]},{name:"single-file-msg",path:"/single/file/msg/:msgId",component:()=>kn(()=>import("./fileMsg.bdeeabcf.js"),["js/build/fileMsg.bdeeabcf.js","js/build/fileMsg.1a0b76dd.css","js/build/IFrame.fe0c152e.js"])},{name:"single-file-task",path:"/single/file/task/:fileId",component:()=>kn(()=>import("./fileTask.8806fdea.js"),["js/build/fileTask.8806fdea.js","js/build/fileTask.93338ba0.css","js/build/IFrame.fe0c152e.js"])},{name:"single-file",path:"/single/file/:codeOrFileId",component:()=>kn(()=>import("./file.e9bf4a7a.js"),["js/build/file.e9bf4a7a.js","js/build/file.560ab02c.css","js/build/FileContent.f5b4eda8.js","js/build/FileContent.5c6a1e1c.css","js/build/IFrame.fe0c152e.js","js/build/FilePreview.393d5c5f.js"])},{name:"single-task",path:"/single/task/:taskId",component:()=>kn(()=>import("./task.ea1e90d1.js"),["js/build/task.ea1e90d1.js","js/build/task.0d7ca2d3.css","js/build/TaskDetail.e91c9282.js","js/build/TEditor.28d6de3c.js","js/build/ImgUpload.8dae08e9.js","js/build/ProjectLog.f97ce9f6.js","js/build/UserInput.ca38ea3c.js","js/build/DialogWrapper.1ee2083a.js","js/build/DialogSelect.13f2bf9c.js","js/build/index.03956335.js","js/build/index.4fc2d335.css","js/build/TaskMenu.382f8823.js"])},{name:"valid-email",path:"/single/valid/email",component:()=>kn(()=>import("./validEmail.f33be862.js"),["js/build/validEmail.f33be862.js","js/build/validEmail.6e361ca9.css"])},{name:"report-edit",path:"/single/report/edit/:reportEditId",component:()=>kn(()=>import("./reportEdit.e3b4e1c0.js"),["js/build/reportEdit.e3b4e1c0.js","js/build/reportEdit.5c397123.css","js/build/ReportEdit.862ac89e.js","js/build/UserInput.ca38ea3c.js"])},{name:"report-detail",path:"/single/report/detail/:reportDetailId",component:()=>kn(()=>import("./reportDetail.2c03059f.js"),["js/build/reportDetail.2c03059f.js","js/build/reportDetail.c12bef4b.css","js/build/ReportDetail.8bf290bc.js"])},{name:"token",path:"/token",component:()=>kn(()=>import("./token.92606108.js"),["js/build/token.92606108.js","js/build/token.7afc4e00.css"])},{name:"login",path:"/login",component:()=>kn(()=>import("./login.afc3f999.js"),[])},{name:"404",path:"*",component:()=>kn(()=>import("./404.9e328ed1.js"),["js/build/404.9e328ed1.js","js/build/404.d686a01f.css"])}];/*! * vue-router v3.6.5 * (c) 2022 Evan You * @license MIT @@ -228,7 +228,7 @@ Please report this to https://github.com/markedjs/marked.`,(t||Hn.defaults).sile `,pe+="@keyframes "+ue+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }",j(pe)}}function S(Y){Y.className+=" "+g+"_animation_active"}function x(Y,N,W){if(Y.addEventListener)Y.addEventListener(N,W);else if(Y.attachEvent)Y.attachEvent("on"+N,W);else return h.error("[scroll] Don't know how to add event listeners.")}function E(Y,N,W){if(Y.removeEventListener)Y.removeEventListener(N,W);else if(Y.detachEvent)Y.detachEvent("on"+N,W);else return h.error("[scroll] Don't know how to remove event listeners.")}function w(Y){return p(Y).container.childNodes[0].childNodes[0].childNodes[0]}function T(Y){return p(Y).container.childNodes[0].childNodes[0].childNodes[1]}function M(Y,N){var W=p(Y).listeners;if(!W.push)throw new Error("Cannot add listener to an element that is not detectable.");p(Y).listeners.push(N)}function A(Y,N,W){W||(W=N,N=Y,Y=null),Y=Y||{};function j(){if(Y.debug){var Z=Array.prototype.slice.call(arguments);if(Z.unshift(d.get(N),"Scroll: "),h.log.apply)h.log.apply(null,Z);else for(var Pe=0;Pe0?[n._l(n.markList,function(v,m){return d("div",{key:m,class:[n.prefixCls+"-stop"],style:{left:v.position+"%"},on:{click:function(y){return y.target!==y.currentTarget?null:n.sliderClick.apply(null,arguments)}}})}),n._v(" "),d("div",{staticClass:"ivu-slider-marks"},n._l(n.markList,function(v,m){return d("SliderMarker",{key:m,style:{left:v.position+"%"},attrs:{mark:v.mark},nativeOn:{click:function(y){return n.sliderClick.apply(null,arguments)}}})}),1)]:n._e(),n._v(" "),d("div",{class:[n.prefixCls+"-button-wrap"],style:{left:n.minPosition+"%"},on:{touchstart:function(m){return n.onPointerDown(m,"min")},mousedown:function(m){return n.onPointerDown(m,"min")}}},[d("Tooltip",{ref:"minTooltip",attrs:{controlled:n.pointerDown==="min",placement:"top",content:n.tipFormat(n.exportValue[0]),disabled:n.tipDisabled,always:n.showTip==="always"}},[d("div",{class:n.minButtonClasses,attrs:{tabindex:"0"},on:{focus:function(m){return n.handleFocus("min")},blur:function(m){return n.handleBlur("min")},keydown:[function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"left",37,v.key,["Left","ArrowLeft"])||"button"in v&&v.button!==0?null:n.onKeyLeft(v,"min")},function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"down",40,v.key,["Down","ArrowDown"])?null:n.onKeyLeft(v,"min")},function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"right",39,v.key,["Right","ArrowRight"])||"button"in v&&v.button!==2?null:n.onKeyRight(v,"min")},function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"up",38,v.key,["Up","ArrowUp"])?null:n.onKeyRight(v,"min")}]}})])],1),n._v(" "),n.range?d("div",{class:[n.prefixCls+"-button-wrap"],style:{left:n.maxPosition+"%"},on:{touchstart:function(m){return n.onPointerDown(m,"max")},mousedown:function(m){return n.onPointerDown(m,"max")}}},[d("Tooltip",{ref:"maxTooltip",attrs:{controlled:n.pointerDown==="max",placement:"top",content:n.tipFormat(n.exportValue[1]),disabled:n.tipDisabled,always:n.showTip==="always"}},[d("div",{class:n.maxButtonClasses,attrs:{tabindex:"0"},on:{focus:function(m){return n.handleFocus("max")},blur:function(m){return n.handleBlur("max")},keydown:[function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"left",37,v.key,["Left","ArrowLeft"])||"button"in v&&v.button!==0?null:n.onKeyLeft(v,"max")},function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"down",40,v.key,["Down","ArrowDown"])?null:n.onKeyLeft(v,"max")},function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"right",39,v.key,["Right","ArrowRight"])||"button"in v&&v.button!==2?null:n.onKeyRight(v,"max")},function(v){return!v.type.indexOf("key")&&n._k(v.keyCode,"up",38,v.key,["Up","ArrowUp"])?null:n.onKeyRight(v,"max")}]}})])],1):n._e()],2)],1)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(1),c=p(u),h=s(543),n=p(h);function p(g){return g&&g.__esModule?g:{default:g}}var d=void 0;function v(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;return d=d||n.default.newInstance({render:g}),d}function m(g){var y="render"in g?g.render:void 0,b=v(y);b.show(g)}n.default.show=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return m(g)},n.default.hide=function(){var g=this;if(!d)return!1;var y=v();y.remove(function(){(0,c.default)(this,g),d=null}.bind(this))},a.default=n.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(14),c=y(u),h=s(1),n=y(h),p=s(17),d=y(p),v=s(91),m=y(v),g=s(33);function y(O){return O&&O.__esModule?O:{default:O}}function b(){return(0,g.transferIncrease)(),(0,g.getTransferIndex)()}var k=b();m.default.newInstance=function(O){(0,n.default)(void 0,void 0);var S=O||{},x=new d.default({data:(0,c.default)({},S,{}),render:function(M){var A="";return this.render?A=M(m.default,{props:{fix:!0,fullscreen:!0}},[this.render(M)]):A=M(m.default,{props:{size:"large",fix:!0,fullscreen:!0}}),M("div",{class:"ivu-spin-fullscreen ivu-spin-fullscreen-wrapper",style:{"z-index":(0,g.hasTransferIndex)(k,2010+k)}},[A])}}),E=x.$mount();document.body.appendChild(E.$el);var w=x.$children[0];return{show:function(){w.visible=!0,k=b()},remove:function(M){w.visible=!1,setTimeout(function(){w.$parent.$destroy(),document.getElementsByClassName("ivu-spin-fullscreen")[0]!==void 0&&document.body.removeChild(document.getElementsByClassName("ivu-spin-fullscreen")[0]),M()},500)},component:w}}.bind(void 0),a.default=m.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(545),c=p(u),h=s(547),n=p(h);function p(d){return d&&d.__esModule?d:{default:d}}c.default.Step=n.default,a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(232),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(546);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.classes},[n._t("default")],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(233),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(548);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.wrapClasses},[d("div",{class:[n.prefixCls+"-tail"]},[d("i")]),n._v(" "),d("div",{class:[n.prefixCls+"-head"]},[d("div",{class:[n.prefixCls+"-head-inner"]},[!n.icon&&!n.$slots.icon&&n.currentStatus!=="finish"&&n.currentStatus!=="error"?d("span",[n._v(n._s(n.stepNumber))]):n.$slots.icon?d("span",{staticClass:"ivu-steps-icon"},[n._t("icon")],2):d("span",{class:n.iconClasses})])]),n._v(" "),d("div",{class:[n.prefixCls+"-main"]},[d("div",{class:[n.prefixCls+"-title"]},[n._t("title",function(){return[n._v(n._s(n.title))]})],2),n._v(" "),n.content||n.$slots.content?d("div",{class:[n.prefixCls+"-content"]},[n._t("content",function(){return[n._v(n._s(n.content))]})],2):n._e()])])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(550),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(234),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(551);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("span",{class:n.wrapClasses,style:n.wrapStyles,attrs:{tabindex:"0"},on:{click:n.toggle,keydown:function(m){return!m.type.indexOf("key")&&n._k(m.keyCode,"space",32,m.key,[" ","Spacebar"])?null:n.toggle.apply(null,arguments)}}},[d("input",{attrs:{type:"hidden",name:n.name},domProps:{value:n.currentValue}}),n._v(" "),d("span",{class:n.innerClasses},[n.currentValue===n.trueValue?n._t("open"):n._e(),n._v(" "),n.currentValue===n.falseValue?n._t("close"):n._e()],2)])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(553),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(235),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(583);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){i.exports={default:s(555),__esModule:!0}},function(i,a,s){s(79),s(36),s(46),s(556),s(562),s(565),s(567),i.exports=s(5).Set},function(i,a,s){var u=s(557),c=s(236),h="Set";i.exports=s(558)(h,function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},{add:function(p){return u.def(c(this,h),p=p===0?0:p,p)}},u)},function(i,a,s){var u=s(16).f,c=s(55),h=s(90),n=s(25),p=s(88),d=s(51),v=s(72),m=s(102),g=s(190),y=s(13),b=s(77).fastKey,k=s(236),O=y?"_s":"size",S=function(x,E){var w=b(E),T;if(w!=="F")return x._i[w];for(T=x._f;T;T=T.n)if(T.k==E)return T};i.exports={getConstructor:function(x,E,w,T){var M=x(function(A,L){p(A,M,E,"_i"),A._t=E,A._i=c(null),A._f=void 0,A._l=void 0,A[O]=0,L!=null&&d(L,w,A[T],A)});return h(M.prototype,{clear:function(){for(var L=k(this,E),Y=L._i,N=L._f;N;N=N.n)N.r=!0,N.p&&(N.p=N.p.n=void 0),delete Y[N.i];L._f=L._l=void 0,L[O]=0},delete:function(A){var L=k(this,E),Y=S(L,A);if(Y){var N=Y.n,W=Y.p;delete L._i[Y.i],Y.r=!0,W&&(W.n=N),N&&(N.p=W),L._f==Y&&(L._f=N),L._l==Y&&(L._l=W),L[O]--}return!!Y},forEach:function(L){k(this,E);for(var Y=n(L,arguments.length>1?arguments[1]:void 0,3),N;N=N?N.n:this._f;)for(Y(N.v,N.k,this);N&&N.r;)N=N.p},has:function(L){return!!S(k(this,E),L)}}),y&&u(M.prototype,"size",{get:function(){return k(this,E)[O]}}),M},def:function(x,E,w){var T=S(x,E),M,A;return T?T.v=w:(x._l=T={i:A=b(E,!0),k:E,v:w,p:M=x._l,n:void 0,r:!1},x._f||(x._f=T),M&&(M.n=T),x[O]++,A!=="F"&&(x._i[A]=T)),x},getEntry:S,setStrong:function(x,E,w){v(x,E,function(T,M){this._t=k(T,E),this._k=M,this._l=void 0},function(){for(var T=this,M=T._k,A=T._l;A&&A.r;)A=A.p;return!T._t||!(T._l=A=A?A.n:T._t._f)?(T._t=void 0,m(1)):M=="keys"?m(0,A.k):M=="values"?m(0,A.v):m(0,[A.k,A.v])},w?"entries":"values",!w,!0),g(E)}}},function(i,a,s){var u=s(9),c=s(7),h=s(77),n=s(31),p=s(26),d=s(90),v=s(51),m=s(88),g=s(19),y=s(47),b=s(16).f,k=s(559)(0),O=s(13);i.exports=function(S,x,E,w,T,M){var A=u[S],L=A,Y=T?"set":"add",N=L&&L.prototype,W={};return!O||typeof L!="function"||!(M||N.forEach&&!n(function(){new L().entries().next()}))?(L=w.getConstructor(x,S,T,Y),d(L.prototype,E),h.NEED=!0):(L=x(function(j,ue){m(j,L,S,"_c"),j._c=new A,ue!=null&&v(ue,T,j[Y],j)}),k("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(j){var ue=j=="add"||j=="set";j in N&&!(M&&j=="clear")&&p(L.prototype,j,function(Te,pe){if(m(this,L,j),!ue&&M&&!g(Te))return j=="get"?void 0:!1;var ye=this._c[j](Te===0?0:Te,pe);return ue?this:ye})}),M||b(L.prototype,"size",{get:function(){return this._c.size}})),y(L,S),W[S]=L,c(c.G+c.W+c.F,W),M||w.setStrong(L,S,T),L}},function(i,a,s){var u=s(25),c=s(64),h=s(29),n=s(52),p=s(560);i.exports=function(d,v){var m=d==1,g=d==2,y=d==3,b=d==4,k=d==6,O=d==5||k,S=v||p;return function(x,E,w){for(var T=h(x),M=c(T),A=u(E,w,3),L=n(M.length),Y=0,N=m?S(x,L):g?S(x,0):void 0,W,j;L>Y;Y++)if((O||Y in M)&&(W=M[Y],j=A(W,Y,T),d)){if(m)N[Y]=j;else if(j)switch(d){case 3:return!0;case 5:return W;case 6:return Y;case 2:N.push(W)}else if(b)return!1}return k?-1:y||b?b:N}}},function(i,a,s){var u=s(561);i.exports=function(c,h){return new(u(c))(h)}},function(i,a,s){var u=s(19),c=s(111),h=s(10)("species");i.exports=function(n){var p;return c(n)&&(p=n.constructor,typeof p=="function"&&(p===Array||c(p.prototype))&&(p=void 0),u(p)&&(p=p[h],p===null&&(p=void 0))),p===void 0?Array:p}},function(i,a,s){var u=s(7);u(u.P+u.R,"Set",{toJSON:s(563)("Set")})},function(i,a,s){var u=s(56),c=s(564);i.exports=function(h){return function(){if(u(this)!=h)throw TypeError(h+"#toJSON isn't generic");return c(this)}}},function(i,a,s){var u=s(51);i.exports=function(c,h){var n=[];return u(c,!1,n.push,n,h),n}},function(i,a,s){s(566)("Set")},function(i,a,s){var u=s(7);i.exports=function(c){u(u.S,c,{of:function(){for(var n=arguments.length,p=new Array(n);n--;)p[n]=arguments[n];return new this(p)}})}},function(i,a,s){s(568)("Set")},function(i,a,s){var u=s(7),c=s(43),h=s(25),n=s(51);i.exports=function(p){u(u.S,p,{from:function(v){var m=arguments[1],g,y,b,k;return c(this),g=m!==void 0,g&&c(m),v==null?new this:(y=[],g?(b=0,k=h(m,arguments[2],2),n(v,!1,function(O){y.push(k(O,b++))})):n(v,!1,y.push,y),new this(y))}})}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(237),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(571);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(1),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default={name:"TableRenderHeader",functional:!0,props:{render:Function,column:Object,index:Number},render:function(p,d){(0,c.default)(void 0,void 0);var v={column:d.props.column,index:d.props.index};return d.props.render(p,v)}.bind(void 0)}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("table",{style:n.styles,attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[d("colgroup",[n._l(n.columns,function(v,m){return d("col",{attrs:{width:n.setCellWidth(v)}})}),n._v(" "),n.$parent.showVerticalScrollBar?d("col",{attrs:{width:n.$parent.scrollBarWidth}}):n._e()],2),n._v(" "),d("thead",n._l(n.headRows,function(v,m){return d("tr",[n._l(v,function(g,y){var b;return d("th",{class:n.alignCls(g),attrs:{colspan:g.colSpan,rowspan:g.rowSpan}},[d("div",{class:n.cellClasses(g)},[g.type==="expand"?[g.renderHeader?d("render-header",{attrs:{render:g.renderHeader,column:g,index:y}}):d("span",[n._v(n._s(g.title||""))])]:g.type==="selection"?[g.hideSelectAll?n._e():d("Checkbox",{attrs:{value:n.isSelectAll,disabled:n.isSelectDisabled},on:{"on-change":n.selectAll}})]:[g.renderHeader?d("render-header",{attrs:{render:g.renderHeader,column:g,index:y}}):d("span",{class:(b={},b[n.prefixCls+"-cell-sort"]=g.sortable,b),on:{click:function(O){g.sortable&&n.handleSortByHead(n.getColumn(m,y)._index)}}},[n._v(n._s(g.title||"#"))]),n._v(" "),g.sortable?d("span",{class:[n.prefixCls+"-sort"]},[d("i",{staticClass:"ivu-icon ivu-icon-md-arrow-dropup",class:{on:n.getColumn(m,y)._sortType==="asc"},on:{click:function(O){n.handleSort(n.getColumn(m,y)._index,"asc")}}}),n._v(" "),d("i",{staticClass:"ivu-icon ivu-icon-md-arrow-dropdown",class:{on:n.getColumn(m,y)._sortType==="desc"},on:{click:function(O){n.handleSort(n.getColumn(m,y)._index,"desc")}}})]):n._e(),n._v(" "),n.isPopperShow(g)?d("Poptip",{attrs:{placement:"bottom","popper-class":"ivu-table-popper",transfer:"",capture:!1},on:{"on-popper-hide":function(O){n.handleFilterHide(n.getColumn(m,y)._index)}},model:{value:n.getColumn(m,y)._filterVisible,callback:function(O){n.$set(n.getColumn(m,y),"_filterVisible",O)},expression:"getColumn(rowIndex, index)._filterVisible"}},[d("span",{class:[n.prefixCls+"-filter"]},[d("i",{staticClass:"ivu-icon ivu-icon-ios-funnel",class:{on:n.getColumn(m,y)._isFiltered}})]),n._v(" "),n.getColumn(m,y)._filterMultiple?d("div",{class:[n.prefixCls+"-filter-list"],attrs:{slot:"content"},slot:"content"},[d("div",{class:[n.prefixCls+"-filter-list-item"]},[d("checkbox-group",{model:{value:n.getColumn(m,y)._filterChecked,callback:function(O){n.$set(n.getColumn(m,y),"_filterChecked",O)},expression:"getColumn(rowIndex, index)._filterChecked"}},n._l(g.filters,function(k,O){return d("checkbox",{key:O,attrs:{label:k.value}},[n._v(n._s(k.label))])}),1)],1),n._v(" "),d("div",{class:[n.prefixCls+"-filter-footer"]},[d("i-button",{attrs:{type:"text",size:"small",disabled:!n.getColumn(m,y)._filterChecked.length},nativeOn:{click:function(O){n.handleFilter(n.getColumn(m,y)._index)}}},[n._v(n._s(n.t("i.table.confirmFilter")))]),n._v(" "),d("i-button",{attrs:{type:"text",size:"small"},nativeOn:{click:function(O){n.handleReset(n.getColumn(m,y)._index)}}},[n._v(n._s(n.t("i.table.resetFilter")))])],1)]):d("div",{class:[n.prefixCls+"-filter-list"],attrs:{slot:"content"},slot:"content"},[d("ul",{class:[n.prefixCls+"-filter-list-single"]},[d("li",{class:n.itemAllClasses(n.getColumn(m,y)),on:{click:function(O){n.handleReset(n.getColumn(m,y)._index)}}},[n._v(n._s(n.t("i.table.clearFilter")))]),n._v(" "),n._l(g.filters,function(k){return d("li",{class:n.itemClasses(n.getColumn(m,y),k),on:{click:function(S){n.handleSelect(n.getColumn(m,y)._index,k.value)}}},[n._v(n._s(k.label))])})],2)])]):n._e()]],2),n._v(" "),g.resizable?d("div",{staticClass:"ivu-table-header-resizable",on:{mousedown:function(O){return n.handleMouseDown(g,O)},mousemove:function(O){return n.handleMouseMove(g,O)},mouseout:n.handleMouseOut}}):n._e()])}),n._v(" "),n.$parent.showVerticalScrollBar&&m===0?d("th",{class:n.scrollBarCellClass(),attrs:{rowspan:n.headRows.length}}):n._e()],2)}),0)])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(238),c=s.n(u);for(var h in u)h!=="default"&&function(k){s.d(a,k,function(){return u[k]})}(h);var n=s(0),p,d,v=!1,m=null,g=null,y=null,b=Object(n.a)(c.a,p,d,v,m,g,y);a.default=b.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(239),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(574);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return n.draggable?d("tr",{class:n.rowClasses(n.row._index),attrs:{draggable:n.draggable},on:{dragstart:function(m){return n.onDrag(m,n.row._index)},drop:function(m){return n.onDrop(m,n.row._index)},dragover:function(m){return n.allowDrop(m)}}},[n._t("default")],2):d("tr",{class:n.rowClasses(n.row._index),attrs:{draggable:!1}},[n._t("default")],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(240),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(577);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(1),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default={name:"TableSlot",functional:!0,inject:["tableRoot"],props:{row:Object,index:Number,column:{type:Object,default:null},display:{type:String,default:"block"}},render:function(p,d){return(0,c.default)(void 0,void 0),p("div",{class:{"ivu-table-cell-slot":!0,"ivu-table-cell-slot-inline":d.props.display==="inline","ivu-table-cell-slot-inline-block":d.props.display==="inline-block"}},d.injections.tableRoot.$scopedSlots[d.props.column.slot]({row:d.props.row,column:d.props.column,index:d.props.index}))}.bind(void 0)}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{ref:"cell",class:n.classes},[n.renderType==="index"?[d("span",[n._v(n._s(n.column.indexMethod?n.column.indexMethod(n.row,n.naturalIndex):n.naturalIndex+1))])]:n._e(),n._v(" "),n.renderType==="selection"?[d("Checkbox",{attrs:{value:n.checked,disabled:n.disabled},on:{"on-change":n.toggleSelect},nativeOn:{click:function(m){return m.stopPropagation(),n.handleClick.apply(null,arguments)}}})]:n._e(),n._v(" "),n.showLevel?d("div",{staticClass:"ivu-table-cell-tree-level",style:n.treeLevelStyle}):n._e(),n._v(" "),n.showChildren?d("div",{staticClass:"ivu-table-cell-tree",class:{"ivu-table-cell-tree-loading":n.childrenLoading},on:{click:function(m){return m.preventDefault(),m.stopPropagation(),n.handleToggleTree.apply(null,arguments)}}},[n.childrenLoading?d("Icon",{staticClass:"ivu-load-loop",attrs:{type:"ios-loading"}}):n.childrenExpand?d("Icon",{attrs:{type:"ios-remove"}}):d("Icon",{attrs:{type:"ios-add"}})],1):n.showTreeNode?d("div",{staticClass:"ivu-table-cell-tree ivu-table-cell-tree-empty"}):n._e(),n._v(" "),n.renderType==="html"?[d("span",{domProps:{innerHTML:n._s(n.row[n.column.key])}})]:n._e(),n._v(" "),n.renderType==="normal"?[n.column.tooltip?[d("Tooltip",{staticClass:"ivu-table-cell-tooltip",attrs:{transfer:"",content:n.row[n.column.key],theme:n.column.tooltipTheme?n.column.tooltipTheme:n.tableRoot.tooltipTheme,disabled:!n.showTooltip,"max-width":n.column.tooltipMaxWidth?n.column.tooltipMaxWidth:n.tableRoot.tooltipMaxWidth}},[d("span",{ref:"content",staticClass:"ivu-table-cell-tooltip-content",on:{mouseenter:n.handleTooltipIn}},[n._v(n._s(n.row[n.column.key]))])])]:d("span",[n._v(n._s(n.row[n.column.key]))])]:n._e(),n._v(" "),n.renderType==="expand"&&!n.row._disableExpand?[d("div",{class:n.expandCls,on:{click:n.toggleExpand}},[d("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]:n._e(),n._v(" "),n.renderType==="render"?d("table-expand",{attrs:{row:n.row,column:n.column,index:n.index,render:n.column.render}}):n._e(),n._v(" "),n.renderType==="slot"?d("table-slot",{attrs:{row:n.row,column:n.column,display:n.column.display||"block",index:n.index}}):n._e()],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(242),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(579);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{staticStyle:{overflow:"hidden"}},[d("table",{staticClass:"ivu-table-summary",style:n.styleObject,attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[d("colgroup",n._l(n.columns,function(v,m){return d("col",{attrs:{width:n.setCellWidth(v)}})}),0),n._v(" "),d("tbody",{class:[n.prefixCls+"-tbody"]},[d("tr",{staticClass:"ivu-table-row"},n._l(n.columns,function(v,m){return d("td",{class:n.alignCls(v)},[d("div",{staticClass:"ivu-table-cell",class:n.cellCls(v)},[d("span",[n._v(n._s(n.data[v.key].value))])])])}),0)])])])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(22),c=v(u),h=s(14),n=v(h),p=s(1),d=v(p);a.default=b;function v(k){return k&&k.__esModule?k:{default:k}}var m=`\r `,g=function(k,O,S){var x=S.separator,E=S.quoted;(0,d.default)(void 0,void 0);var w=O.map(function(T){return(0,d.default)(void 0,void 0),E?(T=typeof T=="string"?T.replace(/"/g,'"'):T,'"'+String(T)+'"'):T}.bind(void 0));k.push(w.join(x))}.bind(void 0),y={separator:",",quoted:!1};function b(k,O,S){var x=this,E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;S=(0,n.default)({},y,S);var w=void 0,T=[],M=[];return k?(w=k.map(function(A){return(0,d.default)(this,x),typeof A=="string"?A:(E||M.push(typeof A.title!="undefined"?A.title:A.key),A.key)}.bind(this)),M.length>0&&g(T,M,S)):(w=[],O.forEach(function(A){(0,d.default)(this,x),Array.isArray(A)||(w=w.concat((0,c.default)(A)))}.bind(this)),w.length>0&&(w=w.filter(function(A,L,Y){return(0,d.default)(this,x),Y.indexOf(A)===L}.bind(this)),E||g(T,w,S))),Array.isArray(O)&&O.forEach(function(A){(0,d.default)(this,x),Array.isArray(A)||(A=w.map(function(L){return(0,d.default)(this,x),typeof A[L]!="undefined"?A[L]:""}.bind(this))),g(T,A,S)}.bind(this)),T.join(m)}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});function u(h){var n=navigator.userAgent;if(h==="ie"){var p=n.indexOf("compatible")>-1&&n.indexOf("MSIE")>-1;if(p){var d=new RegExp("MSIE (\\d+\\.\\d+);");return d.test(n),parseFloat(RegExp.$1)}else return!1}else return n.indexOf(h)>-1}var c={_isIE11:function(){var n=0,p=/MSIE (\d+\.\d+);/.test(navigator.userAgent),d=!!navigator.userAgent.match(/Trident\/7.0/),v=navigator.userAgent.indexOf("rv:11.0");return p&&(n=Number(RegExp.$1)),navigator.appVersion.indexOf("MSIE 10")!==-1&&(n=10),d&&v!==-1&&(n=11),n===11},_isEdge:function(){return/Edge/.test(navigator.userAgent)},_getDownloadUrl:function(n){var p="\uFEFF";if(window.Blob&&window.URL&&window.URL.createObjectURL){var d=new Blob([p+n],{type:"text/csv"});return URL.createObjectURL(d)}else return"data:attachment/csv;charset=utf-8,"+p+encodeURIComponent(n)},download:function(n,p){if(u("ie")&&u("ie")<10){var d=window.top.open("about:blank","_blank");d.document.charset="utf-8",d.document.write(p),d.document.close(),d.document.execCommand("SaveAs",n),d.close()}else if(u("ie")===10||this._isIE11()||this._isEdge()){var v="\uFEFF",m=new Blob([v+p],{type:"text/csv"});navigator.msSaveBlob(m,n)}else{var g=document.createElement("a");g.download=n,g.href=this._getDownloadUrl(p),document.body.appendChild(g),g.click(),document.body.removeChild(g)}}};a.default=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0}),a.getRandomStr=a.convertToRows=a.getAllColumns=a.convertColumnOrder=void 0;var u=s(1),c=n(u),h=s(3);function n(g){return g&&g.__esModule?g:{default:g}}var p=function(g,y){(0,c.default)(void 0,void 0);var b=[],k=[];return g.forEach(function(O){(0,c.default)(void 0,void 0),O.fixed&&O.fixed===y?b.push(O):k.push(O)}.bind(void 0)),b.concat(k)}.bind(void 0);a.convertColumnOrder=p;var d=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,c.default)(void 0,void 0);var b=(0,h.deepCopy)(g),k=[];return b.forEach(function(O){(0,c.default)(void 0,void 0),O.children?(y&&k.push(O),k.push.apply(k,d(O.children,y))):k.push(O)}.bind(void 0)),k}.bind(void 0);a.getAllColumns=d;var v=function(g){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,c.default)(void 0,void 0);var b=y?y==="left"?(0,h.deepCopy)(p(g,"left")):(0,h.deepCopy)(p(g,"right")):(0,h.deepCopy)(g),k=1,O=function(w,T){if((0,c.default)(void 0,void 0),T&&(w.level=T.level+1,k0&&arguments[0]!==void 0?arguments[0]:32,b="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",k=b.length,O="",S=0;S=6e4&&k<36e5?O=Math.floor(k/6e4)+(g("i.time.minutes")||"\u5206\u949F")+S:k>=36e5&&k<864e5?O=Math.floor(k/36e5)+(g("i.time.hours")||"\u5C0F\u65F6")+S:k>=864e5&&k<262386e4?O=Math.floor(k/864e5)+(g("i.time.days")||"\u5929")+S:k>=262386e4&&k<=3156786e4&&b?O=d(m):O=d(m,"year"),O}.bind(void 0)},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("span",{class:n.classes,on:{click:n.handleClick}},[n._v(n._s(n.date))])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(597),c=p(u),h=s(599),n=p(h);function p(d){return d&&d.__esModule?d:{default:d}}c.default.Item=n.default,a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(247),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(598);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("ul",{class:n.classes},[n._t("default")],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(248),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(600);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("li",{class:n.itemClasses},[d("div",{class:n.tailClasses}),n._v(" "),d("div",{ref:"dot",class:n.headClasses,style:n.customColor},[n._t("dot")],2),n._v(" "),d("div",{class:n.contentClasses},[n._t("default")],2)])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(602),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(1),c=k(u),h=s(157),n=k(h),p=s(166),d=k(p),v=s(175),m=k(v),g=s(58),y=k(g),b=s(3);function k(O){return O&&O.__esModule?O:{default:O}}a.default={mixins:[n.default,y.default],components:{TimePickerPanel:d.default,RangeTimePickerPanel:m.default},props:{type:{validator:function(S){return(0,b.oneOf)(S,["time","timerange"])},default:"time"}},computed:{panel:function(){var S=this.type==="timerange";return S?"RangeTimePickerPanel":"TimePickerPanel"},ownPickerProps:function(){return{disabledHours:this.disabledHours,disabledMinutes:this.disabledMinutes,disabledSeconds:this.disabledSeconds,hideDisabledOptions:this.hideDisabledOptions}}},watch:{visible:function(S){var x=this;S&&this.$nextTick(function(){(0,c.default)(this,x);var E=(0,b.findComponentsDownward)(this,"TimeSpinner");E.forEach(function(w){return(0,c.default)(this,x),w.updateScroll()}.bind(this))}.bind(this))}}}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(93),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(605),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(249),c=s.n(u);for(var h in u)h!=="default"&&function(k){s.d(a,k,function(){return u[k]})}(h);var n=s(0),p,d,v=!1,m=null,g=null,y=null,b=Object(n.a)(c.a,p,d,v,m,g,y);a.default=b.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(250),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(609);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(251),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(608);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.prefixCls},[d("i-input",{attrs:{size:"small",icon:n.icon,placeholder:n.placeholder},on:{"on-click":n.handleClick},model:{value:n.currentQuery,callback:function(m){n.currentQuery=m},expression:"currentQuery"}})],1)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.classes,style:n.listStyle},[d("div",{class:n.prefixCls+"-header"},[d("Checkbox",{attrs:{value:n.checkedAll,disabled:n.checkedAllDisabled},on:{"on-change":n.toggleSelectAll}}),n._v(" "),d("span",{class:n.prefixCls+"-header-title",on:{click:function(m){return n.toggleSelectAll(!n.checkedAll)}}},[n._v(n._s(n.title))]),n._v(" "),d("span",{class:n.prefixCls+"-header-count"},[n._v(n._s(n.count))])],1),n._v(" "),d("div",{class:n.bodyClasses},[n.filterable?d("div",{class:n.prefixCls+"-body-search-wrapper"},[d("Search",{attrs:{"prefix-cls":n.prefixCls+"-search",query:n.query,placeholder:n.filterPlaceholder},on:{"on-query-clear":n.handleQueryClear,"on-query-change":n.handleQueryChange}})],1):n._e(),n._v(" "),d("ul",{class:n.prefixCls+"-content"},[n._l(n.filterData,function(v){return d("li",{class:n.itemClasses(v),on:{click:function(g){return g.preventDefault(),n.select(v)}}},[d("Checkbox",{attrs:{value:n.isCheck(v),disabled:v.disabled}}),n._v(" "),d("span",{domProps:{innerHTML:n._s(n.showLabel(v))}})],1)}),n._v(" "),d("li",{class:n.prefixCls+"-content-not-found"},[n._v(n._s(n.notFoundText))])],2)]),n._v(" "),n.showFooter?d("div",{class:n.prefixCls+"-footer"},[n._t("default")],2):n._e()])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(252),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(611);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.prefixCls+"-operation"},[n.reverseOperation?[d("i-button",{attrs:{type:"primary",size:"small",disabled:!n.leftActive},nativeOn:{click:function(m){return n.moveToRight.apply(null,arguments)}}},[d("span",[n._v(n._s(n.operations[1]))]),n._v(" "),d("Icon",{attrs:{type:"ios-arrow-forward"}})],1),n._v(" "),d("i-button",{attrs:{type:"primary",size:"small",disabled:!n.rightActive},nativeOn:{click:function(m){return n.moveToLeft.apply(null,arguments)}}},[d("Icon",{attrs:{type:"ios-arrow-back"}}),n._v(" "),d("span",[n._v(n._s(n.operations[0]))])],1)]:[d("i-button",{attrs:{type:"primary",size:"small",disabled:!n.rightActive},nativeOn:{click:function(m){return n.moveToLeft.apply(null,arguments)}}},[d("Icon",{attrs:{type:"ios-arrow-back"}}),n._v(" "),d("span",[n._v(n._s(n.operations[0]))])],1),n._v(" "),d("i-button",{attrs:{type:"primary",size:"small",disabled:!n.leftActive},nativeOn:{click:function(m){return n.moveToRight.apply(null,arguments)}}},[d("span",[n._v(n._s(n.operations[1]))]),n._v(" "),d("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(613),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(253),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(617);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(254),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(616);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(1),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default={name:"RenderCell",functional:!0,props:{render:Function,data:Object,node:Array},render:function(p,d){(0,c.default)(void 0,void 0);var v={root:d.props.node[0],node:d.props.node[1],data:d.props.data};return d.props.render(p,v)}.bind(void 0)}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("collapse-transition",{attrs:{appear:n.appear}},[d("ul",{class:n.classes},[d("li",{on:{contextmenu:function(m){return m.stopPropagation(),n.handleContextmenu(n.data,m)},selectstart:function(m){return m.stopPropagation(),n.handlePreventSelect(n.data,m)}}},[d("span",{class:n.arrowClasses,on:{click:n.handleExpand}},[n.showArrow?d("Icon",{attrs:{type:n.arrowType,custom:n.customArrowType,size:n.arrowSize}}):n._e(),n._v(" "),n.showLoading?d("Icon",{staticClass:"ivu-load-loop",attrs:{type:"ios-loading"}}):n._e()],1),n._v(" "),n.showCheckbox?d("Checkbox",{attrs:{value:n.data.checked,indeterminate:n.data.indeterminate,disabled:n.data.disabled||n.data.disableCheckbox},nativeOn:{click:function(m){return m.preventDefault(),n.handleCheck.apply(null,arguments)}}}):n._e(),n._v(" "),d("span",{class:n.titleClasses,on:{click:n.handleClickNode}},[n.data.render?d("Render",{attrs:{render:n.data.render,data:n.data,node:n.node}}):n.isParentRender?d("Render",{attrs:{render:n.parentRender,data:n.data,node:n.node}}):[n._v(n._s(n.data.title))]],2),n._v(" "),n._l(n.children,function(v,m){return n.data.expand?d("Tree-node",{key:m,attrs:{appear:n.appearByClickArrow,data:v,multiple:n.multiple,"show-checkbox":n.showCheckbox,"children-key":n.childrenKey}}):n._e()})],2)])])},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{ref:"treeWrap",class:n.prefixCls},[n._l(n.stateTree,function(v,m){return d("Tree-node",{key:m,attrs:{data:v,visible:"",multiple:n.multiple,"show-checkbox":n.showCheckbox,"children-key":n.childrenKey}})}),n._v(" "),n.stateTree.length?n._e():d("div",{class:[n.prefixCls+"-empty"]},[n._v(n._s(n.localeEmptyText))]),n._v(" "),d("div",{staticClass:"ivu-tree-context-menu",style:n.contextMenuStyles},[d("Dropdown",{attrs:{trigger:"custom",visible:n.contextMenuVisible,transfer:""},on:{"on-clickoutside":n.handleClickContextMenuOutside}},[d("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[n._t("contextMenu")],2)],1)],1)],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(619),c=h(u);function h(n){return n&&n.__esModule?n:{default:n}}a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(255),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(623);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(256),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(621);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("ul",{class:[n.prefixCls+"-list"]},n._l(n.files,function(v){return d("li",{class:n.fileCls(v),on:{click:function(g){return n.handleClick(v)}}},[d("span",{on:{click:function(g){return n.handlePreview(v)}}},[d("Icon",{attrs:{type:n.format(v)}}),n._v(" "+n._s(v.name)+` `)],1),n._v(" "),d("Icon",{directives:[{name:"show",rawName:"v-show",value:v.status==="finished",expression:"file.status === 'finished'"}],class:[n.prefixCls+"-list-remove"],attrs:{type:"ios-close"},nativeOn:{click:function(g){return n.handleRemove(v)}}}),n._v(" "),d("transition",{attrs:{name:"fade"}},[v.showProgress?d("i-progress",{attrs:{"stroke-width":2,percent:n.parsePercentage(v.percentage),status:v.status==="finished"&&v.showProgress?"success":"normal"}}):n._e()],1)],1)}),0)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(1),c=p(u),h=s(22),n=p(h);a.default=m;function p(g){return g&&g.__esModule?g:{default:g}}function d(g,y,b){var k="fail to post "+String(g)+" "+String(b.status)+"'",O=new Error(k);return O.status=b.status,O.method="post",O.url=g,O}function v(g){var y=g.responseText||g.response;if(!y)return y;try{return JSON.parse(y)}catch{return y}}function m(g){var y=this;if(typeof XMLHttpRequest!="undefined"){var b=new XMLHttpRequest,k=g.action;b.upload&&(b.upload.onprogress=function(w){w.total>0&&(w.percent=w.loaded/w.total*100),g.onProgress(w)});var O=new FormData;g.data&&(0,n.default)(g.data).map(function(E){(0,c.default)(this,y),O.append(E,g.data[E])}.bind(this)),O.append(g.filename,g.file),b.onerror=function(w){g.onError(w)},b.onload=function(){if(b.status<200||b.status>=300)return g.onError(d(k,g,b),v(b));g.onSuccess(v(b))},b.open("post",k,!0),g.withCredentials&&"withCredentials"in b&&(b.withCredentials=!0);var S=g.headers||{};for(var x in S)S.hasOwnProperty(x)&&S[x]!==null&&b.setRequestHeader(x,S[x]);b.send(O)}}},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:[n.prefixCls]},[d("div",{class:n.classes,on:{click:n.handleClick,drop:function(m){return m.preventDefault(),n.onDrop.apply(null,arguments)},paste:n.handlePaste,dragover:function(m){m.preventDefault(),n.dragOver=!0},dragleave:function(m){m.preventDefault(),n.dragOver=!1}}},[d("input",{ref:"input",class:[n.prefixCls+"-input"],attrs:{type:"file",multiple:n.multiple,webkitdirectory:n.webkitdirectory,accept:n.accept},on:{change:n.handleChange}}),n._v(" "),n._t("default")],2),n._v(" "),n._t("tip"),n._v(" "),n.showUploadList?d("upload-list",{attrs:{files:n.fileList},on:{"on-file-remove":n.handleRemove,"on-file-preview":n.handlePreview}}):n._e()],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0}),a.Col=a.Row=void 0;var u=s(625),c=p(u),h=s(627),n=p(h);function p(d){return d&&d.__esModule?d:{default:d}}a.Row=c.default,a.Col=n.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(257),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(626);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.classes,style:n.styles},[n._t("default")],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(258),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(628);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("div",{class:n.classes,style:n.styles},[n._t("default")],2)},c=[];a.render=u,a.staticRenderFns=c},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0}),a.OptionGroup=a.Option=a.Select=void 0;var u=s(74),c=v(u),h=s(81),n=v(h),p=s(630),d=v(p);function v(m){return m&&m.__esModule?m:{default:m}}a.Select=c.default,a.Option=n.default,a.OptionGroup=d.default,a.default=c.default},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=s(259),c=s.n(u);for(var h in u)h!=="default"&&function(b){s.d(a,b,function(){return u[b]})}(h);var n=s(631);s.n(n);var p=s(0),d=!1,v=null,m=null,g=null,y=Object(p.a)(c.a,n.render,n.staticRenderFns,d,v,m,g);a.default=y.exports},function(i,a,s){Object.defineProperty(a,"__esModule",{value:!0});var u=function(){var n=this,p=n.$createElement,d=n._self._c||p;return d("li",{directives:[{name:"show",rawName:"v-show",value:!n.hidden,expression:"!hidden"}],class:[n.prefixCls+"-wrap"]},[d("div",{class:[n.prefixCls+"-title"]},[n._v(n._s(n.label))]),n._v(" "),d("ul",[d("li",{ref:"options",class:[n.prefixCls]},[n._t("default")],2)])])},c=[];a.render=u,a.staticRenderFns=c}])})})(h6);var ea=r$(h6.exports),Ej={clientId:"",supportTouch:"ontouchend"in document,windowWidth:$A(window).width(),windowHeight:$A(window).height(),windowScrollY:0,windowLarge:$A(window).width()>768,windowSmall:$A(window).width()<=768,windowActive:!0,appNotificationPermission:!0,audioPlaying:null,routeHistorys:[],routeHistoryLast:{},callAt:[],loads:[],loadDashboardTasks:!1,loadUserBasic:!1,loadProjects:0,loadDialogs:0,floatSpinnerTimer:[],floatSpinnerLoad:0,touchBackInProgress:!1,cacheUserActive:{},cacheUserWait:[],cacheUserBasic:[],cacheDialogs:[],cacheProjects:[],cacheColumns:[],cacheTasks:[],cacheProjectParameter:[],cacheTaskBrowse:[],cacheEmojis:[],cacheServerUrl:"",ajaxWsReady:!1,ajaxWsListener:[],ajaxNetworkException:!1,ws:null,wsMsg:{},wsCall:{},wsTimeout:null,wsRandom:0,wsOpenNum:0,wsListener:{},wsReadTimeout:null,wsReadWaitData:{},userInfo:{},userId:0,userToken:"",userIsAdmin:!1,userOnline:{},userAvatar:{},dialogId:0,dialogSearchMsgId:0,dialogIns:[],dialogMsgs:[],dialogTodos:[],dialogHistory:[],dialogDraftTimer:{},dialogMsgTransfer:{time:0},messengerSearchKey:{dialog:"",contacts:""},fileLists:[],fileLinks:[],projectId:0,projectTotal:0,projectLoad:0,taskId:0,taskCompleteTemps:[],taskContents:[],taskFiles:[],taskLogs:[],taskOperation:{},taskArchiveView:0,taskOneLoad:{},taskFlows:[],taskFlowItems:[],taskPriority:[],columnTemplate:[],columnColorList:[{name:"\u9ED8\u8BA4",color:""},{name:"\u7070\u8272",color:"#444444"},{name:"\u68D5\u8272",color:"#947364"},{name:"\u6A58\u8272",color:"#faaa6c"},{name:"\u9EC4\u8272",color:"#f2d86d"},{name:"\u7EFF\u8272",color:"#73b45c"},{name:"\u84DD\u8272",color:"#51abea"},{name:"\u7D2B\u8272",color:"#b583e3"},{name:"\u7C89\u8272",color:"#ff819c"},{name:"\u7EA2\u8272",color:"#ff7070"}],taskColorList:[{name:"\u9ED8\u8BA4",color:""},{name:"\u9EC4\u8272",color:"#fffae6"},{name:"\u84DD\u8272",color:"#e5f5ff"},{name:"\u7EFF\u8272",color:"#ecffe5"},{name:"\u7C89\u8272",color:"#ffeaee"},{name:"\u7D2B\u8272",color:"#f6ecff"},{name:"\u7070\u8272",color:"#f3f3f3"}],themeMode:window.localStorage.getItem("__theme:mode__"),themeList:[{name:"\u8DDF\u968F\u7CFB\u7EDF",value:"auto"},{name:"\u660E\u4EAE",value:"light"},{name:"\u6697\u9ED1",value:"dark"}],themeIsDark:!1,clientNewVersion:null,previewImageIndex:0,previewImageList:[],reportUnreadNumber:0,formLabelPosition:$A(window).width()>576?"right":"top",formLabelWidth:$A(window).width()>576?"auto":"",apiKeyData:{},localKeyPair:{},localKeyLock:!1},Dj={isLoad(e){return function(t){const r=e.loads.find(i=>i.key===t);return r&&r.num>0}},projectData(e){if(e.projectId>0){let t=e.cacheProjects.find(({id:r})=>r==e.projectId);if(t){let r=e.cacheProjectParameter.find(({project_id:i})=>i==e.projectId);return r||(r=$A.projectParameterTemplate(e.projectId),e.cacheProjectParameter.push(r)),r.menuType===void 0&&(r.menuType="column"),t.cacheParameter=r,t}}return{cacheParameter:{}}},taskData(e){let t=e.taskId;if(t==0&&(t=$A.runNum(window.__taskId)),t>0){window.__taskId=t;const r=e.cacheTasks.find(({id:i})=>i==t);if(r)return r}return{}},transforTasks(e){return function(t){return t.filter(({parent_id:r})=>!(r>0&&t.find(({id:i})=>i==r))).map(r=>{if(r.parent_id>0){const i=e.cacheTasks.find(({id:a})=>a==r.parent_id);return i?Object.assign({},i,{id:r.id,parent_id:r.parent_id,name:r.name,start_at:r.start_at,end_at:r.end_at,complete_at:r.complete_at,_time:r._time,flow_item_id:r.flow_item_id,flow_item_name:r.flow_item_name,flow_item_status:r.flow_item_status,sub_top:!0,sub_my:[]}):Object.assign({},r,{sub_top:!0,sub_my:[]})}else return Object.assign({},r,{sub_top:!1,sub_my:t.filter(({parent_id:i})=>i==r.id)})})}},dashboardTask(e){const t=$A.Date($A.formatDate("Y-m-d 00:00:00")),r=$A.Date($A.formatDate("Y-m-d 23:59:59")),i=$A.Date($A.formatDate("Y-m-d H:i:s")),a=(p,d=!0)=>p.archived_at||p.complete_at&&d===!0?!1:p.owner;let s=e.cacheTasks.filter(p=>a(p)),u=0;if(e.taskCompleteTemps.length>0){let p=e.cacheTasks.filter(d=>e.taskCompleteTemps.includes(d.id)&&a(d,!1));p.length>0&&(u=p.length,s=$A.cloneJSON(s),s.push(...p))}const c=s.filter(p=>{const d=$A.Date(p.end_at);return t<=d&&d<=r}),h=s.filter(p=>p.end_at&&$A.Date(p.end_at)<=i),n={today:c,today_count:c.length,overdue:h,overdue_count:h.length,all:s,all_count:s.length};return u>0&&(n.today_count-=c.filter(p=>e.taskCompleteTemps.includes(p.id)).length,n.overdue_count-=h.filter(p=>e.taskCompleteTemps.includes(p.id)).length,n.all_count-=u),n},assistTask(e){const t=(i,a=!0)=>i.archived_at||i.complete_at&&a===!0?!1:i.assist&&!i.owner;let r=e.cacheTasks.filter(i=>t(i));if(e.taskCompleteTemps.length>0){let i=e.cacheTasks.filter(a=>e.taskCompleteTemps.includes(a.id)&&t(a,!1));i.length>0&&(r=$A.cloneJSON(r),r.push(...i))}return r}};const Wi=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ru=Symbol("doneWritingPromise"),p6=Symbol("doneWritingResolve"),v6=Symbol("doneWritingReject"),Cc=Symbol("readingIndex");class Za extends Array{constructor(){super(),this[ru]=new Promise((t,r)=>{this[p6]=t,this[v6]=r}),this[ru].catch(()=>{})}}function pr(e){return e&&e.getReader&&Array.isArray(e)}function Mc(e){if(!pr(e)){const t=e.getWriter(),r=t.releaseLock;return t.releaseLock=()=>{t.closed.catch(function(){}),r.call(t)},t}this.stream=e}Za.prototype.getReader=function(){return this[Cc]===void 0&&(this[Cc]=0),{read:async()=>(await this[ru],this[Cc]===this.length?{value:void 0,done:!0}:{value:this[this[Cc]++],done:!1})}},Za.prototype.readToEnd=async function(e){await this[ru];const t=e(this.slice(this[Cc]));return this.length=0,t},Za.prototype.clone=function(){const e=new Za;return e[ru]=this[ru].then(()=>{e.push(...this)}),e},Mc.prototype.write=async function(e){this.stream.push(e)},Mc.prototype.close=async function(){this.stream[p6]()},Mc.prototype.abort=async function(e){return this.stream[v6](e),e},Mc.prototype.releaseLock=function(){};const Wv=typeof Wi.process=="object"&&typeof Wi.process.versions=="object",OS=Wv&&void 0;function Ii(e){return pr(e)?"array":Wi.ReadableStream&&Wi.ReadableStream.prototype.isPrototypeOf(e)?"web":Os&&Os.prototype.isPrototypeOf(e)?"ponyfill":OS&&OS.prototype.isPrototypeOf(e)?"node":!(!e||!e.getReader)&&"web-like"}function Kv(e){return Uint8Array.prototype.isPrototypeOf(e)}function m6(e){if(e.length===1)return e[0];let t=0;for(let a=0;a{r||(Oj.isBuffer(a)&&(a=new Uint8Array(a.buffer,a.byteOffset,a.byteLength)),i.enqueue(a),t.pause())}),t.on("end",()=>{r||i.close()}),t.on("error",a=>i.error(a))},pull(){t.resume()},cancel(i){r=!0,t.destroy(i)}})};class e extends PS{constructor(r,i){super(i),this._reader=os(r)}async _read(r){try{for(;;){const{done:i,value:a}=await this._reader.read();if(i){this.push(null);break}if(!this.push(a)||this._cancelling){this._reading=!1;break}}}catch(i){this.emit("error",i)}}_destroy(r){this._reader.cancel(r)}}L0=function(t,r){return new e(t,r)}}const TS=new WeakSet,Xn=Symbol("externalBuffer");function Ba(e){if(this.stream=e,e[Xn]&&(this[Xn]=e[Xn].slice()),pr(e)){const i=e.getReader();return this._read=i.read.bind(i),this._releaseLock=()=>{},void(this._cancel=()=>{})}let t=Ii(e);if(t==="node"&&(e=Hv(e)),t){const i=e.getReader();return this._read=i.read.bind(i),this._releaseLock=()=>{i.closed.catch(function(){}),i.releaseLock()},void(this._cancel=i.cancel.bind(i))}let r=!1;this._read=async()=>r||TS.has(e)?{value:void 0,done:!0}:(r=!0,{value:e,done:!1}),this._releaseLock=()=>{if(r)try{TS.add(e)}catch{}}}Ba.prototype.read=async function(){return this[Xn]&&this[Xn].length?{done:!1,value:this[Xn].shift()}:this._read()},Ba.prototype.releaseLock=function(){this[Xn]&&(this.stream[Xn]=this[Xn]),this._releaseLock()},Ba.prototype.cancel=function(e){return this._cancel(e)},Ba.prototype.readLine=async function(){let e,t=[];for(;!e;){let{done:r,value:i}=await this.read();if(i+="",r)return t.length?Pi(t):void 0;const a=i.indexOf(` -`)+1;a&&(e=Pi(t.concat(i.substr(0,a))),t=[]),a!==i.length&&t.push(i.substr(a))}return this.unshift(...t),e},Ba.prototype.readByte=async function(){const{done:e,value:t}=await this.read();if(e)return;const r=t[0];return this.unshift(Wr(t,1)),r},Ba.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){const{done:i,value:a}=await this.read();if(i)return t.length?Pi(t):void 0;if(t.push(a),r+=a.length,r>=e){const s=Pi(t);return this.unshift(Wr(s,e)),Wr(s,0,e)}}},Ba.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},Ba.prototype.unshift=function(...e){this[Xn]||(this[Xn]=[]),e.length===1&&Kv(e[0])&&this[Xn].length&&e[0].length&&this[Xn][0].byteOffset>=e[0].length?this[Xn][0]=new Uint8Array(this[Xn][0].buffer,this[Xn][0].byteOffset-e[0].length,this[Xn][0].byteLength+e[0].length):this[Xn].unshift(...e.filter(t=>t&&t.length))},Ba.prototype.readToEnd=async function(e=Pi){const t=[];for(;;){const{done:r,value:i}=await this.read();if(r)break;t.push(i)}return e(t)};let Zg,_6,{ReadableStream:Os,WritableStream:g6,TransformStream:gu}=Wi;async function y6(){if(gu)return;const[e,t]=await Promise.all([kn(()=>import("./ponyfill.es6.min.f10e9458.js"),[]),kn(()=>import("./web-streams-adapter.min.5544f98f.js"),[])]);({ReadableStream:Os,WritableStream:g6,TransformStream:gu}=e);const{createReadableStreamWrapper:r}=t;Wi.ReadableStream&&Os!==Wi.ReadableStream&&(Zg=r(Os),_6=r(Wi.ReadableStream))}const Gc=Wv&&void 0;function kd(e){let t=Ii(e);return t==="node"?Hv(e):t==="web"&&Zg?Zg(e):t?e:new Os({start(r){r.enqueue(e),r.close()}})}function b6(e){if(Ii(e))return e;const t=new Za;return(async()=>{const r=$i(t);await r.write(e),await r.close()})(),t}function Pi(e){return e.some(t=>Ii(t)&&!pr(t))?function(t){t=t.map(kd);const r=C6(async function(s){await Promise.all(a.map(u=>Qg(u,s)))});let i=Promise.resolve();const a=t.map((s,u)=>Ts(s,(c,h)=>(i=i.then(()=>po(c,r.writable,{preventClose:u!==t.length-1})),i)));return r.readable}(e):e.some(t=>pr(t))?function(t){const r=new Za;let i=Promise.resolve();return t.forEach((a,s)=>(i=i.then(()=>po(a,r,{preventClose:s!==t.length-1})),i)),r}(e):typeof e[0]=="string"?e.join(""):Gc&&Gc.isBuffer(e[0])?Gc.concat(e):m6(e)}function os(e){return new Ba(e)}function $i(e){return new Mc(e)}async function po(e,t,{preventClose:r=!1,preventAbort:i=!1,preventCancel:a=!1}={}){if(Ii(e)&&!pr(e)){e=kd(e);try{if(e[Xn]){const c=$i(t);for(let h=0;h{t=s}),t=null)},close:r.close.bind(r),abort:r.error.bind(r)})}}function cr(e,t=()=>{},r=()=>{}){if(pr(e)){const s=new Za;return(async()=>{const u=$i(s);try{const c=await _r(e),h=t(c),n=r();let p;p=h!==void 0&&n!==void 0?Pi([h,n]):h!==void 0?h:n,await u.write(p),await u.close()}catch(c){await u.abort(c)}})(),s}if(Ii(e))return w6(e,{async transform(s,u){try{const c=await t(s);c!==void 0&&u.enqueue(c)}catch(c){u.error(c)}},async flush(s){try{const u=await r();u!==void 0&&s.enqueue(u)}catch(u){s.error(u)}}});const i=t(e),a=r();return i!==void 0&&a!==void 0?Pi([i,a]):i!==void 0?i:a}function Ts(e,t){if(Ii(e)&&!pr(e)){let i;const a=new gu({start(c){i=c}}),s=po(e,a.writable),u=C6(async function(c){i.error(c),await s,await new Promise(setTimeout)});return t(a.readable,u.writable),u.readable}e=b6(e);const r=new Za;return t(e,r),r}function Gv(e,t){let r;const i=Ts(e,(a,s)=>{const u=os(a);u.remainder=()=>(u.releaseLock(),po(a,s),i),r=t(u)});return r}function dl(e){if(pr(e))return e.clone();if(Ii(e)){const t=function(r){if(pr(r))throw Error("ArrayStream cannot be tee()d, use clone() instead");if(Ii(r)){const i=kd(r).tee();return i[0][Xn]=i[1][Xn]=r[Xn],i}return[Wr(r),Wr(r)]}(e);return x6(e,t[0]),t[1]}return Wr(e)}function lu(e){return pr(e)?dl(e):Ii(e)?new Os({start(t){const r=Ts(e,async(i,a)=>{const s=os(i),u=$i(a);try{for(;;){await u.ready;const{done:c,value:h}=await s.read();if(c){try{t.close()}catch{}return void await u.close()}try{t.enqueue(h)}catch{}await u.write(h)}}catch(c){t.error(c),await u.abort(c)}});x6(e,r)}}):Wr(e)}function x6(e,t){Object.entries(Object.getOwnPropertyDescriptors(e.constructor.prototype)).forEach(([r,i])=>{r!=="constructor"&&(i.value?i.value=i.value.bind(t):i.get=i.get.bind(t),Object.defineProperty(e,r,i))})}function Wr(e,t=0,r=1/0){if(pr(e))throw Error("Not implemented");if(Ii(e)){if(t>=0&&r>=0){let i=0;return w6(e,{transform(a,s){i=t&&s.enqueue(Wr(a,Math.max(t-i,0),r-i)),i+=a.length):s.terminate()}})}if(t<0&&(r<0||r===1/0)){let i=[];return cr(e,a=>{a.length>=-t?i=[a]:i.push(a)},()=>Wr(Pi(i),t,r))}if(t===0&&r<0){let i;return cr(e,a=>{const s=i?Pi([i,a]):a;if(s.length>=-r)return i=Wr(s,r),Wr(s,t,r);i=s})}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),bo(async()=>Wr(await _r(e),t,r))}return e[Xn]&&(e=Pi(e[Xn].concat([e]))),!Kv(e)||Gc&&Gc.isBuffer(e)?e.slice(t,r):(r===1/0&&(r=e.length),e.subarray(t,r))}async function _r(e,t=Pi){return pr(e)?e.readToEnd(t):Ii(e)?os(e).readToEnd(t):e}async function Qg(e,t){if(Ii(e)){if(e.cancel)return e.cancel(t);if(e.destroy)return e.destroy(t),await new Promise(setTimeout),t}}function bo(e){const t=new Za;return(async()=>{const r=$i(t);try{await r.write(await e()),await r.close()}catch(i){await r.abort(i)}})(),t}const S6="3.7.5",Pj=S6,Tj=typeof atob=="function",Aj=typeof btoa=="function",Au=typeof Buffer=="function",AS=typeof TextDecoder=="function"?new TextDecoder:void 0,MS=typeof TextEncoder=="function"?new TextEncoder:void 0,Ic=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),zh=(e=>{let t={};return Ic.forEach((r,i)=>t[r]=i),t})(),Mj=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ur=String.fromCharCode.bind(String),IS=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),k6=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),E6=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),D6=e=>{let t,r,i,a,s="";const u=e.length%3;for(let c=0;c255||(i=e.charCodeAt(c++))>255||(a=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=r<<16|i<<8|a,s+=Ic[t>>18&63]+Ic[t>>12&63]+Ic[t>>6&63]+Ic[63&t]}return u?s.slice(0,u-3)+"===".substring(u):s},N0=Aj?e=>btoa(e):Au?e=>Buffer.from(e,"binary").toString("base64"):D6,qg=Au?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,i=e.length;rt?k6(qg(e)):qg(e),Ij=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ur(192|t>>>6)+Ur(128|63&t):Ur(224|t>>>12&15)+Ur(128|t>>>6&63)+Ur(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ur(240|t>>>18&7)+Ur(128|t>>>12&63)+Ur(128|t>>>6&63)+Ur(128|63&t)},$j=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,O6=e=>e.replace($j,Ij),$S=Au?e=>Buffer.from(e,"utf8").toString("base64"):MS?e=>qg(MS.encode(e)):e=>N0(O6(e)),uu=(e,t=!1)=>t?k6($S(e)):$S(e),RS=e=>uu(e,!0),Rj=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Lj=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Ur(55296+(t>>>10))+Ur(56320+(1023&t));case 3:return Ur((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ur((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},P6=e=>e.replace(Rj,Lj),T6=e=>{if(e=e.replace(/\s+/g,""),!Mj.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,i,a="";for(let s=0;s>16&255):i===64?Ur(t>>16&255,t>>8&255):Ur(t>>16&255,t>>8&255,255&t);return a},B0=Tj?e=>atob(E6(e)):Au?e=>Buffer.from(e,"base64").toString("binary"):T6,A6=Au?e=>IS(Buffer.from(e,"base64")):e=>IS(B0(e).split("").map(t=>t.charCodeAt(0))),M6=e=>A6(I6(e)),Nj=Au?e=>Buffer.from(e,"base64").toString("utf8"):AS?e=>AS.decode(A6(e)):e=>P6(B0(e)),I6=e=>E6(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),ey=e=>Nj(I6(e)),$6=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),LS=function(){const e=(t,r)=>Object.defineProperty(String.prototype,t,$6(r));e("fromBase64",function(){return ey(this)}),e("toBase64",function(t){return uu(this,t)}),e("toBase64URI",function(){return uu(this,!0)}),e("toBase64URL",function(){return uu(this,!0)}),e("toUint8Array",function(){return M6(this)})},NS=function(){const e=(t,r)=>Object.defineProperty(Uint8Array.prototype,t,$6(r));e("toBase64",function(t){return wp(this,t)}),e("toBase64URI",function(){return wp(this,!0)}),e("toBase64URL",function(){return wp(this,!0)})},BS={version:S6,VERSION:Pj,atob:B0,atobPolyfill:T6,btoa:N0,btoaPolyfill:D6,fromBase64:ey,toBase64:uu,encode:uu,encodeURI:RS,encodeURL:RS,utob:O6,btou:P6,decode:ey,isValid:e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:wp,toUint8Array:M6,extendString:LS,extendUint8Array:NS,extendBuiltins:()=>{LS(),NS()}};class fi{constructor(t){if(t===void 0)throw Error("Invalid BigInteger input");if(t instanceof Uint8Array){const r=t,i=Array(r.length);for(let a=0;aBigInt(0);){const u=i&BigInt(1);i>>=BigInt(1);const c=s*a%r.value;s=u?c:s,a=a*a%r.value}return new fi(s)}modInv(t){const{gcd:r,x:i}=this._egcd(t);if(!r.isOne())throw Error("Inverse does not exist");return i.add(t).mod(t)}_egcd(t){let r=BigInt(0),i=BigInt(1),a=BigInt(1),s=BigInt(0),u=this.value;for(t=t.value;t!==BigInt(0);){const c=u/t;let h=r;r=a-c*r,a=h,h=i,i=s-c*i,s=h,h=t,t=u%t,u=h}return{x:new fi(a),y:new fi(s),gcd:new fi(u)}}gcd(t){let r=this.value;for(t=t.value;t!==BigInt(0);){const i=t;t=r%t,r=i}return new fi(r)}ileftShift(t){return this.value<<=t.value,this}leftShift(t){return this.clone().ileftShift(t)}irightShift(t){return this.value>>=t.value,this}rightShift(t){return this.clone().irightShift(t)}equal(t){return this.value===t.value}lt(t){return this.valuet.value}gte(t){return this.value>=t.value}isZero(){return this.value===BigInt(0)}isOne(){return this.value===BigInt(1)}isNegative(){return this.valueNumber.MAX_SAFE_INTEGER)throw Error("Number can only safely store up to 53 bits");return t}getBit(t){return(this.value>>BigInt(t)&BigInt(1))===BigInt(0)?0:1}bitLength(){const t=new fi(0),r=new fi(1),i=new fi(-1),a=this.isNegative()?i:t;let s=1;const u=this.clone();for(;!u.irightShift(r).equal(a);)s++;return s}byteLength(){const t=new fi(0),r=new fi(-1),i=this.isNegative()?r:t,a=new fi(8);let s=1;const u=this.clone();for(;!u.irightShift(a).equal(i);)s++;return s}toUint8Array(t="be",r){let i=this.value.toString(16);i.length%2==1&&(i="0"+i);const a=i.length/2,s=new Uint8Array(r||a),u=r?r-a:0;let c=0;for(;ctypeof BigInt!="undefined",FS=(()=>{try{return!1}catch{}return!1})(),Oe={isString:function(e){return typeof e=="string"||e instanceof String},isArray:function(e){return e instanceof Array},isUint8Array:Kv,isStream:Ii,readNumber:function(e){let t=0;for(let r=0;r>8*(t-i-1)&255;return r},readDate:function(e){const t=Oe.readNumber(e);return new Date(1e3*t)},writeDate:function(e){const t=Math.floor(e.getTime()/1e3);return Oe.writeNumber(t,4)},normalizeDate:function(e=Date.now()){return e===null||e===1/0?e:new Date(1e3*Math.floor(+e/1e3))},readMPI:function(e){const t=(e[0]<<8|e[1])+7>>>3;return e.subarray(2,2+t)},leftPad(e,t){const r=new Uint8Array(t),i=t-e.length;return r.set(e,i),r},uint8ArrayToMPI:function(e){const t=Oe.uint8ArrayBitLength(e);if(t===0)throw Error("Zero MPI");const r=e.subarray(e.length-Math.ceil(t/8)),i=new Uint8Array([(65280&t)>>8,255&t]);return Oe.concatUint8Array([i,r])},uint8ArrayBitLength:function(e){let t;for(t=0;t>1);for(let r=0;r>1;r++)t[r]=parseInt(e.substr(r<<1,2),16);return t},uint8ArrayToHex:function(e){const t=[],r=e.length;let i,a=0;for(;a{if(!Oe.isString(t))throw Error("stringToUint8Array: Data must be in the form of a string");const r=new Uint8Array(t.length);for(let i=0;ir("",!0))},decodeUTF8:function(e){const t=new TextDecoder("utf-8");function r(i,a=!1){return t.decode(i,{stream:!a})}return cr(e,r,()=>r(new Uint8Array,!0))},concat:Pi,concatUint8Array:m6,equalsUint8Array:function(e,t){if(!Oe.isUint8Array(e)||!Oe.isUint8Array(t))throw Error("Data must be in the form of a Uint8Array");if(e.length!==t.length)return!1;for(let r=0;r>>16;return r!==0&&(e=r,t+=16),r=e>>8,r!==0&&(e=r,t+=8),r=e>>4,r!==0&&(e=r,t+=4),r=e>>2,r!==0&&(e=r,t+=2),r=e>>1,r!==0&&(e=r,t+=1),t},double:function(e){const t=new Uint8Array(e.length),r=e.length-1;for(let i=0;i>7;return t[r]=e[r]<<1^135*(e[0]>>7),t},shiftRight:function(e,t){if(t)for(let r=e.length-1;r>=0;r--)e[r]>>=t,r>0&&(e[r]|=e[r-1]<<8-t);return e},getWebCrypto:function(){return Wi!==void 0&&Wi.crypto&&Wi.crypto.subtle},getBigInteger:async function(){if(Bj())return fi;{const{default:e}=await kn(()=>import("./bn.interface.min.7458ab80.js"),["js/build/bn.interface.min.7458ab80.js","js/build/bn.min.0b81af35.js"]);return e}},getNodeCrypto:function(){},getNodeZlib:function(){},getNodeBuffer:function(){return{}.Buffer},getHardwareConcurrency:function(){return typeof navigator!="undefined"?navigator.hardwareConcurrency||1:(void 0).cpus().length},isEmailAddress:function(e){return Oe.isString(e)?/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+([a-zA-Z]{2,}|xn--[a-zA-Z\-0-9]+)))$/.test(e):!1},canonicalizeEOL:function(e){let t=!1;return cr(e,r=>{let i;t&&(r=Oe.concatUint8Array([new Uint8Array([13]),r])),r[r.length-1]===13?(t=!0,r=r.subarray(0,-1)):t=!1;const a=[];for(let c=0;i=r.indexOf(10,c)+1,i;c=i)r[i-2]!==13&&a.push(i);if(!a.length)return r;const s=new Uint8Array(r.length+a.length);let u=0;for(let c=0;ct?new Uint8Array([13]):void 0)},nativeEOL:function(e){let t=!1;return cr(e,r=>{let i;(r=t&&r[0]!==10?Oe.concatUint8Array([new Uint8Array([13]),r]):new Uint8Array(r))[r.length-1]===13?(t=!0,r=r.subarray(0,-1)):t=!1;let a=0;for(let s=0;s!==r.length;s=i){i=r.indexOf(13,s)+1,i||(i=r.length);const u=i-(r[i]===10?1:0);s&&r.copyWithin(a,s,u),a+=u-s}return r.subarray(0,a)},()=>t?new Uint8Array([13]):void 0)},removeTrailingSpaces:function(e){return e.split(` +`)+1;a&&(e=Pi(t.concat(i.substr(0,a))),t=[]),a!==i.length&&t.push(i.substr(a))}return this.unshift(...t),e},Ba.prototype.readByte=async function(){const{done:e,value:t}=await this.read();if(e)return;const r=t[0];return this.unshift(Wr(t,1)),r},Ba.prototype.readBytes=async function(e){const t=[];let r=0;for(;;){const{done:i,value:a}=await this.read();if(i)return t.length?Pi(t):void 0;if(t.push(a),r+=a.length,r>=e){const s=Pi(t);return this.unshift(Wr(s,e)),Wr(s,0,e)}}},Ba.prototype.peekBytes=async function(e){const t=await this.readBytes(e);return this.unshift(t),t},Ba.prototype.unshift=function(...e){this[Xn]||(this[Xn]=[]),e.length===1&&Kv(e[0])&&this[Xn].length&&e[0].length&&this[Xn][0].byteOffset>=e[0].length?this[Xn][0]=new Uint8Array(this[Xn][0].buffer,this[Xn][0].byteOffset-e[0].length,this[Xn][0].byteLength+e[0].length):this[Xn].unshift(...e.filter(t=>t&&t.length))},Ba.prototype.readToEnd=async function(e=Pi){const t=[];for(;;){const{done:r,value:i}=await this.read();if(r)break;t.push(i)}return e(t)};let Zg,_6,{ReadableStream:Os,WritableStream:g6,TransformStream:gu}=Wi;async function y6(){if(gu)return;const[e,t]=await Promise.all([kn(()=>import("./ponyfill.es6.min.f10e9458.js"),[]),kn(()=>import("./web-streams-adapter.min.5544f98f.js"),[])]);({ReadableStream:Os,WritableStream:g6,TransformStream:gu}=e);const{createReadableStreamWrapper:r}=t;Wi.ReadableStream&&Os!==Wi.ReadableStream&&(Zg=r(Os),_6=r(Wi.ReadableStream))}const Gc=Wv&&void 0;function kd(e){let t=Ii(e);return t==="node"?Hv(e):t==="web"&&Zg?Zg(e):t?e:new Os({start(r){r.enqueue(e),r.close()}})}function b6(e){if(Ii(e))return e;const t=new Za;return(async()=>{const r=$i(t);await r.write(e),await r.close()})(),t}function Pi(e){return e.some(t=>Ii(t)&&!pr(t))?function(t){t=t.map(kd);const r=C6(async function(s){await Promise.all(a.map(u=>Qg(u,s)))});let i=Promise.resolve();const a=t.map((s,u)=>Ts(s,(c,h)=>(i=i.then(()=>po(c,r.writable,{preventClose:u!==t.length-1})),i)));return r.readable}(e):e.some(t=>pr(t))?function(t){const r=new Za;let i=Promise.resolve();return t.forEach((a,s)=>(i=i.then(()=>po(a,r,{preventClose:s!==t.length-1})),i)),r}(e):typeof e[0]=="string"?e.join(""):Gc&&Gc.isBuffer(e[0])?Gc.concat(e):m6(e)}function os(e){return new Ba(e)}function $i(e){return new Mc(e)}async function po(e,t,{preventClose:r=!1,preventAbort:i=!1,preventCancel:a=!1}={}){if(Ii(e)&&!pr(e)){e=kd(e);try{if(e[Xn]){const c=$i(t);for(let h=0;h{t=s}),t=null)},close:r.close.bind(r),abort:r.error.bind(r)})}}function cr(e,t=()=>{},r=()=>{}){if(pr(e)){const s=new Za;return(async()=>{const u=$i(s);try{const c=await _r(e),h=t(c),n=r();let p;p=h!==void 0&&n!==void 0?Pi([h,n]):h!==void 0?h:n,await u.write(p),await u.close()}catch(c){await u.abort(c)}})(),s}if(Ii(e))return w6(e,{async transform(s,u){try{const c=await t(s);c!==void 0&&u.enqueue(c)}catch(c){u.error(c)}},async flush(s){try{const u=await r();u!==void 0&&s.enqueue(u)}catch(u){s.error(u)}}});const i=t(e),a=r();return i!==void 0&&a!==void 0?Pi([i,a]):i!==void 0?i:a}function Ts(e,t){if(Ii(e)&&!pr(e)){let i;const a=new gu({start(c){i=c}}),s=po(e,a.writable),u=C6(async function(c){i.error(c),await s,await new Promise(setTimeout)});return t(a.readable,u.writable),u.readable}e=b6(e);const r=new Za;return t(e,r),r}function Gv(e,t){let r;const i=Ts(e,(a,s)=>{const u=os(a);u.remainder=()=>(u.releaseLock(),po(a,s),i),r=t(u)});return r}function dl(e){if(pr(e))return e.clone();if(Ii(e)){const t=function(r){if(pr(r))throw Error("ArrayStream cannot be tee()d, use clone() instead");if(Ii(r)){const i=kd(r).tee();return i[0][Xn]=i[1][Xn]=r[Xn],i}return[Wr(r),Wr(r)]}(e);return x6(e,t[0]),t[1]}return Wr(e)}function lu(e){return pr(e)?dl(e):Ii(e)?new Os({start(t){const r=Ts(e,async(i,a)=>{const s=os(i),u=$i(a);try{for(;;){await u.ready;const{done:c,value:h}=await s.read();if(c){try{t.close()}catch{}return void await u.close()}try{t.enqueue(h)}catch{}await u.write(h)}}catch(c){t.error(c),await u.abort(c)}});x6(e,r)}}):Wr(e)}function x6(e,t){Object.entries(Object.getOwnPropertyDescriptors(e.constructor.prototype)).forEach(([r,i])=>{r!=="constructor"&&(i.value?i.value=i.value.bind(t):i.get=i.get.bind(t),Object.defineProperty(e,r,i))})}function Wr(e,t=0,r=1/0){if(pr(e))throw Error("Not implemented");if(Ii(e)){if(t>=0&&r>=0){let i=0;return w6(e,{transform(a,s){i=t&&s.enqueue(Wr(a,Math.max(t-i,0),r-i)),i+=a.length):s.terminate()}})}if(t<0&&(r<0||r===1/0)){let i=[];return cr(e,a=>{a.length>=-t?i=[a]:i.push(a)},()=>Wr(Pi(i),t,r))}if(t===0&&r<0){let i;return cr(e,a=>{const s=i?Pi([i,a]):a;if(s.length>=-r)return i=Wr(s,r),Wr(s,t,r);i=s})}return console.warn(`stream.slice(input, ${t}, ${r}) not implemented efficiently.`),bo(async()=>Wr(await _r(e),t,r))}return e[Xn]&&(e=Pi(e[Xn].concat([e]))),!Kv(e)||Gc&&Gc.isBuffer(e)?e.slice(t,r):(r===1/0&&(r=e.length),e.subarray(t,r))}async function _r(e,t=Pi){return pr(e)?e.readToEnd(t):Ii(e)?os(e).readToEnd(t):e}async function Qg(e,t){if(Ii(e)){if(e.cancel)return e.cancel(t);if(e.destroy)return e.destroy(t),await new Promise(setTimeout),t}}function bo(e){const t=new Za;return(async()=>{const r=$i(t);try{await r.write(await e()),await r.close()}catch(i){await r.abort(i)}})(),t}const S6="3.7.5",Pj=S6,Tj=typeof atob=="function",Aj=typeof btoa=="function",Au=typeof Buffer=="function",AS=typeof TextDecoder=="function"?new TextDecoder:void 0,MS=typeof TextEncoder=="function"?new TextEncoder:void 0,Ic=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),zh=(e=>{let t={};return Ic.forEach((r,i)=>t[r]=i),t})(),Mj=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ur=String.fromCharCode.bind(String),IS=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),k6=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),E6=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),D6=e=>{let t,r,i,a,s="";const u=e.length%3;for(let c=0;c255||(i=e.charCodeAt(c++))>255||(a=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=r<<16|i<<8|a,s+=Ic[t>>18&63]+Ic[t>>12&63]+Ic[t>>6&63]+Ic[63&t]}return u?s.slice(0,u-3)+"===".substring(u):s},N0=Aj?e=>btoa(e):Au?e=>Buffer.from(e,"binary").toString("base64"):D6,qg=Au?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,i=e.length;rt?k6(qg(e)):qg(e),Ij=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ur(192|t>>>6)+Ur(128|63&t):Ur(224|t>>>12&15)+Ur(128|t>>>6&63)+Ur(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ur(240|t>>>18&7)+Ur(128|t>>>12&63)+Ur(128|t>>>6&63)+Ur(128|63&t)},$j=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,O6=e=>e.replace($j,Ij),$S=Au?e=>Buffer.from(e,"utf8").toString("base64"):MS?e=>qg(MS.encode(e)):e=>N0(O6(e)),uu=(e,t=!1)=>t?k6($S(e)):$S(e),RS=e=>uu(e,!0),Rj=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Lj=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Ur(55296+(t>>>10))+Ur(56320+(1023&t));case 3:return Ur((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ur((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},P6=e=>e.replace(Rj,Lj),T6=e=>{if(e=e.replace(/\s+/g,""),!Mj.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,r,i,a="";for(let s=0;s>16&255):i===64?Ur(t>>16&255,t>>8&255):Ur(t>>16&255,t>>8&255,255&t);return a},B0=Tj?e=>atob(E6(e)):Au?e=>Buffer.from(e,"base64").toString("binary"):T6,A6=Au?e=>IS(Buffer.from(e,"base64")):e=>IS(B0(e).split("").map(t=>t.charCodeAt(0))),M6=e=>A6(I6(e)),Nj=Au?e=>Buffer.from(e,"base64").toString("utf8"):AS?e=>AS.decode(A6(e)):e=>P6(B0(e)),I6=e=>E6(e.replace(/[-_]/g,t=>t=="-"?"+":"/")),ey=e=>Nj(I6(e)),$6=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),LS=function(){const e=(t,r)=>Object.defineProperty(String.prototype,t,$6(r));e("fromBase64",function(){return ey(this)}),e("toBase64",function(t){return uu(this,t)}),e("toBase64URI",function(){return uu(this,!0)}),e("toBase64URL",function(){return uu(this,!0)}),e("toUint8Array",function(){return M6(this)})},NS=function(){const e=(t,r)=>Object.defineProperty(Uint8Array.prototype,t,$6(r));e("toBase64",function(t){return wp(this,t)}),e("toBase64URI",function(){return wp(this,!0)}),e("toBase64URL",function(){return wp(this,!0)})},BS={version:S6,VERSION:Pj,atob:B0,atobPolyfill:T6,btoa:N0,btoaPolyfill:D6,fromBase64:ey,toBase64:uu,encode:uu,encodeURI:RS,encodeURL:RS,utob:O6,btou:P6,decode:ey,isValid:e=>{if(typeof e!="string")return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},fromUint8Array:wp,toUint8Array:M6,extendString:LS,extendUint8Array:NS,extendBuiltins:()=>{LS(),NS()}};class fi{constructor(t){if(t===void 0)throw Error("Invalid BigInteger input");if(t instanceof Uint8Array){const r=t,i=Array(r.length);for(let a=0;aBigInt(0);){const u=i&BigInt(1);i>>=BigInt(1);const c=s*a%r.value;s=u?c:s,a=a*a%r.value}return new fi(s)}modInv(t){const{gcd:r,x:i}=this._egcd(t);if(!r.isOne())throw Error("Inverse does not exist");return i.add(t).mod(t)}_egcd(t){let r=BigInt(0),i=BigInt(1),a=BigInt(1),s=BigInt(0),u=this.value;for(t=t.value;t!==BigInt(0);){const c=u/t;let h=r;r=a-c*r,a=h,h=i,i=s-c*i,s=h,h=t,t=u%t,u=h}return{x:new fi(a),y:new fi(s),gcd:new fi(u)}}gcd(t){let r=this.value;for(t=t.value;t!==BigInt(0);){const i=t;t=r%t,r=i}return new fi(r)}ileftShift(t){return this.value<<=t.value,this}leftShift(t){return this.clone().ileftShift(t)}irightShift(t){return this.value>>=t.value,this}rightShift(t){return this.clone().irightShift(t)}equal(t){return this.value===t.value}lt(t){return this.valuet.value}gte(t){return this.value>=t.value}isZero(){return this.value===BigInt(0)}isOne(){return this.value===BigInt(1)}isNegative(){return this.valueNumber.MAX_SAFE_INTEGER)throw Error("Number can only safely store up to 53 bits");return t}getBit(t){return(this.value>>BigInt(t)&BigInt(1))===BigInt(0)?0:1}bitLength(){const t=new fi(0),r=new fi(1),i=new fi(-1),a=this.isNegative()?i:t;let s=1;const u=this.clone();for(;!u.irightShift(r).equal(a);)s++;return s}byteLength(){const t=new fi(0),r=new fi(-1),i=this.isNegative()?r:t,a=new fi(8);let s=1;const u=this.clone();for(;!u.irightShift(a).equal(i);)s++;return s}toUint8Array(t="be",r){let i=this.value.toString(16);i.length%2==1&&(i="0"+i);const a=i.length/2,s=new Uint8Array(r||a),u=r?r-a:0;let c=0;for(;ctypeof BigInt!="undefined",FS=(()=>{try{return!1}catch{}return!1})(),Oe={isString:function(e){return typeof e=="string"||e instanceof String},isArray:function(e){return e instanceof Array},isUint8Array:Kv,isStream:Ii,readNumber:function(e){let t=0;for(let r=0;r>8*(t-i-1)&255;return r},readDate:function(e){const t=Oe.readNumber(e);return new Date(1e3*t)},writeDate:function(e){const t=Math.floor(e.getTime()/1e3);return Oe.writeNumber(t,4)},normalizeDate:function(e=Date.now()){return e===null||e===1/0?e:new Date(1e3*Math.floor(+e/1e3))},readMPI:function(e){const t=(e[0]<<8|e[1])+7>>>3;return e.subarray(2,2+t)},leftPad(e,t){const r=new Uint8Array(t),i=t-e.length;return r.set(e,i),r},uint8ArrayToMPI:function(e){const t=Oe.uint8ArrayBitLength(e);if(t===0)throw Error("Zero MPI");const r=e.subarray(e.length-Math.ceil(t/8)),i=new Uint8Array([(65280&t)>>8,255&t]);return Oe.concatUint8Array([i,r])},uint8ArrayBitLength:function(e){let t;for(t=0;t>1);for(let r=0;r>1;r++)t[r]=parseInt(e.substr(r<<1,2),16);return t},uint8ArrayToHex:function(e){const t=[],r=e.length;let i,a=0;for(;a{if(!Oe.isString(t))throw Error("stringToUint8Array: Data must be in the form of a string");const r=new Uint8Array(t.length);for(let i=0;ir("",!0))},decodeUTF8:function(e){const t=new TextDecoder("utf-8");function r(i,a=!1){return t.decode(i,{stream:!a})}return cr(e,r,()=>r(new Uint8Array,!0))},concat:Pi,concatUint8Array:m6,equalsUint8Array:function(e,t){if(!Oe.isUint8Array(e)||!Oe.isUint8Array(t))throw Error("Data must be in the form of a Uint8Array");if(e.length!==t.length)return!1;for(let r=0;r>>16;return r!==0&&(e=r,t+=16),r=e>>8,r!==0&&(e=r,t+=8),r=e>>4,r!==0&&(e=r,t+=4),r=e>>2,r!==0&&(e=r,t+=2),r=e>>1,r!==0&&(e=r,t+=1),t},double:function(e){const t=new Uint8Array(e.length),r=e.length-1;for(let i=0;i>7;return t[r]=e[r]<<1^135*(e[0]>>7),t},shiftRight:function(e,t){if(t)for(let r=e.length-1;r>=0;r--)e[r]>>=t,r>0&&(e[r]|=e[r-1]<<8-t);return e},getWebCrypto:function(){return Wi!==void 0&&Wi.crypto&&Wi.crypto.subtle},getBigInteger:async function(){if(Bj())return fi;{const{default:e}=await kn(()=>import("./bn.interface.min.7ad14d1f.js"),["js/build/bn.interface.min.7ad14d1f.js","js/build/bn.min.560fdb8a.js"]);return e}},getNodeCrypto:function(){},getNodeZlib:function(){},getNodeBuffer:function(){return{}.Buffer},getHardwareConcurrency:function(){return typeof navigator!="undefined"?navigator.hardwareConcurrency||1:(void 0).cpus().length},isEmailAddress:function(e){return Oe.isString(e)?/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+([a-zA-Z]{2,}|xn--[a-zA-Z\-0-9]+)))$/.test(e):!1},canonicalizeEOL:function(e){let t=!1;return cr(e,r=>{let i;t&&(r=Oe.concatUint8Array([new Uint8Array([13]),r])),r[r.length-1]===13?(t=!0,r=r.subarray(0,-1)):t=!1;const a=[];for(let c=0;i=r.indexOf(10,c)+1,i;c=i)r[i-2]!==13&&a.push(i);if(!a.length)return r;const s=new Uint8Array(r.length+a.length);let u=0;for(let c=0;ct?new Uint8Array([13]):void 0)},nativeEOL:function(e){let t=!1;return cr(e,r=>{let i;(r=t&&r[0]!==10?Oe.concatUint8Array([new Uint8Array([13]),r]):new Uint8Array(r))[r.length-1]===13?(t=!0,r=r.subarray(0,-1)):t=!1;let a=0;for(let s=0;s!==r.length;s=i){i=r.indexOf(13,s)+1,i||(i=r.length);const u=i-(r[i]===10?1:0);s&&r.copyWithin(a,s,u),a+=u-s}return r.subarray(0,a)},()=>t?new Uint8Array([13]):void 0)},removeTrailingSpaces:function(e){return e.split(` `).map(t=>{let r=t.length-1;for(;r>=0&&(t[r]===" "||t[r]===" "||t[r]==="\r");r--);return t.substr(0,r+1)}).join(` `)},wrapError:function(e,t){if(!t)return Error(e);try{t.message=e+": "+t.message}catch{}return t},constructAllowedPackets:function(e){const t={};return e.forEach(r=>{if(!r.tag)throw Error("Invalid input: expected a packet class");t[r.tag]=r}),t},anyPromise:function(e){return new Promise(async(t,r)=>{let i;await Promise.all(e.map(async a=>{try{t(await a)}catch(s){i=s}})),r(i)})},selectUint8Array:function(e,t,r){const i=Math.max(t.length,r.length),a=new Uint8Array(i);let s=0;for(let u=0;u{t=Oe.concatUint8Array([t,r]);const i=[],a=Math.floor(t.length/45),s=45*a,u=ev(t.subarray(0,s));for(let c=0;ct.length?ev(t)+` @@ -257,9 +257,9 @@ Please report this to https://github.com/markedjs/marked.`,(t||Hn.defaults).sile `),n.push(Lo(a,s)),n.push(_s(t)),n.push("=",Hs(h)),n.push(`-----END PGP PRIVATE KEY BLOCK----- `);break;case he.armor.signature:n.push(`-----BEGIN PGP SIGNATURE----- `),n.push(Lo(a,s)),n.push(_s(t)),n.push("=",Hs(h)),n.push(`-----END PGP SIGNATURE----- -`)}return Oe.concat(n)}class vo{constructor(){this.bytes=""}read(t){this.bytes=Oe.uint8ArrayToString(t.subarray(0,8))}write(){return Oe.stringToUint8Array(this.bytes)}toHex(){return Oe.uint8ArrayToHex(Oe.stringToUint8Array(this.bytes))}equals(t,r=!1){return r&&(t.isWildcard()||this.isWildcard())||this.bytes===t.bytes}isNull(){return this.bytes===""}isWildcard(){return/^0+$/.test(this.toHex())}static mapToHex(t){return t.toHex()}static fromID(t){const r=new vo;return r.read(Oe.hexToUint8Array(t)),r}static wildcard(){const t=new vo;return t.read(new Uint8Array(8)),t}}var Sn=function(){var e,t,r=!1;function i(d,v){var m=e[(t[d]+t[v])%255];return d!==0&&v!==0||(m=0),m}var a,s,u,c,h=!1;function n(){function d(y){var b,k,O;for(k=O=function(S){var x=e[255-t[S]];return S===0&&(x=0),x}(y),b=0;b<4;b++)O^=k=255&(k<<1|k>>>7);return O^=99}r||function(){e=[],t=[];var y,b,k=1;for(y=0;y<255;y++)e[y]=k,b=128&k,k<<=1,k&=255,b===128&&(k^=27),k^=e[y],t[e[y]]=y;e[255]=e[0],t[0]=0,r=!0}(),a=[],s=[],u=[[],[],[],[]],c=[[],[],[],[]];for(var v=0;v<256;v++){var m=d(v);a[v]=m,s[m]=v,u[0][v]=i(2,m)<<24|m<<16|m<<8|i(3,m),c[0][m]=i(14,v)<<24|i(9,v)<<16|i(13,v)<<8|i(11,v);for(var g=1;g<4;g++)u[g][v]=u[g-1][v]>>>8|u[g-1][v]<<24,c[g][m]=c[g-1][m]>>>8|c[g-1][m]<<24}h=!0}var p=function(d,v){h||n();var m=new Uint32Array(v);m.set(a,512),m.set(s,768);for(var g=0;g<4;g++)m.set(u[g],4096+1024*g>>2),m.set(c[g],8192+1024*g>>2);var y=function(b,k,O){var S=0,x=0,E=0,w=0,T=0,M=0,A=0,L=0,Y=0,N=0,W=0,j=0,ue=0,Te=0,pe=0,ye=0,de=0,Ee=0,ie=0,be=0,Ie=0,De=new b.Uint32Array(O),se=new b.Uint8Array(O);function q(ce,le,Ve,Ze,yt,Tt,St,At){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,yt=yt|0,Tt=Tt|0,St=St|0,At=At|0;var ht=0,Rt=0,Mt=0,cn=0,tn=0,Yt=0,Ht=0,Jt=0;for(ht=Ve|1024,Rt=Ve|2048,Mt=Ve|3072,yt=yt^De[(ce|0)>>2],Tt=Tt^De[(ce|4)>>2],St=St^De[(ce|8)>>2],At=At^De[(ce|12)>>2],Jt=16;(Jt|0)<=Ze<<4;Jt=Jt+16|0)cn=De[(Ve|yt>>22&1020)>>2]^De[(ht|Tt>>14&1020)>>2]^De[(Rt|St>>6&1020)>>2]^De[(Mt|At<<2&1020)>>2]^De[(ce|Jt|0)>>2],tn=De[(Ve|Tt>>22&1020)>>2]^De[(ht|St>>14&1020)>>2]^De[(Rt|At>>6&1020)>>2]^De[(Mt|yt<<2&1020)>>2]^De[(ce|Jt|4)>>2],Yt=De[(Ve|St>>22&1020)>>2]^De[(ht|At>>14&1020)>>2]^De[(Rt|yt>>6&1020)>>2]^De[(Mt|Tt<<2&1020)>>2]^De[(ce|Jt|8)>>2],Ht=De[(Ve|At>>22&1020)>>2]^De[(ht|yt>>14&1020)>>2]^De[(Rt|Tt>>6&1020)>>2]^De[(Mt|St<<2&1020)>>2]^De[(ce|Jt|12)>>2],yt=cn,Tt=tn,St=Yt,At=Ht;S=De[(le|yt>>22&1020)>>2]<<24^De[(le|Tt>>14&1020)>>2]<<16^De[(le|St>>6&1020)>>2]<<8^De[(le|At<<2&1020)>>2]^De[(ce|Jt|0)>>2],x=De[(le|Tt>>22&1020)>>2]<<24^De[(le|St>>14&1020)>>2]<<16^De[(le|At>>6&1020)>>2]<<8^De[(le|yt<<2&1020)>>2]^De[(ce|Jt|4)>>2],E=De[(le|St>>22&1020)>>2]<<24^De[(le|At>>14&1020)>>2]<<16^De[(le|yt>>6&1020)>>2]<<8^De[(le|Tt<<2&1020)>>2]^De[(ce|Jt|8)>>2],w=De[(le|At>>22&1020)>>2]<<24^De[(le|yt>>14&1020)>>2]<<16^De[(le|Tt>>6&1020)>>2]<<8^De[(le|St<<2&1020)>>2]^De[(ce|Jt|12)>>2]}function F(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,ce,le,Ve,Ze)}function I(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0;var yt=0;q(1024,3072,8192,Ie,ce,Ze,Ve,le),yt=x,x=w,w=yt}function J(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T^ce,M^le,A^Ve,L^Ze),T=S,M=x,A=E,L=w}function ee(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0;var yt=0;q(1024,3072,8192,Ie,ce,Ze,Ve,le),yt=x,x=w,w=yt,S=S^T,x=x^M,E=E^A,w=w^L,T=ce,M=le,A=Ve,L=Ze}function fe(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T,M,A,L),T=S=S^ce,M=x=x^le,A=E=E^Ve,L=w=w^Ze}function ke(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T,M,A,L),S=S^ce,x=x^le,E=E^Ve,w=w^Ze,T=ce,M=le,A=Ve,L=Ze}function X(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T,M,A,L),T=S,M=x,A=E,L=w,S=S^ce,x=x^le,E=E^Ve,w=w^Ze}function H(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,Y,N,W,j),j=~ye&j|ye&j+1,W=~pe&W|pe&W+((j|0)==0),N=~Te&N|Te&N+((W|0)==0),Y=~ue&Y|ue&Y+((N|0)==0),S=S^ce,x=x^le,E=E^Ve,w=w^Ze}function re(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0;var yt=0,Tt=0,St=0,At=0,ht=0,Rt=0,Mt=0,cn=0,tn=0,Yt=0;for(ce=ce^T,le=le^M,Ve=Ve^A,Ze=Ze^L,yt=de|0,Tt=Ee|0,St=ie|0,At=be|0;(tn|0)<128;tn=tn+1|0)yt>>>31&&(ht=ht^ce,Rt=Rt^le,Mt=Mt^Ve,cn=cn^Ze),yt=yt<<1|Tt>>>31,Tt=Tt<<1|St>>>31,St=St<<1|At>>>31,At=At<<1,Yt=Ze&1,Ze=Ze>>>1|Ve<<31,Ve=Ve>>>1|le<<31,le=le>>>1|ce<<31,ce=ce>>>1,Yt&&(ce=ce^3774873600);T=ht,M=Rt,A=Mt,L=cn}function Z(ce){ce=ce|0,Ie=ce}function Pe(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,S=ce,x=le,E=Ve,w=Ze}function ve(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,T=ce,M=le,A=Ve,L=Ze}function U(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,Y=ce,N=le,W=Ve,j=Ze}function Se(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,ue=ce,Te=le,pe=Ve,ye=Ze}function me(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,j=~ye&j|ye&Ze,W=~pe&W|pe&Ve,N=~Te&N|Te&le,Y=~ue&Y|ue&ce}function ae(ce){return ce=ce|0,ce&15?-1:(se[ce|0]=S>>>24,se[ce|1]=S>>>16&255,se[ce|2]=S>>>8&255,se[ce|3]=S&255,se[ce|4]=x>>>24,se[ce|5]=x>>>16&255,se[ce|6]=x>>>8&255,se[ce|7]=x&255,se[ce|8]=E>>>24,se[ce|9]=E>>>16&255,se[ce|10]=E>>>8&255,se[ce|11]=E&255,se[ce|12]=w>>>24,se[ce|13]=w>>>16&255,se[ce|14]=w>>>8&255,se[ce|15]=w&255,16)}function B(ce){return ce=ce|0,ce&15?-1:(se[ce|0]=T>>>24,se[ce|1]=T>>>16&255,se[ce|2]=T>>>8&255,se[ce|3]=T&255,se[ce|4]=M>>>24,se[ce|5]=M>>>16&255,se[ce|6]=M>>>8&255,se[ce|7]=M&255,se[ce|8]=A>>>24,se[ce|9]=A>>>16&255,se[ce|10]=A>>>8&255,se[ce|11]=A&255,se[ce|12]=L>>>24,se[ce|13]=L>>>16&255,se[ce|14]=L>>>8&255,se[ce|15]=L&255,16)}function V(){F(0,0,0,0),de=S,Ee=x,ie=E,be=w}function G(ce,le,Ve){ce=ce|0,le=le|0,Ve=Ve|0;var Ze=0;if(le&15)return-1;for(;(Ve|0)>=16;)oe[ce&7](se[le|0]<<24|se[le|1]<<16|se[le|2]<<8|se[le|3],se[le|4]<<24|se[le|5]<<16|se[le|6]<<8|se[le|7],se[le|8]<<24|se[le|9]<<16|se[le|10]<<8|se[le|11],se[le|12]<<24|se[le|13]<<16|se[le|14]<<8|se[le|15]),se[le|0]=S>>>24,se[le|1]=S>>>16&255,se[le|2]=S>>>8&255,se[le|3]=S&255,se[le|4]=x>>>24,se[le|5]=x>>>16&255,se[le|6]=x>>>8&255,se[le|7]=x&255,se[le|8]=E>>>24,se[le|9]=E>>>16&255,se[le|10]=E>>>8&255,se[le|11]=E&255,se[le|12]=w>>>24,se[le|13]=w>>>16&255,se[le|14]=w>>>8&255,se[le|15]=w&255,Ze=Ze+16|0,le=le+16|0,Ve=Ve-16|0;return Ze|0}function te(ce,le,Ve){ce=ce|0,le=le|0,Ve=Ve|0;var Ze=0;if(le&15)return-1;for(;(Ve|0)>=16;)_e[ce&1](se[le|0]<<24|se[le|1]<<16|se[le|2]<<8|se[le|3],se[le|4]<<24|se[le|5]<<16|se[le|6]<<8|se[le|7],se[le|8]<<24|se[le|9]<<16|se[le|10]<<8|se[le|11],se[le|12]<<24|se[le|13]<<16|se[le|14]<<8|se[le|15]),Ze=Ze+16|0,le=le+16|0,Ve=Ve-16|0;return Ze|0}var oe=[F,I,J,ee,fe,ke,X,H],_e=[J,re];return{set_rounds:Z,set_state:Pe,set_iv:ve,set_nonce:U,set_mask:Se,set_counter:me,get_state:ae,get_iv:B,gcm_init:V,cipher:G,mac:te}}({Uint8Array,Uint32Array},d,v);return y.set_key=function(b,k,O,S,x,E,w,T,M){var A=m.subarray(0,60),L=m.subarray(256,316);A.set([k,O,S,x,E,w,T,M]);for(var Y=b,N=1;Y<4*b+28;Y++){var W=A[Y-1];(Y%b==0||b===8&&Y%b==4)&&(W=a[W>>>24]<<24^a[W>>>16&255]<<16^a[W>>>8&255]<<8^a[255&W]),Y%b==0&&(W=W<<8^W>>>24^N<<24,N=N<<1^(128&N?27:0)),A[Y]=A[Y-b]^W}for(var j=0;j=Y-4?W:c[0][a[W>>>24]]^c[1][a[W>>>16&255]]^c[2][a[W>>>8&255]]^c[3][a[255&W]];y.set_rounds(b+5)},y};return p.ENC={ECB:0,CBC:2,CFB:4,OFB:6,CTR:7},p.DEC={ECB:1,CBC:3,CFB:5,OFB:6,CTR:7},p.MAC={CBC:0,GCM:1},p.HEAP_DATA=16384,p}();function jS(e){return e instanceof Uint8Array}function F0(e,t){const r=e?e.byteLength:t||65536;if(4095&r||r<=0)throw Error("heap size must be a positive integer and a multiple of 4096");return e=e||new Uint8Array(new ArrayBuffer(r))}function Ho(e,t,r,i,a){const s=e.length-t,u=sa+s.length,0),r=new Uint8Array(t);let i=0;for(let a=0;a>2,s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12),a>16?s.getUint32(16):0,a>16?s.getUint32(20):0,a>24?s.getUint32(24):0,a>24?s.getUint32(28):0),r!==void 0){if(r.length!==16)throw new Es("illegal iv size");let u=new DataView(r.buffer,r.byteOffset,r.byteLength);i.set_iv(u.getUint32(0),u.getUint32(4),u.getUint32(8),u.getUint32(12))}else i.set_iv(0,0,0,0)}AES_Encrypt_process(t){if(!jS(t))throw new TypeError("data isn't of expected type");let{heap:r,asm:i}=this.acquire_asm(),a=Sn.ENC[this.mode],s=Sn.HEAP_DATA,u=this.pos,c=this.len,h=0,n=t.length||0,p=0,d=0,v=new Uint8Array(c+n&-16);for(;n>0;)d=Ho(r,u+c,t,h,n),c+=d,h+=d,n-=d,d=i.cipher(a,s+u,c),d&&v.set(r.subarray(u,u+d),p),p+=d,d0;)m=Ho(r,u+c,t,h,n),c+=m,h+=m,n-=m,m=i.cipher(a,s+u,c-(n?0:v)),m&&g.set(r.subarray(u,u+m),p),p+=m,m0){if(u%16){if(this.hasOwnProperty("padding"))throw new Es("data length must be a multiple of the block size");u+=16-u%16}if(r.cipher(i,a+s,u),this.hasOwnProperty("padding")&&this.padding){let n=t[s+c-1];if(n<1||n>16||n>c)throw new ny("bad padding");let p=0;for(let d=n;d>1;d--)p|=n^t[s+c-d];if(p)throw new ny("bad padding");c-=n}}const h=new Uint8Array(c);return c>0&&h.set(t.subarray(s,s+c)),this.pos=0,this.len=0,this.release_asm(),h}}class nv{static encrypt(t,r,i=!1){return new nv(r,i).encrypt(t)}static decrypt(t,r,i=!1){return new nv(r,i).decrypt(t)}constructor(t,r=!1,i){this.aes=i||new Od(t,void 0,r,"ECB")}encrypt(t){return mo(this.aes.AES_Encrypt_process(t),this.aes.AES_Encrypt_finish())}decrypt(t){return mo(this.aes.AES_Decrypt_process(t),this.aes.AES_Decrypt_finish())}}function z0(e){const t=function(r){const i=new nv(r);this.encrypt=function(a){return i.encrypt(a)},this.decrypt=function(a){return i.decrypt(a)}};return t.blockSize=t.prototype.blockSize=16,t.keySize=t.prototype.keySize=e/8,t}function Yc(e,t,r,i,a,s){const u=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],c=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],h=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],n=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],p=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],d=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],v=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],m=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];let g,y,b,k,O,S,x,E,w,T,M,A,L,Y,N=0,W=t.length;const j=e.length===32?3:9;E=j===3?r?[0,32,2]:[30,-2,-2]:r?[0,32,2,62,30,-2,64,96,2]:[94,62,-2,32,64,2,30,-2,-2],r&&(t=function(pe,ye){const de=8-pe.length%8;let Ee;if(ye===2&&de<8)Ee=32;else if(ye===1)Ee=de;else{if(ye||!(de<8)){if(de===8)return pe;throw Error("des: invalid padding")}Ee=0}const ie=new Uint8Array(pe.length+de);for(let be=0;be>>4^x),x^=b,S^=b<<4,b=65535&(S>>>16^x),x^=b,S^=b<<16,b=858993459&(x>>>2^S),S^=b,x^=b<<2,b=16711935&(x>>>8^S),S^=b,x^=b<<8,b=1431655765&(S>>>1^x),x^=b,S^=b<<1,S=S<<1|S>>>31,x=x<<1|x>>>31,y=0;y>>4|x<<28)^e[g+1],b=S,S=x,x=b^(c[k>>>24&63]|n[k>>>16&63]|d[k>>>8&63]|m[63&k]|u[O>>>24&63]|h[O>>>16&63]|p[O>>>8&63]|v[63&O]);b=S,S=x,x=b}S=S>>>1|S<<31,x=x>>>1|x<<31,b=1431655765&(S>>>1^x),x^=b,S^=b<<1,b=16711935&(x>>>8^S),S^=b,x^=b<<8,b=858993459&(x>>>2^S),S^=b,x^=b<<2,b=65535&(S>>>16^x),x^=b,S^=b<<16,b=252645135&(S>>>4^x),x^=b,S^=b<<4,i===1&&(r?(w=S,M=x):(S^=T,x^=A)),ue[Te++]=S>>>24,ue[Te++]=S>>>16&255,ue[Te++]=S>>>8&255,ue[Te++]=255&S,ue[Te++]=x>>>24,ue[Te++]=x>>>16&255,ue[Te++]=x>>>8&255,ue[Te++]=255&x}return r||(ue=function(pe,ye){let de,Ee=null;if(ye===2)de=32;else if(ye===1)Ee=pe[pe.length-1];else{if(ye)throw Error("des: invalid padding");de=0}if(!Ee){for(Ee=1;pe[pe.length-Ee]===de;)Ee++;Ee--}return pe.subarray(0,pe.length-Ee)}(ue,s)),ue}function Xc(e){const t=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],i=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],a=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],u=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],c=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],h=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],n=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],p=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],d=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],v=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],m=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],g=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],y=e.length>8?3:1,b=Array(32*y),k=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0];let O,S,x,E=0,w=0;for(let T=0;T>>4^A),A^=x,M^=x<<4,x=65535&(A>>>-16^M),M^=x,A^=x<<-16,x=858993459&(M>>>2^A),A^=x,M^=x<<2,x=65535&(A>>>-16^M),M^=x,A^=x<<-16,x=1431655765&(M>>>1^A),A^=x,M^=x<<1,x=16711935&(A>>>8^M),M^=x,A^=x<<8,x=1431655765&(M>>>1^A),A^=x,M^=x<<1,x=M<<8|A>>>20&240,M=A<<24|A<<8&16711680|A>>>8&65280|A>>>24&240,A=x;for(let L=0;L<16;L++)k[L]?(M=M<<2|M>>>26,A=A<<2|A>>>26):(M=M<<1|M>>>27,A=A<<1|A>>>27),M&=-15,A&=-15,O=t[M>>>28]|r[M>>>24&15]|i[M>>>20&15]|a[M>>>16&15]|s[M>>>12&15]|u[M>>>8&15]|c[M>>>4&15],S=h[A>>>28]|n[A>>>24&15]|p[A>>>20&15]|d[A>>>16&15]|v[A>>>12&15]|m[A>>>8&15]|g[A>>>4&15],x=65535&(S>>>16^O),b[w++]=O^x,b[w++]=S^x<<16}return b}function $c(e){this.key=[];for(let t=0;t<3;t++)this.key.push(new Uint8Array(e.subarray(8*t,8*t+8)));this.encrypt=function(t){return Yc(Xc(this.key[2]),Yc(Xc(this.key[1]),Yc(Xc(this.key[0]),t,!0,0,null,null),!1,0,null,null),!0,0,null,null)}}function Uj(){this.BlockSize=8,this.KeySize=16,this.setKey=function(u){if(this.masking=Array(16),this.rotate=Array(16),this.reset(),u.length!==this.KeySize)throw Error("CAST-128: keys must be 16 bytes");return this.keySchedule(u),!0},this.reset=function(){for(let u=0;u<16;u++)this.masking[u]=0,this.rotate[u]=0},this.getBlockSize=function(){return this.BlockSize},this.encrypt=function(u){const c=Array(u.length);for(let h=0;h>>24&255,c[h+1]=d>>>16&255,c[h+2]=d>>>8&255,c[h+3]=255&d,c[h+4]=p>>>24&255,c[h+5]=p>>>16&255,c[h+6]=p>>>8&255,c[h+7]=255&p}return c},this.decrypt=function(u){const c=Array(u.length);for(let h=0;h>>24&255,c[h+1]=d>>>16&255,c[h+2]=d>>>8&255,c[h+3]=255&d,c[h+4]=p>>>24&255,c[h+5]=p>>16&255,c[h+6]=p>>8&255,c[h+7]=255&p}return c};const e=[,,,,];e[0]=[,,,,],e[0][0]=[4,0,13,15,12,14,8],e[0][1]=[5,2,16,18,17,19,10],e[0][2]=[6,3,23,22,21,20,9],e[0][3]=[7,1,26,25,27,24,11],e[1]=[,,,,],e[1][0]=[0,6,21,23,20,22,16],e[1][1]=[1,4,0,2,1,3,18],e[1][2]=[2,5,7,6,5,4,17],e[1][3]=[3,7,10,9,11,8,19],e[2]=[,,,,],e[2][0]=[4,0,13,15,12,14,8],e[2][1]=[5,2,16,18,17,19,10],e[2][2]=[6,3,23,22,21,20,9],e[2][3]=[7,1,26,25,27,24,11],e[3]=[,,,,],e[3][0]=[0,6,21,23,20,22,16],e[3][1]=[1,4,0,2,1,3,18],e[3][2]=[2,5,7,6,5,4,17],e[3][3]=[3,7,10,9,11,8,19];const t=[,,,,];function r(u,c,h){const n=c+u,p=n<>>32-h;return(s[0][p>>>24]^s[1][p>>>16&255])-s[2][p>>>8&255]+s[3][255&p]}function i(u,c,h){const n=c^u,p=n<>>32-h;return s[0][p>>>24]-s[1][p>>>16&255]+s[2][p>>>8&255]^s[3][255&p]}function a(u,c,h){const n=c-u,p=n<>>32-h;return(s[0][p>>>24]+s[1][p>>>16&255]^s[2][p>>>8&255])-s[3][255&p]}t[0]=[,,,,],t[0][0]=[24,25,23,22,18],t[0][1]=[26,27,21,20,22],t[0][2]=[28,29,19,18,25],t[0][3]=[30,31,17,16,28],t[1]=[,,,,],t[1][0]=[3,2,12,13,8],t[1][1]=[1,0,14,15,13],t[1][2]=[7,6,8,9,3],t[1][3]=[5,4,10,11,7],t[2]=[,,,,],t[2][0]=[19,18,28,29,25],t[2][1]=[17,16,30,31,28],t[2][2]=[23,22,24,25,18],t[2][3]=[21,20,26,27,22],t[3]=[,,,,],t[3][0]=[8,9,7,6,3],t[3][1]=[10,11,5,4,7],t[3][2]=[12,13,3,2,8],t[3][3]=[14,15,1,0,13],this.keySchedule=function(u){const c=[,,,,,,,,],h=Array(32);let n;for(let m=0;m<4;m++)n=4*m,c[m]=u[n]<<24|u[n+1]<<16|u[n+2]<<8|u[n+3];const p=[6,7,4,5];let d,v=0;for(let m=0;m<2;m++)for(let g=0;g<4;g++){for(n=0;n<4;n++){const y=e[g][n];d=c[y[1]],d^=s[4][c[y[2]>>>2]>>>24-8*(3&y[2])&255],d^=s[5][c[y[3]>>>2]>>>24-8*(3&y[3])&255],d^=s[6][c[y[4]>>>2]>>>24-8*(3&y[4])&255],d^=s[7][c[y[5]>>>2]>>>24-8*(3&y[5])&255],d^=s[p[n]][c[y[6]>>>2]>>>24-8*(3&y[6])&255],c[y[0]]=d}for(n=0;n<4;n++){const y=t[g][n];d=s[4][c[y[0]>>>2]>>>24-8*(3&y[0])&255],d^=s[5][c[y[1]>>>2]>>>24-8*(3&y[1])&255],d^=s[6][c[y[2]>>>2]>>>24-8*(3&y[2])&255],d^=s[7][c[y[3]>>>2]>>>24-8*(3&y[3])&255],d^=s[4+n][c[y[4]>>>2]>>>24-8*(3&y[4])&255],h[v]=d,v++}}for(let m=0;m<16;m++)this.masking[m]=h[m],this.rotate[m]=31&h[16+m]};const s=[,,,,,,,,];s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}function Rc(e){this.cast5=new Uj,this.cast5.setKey(e),this.encrypt=function(t){return this.cast5.encrypt(t)}}$c.keySize=$c.prototype.keySize=24,$c.blockSize=$c.prototype.blockSize=8,Rc.blockSize=Rc.prototype.blockSize=8,Rc.keySize=Rc.prototype.keySize=16;const ta=4294967295;function Ra(e,t){return(e<>>32-t)&ta}function ps(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function Ws(e,t,r){e.splice(t,4,255&r,r>>>8&255,r>>>16&255,r>>>24&255)}function bn(e,t){return e>>>8*t&255}function Lc(e){this.tf=function(){let t=null,r=null,i=-1,a=[],s=[[],[],[],[]];function u(p){return s[0][bn(p,0)]^s[1][bn(p,1)]^s[2][bn(p,2)]^s[3][bn(p,3)]}function c(p){return s[0][bn(p,3)]^s[1][bn(p,0)]^s[2][bn(p,1)]^s[3][bn(p,2)]}function h(p,d){let v=u(d[0]),m=c(d[1]);d[2]=Ra(d[2]^v+m+a[4*p+8]&ta,31),d[3]=Ra(d[3],1)^v+2*m+a[4*p+9]&ta,v=u(d[2]),m=c(d[3]),d[0]=Ra(d[0]^v+m+a[4*p+10]&ta,31),d[1]=Ra(d[1],1)^v+2*m+a[4*p+11]&ta}function n(p,d){let v=u(d[0]),m=c(d[1]);d[2]=Ra(d[2],1)^v+m+a[4*p+10]&ta,d[3]=Ra(d[3]^v+2*m+a[4*p+11]&ta,31),v=u(d[2]),m=c(d[3]),d[0]=Ra(d[0],1)^v+m+a[4*p+8]&ta,d[1]=Ra(d[1]^v+2*m+a[4*p+9]&ta,31)}return{name:"twofish",blocksize:16,open:function(p){let d,v,m,g,y;t=p;const b=[],k=[],O=[];let S;const x=[];let E,w,T;const M=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],A=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],L=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],Y=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],N=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],W=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],j=[[],[]],ue=[[],[],[],[]];function Te(ie){return ie^ie>>2^[0,90,180,238][3&ie]}function pe(ie){return ie^ie>>1^ie>>2^[0,238,180,90][3&ie]}function ye(ie,be){let Ie,De,se;for(Ie=0;Ie<8;Ie++)De=be>>>24,be=be<<8&ta|ie>>>24,ie=ie<<8&ta,se=De<<1,128&De&&(se^=333),be^=De^se<<16,se^=De>>>1,1&De&&(se^=166),be^=se<<24|se<<8;return be}function de(ie,be){const Ie=be>>4,De=15&be,se=M[ie][Ie^De],q=A[ie][N[De]^W[Ie]];return Y[ie][N[q]^W[se]]<<4|L[ie][se^q]}function Ee(ie,be){let Ie=bn(ie,0),De=bn(ie,1),se=bn(ie,2),q=bn(ie,3);switch(S){case 4:Ie=j[1][Ie]^bn(be[3],0),De=j[0][De]^bn(be[3],1),se=j[0][se]^bn(be[3],2),q=j[1][q]^bn(be[3],3);case 3:Ie=j[1][Ie]^bn(be[2],0),De=j[1][De]^bn(be[2],1),se=j[0][se]^bn(be[2],2),q=j[0][q]^bn(be[2],3);case 2:Ie=j[0][j[0][Ie]^bn(be[1],0)]^bn(be[0],0),De=j[0][j[1][De]^bn(be[1],1)]^bn(be[0],1),se=j[1][j[0][se]^bn(be[1],2)]^bn(be[0],2),q=j[1][j[1][q]^bn(be[1],3)]^bn(be[0],3)}return ue[0][Ie]^ue[1][De]^ue[2][se]^ue[3][q]}for(t=t.slice(0,32),d=t.length;d!==16&&d!==24&&d!==32;)t[d++]=0;for(d=0;d>2]=ps(t,d);for(d=0;d<256;d++)j[0][d]=de(0,d),j[1][d]=de(1,d);for(d=0;d<256;d++)E=j[1][d],w=Te(E),T=pe(E),ue[0][d]=E+(w<<8)+(T<<16)+(T<<24),ue[2][d]=w+(T<<8)+(E<<16)+(T<<24),E=j[0][d],w=Te(E),T=pe(E),ue[1][d]=T+(T<<8)+(w<<16)+(E<<24),ue[3][d]=w+(E<<8)+(T<<16)+(w<<24);for(S=O.length/2,d=0;d=0;m--)n(m,v);Ws(r,i,v[2]^a[0]),Ws(r,i+4,v[3]^a[1]),Ws(r,i+8,v[0]^a[2]),Ws(r,i+12,v[1]^a[3]),i+=16},finalize:function(){return r}}}(),this.tf.open(Array.from(e),0),this.encrypt=function(t){return this.tf.encrypt(Array.from(t),0)}}function da(){}function Nc(e){this.bf=new da,this.bf.init(e),this.encrypt=function(t){return this.bf.encryptBlock(t)}}Lc.keySize=Lc.prototype.keySize=32,Lc.blockSize=Lc.prototype.blockSize=16,da.prototype.BLOCKSIZE=8,da.prototype.SBOXES=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]],da.prototype.PARRAY=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],da.prototype.NN=16,da.prototype._clean=function(e){return e<0&&(e=(2147483647&e)+2147483648),e},da.prototype._F=function(e){let t;const r=255&e,i=255&(e>>>=8),a=255&(e>>>=8),s=255&(e>>>=8);return t=this.sboxes[0][s]+this.sboxes[1][a],t^=this.sboxes[2][i],t+=this.sboxes[3][r],t},da.prototype._encryptBlock=function(e){let t,r=e[0],i=e[1];for(t=0;t>>24-8*t&255,a[t+i]=r[1]>>>24-8*t&255;return a},da.prototype._decryptBlock=function(e){let t,r=e[0],i=e[1];for(t=this.NN+1;t>1;--t){r^=this.parray[t],i=this._F(r)^i;const a=r;r=i,i=a}r^=this.parray[1],i^=this.parray[0],e[0]=this._clean(i),e[1]=this._clean(r)},da.prototype.init=function(e){let t,r=0;for(this.parray=[],t=0;t=e.length&&(r=0);this.parray[t]=this.PARRAY[t]^a}for(this.sboxes=[],t=0;t<4;++t)for(this.sboxes[t]=[],r=0;r<256;++r)this.sboxes[t][r]=this.SBOXES[t][r];const i=[0,0];for(t=0;t>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ye+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=de+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=Ee+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ie+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=be+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=Ie+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=De+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=se+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=q+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=F+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=I+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=J+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ee+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=fe+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ke+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ee^se^de^pe,Se=ve<<1|ve>>>31,U=Se+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=fe^q^Ee^ye,me=ve<<1|ve>>>31,U=me+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ke^F^ie^de,ae=ve<<1|ve>>>31,U=ae+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Se^I^be^Ee,B=ve<<1|ve>>>31,U=B+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=me^J^Ie^ie,V=ve<<1|ve>>>31,U=V+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ae^ee^De^be,G=ve<<1|ve>>>31,U=G+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=B^fe^se^Ie,te=ve<<1|ve>>>31,U=te+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=V^ke^q^De,oe=ve<<1|ve>>>31,U=oe+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=G^Se^F^se,_e=ve<<1|ve>>>31,U=_e+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=te^me^I^q,ce=ve<<1|ve>>>31,U=ce+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=oe^ae^J^F,le=ve<<1|ve>>>31,U=le+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=_e^B^ee^I,Ve=ve<<1|ve>>>31,U=Ve+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ce^V^fe^J,Ze=ve<<1|ve>>>31,U=Ze+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=le^G^ke^ee,yt=ve<<1|ve>>>31,U=yt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ve^te^Se^fe,Tt=ve<<1|ve>>>31,U=Tt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ze^oe^me^ke,St=ve<<1|ve>>>31,U=St+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=yt^_e^ae^Se,At=ve<<1|ve>>>31,U=At+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Tt^ce^B^me,ht=ve<<1|ve>>>31,U=ht+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=St^le^V^ae,Rt=ve<<1|ve>>>31,U=Rt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=At^Ve^G^B,Mt=ve<<1|ve>>>31,U=Mt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ht^Ze^te^V,cn=ve<<1|ve>>>31,U=cn+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Rt^yt^oe^G,tn=ve<<1|ve>>>31,U=tn+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Mt^Tt^_e^te,Yt=ve<<1|ve>>>31,U=Yt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=cn^St^ce^oe,Ht=ve<<1|ve>>>31,U=Ht+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=tn^At^le^_e,Jt=ve<<1|ve>>>31,U=Jt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Yt^ht^Ve^ce,Gt=ve<<1|ve>>>31,U=Gt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ht^Rt^Ze^le,ln=ve<<1|ve>>>31,U=ln+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Jt^Mt^yt^Ve,Qt=ve<<1|ve>>>31,U=Qt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Gt^cn^Tt^Ze,it=ve<<1|ve>>>31,U=it+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ln^tn^St^yt,st=ve<<1|ve>>>31,U=st+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Qt^Yt^At^Tt,Ct=ve<<1|ve>>>31,U=Ct+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=it^Ht^ht^St,Ce=ve<<1|ve>>>31,U=Ce+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=st^Jt^Rt^At,Le=ve<<1|ve>>>31,U=Le+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ct^Gt^Mt^ht,ze=ve<<1|ve>>>31,U=ze+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ce^ln^cn^Rt,He=ve<<1|ve>>>31,U=He+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Le^Qt^tn^Mt,Be=ve<<1|ve>>>31,U=Be+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ze^it^Yt^cn,nt=ve<<1|ve>>>31,U=nt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=He^st^Ht^tn,pt=ve<<1|ve>>>31,U=pt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Be^Ct^Jt^Yt,bt=ve<<1|ve>>>31,U=bt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=nt^Ce^Gt^Ht,Ot=ve<<1|ve>>>31,U=Ot+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=pt^Le^ln^Jt,Bt=ve<<1|ve>>>31,U=Bt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=bt^ze^Qt^Gt,Ut=ve<<1|ve>>>31,U=Ut+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ot^He^it^ln,jt=ve<<1|ve>>>31,U=jt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Bt^Be^st^Qt,nn=ve<<1|ve>>>31,U=nn+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ut^nt^Ct^it,Zt=ve<<1|ve>>>31,U=Zt+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=jt^pt^Ce^st,qt=ve<<1|ve>>>31,U=qt+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=nn^bt^Le^Ct,Dn=ve<<1|ve>>>31,U=Dn+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Zt^Ot^ze^Ce,Gn=ve<<1|ve>>>31,U=Gn+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=qt^Bt^He^Le,lr=ve<<1|ve>>>31,U=lr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Dn^Ut^Be^ze,zn=ve<<1|ve>>>31,U=zn+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Gn^jt^nt^He,vr=ve<<1|ve>>>31,U=vr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=lr^nn^pt^Be,dr=ve<<1|ve>>>31,U=dr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=zn^Zt^bt^nt,wr=ve<<1|ve>>>31,U=wr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=vr^qt^Ot^pt,Cr=ve<<1|ve>>>31,U=Cr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=dr^Dn^Bt^bt,gi=ve<<1|ve>>>31,U=gi+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=wr^Gn^Ut^Ot,Rr=ve<<1|ve>>>31,U=Rr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Cr^lr^jt^Bt,ii=ve<<1|ve>>>31,U=ii+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=gi^zn^nn^Ut,yi=ve<<1|ve>>>31,U=yi+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Rr^vr^Zt^jt,rr=ve<<1|ve>>>31,U=rr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ii^dr^qt^nn,xr=ve<<1|ve>>>31,U=xr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=yi^wr^Dn^Zt,ai=ve<<1|ve>>>31,U=ai+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=rr^Cr^Gn^qt,bi=ve<<1|ve>>>31,U=bi+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=xr^gi^lr^Dn,Me=ve<<1|ve>>>31,U=Me+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ai^Rr^zn^Gn,We=ve<<1|ve>>>31,U=We+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,i=i+X|0,a=a+H|0,s=s+re|0,u=u+Z|0,c=c+Pe|0}function w(pe){pe=pe|0,E(x[pe|0]<<24|x[pe|1]<<16|x[pe|2]<<8|x[pe|3],x[pe|4]<<24|x[pe|5]<<16|x[pe|6]<<8|x[pe|7],x[pe|8]<<24|x[pe|9]<<16|x[pe|10]<<8|x[pe|11],x[pe|12]<<24|x[pe|13]<<16|x[pe|14]<<8|x[pe|15],x[pe|16]<<24|x[pe|17]<<16|x[pe|18]<<8|x[pe|19],x[pe|20]<<24|x[pe|21]<<16|x[pe|22]<<8|x[pe|23],x[pe|24]<<24|x[pe|25]<<16|x[pe|26]<<8|x[pe|27],x[pe|28]<<24|x[pe|29]<<16|x[pe|30]<<8|x[pe|31],x[pe|32]<<24|x[pe|33]<<16|x[pe|34]<<8|x[pe|35],x[pe|36]<<24|x[pe|37]<<16|x[pe|38]<<8|x[pe|39],x[pe|40]<<24|x[pe|41]<<16|x[pe|42]<<8|x[pe|43],x[pe|44]<<24|x[pe|45]<<16|x[pe|46]<<8|x[pe|47],x[pe|48]<<24|x[pe|49]<<16|x[pe|50]<<8|x[pe|51],x[pe|52]<<24|x[pe|53]<<16|x[pe|54]<<8|x[pe|55],x[pe|56]<<24|x[pe|57]<<16|x[pe|58]<<8|x[pe|59],x[pe|60]<<24|x[pe|61]<<16|x[pe|62]<<8|x[pe|63])}function T(pe){pe=pe|0,x[pe|0]=i>>>24,x[pe|1]=i>>>16&255,x[pe|2]=i>>>8&255,x[pe|3]=i&255,x[pe|4]=a>>>24,x[pe|5]=a>>>16&255,x[pe|6]=a>>>8&255,x[pe|7]=a&255,x[pe|8]=s>>>24,x[pe|9]=s>>>16&255,x[pe|10]=s>>>8&255,x[pe|11]=s&255,x[pe|12]=u>>>24,x[pe|13]=u>>>16&255,x[pe|14]=u>>>8&255,x[pe|15]=u&255,x[pe|16]=c>>>24,x[pe|17]=c>>>16&255,x[pe|18]=c>>>8&255,x[pe|19]=c&255}function M(){i=1732584193,a=4023233417,s=2562383102,u=271733878,c=3285377520,h=n=0}function A(pe,ye,de,Ee,ie,be,Ie){pe=pe|0,ye=ye|0,de=de|0,Ee=Ee|0,ie=ie|0,be=be|0,Ie=Ie|0,i=pe,a=ye,s=de,u=Ee,c=ie,h=be,n=Ie}function L(pe,ye){pe=pe|0,ye=ye|0;var de=0;if(pe&63)return-1;for(;(ye|0)>=64;)w(pe),pe=pe+64|0,ye=ye-64|0,de=de+64|0;return h=h+de|0,h>>>0>>0&&(n=n+1|0),de|0}function Y(pe,ye,de){pe=pe|0,ye=ye|0,de=de|0;var Ee=0,ie=0;if(pe&63||~de&&de&31)return-1;if((ye|0)>=64){if(Ee=L(pe,ye)|0,(Ee|0)==-1)return-1;pe=pe+Ee|0,ye=ye-Ee|0}if(Ee=Ee+ye|0,h=h+ye|0,h>>>0>>0&&(n=n+1|0),x[pe|ye]=128,(ye|0)>=56){for(ie=ye+1|0;(ie|0)<64;ie=ie+1|0)x[pe|ie]=0;w(pe),ye=0,x[pe|0]=0}for(ie=ye+1|0;(ie|0)<59;ie=ie+1|0)x[pe|ie]=0;return x[pe|56]=n>>>21&255,x[pe|57]=n>>>13&255,x[pe|58]=n>>>5&255,x[pe|59]=n<<3&255|h>>>29,x[pe|60]=h>>>21&255,x[pe|61]=h>>>13&255,x[pe|62]=h>>>5&255,x[pe|63]=h<<3&255,w(pe),~de&&T(de),Ee|0}function N(){i=p,a=d,s=v,u=m,c=g,h=64,n=0}function W(){i=y,a=b,s=k,u=O,c=S,h=64,n=0}function j(pe,ye,de,Ee,ie,be,Ie,De,se,q,F,I,J,ee,fe,ke){pe=pe|0,ye=ye|0,de=de|0,Ee=Ee|0,ie=ie|0,be=be|0,Ie=Ie|0,De=De|0,se=se|0,q=q|0,F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,M(),E(pe^1549556828,ye^1549556828,de^1549556828,Ee^1549556828,ie^1549556828,be^1549556828,Ie^1549556828,De^1549556828,se^1549556828,q^1549556828,F^1549556828,I^1549556828,J^1549556828,ee^1549556828,fe^1549556828,ke^1549556828),y=i,b=a,k=s,O=u,S=c,M(),E(pe^909522486,ye^909522486,de^909522486,Ee^909522486,ie^909522486,be^909522486,Ie^909522486,De^909522486,se^909522486,q^909522486,F^909522486,I^909522486,J^909522486,ee^909522486,fe^909522486,ke^909522486),p=i,d=a,v=s,m=u,g=c,h=64,n=0}function ue(pe,ye,de){pe=pe|0,ye=ye|0,de=de|0;var Ee=0,ie=0,be=0,Ie=0,De=0,se=0;return pe&63||~de&&de&31?-1:(se=Y(pe,ye,-1)|0,Ee=i,ie=a,be=s,Ie=u,De=c,W(),E(Ee,ie,be,Ie,De,2147483648,0,0,0,0,0,0,0,0,0,672),~de&&T(de),se|0)}function Te(pe,ye,de,Ee,ie){pe=pe|0,ye=ye|0,de=de|0,Ee=Ee|0,ie=ie|0;var be=0,Ie=0,De=0,se=0,q=0,F=0,I=0,J=0,ee=0,fe=0;if(pe&63||~ie&&ie&31)return-1;for(x[pe+ye|0]=de>>>24,x[pe+ye+1|0]=de>>>16&255,x[pe+ye+2|0]=de>>>8&255,x[pe+ye+3|0]=de&255,ue(pe,ye+4|0,-1)|0,be=F=i,Ie=I=a,De=J=s,se=ee=u,q=fe=c,Ee=Ee-1|0;(Ee|0)>0;)N(),E(F,I,J,ee,fe,2147483648,0,0,0,0,0,0,0,0,0,672),F=i,I=a,J=s,ee=u,fe=c,W(),E(F,I,J,ee,fe,2147483648,0,0,0,0,0,0,0,0,0,672),F=i,I=a,J=s,ee=u,fe=c,be=be^i,Ie=Ie^a,De=De^s,se=se^u,q=q^c,Ee=Ee-1|0;return i=be,a=Ie,s=De,u=se,c=q,~ie&&T(ie),0}return{reset:M,init:A,process:L,finish:Y,hmac_reset:N,hmac_init:j,hmac_finish:ue,pbkdf2_generate_block:Te}};class N6{constructor(){this.pos=0,this.len=0}reset(){const{asm:t}=this.acquire_asm();return this.result=null,this.pos=0,this.len=0,t.reset(),this}process(t){if(this.result!==null)throw new ty("state must be reset before processing new data");const{asm:r,heap:i}=this.acquire_asm();let a=this.pos,s=this.len,u=0,c=t.length,h=0;for(;c>0;)h=Ho(i,a+s,t,u,c),s+=h,u+=h,c-=h,h=r.process(a,s),a+=h,s-=h,s||(a=0);return this.pos=a,this.len=s,this}finish(){if(this.result!==null)throw new ty("state must be reset before processing new data");const{asm:t,heap:r}=this.acquire_asm();return t.finish(this.pos,this.len,0),this.result=new Uint8Array(this.HASH_SIZE),this.result.set(r.subarray(0,this.HASH_SIZE)),this.pos=0,this.len=0,this.release_asm(),this}}const WS=[],KS=[];class Go extends N6{constructor(){super(),this.NAME="sha1",this.BLOCK_SIZE=64,this.HASH_SIZE=20,this.acquire_asm()}acquire_asm(){return this.heap!==void 0&&this.asm!==void 0||(this.heap=WS.pop()||F0(),this.asm=KS.pop()||L6({Uint8Array},null,this.heap.buffer),this.reset()),{heap:this.heap,asm:this.asm}}release_asm(){this.heap!==void 0&&this.asm!==void 0&&(WS.push(this.heap),KS.push(this.asm)),this.heap=void 0,this.asm=void 0}static bytes(t){return new Go().process(t).finish().result}}Go.NAME="sha1",Go.heap_pool=[],Go.asm_pool=[],Go.asm_function=L6;const HS=[],GS=[];class Yv extends N6{constructor(){super(),this.NAME="sha256",this.BLOCK_SIZE=64,this.HASH_SIZE=32,this.acquire_asm()}acquire_asm(){return this.heap!==void 0&&this.asm!==void 0||(this.heap=HS.pop()||F0(),this.asm=GS.pop()||function(t,r,i){var a=0,s=0,u=0,c=0,h=0,n=0,p=0,d=0,v=0,m=0,g=0,y=0,b=0,k=0,O=0,S=0,x=0,E=0,w=0,T=0,M=0,A=0,L=0,Y=0,N=0,W=0,j=new t.Uint8Array(i);function ue(F,I,J,ee,fe,ke,X,H,re,Z,Pe,ve,U,Se,me,ae){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,X=X|0,H=H|0,re=re|0,Z=Z|0,Pe=Pe|0,ve=ve|0,U=U|0,Se=Se|0,me=me|0,ae=ae|0;var B=0,V=0,G=0,te=0,oe=0,_e=0,ce=0,le=0;B=a,V=s,G=u,te=c,oe=h,_e=n,ce=p,le=d,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+1116352408|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+1899447441|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+3049323471|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+3921009573|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+961987163|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1508970993|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+2453635748|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+2870763221|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+3624381080|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+310598401|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+607225278|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+1426881987|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+1925078388|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+2162078206|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+2614888103|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+3248222580|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,F=(I>>>7^I>>>18^I>>>3^I<<25^I<<14)+(me>>>17^me>>>19^me>>>10^me<<15^me<<13)+F+Z|0,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+3835390401|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,I=(J>>>7^J>>>18^J>>>3^J<<25^J<<14)+(ae>>>17^ae>>>19^ae>>>10^ae<<15^ae<<13)+I+Pe|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+4022224774|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,J=(ee>>>7^ee>>>18^ee>>>3^ee<<25^ee<<14)+(F>>>17^F>>>19^F>>>10^F<<15^F<<13)+J+ve|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+264347078|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ee=(fe>>>7^fe>>>18^fe>>>3^fe<<25^fe<<14)+(I>>>17^I>>>19^I>>>10^I<<15^I<<13)+ee+U|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+604807628|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,fe=(ke>>>7^ke>>>18^ke>>>3^ke<<25^ke<<14)+(J>>>17^J>>>19^J>>>10^J<<15^J<<13)+fe+Se|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+770255983|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,ke=(X>>>7^X>>>18^X>>>3^X<<25^X<<14)+(ee>>>17^ee>>>19^ee>>>10^ee<<15^ee<<13)+ke+me|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1249150122|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,X=(H>>>7^H>>>18^H>>>3^H<<25^H<<14)+(fe>>>17^fe>>>19^fe>>>10^fe<<15^fe<<13)+X+ae|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+1555081692|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,H=(re>>>7^re>>>18^re>>>3^re<<25^re<<14)+(ke>>>17^ke>>>19^ke>>>10^ke<<15^ke<<13)+H+F|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+1996064986|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,re=(Z>>>7^Z>>>18^Z>>>3^Z<<25^Z<<14)+(X>>>17^X>>>19^X>>>10^X<<15^X<<13)+re+I|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+2554220882|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,Z=(Pe>>>7^Pe>>>18^Pe>>>3^Pe<<25^Pe<<14)+(H>>>17^H>>>19^H>>>10^H<<15^H<<13)+Z+J|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+2821834349|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,Pe=(ve>>>7^ve>>>18^ve>>>3^ve<<25^ve<<14)+(re>>>17^re>>>19^re>>>10^re<<15^re<<13)+Pe+ee|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+2952996808|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ve=(U>>>7^U>>>18^U>>>3^U<<25^U<<14)+(Z>>>17^Z>>>19^Z>>>10^Z<<15^Z<<13)+ve+fe|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+3210313671|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,U=(Se>>>7^Se>>>18^Se>>>3^Se<<25^Se<<14)+(Pe>>>17^Pe>>>19^Pe>>>10^Pe<<15^Pe<<13)+U+ke|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+3336571891|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,Se=(me>>>7^me>>>18^me>>>3^me<<25^me<<14)+(ve>>>17^ve>>>19^ve>>>10^ve<<15^ve<<13)+Se+X|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+3584528711|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,me=(ae>>>7^ae>>>18^ae>>>3^ae<<25^ae<<14)+(U>>>17^U>>>19^U>>>10^U<<15^U<<13)+me+H|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+113926993|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,ae=(F>>>7^F>>>18^F>>>3^F<<25^F<<14)+(Se>>>17^Se>>>19^Se>>>10^Se<<15^Se<<13)+ae+re|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+338241895|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,F=(I>>>7^I>>>18^I>>>3^I<<25^I<<14)+(me>>>17^me>>>19^me>>>10^me<<15^me<<13)+F+Z|0,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+666307205|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,I=(J>>>7^J>>>18^J>>>3^J<<25^J<<14)+(ae>>>17^ae>>>19^ae>>>10^ae<<15^ae<<13)+I+Pe|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+773529912|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,J=(ee>>>7^ee>>>18^ee>>>3^ee<<25^ee<<14)+(F>>>17^F>>>19^F>>>10^F<<15^F<<13)+J+ve|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+1294757372|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ee=(fe>>>7^fe>>>18^fe>>>3^fe<<25^fe<<14)+(I>>>17^I>>>19^I>>>10^I<<15^I<<13)+ee+U|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+1396182291|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,fe=(ke>>>7^ke>>>18^ke>>>3^ke<<25^ke<<14)+(J>>>17^J>>>19^J>>>10^J<<15^J<<13)+fe+Se|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+1695183700|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,ke=(X>>>7^X>>>18^X>>>3^X<<25^X<<14)+(ee>>>17^ee>>>19^ee>>>10^ee<<15^ee<<13)+ke+me|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1986661051|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,X=(H>>>7^H>>>18^H>>>3^H<<25^H<<14)+(fe>>>17^fe>>>19^fe>>>10^fe<<15^fe<<13)+X+ae|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+2177026350|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,H=(re>>>7^re>>>18^re>>>3^re<<25^re<<14)+(ke>>>17^ke>>>19^ke>>>10^ke<<15^ke<<13)+H+F|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+2456956037|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,re=(Z>>>7^Z>>>18^Z>>>3^Z<<25^Z<<14)+(X>>>17^X>>>19^X>>>10^X<<15^X<<13)+re+I|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+2730485921|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,Z=(Pe>>>7^Pe>>>18^Pe>>>3^Pe<<25^Pe<<14)+(H>>>17^H>>>19^H>>>10^H<<15^H<<13)+Z+J|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+2820302411|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,Pe=(ve>>>7^ve>>>18^ve>>>3^ve<<25^ve<<14)+(re>>>17^re>>>19^re>>>10^re<<15^re<<13)+Pe+ee|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+3259730800|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ve=(U>>>7^U>>>18^U>>>3^U<<25^U<<14)+(Z>>>17^Z>>>19^Z>>>10^Z<<15^Z<<13)+ve+fe|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+3345764771|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,U=(Se>>>7^Se>>>18^Se>>>3^Se<<25^Se<<14)+(Pe>>>17^Pe>>>19^Pe>>>10^Pe<<15^Pe<<13)+U+ke|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+3516065817|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,Se=(me>>>7^me>>>18^me>>>3^me<<25^me<<14)+(ve>>>17^ve>>>19^ve>>>10^ve<<15^ve<<13)+Se+X|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+3600352804|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,me=(ae>>>7^ae>>>18^ae>>>3^ae<<25^ae<<14)+(U>>>17^U>>>19^U>>>10^U<<15^U<<13)+me+H|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+4094571909|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,ae=(F>>>7^F>>>18^F>>>3^F<<25^F<<14)+(Se>>>17^Se>>>19^Se>>>10^Se<<15^Se<<13)+ae+re|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+275423344|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,F=(I>>>7^I>>>18^I>>>3^I<<25^I<<14)+(me>>>17^me>>>19^me>>>10^me<<15^me<<13)+F+Z|0,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+430227734|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,I=(J>>>7^J>>>18^J>>>3^J<<25^J<<14)+(ae>>>17^ae>>>19^ae>>>10^ae<<15^ae<<13)+I+Pe|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+506948616|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,J=(ee>>>7^ee>>>18^ee>>>3^ee<<25^ee<<14)+(F>>>17^F>>>19^F>>>10^F<<15^F<<13)+J+ve|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+659060556|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ee=(fe>>>7^fe>>>18^fe>>>3^fe<<25^fe<<14)+(I>>>17^I>>>19^I>>>10^I<<15^I<<13)+ee+U|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+883997877|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,fe=(ke>>>7^ke>>>18^ke>>>3^ke<<25^ke<<14)+(J>>>17^J>>>19^J>>>10^J<<15^J<<13)+fe+Se|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+958139571|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,ke=(X>>>7^X>>>18^X>>>3^X<<25^X<<14)+(ee>>>17^ee>>>19^ee>>>10^ee<<15^ee<<13)+ke+me|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1322822218|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,X=(H>>>7^H>>>18^H>>>3^H<<25^H<<14)+(fe>>>17^fe>>>19^fe>>>10^fe<<15^fe<<13)+X+ae|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+1537002063|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,H=(re>>>7^re>>>18^re>>>3^re<<25^re<<14)+(ke>>>17^ke>>>19^ke>>>10^ke<<15^ke<<13)+H+F|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+1747873779|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,re=(Z>>>7^Z>>>18^Z>>>3^Z<<25^Z<<14)+(X>>>17^X>>>19^X>>>10^X<<15^X<<13)+re+I|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+1955562222|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,Z=(Pe>>>7^Pe>>>18^Pe>>>3^Pe<<25^Pe<<14)+(H>>>17^H>>>19^H>>>10^H<<15^H<<13)+Z+J|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+2024104815|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,Pe=(ve>>>7^ve>>>18^ve>>>3^ve<<25^ve<<14)+(re>>>17^re>>>19^re>>>10^re<<15^re<<13)+Pe+ee|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+2227730452|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ve=(U>>>7^U>>>18^U>>>3^U<<25^U<<14)+(Z>>>17^Z>>>19^Z>>>10^Z<<15^Z<<13)+ve+fe|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+2361852424|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,U=(Se>>>7^Se>>>18^Se>>>3^Se<<25^Se<<14)+(Pe>>>17^Pe>>>19^Pe>>>10^Pe<<15^Pe<<13)+U+ke|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+2428436474|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,Se=(me>>>7^me>>>18^me>>>3^me<<25^me<<14)+(ve>>>17^ve>>>19^ve>>>10^ve<<15^ve<<13)+Se+X|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+2756734187|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,me=(ae>>>7^ae>>>18^ae>>>3^ae<<25^ae<<14)+(U>>>17^U>>>19^U>>>10^U<<15^U<<13)+me+H|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+3204031479|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,ae=(F>>>7^F>>>18^F>>>3^F<<25^F<<14)+(Se>>>17^Se>>>19^Se>>>10^Se<<15^Se<<13)+ae+re|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+3329325298|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,a=a+B|0,s=s+V|0,u=u+G|0,c=c+te|0,h=h+oe|0,n=n+_e|0,p=p+ce|0,d=d+le|0}function Te(F){F=F|0,ue(j[F|0]<<24|j[F|1]<<16|j[F|2]<<8|j[F|3],j[F|4]<<24|j[F|5]<<16|j[F|6]<<8|j[F|7],j[F|8]<<24|j[F|9]<<16|j[F|10]<<8|j[F|11],j[F|12]<<24|j[F|13]<<16|j[F|14]<<8|j[F|15],j[F|16]<<24|j[F|17]<<16|j[F|18]<<8|j[F|19],j[F|20]<<24|j[F|21]<<16|j[F|22]<<8|j[F|23],j[F|24]<<24|j[F|25]<<16|j[F|26]<<8|j[F|27],j[F|28]<<24|j[F|29]<<16|j[F|30]<<8|j[F|31],j[F|32]<<24|j[F|33]<<16|j[F|34]<<8|j[F|35],j[F|36]<<24|j[F|37]<<16|j[F|38]<<8|j[F|39],j[F|40]<<24|j[F|41]<<16|j[F|42]<<8|j[F|43],j[F|44]<<24|j[F|45]<<16|j[F|46]<<8|j[F|47],j[F|48]<<24|j[F|49]<<16|j[F|50]<<8|j[F|51],j[F|52]<<24|j[F|53]<<16|j[F|54]<<8|j[F|55],j[F|56]<<24|j[F|57]<<16|j[F|58]<<8|j[F|59],j[F|60]<<24|j[F|61]<<16|j[F|62]<<8|j[F|63])}function pe(F){F=F|0,j[F|0]=a>>>24,j[F|1]=a>>>16&255,j[F|2]=a>>>8&255,j[F|3]=a&255,j[F|4]=s>>>24,j[F|5]=s>>>16&255,j[F|6]=s>>>8&255,j[F|7]=s&255,j[F|8]=u>>>24,j[F|9]=u>>>16&255,j[F|10]=u>>>8&255,j[F|11]=u&255,j[F|12]=c>>>24,j[F|13]=c>>>16&255,j[F|14]=c>>>8&255,j[F|15]=c&255,j[F|16]=h>>>24,j[F|17]=h>>>16&255,j[F|18]=h>>>8&255,j[F|19]=h&255,j[F|20]=n>>>24,j[F|21]=n>>>16&255,j[F|22]=n>>>8&255,j[F|23]=n&255,j[F|24]=p>>>24,j[F|25]=p>>>16&255,j[F|26]=p>>>8&255,j[F|27]=p&255,j[F|28]=d>>>24,j[F|29]=d>>>16&255,j[F|30]=d>>>8&255,j[F|31]=d&255}function ye(){a=1779033703,s=3144134277,u=1013904242,c=2773480762,h=1359893119,n=2600822924,p=528734635,d=1541459225,v=m=0}function de(F,I,J,ee,fe,ke,X,H,re,Z){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,X=X|0,H=H|0,re=re|0,Z=Z|0,a=F,s=I,u=J,c=ee,h=fe,n=ke,p=X,d=H,v=re,m=Z}function Ee(F,I){F=F|0,I=I|0;var J=0;if(F&63)return-1;for(;(I|0)>=64;)Te(F),F=F+64|0,I=I-64|0,J=J+64|0;return v=v+J|0,v>>>0>>0&&(m=m+1|0),J|0}function ie(F,I,J){F=F|0,I=I|0,J=J|0;var ee=0,fe=0;if(F&63||~J&&J&31)return-1;if((I|0)>=64){if(ee=Ee(F,I)|0,(ee|0)==-1)return-1;F=F+ee|0,I=I-ee|0}if(ee=ee+I|0,v=v+I|0,v>>>0>>0&&(m=m+1|0),j[F|I]=128,(I|0)>=56){for(fe=I+1|0;(fe|0)<64;fe=fe+1|0)j[F|fe]=0;Te(F),I=0,j[F|0]=0}for(fe=I+1|0;(fe|0)<59;fe=fe+1|0)j[F|fe]=0;return j[F|56]=m>>>21&255,j[F|57]=m>>>13&255,j[F|58]=m>>>5&255,j[F|59]=m<<3&255|v>>>29,j[F|60]=v>>>21&255,j[F|61]=v>>>13&255,j[F|62]=v>>>5&255,j[F|63]=v<<3&255,Te(F),~J&&pe(J),ee|0}function be(){a=g,s=y,u=b,c=k,h=O,n=S,p=x,d=E,v=64,m=0}function Ie(){a=w,s=T,u=M,c=A,h=L,n=Y,p=N,d=W,v=64,m=0}function De(F,I,J,ee,fe,ke,X,H,re,Z,Pe,ve,U,Se,me,ae){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,X=X|0,H=H|0,re=re|0,Z=Z|0,Pe=Pe|0,ve=ve|0,U=U|0,Se=Se|0,me=me|0,ae=ae|0,ye(),ue(F^1549556828,I^1549556828,J^1549556828,ee^1549556828,fe^1549556828,ke^1549556828,X^1549556828,H^1549556828,re^1549556828,Z^1549556828,Pe^1549556828,ve^1549556828,U^1549556828,Se^1549556828,me^1549556828,ae^1549556828),w=a,T=s,M=u,A=c,L=h,Y=n,N=p,W=d,ye(),ue(F^909522486,I^909522486,J^909522486,ee^909522486,fe^909522486,ke^909522486,X^909522486,H^909522486,re^909522486,Z^909522486,Pe^909522486,ve^909522486,U^909522486,Se^909522486,me^909522486,ae^909522486),g=a,y=s,b=u,k=c,O=h,S=n,x=p,E=d,v=64,m=0}function se(F,I,J){F=F|0,I=I|0,J=J|0;var ee=0,fe=0,ke=0,X=0,H=0,re=0,Z=0,Pe=0,ve=0;return F&63||~J&&J&31?-1:(ve=ie(F,I,-1)|0,ee=a,fe=s,ke=u,X=c,H=h,re=n,Z=p,Pe=d,Ie(),ue(ee,fe,ke,X,H,re,Z,Pe,2147483648,0,0,0,0,0,0,768),~J&&pe(J),ve|0)}function q(F,I,J,ee,fe){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0;var ke=0,X=0,H=0,re=0,Z=0,Pe=0,ve=0,U=0,Se=0,me=0,ae=0,B=0,V=0,G=0,te=0,oe=0;if(F&63||~fe&&fe&31)return-1;for(j[F+I|0]=J>>>24,j[F+I+1|0]=J>>>16&255,j[F+I+2|0]=J>>>8&255,j[F+I+3|0]=J&255,se(F,I+4|0,-1)|0,ke=Se=a,X=me=s,H=ae=u,re=B=c,Z=V=h,Pe=G=n,ve=te=p,U=oe=d,ee=ee-1|0;(ee|0)>0;)be(),ue(Se,me,ae,B,V,G,te,oe,2147483648,0,0,0,0,0,0,768),Se=a,me=s,ae=u,B=c,V=h,G=n,te=p,oe=d,Ie(),ue(Se,me,ae,B,V,G,te,oe,2147483648,0,0,0,0,0,0,768),Se=a,me=s,ae=u,B=c,V=h,G=n,te=p,oe=d,ke=ke^a,X=X^s,H=H^u,re=re^c,Z=Z^h,Pe=Pe^n,ve=ve^p,U=U^d,ee=ee-1|0;return a=ke,s=X,u=H,c=re,h=Z,n=Pe,p=ve,d=U,~fe&&pe(fe),0}return{reset:ye,init:de,process:Ee,finish:ie,hmac_reset:be,hmac_init:De,hmac_finish:se,pbkdf2_generate_block:q}}({Uint8Array},null,this.heap.buffer),this.reset()),{heap:this.heap,asm:this.asm}}release_asm(){this.heap!==void 0&&this.asm!==void 0&&(HS.push(this.heap),GS.push(this.asm)),this.heap=void 0,this.asm=void 0}static bytes(t){return new Yv().process(t).finish().result}}Yv.NAME="sha256";var Xv=B6;function B6(e,t){if(!e)throw Error(t||"Assertion failed")}B6.equal=function(e,t,r){if(e!=t)throw Error(r||"Assertion failed: "+e+" != "+t)};var eZ=Wi!==void 0?Wi:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function j0(e,t){return e(t={exports:{}},t.exports),t.exports}function Hj(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var Gj=j0(function(e){e.exports=typeof Object.create=="function"?function(t,r){t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}),Yj=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if(typeof e=="string")if(t){if(t==="hex")for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>8,u=255&a;s?r.push(s,u):r.push(u)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}var Jj=function(e,t){for(var r="",i=0;i>>0}return s},Qj=function(e,t){for(var r=Array(4*e.length),i=0,a=0;i>>24,r[a+1]=s>>>16&255,r[a+2]=s>>>8&255,r[a+3]=255&s):(r[a+3]=s>>>24,r[a+2]=s>>>16&255,r[a+1]=s>>>8&255,r[a]=255&s)}return r},Pn={inherits:Gj,toArray:Yj,toHex:Xj,htonl:F6,toHex32:Jj,zero2:z6,zero8:j6,join32:Zj,split32:Qj,rotr32:function(e,t){return e>>>t|e<<32-t},rotl32:function(e,t){return e<>>32-t},sum32:function(e,t){return e+t>>>0},sum32_3:function(e,t,r){return e+t+r>>>0},sum32_4:function(e,t,r,i){return e+t+r+i>>>0},sum32_5:function(e,t,r,i,a){return e+t+r+i+a>>>0},sum64:function(e,t,r,i){var a=e[t],s=i+e[t+1]>>>0,u=(s>>0,e[t+1]=s},sum64_hi:function(e,t,r,i){return(t+i>>>0>>0},sum64_lo:function(e,t,r,i){return t+i>>>0},sum64_4_hi:function(e,t,r,i,a,s,u,c){var h=0,n=t;return h+=(n=n+i>>>0)>>0)>>0)>>0},sum64_4_lo:function(e,t,r,i,a,s,u,c){return t+i+s+c>>>0},sum64_5_hi:function(e,t,r,i,a,s,u,c,h,n){var p=0,d=t;return p+=(d=d+i>>>0)>>0)>>0)>>0)>>0},sum64_5_lo:function(e,t,r,i,a,s,u,c,h,n){return t+i+s+c+n>>>0},rotr64_hi:function(e,t,r){return(t<<32-r|e>>>r)>>>0},rotr64_lo:function(e,t,r){return(e<<32-r|t>>>r)>>>0},shr64_hi:function(e,t,r){return e>>>r},shr64_lo:function(e,t,r){return(e<<32-r|t>>>r)>>>0}};function Cp(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var qj=Cp;Cp.prototype.update=function(e,t){if(e=Pn.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),this.pending.length===0&&(this.pending=null),e=Pn.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,i[a++]=e>>>16&255,i[a++]=e>>>8&255,i[a++]=255&e}else for(i[a++]=255&e,i[a++]=e>>>8&255,i[a++]=e>>>16&255,i[a++]=e>>>24&255,i[a++]=0,i[a++]=0,i[a++]=0,i[a++]=0,s=8;s>>3},g1_256:function(e){return La(e,17)^La(e,19)^e>>>10}},ca=Pn.sum32,tU=Pn.sum32_4,nU=Pn.sum32_5,rU=Mu.ch32,iU=Mu.maj32,aU=Mu.s0_256,sU=Mu.s1_256,oU=Mu.g0_256,lU=Mu.g1_256,K6=U0.BlockHash,uU=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function Ua(){if(!(this instanceof Ua))return new Ua;K6.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=uU,this.W=Array(64)}Pn.inherits(Ua,K6);var H6=Ua;function ws(){if(!(this instanceof ws))return new ws;H6.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Ua.blockSize=512,Ua.outSize=256,Ua.hmacStrength=192,Ua.padLength=64,Ua.prototype._update=function(e,t){for(var r=this.W,i=0;i<16;i++)r[i]=e[t+i];for(;i>>32-a,r)}function Xr(e,t,r,i,a,s,u){return Zv(t&r|~t&i,e,t,a,s,u)}function Jr(e,t,r,i,a,s,u){return Zv(t&i|r&~i,e,t,a,s,u)}function Zr(e,t,r,i,a,s,u){return Zv(t^r^i,e,t,a,s,u)}function Qr(e,t,r,i,a,s,u){return Zv(r^(t|~i),e,t,a,s,u)}function RU(e){const t=[];let r;for(r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t}const ZS="0123456789abcdef".split("");function LU(e){let t="",r=0;for(;r<4;r++)t+=ZS[e>>8*r+4&15]+ZS[e>>8*r&15];return t}function eo(e,t){return e+t&4294967295}const rv=Oe.getWebCrypto(),iv=Oe.getNodeCrypto(),NU=iv&&iv.getHashes();function No(e){if(iv&&NU.includes(e))return async function(t){const r=iv.createHash(e);return cr(t,i=>{r.update(i)},()=>new Uint8Array(r.digest()))}}function Uh(e,t){return async function(r,i=Nt){if(pr(r)&&(r=await _r(r)),!Oe.isStream(r)&&rv&&t&&r.length>=i.minBytesForWebCrypto)return new Uint8Array(await rv.digest(t,r));const a=e();return cr(r,s=>{a.update(s)},()=>new Uint8Array(a.digest()))}}function QS(e,t){return async function(r,i=Nt){if(pr(r)&&(r=await _r(r)),Oe.isStream(r)){const a=new e;return cr(r,s=>{a.process(s)},()=>a.finish().result)}return rv&&t&&r.length>=i.minBytesForWebCrypto?new Uint8Array(await rv.digest(t,r)):e.bytes(r)}}const Bo={md5:No("md5")||async function(e){const t=function(r){const i=r.length,a=[1732584193,-271733879,-1732584194,271733878];let s;for(s=64;s<=r.length;s+=64)I_(a,RU(r.substring(s-64,s)));r=r.substring(s-64);const u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s>2]|=r.charCodeAt(s)<<(s%4<<3);if(u[s>>2]|=128<<(s%4<<3),s>55)for(I_(a,u),s=0;s<16;s++)u[s]=0;return u[14]=8*i,I_(a,u),a}(Oe.uint8ArrayToString(e));return Oe.hexToUint8Array(function(r){for(let i=0;inew Uint8Array(b.update(k)))}(e,t,r,i);if(s.substr(0,3)==="aes")return function(d,v,m,g,y){if(Oe.getWebCrypto()&&v.length!==24&&!Oe.isStream(m)&&m.length>=3e3*y.minBytesForWebCrypto)return async function(k,O,S,x){const E="AES-CBC",w=await qS.importKey("raw",O,{name:E},!1,["encrypt"]),{blockSize:T}=lo(k),M=Oe.concatUint8Array([new Uint8Array(T),S]),A=new Uint8Array(await qS.encrypt({name:E,iv:x},w,M)).subarray(0,S.length);return function(L,Y){for(let N=0;Nb.aes.AES_Encrypt_process(k),()=>b.aes.AES_Encrypt_finish())}(e,t,r,i,a);const u=new(lo(e))(t),c=u.blockSize,h=i.slice();let n=new Uint8Array;const p=d=>{d&&(n=Oe.concatUint8Array([n,d]));const v=new Uint8Array(n.length);let m,g=0;for(;d?n.length>=c:n.length;){const y=u.encrypt(h);for(m=0;mnew Uint8Array(y.update(b)))}(e,t,r,i);if(a.substr(0,3)==="aes")return function(p,d,v,m){if(Oe.isStream(v)){const g=new cu(d,m);return cr(v,y=>g.aes.AES_Decrypt_process(y),()=>g.aes.AES_Decrypt_finish())}return cu.decrypt(v,d,m)}(0,t,r,i);const s=new(lo(e))(t),u=s.blockSize;let c=i,h=new Uint8Array;const n=p=>{p&&(h=Oe.concatUint8Array([h,p]));const d=new Uint8Array(h.length);let v,m=0;for(;p?h.length>=u:h.length;){const g=s.encrypt(c);for(c=h,v=0;v48)throw new Es("illegal counter size");let s=Math.pow(2,i)-1;a.set_mask(0,0,s/4294967296|0,0|s)}else i=48,a.set_mask(0,0,65535,4294967295);if(t===void 0)throw Error("nonce is required");{let s=t.length;if(!s||s>16)throw new Es("illegal nonce size");let u=new DataView(new ArrayBuffer(16));new Uint8Array(u.buffer).set(t),a.set_nonce(u.getUint32(0),u.getUint32(4),u.getUint32(8),u.getUint32(12))}if(r!==void 0){if(r<0||r>=Math.pow(2,i))throw new Es("illegal counter value");a.set_counter(0,0,r/4294967296|0,0|r)}}}class ov{static encrypt(t,r,i=!0,a){return new ov(r,a,i).encrypt(t)}static decrypt(t,r,i=!0,a){return new ov(r,a,i).decrypt(t)}constructor(t,r,i=!0,a){this.aes=a||new Od(t,r,i,"CBC")}encrypt(t){return mo(this.aes.AES_Encrypt_process(t),this.aes.AES_Encrypt_finish())}decrypt(t){return mo(this.aes.AES_Decrypt_process(t),this.aes.AES_Decrypt_finish())}}const e5=Oe.getWebCrypto(),FU=Oe.getNodeCrypto(),gs=16;function t5(e,t){const r=e.length-gs;for(let i=0;i>3),17+(m>>3)),8-(7&m)).subarray(1),k=new Uint8Array(hi),O=new Uint8Array(h.length+Gs);let S,x=0;for(S=0;S16)throw new Es("illegal tagSize value");const h=r.length||0,n=new Uint8Array(16);h!==12?(this._gcm_mac_process(r),c[0]=0,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=0,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=0,c[11]=h>>>29,c[12]=h>>>21&255,c[13]=h>>>13&255,c[14]=h>>>5&255,c[15]=h<<3&255,u.mac(Sn.MAC.GCM,Sn.HEAP_DATA,16),u.get_iv(Sn.HEAP_DATA),u.set_iv(0,0,0,0),n.set(c.subarray(0,16))):(n.set(r),n[15]=1);const p=new DataView(n.buffer);if(this.gamma0=p.getUint32(12),u.set_nonce(p.getUint32(0),p.getUint32(4),p.getUint32(8),0),u.set_mask(0,0,0,4294967295),i!==void 0){if(i.length>R_)throw new Es("illegal adata length");i.length?(this.adata=i,this._gcm_mac_process(i)):this.adata=void 0}else this.adata=void 0;if(this.counter<1||this.counter>4294967295)throw new RangeError("counter must be a positive 32-bit integer");u.set_counter(0,0,0,this.gamma0+this.counter|0)}static encrypt(t,r,i,a,s){return new Yo(r,i,a,s).encrypt(t)}static decrypt(t,r,i,a,s){return new Yo(r,i,a,s).decrypt(t)}encrypt(t){return this.AES_GCM_encrypt(t)}decrypt(t){return this.AES_GCM_decrypt(t)}AES_GCM_Encrypt_process(t){let r=0,i=t.length||0,{asm:a,heap:s}=this.aes.acquire_asm(),u=this.counter,c=this.aes.pos,h=this.aes.len,n=0,p=h+i&-16,d=0;if((u-1<<4)+h+i>R_)throw new RangeError("counter overflow");const v=new Uint8Array(p);for(;i>0;)d=Ho(s,c+h,t,r,i),h+=d,r+=d,i-=d,d=a.cipher(Sn.ENC.CTR,Sn.HEAP_DATA+c,h),d=a.mac(Sn.MAC.GCM,Sn.HEAP_DATA+c,d),d&&v.set(s.subarray(c,c+d),n),u+=d>>>4,n+=d,d>>29,r[4]=p>>>21,r[5]=p>>>13&255,r[6]=p>>>5&255,r[7]=p<<3&255,r[8]=r[9]=r[10]=0,r[11]=d>>>29,r[12]=d>>>21&255,r[13]=d>>>13&255,r[14]=d>>>5&255,r[15]=d<<3&255,t.mac(Sn.MAC.GCM,Sn.HEAP_DATA,16),t.get_iv(Sn.HEAP_DATA),t.set_counter(0,0,0,this.gamma0),t.cipher(Sn.ENC.CTR,Sn.HEAP_DATA,16),h.set(r.subarray(0,a),c),this.counter=1,this.aes.pos=0,this.aes.len=0,h}AES_GCM_Decrypt_process(t){let r=0,i=t.length||0,{asm:a,heap:s}=this.aes.acquire_asm(),u=this.counter,c=this.tagSize,h=this.aes.pos,n=this.aes.len,p=0,d=n+i>c?n+i-c&-16:0,v=n+i-d,m=0;if((u-1<<4)+n+i>R_)throw new RangeError("counter overflow");const g=new Uint8Array(d);for(;i>v;)m=Ho(s,h+n,t,r,i-v),n+=m,r+=m,i-=m,m=a.mac(Sn.MAC.GCM,Sn.HEAP_DATA+h,m),m=a.cipher(Sn.DEC.CTR,Sn.HEAP_DATA+h,m),m&&g.set(s.subarray(h,h+m),p),u+=m>>>4,p+=m,h=0,n=0;return i>0&&(n+=Ho(s,0,t,r,i)),this.counter=u,this.aes.pos=h,this.aes.len=n,g}AES_GCM_Decrypt_finish(){let{asm:t,heap:r}=this.aes.acquire_asm(),i=this.tagSize,a=this.adata,s=this.counter,u=this.aes.pos,c=this.aes.len,h=c-i;if(c>>29,r[4]=v>>>21,r[5]=v>>>13&255,r[6]=v>>>5&255,r[7]=v<<3&255,r[8]=r[9]=r[10]=0,r[11]=m>>>29,r[12]=m>>>21&255,r[13]=m>>>13&255,r[14]=m>>>5&255,r[15]=m<<3&255,t.mac(Sn.MAC.GCM,Sn.HEAP_DATA,16),t.get_iv(Sn.HEAP_DATA),t.set_counter(0,0,0,this.gamma0),t.cipher(Sn.ENC.CTR,Sn.HEAP_DATA,16);let g=0;for(let y=0;y0;){for(u=Ho(i,0,t,a,s),a+=u,s-=u;15&u;)i[u++]=0;r.mac(Sn.MAC.GCM,Sn.HEAP_DATA,u)}}}const L_=Oe.getWebCrypto(),a5=Oe.getNodeCrypto(),s5=Oe.getNodeBuffer(),ql=16,N_="AES-GCM";async function iu(e,t){if(e!==he.symmetric.aes128&&e!==he.symmetric.aes192&&e!==he.symmetric.aes256)throw Error("GCM mode supports only AES cipher");if(Oe.getWebCrypto()&&t.length!==24){const r=await L_.importKey("raw",t,{name:N_},!1,["encrypt","decrypt"]);return{encrypt:async function(i,a,s=new Uint8Array){if(!i.length)return Yo.encrypt(i,t,a,s);const u=await L_.encrypt({name:N_,iv:a,additionalData:s,tagLength:8*ql},r,i);return new Uint8Array(u)},decrypt:async function(i,a,s=new Uint8Array){if(i.length===ql)return Yo.decrypt(i,t,a,s);const u=await L_.decrypt({name:N_,iv:a,additionalData:s,tagLength:8*ql},r,i);return new Uint8Array(u)}}}return Oe.getNodeCrypto()?{encrypt:async function(r,i,a=new Uint8Array){const s=new a5.createCipheriv("aes-"+8*t.length+"-gcm",t,i);s.setAAD(a);const u=s5.concat([s.update(r),s.final(),s.getAuthTag()]);return new Uint8Array(u)},decrypt:async function(r,i,a=new Uint8Array){const s=new a5.createDecipheriv("aes-"+8*t.length+"-gcm",t,i);s.setAAD(a),s.setAuthTag(r.slice(r.length-ql,r.length));const u=s5.concat([s.update(r.slice(0,r.length-ql)),s.final()]);return new Uint8Array(u)}}:{encrypt:async function(r,i,a){return Yo.encrypt(r,t,i,a)},decrypt:async function(r,i,a){return Yo.decrypt(r,t,i,a)}}}iu.getNonce=function(e,t){const r=e.slice();for(let i=0;i>>8)-1}(se,q,F,I,32)}function g(se,q){var F;for(F=0;F<16;F++)se[F]=0|q[F]}function y(se){var q,F,I=1;for(q=0;q<16;q++)F=se[q]+I+65535,I=Math.floor(F/65536),se[q]=F-65536*I;se[0]+=I-1+37*(I-1)}function b(se,q,F){for(var I,J=~(F-1),ee=0;ee<16;ee++)I=J&(se[ee]^q[ee]),se[ee]^=I,q[ee]^=I}function k(se,q){var F,I,J,ee=r(),fe=r();for(F=0;F<16;F++)fe[F]=q[F];for(y(fe),y(fe),y(fe),I=0;I<2;I++){for(ee[0]=fe[0]-65517,F=1;F<15;F++)ee[F]=fe[F]-65535-(ee[F-1]>>16&1),ee[F-1]&=65535;ee[15]=fe[15]-32767-(ee[14]>>16&1),J=ee[15]>>16&1,ee[14]&=65535,b(fe,ee,1-J)}for(F=0;F<16;F++)se[2*F]=255&fe[F],se[2*F+1]=fe[F]>>8}function O(se,q){var F=new Uint8Array(32),I=new Uint8Array(32);return k(F,se),k(I,q),m(F,0,I,0)}function S(se){var q=new Uint8Array(32);return k(q,se),1&q[0]}function x(se,q){var F;for(F=0;F<16;F++)se[F]=q[2*F]+(q[2*F+1]<<8);se[15]&=32767}function E(se,q,F){for(var I=0;I<16;I++)se[I]=q[I]+F[I]}function w(se,q,F){for(var I=0;I<16;I++)se[I]=q[I]-F[I]}function T(se,q,F){var I,J,ee=0,fe=0,ke=0,X=0,H=0,re=0,Z=0,Pe=0,ve=0,U=0,Se=0,me=0,ae=0,B=0,V=0,G=0,te=0,oe=0,_e=0,ce=0,le=0,Ve=0,Ze=0,yt=0,Tt=0,St=0,At=0,ht=0,Rt=0,Mt=0,cn=0,tn=F[0],Yt=F[1],Ht=F[2],Jt=F[3],Gt=F[4],ln=F[5],Qt=F[6],it=F[7],st=F[8],Ct=F[9],Ce=F[10],Le=F[11],ze=F[12],He=F[13],Be=F[14],nt=F[15];ee+=(I=q[0])*tn,fe+=I*Yt,ke+=I*Ht,X+=I*Jt,H+=I*Gt,re+=I*ln,Z+=I*Qt,Pe+=I*it,ve+=I*st,U+=I*Ct,Se+=I*Ce,me+=I*Le,ae+=I*ze,B+=I*He,V+=I*Be,G+=I*nt,fe+=(I=q[1])*tn,ke+=I*Yt,X+=I*Ht,H+=I*Jt,re+=I*Gt,Z+=I*ln,Pe+=I*Qt,ve+=I*it,U+=I*st,Se+=I*Ct,me+=I*Ce,ae+=I*Le,B+=I*ze,V+=I*He,G+=I*Be,te+=I*nt,ke+=(I=q[2])*tn,X+=I*Yt,H+=I*Ht,re+=I*Jt,Z+=I*Gt,Pe+=I*ln,ve+=I*Qt,U+=I*it,Se+=I*st,me+=I*Ct,ae+=I*Ce,B+=I*Le,V+=I*ze,G+=I*He,te+=I*Be,oe+=I*nt,X+=(I=q[3])*tn,H+=I*Yt,re+=I*Ht,Z+=I*Jt,Pe+=I*Gt,ve+=I*ln,U+=I*Qt,Se+=I*it,me+=I*st,ae+=I*Ct,B+=I*Ce,V+=I*Le,G+=I*ze,te+=I*He,oe+=I*Be,_e+=I*nt,H+=(I=q[4])*tn,re+=I*Yt,Z+=I*Ht,Pe+=I*Jt,ve+=I*Gt,U+=I*ln,Se+=I*Qt,me+=I*it,ae+=I*st,B+=I*Ct,V+=I*Ce,G+=I*Le,te+=I*ze,oe+=I*He,_e+=I*Be,ce+=I*nt,re+=(I=q[5])*tn,Z+=I*Yt,Pe+=I*Ht,ve+=I*Jt,U+=I*Gt,Se+=I*ln,me+=I*Qt,ae+=I*it,B+=I*st,V+=I*Ct,G+=I*Ce,te+=I*Le,oe+=I*ze,_e+=I*He,ce+=I*Be,le+=I*nt,Z+=(I=q[6])*tn,Pe+=I*Yt,ve+=I*Ht,U+=I*Jt,Se+=I*Gt,me+=I*ln,ae+=I*Qt,B+=I*it,V+=I*st,G+=I*Ct,te+=I*Ce,oe+=I*Le,_e+=I*ze,ce+=I*He,le+=I*Be,Ve+=I*nt,Pe+=(I=q[7])*tn,ve+=I*Yt,U+=I*Ht,Se+=I*Jt,me+=I*Gt,ae+=I*ln,B+=I*Qt,V+=I*it,G+=I*st,te+=I*Ct,oe+=I*Ce,_e+=I*Le,ce+=I*ze,le+=I*He,Ve+=I*Be,Ze+=I*nt,ve+=(I=q[8])*tn,U+=I*Yt,Se+=I*Ht,me+=I*Jt,ae+=I*Gt,B+=I*ln,V+=I*Qt,G+=I*it,te+=I*st,oe+=I*Ct,_e+=I*Ce,ce+=I*Le,le+=I*ze,Ve+=I*He,Ze+=I*Be,yt+=I*nt,U+=(I=q[9])*tn,Se+=I*Yt,me+=I*Ht,ae+=I*Jt,B+=I*Gt,V+=I*ln,G+=I*Qt,te+=I*it,oe+=I*st,_e+=I*Ct,ce+=I*Ce,le+=I*Le,Ve+=I*ze,Ze+=I*He,yt+=I*Be,Tt+=I*nt,Se+=(I=q[10])*tn,me+=I*Yt,ae+=I*Ht,B+=I*Jt,V+=I*Gt,G+=I*ln,te+=I*Qt,oe+=I*it,_e+=I*st,ce+=I*Ct,le+=I*Ce,Ve+=I*Le,Ze+=I*ze,yt+=I*He,Tt+=I*Be,St+=I*nt,me+=(I=q[11])*tn,ae+=I*Yt,B+=I*Ht,V+=I*Jt,G+=I*Gt,te+=I*ln,oe+=I*Qt,_e+=I*it,ce+=I*st,le+=I*Ct,Ve+=I*Ce,Ze+=I*Le,yt+=I*ze,Tt+=I*He,St+=I*Be,At+=I*nt,ae+=(I=q[12])*tn,B+=I*Yt,V+=I*Ht,G+=I*Jt,te+=I*Gt,oe+=I*ln,_e+=I*Qt,ce+=I*it,le+=I*st,Ve+=I*Ct,Ze+=I*Ce,yt+=I*Le,Tt+=I*ze,St+=I*He,At+=I*Be,ht+=I*nt,B+=(I=q[13])*tn,V+=I*Yt,G+=I*Ht,te+=I*Jt,oe+=I*Gt,_e+=I*ln,ce+=I*Qt,le+=I*it,Ve+=I*st,Ze+=I*Ct,yt+=I*Ce,Tt+=I*Le,St+=I*ze,At+=I*He,ht+=I*Be,Rt+=I*nt,V+=(I=q[14])*tn,G+=I*Yt,te+=I*Ht,oe+=I*Jt,_e+=I*Gt,ce+=I*ln,le+=I*Qt,Ve+=I*it,Ze+=I*st,yt+=I*Ct,Tt+=I*Ce,St+=I*Le,At+=I*ze,ht+=I*He,Rt+=I*Be,Mt+=I*nt,G+=(I=q[15])*tn,fe+=38*(oe+=I*Ht),ke+=38*(_e+=I*Jt),X+=38*(ce+=I*Gt),H+=38*(le+=I*ln),re+=38*(Ve+=I*Qt),Z+=38*(Ze+=I*it),Pe+=38*(yt+=I*st),ve+=38*(Tt+=I*Ct),U+=38*(St+=I*Ce),Se+=38*(At+=I*Le),me+=38*(ht+=I*ze),ae+=38*(Rt+=I*He),B+=38*(Mt+=I*Be),V+=38*(cn+=I*nt),ee=(I=(ee+=38*(te+=I*Yt))+(J=1)+65535)-65536*(J=Math.floor(I/65536)),fe=(I=fe+J+65535)-65536*(J=Math.floor(I/65536)),ke=(I=ke+J+65535)-65536*(J=Math.floor(I/65536)),X=(I=X+J+65535)-65536*(J=Math.floor(I/65536)),H=(I=H+J+65535)-65536*(J=Math.floor(I/65536)),re=(I=re+J+65535)-65536*(J=Math.floor(I/65536)),Z=(I=Z+J+65535)-65536*(J=Math.floor(I/65536)),Pe=(I=Pe+J+65535)-65536*(J=Math.floor(I/65536)),ve=(I=ve+J+65535)-65536*(J=Math.floor(I/65536)),U=(I=U+J+65535)-65536*(J=Math.floor(I/65536)),Se=(I=Se+J+65535)-65536*(J=Math.floor(I/65536)),me=(I=me+J+65535)-65536*(J=Math.floor(I/65536)),ae=(I=ae+J+65535)-65536*(J=Math.floor(I/65536)),B=(I=B+J+65535)-65536*(J=Math.floor(I/65536)),V=(I=V+J+65535)-65536*(J=Math.floor(I/65536)),G=(I=G+J+65535)-65536*(J=Math.floor(I/65536)),ee=(I=(ee+=J-1+37*(J-1))+(J=1)+65535)-65536*(J=Math.floor(I/65536)),fe=(I=fe+J+65535)-65536*(J=Math.floor(I/65536)),ke=(I=ke+J+65535)-65536*(J=Math.floor(I/65536)),X=(I=X+J+65535)-65536*(J=Math.floor(I/65536)),H=(I=H+J+65535)-65536*(J=Math.floor(I/65536)),re=(I=re+J+65535)-65536*(J=Math.floor(I/65536)),Z=(I=Z+J+65535)-65536*(J=Math.floor(I/65536)),Pe=(I=Pe+J+65535)-65536*(J=Math.floor(I/65536)),ve=(I=ve+J+65535)-65536*(J=Math.floor(I/65536)),U=(I=U+J+65535)-65536*(J=Math.floor(I/65536)),Se=(I=Se+J+65535)-65536*(J=Math.floor(I/65536)),me=(I=me+J+65535)-65536*(J=Math.floor(I/65536)),ae=(I=ae+J+65535)-65536*(J=Math.floor(I/65536)),B=(I=B+J+65535)-65536*(J=Math.floor(I/65536)),V=(I=V+J+65535)-65536*(J=Math.floor(I/65536)),G=(I=G+J+65535)-65536*(J=Math.floor(I/65536)),ee+=J-1+37*(J-1),se[0]=ee,se[1]=fe,se[2]=ke,se[3]=X,se[4]=H,se[5]=re,se[6]=Z,se[7]=Pe,se[8]=ve,se[9]=U,se[10]=Se,se[11]=me,se[12]=ae,se[13]=B,se[14]=V,se[15]=G}function M(se,q){T(se,q,q)}function A(se,q){var F,I=r();for(F=0;F<16;F++)I[F]=q[F];for(F=253;F>=0;F--)M(I,I),F!==2&&F!==4&&T(I,I,q);for(F=0;F<16;F++)se[F]=I[F]}function L(se,q,F){var I,J,ee=new Uint8Array(32),fe=new Float64Array(80),ke=r(),X=r(),H=r(),re=r(),Z=r(),Pe=r();for(J=0;J<31;J++)ee[J]=q[J];for(ee[31]=127&q[31]|64,ee[0]&=248,x(fe,F),J=0;J<16;J++)X[J]=fe[J],re[J]=ke[J]=H[J]=0;for(ke[0]=re[0]=1,J=254;J>=0;--J)b(ke,X,I=ee[J>>>3]>>>(7&J)&1),b(H,re,I),E(Z,ke,H),w(ke,ke,H),E(H,X,re),w(X,X,re),M(re,Z),M(Pe,ke),T(ke,H,ke),T(H,X,Z),E(Z,ke,H),w(ke,ke,H),M(X,ke),w(H,re,Pe),T(ke,H,c),E(ke,ke,re),T(H,H,ke),T(ke,re,Pe),T(re,X,fe),M(X,Z),b(ke,X,I),b(H,re,I);for(J=0;J<16;J++)fe[J+16]=ke[J],fe[J+32]=H[J],fe[J+48]=X[J],fe[J+64]=re[J];var ve=fe.subarray(32),U=fe.subarray(16);return A(ve,ve),T(U,U,ve),k(se,U),0}function Y(se,q){return L(se,q,a)}function N(se,q){var F=r(),I=r(),J=r(),ee=r(),fe=r(),ke=r(),X=r(),H=r(),re=r();w(F,se[1],se[0]),w(re,q[1],q[0]),T(F,F,re),E(I,se[0],se[1]),E(re,q[0],q[1]),T(I,I,re),T(J,se[3],q[3]),T(J,J,n),T(ee,se[2],q[2]),E(ee,ee,ee),w(fe,I,F),w(ke,ee,J),E(X,ee,J),E(H,I,F),T(se[0],fe,ke),T(se[1],H,X),T(se[2],X,ke),T(se[3],fe,H)}function W(se,q,F){var I;for(I=0;I<4;I++)b(se[I],q[I],F)}function j(se,q){var F=r(),I=r(),J=r();A(J,q[2]),T(F,q[0],J),T(I,q[1],J),k(se,I),se[31]^=S(F)<<7}function ue(se,q,F){var I,J;for(g(se[0],s),g(se[1],u),g(se[2],u),g(se[3],s),J=255;J>=0;--J)W(se,q,I=F[J/8|0]>>(7&J)&1),N(q,se),N(se,se),W(se,q,I)}function Te(se,q){var F=[r(),r(),r(),r()];g(F[0],p),g(F[1],d),g(F[2],u),T(F[3],p,d),ue(se,F,q)}function pe(se,q,F){var I,J,ee=[r(),r(),r(),r()];for(F||i(q,32),(I=t.hash(q.subarray(0,32)))[0]&=248,I[31]&=127,I[31]|=64,Te(ee,I),j(se,ee),J=0;J<32;J++)q[J+32]=se[J];return 0}var ye=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function de(se,q){var F,I,J,ee;for(I=63;I>=32;--I){for(F=0,J=I-32,ee=I-12;J>4)*ye[J],F=q[J]>>8,q[J]&=255;for(J=0;J<32;J++)q[J]-=F*ye[J];for(I=0;I<32;I++)q[I+1]+=q[I]>>8,se[I]=255&q[I]}function Ee(se){var q,F=new Float64Array(64);for(q=0;q<64;q++)F[q]=se[q];for(q=0;q<64;q++)se[q]=0;de(se,F)}function ie(se,q){var F=r(),I=r(),J=r(),ee=r(),fe=r(),ke=r(),X=r();return g(se[2],u),x(se[1],q),M(J,se[1]),T(ee,J,h),w(J,J,se[2]),E(ee,se[2],ee),M(fe,ee),M(ke,fe),T(X,ke,fe),T(F,X,J),T(F,F,ee),function(H,re){var Z,Pe=r();for(Z=0;Z<16;Z++)Pe[Z]=re[Z];for(Z=250;Z>=0;Z--)M(Pe,Pe),Z!==1&&T(Pe,Pe,re);for(Z=0;Z<16;Z++)H[Z]=Pe[Z]}(F,F),T(F,F,J),T(F,F,ee),T(F,F,ee),T(se[0],F,ee),M(I,se[0]),T(I,I,ee),O(I,J)&&T(se[0],se[0],v),M(I,se[0]),T(I,I,ee),O(I,J)?-1:(S(se[0])===q[31]>>7&&w(se[0],s,se[0]),T(se[3],se[0],se[1]),0)}var be=64;function Ie(){for(var se=0;se=0},t.sign.keyPair=function(){var se=new Uint8Array(32),q=new Uint8Array(64);return pe(se,q),{publicKey:se,secretKey:q}},t.sign.keyPair.fromSecretKey=function(se){if(Ie(se),se.length!==64)throw Error("bad secret key size");for(var q=new Uint8Array(32),F=0;Fe&&(h.imod(s.leftShift(a)).iadd(s),n=h.mod(u).toNumber());while(!await eD(h,t,r));return h}async function eD(e,t,r){return!(t&&!e.dec().gcd(t).isOne())&&!!await async function(i){const a=await Oe.getBigInteger();return YU.every(s=>i.mod(new a(s))!==0)}(e)&&!!await async function(i,a){const s=await Oe.getBigInteger();return a=a||new s(2),a.modExp(i.dec(),i).isOne()}(e)&&!!await async function(i,a,s){const u=await Oe.getBigInteger(),c=i.bitLength();a||(a=Math.max(1,c/48|0));const h=i.dec();let n=0;for(;!h.getBit(n);)n++;const p=i.rightShift(new u(n));for(;a>0;a--){let d,v=(s?s():await Ms(new u(2),h)).modExp(p,i);if(!v.isOne()&&!v.equal(h)){for(d=1;dt-11)throw Error("Message too long");const i=function(s){const u=new Uint8Array(s);let c=0;for(;c=8&!i;if(t)return Oe.selectUint8Array(u,s,t);if(u)return s;throw Error("Decryption error")}async function ay(e,t,r){let i;if(t.length!==yu.getHashByteLength(e))throw Error("Invalid hash length");const a=new Uint8Array(za[e].length);for(i=0;iimport("./bn.min.0b81af35.js"),[]),O=new k(g),S=new k(y),x=new k(m),E=x.mod(S.subn(1)),w=x.mod(O.subn(1)),T=qr.createSign(he.read(he.hash,n));T.write(p),T.end();const M={version:0,modulus:new k(d),publicExponent:new k(v),privateExponent:new k(m),prime1:new k(y),prime2:new k(g),exponent1:E,exponent2:w,coefficient:new k(b)};if(qr.createPrivateKey!==void 0){const L=Gl.encode(M,"der");return new Uint8Array(T.sign({key:L,format:"der",type:"pkcs1"}))}const A=Gl.encode(M,"pem",{label:"RSA PRIVATE KEY"});return new Uint8Array(T.sign(A))}(e,t,r,i,a,s,u,c)}return async function(n,p,d,v){const m=await Oe.getBigInteger();p=new m(p);const g=new m(await ay(n,v,p.byteLength()));if(d=new m(d),g.gte(p))throw Error("Message size cannot exceed modulus size");return g.modExp(d,p).toUint8Array("be",p.byteLength())}(e,r,a,h)},verify:async function(e,t,r,i,a,s){if(t&&!Oe.isStream(t)){if(Oe.getWebCrypto())try{return await async function(u,c,h,n,p){const d=function(m,g){return{kty:"RSA",n:Fi(m,!0),e:Fi(g,!0),ext:!0}}(n,p),v=await Hl.importKey("jwk",d,{name:"RSASSA-PKCS1-v1_5",hash:{name:u}},!1,["verify"]);return Hl.verify("RSASSA-PKCS1-v1_5",v,h,c)}(he.read(he.webHash,e),t,r,i,a)}catch(u){Oe.printDebugError(u)}else if(Oe.getNodeCrypto())return async function(u,c,h,n,p){const{default:d}=await kn(()=>import("./bn.min.0b81af35.js"),[]),v=qr.createVerify(he.read(he.hash,u));v.write(c),v.end();const m={modulus:new d(n),publicExponent:new d(p)};let g;qr.createPrivateKey!==void 0?g={key:Hh.encode(m,"der"),format:"der",type:"pkcs1"}:g=Hh.encode(m,"pem",{label:"RSA PUBLIC KEY"});try{return await v.verify(g,h)}catch{return!1}}(e,t,r,i,a)}return async function(u,c,h,n,p){const d=await Oe.getBigInteger();if(h=new d(h),c=new d(c),n=new d(n),c.gte(h))throw Error("Signature size cannot exceed modulus size");const v=c.modExp(n,h).toUint8Array("be",h.byteLength()),m=await ay(u,p,h.byteLength());return Oe.equalsUint8Array(v,m)}(e,r,i,a,s)},encrypt:async function(e,t,r){return Oe.getNodeCrypto()?async function(i,a,s){const{default:u}=await kn(()=>import("./bn.min.0b81af35.js"),[]),c={modulus:new u(a),publicExponent:new u(s)};let h;return qr.createPrivateKey!==void 0?h={key:Hh.encode(c,"der"),format:"der",type:"pkcs1",padding:qr.constants.RSA_PKCS1_PADDING}:h={key:Hh.encode(c,"pem",{label:"RSA PUBLIC KEY"}),padding:qr.constants.RSA_PKCS1_PADDING},new Uint8Array(qr.publicEncrypt(h,i))}(e,t,r):async function(i,a,s){const u=await Oe.getBigInteger();if(a=new u(a),i=new u(V0(i,a.byteLength())),s=new u(s),i.gte(a))throw Error("Message size cannot exceed modulus size");return i.modExp(s,a).toUint8Array("be",a.byteLength())}(e,t,r)},decrypt:async function(e,t,r,i,a,s,u,c){return Oe.getNodeCrypto()?async function(h,n,p,d,v,m,g,y){const{default:b}=await kn(()=>import("./bn.min.0b81af35.js"),[]),k=new b(v),O=new b(m),S=new b(d),x=S.mod(O.subn(1)),E=S.mod(k.subn(1)),w={version:0,modulus:new b(n),publicExponent:new b(p),privateExponent:new b(d),prime1:new b(m),prime2:new b(v),exponent1:x,exponent2:E,coefficient:new b(g)};let T;qr.createPrivateKey!==void 0?T={key:Gl.encode(w,"der"),format:"der",type:"pkcs1",padding:qr.constants.RSA_PKCS1_PADDING}:T={key:Gl.encode(w,"pem",{label:"RSA PRIVATE KEY"}),padding:qr.constants.RSA_PKCS1_PADDING};try{return new Uint8Array(qr.privateDecrypt(T,h))}catch{if(y)return y;throw Error("Decryption error")}}(e,t,r,i,a,s,u,c):async function(h,n,p,d,v,m,g,y){const b=await Oe.getBigInteger();if(h=new b(h),n=new b(n),p=new b(p),d=new b(d),v=new b(v),m=new b(m),g=new b(g),h.gte(n))throw Error("Data too large.");const k=d.mod(m.dec()),O=d.mod(v.dec()),S=(await Ms(new b(2),n)).mod(n),x=S.modInv(n).modExp(p,n);h=h.mul(x).mod(n);const E=h.modExp(O,v),w=h.modExp(k,m);let M=g.mul(w.sub(E)).mod(m).mul(v).add(E);return M=M.mul(S).mod(n),W0(M.toUint8Array("be",n.byteLength()),y)}(e,t,r,i,a,s,u,c)},generate:async function(e,t){if(t=new(await Oe.getBigInteger())(t),Oe.getWebCrypto()){const u={name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:t.toUint8Array(),hash:{name:"SHA-1"}},c=await Hl.generateKey(u,!0,["sign","verify"]),h=await Hl.exportKey("jwk",c.privateKey);return{n:bs(h.n),e:t.toUint8Array(),d:bs(h.d),p:bs(h.q),q:bs(h.p),u:bs(h.qi)}}if(Oe.getNodeCrypto()&&qr.generateKeyPair&&Gl){const u={modulusLength:e,publicExponent:t.toNumber(),publicKeyEncoding:{type:"pkcs1",format:"der"},privateKeyEncoding:{type:"pkcs1",format:"der"}},c=await new Promise((h,n)=>{qr.generateKeyPair("rsa",u,(p,d,v)=>{p?n(p):h(Gl.decode(v,"der"))})});return{n:c.modulus.toArrayLike(Uint8Array),e:c.publicExponent.toArrayLike(Uint8Array),d:c.privateExponent.toArrayLike(Uint8Array),p:c.prime2.toArrayLike(Uint8Array),q:c.prime1.toArrayLike(Uint8Array),u:c.coefficient.toArrayLike(Uint8Array)}}let r,i,a;do i=await l5(e-(e>>1),t,40),r=await l5(e>>1,t,40),a=r.mul(i);while(a.bitLength()!==e);const s=r.dec().imul(i.dec());return i.lt(r)&&([r,i]=[i,r]),{n:a.toUint8Array(),e:t.toUint8Array(),d:t.modInv(s).toUint8Array(),p:r.toUint8Array(),q:i.toUint8Array(),u:r.modInv(i).toUint8Array()}},validateParams:async function(e,t,r,i,a,s){const u=await Oe.getBigInteger();if(e=new u(e),i=new u(i),a=new u(a),!i.mul(a).equal(e))return!1;const c=new u(2);if(s=new u(s),!i.mul(s).mod(a).isOne())return!1;t=new u(t),r=new u(r);const h=new u(Math.floor(e.bitLength()/3)),n=await Ms(c,c.leftShift(h)),p=n.mul(r).mul(t);return!(!p.mod(i.dec()).equal(n)||!p.mod(a.dec()).equal(n))}}),ZU=Object.freeze({__proto__:null,encrypt:async function(e,t,r,i){const a=await Oe.getBigInteger();t=new a(t),r=new a(r),i=new a(i);const s=new a(V0(e,t.byteLength())),u=await Ms(new a(1),t.dec());return{c1:r.modExp(u,t).toUint8Array(),c2:i.modExp(u,t).imul(s).imod(t).toUint8Array()}},decrypt:async function(e,t,r,i,a){const s=await Oe.getBigInteger();return e=new s(e),t=new s(t),r=new s(r),i=new s(i),W0(e.modExp(i,r).modInv(r).imul(t).imod(r).toUint8Array("be",r.byteLength()),a)},validateParams:async function(e,t,r,i){const a=await Oe.getBigInteger();e=new a(e),t=new a(t),r=new a(r);const s=new a(1);if(t.lte(s)||t.gte(e))return!1;const u=new a(e.bitLength()),c=new a(1023);if(u.lt(c)||!t.modExp(e.dec(),e).isOne())return!1;let h=t;const n=new a(1),p=new a(2).leftShift(new a(17));for(;n.lt(p);){if(h=h.mul(t).imod(e),h.isOne())return!1;n.iinc()}i=new a(i);const d=new a(2),v=await Ms(d.leftShift(u.dec()),d.leftShift(u)),m=e.dec().imul(v).iadd(i);return!!r.equal(t.modExp(m,e))}});class Wa{constructor(t){if(t instanceof Wa)this.oid=t.oid;else if(Oe.isArray(t)||Oe.isUint8Array(t)){if((t=new Uint8Array(t))[0]===6){if(t[1]!==t.length-2)throw Error("Length mismatch in DER encoded oid");t=t.subarray(2)}this.oid=t}else this.oid=""}read(t){if(t.length>=1){const r=t[0];if(t.length>=1+r)return this.oid=t.subarray(1,1+r),1+this.oid.length}throw Error("Invalid oid")}write(){return Oe.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])}toHex(){return Oe.uint8ArrayToHex(this.oid)}getName(){const t=this.toHex();if(he.curve[t])return he.write(he.curve,t);throw Error("Unknown curve object identifier.")}}function Qv(e,t){return e.keyPair({priv:t})}function qv(e,t){const r=e.keyPair({pub:t});if(r.validate().result!==!0)throw Error("Invalid elliptic public key");return r}async function Iu(e){if(!Nt.useIndutnyElliptic)throw Error("This curve is only supported in the full build of OpenPGP.js");const{default:t}=await kn(()=>import("./elliptic.min.9c4a89b7.js"),["js/build/elliptic.min.9c4a89b7.js","js/build/bn.min.0b81af35.js"]);return new t.ec(e)}function nD(e){let t,r=0;const i=e[0];return i<192?([r]=e,t=1):i<255?(r=(e[0]-192<<8)+e[1]+192,t=2):i===255&&(r=Oe.readNumber(e.subarray(1,5)),t=5),{len:r,offset:t}}function Td(e){return e<192?new Uint8Array([e]):e>191&&e<8384?new Uint8Array([192+(e-192>>8),e-192&255]):Oe.concatUint8Array([new Uint8Array([255]),Oe.writeNumber(e,4)])}function QU(e){if(e<0||e>30)throw Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+e])}function rD(e){return new Uint8Array([192|e])}function u5(e,t){return Oe.concatUint8Array([rD(e),Td(t)])}function xp(e){return[he.packet.literalData,he.packet.compressedData,he.packet.symmetricallyEncryptedData,he.packet.symEncryptedIntegrityProtectedData,he.packet.aeadEncryptedData].includes(e)}async function qU(e,t){const r=os(e);let i,a;try{const s=await r.peekBytes(2);if(!s||s.length<2||(128&s[0])==0)throw Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");const u=await r.readByte();let c,h,n=-1,p=-1;p=0,(64&u)!=0&&(p=1),p?n=63&u:(n=(63&u)>>2,h=3&u);const d=xp(n);let v,m=null;if(d){if(Oe.isStream(e)==="array"){const y=new Za;i=$i(y),m=y}else{const y=new gu;i=$i(y.writable),m=y.readable}a=t({tag:n,packet:m})}else m=[];do{if(p){const y=await r.readByte();if(v=!1,y<192)c=y;else if(y>=192&&y<224)c=(y-192<<8)+await r.readByte()+192;else if(y>223&&y<255){if(c=1<<(31&y),v=!0,!d)throw new TypeError("This packet type does not support partial lengths.")}else c=await r.readByte()<<24|await r.readByte()<<16|await r.readByte()<<8|await r.readByte()}else switch(h){case 0:c=await r.readByte();break;case 1:c=await r.readByte()<<8|await r.readByte();break;case 2:c=await r.readByte()<<24|await r.readByte()<<16|await r.readByte()<<8|await r.readByte();break;default:c=1/0}if(c>0){let y=0;for(;;){i&&await i.ready;const{done:b,value:k}=await r.read();if(b){if(c===1/0)break;throw Error("Unexpected end of packet")}const O=c===1/0?k:k.subarray(0,c-y);if(i?await i.write(O):m.push(O),y+=k.length,y>=c){r.unshift(k.subarray(c-y+k.length));break}}}}while(v);const g=await r.peekBytes(d?1/0:2);return i?(await i.ready,await i.close()):(m=Oe.concatUint8Array(m),await t({tag:n,packet:m})),!g||!g.length}catch(s){if(i)return await i.abort(s),!0;throw s}finally{i&&await a,r.releaseLock()}}class Er extends Error{constructor(...t){super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,Er),this.name="UnsupportedError"}}class sy{constructor(t,r){this.tag=t,this.rawContent=r}write(){return this.rawContent}}const B_=Oe.getWebCrypto(),lv=Oe.getNodeCrypto(),rs={p256:"P-256",p384:"P-384",p521:"P-521"},vs=lv?lv.getCurves():[],Ys=lv?{secp256k1:vs.includes("secp256k1")?"secp256k1":void 0,p256:vs.includes("prime256v1")?"prime256v1":void 0,p384:vs.includes("secp384r1")?"secp384r1":void 0,p521:vs.includes("secp521r1")?"secp521r1":void 0,ed25519:vs.includes("ED25519")?"ED25519":void 0,curve25519:vs.includes("X25519")?"X25519":void 0,brainpoolP256r1:vs.includes("brainpoolP256r1")?"brainpoolP256r1":void 0,brainpoolP384r1:vs.includes("brainpoolP384r1")?"brainpoolP384r1":void 0,brainpoolP512r1:vs.includes("brainpoolP512r1")?"brainpoolP512r1":void 0}:{},Sp={p256:{oid:[6,8,42,134,72,206,61,3,1,7],keyType:he.publicKey.ecdsa,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:Ys.p256,web:rs.p256,payloadSize:32,sharedSize:256},p384:{oid:[6,5,43,129,4,0,34],keyType:he.publicKey.ecdsa,hash:he.hash.sha384,cipher:he.symmetric.aes192,node:Ys.p384,web:rs.p384,payloadSize:48,sharedSize:384},p521:{oid:[6,5,43,129,4,0,35],keyType:he.publicKey.ecdsa,hash:he.hash.sha512,cipher:he.symmetric.aes256,node:Ys.p521,web:rs.p521,payloadSize:66,sharedSize:528},secp256k1:{oid:[6,5,43,129,4,0,10],keyType:he.publicKey.ecdsa,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:Ys.secp256k1,payloadSize:32},ed25519:{oid:[6,9,43,6,1,4,1,218,71,15,1],keyType:he.publicKey.eddsa,hash:he.hash.sha512,node:!1,payloadSize:32},curve25519:{oid:[6,10,43,6,1,4,1,151,85,1,5,1],keyType:he.publicKey.ecdh,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:!1,payloadSize:32},brainpoolP256r1:{oid:[6,9,43,36,3,3,2,8,1,1,7],keyType:he.publicKey.ecdsa,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:Ys.brainpoolP256r1,payloadSize:32},brainpoolP384r1:{oid:[6,9,43,36,3,3,2,8,1,1,11],keyType:he.publicKey.ecdsa,hash:he.hash.sha384,cipher:he.symmetric.aes192,node:Ys.brainpoolP384r1,payloadSize:48},brainpoolP512r1:{oid:[6,9,43,36,3,3,2,8,1,1,13],keyType:he.publicKey.ecdsa,hash:he.hash.sha512,cipher:he.symmetric.aes256,node:Ys.brainpoolP512r1,payloadSize:64}};class Is{constructor(t,r){try{(Oe.isArray(t)||Oe.isUint8Array(t))&&(t=new Wa(t)),t instanceof Wa&&(t=t.getName()),this.name=he.write(he.curve,t)}catch{throw new Er("Unknown curve")}r=r||Sp[this.name],this.keyType=r.keyType,this.oid=r.oid,this.hash=r.hash,this.cipher=r.cipher,this.node=r.node&&Sp[this.name],this.web=r.web&&Sp[this.name],this.payloadSize=r.payloadSize,this.web&&Oe.getWebCrypto()?this.type="web":this.node&&Oe.getNodeCrypto()?this.type="node":this.name==="curve25519"?this.type="curve25519":this.name==="ed25519"&&(this.type="ed25519")}async genKeyPair(){let t;switch(this.type){case"web":try{return await async function(i){const a=await B_.generateKey({name:"ECDSA",namedCurve:rs[i]},!0,["sign","verify"]),s=await B_.exportKey("jwk",a.privateKey),u=await B_.exportKey("jwk",a.publicKey);return{publicKey:aD(u),privateKey:bs(s.d)}}(this.name)}catch(i){Oe.printDebugError("Browser did not support generating ec key "+i.message);break}case"node":return async function(i){const a=lv.createECDH(Ys[i]);return await a.generateKeys(),{publicKey:new Uint8Array(a.getPublicKey()),privateKey:new Uint8Array(a.getPrivateKey())}}(this.name);case"curve25519":{const i=ns(32);i[0]=127&i[0]|64,i[31]&=248;const a=i.slice().reverse();return t=ts.box.keyPair.fromSecretKey(a),{publicKey:Oe.concatUint8Array([new Uint8Array([64]),t.publicKey]),privateKey:i}}case"ed25519":{const i=ns(32),a=ts.sign.keyPair.fromSeed(i);return{publicKey:Oe.concatUint8Array([new Uint8Array([64]),a.publicKey]),privateKey:i}}}return t=await(await Iu(this.name)).genKeyPair({entropy:Oe.uint8ArrayToString(ns(32))}),{publicKey:new Uint8Array(t.getPublic("array",!1)),privateKey:t.getPrivate().toArrayLike(Uint8Array)}}}async function iD(e,t,r,i){const a={p256:!0,p384:!0,p521:!0,secp256k1:!0,curve25519:e===he.publicKey.ecdh,brainpoolP256r1:!0,brainpoolP384r1:!0,brainpoolP512r1:!0},s=t.getName();if(!a[s])return!1;if(s==="curve25519"){i=i.slice().reverse();const{publicKey:c}=ts.box.keyPair.fromSecretKey(i);r=new Uint8Array(r);const h=new Uint8Array([64,...c]);return!!Oe.equalsUint8Array(h,r)}const u=await Iu(s);try{r=qv(u,r).getPublic()}catch{return!1}return!!Qv(u,i).getPublic().eq(r)}function aD(e){const t=bs(e.x),r=bs(e.y),i=new Uint8Array(t.length+r.length+1);return i[0]=4,i.set(t,1),i.set(r,t.length+1),i}function em(e,t,r){const i=e,a=r.slice(1,i+1),s=r.slice(i+1,2*i+1);return{kty:"EC",crv:t,x:Fi(a,!0),y:Fi(s,!0),ext:!0}}function sD(e,t,r,i){const a=em(e,t,r);return a.d=Fi(i,!0),a}const uv=Oe.getWebCrypto(),$u=Oe.getNodeCrypto();async function c5(e,t,r,i,a,s){const u=new Is(e);if(r&&!Oe.isStream(r)){const c={publicKey:i,privateKey:a};switch(u.type){case"web":try{return await async function(h,n,p,d){const v=h.payloadSize,m=sD(h.payloadSize,rs[h.name],d.publicKey,d.privateKey),g=await uv.importKey("jwk",m,{name:"ECDSA",namedCurve:rs[h.name],hash:{name:he.read(he.webHash,h.hash)}},!1,["sign"]),y=new Uint8Array(await uv.sign({name:"ECDSA",namedCurve:rs[h.name],hash:{name:he.read(he.webHash,n)}},g,p));return{r:y.slice(0,v),s:y.slice(v,v<<1)}}(u,t,r,c)}catch(h){if(u.name!=="p521"&&(h.name==="DataError"||h.name==="OperationError"))throw h;Oe.printDebugError("Browser did not support signing: "+h.message)}break;case"node":{const h=await async function(n,p,d,v){const m=$u.createSign(he.read(he.hash,p));m.write(d),m.end();const g=eV.encode({version:1,parameters:n.oid,privateKey:Array.from(v.privateKey),publicKey:{unused:0,data:Array.from(v.publicKey)}},"pem",{label:"EC PRIVATE KEY"});return oD.decode(m.sign(g),"der")}(u,t,r,c);return{r:h.r.toArrayLike(Uint8Array),s:h.s.toArrayLike(Uint8Array)}}}}return async function(c,h,n){const p=await Iu(c.name),d=Qv(p,n),v=d.sign(h);return{r:v.r.toArrayLike(Uint8Array),s:v.s.toArrayLike(Uint8Array)}}(u,s,a)}async function d5(e,t,r,i,a,s){const u=new Is(e);if(i&&!Oe.isStream(i))switch(u.type){case"web":try{return await async function(c,h,{r:n,s:p},d,v){const m=em(c.payloadSize,rs[c.name],v),g=await uv.importKey("jwk",m,{name:"ECDSA",namedCurve:rs[c.name],hash:{name:he.read(he.webHash,c.hash)}},!1,["verify"]),y=Oe.concatUint8Array([n,p]).buffer;return uv.verify({name:"ECDSA",namedCurve:rs[c.name],hash:{name:he.read(he.webHash,h)}},g,y,d)}(u,t,r,i,a)}catch(c){if(u.name!=="p521"&&(c.name==="DataError"||c.name==="OperationError"))throw c;Oe.printDebugError("Browser did not support verifying: "+c.message)}break;case"node":return async function(c,h,{r:n,s:p},d,v){const{default:m}=await kn(()=>import("./bn.min.0b81af35.js"),[]),g=$u.createVerify(he.read(he.hash,h));g.write(d),g.end();const y=nV.encode({algorithm:{algorithm:[1,2,840,10045,2,1],parameters:c.oid},subjectPublicKey:{unused:0,data:Array.from(v)}},"pem",{label:"PUBLIC KEY"}),b=oD.encode({r:new m(n),s:new m(p)},"der");try{return g.verify(y,b)}catch{return!1}}(u,t,r,i,a)}return async function(c,h,n,p){const d=await Iu(c.name);return qv(d,p).verify(n,h)}(u,r,t===void 0?i:s,a)}const tm=void 0,oD=$u?tm.define("ECDSASignature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())}):void 0,eV=$u?tm.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().any(),this.key("publicKey").explicit(1).optional().bitstr())}):void 0,tV=$u?tm.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())}):void 0,nV=$u?tm.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(tV),this.key("subjectPublicKey").bitstr())}):void 0;var rV=Object.freeze({__proto__:null,sign:c5,verify:d5,validateParams:async function(e,t,r){const i=new Is(e);if(i.keyType!==he.publicKey.ecdsa)return!1;switch(i.type){case"web":case"node":{const a=ns(8),s=he.hash.sha256,u=await yu.digest(s,a);try{const c=await c5(e,s,a,t,r,u);return await d5(e,s,c,a,t,u)}catch{return!1}}default:return iD(he.publicKey.ecdsa,e,t,r)}}});ts.hash=e=>new Uint8Array(Jv().update(e).digest());var iV=Object.freeze({__proto__:null,sign:async function(e,t,r,i,a,s){if(yu.getHashByteLength(t)=0;--p)for(let d=c-1;d>=0;--d)h[1]=c*p+(d+1),n[0]=s[0]^h[0],n[1]=s[1]^h[1],n[2]=u[2*d],n[3]=u[2*d+1],n=cv(r.decrypt(dv(n))),s=n.subarray(0,2),u[2*d]=n[2],u[2*d+1]=n[3];if(s[0]===i[0]&&s[1]===i[1])return dv(u);throw Error("Key Data Integrity failed")}function cv(e){const{length:t}=e,r=function(s){if(Oe.isString(s)){const{length:u}=s,c=new ArrayBuffer(u),h=new Uint8Array(c);for(let n=0;n0){const r=e[t-1];if(r>=1){const i=e.subarray(t-r),a=new Uint8Array(r).fill(r);if(Oe.equalsUint8Array(i,a))return e.subarray(0,t-r)}}throw Error("Invalid padding")}var sV=Object.freeze({__proto__:null,encode:cD,decode:dD});const to=Oe.getWebCrypto(),fD=Oe.getNodeCrypto();function f5(e,t,r,i){return Oe.concatUint8Array([t.write(),new Uint8Array([e]),r.write(),Oe.stringToUint8Array("Anonymous Sender "),i.subarray(0,20)])}async function h5(e,t,r,i,a=!1,s=!1){let u;if(a){for(u=0;u=0&&t[u]===0;u--);t=t.subarray(0,u+1)}return(await yu.digest(e,Oe.concatUint8Array([new Uint8Array([0,0,0,1]),t,i]))).subarray(0,r)}async function oV(e,t){switch(e.type){case"curve25519":{const r=ns(32),{secretKey:i,sharedKey:a}=await hD(e,t,null,r);let{publicKey:s}=ts.box.keyPair.fromSecretKey(i);return s=Oe.concatUint8Array([new Uint8Array([64]),s]),{publicKey:s,sharedKey:a}}case"web":if(e.web&&Oe.getWebCrypto())try{return await async function(r,i){const a=em(r.payloadSize,r.web.web,i);let s=to.generateKey({name:"ECDH",namedCurve:r.web.web},!0,["deriveKey","deriveBits"]),u=to.importKey("jwk",a,{name:"ECDH",namedCurve:r.web.web},!1,[]);[s,u]=await Promise.all([s,u]);let c=to.deriveBits({name:"ECDH",namedCurve:r.web.web,public:u},s.privateKey,r.web.sharedSize),h=to.exportKey("jwk",s.publicKey);[c,h]=await Promise.all([c,h]);const n=new Uint8Array(c);return{publicKey:new Uint8Array(aD(h)),sharedKey:n}}(e,t)}catch(r){Oe.printDebugError(r)}break;case"node":return async function(r,i){const a=fD.createECDH(r.node.node);a.generateKeys();const s=new Uint8Array(a.computeSecret(i));return{publicKey:new Uint8Array(a.getPublicKey()),sharedKey:s}}(e,t)}return async function(r,i){const a=await Iu(r.name),s=await r.genKeyPair();i=qv(a,i);const u=Qv(a,s.privateKey),c=s.publicKey,h=u.derive(i.getPublic()),n=a.curve.p.byteLength(),p=h.toArrayLike(Uint8Array,"be",n);return{publicKey:c,sharedKey:p}}(e,t)}async function hD(e,t,r,i){if(i.length!==e.payloadSize){const a=new Uint8Array(e.payloadSize);a.set(i,e.payloadSize-i.length),i=a}switch(e.type){case"curve25519":{const a=i.slice().reverse();return{secretKey:a,sharedKey:ts.scalarMult(a,t.subarray(1))}}case"web":if(e.web&&Oe.getWebCrypto())try{return await async function(a,s,u,c){const h=sD(a.payloadSize,a.web.web,u,c);let n=to.importKey("jwk",h,{name:"ECDH",namedCurve:a.web.web},!0,["deriveKey","deriveBits"]);const p=em(a.payloadSize,a.web.web,s);let d=to.importKey("jwk",p,{name:"ECDH",namedCurve:a.web.web},!0,[]);[n,d]=await Promise.all([n,d]);let v=to.deriveBits({name:"ECDH",namedCurve:a.web.web,public:d},n,a.web.sharedSize),m=to.exportKey("jwk",n);[v,m]=await Promise.all([v,m]);const g=new Uint8Array(v);return{secretKey:bs(m.d),sharedKey:g}}(e,t,r,i)}catch(a){Oe.printDebugError(a)}break;case"node":return async function(a,s,u){const c=fD.createECDH(a.node.node);c.setPrivateKey(u);const h=new Uint8Array(c.computeSecret(s));return{secretKey:new Uint8Array(c.getPrivateKey()),sharedKey:h}}(e,t,i)}return async function(a,s,u){const c=await Iu(a.name);s=qv(c,s),u=Qv(c,u);const h=new Uint8Array(u.getPrivate()),n=u.derive(s.getPublic()),p=c.curve.p.byteLength(),d=n.toArrayLike(Uint8Array,"be",p);return{secretKey:h,sharedKey:d}}(e,t,i)}var lV=Object.freeze({__proto__:null,validateParams:async function(e,t,r){return iD(he.publicKey.ecdh,e,t,r)},encrypt:async function(e,t,r,i,a){const s=cD(r),u=new Is(e),{publicKey:c,sharedKey:h}=await oV(u,i),n=f5(he.publicKey.ecdh,e,t,a),{keySize:p}=lo(t.cipher);return{publicKey:c,wrappedKey:lD(await h5(t.hash,h,p,n),s)}},decrypt:async function(e,t,r,i,a,s,u){const c=new Is(e),{sharedKey:h}=await hD(c,r,a,s),n=f5(he.publicKey.ecdh,e,t,u),{keySize:p}=lo(t.cipher);let d;for(let v=0;v<3;v++)try{return dD(uD(await h5(t.hash,h,p,n,v===1,v===2),i))}catch(m){d=m}throw d}}),uV=Object.freeze({__proto__:null,Curve:Is,ecdh:lV,ecdsa:rV,eddsa:iV,generate:async function(e){const t=await Oe.getBigInteger();e=new Is(e);const r=await e.genKeyPair(),i=new t(r.publicKey).toUint8Array(),a=new t(r.privateKey).toUint8Array("be",e.payloadSize);return{oid:e.oid,Q:i,secret:a,hash:e.hash,cipher:e.cipher}},getPreferredHashAlgo:function(e){return Sp[he.write(he.curve,e.toHex())].hash}}),cV=Object.freeze({__proto__:null,sign:async function(e,t,r,i,a,s){const u=await Oe.getBigInteger(),c=new u(1);let h,n,p,d;i=new u(i),a=new u(a),r=new u(r),s=new u(s),r=r.mod(i),s=s.mod(a);const v=new u(t.subarray(0,a.byteLength())).mod(a);for(;;){if(h=await Ms(c,a),n=r.modExp(h,i).imod(a),n.isZero())continue;const m=s.mul(n).imod(a);if(d=v.add(m).imod(a),p=h.modInv(a).imul(d).imod(a),!p.isZero())break}return{r:n.toUint8Array("be",a.byteLength()),s:p.toUint8Array("be",a.byteLength())}},verify:async function(e,t,r,i,a,s,u,c){const h=await Oe.getBigInteger(),n=new h(0);if(t=new h(t),r=new h(r),s=new h(s),u=new h(u),a=new h(a),c=new h(c),t.lte(n)||t.gte(u)||r.lte(n)||r.gte(u))return Oe.printDebug("invalid DSA Signature"),!1;const p=new h(i.subarray(0,u.byteLength())).imod(u),d=r.modInv(u);if(d.isZero())return Oe.printDebug("invalid DSA Signature"),!1;a=a.mod(s),c=c.mod(s);const v=p.mul(d).imod(u),m=t.mul(d).imod(u),g=a.modExp(v,s),y=c.modExp(m,s);return g.mul(y).imod(s).imod(u).equal(t)},validateParams:async function(e,t,r,i,a){const s=await Oe.getBigInteger();e=new s(e),t=new s(t),r=new s(r),i=new s(i);const u=new s(1);if(r.lte(u)||r.gte(e)||!e.dec().mod(t).isZero()||!r.modExp(t,e).isOne())return!1;const c=new s(t.bitLength()),h=new s(150);if(c.lt(h)||!await eD(t,null,32))return!1;a=new s(a);const n=new s(2),p=await Ms(n.leftShift(c.dec()),n.leftShift(c)),d=t.mul(p).add(a);return!!i.equal(r.modExp(d,e))}}),tr={rsa:JU,elgamal:ZU,elliptic:uV,dsa:cV,nacl:ts},dV=Object.freeze({__proto__:null,parseSignatureParams:function(e,t){let r=0;switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:case he.publicKey.rsaSign:return{s:Oe.readMPI(t.subarray(r))};case he.publicKey.dsa:case he.publicKey.ecdsa:{const i=Oe.readMPI(t.subarray(r));return r+=i.length+2,{r:i,s:Oe.readMPI(t.subarray(r))}}case he.publicKey.eddsa:{let i=Oe.readMPI(t.subarray(r));r+=i.length+2,i=Oe.leftPad(i,32);let a=Oe.readMPI(t.subarray(r));return a=Oe.leftPad(a,32),{r:i,s:a}}default:throw new Er("Unknown signature algorithm.")}},verify:async function(e,t,r,i,a,s){switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:case he.publicKey.rsaSign:{const{n:u,e:c}=i,h=Oe.leftPad(r.s,u.length);return tr.rsa.verify(t,a,h,u,c,s)}case he.publicKey.dsa:{const{g:u,p:c,q:h,y:n}=i,{r:p,s:d}=r;return tr.dsa.verify(t,p,d,s,u,c,h,n)}case he.publicKey.ecdsa:{const{oid:u,Q:c}=i,h=new tr.elliptic.Curve(u).payloadSize,n=Oe.leftPad(r.r,h),p=Oe.leftPad(r.s,h);return tr.elliptic.ecdsa.verify(u,t,{r:n,s:p},a,c,s)}case he.publicKey.eddsa:{const{oid:u,Q:c}=i;return tr.elliptic.eddsa.verify(u,t,r,a,c,s)}default:throw Error("Unknown signature algorithm.")}},sign:async function(e,t,r,i,a,s){if(!r||!i)throw Error("Missing key parameters");switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:case he.publicKey.rsaSign:{const{n:u,e:c}=r,{d:h,p:n,q:p,u:d}=i;return{s:await tr.rsa.sign(t,a,u,c,h,n,p,d,s)}}case he.publicKey.dsa:{const{g:u,p:c,q:h}=r,{x:n}=i;return tr.dsa.sign(t,s,u,c,h,n)}case he.publicKey.elgamal:throw Error("Signing with Elgamal is not defined in the OpenPGP standard.");case he.publicKey.ecdsa:{const{oid:u,Q:c}=r,{d:h}=i;return tr.elliptic.ecdsa.sign(u,t,a,c,h,s)}case he.publicKey.eddsa:{const{oid:u,Q:c}=r,{seed:h}=i;return tr.elliptic.eddsa.sign(u,t,a,c,h,s)}default:throw Error("Unknown signature algorithm.")}}});class p5{constructor(t){t=t===void 0?new Uint8Array([]):Oe.isString(t)?Oe.stringToUint8Array(t):new Uint8Array(t),this.data=t}read(t){if(t.length>=1){const r=t[0];if(t.length>=1+r)return this.data=t.subarray(1,1+r),1+this.data.length}throw Error("Invalid symmetric key")}write(){return Oe.concatUint8Array([new Uint8Array([this.data.length]),this.data])}}class v5{constructor(t){if(t){const{hash:r,cipher:i}=t;this.hash=r,this.cipher=i}else this.hash=null,this.cipher=null}read(t){if(t.length<4||t[0]!==3||t[1]!==1)throw Error("Cannot read KDFParams");return this.hash=t[2],this.cipher=t[3],4}write(){return new Uint8Array([3,1,this.hash,this.cipher])}}function F_(e){try{e.getName()}catch{throw new Er("Unknown curve OID")}}var fV=Object.freeze({__proto__:null,publicKeyEncrypt:async function(e,t,r,i){switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:{const{n:a,e:s}=t;return{c:await tr.rsa.encrypt(r,a,s)}}case he.publicKey.elgamal:{const{p:a,g:s,y:u}=t;return tr.elgamal.encrypt(r,a,s,u)}case he.publicKey.ecdh:{const{oid:a,Q:s,kdfParams:u}=t,{publicKey:c,wrappedKey:h}=await tr.elliptic.ecdh.encrypt(a,u,r,s,i);return{V:c,C:new p5(h)}}default:return[]}},publicKeyDecrypt:async function(e,t,r,i,a,s){switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:{const{c:u}=i,{n:c,e:h}=t,{d:n,p,q:d,u:v}=r;return tr.rsa.decrypt(u,c,h,n,p,d,v,s)}case he.publicKey.elgamal:{const{c1:u,c2:c}=i,h=t.p,n=r.x;return tr.elgamal.decrypt(u,c,h,n,s)}case he.publicKey.ecdh:{const{oid:u,Q:c,kdfParams:h}=t,{d:n}=r,{V:p,C:d}=i;return tr.elliptic.ecdh.decrypt(u,h,p,d.data,c,n,a)}default:throw Error("Unknown public key encryption algorithm.")}},parsePublicKeyParams:function(e,t){let r=0;switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=Oe.readMPI(t.subarray(r));return r+=a.length+2,{read:r,publicParams:{n:i,e:a}}}case he.publicKey.dsa:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=Oe.readMPI(t.subarray(r));r+=a.length+2;const s=Oe.readMPI(t.subarray(r));r+=s.length+2;const u=Oe.readMPI(t.subarray(r));return r+=u.length+2,{read:r,publicParams:{p:i,q:a,g:s,y:u}}}case he.publicKey.elgamal:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=Oe.readMPI(t.subarray(r));r+=a.length+2;const s=Oe.readMPI(t.subarray(r));return r+=s.length+2,{read:r,publicParams:{p:i,g:a,y:s}}}case he.publicKey.ecdsa:{const i=new Wa;r+=i.read(t),F_(i);const a=Oe.readMPI(t.subarray(r));return r+=a.length+2,{read:r,publicParams:{oid:i,Q:a}}}case he.publicKey.eddsa:{const i=new Wa;r+=i.read(t),F_(i);let a=Oe.readMPI(t.subarray(r));return r+=a.length+2,a=Oe.leftPad(a,33),{read:r,publicParams:{oid:i,Q:a}}}case he.publicKey.ecdh:{const i=new Wa;r+=i.read(t),F_(i);const a=Oe.readMPI(t.subarray(r));r+=a.length+2;const s=new v5;return r+=s.read(t.subarray(r)),{read:r,publicParams:{oid:i,Q:a,kdfParams:s}}}default:throw new Er("Unknown public key encryption algorithm.")}},parsePrivateKeyParams:function(e,t,r){let i=0;switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:{const a=Oe.readMPI(t.subarray(i));i+=a.length+2;const s=Oe.readMPI(t.subarray(i));i+=s.length+2;const u=Oe.readMPI(t.subarray(i));i+=u.length+2;const c=Oe.readMPI(t.subarray(i));return i+=c.length+2,{read:i,privateParams:{d:a,p:s,q:u,u:c}}}case he.publicKey.dsa:case he.publicKey.elgamal:{const a=Oe.readMPI(t.subarray(i));return i+=a.length+2,{read:i,privateParams:{x:a}}}case he.publicKey.ecdsa:case he.publicKey.ecdh:{const a=new Is(r.oid);let s=Oe.readMPI(t.subarray(i));return i+=s.length+2,s=Oe.leftPad(s,a.payloadSize),{read:i,privateParams:{d:s}}}case he.publicKey.eddsa:{const a=new Is(r.oid);let s=Oe.readMPI(t.subarray(i));return i+=s.length+2,s=Oe.leftPad(s,a.payloadSize),{read:i,privateParams:{seed:s}}}default:throw new Er("Unknown public key encryption algorithm.")}},parseEncSessionKeyParams:function(e,t){let r=0;switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:return{c:Oe.readMPI(t.subarray(r))};case he.publicKey.elgamal:{const i=Oe.readMPI(t.subarray(r));return r+=i.length+2,{c1:i,c2:Oe.readMPI(t.subarray(r))}}case he.publicKey.ecdh:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=new p5;return a.read(t.subarray(r)),{V:i,C:a}}default:throw new Er("Unknown public key encryption algorithm.")}},serializeParams:function(e,t){const r=Object.keys(t).map(i=>{const a=t[i];return Oe.isUint8Array(a)?Oe.uint8ArrayToMPI(a):a.write()});return Oe.concatUint8Array(r)},generateParams:function(e,t,r){switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:return tr.rsa.generate(t,65537).then(({n:i,e:a,d:s,p:u,q:c,u:h})=>({privateParams:{d:s,p:u,q:c,u:h},publicParams:{n:i,e:a}}));case he.publicKey.ecdsa:return tr.elliptic.generate(r).then(({oid:i,Q:a,secret:s})=>({privateParams:{d:s},publicParams:{oid:new Wa(i),Q:a}}));case he.publicKey.eddsa:return tr.elliptic.generate(r).then(({oid:i,Q:a,secret:s})=>({privateParams:{seed:s},publicParams:{oid:new Wa(i),Q:a}}));case he.publicKey.ecdh:return tr.elliptic.generate(r).then(({oid:i,Q:a,secret:s,hash:u,cipher:c})=>({privateParams:{d:s},publicParams:{oid:new Wa(i),Q:a,kdfParams:new v5({hash:u,cipher:c})}}));case he.publicKey.dsa:case he.publicKey.elgamal:throw Error("Unsupported algorithm for key generation.");default:throw Error("Unknown public key algorithm.")}},validateParams:async function(e,t,r){if(!t||!r)throw Error("Missing key parameters");switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:{const{n:i,e:a}=t,{d:s,p:u,q:c,u:h}=r;return tr.rsa.validateParams(i,a,s,u,c,h)}case he.publicKey.dsa:{const{p:i,q:a,g:s,y:u}=t,{x:c}=r;return tr.dsa.validateParams(i,a,s,u,c)}case he.publicKey.elgamal:{const{p:i,g:a,y:s}=t,{x:u}=r;return tr.elgamal.validateParams(i,a,s,u)}case he.publicKey.ecdsa:case he.publicKey.ecdh:{const i=tr.elliptic[he.read(he.publicKey,e)],{oid:a,Q:s}=t,{d:u}=r;return i.validateParams(a,s,u)}case he.publicKey.eddsa:{const{oid:i,Q:a}=t,{seed:s}=r;return tr.elliptic.eddsa.validateParams(i,a,s)}default:throw Error("Unknown public key algorithm.")}},getPrefixRandom:async function(e){const{blockSize:t}=lo(e),r=await ns(t),i=new Uint8Array([r[r.length-2],r[r.length-1]]);return Oe.concat([r,i])},generateSessionKey:function(e){const{keySize:t}=lo(e);return ns(t)},getAEADMode:function(e){const t=he.read(he.aead,e);return q6[t]},getCipher:lo});const Kt={cipher:Pd,hash:yu,mode:q6,publicKey:tr,signature:dV,random:GU,pkcs1:XU,pkcs5:sV,aesKW:aV};Object.assign(Kt,fV);var Ad=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function pD(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}const vD={arraySet:function(e,t,r,i,a){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+i),a);else for(let s=0;s=0;)e[t]=0}const _V=0,wD=1,gV=2,H0=29,Md=256,ud=Md+1+H0,du=30,G0=19,y5=2*ud+1,Xo=15,z_=16,yV=7,Y0=256,CD=16,xD=17,SD=18,ly=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],kp=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],bV=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],b5=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ys=Array(2*(ud+2));Ru(ys);const Zc=Array(2*du);Ru(Zc);const cd=Array(512);Ru(cd);const dd=Array(256);Ru(dd);const X0=Array(H0);Ru(X0);const hv=Array(du);function j_(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}let w5,C5,x5;function U_(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function kD(e){return e<256?cd[e]:cd[256+(e>>>7)]}function fd(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Ei(e,t,r){e.bi_valid>z_-r?(e.bi_buf|=t<>z_-e.bi_valid,e.bi_valid+=r-z_):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function DD(e,t,r){const i=Array(Xo+1);let a,s,u=0;for(a=1;a<=Xo;a++)i[a]=u=u+r[a-1]<<1;for(s=0;s<=t;s++){const c=e[2*s+1];c!==0&&(e[2*s]=ED(i[c]++,c))}}function OD(e){let t;for(t=0;t8?fd(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function S5(e,t,r,i){const a=2*t,s=2*r;return e[a]>1;u>=1;u--)V_(e,r,u);h=s;do u=e.heap[1],e.heap[1]=e.heap[e.heap_len--],V_(e,r,1),c=e.heap[1],e.heap[--e.heap_max]=u,e.heap[--e.heap_max]=c,r[2*h]=r[2*u]+r[2*c],e.depth[h]=(e.depth[u]>=e.depth[c]?e.depth[u]:e.depth[c])+1,r[2*u+1]=r[2*c+1]=h,e.heap[1]=h++,V_(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(p,d){const v=d.dyn_tree,m=d.max_code,g=d.stat_desc.static_tree,y=d.stat_desc.has_stree,b=d.stat_desc.extra_bits,k=d.stat_desc.extra_base,O=d.stat_desc.max_length;let S,x,E,w,T,M,A=0;for(w=0;w<=Xo;w++)p.bl_count[w]=0;for(v[2*p.heap[p.heap_max]+1]=0,S=p.heap_max+1;SO&&(w=O,A++),v[2*x+1]=w,x>m||(p.bl_count[w]++,T=0,x>=k&&(T=b[x-k]),M=v[2*x],p.opt_len+=M*(w+T),y&&(p.static_len+=M*(g[2*x+1]+T)));if(A!==0){do{for(w=O-1;p.bl_count[w]===0;)w--;p.bl_count[w]--,p.bl_count[w+1]+=2,p.bl_count[O]--,A-=2}while(A>0);for(w=O;w!==0;w--)for(x=p.bl_count[w];x!==0;)E=p.heap[--S],E>m||(v[2*E+1]!==w&&(p.opt_len+=(w-v[2*E+1])*v[2*E],v[2*E+1]=w),x--)}}(e,t),DD(r,n,e.bl_count)}function E5(e,t,r){let i,a,s=-1,u=t[1],c=0,h=7,n=4;for(u===0&&(h=138,n=3),t[2*(r+1)+1]=65535,i=0;i<=r;i++)a=u,u=t[2*(i+1)+1],++c>=7;a=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)}function xV(e,t,r,i){let a,s,u=0;e.level>0?(e.strm.data_type===bD&&(e.strm.data_type=function(c){let h,n=4093624447;for(h=0;h<=31;h++,n>>>=1)if(1&n&&c.dyn_ltree[2*h]!==0)return _5;if(c.dyn_ltree[18]!==0||c.dyn_ltree[20]!==0||c.dyn_ltree[26]!==0)return g5;for(h=32;h=3&&c.bl_tree[2*b5[h]+1]===0;h--);return c.opt_len+=3*(h+1)+5+5+4,h}(e),a=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=a&&(a=s)):a=s=r+5,r+4<=a&&t!==-1?TD(e,t,r,i):e.strategy===yD||s===a?(Ei(e,(wD<<1)+(i?1:0),3),k5(e,ys,Zc)):(Ei(e,(gV<<1)+(i?1:0),3),function(c,h,n,p){let d;for(Ei(c,h-257,5),Ei(c,n-1,5),Ei(c,p-4,4),d=0;d>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,t===0?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(dd[r]+Md+1)]++,e.dyn_dtree[2*kD(t)]++),e.last_lit===e.lit_bufsize-1}function hd(e,t,r,i){let a=65535&e|0,s=e>>>16&65535|0,u=0;for(;r!==0;){u=r>2e3?2e3:r,r-=u;do a=a+t[i++]|0,s=s+a|0;while(--u);a%=65521,s%=65521}return a|s<<16|0}const SV=function(){let e;const t=[];for(let r=0;r<256;r++){e=r;for(let i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();function Tr(e,t,r,i){const a=SV,s=i+r;e^=-1;for(let u=i;u>>8^a[255&(e^t[u])];return-1^e}var pd={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};const kV=9,An=3,no=258,_a=no+An+1,EV=32,pv=42,uy=69,Ep=73,Dp=91,Op=103,Jo=113,zc=666,Ar=1,Qc=2,Zo=3,fu=4,DV=3;function ro(e,t){return e.msg=pd[t],t}function P5(e){return(e<<1)-(e>4?9:0)}function Qs(e){let t=e.length;for(;--t>=0;)e[t]=0}function Xs(e){const t=e.state;let r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(is(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function Vr(e,t){xV(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Xs(e.strm)}function Rn(e,t){e.pending_buf[e.pending++]=t}function kc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function OV(e,t,r,i){let a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,is(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=hd(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Tr(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function AD(e,t){let r,i,a=e.max_chain_length,s=e.strstart,u=e.prev_length,c=e.nice_match;const h=e.strstart>e.w_size-_a?e.strstart-(e.w_size-_a):0,n=e.window,p=e.w_mask,d=e.prev,v=e.strstart+no;let m=n[s+u-1],g=n[s+u];e.prev_length>=e.good_match&&(a>>=2),c>e.lookahead&&(c=e.lookahead);do if(r=t,n[r+u]===g&&n[r+u-1]===m&&n[r]===n[s]&&n[++r]===n[s+1]){s+=2,r++;do;while(n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&su){if(e.match_start=t,u=i,i>=c)break;m=n[s+u-1],g=n[s+u]}}while((t=d[t&p])>h&&--a!=0);return u<=e.lookahead?u:e.lookahead}function fl(e){const t=e.w_size;let r,i,a,s,u;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-_a)){is(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);s+=t}if(e.strm.avail_in===0)break;if(i=OV(e.strm,e.window,e.strstart+e.lookahead,s),e.lookahead+=i,e.lookahead+e.insert>=An)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=An&&(e.ins_h=(e.ins_h<=An)if(i=uo(e,e.strstart-e.match_start,e.match_length-An),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=An){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=An&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=An-1)),e.prev_length>=An&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-An,i=uo(e,e.strstart-1-e.prev_match,e.prev_length-An),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fl(e),e.lookahead===0&&t===as)return Ar;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;const i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Vr(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-_a&&(Vr(e,!1),e.strm.avail_out===0))return Ar}return e.insert=0,t===Ir?(Vr(e,!0),e.strm.avail_out===0?Zo:fu):(e.strstart>e.block_start&&(Vr(e,!1),e.strm.avail_out),Ar)}),new Na(4,4,8,4,K_),new Na(4,5,16,8,K_),new Na(4,6,32,32,K_),new Na(4,4,16,16,Yl),new Na(8,16,32,32,Yl),new Na(8,16,128,128,Yl),new Na(8,32,128,256,Yl),new Na(32,128,258,1024,Yl),new Na(32,258,258,4096,Yl)];class PV{constructor(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=bu,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ra(1146),this.dyn_dtree=new ra(122),this.bl_tree=new ra(78),Qs(this.dyn_ltree),Qs(this.dyn_dtree),Qs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ra(16),this.heap=new ra(573),Qs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ra(573),Qs(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}}function TV(e){const t=function(r){let i;return r&&r.state?(r.total_in=r.total_out=0,r.data_type=bD,i=r.state,i.pending=0,i.pending_out=0,i.wrap<0&&(i.wrap=-i.wrap),i.status=i.wrap?pv:Jo,r.adler=i.wrap===2?0:1,i.last_flush=as,wV(i),Un):ro(r,yr)}(e);return t===Un&&function(r){r.window_size=2*r.w_size,Qs(r.head),r.max_lazy_match=jc[r.level].max_lazy,r.good_match=jc[r.level].good_length,r.nice_match=jc[r.level].nice_length,r.max_chain_length=jc[r.level].max_chain,r.strstart=0,r.block_start=0,r.lookahead=0,r.insert=0,r.match_length=r.prev_length=An-1,r.match_available=0,r.ins_h=0}(e.state),t}function AV(e,t){let r,i,a,s;if(!e||!e.state||t>oy||t<0)return e?ro(e,yr):yr;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===zc&&t!==Ir)return ro(e,e.avail_out===0?Jc:yr);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===pv)if(i.wrap===2)e.adler=0,Rn(i,31),Rn(i,139),Rn(i,8),i.gzhead?(Rn(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),Rn(i,255&i.gzhead.time),Rn(i,i.gzhead.time>>8&255),Rn(i,i.gzhead.time>>16&255),Rn(i,i.gzhead.time>>24&255),Rn(i,i.level===9?2:i.strategy>=Yh||i.level<2?4:0),Rn(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(Rn(i,255&i.gzhead.extra.length),Rn(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Tr(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=uy):(Rn(i,0),Rn(i,0),Rn(i,0),Rn(i,0),Rn(i,0),Rn(i,i.level===9?2:i.strategy>=Yh||i.level<2?4:0),Rn(i,DV),i.status=Jo);else{let c=bu+(i.w_bits-8<<4)<<8,h=-1;h=i.strategy>=Yh||i.level<2?0:i.level<6?1:i.level===6?2:3,c|=h<<6,i.strstart!==0&&(c|=EV),c+=31-c%31,i.status=Jo,kc(i,c),i.strstart!==0&&(kc(i,e.adler>>>16),kc(i,65535&e.adler)),e.adler=1}if(i.status===uy)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),Xs(e),a=i.pending,i.pending!==i.pending_buf_size));)Rn(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Ep)}else i.status=Ep;if(i.status===Ep)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),Xs(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexa&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),s===0&&(i.gzindex=0,i.status=Dp)}else i.status=Dp;if(i.status===Dp)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),Xs(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexa&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),s===0&&(i.status=Op)}else i.status=Op;if(i.status===Op&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Xs(e),i.pending+2<=i.pending_buf_size&&(Rn(i,255&e.adler),Rn(i,e.adler>>8&255),e.adler=0,i.status=Jo)):i.status=Jo),i.pending!==0){if(Xs(e),e.avail_out===0)return i.last_flush=-1,Un}else if(e.avail_in===0&&P5(t)<=P5(r)&&t!==Ir)return ro(e,Jc);if(i.status===zc&&e.avail_in!==0)return ro(e,Jc);if(e.avail_in!==0||i.lookahead!==0||t!==as&&i.status!==zc){var u=i.strategy===Yh?function(c,h){let n;for(;;){if(c.lookahead===0&&(fl(c),c.lookahead===0)){if(h===as)return Ar;break}if(c.match_length=0,n=uo(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++,n&&(Vr(c,!1),c.strm.avail_out===0))return Ar}return c.insert=0,h===Ir?(Vr(c,!0),c.strm.avail_out===0?Zo:fu):c.last_lit&&(Vr(c,!1),c.strm.avail_out===0)?Ar:Qc}(i,t):i.strategy===mV?function(c,h){let n,p,d,v;const m=c.window;for(;;){if(c.lookahead<=no){if(fl(c),c.lookahead<=no&&h===as)return Ar;if(c.lookahead===0)break}if(c.match_length=0,c.lookahead>=An&&c.strstart>0&&(d=c.strstart-1,p=m[d],p===m[++d]&&p===m[++d]&&p===m[++d])){v=c.strstart+no;do;while(p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&dc.lookahead&&(c.match_length=c.lookahead)}if(c.match_length>=An?(n=uo(c,1,c.match_length-An),c.lookahead-=c.match_length,c.strstart+=c.match_length,c.match_length=0):(n=uo(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++),n&&(Vr(c,!1),c.strm.avail_out===0))return Ar}return c.insert=0,h===Ir?(Vr(c,!0),c.strm.avail_out===0?Zo:fu):c.last_lit&&(Vr(c,!1),c.strm.avail_out===0)?Ar:Qc}(i,t):jc[i.level].func(i,t);if(u!==Zo&&u!==fu||(i.status=zc),u===Ar||u===Zo)return e.avail_out===0&&(i.last_flush=-1),Un;if(u===Qc&&(t===hV?CV(i):t!==oy&&(TD(i,0,0,!1),t===pV&&(Qs(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Xs(e),e.avail_out===0))return i.last_flush=-1,Un}return t!==Ir?Un:i.wrap<=0?Ds:(i.wrap===2?(Rn(i,255&e.adler),Rn(i,e.adler>>8&255),Rn(i,e.adler>>16&255),Rn(i,e.adler>>24&255),Rn(i,255&e.total_in),Rn(i,e.total_in>>8&255),Rn(i,e.total_in>>16&255),Rn(i,e.total_in>>24&255)):(kc(i,e.adler>>>16),kc(i,65535&e.adler)),Xs(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Un:Ds)}try{String.fromCharCode.call(null,0)}catch{}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{}const cy=new Qa(256);for(let e=0;e<256;e++)cy[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;function dy(e){let t,r,i,a,s=0;const u=e.length;for(i=0;i>>6,c[a++]=128|63&t):t<65536?(c[a++]=224|t>>>12,c[a++]=128|t>>>6&63,c[a++]=128|63&t):(c[a++]=240|t>>>18,c[a++]=128|t>>>12&63,c[a++]=128|t>>>6&63,c[a++]=128|63&t);return c}cy[254]=cy[254]=1;class MD{constructor(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}}class fy{constructor(t){this.options={level:m5,method:bu,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,...t||{}};const r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new MD,this.strm.avail_out=0;var i,a,s=function(u,c,h,n,p,d){if(!u)return yr;let v=1;if(c===m5&&(c=6),n<0?(v=0,n=-n):n>15&&(v=2,n-=16),p<1||p>kV||h!==bu||n<8||n>15||c<0||c>9||d<0||d>yD)return ro(u,yr);n===8&&(n=9);const m=new PV;return u.state=m,m.strm=u,m.wrap=v,m.gzhead=null,m.w_bits=n,m.w_size=1<=n.w_size&&(v===0&&(Qs(n.head),n.strstart=0,n.block_start=0,n.insert=0),b=new Qa(n.w_size),is(b,h,k-n.w_size,n.w_size,0),h=b,k=n.w_size),m=c.avail_in,g=c.next_in,y=c.input,c.avail_in=k,c.next_in=0,c.input=h,fl(n);n.lookahead>=An;){p=n.strstart,d=n.lookahead-(An-1);do n.ins_h=(n.ins_h<0||i.avail_out===0)&&s!==Ds);return u===Ir?(s=function(c){let h;return c&&c.state?(h=c.state.status,h!==pv&&h!==uy&&h!==Ep&&h!==Dp&&h!==Op&&h!==Jo&&h!==zc?ro(c,yr):(c.state=null,h===Jo?ro(c,K0):Un)):yr}(this.strm),this.onEnd(s),this.ended=!0,s===Un):u!==ld||(this.onEnd(Un),i.avail_out=0,!0)}onData(t){this.chunks.push(t)}onEnd(t){t===Un&&(this.result=_D(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg}}const Xh=30,MV=12;function IV(e,t){let r,i,a,s,u,c,h,n,p,d;const v=e.state;r=e.next_in;const m=e.input,g=r+(e.avail_in-5);i=e.next_out;const y=e.output,b=i-(t-e.avail_out),k=i+(e.avail_out-257),O=v.dmax,S=v.wsize,x=v.whave,E=v.wnext,w=v.window;a=v.hold,s=v.bits;const T=v.lencode,M=v.distcode,A=(1<>>24,a>>>=c,s-=c,c=u>>>16&255,c===0)y[i++]=65535&u;else{if(!(16&c)){if((64&c)==0){u=T[(65535&u)+(a&(1<>>=c,s-=c),s<15&&(a+=m[r++]<>>24,a>>>=c,s-=c,c=u>>>16&255,!(16&c)){if((64&c)==0){u=M[(65535&u)+(a&(1<O){e.msg="invalid distance too far back",v.mode=Xh;break e}if(a>>>=c,s-=c,c=i-b,n>c){if(c=n-c,c>x&&v.sane){e.msg="invalid distance too far back",v.mode=Xh;break e}if(p=0,d=w,E===0){if(p+=S-c,c2;)y[i++]=d[p++],y[i++]=d[p++],y[i++]=d[p++],h-=3;h&&(y[i++]=d[p++],h>1&&(y[i++]=d[p++]))}else{p=i-n;do y[i++]=y[p++],y[i++]=y[p++],y[i++]=y[p++],h-=3;while(h>2);h&&(y[i++]=y[p++],h>1&&(y[i++]=y[p++]))}break}}break}}while(r>3,r-=h,s-=h<<3,a&=(1<=1&&L[k]===0;k--);if(O>k&&(O=k),k===0)return a[s++]=20971520,a[s++]=20971520,c.bits=1,0;for(b=1;b0&&(e===M5||k!==1))return-1;for(Y[1]=0,g=1;gT5||e===I5&&w>A5)return 1;for(;;){N=g-x,u[y]m?(W=ue[Te+u[y]],j=M[A+u[y]]):(W=96,j=0),n=1<>x)+p]=N<<24|W<<16|j|0;while(p!==0);for(n=1<>=1;if(n!==0?(T&=n-1,T+=n):T=0,y++,--L[g]==0){if(g===k)break;g=t[r+u[y]]}if(g>O&&(T&pe)!==d){for(x===0&&(x=O),v+=b,S=g-x,E=1<T5||e===I5&&w>A5)return 1;d=T&pe,a[d]=O<<24|S<<16|v-s|0}}return T!==0&&(a[v+T]=g-x<<24|64<<16|0),c.bits=O,0}const BV=0,ID=1,$D=2,RD=1,$5=2,R5=3,L5=4,N5=5,B5=6,F5=7,z5=8,j5=9,U5=10,vv=11,ms=12,G_=13,V5=14,Y_=15,W5=16,K5=17,H5=18,G5=19,Jh=20,Zh=21,Y5=22,X5=23,J5=24,Z5=25,Q5=26,X_=27,q5=28,e4=29,ar=30,FV=852,zV=592;function t4(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}class jV{constructor(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ra(320),this.work=new ra(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}}function UV(e){let t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,function(r){let i;return r&&r.state?(i=r.state,r.total_in=r.total_out=i.total=0,r.msg="",i.wrap&&(r.adler=1&i.wrap),i.mode=RD,i.last=0,i.havedict=0,i.dmax=32768,i.head=null,i.hold=0,i.bits=0,i.lencode=i.lendyn=new fv(FV),i.distcode=i.distdyn=new fv(zV),i.sane=1,i.back=-1,Un):yr}(e)):yr}function VV(e,t){let r,i;return e?(i=new jV,e.state=i,i.window=null,r=function(a,s){let u,c;return a&&a.state?(c=a.state,s<0?(u=0,s=-s):(u=1+(s>>4),s<48&&(s&=15)),s&&(s<8||s>15)?yr:(c.window!==null&&c.wbits!==s&&(c.window=null),c.wrap=u,c.wbits=s,UV(a))):yr}(e,t),r!==Un&&(e.state=null),r):yr}let J_,Z_,n4=!0;function WV(e){if(n4){let t;for(J_=new fv(512),Z_=new fv(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(qc(ID,e.lens,0,288,J_,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;qc($D,e.lens,0,32,Z_,0,e.work,{bits:5}),n4=!1}e.lencode=J_,e.lenbits=9,e.distcode=Z_,e.distbits=5}function LD(e,t,r,i){let a;const s=e.state;return s.window===null&&(s.wsize=1<=s.wsize?(is(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(a=s.wsize-s.wnext,a>i&&(a=i),is(s.window,t,r-i,a,s.wnext),(i-=a)?(is(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=a,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=Tr(r.check,Y,2,0),n=0,p=0,r.mode=$5;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&n)<<8)+(n>>8))%31){e.msg="incorrect header check",r.mode=ar;break}if((15&n)!==bu){e.msg="unknown compression method",r.mode=ar;break}if(n>>>=4,p-=4,w=8+(15&n),r.wbits===0)r.wbits=w;else if(w>r.wbits){e.msg="invalid window size",r.mode=ar;break}r.dmax=1<>8&1),512&r.flags&&(Y[0]=255&n,Y[1]=n>>>8&255,r.check=Tr(r.check,Y,2,0)),n=0,p=0,r.mode=R5;case R5:for(;p<32;){if(c===0)break e;c--,n+=i[s++]<>>8&255,Y[2]=n>>>16&255,Y[3]=n>>>24&255,r.check=Tr(r.check,Y,4,0)),n=0,p=0,r.mode=L5;case L5:for(;p<16;){if(c===0)break e;c--,n+=i[s++]<>8),512&r.flags&&(Y[0]=255&n,Y[1]=n>>>8&255,r.check=Tr(r.check,Y,2,0)),n=0,p=0,r.mode=N5;case N5:if(1024&r.flags){for(;p<16;){if(c===0)break e;c--,n+=i[s++]<>>8&255,r.check=Tr(r.check,Y,2,0)),n=0,p=0}else r.head&&(r.head.extra=null);r.mode=B5;case B5:if(1024&r.flags&&(m=r.length,m>c&&(m=c),m&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),is(r.head.extra,i,s,m,w)),512&r.flags&&(r.check=Tr(r.check,i,m,s)),c-=m,s+=m,r.length-=m),r.length))break e;r.length=0,r.mode=F5;case F5:if(2048&r.flags){if(c===0)break e;m=0;do w=i[s+m++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w));while(w&&m>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=ms;break;case U5:for(;p<32;){if(c===0)break e;c--,n+=i[s++]<>>=7&p,p-=7&p,r.mode=X_;break}for(;p<3;){if(c===0)break e;c--,n+=i[s++]<>>=1,p-=1,3&n){case 0:r.mode=V5;break;case 1:if(WV(r),r.mode=Jh,t===Gh){n>>>=2,p-=2;break e}break;case 2:r.mode=K5;break;case 3:e.msg="invalid block type",r.mode=ar}n>>>=2,p-=2;break;case V5:for(n>>>=7&p,p-=7&p;p<32;){if(c===0)break e;c--,n+=i[s++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=ar;break}if(r.length=65535&n,n=0,p=0,r.mode=Y_,t===Gh)break e;case Y_:r.mode=W5;case W5:if(m=r.length,m){if(m>c&&(m=c),m>h&&(m=h),m===0)break e;is(a,i,s,m,u),c-=m,s+=m,h-=m,u+=m,r.length-=m;break}r.mode=ms;break;case K5:for(;p<14;){if(c===0)break e;c--,n+=i[s++]<>>=5,p-=5,r.ndist=1+(31&n),n>>>=5,p-=5,r.ncode=4+(15&n),n>>>=4,p-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=ar;break}r.have=0,r.mode=H5;case H5:for(;r.have>>=3,p-=3}for(;r.have<19;)r.lens[N[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},T=qc(BV,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,T){e.msg="invalid code lengths set",r.mode=ar;break}r.have=0,r.mode=G5;case G5:for(;r.have>>24,k=L>>>16&255,O=65535&L,!(b<=p);){if(c===0)break e;c--,n+=i[s++]<>>=b,p-=b,r.lens[r.have++]=O;else{if(O===16){for(A=b+2;p>>=b,p-=b,r.have===0){e.msg="invalid bit length repeat",r.mode=ar;break}w=r.lens[r.have-1],m=3+(3&n),n>>>=2,p-=2}else if(O===17){for(A=b+3;p>>=b,p-=b,w=0,m=3+(7&n),n>>>=3,p-=3}else{for(A=b+7;p>>=b,p-=b,w=0,m=11+(127&n),n>>>=7,p-=7}if(r.have+m>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=ar;break}for(;m--;)r.lens[r.have++]=w}}if(r.mode===ar)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=ar;break}if(r.lenbits=9,M={bits:r.lenbits},T=qc(ID,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,T){e.msg="invalid literal/lengths set",r.mode=ar;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},T=qc($D,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,T){e.msg="invalid distances set",r.mode=ar;break}if(r.mode=Jh,t===Gh)break e;case Jh:r.mode=Zh;case Zh:if(c>=6&&h>=258){e.next_out=u,e.avail_out=h,e.next_in=s,e.avail_in=c,r.hold=n,r.bits=p,IV(e,v),u=e.next_out,a=e.output,h=e.avail_out,s=e.next_in,i=e.input,c=e.avail_in,n=r.hold,p=r.bits,r.mode===ms&&(r.back=-1);break}for(r.back=0;L=r.lencode[n&(1<>>24,k=L>>>16&255,O=65535&L,!(b<=p);){if(c===0)break e;c--,n+=i[s++]<>S)],b=L>>>24,k=L>>>16&255,O=65535&L,!(S+b<=p);){if(c===0)break e;c--,n+=i[s++]<>>=S,p-=S,r.back+=S}if(n>>>=b,p-=b,r.back+=b,r.length=O,k===0){r.mode=Q5;break}if(32&k){r.back=-1,r.mode=ms;break}if(64&k){e.msg="invalid literal/length code",r.mode=ar;break}r.extra=15&k,r.mode=Y5;case Y5:if(r.extra){for(A=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=X5;case X5:for(;L=r.distcode[n&(1<>>24,k=L>>>16&255,O=65535&L,!(b<=p);){if(c===0)break e;c--,n+=i[s++]<>S)],b=L>>>24,k=L>>>16&255,O=65535&L,!(S+b<=p);){if(c===0)break e;c--,n+=i[s++]<>>=S,p-=S,r.back+=S}if(n>>>=b,p-=b,r.back+=b,64&k){e.msg="invalid distance code",r.mode=ar;break}r.offset=O,r.extra=15&k,r.mode=J5;case J5:if(r.extra){for(A=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=ar;break}r.mode=Z5;case Z5:if(h===0)break e;if(m=v-h,r.offset>m){if(m=r.offset-m,m>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=ar;break}m>r.wnext?(m-=r.wnext,g=r.wsize-m):g=r.wnext-m,m>r.length&&(m=r.length),y=r.window}else y=a,g=u-r.offset,m=r.length;m>h&&(m=h),h-=m,r.length-=m;do a[u++]=y[g++];while(--m);r.length===0&&(r.mode=Zh);break;case Q5:if(h===0)break e;a[u++]=r.length,h--,r.mode=Zh;break;case X_:if(r.wrap){for(;p<32;){if(c===0)break e;c--,n|=i[s++]<=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),!(r.windowBits>=0&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(15&r.windowBits)==0&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new MD,this.strm.avail_out=0;let i=VV(this.strm,r.windowBits);if(i!==Un||(this.header=new HV,function(a,s){let u;a&&a.state&&(u=a.state,(2&u.wrap)==0||(u.head=s,s.done=!1))}(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=dy(r.dictionary):r.dictionary instanceof ArrayBuffer&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(i=r4(this.strm,r.dictionary),i!==Un))))throw Error(pd[i])}push(t,r){const{strm:i,options:{chunkSize:a,dictionary:s}}=this;let u,c,h=!1;if(this.ended)return!1;c=r===~~r?r:r===!0?Ir:as,typeof t=="string"?i.input=function(n){const p=new Qa(n.length);for(let d=0,v=p.length;d0||i.avail_out===0)&&u!==Ds);return u===Ds&&(c=Ir),c===Ir?(u=function(n){if(!n||!n.state)return yr;const p=n.state;return p.window&&(p.window=null),n.state=null,Un}(this.strm),this.onEnd(u),this.ended=!0,u===Un):c!==ld||(this.onEnd(Un),i.avail_out=0,!0)}onData(t){this.chunks.push(t)}onEnd(t){t===Un&&(this.result=_D(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg}}var a4=[0,1,3,7,15,31,63,127,255],Uc=function(e){this.stream=e,this.bitOffset=0,this.curByte=0,this.hasByte=!1};Uc.prototype._ensureByte=function(){this.hasByte||(this.curByte=this.stream.readByte(),this.hasByte=!0)},Uc.prototype.read=function(e){for(var t=0;e>0;){this._ensureByte();var r=8-this.bitOffset;if(e>=r)t<<=r,t|=a4[r]&this.curByte,this.hasByte=!1,this.bitOffset=0,e-=r;else{t<<=e;var i=r-e;t|=(this.curByte&a4[e]<>i,this.bitOffset+=e,e=0}}return t},Uc.prototype.seek=function(e){var t=e%8,r=(e-t)/8;this.bitOffset=t,this.stream.seek(r),this.hasByte=!1},Uc.prototype.pi=function(){var e,t=new Uint8Array(6);for(e=0;e("00"+i.toString(16)).slice(-2)).join("")}(t)};var GV=Uc,jo=function(){};jo.prototype.readByte=function(){throw Error("abstract method readByte() not implemented")},jo.prototype.read=function(e,t,r){for(var i=0;i>>0},this.updateCRC=function(t){e=e<<8^Q_[255&(e>>>24^t)]},this.updateCRCRun=function(t,r){for(;r-- >0;)e=e<<8^Q_[255&(e>>>24^t)]}}),s4=function(e,t){var r,i=e[t];for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=i,i},sr={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},Js={};Js[sr.LAST_BLOCK]="Bad file checksum",Js[sr.NOT_BZIP_DATA]="Not bzip data",Js[sr.UNEXPECTED_INPUT_EOF]="Unexpected input EOF",Js[sr.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF",Js[sr.DATA_ERROR]="Data error",Js[sr.OUT_OF_MEMORY]="Out of memory",Js[sr.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var zr=function(e,t){var r=Js[e]||"unknown error";t&&(r+=": "+t);var i=new TypeError(r);throw i.errorCode=e,i},Vc=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};Vc.prototype._init_block=function(){return this._get_next_block()?(this.blockCRC=new YV,!0):(this.writeCount=-1,!1)},Vc.prototype._start_bunzip=function(e,t){var r=new Uint8Array(4);e.read(r,0,4)===4&&String.fromCharCode(r[0],r[1],r[2])==="BZh"||zr(sr.NOT_BZIP_DATA,"bad magic");var i=r[3]-48;(i<1||i>9)&&zr(sr.NOT_BZIP_DATA,"level out of range"),this.reader=new GV(e),this.dbufSize=1e5*i,this.nextoutput=0,this.outputStream=t,this.streamCRC=0},Vc.prototype._get_next_block=function(){var e,t,r,i=this.reader,a=i.pi();if(a==="177245385090")return!1;a!=="314159265359"&&zr(sr.NOT_BZIP_DATA),this.targetBlockCRC=i.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,i.read(1)&&zr(sr.OBSOLETE_INPUT);var s=i.read(24);s>this.dbufSize&&zr(sr.DATA_ERROR,"initial position out of bounds");var u=i.read(16),c=new Uint8Array(256),h=0;for(e=0;e<16;e++)if(u&1<<15-e){var n=16*e;for(r=i.read(16),t=0;t<16;t++)r&1<<15-t&&(c[h++]=n+t)}var p=i.read(3);(p<2||p>6)&&zr(sr.DATA_ERROR);var d=i.read(15);d===0&&zr(sr.DATA_ERROR);var v=new Uint8Array(256);for(e=0;e=p&&zr(sr.DATA_ERROR);m[e]=s4(v,t)}var g,y=h+2,b=[];for(t=0;t20)&&zr(sr.DATA_ERROR),i.read(1);)i.read(1)?u--:u++;S[e]=u}for(k=O=S[0],e=1;eO?O=S[e]:S[e]=d&&zr(sr.DATA_ERROR),g=b[m[L++]]),e=g.minLen,t=i.read(e);e>g.maxLen&&zr(sr.DATA_ERROR),!(t<=g.limit[e]);e++)t=t<<1|i.read(1);((t-=g.base[e])<0||t>=258)&&zr(sr.DATA_ERROR);var N=g.permute[t];if(N!==0&&N!==1){if(M)for(M=0,A+u>this.dbufSize&&zr(sr.DATA_ERROR),w[T=c[v[0]]]+=u;u--;)Y[A++]=T;if(N>h)break;A>=this.dbufSize&&zr(sr.DATA_ERROR),w[T=c[T=s4(v,e=N-1)]]++,Y[A++]=T}else M||(M=1,u=0),u+=N===0?M:2*M,M<<=1}for((s<0||s>=A)&&zr(sr.DATA_ERROR),t=0,e=0;e<256;e++)r=t+w[e],w[e]=t,t=r;for(e=0;e>=8,ue=-1),this.writePos=W,this.writeCurrent=j,this.writeCount=A,this.writeRun=ue,!0},Vc.prototype._read_bunzip=function(e,t){var r,i,a;if(this.writeCount<0)return 0;var s=this.dbuf,u=this.writePos,c=this.writeCurrent,h=this.writeCount;this.outputsize;for(var n=this.writeRun;h;){for(h--,i=c,c=255&(u=s[u]),u>>=8,n++==3?(r=c,a=i,c=-1):(r=1,a=c),this.blockCRC.updateCRCRun(a,r);r--;)this.outputStream.writeByte(a),this.nextoutput++;c!=i&&(n=0)}return this.writeCount=h,this.blockCRC.getCRC()!==this.targetBlockCRC&&zr(sr.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var XV=function(e){if("readByte"in e)return e;var t=new ND;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(r){this.pos=r},t.eof=function(){return this.pos>=e.length},t},JV=function(e){var t=new ND,r=!0;if(e)if(typeof e=="number")t.buffer=new Uint8Array(e),r=!1;else{if("writeByte"in e)return e;t.buffer=e,r=!1}else t.buffer=new Uint8Array(16384);return t.pos=0,t.writeByte=function(i){if(r&&this.pos>=this.buffer.length){var a=new Uint8Array(2*this.buffer.length);a.set(this.buffer),this.buffer=a}this.buffer[this.pos++]=i},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!r)throw new TypeError("outputsize does not match decoded input");var i=new Uint8Array(this.pos);i.set(this.buffer.subarray(0,this.pos)),this.buffer=i}return this.buffer},t._coerced=!0,t},o4=function(e,t,r){for(var i=XV(e),a=JV(t),s=new Vc(i,a);!("eof"in i)||!i.eof();)if(s._init_block())s._read_bunzip();else{var u=s.reader.read(32)>>>0;if(u!==s.streamCRC&&zr(sr.DATA_ERROR,"Bad stream CRC (got "+s.streamCRC.toString(16)+" expected "+u.toString(16)+")"),!r||!("eof"in i)||i.eof())break;s._start_bunzip(i,a)}if("getBuffer"in a)return a.getBuffer()};class Lu{static get tag(){return he.packet.literalData}constructor(t=new Date){this.format=he.literal.utf8,this.date=Oe.normalizeDate(t),this.text=null,this.data=null,this.filename=""}setText(t,r=he.literal.utf8){this.format=r,this.text=t,this.data=null}getText(t=!1){return(this.text===null||Oe.isStream(this.text))&&(this.text=Oe.decodeUTF8(Oe.nativeEOL(this.getBytes(t)))),this.text}setBytes(t,r){this.format=r,this.data=t,this.text=null}getBytes(t=!1){return this.data===null&&(this.data=Oe.canonicalizeEOL(Oe.encodeUTF8(this.text))),t?lu(this.data):this.data}setFilename(t){this.filename=t}getFilename(){return this.filename}async read(t){await Gv(t,async r=>{const i=await r.readByte(),a=await r.readByte();this.filename=Oe.decodeUTF8(await r.readBytes(a)),this.date=Oe.readDate(await r.readBytes(4));let s=r.remainder();pr(s)&&(s=await _r(s)),this.setBytes(s,i)})}writeHeader(){const t=Oe.encodeUTF8(this.filename),r=new Uint8Array([t.length]),i=new Uint8Array([this.format]),a=Oe.writeDate(this.date);return Oe.concatUint8Array([i,r,t,a])}write(){const t=this.writeHeader(),r=this.getBytes();return Oe.concat([t,r])}}const Ec=Symbol("verified"),ZV=new Set([he.signatureSubpacket.issuer,he.signatureSubpacket.issuerFingerprint,he.signatureSubpacket.embeddedSignature]);class Hr{static get tag(){return he.packet.signature}constructor(){this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.signatureData=null,this.unhashedSubpackets=[],this.signedHashValue=null,this.created=null,this.signatureExpirationTime=null,this.signatureNeverExpires=!0,this.exportable=null,this.trustLevel=null,this.trustAmount=null,this.regularExpression=null,this.revocable=null,this.keyExpirationTime=null,this.keyNeverExpires=null,this.preferredSymmetricAlgorithms=null,this.revocationKeyClass=null,this.revocationKeyAlgorithm=null,this.revocationKeyFingerprint=null,this.issuerKeyID=new vo,this.rawNotations=[],this.notations={},this.preferredHashAlgorithms=null,this.preferredCompressionAlgorithms=null,this.keyServerPreferences=null,this.preferredKeyServer=null,this.isPrimaryUserID=null,this.policyURI=null,this.keyFlags=null,this.signersUserID=null,this.reasonForRevocationFlag=null,this.reasonForRevocationString=null,this.features=null,this.signatureTargetPublicKeyAlgorithm=null,this.signatureTargetHashAlgorithm=null,this.signatureTargetHash=null,this.embeddedSignature=null,this.issuerKeyVersion=null,this.issuerFingerprint=null,this.preferredAEADAlgorithms=null,this.revoked=null,this[Ec]=null}read(t){let r=0;if(this.version=t[r++],this.version!==4&&this.version!==5)throw new Er(`Version ${this.version} of the signature packet is unsupported.`);if(this.signatureType=t[r++],this.publicKeyAlgorithm=t[r++],this.hashAlgorithm=t[r++],r+=this.readSubPackets(t.subarray(r,t.length),!0),!this.created)throw Error("Missing signature creation time subpacket.");this.signatureData=t.subarray(0,r),r+=this.readSubPackets(t.subarray(r,t.length),!1),this.signedHashValue=t.subarray(r,r+2),r+=2,this.params=Kt.signature.parseSignatureParams(this.publicKeyAlgorithm,t.subarray(r,t.length))}writeParams(){return this.params instanceof Promise?bo(async()=>Kt.serializeParams(this.publicKeyAlgorithm,await this.params)):Kt.serializeParams(this.publicKeyAlgorithm,this.params)}write(){const t=[];return t.push(this.signatureData),t.push(this.writeUnhashedSubPackets()),t.push(this.signedHashValue),t.push(this.writeParams()),Oe.concat(t)}async sign(t,r,i=new Date,a=!1){t.version===5?this.version=5:this.version=4;const s=[new Uint8Array([this.version,this.signatureType,this.publicKeyAlgorithm,this.hashAlgorithm])];this.created=Oe.normalizeDate(i),this.issuerKeyVersion=t.version,this.issuerFingerprint=t.getFingerprintBytes(),this.issuerKeyID=t.getKeyID(),s.push(this.writeHashedSubPackets()),this.unhashedSubpackets=[],this.signatureData=Oe.concat(s);const u=this.toHash(this.signatureType,r,a),c=await this.hash(this.signatureType,r,u,a);this.signedHashValue=Wr(dl(c),0,2);const h=async()=>Kt.signature.sign(this.publicKeyAlgorithm,this.hashAlgorithm,t.publicParams,t.privateParams,u,await _r(c));Oe.isStream(c)?this.params=h():(this.params=await h(),this[Ec]=!0)}writeHashedSubPackets(){const t=he.signatureSubpacket,r=[];let i;if(this.created===null)throw Error("Missing signature creation time");r.push(er(t.signatureCreationTime,!0,Oe.writeDate(this.created))),this.signatureExpirationTime!==null&&r.push(er(t.signatureExpirationTime,!0,Oe.writeNumber(this.signatureExpirationTime,4))),this.exportable!==null&&r.push(er(t.exportableCertification,!0,new Uint8Array([this.exportable?1:0]))),this.trustLevel!==null&&(i=new Uint8Array([this.trustLevel,this.trustAmount]),r.push(er(t.trustSignature,!0,i))),this.regularExpression!==null&&r.push(er(t.regularExpression,!0,this.regularExpression)),this.revocable!==null&&r.push(er(t.revocable,!0,new Uint8Array([this.revocable?1:0]))),this.keyExpirationTime!==null&&r.push(er(t.keyExpirationTime,!0,Oe.writeNumber(this.keyExpirationTime,4))),this.preferredSymmetricAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredSymmetricAlgorithms)),r.push(er(t.preferredSymmetricAlgorithms,!1,i))),this.revocationKeyClass!==null&&(i=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),i=Oe.concat([i,this.revocationKeyFingerprint]),r.push(er(t.revocationKey,!1,i))),this.issuerKeyID.isNull()||this.issuerKeyVersion===5||r.push(er(t.issuer,!0,this.issuerKeyID.write())),this.rawNotations.forEach(({name:u,value:c,humanReadable:h,critical:n})=>{i=[new Uint8Array([h?128:0,0,0,0])];const p=Oe.encodeUTF8(u);i.push(Oe.writeNumber(p.length,2)),i.push(Oe.writeNumber(c.length,2)),i.push(p),i.push(c),i=Oe.concat(i),r.push(er(t.notationData,n,i))}),this.preferredHashAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredHashAlgorithms)),r.push(er(t.preferredHashAlgorithms,!1,i))),this.preferredCompressionAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredCompressionAlgorithms)),r.push(er(t.preferredCompressionAlgorithms,!1,i))),this.keyServerPreferences!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.keyServerPreferences)),r.push(er(t.keyServerPreferences,!1,i))),this.preferredKeyServer!==null&&r.push(er(t.preferredKeyServer,!1,Oe.encodeUTF8(this.preferredKeyServer))),this.isPrimaryUserID!==null&&r.push(er(t.primaryUserID,!1,new Uint8Array([this.isPrimaryUserID?1:0]))),this.policyURI!==null&&r.push(er(t.policyURI,!1,Oe.encodeUTF8(this.policyURI))),this.keyFlags!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.keyFlags)),r.push(er(t.keyFlags,!0,i))),this.signersUserID!==null&&r.push(er(t.signersUserID,!1,Oe.encodeUTF8(this.signersUserID))),this.reasonForRevocationFlag!==null&&(i=Oe.stringToUint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),r.push(er(t.reasonForRevocation,!0,i))),this.features!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.features)),r.push(er(t.features,!1,i))),this.signatureTargetPublicKeyAlgorithm!==null&&(i=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],i.push(Oe.stringToUint8Array(this.signatureTargetHash)),i=Oe.concat(i),r.push(er(t.signatureTarget,!0,i))),this.embeddedSignature!==null&&r.push(er(t.embeddedSignature,!0,this.embeddedSignature.write())),this.issuerFingerprint!==null&&(i=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],i=Oe.concat(i),r.push(er(t.issuerFingerprint,this.version===5,i))),this.preferredAEADAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredAEADAlgorithms)),r.push(er(t.preferredAEADAlgorithms,!1,i)));const a=Oe.concat(r),s=Oe.writeNumber(a.length,2);return Oe.concat([s,a])}writeUnhashedSubPackets(){const t=[];this.unhashedSubpackets.forEach(a=>{t.push(Td(a.length)),t.push(a)});const r=Oe.concat(t),i=Oe.writeNumber(r.length,2);return Oe.concat([i,r])}readSubPacket(t,r=!0){let i=0;const a=!!(128&t[i]),s=127&t[i];if(r||(this.unhashedSubpackets.push(t.subarray(i,t.length)),ZV.has(s)))switch(i++,s){case he.signatureSubpacket.signatureCreationTime:this.created=Oe.readDate(t.subarray(i,t.length));break;case he.signatureSubpacket.signatureExpirationTime:{const u=Oe.readNumber(t.subarray(i,t.length));this.signatureNeverExpires=u===0,this.signatureExpirationTime=u;break}case he.signatureSubpacket.exportableCertification:this.exportable=t[i++]===1;break;case he.signatureSubpacket.trustSignature:this.trustLevel=t[i++],this.trustAmount=t[i++];break;case he.signatureSubpacket.regularExpression:this.regularExpression=t[i];break;case he.signatureSubpacket.revocable:this.revocable=t[i++]===1;break;case he.signatureSubpacket.keyExpirationTime:{const u=Oe.readNumber(t.subarray(i,t.length));this.keyExpirationTime=u,this.keyNeverExpires=u===0;break}case he.signatureSubpacket.preferredSymmetricAlgorithms:this.preferredSymmetricAlgorithms=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.revocationKey:this.revocationKeyClass=t[i++],this.revocationKeyAlgorithm=t[i++],this.revocationKeyFingerprint=t.subarray(i,i+20);break;case he.signatureSubpacket.issuer:this.issuerKeyID.read(t.subarray(i,t.length));break;case he.signatureSubpacket.notationData:{const u=!!(128&t[i]);i+=4;const c=Oe.readNumber(t.subarray(i,i+2));i+=2;const h=Oe.readNumber(t.subarray(i,i+2));i+=2;const n=Oe.decodeUTF8(t.subarray(i,i+c)),p=t.subarray(i+c,i+c+h);this.rawNotations.push({name:n,humanReadable:u,value:p,critical:a}),u&&(this.notations[n]=Oe.decodeUTF8(p));break}case he.signatureSubpacket.preferredHashAlgorithms:this.preferredHashAlgorithms=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.preferredCompressionAlgorithms:this.preferredCompressionAlgorithms=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.keyServerPreferences:this.keyServerPreferences=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.preferredKeyServer:this.preferredKeyServer=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.primaryUserID:this.isPrimaryUserID=t[i++]!==0;break;case he.signatureSubpacket.policyURI:this.policyURI=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.keyFlags:this.keyFlags=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.signersUserID:this.signersUserID=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.reasonForRevocation:this.reasonForRevocationFlag=t[i++],this.reasonForRevocationString=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.features:this.features=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.signatureTarget:{this.signatureTargetPublicKeyAlgorithm=t[i++],this.signatureTargetHashAlgorithm=t[i++];const u=Kt.getHashByteLength(this.signatureTargetHashAlgorithm);this.signatureTargetHash=Oe.uint8ArrayToString(t.subarray(i,i+u));break}case he.signatureSubpacket.embeddedSignature:this.embeddedSignature=new Hr,this.embeddedSignature.read(t.subarray(i,t.length));break;case he.signatureSubpacket.issuerFingerprint:this.issuerKeyVersion=t[i++],this.issuerFingerprint=t.subarray(i,t.length),this.issuerKeyVersion===5?this.issuerKeyID.read(this.issuerFingerprint):this.issuerKeyID.read(this.issuerFingerprint.subarray(-8));break;case he.signatureSubpacket.preferredAEADAlgorithms:this.preferredAEADAlgorithms=[...t.subarray(i,t.length)];break;default:{const u=Error("Unknown signature subpacket type "+s);if(a)throw u;Oe.printDebug(u)}}}readSubPackets(t,r=!0,i){const a=Oe.readNumber(t.subarray(0,2));let s=2;for(;s<2+a;){const u=nD(t.subarray(s,t.length));s+=u.offset,this.readSubPacket(t.subarray(s,s+u.len),r,i),s+=u.len}return s}toSign(t,r){const i=he.signature;switch(t){case i.binary:return r.text!==null?Oe.encodeUTF8(r.getText(!0)):r.getBytes(!0);case i.text:{const a=r.getBytes(!0);return Oe.canonicalizeEOL(a)}case i.standalone:return new Uint8Array(0);case i.certGeneric:case i.certPersona:case i.certCasual:case i.certPositive:case i.certRevocation:{let a,s;if(r.userID)s=180,a=r.userID;else{if(!r.userAttribute)throw Error("Either a userID or userAttribute packet needs to be supplied for certification.");s=209,a=r.userAttribute}const u=a.write();return Oe.concat([this.toSign(i.key,r),new Uint8Array([s]),Oe.writeNumber(u.length,4),u])}case i.subkeyBinding:case i.subkeyRevocation:case i.keyBinding:return Oe.concat([this.toSign(i.key,r),this.toSign(i.key,{key:r.bind})]);case i.key:if(r.key===void 0)throw Error("Key packet is required for this signature.");return r.key.writeForHash(this.version);case i.keyRevocation:return this.toSign(i.key,r);case i.timestamp:return new Uint8Array(0);case i.thirdParty:throw Error("Not implemented");default:throw Error("Unknown signature type.")}}calculateTrailer(t,r){let i=0;return cr(dl(this.signatureData),a=>{i+=a.length},()=>{const a=[];return this.version!==5||this.signatureType!==he.signature.binary&&this.signatureType!==he.signature.text||(r?a.push(new Uint8Array(6)):a.push(t.writeHeader())),a.push(new Uint8Array([this.version,255])),this.version===5&&a.push(new Uint8Array(4)),a.push(Oe.writeNumber(i,4)),Oe.concat(a)})}toHash(t,r,i=!1){const a=this.toSign(t,r);return Oe.concat([a,this.signatureData,this.calculateTrailer(r,i)])}async hash(t,r,i,a=!1){return i||(i=this.toHash(t,r,a)),Kt.hash.digest(this.hashAlgorithm,i)}async verify(t,r,i,a=new Date,s=!1,u=Nt){if(!this.issuerKeyID.equals(t.getKeyID()))throw Error("Signature was not issued by the given public key");if(this.publicKeyAlgorithm!==t.algorithm)throw Error("Public key algorithm used to sign signature does not match issuer key algorithm.");const c=r===he.signature.binary||r===he.signature.text;if(!(this[Ec]&&!c)){let n,p;if(this.hashed?p=await this.hashed:(n=this.toHash(r,i,s),p=await this.hash(r,i,n)),p=await _r(p),this.signedHashValue[0]!==p[0]||this.signedHashValue[1]!==p[1])throw Error("Signed digest did not match");if(this.params=await this.params,this[Ec]=await Kt.signature.verify(this.publicKeyAlgorithm,this.hashAlgorithm,this.params,t.publicParams,n,p),!this[Ec])throw Error("Signature verification failed")}const h=Oe.normalizeDate(a);if(h&&this.created>h)throw Error("Signature creation time is in the future");if(h&&h>=this.getExpirationTime())throw Error("Signature is expired");if(u.rejectHashAlgorithms.has(this.hashAlgorithm))throw Error("Insecure hash algorithm: "+he.read(he.hash,this.hashAlgorithm).toUpperCase());if(u.rejectMessageHashAlgorithms.has(this.hashAlgorithm)&&[he.signature.binary,he.signature.text].includes(this.signatureType))throw Error("Insecure message hash algorithm: "+he.read(he.hash,this.hashAlgorithm).toUpperCase());if(this.rawNotations.forEach(({name:n,critical:p})=>{if(p&&u.knownNotations.indexOf(n)<0)throw Error("Unknown critical notation: "+n)}),this.revocationKeyClass!==null)throw Error("This key is intended to be revoked with an authorized key, which OpenPGP.js does not support.")}isExpired(t=new Date){const r=Oe.normalizeDate(t);return r!==null&&!(this.created<=r&&rHr.prototype.calculateTrailer.apply(await this.correspondingSig,t))}async verify(){const t=await this.correspondingSig;if(!t||t.constructor.tag!==he.packet.signature)throw Error("Corresponding signature packet missing");if(t.signatureType!==this.signatureType||t.hashAlgorithm!==this.hashAlgorithm||t.publicKeyAlgorithm!==this.publicKeyAlgorithm||!t.issuerKeyID.equals(this.issuerKeyID))throw Error("Corresponding signature packet does not match one-pass signature packet");return t.hashed=this.hashed,t.verify.apply(t,arguments)}}function QV(e,t){if(!t[e]){let r;try{r=he.read(he.packet,e)}catch{throw new Er("Unknown packet type with tag: "+e)}throw Error("Packet not allowed in this context: "+r)}return new t[e]}ga.prototype.hash=Hr.prototype.hash,ga.prototype.toHash=Hr.prototype.toHash,ga.prototype.toSign=Hr.prototype.toSign;class Fn extends Array{static async fromBinary(t,r,i=Nt){const a=new Fn;return await a.read(t,r,i),a}async read(t,r,i=Nt){this.stream=Ts(t,async(s,u)=>{const c=$i(u);try{for(;;)if(await c.ready,await qU(s,async h=>{try{if(h.tag===he.packet.marker||h.tag===he.packet.trust)return;const n=QV(h.tag,r);n.packets=new Fn,n.fromStream=Oe.isStream(h.packet),await n.read(h.packet,i),await c.write(n)}catch(n){const p=!i.ignoreUnsupportedPackets&&n instanceof Er,d=!(i.ignoreMalformedPackets||n instanceof Er);if(p||d||xp(h.tag))await c.abort(n);else{const v=new sy(h.tag,h.packet);await c.write(v)}Oe.printDebugError(n)}}))return await c.ready,void await c.close()}catch(h){await c.abort(h)}});const a=os(this.stream);for(;;){const{done:s,value:u}=await a.read();if(s?this.stream=null:this.push(u),s||xp(u.constructor.tag))break}a.releaseLock()}write(){const t=[];for(let r=0;r{if(s.push(h),u+=h.length,u>=c){const n=Math.min(Math.log(u)/Math.LN2|0,30),p=2**n,d=Oe.concat([QU(n)].concat(s));return s=[d.subarray(1+p)],u=s[0].length,d.subarray(0,1+p)}},()=>Oe.concat([Td(u)].concat(s))))}else{if(Oe.isStream(a)){let s=0;t.push(cr(dl(a),u=>{s+=u.length},()=>u5(i,s)))}else t.push(u5(i,a.length));t.push(a)}}return Oe.concat(t)}filterByTag(...t){const r=new Fn,i=a=>s=>a===s;for(let a=0;ar.constructor.tag===t)}indexOfTag(...t){const r=[],i=this,a=s=>u=>s===u;for(let s=0;s{this.algorithm=await i.readByte(),this.compressed=i.remainder(),await this.decompress(r)})}write(){return this.compressed===null&&this.compress(),Oe.concat([new Uint8Array([this.algorithm]),this.compressed])}async decompress(t=Nt){const r=he.read(he.compression,this.algorithm),i=tW[r];if(!i)throw Error(r+" decompression not supported");this.packets=await Fn.fromBinary(i(this.compressed),qV,t)}compress(){const t=he.read(he.compression,this.algorithm),r=eW[t];if(!r)throw Error(t+" compression not supported");this.compressed=r(this.packets.write(),this.deflateLevel)}}const Ya=Oe.getNodeZlib();function l4(e){return e}function mv(e,t,r={}){return function(i){return!Oe.isStream(i)||pr(i)?bo(()=>_r(i).then(a=>new Promise((s,u)=>{e(a,r,(c,h)=>{if(c)return u(c);s(h)})}))):Hv(L0(i).pipe(t(r)))}}function _v(e,t={}){return function(r){const i=new e(t);return cr(r,a=>{if(a.length)return i.push(a,ld),i.result},()=>{if(e===fy)return i.push([],Ir),i.result})}}function u4(e){return function(t){return bo(async()=>e(await _r(t)))}}const eW=Ya?{zip:(e,t)=>mv(Ya.deflateRaw,Ya.createDeflateRaw,{level:t})(e),zlib:(e,t)=>mv(Ya.deflate,Ya.createDeflate,{level:t})(e)}:{zip:(e,t)=>_v(fy,{raw:!0,level:t})(e),zlib:(e,t)=>_v(fy,{level:t})(e)},tW=Ya?{uncompressed:l4,zip:mv(Ya.inflateRaw,Ya.createInflateRaw),zlib:mv(Ya.inflate,Ya.createInflate),bzip2:u4(o4)}:{uncompressed:l4,zip:_v(i4,{raw:!0}),zlib:_v(i4),bzip2:u4(o4)},nW=Oe.constructAllowedPackets([Lu,Id,ga,Hr]);class BD{static get tag(){return he.packet.symEncryptedIntegrityProtectedData}constructor(){this.version=1,this.encrypted=null,this.packets=null}async read(t){await Gv(t,async r=>{const i=await r.readByte();if(i!==1)throw new Er(`Version ${i} of the SEIP packet is unsupported.`);this.encrypted=r.remainder()})}write(){return Oe.concat([new Uint8Array([1]),this.encrypted])}async encrypt(t,r,i=Nt){const{blockSize:a}=Kt.getCipher(t);let s=this.packets.write();pr(s)&&(s=await _r(s));const u=await Kt.getPrefixRandom(t),c=new Uint8Array([211,20]),h=Oe.concat([u,s,c]),n=await Kt.hash.sha1(lu(h)),p=Oe.concat([h,n]);return this.encrypted=await Kt.mode.cfb.encrypt(t,r,p,new Uint8Array(a),i),!0}async decrypt(t,r,i=Nt){const{blockSize:a}=Kt.getCipher(t);let s=dl(this.encrypted);pr(s)&&(s=await _r(s));const u=await Kt.mode.cfb.decrypt(t,r,s,new Uint8Array(a)),c=Wr(lu(u),-20),h=Wr(u,0,-20),n=Promise.all([_r(await Kt.hash.sha1(lu(h))),_r(c)]).then(([v,m])=>{if(!Oe.equalsUint8Array(v,m))throw Error("Modification detected.");return new Uint8Array}),p=Wr(h,a+2);let d=Wr(p,0,-2);return d=Pi([d,bo(()=>n)]),Oe.isStream(s)&&i.allowUnauthenticatedStream||(d=await _r(d)),this.packets=await Fn.fromBinary(d,nW,i),!0}}const rW=Oe.constructAllowedPackets([Lu,Id,ga,Hr]);class nm{static get tag(){return he.packet.aeadEncryptedData}constructor(){this.version=1,this.cipherAlgorithm=null,this.aeadAlgorithm=he.aead.eax,this.chunkSizeByte=null,this.iv=null,this.encrypted=null,this.packets=null}async read(t){await Gv(t,async r=>{const i=await r.readByte();if(i!==1)throw new Er(`Version ${i} of the AEAD-encrypted data packet is not supported.`);this.cipherAlgorithm=await r.readByte(),this.aeadAlgorithm=await r.readByte(),this.chunkSizeByte=await r.readByte();const a=Kt.getAEADMode(this.aeadAlgorithm);this.iv=await r.readBytes(a.ivLength),this.encrypted=r.remainder()})}write(){return Oe.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.iv,this.encrypted])}async decrypt(t,r,i=Nt){this.packets=await Fn.fromBinary(await this.crypt("decrypt",r,dl(this.encrypted)),rW,i)}async encrypt(t,r,i=Nt){this.cipherAlgorithm=t;const{ivLength:a}=Kt.getAEADMode(this.aeadAlgorithm);this.iv=Kt.random.getRandomBytes(a),this.chunkSizeByte=i.aeadChunkSizeByte;const s=this.packets.write();this.encrypted=await this.crypt("encrypt",r,s)}async crypt(t,r,i){const a=Kt.getAEADMode(this.aeadAlgorithm),s=await a(this.cipherAlgorithm,r),u=t==="decrypt"?a.tagLength:0,c=t==="encrypt"?a.tagLength:0,h=2**(this.chunkSizeByte+6)+u,n=new ArrayBuffer(21),p=new Uint8Array(n,0,13),d=new Uint8Array(n),v=new DataView(n),m=new Uint8Array(n,5,8);p.set([192|nm.tag,this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte],0);let g=0,y=Promise.resolve(),b=0,k=0;const O=this.iv;return Ts(i,async(S,x)=>{if(Oe.isStream(S)!=="array"){const T=new gu({},{highWaterMark:Oe.getHardwareConcurrency()*2**(this.chunkSizeByte+6),size:M=>M.length});po(T.readable,x),x=T.writable}const E=os(S),w=$i(x);try{for(;;){let T=await E.readBytes(h+u)||new Uint8Array;const M=T.subarray(T.length-u);let A,L;if(T=T.subarray(0,T.length-u),!g||T.length?(E.unshift(M),A=s[t](T,a.getNonce(O,m),p),k+=T.length-u+c):(v.setInt32(17,b),A=s[t](M,a.getNonce(O,m),d),k+=c,L=!0),b+=T.length-u,y=y.then(()=>A).then(async Y=>{await w.ready,await w.write(Y),k-=Y.length}).catch(Y=>w.abort(Y)),(L||k>w.desiredSize)&&await y,L){await w.close();break}v.setInt32(9,++g)}}catch(T){await w.abort(T)}})}}class hy{static get tag(){return he.packet.publicKeyEncryptedSessionKey}constructor(){this.version=3,this.publicKeyID=new vo,this.publicKeyAlgorithm=null,this.sessionKey=null,this.sessionKeyAlgorithm=null,this.encrypted={}}read(t){if(this.version=t[0],this.version!==3)throw new Er(`Version ${this.version} of the PKESK packet is unsupported.`);this.publicKeyID.read(t.subarray(1,t.length)),this.publicKeyAlgorithm=t[9],this.encrypted=Kt.parseEncSessionKeyParams(this.publicKeyAlgorithm,t.subarray(10))}write(){const t=[new Uint8Array([this.version]),this.publicKeyID.write(),new Uint8Array([this.publicKeyAlgorithm]),Kt.serializeParams(this.publicKeyAlgorithm,this.encrypted)];return Oe.concatUint8Array(t)}async encrypt(t){const r=Oe.concatUint8Array([new Uint8Array([he.write(he.symmetric,this.sessionKeyAlgorithm)]),this.sessionKey,Oe.writeChecksum(this.sessionKey)]),i=he.write(he.publicKey,this.publicKeyAlgorithm);this.encrypted=await Kt.publicKeyEncrypt(i,t.publicParams,r,t.getFingerprintBytes())}async decrypt(t,r){if(this.publicKeyAlgorithm!==t.algorithm)throw Error("Decryption error");const i=r?Oe.concatUint8Array([new Uint8Array([r.sessionKeyAlgorithm]),r.sessionKey,Oe.writeChecksum(r.sessionKey)]):null,a=await Kt.publicKeyDecrypt(this.publicKeyAlgorithm,t.publicParams,t.privateParams,this.encrypted,t.getFingerprintBytes(),i),s=a[0],u=a.subarray(1,a.length-2),c=a.subarray(a.length-2),h=Oe.writeChecksum(u),n=h[0]===c[0]&h[1]===c[1];if(r){const p=n&s===r.sessionKeyAlgorithm&u.length===r.sessionKey.length;this.sessionKeyAlgorithm=Oe.selectUint8(p,s,r.sessionKeyAlgorithm),this.sessionKey=Oe.selectUint8Array(p,u,r.sessionKey)}else{if(!(n&&he.read(he.symmetric,s)))throw Error("Decryption error");this.sessionKey=u,this.sessionKeyAlgorithm=s}}}class ed{constructor(t=Nt){this.algorithm=he.hash.sha256,this.type="iterated",this.c=t.s2kIterationCountByte,this.salt=null}getCount(){return 16+(15&this.c)<<6+(this.c>>4)}read(t){let r=0;switch(this.type=he.read(he.s2k,t[r++]),this.algorithm=t[r++],this.type){case"simple":break;case"salted":this.salt=t.subarray(r,r+8),r+=8;break;case"iterated":this.salt=t.subarray(r,r+8),r+=8,this.c=t[r++];break;case"gnu":if(Oe.uint8ArrayToString(t.subarray(r,r+3))!=="GNU")throw Error("Unknown s2k type.");if(r+=3,1e3+t[r++]!==1001)throw Error("Unknown s2k gnu protection mode.");this.type="gnu-dummy";break;default:throw Error("Unknown s2k type.")}return r}write(){if(this.type==="gnu-dummy")return new Uint8Array([101,0,...Oe.stringToUint8Array("GNU"),1]);const t=[new Uint8Array([he.write(he.s2k,this.type),this.algorithm])];switch(this.type){case"simple":break;case"salted":t.push(this.salt);break;case"iterated":t.push(this.salt),t.push(new Uint8Array([this.c]));break;case"gnu":throw Error("GNU s2k type not supported.");default:throw Error("Unknown s2k type.")}return Oe.concatUint8Array(t)}async produceKey(t,r){t=Oe.encodeUTF8(t);const i=[];let a=0,s=0;for(;a{this.privateParams[t].fill(0),delete this.privateParams[t]}),this.privateParams=null,this.isEncrypted=!0)}}async function c4(e,t,r){const{keySize:i}=Kt.getCipher(r);return e.produceKey(t,i)}var sW=j0(function(e){(function(t){function r(a){function s(){return Jt0&&(st.semantic=" "),st}}function S(it,st){return function(){var Ct,Ce,Le,ze,He;for(ze=u(),Ct=n("star"),Le=0,He=st===void 0?0:st;(Ce=it())!==null;)Le+=1,d(Ct,Ce);return Le>=He?Ct:(c(ze),null)}}function x(it){return it.charCodeAt(0)>=128}function E(){return p("cr",m("\r")())}function w(){return p("crlf",g(E,A)())}function T(){return p("dquote",m('"')())}function M(){return p("htab",m(" ")())}function A(){return p("lf",m(` +`)}return Oe.concat(n)}class vo{constructor(){this.bytes=""}read(t){this.bytes=Oe.uint8ArrayToString(t.subarray(0,8))}write(){return Oe.stringToUint8Array(this.bytes)}toHex(){return Oe.uint8ArrayToHex(Oe.stringToUint8Array(this.bytes))}equals(t,r=!1){return r&&(t.isWildcard()||this.isWildcard())||this.bytes===t.bytes}isNull(){return this.bytes===""}isWildcard(){return/^0+$/.test(this.toHex())}static mapToHex(t){return t.toHex()}static fromID(t){const r=new vo;return r.read(Oe.hexToUint8Array(t)),r}static wildcard(){const t=new vo;return t.read(new Uint8Array(8)),t}}var Sn=function(){var e,t,r=!1;function i(d,v){var m=e[(t[d]+t[v])%255];return d!==0&&v!==0||(m=0),m}var a,s,u,c,h=!1;function n(){function d(y){var b,k,O;for(k=O=function(S){var x=e[255-t[S]];return S===0&&(x=0),x}(y),b=0;b<4;b++)O^=k=255&(k<<1|k>>>7);return O^=99}r||function(){e=[],t=[];var y,b,k=1;for(y=0;y<255;y++)e[y]=k,b=128&k,k<<=1,k&=255,b===128&&(k^=27),k^=e[y],t[e[y]]=y;e[255]=e[0],t[0]=0,r=!0}(),a=[],s=[],u=[[],[],[],[]],c=[[],[],[],[]];for(var v=0;v<256;v++){var m=d(v);a[v]=m,s[m]=v,u[0][v]=i(2,m)<<24|m<<16|m<<8|i(3,m),c[0][m]=i(14,v)<<24|i(9,v)<<16|i(13,v)<<8|i(11,v);for(var g=1;g<4;g++)u[g][v]=u[g-1][v]>>>8|u[g-1][v]<<24,c[g][m]=c[g-1][m]>>>8|c[g-1][m]<<24}h=!0}var p=function(d,v){h||n();var m=new Uint32Array(v);m.set(a,512),m.set(s,768);for(var g=0;g<4;g++)m.set(u[g],4096+1024*g>>2),m.set(c[g],8192+1024*g>>2);var y=function(b,k,O){var S=0,x=0,E=0,w=0,T=0,M=0,A=0,L=0,Y=0,N=0,W=0,j=0,ue=0,Te=0,pe=0,ye=0,de=0,Ee=0,ie=0,be=0,Ie=0,De=new b.Uint32Array(O),se=new b.Uint8Array(O);function q(ce,le,Ve,Ze,yt,Tt,St,At){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,yt=yt|0,Tt=Tt|0,St=St|0,At=At|0;var ht=0,Rt=0,Mt=0,cn=0,tn=0,Yt=0,Ht=0,Jt=0;for(ht=Ve|1024,Rt=Ve|2048,Mt=Ve|3072,yt=yt^De[(ce|0)>>2],Tt=Tt^De[(ce|4)>>2],St=St^De[(ce|8)>>2],At=At^De[(ce|12)>>2],Jt=16;(Jt|0)<=Ze<<4;Jt=Jt+16|0)cn=De[(Ve|yt>>22&1020)>>2]^De[(ht|Tt>>14&1020)>>2]^De[(Rt|St>>6&1020)>>2]^De[(Mt|At<<2&1020)>>2]^De[(ce|Jt|0)>>2],tn=De[(Ve|Tt>>22&1020)>>2]^De[(ht|St>>14&1020)>>2]^De[(Rt|At>>6&1020)>>2]^De[(Mt|yt<<2&1020)>>2]^De[(ce|Jt|4)>>2],Yt=De[(Ve|St>>22&1020)>>2]^De[(ht|At>>14&1020)>>2]^De[(Rt|yt>>6&1020)>>2]^De[(Mt|Tt<<2&1020)>>2]^De[(ce|Jt|8)>>2],Ht=De[(Ve|At>>22&1020)>>2]^De[(ht|yt>>14&1020)>>2]^De[(Rt|Tt>>6&1020)>>2]^De[(Mt|St<<2&1020)>>2]^De[(ce|Jt|12)>>2],yt=cn,Tt=tn,St=Yt,At=Ht;S=De[(le|yt>>22&1020)>>2]<<24^De[(le|Tt>>14&1020)>>2]<<16^De[(le|St>>6&1020)>>2]<<8^De[(le|At<<2&1020)>>2]^De[(ce|Jt|0)>>2],x=De[(le|Tt>>22&1020)>>2]<<24^De[(le|St>>14&1020)>>2]<<16^De[(le|At>>6&1020)>>2]<<8^De[(le|yt<<2&1020)>>2]^De[(ce|Jt|4)>>2],E=De[(le|St>>22&1020)>>2]<<24^De[(le|At>>14&1020)>>2]<<16^De[(le|yt>>6&1020)>>2]<<8^De[(le|Tt<<2&1020)>>2]^De[(ce|Jt|8)>>2],w=De[(le|At>>22&1020)>>2]<<24^De[(le|yt>>14&1020)>>2]<<16^De[(le|Tt>>6&1020)>>2]<<8^De[(le|St<<2&1020)>>2]^De[(ce|Jt|12)>>2]}function F(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,ce,le,Ve,Ze)}function I(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0;var yt=0;q(1024,3072,8192,Ie,ce,Ze,Ve,le),yt=x,x=w,w=yt}function J(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T^ce,M^le,A^Ve,L^Ze),T=S,M=x,A=E,L=w}function ee(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0;var yt=0;q(1024,3072,8192,Ie,ce,Ze,Ve,le),yt=x,x=w,w=yt,S=S^T,x=x^M,E=E^A,w=w^L,T=ce,M=le,A=Ve,L=Ze}function fe(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T,M,A,L),T=S=S^ce,M=x=x^le,A=E=E^Ve,L=w=w^Ze}function ke(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T,M,A,L),S=S^ce,x=x^le,E=E^Ve,w=w^Ze,T=ce,M=le,A=Ve,L=Ze}function X(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,T,M,A,L),T=S,M=x,A=E,L=w,S=S^ce,x=x^le,E=E^Ve,w=w^Ze}function H(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,q(0,2048,4096,Ie,Y,N,W,j),j=~ye&j|ye&j+1,W=~pe&W|pe&W+((j|0)==0),N=~Te&N|Te&N+((W|0)==0),Y=~ue&Y|ue&Y+((N|0)==0),S=S^ce,x=x^le,E=E^Ve,w=w^Ze}function re(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0;var yt=0,Tt=0,St=0,At=0,ht=0,Rt=0,Mt=0,cn=0,tn=0,Yt=0;for(ce=ce^T,le=le^M,Ve=Ve^A,Ze=Ze^L,yt=de|0,Tt=Ee|0,St=ie|0,At=be|0;(tn|0)<128;tn=tn+1|0)yt>>>31&&(ht=ht^ce,Rt=Rt^le,Mt=Mt^Ve,cn=cn^Ze),yt=yt<<1|Tt>>>31,Tt=Tt<<1|St>>>31,St=St<<1|At>>>31,At=At<<1,Yt=Ze&1,Ze=Ze>>>1|Ve<<31,Ve=Ve>>>1|le<<31,le=le>>>1|ce<<31,ce=ce>>>1,Yt&&(ce=ce^3774873600);T=ht,M=Rt,A=Mt,L=cn}function Z(ce){ce=ce|0,Ie=ce}function Pe(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,S=ce,x=le,E=Ve,w=Ze}function ve(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,T=ce,M=le,A=Ve,L=Ze}function U(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,Y=ce,N=le,W=Ve,j=Ze}function Se(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,ue=ce,Te=le,pe=Ve,ye=Ze}function me(ce,le,Ve,Ze){ce=ce|0,le=le|0,Ve=Ve|0,Ze=Ze|0,j=~ye&j|ye&Ze,W=~pe&W|pe&Ve,N=~Te&N|Te&le,Y=~ue&Y|ue&ce}function ae(ce){return ce=ce|0,ce&15?-1:(se[ce|0]=S>>>24,se[ce|1]=S>>>16&255,se[ce|2]=S>>>8&255,se[ce|3]=S&255,se[ce|4]=x>>>24,se[ce|5]=x>>>16&255,se[ce|6]=x>>>8&255,se[ce|7]=x&255,se[ce|8]=E>>>24,se[ce|9]=E>>>16&255,se[ce|10]=E>>>8&255,se[ce|11]=E&255,se[ce|12]=w>>>24,se[ce|13]=w>>>16&255,se[ce|14]=w>>>8&255,se[ce|15]=w&255,16)}function B(ce){return ce=ce|0,ce&15?-1:(se[ce|0]=T>>>24,se[ce|1]=T>>>16&255,se[ce|2]=T>>>8&255,se[ce|3]=T&255,se[ce|4]=M>>>24,se[ce|5]=M>>>16&255,se[ce|6]=M>>>8&255,se[ce|7]=M&255,se[ce|8]=A>>>24,se[ce|9]=A>>>16&255,se[ce|10]=A>>>8&255,se[ce|11]=A&255,se[ce|12]=L>>>24,se[ce|13]=L>>>16&255,se[ce|14]=L>>>8&255,se[ce|15]=L&255,16)}function V(){F(0,0,0,0),de=S,Ee=x,ie=E,be=w}function G(ce,le,Ve){ce=ce|0,le=le|0,Ve=Ve|0;var Ze=0;if(le&15)return-1;for(;(Ve|0)>=16;)oe[ce&7](se[le|0]<<24|se[le|1]<<16|se[le|2]<<8|se[le|3],se[le|4]<<24|se[le|5]<<16|se[le|6]<<8|se[le|7],se[le|8]<<24|se[le|9]<<16|se[le|10]<<8|se[le|11],se[le|12]<<24|se[le|13]<<16|se[le|14]<<8|se[le|15]),se[le|0]=S>>>24,se[le|1]=S>>>16&255,se[le|2]=S>>>8&255,se[le|3]=S&255,se[le|4]=x>>>24,se[le|5]=x>>>16&255,se[le|6]=x>>>8&255,se[le|7]=x&255,se[le|8]=E>>>24,se[le|9]=E>>>16&255,se[le|10]=E>>>8&255,se[le|11]=E&255,se[le|12]=w>>>24,se[le|13]=w>>>16&255,se[le|14]=w>>>8&255,se[le|15]=w&255,Ze=Ze+16|0,le=le+16|0,Ve=Ve-16|0;return Ze|0}function te(ce,le,Ve){ce=ce|0,le=le|0,Ve=Ve|0;var Ze=0;if(le&15)return-1;for(;(Ve|0)>=16;)_e[ce&1](se[le|0]<<24|se[le|1]<<16|se[le|2]<<8|se[le|3],se[le|4]<<24|se[le|5]<<16|se[le|6]<<8|se[le|7],se[le|8]<<24|se[le|9]<<16|se[le|10]<<8|se[le|11],se[le|12]<<24|se[le|13]<<16|se[le|14]<<8|se[le|15]),Ze=Ze+16|0,le=le+16|0,Ve=Ve-16|0;return Ze|0}var oe=[F,I,J,ee,fe,ke,X,H],_e=[J,re];return{set_rounds:Z,set_state:Pe,set_iv:ve,set_nonce:U,set_mask:Se,set_counter:me,get_state:ae,get_iv:B,gcm_init:V,cipher:G,mac:te}}({Uint8Array,Uint32Array},d,v);return y.set_key=function(b,k,O,S,x,E,w,T,M){var A=m.subarray(0,60),L=m.subarray(256,316);A.set([k,O,S,x,E,w,T,M]);for(var Y=b,N=1;Y<4*b+28;Y++){var W=A[Y-1];(Y%b==0||b===8&&Y%b==4)&&(W=a[W>>>24]<<24^a[W>>>16&255]<<16^a[W>>>8&255]<<8^a[255&W]),Y%b==0&&(W=W<<8^W>>>24^N<<24,N=N<<1^(128&N?27:0)),A[Y]=A[Y-b]^W}for(var j=0;j=Y-4?W:c[0][a[W>>>24]]^c[1][a[W>>>16&255]]^c[2][a[W>>>8&255]]^c[3][a[255&W]];y.set_rounds(b+5)},y};return p.ENC={ECB:0,CBC:2,CFB:4,OFB:6,CTR:7},p.DEC={ECB:1,CBC:3,CFB:5,OFB:6,CTR:7},p.MAC={CBC:0,GCM:1},p.HEAP_DATA=16384,p}();function jS(e){return e instanceof Uint8Array}function F0(e,t){const r=e?e.byteLength:t||65536;if(4095&r||r<=0)throw Error("heap size must be a positive integer and a multiple of 4096");return e=e||new Uint8Array(new ArrayBuffer(r))}function Ho(e,t,r,i,a){const s=e.length-t,u=sa+s.length,0),r=new Uint8Array(t);let i=0;for(let a=0;a>2,s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12),a>16?s.getUint32(16):0,a>16?s.getUint32(20):0,a>24?s.getUint32(24):0,a>24?s.getUint32(28):0),r!==void 0){if(r.length!==16)throw new Es("illegal iv size");let u=new DataView(r.buffer,r.byteOffset,r.byteLength);i.set_iv(u.getUint32(0),u.getUint32(4),u.getUint32(8),u.getUint32(12))}else i.set_iv(0,0,0,0)}AES_Encrypt_process(t){if(!jS(t))throw new TypeError("data isn't of expected type");let{heap:r,asm:i}=this.acquire_asm(),a=Sn.ENC[this.mode],s=Sn.HEAP_DATA,u=this.pos,c=this.len,h=0,n=t.length||0,p=0,d=0,v=new Uint8Array(c+n&-16);for(;n>0;)d=Ho(r,u+c,t,h,n),c+=d,h+=d,n-=d,d=i.cipher(a,s+u,c),d&&v.set(r.subarray(u,u+d),p),p+=d,d0;)m=Ho(r,u+c,t,h,n),c+=m,h+=m,n-=m,m=i.cipher(a,s+u,c-(n?0:v)),m&&g.set(r.subarray(u,u+m),p),p+=m,m0){if(u%16){if(this.hasOwnProperty("padding"))throw new Es("data length must be a multiple of the block size");u+=16-u%16}if(r.cipher(i,a+s,u),this.hasOwnProperty("padding")&&this.padding){let n=t[s+c-1];if(n<1||n>16||n>c)throw new ny("bad padding");let p=0;for(let d=n;d>1;d--)p|=n^t[s+c-d];if(p)throw new ny("bad padding");c-=n}}const h=new Uint8Array(c);return c>0&&h.set(t.subarray(s,s+c)),this.pos=0,this.len=0,this.release_asm(),h}}class nv{static encrypt(t,r,i=!1){return new nv(r,i).encrypt(t)}static decrypt(t,r,i=!1){return new nv(r,i).decrypt(t)}constructor(t,r=!1,i){this.aes=i||new Od(t,void 0,r,"ECB")}encrypt(t){return mo(this.aes.AES_Encrypt_process(t),this.aes.AES_Encrypt_finish())}decrypt(t){return mo(this.aes.AES_Decrypt_process(t),this.aes.AES_Decrypt_finish())}}function z0(e){const t=function(r){const i=new nv(r);this.encrypt=function(a){return i.encrypt(a)},this.decrypt=function(a){return i.decrypt(a)}};return t.blockSize=t.prototype.blockSize=16,t.keySize=t.prototype.keySize=e/8,t}function Yc(e,t,r,i,a,s){const u=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],c=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],h=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],n=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],p=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],d=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],v=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],m=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];let g,y,b,k,O,S,x,E,w,T,M,A,L,Y,N=0,W=t.length;const j=e.length===32?3:9;E=j===3?r?[0,32,2]:[30,-2,-2]:r?[0,32,2,62,30,-2,64,96,2]:[94,62,-2,32,64,2,30,-2,-2],r&&(t=function(pe,ye){const de=8-pe.length%8;let Ee;if(ye===2&&de<8)Ee=32;else if(ye===1)Ee=de;else{if(ye||!(de<8)){if(de===8)return pe;throw Error("des: invalid padding")}Ee=0}const ie=new Uint8Array(pe.length+de);for(let be=0;be>>4^x),x^=b,S^=b<<4,b=65535&(S>>>16^x),x^=b,S^=b<<16,b=858993459&(x>>>2^S),S^=b,x^=b<<2,b=16711935&(x>>>8^S),S^=b,x^=b<<8,b=1431655765&(S>>>1^x),x^=b,S^=b<<1,S=S<<1|S>>>31,x=x<<1|x>>>31,y=0;y>>4|x<<28)^e[g+1],b=S,S=x,x=b^(c[k>>>24&63]|n[k>>>16&63]|d[k>>>8&63]|m[63&k]|u[O>>>24&63]|h[O>>>16&63]|p[O>>>8&63]|v[63&O]);b=S,S=x,x=b}S=S>>>1|S<<31,x=x>>>1|x<<31,b=1431655765&(S>>>1^x),x^=b,S^=b<<1,b=16711935&(x>>>8^S),S^=b,x^=b<<8,b=858993459&(x>>>2^S),S^=b,x^=b<<2,b=65535&(S>>>16^x),x^=b,S^=b<<16,b=252645135&(S>>>4^x),x^=b,S^=b<<4,i===1&&(r?(w=S,M=x):(S^=T,x^=A)),ue[Te++]=S>>>24,ue[Te++]=S>>>16&255,ue[Te++]=S>>>8&255,ue[Te++]=255&S,ue[Te++]=x>>>24,ue[Te++]=x>>>16&255,ue[Te++]=x>>>8&255,ue[Te++]=255&x}return r||(ue=function(pe,ye){let de,Ee=null;if(ye===2)de=32;else if(ye===1)Ee=pe[pe.length-1];else{if(ye)throw Error("des: invalid padding");de=0}if(!Ee){for(Ee=1;pe[pe.length-Ee]===de;)Ee++;Ee--}return pe.subarray(0,pe.length-Ee)}(ue,s)),ue}function Xc(e){const t=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],r=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],i=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],a=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],s=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],u=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],c=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],h=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],n=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],p=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],d=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],v=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],m=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],g=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],y=e.length>8?3:1,b=Array(32*y),k=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0];let O,S,x,E=0,w=0;for(let T=0;T>>4^A),A^=x,M^=x<<4,x=65535&(A>>>-16^M),M^=x,A^=x<<-16,x=858993459&(M>>>2^A),A^=x,M^=x<<2,x=65535&(A>>>-16^M),M^=x,A^=x<<-16,x=1431655765&(M>>>1^A),A^=x,M^=x<<1,x=16711935&(A>>>8^M),M^=x,A^=x<<8,x=1431655765&(M>>>1^A),A^=x,M^=x<<1,x=M<<8|A>>>20&240,M=A<<24|A<<8&16711680|A>>>8&65280|A>>>24&240,A=x;for(let L=0;L<16;L++)k[L]?(M=M<<2|M>>>26,A=A<<2|A>>>26):(M=M<<1|M>>>27,A=A<<1|A>>>27),M&=-15,A&=-15,O=t[M>>>28]|r[M>>>24&15]|i[M>>>20&15]|a[M>>>16&15]|s[M>>>12&15]|u[M>>>8&15]|c[M>>>4&15],S=h[A>>>28]|n[A>>>24&15]|p[A>>>20&15]|d[A>>>16&15]|v[A>>>12&15]|m[A>>>8&15]|g[A>>>4&15],x=65535&(S>>>16^O),b[w++]=O^x,b[w++]=S^x<<16}return b}function $c(e){this.key=[];for(let t=0;t<3;t++)this.key.push(new Uint8Array(e.subarray(8*t,8*t+8)));this.encrypt=function(t){return Yc(Xc(this.key[2]),Yc(Xc(this.key[1]),Yc(Xc(this.key[0]),t,!0,0,null,null),!1,0,null,null),!0,0,null,null)}}function Uj(){this.BlockSize=8,this.KeySize=16,this.setKey=function(u){if(this.masking=Array(16),this.rotate=Array(16),this.reset(),u.length!==this.KeySize)throw Error("CAST-128: keys must be 16 bytes");return this.keySchedule(u),!0},this.reset=function(){for(let u=0;u<16;u++)this.masking[u]=0,this.rotate[u]=0},this.getBlockSize=function(){return this.BlockSize},this.encrypt=function(u){const c=Array(u.length);for(let h=0;h>>24&255,c[h+1]=d>>>16&255,c[h+2]=d>>>8&255,c[h+3]=255&d,c[h+4]=p>>>24&255,c[h+5]=p>>>16&255,c[h+6]=p>>>8&255,c[h+7]=255&p}return c},this.decrypt=function(u){const c=Array(u.length);for(let h=0;h>>24&255,c[h+1]=d>>>16&255,c[h+2]=d>>>8&255,c[h+3]=255&d,c[h+4]=p>>>24&255,c[h+5]=p>>16&255,c[h+6]=p>>8&255,c[h+7]=255&p}return c};const e=[,,,,];e[0]=[,,,,],e[0][0]=[4,0,13,15,12,14,8],e[0][1]=[5,2,16,18,17,19,10],e[0][2]=[6,3,23,22,21,20,9],e[0][3]=[7,1,26,25,27,24,11],e[1]=[,,,,],e[1][0]=[0,6,21,23,20,22,16],e[1][1]=[1,4,0,2,1,3,18],e[1][2]=[2,5,7,6,5,4,17],e[1][3]=[3,7,10,9,11,8,19],e[2]=[,,,,],e[2][0]=[4,0,13,15,12,14,8],e[2][1]=[5,2,16,18,17,19,10],e[2][2]=[6,3,23,22,21,20,9],e[2][3]=[7,1,26,25,27,24,11],e[3]=[,,,,],e[3][0]=[0,6,21,23,20,22,16],e[3][1]=[1,4,0,2,1,3,18],e[3][2]=[2,5,7,6,5,4,17],e[3][3]=[3,7,10,9,11,8,19];const t=[,,,,];function r(u,c,h){const n=c+u,p=n<>>32-h;return(s[0][p>>>24]^s[1][p>>>16&255])-s[2][p>>>8&255]+s[3][255&p]}function i(u,c,h){const n=c^u,p=n<>>32-h;return s[0][p>>>24]-s[1][p>>>16&255]+s[2][p>>>8&255]^s[3][255&p]}function a(u,c,h){const n=c-u,p=n<>>32-h;return(s[0][p>>>24]+s[1][p>>>16&255]^s[2][p>>>8&255])-s[3][255&p]}t[0]=[,,,,],t[0][0]=[24,25,23,22,18],t[0][1]=[26,27,21,20,22],t[0][2]=[28,29,19,18,25],t[0][3]=[30,31,17,16,28],t[1]=[,,,,],t[1][0]=[3,2,12,13,8],t[1][1]=[1,0,14,15,13],t[1][2]=[7,6,8,9,3],t[1][3]=[5,4,10,11,7],t[2]=[,,,,],t[2][0]=[19,18,28,29,25],t[2][1]=[17,16,30,31,28],t[2][2]=[23,22,24,25,18],t[2][3]=[21,20,26,27,22],t[3]=[,,,,],t[3][0]=[8,9,7,6,3],t[3][1]=[10,11,5,4,7],t[3][2]=[12,13,3,2,8],t[3][3]=[14,15,1,0,13],this.keySchedule=function(u){const c=[,,,,,,,,],h=Array(32);let n;for(let m=0;m<4;m++)n=4*m,c[m]=u[n]<<24|u[n+1]<<16|u[n+2]<<8|u[n+3];const p=[6,7,4,5];let d,v=0;for(let m=0;m<2;m++)for(let g=0;g<4;g++){for(n=0;n<4;n++){const y=e[g][n];d=c[y[1]],d^=s[4][c[y[2]>>>2]>>>24-8*(3&y[2])&255],d^=s[5][c[y[3]>>>2]>>>24-8*(3&y[3])&255],d^=s[6][c[y[4]>>>2]>>>24-8*(3&y[4])&255],d^=s[7][c[y[5]>>>2]>>>24-8*(3&y[5])&255],d^=s[p[n]][c[y[6]>>>2]>>>24-8*(3&y[6])&255],c[y[0]]=d}for(n=0;n<4;n++){const y=t[g][n];d=s[4][c[y[0]>>>2]>>>24-8*(3&y[0])&255],d^=s[5][c[y[1]>>>2]>>>24-8*(3&y[1])&255],d^=s[6][c[y[2]>>>2]>>>24-8*(3&y[2])&255],d^=s[7][c[y[3]>>>2]>>>24-8*(3&y[3])&255],d^=s[4+n][c[y[4]>>>2]>>>24-8*(3&y[4])&255],h[v]=d,v++}}for(let m=0;m<16;m++)this.masking[m]=h[m],this.rotate[m]=31&h[16+m]};const s=[,,,,,,,,];s[0]=[821772500,2678128395,1810681135,1059425402,505495343,2617265619,1610868032,3483355465,3218386727,2294005173,3791863952,2563806837,1852023008,365126098,3269944861,584384398,677919599,3229601881,4280515016,2002735330,1136869587,3744433750,2289869850,2731719981,2714362070,879511577,1639411079,575934255,717107937,2857637483,576097850,2731753936,1725645e3,2810460463,5111599,767152862,2543075244,1251459544,1383482551,3052681127,3089939183,3612463449,1878520045,1510570527,2189125840,2431448366,582008916,3163445557,1265446783,1354458274,3529918736,3202711853,3073581712,3912963487,3029263377,1275016285,4249207360,2905708351,3304509486,1442611557,3585198765,2712415662,2731849581,3248163920,2283946226,208555832,2766454743,1331405426,1447828783,3315356441,3108627284,2957404670,2981538698,3339933917,1669711173,286233437,1465092821,1782121619,3862771680,710211251,980974943,1651941557,430374111,2051154026,704238805,4128970897,3144820574,2857402727,948965521,3333752299,2227686284,718756367,2269778983,2731643755,718440111,2857816721,3616097120,1113355533,2478022182,410092745,1811985197,1944238868,2696854588,1415722873,1682284203,1060277122,1998114690,1503841958,82706478,2315155686,1068173648,845149890,2167947013,1768146376,1993038550,3566826697,3390574031,940016341,3355073782,2328040721,904371731,1205506512,4094660742,2816623006,825647681,85914773,2857843460,1249926541,1417871568,3287612,3211054559,3126306446,1975924523,1353700161,2814456437,2438597621,1800716203,722146342,2873936343,1151126914,4160483941,2877670899,458611604,2866078500,3483680063,770352098,2652916994,3367839148,3940505011,3585973912,3809620402,718646636,2504206814,2914927912,3631288169,2857486607,2860018678,575749918,2857478043,718488780,2069512688,3548183469,453416197,1106044049,3032691430,52586708,3378514636,3459808877,3211506028,1785789304,218356169,3571399134,3759170522,1194783844,1523787992,3007827094,1975193539,2555452411,1341901877,3045838698,3776907964,3217423946,2802510864,2889438986,1057244207,1636348243,3761863214,1462225785,2632663439,481089165,718503062,24497053,3332243209,3344655856,3655024856,3960371065,1195698900,2971415156,3710176158,2115785917,4027663609,3525578417,2524296189,2745972565,3564906415,1372086093,1452307862,2780501478,1476592880,3389271281,18495466,2378148571,901398090,891748256,3279637769,3157290713,2560960102,1447622437,4284372637,216884176,2086908623,1879786977,3588903153,2242455666,2938092967,3559082096,2810645491,758861177,1121993112,215018983,642190776,4169236812,1196255959,2081185372,3508738393,941322904,4124243163,2877523539,1848581667,2205260958,3180453958,2589345134,3694731276,550028657,2519456284,3789985535,2973870856,2093648313,443148163,46942275,2734146937,1117713533,1115362972,1523183689,3717140224,1551984063],s[1]=[522195092,4010518363,1776537470,960447360,4267822970,4005896314,1435016340,1929119313,2913464185,1310552629,3579470798,3724818106,2579771631,1594623892,417127293,2715217907,2696228731,1508390405,3994398868,3925858569,3695444102,4019471449,3129199795,3770928635,3520741761,990456497,4187484609,2783367035,21106139,3840405339,631373633,3783325702,532942976,396095098,3548038825,4267192484,2564721535,2011709262,2039648873,620404603,3776170075,2898526339,3612357925,4159332703,1645490516,223693667,1567101217,3362177881,1029951347,3470931136,3570957959,1550265121,119497089,972513919,907948164,3840628539,1613718692,3594177948,465323573,2659255085,654439692,2575596212,2699288441,3127702412,277098644,624404830,4100943870,2717858591,546110314,2403699828,3655377447,1321679412,4236791657,1045293279,4010672264,895050893,2319792268,494945126,1914543101,2777056443,3894764339,2219737618,311263384,4275257268,3458730721,669096869,3584475730,3835122877,3319158237,3949359204,2005142349,2713102337,2228954793,3769984788,569394103,3855636576,1425027204,108000370,2736431443,3671869269,3043122623,1750473702,2211081108,762237499,3972989403,2798899386,3061857628,2943854345,867476300,964413654,1591880597,1594774276,2179821409,552026980,3026064248,3726140315,2283577634,3110545105,2152310760,582474363,1582640421,1383256631,2043843868,3322775884,1217180674,463797851,2763038571,480777679,2718707717,2289164131,3118346187,214354409,200212307,3810608407,3025414197,2674075964,3997296425,1847405948,1342460550,510035443,4080271814,815934613,833030224,1620250387,1945732119,2703661145,3966000196,1388869545,3456054182,2687178561,2092620194,562037615,1356438536,3409922145,3261847397,1688467115,2150901366,631725691,3840332284,549916902,3455104640,394546491,837744717,2114462948,751520235,2221554606,2415360136,3999097078,2063029875,803036379,2702586305,821456707,3019566164,360699898,4018502092,3511869016,3677355358,2402471449,812317050,49299192,2570164949,3259169295,2816732080,3331213574,3101303564,2156015656,3705598920,3546263921,143268808,3200304480,1638124008,3165189453,3341807610,578956953,2193977524,3638120073,2333881532,807278310,658237817,2969561766,1641658566,11683945,3086995007,148645947,1138423386,4158756760,1981396783,2401016740,3699783584,380097457,2680394679,2803068651,3334260286,441530178,4016580796,1375954390,761952171,891809099,2183123478,157052462,3683840763,1592404427,341349109,2438483839,1417898363,644327628,2233032776,2353769706,2201510100,220455161,1815641738,182899273,2995019788,3627381533,3702638151,2890684138,1052606899,588164016,1681439879,4038439418,2405343923,4229449282,167996282,1336969661,1688053129,2739224926,1543734051,1046297529,1138201970,2121126012,115334942,1819067631,1902159161,1941945968,2206692869,1159982321],s[2]=[2381300288,637164959,3952098751,3893414151,1197506559,916448331,2350892612,2932787856,3199334847,4009478890,3905886544,1373570990,2450425862,4037870920,3778841987,2456817877,286293407,124026297,3001279700,1028597854,3115296800,4208886496,2691114635,2188540206,1430237888,1218109995,3572471700,308166588,570424558,2187009021,2455094765,307733056,1310360322,3135275007,1384269543,2388071438,863238079,2359263624,2801553128,3380786597,2831162807,1470087780,1728663345,4072488799,1090516929,532123132,2389430977,1132193179,2578464191,3051079243,1670234342,1434557849,2711078940,1241591150,3314043432,3435360113,3091448339,1812415473,2198440252,267246943,796911696,3619716990,38830015,1526438404,2806502096,374413614,2943401790,1489179520,1603809326,1920779204,168801282,260042626,2358705581,1563175598,2397674057,1356499128,2217211040,514611088,2037363785,2186468373,4022173083,2792511869,2913485016,1173701892,4200428547,3896427269,1334932762,2455136706,602925377,2835607854,1613172210,41346230,2499634548,2457437618,2188827595,41386358,4172255629,1313404830,2405527007,3801973774,2217704835,873260488,2528884354,2478092616,4012915883,2555359016,2006953883,2463913485,575479328,2218240648,2099895446,660001756,2341502190,3038761536,3888151779,3848713377,3286851934,1022894237,1620365795,3449594689,1551255054,15374395,3570825345,4249311020,4151111129,3181912732,310226346,1133119310,530038928,136043402,2476768958,3107506709,2544909567,1036173560,2367337196,1681395281,1758231547,3641649032,306774401,1575354324,3716085866,1990386196,3114533736,2455606671,1262092282,3124342505,2768229131,4210529083,1833535011,423410938,660763973,2187129978,1639812e3,3508421329,3467445492,310289298,272797111,2188552562,2456863912,310240523,677093832,1013118031,901835429,3892695601,1116285435,3036471170,1337354835,243122523,520626091,277223598,4244441197,4194248841,1766575121,594173102,316590669,742362309,3536858622,4176435350,3838792410,2501204839,1229605004,3115755532,1552908988,2312334149,979407927,3959474601,1148277331,176638793,3614686272,2083809052,40992502,1340822838,2731552767,3535757508,3560899520,1354035053,122129617,7215240,2732932949,3118912700,2718203926,2539075635,3609230695,3725561661,1928887091,2882293555,1988674909,2063640240,2491088897,1459647954,4189817080,2302804382,1113892351,2237858528,1927010603,4002880361,1856122846,1594404395,2944033133,3855189863,3474975698,1643104450,4054590833,3431086530,1730235576,2984608721,3084664418,2131803598,4178205752,267404349,1617849798,1616132681,1462223176,736725533,2327058232,551665188,2945899023,1749386277,2575514597,1611482493,674206544,2201269090,3642560800,728599968,1680547377,2620414464,1388111496,453204106,4156223445,1094905244,2754698257,2201108165,3757000246,2704524545,3922940700,3996465027],s[3]=[2645754912,532081118,2814278639,3530793624,1246723035,1689095255,2236679235,4194438865,2116582143,3859789411,157234593,2045505824,4245003587,1687664561,4083425123,605965023,672431967,1336064205,3376611392,214114848,4258466608,3232053071,489488601,605322005,3998028058,264917351,1912574028,756637694,436560991,202637054,135989450,85393697,2152923392,3896401662,2895836408,2145855233,3535335007,115294817,3147733898,1922296357,3464822751,4117858305,1037454084,2725193275,2127856640,1417604070,1148013728,1827919605,642362335,2929772533,909348033,1346338451,3547799649,297154785,1917849091,4161712827,2883604526,3968694238,1469521537,3780077382,3375584256,1763717519,136166297,4290970789,1295325189,2134727907,2798151366,1566297257,3672928234,2677174161,2672173615,965822077,2780786062,289653839,1133871874,3491843819,35685304,1068898316,418943774,672553190,642281022,2346158704,1954014401,3037126780,4079815205,2030668546,3840588673,672283427,1776201016,359975446,3750173538,555499703,2769985273,1324923,69110472,152125443,3176785106,3822147285,1340634837,798073664,1434183902,15393959,216384236,1303690150,3881221631,3711134124,3960975413,106373927,2578434224,1455997841,1801814300,1578393881,1854262133,3188178946,3258078583,2302670060,1539295533,3505142565,3078625975,2372746020,549938159,3278284284,2620926080,181285381,2865321098,3970029511,68876850,488006234,1728155692,2608167508,836007927,2435231793,919367643,3339422534,3655756360,1457871481,40520939,1380155135,797931188,234455205,2255801827,3990488299,397000196,739833055,3077865373,2871719860,4022553888,772369276,390177364,3853951029,557662966,740064294,1640166671,1699928825,3535942136,622006121,3625353122,68743880,1742502,219489963,1664179233,1577743084,1236991741,410585305,2366487942,823226535,1050371084,3426619607,3586839478,212779912,4147118561,1819446015,1911218849,530248558,3486241071,3252585495,2886188651,3410272728,2342195030,20547779,2982490058,3032363469,3631753222,312714466,1870521650,1493008054,3491686656,615382978,4103671749,2534517445,1932181,2196105170,278426614,6369430,3274544417,2913018367,697336853,2143000447,2946413531,701099306,1558357093,2805003052,3500818408,2321334417,3567135975,216290473,3591032198,23009561,1996984579,3735042806,2024298078,3739440863,569400510,2339758983,3016033873,3097871343,3639523026,3844324983,3256173865,795471839,2951117563,4101031090,4091603803,3603732598,971261452,534414648,428311343,3389027175,2844869880,694888862,1227866773,2456207019,3043454569,2614353370,3749578031,3676663836,459166190,4132644070,1794958188,51825668,2252611902,3084671440,2036672799,3436641603,1099053433,2469121526,3059204941,1323291266,2061838604,1018778475,2233344254,2553501054,334295216,3556750194,1065731521,183467730],s[4]=[2127105028,745436345,2601412319,2788391185,3093987327,500390133,1155374404,389092991,150729210,3891597772,3523549952,1935325696,716645080,946045387,2901812282,1774124410,3869435775,4039581901,3293136918,3438657920,948246080,363898952,3867875531,1286266623,1598556673,68334250,630723836,1104211938,1312863373,613332731,2377784574,1101634306,441780740,3129959883,1917973735,2510624549,3238456535,2544211978,3308894634,1299840618,4076074851,1756332096,3977027158,297047435,3790297736,2265573040,3621810518,1311375015,1667687725,47300608,3299642885,2474112369,201668394,1468347890,576830978,3594690761,3742605952,1958042578,1747032512,3558991340,1408974056,3366841779,682131401,1033214337,1545599232,4265137049,206503691,103024618,2855227313,1337551222,2428998917,2963842932,4015366655,3852247746,2796956967,3865723491,3747938335,247794022,3755824572,702416469,2434691994,397379957,851939612,2314769512,218229120,1380406772,62274761,214451378,3170103466,2276210409,3845813286,28563499,446592073,1693330814,3453727194,29968656,3093872512,220656637,2470637031,77972100,1667708854,1358280214,4064765667,2395616961,325977563,4277240721,4220025399,3605526484,3355147721,811859167,3069544926,3962126810,652502677,3075892249,4132761541,3498924215,1217549313,3250244479,3858715919,3053989961,1538642152,2279026266,2875879137,574252750,3324769229,2651358713,1758150215,141295887,2719868960,3515574750,4093007735,4194485238,1082055363,3417560400,395511885,2966884026,179534037,3646028556,3738688086,1092926436,2496269142,257381841,3772900718,1636087230,1477059743,2499234752,3811018894,2675660129,3285975680,90732309,1684827095,1150307763,1723134115,3237045386,1769919919,1240018934,815675215,750138730,2239792499,1234303040,1995484674,138143821,675421338,1145607174,1936608440,3238603024,2345230278,2105974004,323969391,779555213,3004902369,2861610098,1017501463,2098600890,2628620304,2940611490,2682542546,1171473753,3656571411,3687208071,4091869518,393037935,159126506,1662887367,1147106178,391545844,3452332695,1891500680,3016609650,1851642611,546529401,1167818917,3194020571,2848076033,3953471836,575554290,475796850,4134673196,450035699,2351251534,844027695,1080539133,86184846,1554234488,3692025454,1972511363,2018339607,1491841390,1141460869,1061690759,4244549243,2008416118,2351104703,2868147542,1598468138,722020353,1027143159,212344630,1387219594,1725294528,3745187956,2500153616,458938280,4129215917,1828119673,544571780,3503225445,2297937496,1241802790,267843827,2694610800,1397140384,1558801448,3782667683,1806446719,929573330,2234912681,400817706,616011623,4121520928,3603768725,1761550015,1968522284,4053731006,4192232858,4005120285,872482584,3140537016,3894607381,2287405443,1963876937,3663887957,1584857e3,2975024454,1833426440,4025083860],s[5]=[4143615901,749497569,1285769319,3795025788,2514159847,23610292,3974978748,844452780,3214870880,3751928557,2213566365,1676510905,448177848,3730751033,4086298418,2307502392,871450977,3222878141,4110862042,3831651966,2735270553,1310974780,2043402188,1218528103,2736035353,4274605013,2702448458,3936360550,2693061421,162023535,2827510090,687910808,23484817,3784910947,3371371616,779677500,3503626546,3473927188,4157212626,3500679282,4248902014,2466621104,3899384794,1958663117,925738300,1283408968,3669349440,1840910019,137959847,2679828185,1239142320,1315376211,1547541505,1690155329,739140458,3128809933,3933172616,3876308834,905091803,1548541325,4040461708,3095483362,144808038,451078856,676114313,2861728291,2469707347,993665471,373509091,2599041286,4025009006,4170239449,2149739950,3275793571,3749616649,2794760199,1534877388,572371878,2590613551,1753320020,3467782511,1405125690,4270405205,633333386,3026356924,3475123903,632057672,2846462855,1404951397,3882875879,3915906424,195638627,2385783745,3902872553,1233155085,3355999740,2380578713,2702246304,2144565621,3663341248,3894384975,2502479241,4248018925,3094885567,1594115437,572884632,3385116731,767645374,1331858858,1475698373,3793881790,3532746431,1321687957,619889600,1121017241,3440213920,2070816767,2833025776,1933951238,4095615791,890643334,3874130214,859025556,360630002,925594799,1764062180,3920222280,4078305929,979562269,2810700344,4087740022,1949714515,546639971,1165388173,3069891591,1495988560,922170659,1291546247,2107952832,1813327274,3406010024,3306028637,4241950635,153207855,2313154747,1608695416,1150242611,1967526857,721801357,1220138373,3691287617,3356069787,2112743302,3281662835,1111556101,1778980689,250857638,2298507990,673216130,2846488510,3207751581,3562756981,3008625920,3417367384,2198807050,529510932,3547516680,3426503187,2364944742,102533054,2294910856,1617093527,1204784762,3066581635,1019391227,1069574518,1317995090,1691889997,3661132003,510022745,3238594800,1362108837,1817929911,2184153760,805817662,1953603311,3699844737,120799444,2118332377,207536705,2282301548,4120041617,145305846,2508124933,3086745533,3261524335,1877257368,2977164480,3160454186,2503252186,4221677074,759945014,254147243,2767453419,3801518371,629083197,2471014217,907280572,3900796746,940896768,2751021123,2625262786,3161476951,3661752313,3260732218,1425318020,2977912069,1496677566,3988592072,2140652971,3126511541,3069632175,977771578,1392695845,1698528874,1411812681,1369733098,1343739227,3620887944,1142123638,67414216,3102056737,3088749194,1626167401,2546293654,3941374235,697522451,33404913,143560186,2595682037,994885535,1247667115,3859094837,2699155541,3547024625,4114935275,2968073508,3199963069,2732024527,1237921620,951448369,1898488916,1211705605,2790989240,2233243581,3598044975],s[6]=[2246066201,858518887,1714274303,3485882003,713916271,2879113490,3730835617,539548191,36158695,1298409750,419087104,1358007170,749914897,2989680476,1261868530,2995193822,2690628854,3443622377,3780124940,3796824509,2976433025,4259637129,1551479e3,512490819,1296650241,951993153,2436689437,2460458047,144139966,3136204276,310820559,3068840729,643875328,1969602020,1680088954,2185813161,3283332454,672358534,198762408,896343282,276269502,3014846926,84060815,197145886,376173866,3943890818,3813173521,3545068822,1316698879,1598252827,2633424951,1233235075,859989710,2358460855,3503838400,3409603720,1203513385,1193654839,2792018475,2060853022,207403770,1144516871,3068631394,1121114134,177607304,3785736302,326409831,1929119770,2983279095,4183308101,3474579288,3200513878,3228482096,119610148,1170376745,3378393471,3163473169,951863017,3337026068,3135789130,2907618374,1183797387,2015970143,4045674555,2182986399,2952138740,3928772205,384012900,2454997643,10178499,2879818989,2596892536,111523738,2995089006,451689641,3196290696,235406569,1441906262,3890558523,3013735005,4158569349,1644036924,376726067,1006849064,3664579700,2041234796,1021632941,1374734338,2566452058,371631263,4007144233,490221539,206551450,3140638584,1053219195,1853335209,3412429660,3562156231,735133835,1623211703,3104214392,2738312436,4096837757,3366392578,3110964274,3956598718,3196820781,2038037254,3877786376,2339753847,300912036,3766732888,2372630639,1516443558,4200396704,1574567987,4069441456,4122592016,2699739776,146372218,2748961456,2043888151,35287437,2596680554,655490400,1132482787,110692520,1031794116,2188192751,1324057718,1217253157,919197030,686247489,3261139658,1028237775,3135486431,3059715558,2460921700,986174950,2661811465,4062904701,2752986992,3709736643,367056889,1353824391,731860949,1650113154,1778481506,784341916,357075625,3608602432,1074092588,2480052770,3811426202,92751289,877911070,3600361838,1231880047,480201094,3756190983,3094495953,434011822,87971354,363687820,1717726236,1901380172,3926403882,2481662265,400339184,1490350766,2661455099,1389319756,2558787174,784598401,1983468483,30828846,3550527752,2716276238,3841122214,1765724805,1955612312,1277890269,1333098070,1564029816,2704417615,1026694237,3287671188,1260819201,3349086767,1016692350,1582273796,1073413053,1995943182,694588404,1025494639,3323872702,3551898420,4146854327,453260480,1316140391,1435673405,3038941953,3486689407,1622062951,403978347,817677117,950059133,4246079218,3278066075,1486738320,1417279718,481875527,2549965225,3933690356,760697757,1452955855,3897451437,1177426808,1702951038,4085348628,2447005172,1084371187,3516436277,3068336338,1073369276,1027665953,3284188590,1230553676,1368340146,2226246512,267243139,2274220762,4070734279,2497715176,2423353163,2504755875],s[7]=[3793104909,3151888380,2817252029,895778965,2005530807,3871412763,237245952,86829237,296341424,3851759377,3974600970,2475086196,709006108,1994621201,2972577594,937287164,3734691505,168608556,3189338153,2225080640,3139713551,3033610191,3025041904,77524477,185966941,1208824168,2344345178,1721625922,3354191921,1066374631,1927223579,1971335949,2483503697,1551748602,2881383779,2856329572,3003241482,48746954,1398218158,2050065058,313056748,4255789917,393167848,1912293076,940740642,3465845460,3091687853,2522601570,2197016661,1727764327,364383054,492521376,1291706479,3264136376,1474851438,1685747964,2575719748,1619776915,1814040067,970743798,1561002147,2925768690,2123093554,1880132620,3151188041,697884420,2550985770,2607674513,2659114323,110200136,1489731079,997519150,1378877361,3527870668,478029773,2766872923,1022481122,431258168,1112503832,897933369,2635587303,669726182,3383752315,918222264,163866573,3246985393,3776823163,114105080,1903216136,761148244,3571337562,1690750982,3166750252,1037045171,1888456500,2010454850,642736655,616092351,365016990,1185228132,4174898510,1043824992,2023083429,2241598885,3863320456,3279669087,3674716684,108438443,2132974366,830746235,606445527,4173263986,2204105912,1844756978,2532684181,4245352700,2969441100,3796921661,1335562986,4061524517,2720232303,2679424040,634407289,885462008,3294724487,3933892248,2094100220,339117932,4048830727,3202280980,1458155303,2689246273,1022871705,2464987878,3714515309,353796843,2822958815,4256850100,4052777845,551748367,618185374,3778635579,4020649912,1904685140,3069366075,2670879810,3407193292,2954511620,4058283405,2219449317,3135758300,1120655984,3447565834,1474845562,3577699062,550456716,3466908712,2043752612,881257467,869518812,2005220179,938474677,3305539448,3850417126,1315485940,3318264702,226533026,965733244,321539988,1136104718,804158748,573969341,3708209826,937399083,3290727049,2901666755,1461057207,4013193437,4066861423,3242773476,2421326174,1581322155,3028952165,786071460,3900391652,3918438532,1485433313,4023619836,3708277595,3678951060,953673138,1467089153,1930354364,1533292819,2492563023,1346121658,1685000834,1965281866,3765933717,4190206607,2052792609,3515332758,690371149,3125873887,2180283551,2903598061,3933952357,436236910,289419410,14314871,1242357089,2904507907,1616633776,2666382180,585885352,3471299210,2699507360,1432659641,277164553,3354103607,770115018,2303809295,3741942315,3177781868,2853364978,2269453327,3774259834,987383833,1290892879,225909803,1741533526,890078084,1496906255,1111072499,916028167,243534141,1252605537,2204162171,531204876,290011180,3916834213,102027703,237315147,209093447,1486785922,220223953,2758195998,4175039106,82940208,3127791296,2569425252,518464269,1353887104,3941492737,2377294467,3935040926]}function Rc(e){this.cast5=new Uj,this.cast5.setKey(e),this.encrypt=function(t){return this.cast5.encrypt(t)}}$c.keySize=$c.prototype.keySize=24,$c.blockSize=$c.prototype.blockSize=8,Rc.blockSize=Rc.prototype.blockSize=8,Rc.keySize=Rc.prototype.keySize=16;const ta=4294967295;function Ra(e,t){return(e<>>32-t)&ta}function ps(e,t){return e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24}function Ws(e,t,r){e.splice(t,4,255&r,r>>>8&255,r>>>16&255,r>>>24&255)}function bn(e,t){return e>>>8*t&255}function Lc(e){this.tf=function(){let t=null,r=null,i=-1,a=[],s=[[],[],[],[]];function u(p){return s[0][bn(p,0)]^s[1][bn(p,1)]^s[2][bn(p,2)]^s[3][bn(p,3)]}function c(p){return s[0][bn(p,3)]^s[1][bn(p,0)]^s[2][bn(p,1)]^s[3][bn(p,2)]}function h(p,d){let v=u(d[0]),m=c(d[1]);d[2]=Ra(d[2]^v+m+a[4*p+8]&ta,31),d[3]=Ra(d[3],1)^v+2*m+a[4*p+9]&ta,v=u(d[2]),m=c(d[3]),d[0]=Ra(d[0]^v+m+a[4*p+10]&ta,31),d[1]=Ra(d[1],1)^v+2*m+a[4*p+11]&ta}function n(p,d){let v=u(d[0]),m=c(d[1]);d[2]=Ra(d[2],1)^v+m+a[4*p+10]&ta,d[3]=Ra(d[3]^v+2*m+a[4*p+11]&ta,31),v=u(d[2]),m=c(d[3]),d[0]=Ra(d[0],1)^v+m+a[4*p+8]&ta,d[1]=Ra(d[1]^v+2*m+a[4*p+9]&ta,31)}return{name:"twofish",blocksize:16,open:function(p){let d,v,m,g,y;t=p;const b=[],k=[],O=[];let S;const x=[];let E,w,T;const M=[[8,1,7,13,6,15,3,2,0,11,5,9,14,12,10,4],[2,8,11,13,15,7,6,14,3,1,9,4,0,10,12,5]],A=[[14,12,11,8,1,2,3,5,15,4,10,6,7,0,9,13],[1,14,2,11,4,12,3,7,6,13,10,5,15,9,0,8]],L=[[11,10,5,14,6,13,9,0,12,8,15,3,2,4,7,1],[4,12,7,5,1,6,9,10,0,14,13,8,2,11,3,15]],Y=[[13,7,15,4,1,2,6,14,9,11,3,0,8,5,12,10],[11,9,5,1,12,3,13,14,6,4,7,15,2,0,8,10]],N=[0,8,1,9,2,10,3,11,4,12,5,13,6,14,7,15],W=[0,9,2,11,4,13,6,15,8,1,10,3,12,5,14,7],j=[[],[]],ue=[[],[],[],[]];function Te(ie){return ie^ie>>2^[0,90,180,238][3&ie]}function pe(ie){return ie^ie>>1^ie>>2^[0,238,180,90][3&ie]}function ye(ie,be){let Ie,De,se;for(Ie=0;Ie<8;Ie++)De=be>>>24,be=be<<8&ta|ie>>>24,ie=ie<<8&ta,se=De<<1,128&De&&(se^=333),be^=De^se<<16,se^=De>>>1,1&De&&(se^=166),be^=se<<24|se<<8;return be}function de(ie,be){const Ie=be>>4,De=15&be,se=M[ie][Ie^De],q=A[ie][N[De]^W[Ie]];return Y[ie][N[q]^W[se]]<<4|L[ie][se^q]}function Ee(ie,be){let Ie=bn(ie,0),De=bn(ie,1),se=bn(ie,2),q=bn(ie,3);switch(S){case 4:Ie=j[1][Ie]^bn(be[3],0),De=j[0][De]^bn(be[3],1),se=j[0][se]^bn(be[3],2),q=j[1][q]^bn(be[3],3);case 3:Ie=j[1][Ie]^bn(be[2],0),De=j[1][De]^bn(be[2],1),se=j[0][se]^bn(be[2],2),q=j[0][q]^bn(be[2],3);case 2:Ie=j[0][j[0][Ie]^bn(be[1],0)]^bn(be[0],0),De=j[0][j[1][De]^bn(be[1],1)]^bn(be[0],1),se=j[1][j[0][se]^bn(be[1],2)]^bn(be[0],2),q=j[1][j[1][q]^bn(be[1],3)]^bn(be[0],3)}return ue[0][Ie]^ue[1][De]^ue[2][se]^ue[3][q]}for(t=t.slice(0,32),d=t.length;d!==16&&d!==24&&d!==32;)t[d++]=0;for(d=0;d>2]=ps(t,d);for(d=0;d<256;d++)j[0][d]=de(0,d),j[1][d]=de(1,d);for(d=0;d<256;d++)E=j[1][d],w=Te(E),T=pe(E),ue[0][d]=E+(w<<8)+(T<<16)+(T<<24),ue[2][d]=w+(T<<8)+(E<<16)+(T<<24),E=j[0][d],w=Te(E),T=pe(E),ue[1][d]=T+(T<<8)+(w<<16)+(E<<24),ue[3][d]=w+(E<<8)+(T<<16)+(w<<24);for(S=O.length/2,d=0;d=0;m--)n(m,v);Ws(r,i,v[2]^a[0]),Ws(r,i+4,v[3]^a[1]),Ws(r,i+8,v[0]^a[2]),Ws(r,i+12,v[1]^a[3]),i+=16},finalize:function(){return r}}}(),this.tf.open(Array.from(e),0),this.encrypt=function(t){return this.tf.encrypt(Array.from(t),0)}}function da(){}function Nc(e){this.bf=new da,this.bf.init(e),this.encrypt=function(t){return this.bf.encryptBlock(t)}}Lc.keySize=Lc.prototype.keySize=32,Lc.blockSize=Lc.prototype.blockSize=16,da.prototype.BLOCKSIZE=8,da.prototype.SBOXES=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]],da.prototype.PARRAY=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],da.prototype.NN=16,da.prototype._clean=function(e){return e<0&&(e=(2147483647&e)+2147483648),e},da.prototype._F=function(e){let t;const r=255&e,i=255&(e>>>=8),a=255&(e>>>=8),s=255&(e>>>=8);return t=this.sboxes[0][s]+this.sboxes[1][a],t^=this.sboxes[2][i],t+=this.sboxes[3][r],t},da.prototype._encryptBlock=function(e){let t,r=e[0],i=e[1];for(t=0;t>>24-8*t&255,a[t+i]=r[1]>>>24-8*t&255;return a},da.prototype._decryptBlock=function(e){let t,r=e[0],i=e[1];for(t=this.NN+1;t>1;--t){r^=this.parray[t],i=this._F(r)^i;const a=r;r=i,i=a}r^=this.parray[1],i^=this.parray[0],e[0]=this._clean(i),e[1]=this._clean(r)},da.prototype.init=function(e){let t,r=0;for(this.parray=[],t=0;t=e.length&&(r=0);this.parray[t]=this.PARRAY[t]^a}for(this.sboxes=[],t=0;t<4;++t)for(this.sboxes[t]=[],r=0;r<256;++r)this.sboxes[t][r]=this.SBOXES[t][r];const i=[0,0];for(t=0;t>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ye+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=de+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=Ee+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ie+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=be+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=Ie+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=De+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=se+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=q+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=F+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=I+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=J+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ee+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=fe+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,U=ke+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ee^se^de^pe,Se=ve<<1|ve>>>31,U=Se+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=fe^q^Ee^ye,me=ve<<1|ve>>>31,U=me+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ke^F^ie^de,ae=ve<<1|ve>>>31,U=ae+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Se^I^be^Ee,B=ve<<1|ve>>>31,U=B+(X<<5|X>>>27)+Pe+(H&re|~H&Z)+1518500249|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=me^J^Ie^ie,V=ve<<1|ve>>>31,U=V+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ae^ee^De^be,G=ve<<1|ve>>>31,U=G+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=B^fe^se^Ie,te=ve<<1|ve>>>31,U=te+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=V^ke^q^De,oe=ve<<1|ve>>>31,U=oe+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=G^Se^F^se,_e=ve<<1|ve>>>31,U=_e+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=te^me^I^q,ce=ve<<1|ve>>>31,U=ce+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=oe^ae^J^F,le=ve<<1|ve>>>31,U=le+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=_e^B^ee^I,Ve=ve<<1|ve>>>31,U=Ve+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ce^V^fe^J,Ze=ve<<1|ve>>>31,U=Ze+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=le^G^ke^ee,yt=ve<<1|ve>>>31,U=yt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ve^te^Se^fe,Tt=ve<<1|ve>>>31,U=Tt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ze^oe^me^ke,St=ve<<1|ve>>>31,U=St+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=yt^_e^ae^Se,At=ve<<1|ve>>>31,U=At+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Tt^ce^B^me,ht=ve<<1|ve>>>31,U=ht+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=St^le^V^ae,Rt=ve<<1|ve>>>31,U=Rt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=At^Ve^G^B,Mt=ve<<1|ve>>>31,U=Mt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ht^Ze^te^V,cn=ve<<1|ve>>>31,U=cn+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Rt^yt^oe^G,tn=ve<<1|ve>>>31,U=tn+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Mt^Tt^_e^te,Yt=ve<<1|ve>>>31,U=Yt+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=cn^St^ce^oe,Ht=ve<<1|ve>>>31,U=Ht+(X<<5|X>>>27)+Pe+(H^re^Z)+1859775393|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=tn^At^le^_e,Jt=ve<<1|ve>>>31,U=Jt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Yt^ht^Ve^ce,Gt=ve<<1|ve>>>31,U=Gt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ht^Rt^Ze^le,ln=ve<<1|ve>>>31,U=ln+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Jt^Mt^yt^Ve,Qt=ve<<1|ve>>>31,U=Qt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Gt^cn^Tt^Ze,it=ve<<1|ve>>>31,U=it+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ln^tn^St^yt,st=ve<<1|ve>>>31,U=st+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Qt^Yt^At^Tt,Ct=ve<<1|ve>>>31,U=Ct+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=it^Ht^ht^St,Ce=ve<<1|ve>>>31,U=Ce+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=st^Jt^Rt^At,Le=ve<<1|ve>>>31,U=Le+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ct^Gt^Mt^ht,ze=ve<<1|ve>>>31,U=ze+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ce^ln^cn^Rt,He=ve<<1|ve>>>31,U=He+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Le^Qt^tn^Mt,Be=ve<<1|ve>>>31,U=Be+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ze^it^Yt^cn,nt=ve<<1|ve>>>31,U=nt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=He^st^Ht^tn,pt=ve<<1|ve>>>31,U=pt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Be^Ct^Jt^Yt,bt=ve<<1|ve>>>31,U=bt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=nt^Ce^Gt^Ht,Ot=ve<<1|ve>>>31,U=Ot+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=pt^Le^ln^Jt,Bt=ve<<1|ve>>>31,U=Bt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=bt^ze^Qt^Gt,Ut=ve<<1|ve>>>31,U=Ut+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ot^He^it^ln,jt=ve<<1|ve>>>31,U=jt+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Bt^Be^st^Qt,nn=ve<<1|ve>>>31,U=nn+(X<<5|X>>>27)+Pe+(H&re|H&Z|re&Z)-1894007588|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Ut^nt^Ct^it,Zt=ve<<1|ve>>>31,U=Zt+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=jt^pt^Ce^st,qt=ve<<1|ve>>>31,U=qt+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=nn^bt^Le^Ct,Dn=ve<<1|ve>>>31,U=Dn+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Zt^Ot^ze^Ce,Gn=ve<<1|ve>>>31,U=Gn+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=qt^Bt^He^Le,lr=ve<<1|ve>>>31,U=lr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Dn^Ut^Be^ze,zn=ve<<1|ve>>>31,U=zn+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Gn^jt^nt^He,vr=ve<<1|ve>>>31,U=vr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=lr^nn^pt^Be,dr=ve<<1|ve>>>31,U=dr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=zn^Zt^bt^nt,wr=ve<<1|ve>>>31,U=wr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=vr^qt^Ot^pt,Cr=ve<<1|ve>>>31,U=Cr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=dr^Dn^Bt^bt,gi=ve<<1|ve>>>31,U=gi+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=wr^Gn^Ut^Ot,Rr=ve<<1|ve>>>31,U=Rr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Cr^lr^jt^Bt,ii=ve<<1|ve>>>31,U=ii+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=gi^zn^nn^Ut,yi=ve<<1|ve>>>31,U=yi+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=Rr^vr^Zt^jt,rr=ve<<1|ve>>>31,U=rr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ii^dr^qt^nn,xr=ve<<1|ve>>>31,U=xr+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=yi^wr^Dn^Zt,ai=ve<<1|ve>>>31,U=ai+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=rr^Cr^Gn^qt,bi=ve<<1|ve>>>31,U=bi+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=xr^gi^lr^Dn,Me=ve<<1|ve>>>31,U=Me+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,ve=ai^Rr^zn^Gn,We=ve<<1|ve>>>31,U=We+(X<<5|X>>>27)+Pe+(H^re^Z)-899497514|0,Pe=Z,Z=re,re=H<<30|H>>>2,H=X,X=U,i=i+X|0,a=a+H|0,s=s+re|0,u=u+Z|0,c=c+Pe|0}function w(pe){pe=pe|0,E(x[pe|0]<<24|x[pe|1]<<16|x[pe|2]<<8|x[pe|3],x[pe|4]<<24|x[pe|5]<<16|x[pe|6]<<8|x[pe|7],x[pe|8]<<24|x[pe|9]<<16|x[pe|10]<<8|x[pe|11],x[pe|12]<<24|x[pe|13]<<16|x[pe|14]<<8|x[pe|15],x[pe|16]<<24|x[pe|17]<<16|x[pe|18]<<8|x[pe|19],x[pe|20]<<24|x[pe|21]<<16|x[pe|22]<<8|x[pe|23],x[pe|24]<<24|x[pe|25]<<16|x[pe|26]<<8|x[pe|27],x[pe|28]<<24|x[pe|29]<<16|x[pe|30]<<8|x[pe|31],x[pe|32]<<24|x[pe|33]<<16|x[pe|34]<<8|x[pe|35],x[pe|36]<<24|x[pe|37]<<16|x[pe|38]<<8|x[pe|39],x[pe|40]<<24|x[pe|41]<<16|x[pe|42]<<8|x[pe|43],x[pe|44]<<24|x[pe|45]<<16|x[pe|46]<<8|x[pe|47],x[pe|48]<<24|x[pe|49]<<16|x[pe|50]<<8|x[pe|51],x[pe|52]<<24|x[pe|53]<<16|x[pe|54]<<8|x[pe|55],x[pe|56]<<24|x[pe|57]<<16|x[pe|58]<<8|x[pe|59],x[pe|60]<<24|x[pe|61]<<16|x[pe|62]<<8|x[pe|63])}function T(pe){pe=pe|0,x[pe|0]=i>>>24,x[pe|1]=i>>>16&255,x[pe|2]=i>>>8&255,x[pe|3]=i&255,x[pe|4]=a>>>24,x[pe|5]=a>>>16&255,x[pe|6]=a>>>8&255,x[pe|7]=a&255,x[pe|8]=s>>>24,x[pe|9]=s>>>16&255,x[pe|10]=s>>>8&255,x[pe|11]=s&255,x[pe|12]=u>>>24,x[pe|13]=u>>>16&255,x[pe|14]=u>>>8&255,x[pe|15]=u&255,x[pe|16]=c>>>24,x[pe|17]=c>>>16&255,x[pe|18]=c>>>8&255,x[pe|19]=c&255}function M(){i=1732584193,a=4023233417,s=2562383102,u=271733878,c=3285377520,h=n=0}function A(pe,ye,de,Ee,ie,be,Ie){pe=pe|0,ye=ye|0,de=de|0,Ee=Ee|0,ie=ie|0,be=be|0,Ie=Ie|0,i=pe,a=ye,s=de,u=Ee,c=ie,h=be,n=Ie}function L(pe,ye){pe=pe|0,ye=ye|0;var de=0;if(pe&63)return-1;for(;(ye|0)>=64;)w(pe),pe=pe+64|0,ye=ye-64|0,de=de+64|0;return h=h+de|0,h>>>0>>0&&(n=n+1|0),de|0}function Y(pe,ye,de){pe=pe|0,ye=ye|0,de=de|0;var Ee=0,ie=0;if(pe&63||~de&&de&31)return-1;if((ye|0)>=64){if(Ee=L(pe,ye)|0,(Ee|0)==-1)return-1;pe=pe+Ee|0,ye=ye-Ee|0}if(Ee=Ee+ye|0,h=h+ye|0,h>>>0>>0&&(n=n+1|0),x[pe|ye]=128,(ye|0)>=56){for(ie=ye+1|0;(ie|0)<64;ie=ie+1|0)x[pe|ie]=0;w(pe),ye=0,x[pe|0]=0}for(ie=ye+1|0;(ie|0)<59;ie=ie+1|0)x[pe|ie]=0;return x[pe|56]=n>>>21&255,x[pe|57]=n>>>13&255,x[pe|58]=n>>>5&255,x[pe|59]=n<<3&255|h>>>29,x[pe|60]=h>>>21&255,x[pe|61]=h>>>13&255,x[pe|62]=h>>>5&255,x[pe|63]=h<<3&255,w(pe),~de&&T(de),Ee|0}function N(){i=p,a=d,s=v,u=m,c=g,h=64,n=0}function W(){i=y,a=b,s=k,u=O,c=S,h=64,n=0}function j(pe,ye,de,Ee,ie,be,Ie,De,se,q,F,I,J,ee,fe,ke){pe=pe|0,ye=ye|0,de=de|0,Ee=Ee|0,ie=ie|0,be=be|0,Ie=Ie|0,De=De|0,se=se|0,q=q|0,F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,M(),E(pe^1549556828,ye^1549556828,de^1549556828,Ee^1549556828,ie^1549556828,be^1549556828,Ie^1549556828,De^1549556828,se^1549556828,q^1549556828,F^1549556828,I^1549556828,J^1549556828,ee^1549556828,fe^1549556828,ke^1549556828),y=i,b=a,k=s,O=u,S=c,M(),E(pe^909522486,ye^909522486,de^909522486,Ee^909522486,ie^909522486,be^909522486,Ie^909522486,De^909522486,se^909522486,q^909522486,F^909522486,I^909522486,J^909522486,ee^909522486,fe^909522486,ke^909522486),p=i,d=a,v=s,m=u,g=c,h=64,n=0}function ue(pe,ye,de){pe=pe|0,ye=ye|0,de=de|0;var Ee=0,ie=0,be=0,Ie=0,De=0,se=0;return pe&63||~de&&de&31?-1:(se=Y(pe,ye,-1)|0,Ee=i,ie=a,be=s,Ie=u,De=c,W(),E(Ee,ie,be,Ie,De,2147483648,0,0,0,0,0,0,0,0,0,672),~de&&T(de),se|0)}function Te(pe,ye,de,Ee,ie){pe=pe|0,ye=ye|0,de=de|0,Ee=Ee|0,ie=ie|0;var be=0,Ie=0,De=0,se=0,q=0,F=0,I=0,J=0,ee=0,fe=0;if(pe&63||~ie&&ie&31)return-1;for(x[pe+ye|0]=de>>>24,x[pe+ye+1|0]=de>>>16&255,x[pe+ye+2|0]=de>>>8&255,x[pe+ye+3|0]=de&255,ue(pe,ye+4|0,-1)|0,be=F=i,Ie=I=a,De=J=s,se=ee=u,q=fe=c,Ee=Ee-1|0;(Ee|0)>0;)N(),E(F,I,J,ee,fe,2147483648,0,0,0,0,0,0,0,0,0,672),F=i,I=a,J=s,ee=u,fe=c,W(),E(F,I,J,ee,fe,2147483648,0,0,0,0,0,0,0,0,0,672),F=i,I=a,J=s,ee=u,fe=c,be=be^i,Ie=Ie^a,De=De^s,se=se^u,q=q^c,Ee=Ee-1|0;return i=be,a=Ie,s=De,u=se,c=q,~ie&&T(ie),0}return{reset:M,init:A,process:L,finish:Y,hmac_reset:N,hmac_init:j,hmac_finish:ue,pbkdf2_generate_block:Te}};class N6{constructor(){this.pos=0,this.len=0}reset(){const{asm:t}=this.acquire_asm();return this.result=null,this.pos=0,this.len=0,t.reset(),this}process(t){if(this.result!==null)throw new ty("state must be reset before processing new data");const{asm:r,heap:i}=this.acquire_asm();let a=this.pos,s=this.len,u=0,c=t.length,h=0;for(;c>0;)h=Ho(i,a+s,t,u,c),s+=h,u+=h,c-=h,h=r.process(a,s),a+=h,s-=h,s||(a=0);return this.pos=a,this.len=s,this}finish(){if(this.result!==null)throw new ty("state must be reset before processing new data");const{asm:t,heap:r}=this.acquire_asm();return t.finish(this.pos,this.len,0),this.result=new Uint8Array(this.HASH_SIZE),this.result.set(r.subarray(0,this.HASH_SIZE)),this.pos=0,this.len=0,this.release_asm(),this}}const WS=[],KS=[];class Go extends N6{constructor(){super(),this.NAME="sha1",this.BLOCK_SIZE=64,this.HASH_SIZE=20,this.acquire_asm()}acquire_asm(){return this.heap!==void 0&&this.asm!==void 0||(this.heap=WS.pop()||F0(),this.asm=KS.pop()||L6({Uint8Array},null,this.heap.buffer),this.reset()),{heap:this.heap,asm:this.asm}}release_asm(){this.heap!==void 0&&this.asm!==void 0&&(WS.push(this.heap),KS.push(this.asm)),this.heap=void 0,this.asm=void 0}static bytes(t){return new Go().process(t).finish().result}}Go.NAME="sha1",Go.heap_pool=[],Go.asm_pool=[],Go.asm_function=L6;const HS=[],GS=[];class Yv extends N6{constructor(){super(),this.NAME="sha256",this.BLOCK_SIZE=64,this.HASH_SIZE=32,this.acquire_asm()}acquire_asm(){return this.heap!==void 0&&this.asm!==void 0||(this.heap=HS.pop()||F0(),this.asm=GS.pop()||function(t,r,i){var a=0,s=0,u=0,c=0,h=0,n=0,p=0,d=0,v=0,m=0,g=0,y=0,b=0,k=0,O=0,S=0,x=0,E=0,w=0,T=0,M=0,A=0,L=0,Y=0,N=0,W=0,j=new t.Uint8Array(i);function ue(F,I,J,ee,fe,ke,X,H,re,Z,Pe,ve,U,Se,me,ae){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,X=X|0,H=H|0,re=re|0,Z=Z|0,Pe=Pe|0,ve=ve|0,U=U|0,Se=Se|0,me=me|0,ae=ae|0;var B=0,V=0,G=0,te=0,oe=0,_e=0,ce=0,le=0;B=a,V=s,G=u,te=c,oe=h,_e=n,ce=p,le=d,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+1116352408|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+1899447441|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+3049323471|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+3921009573|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+961987163|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1508970993|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+2453635748|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+2870763221|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+3624381080|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+310598401|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+607225278|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+1426881987|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+1925078388|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+2162078206|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+2614888103|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+3248222580|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,F=(I>>>7^I>>>18^I>>>3^I<<25^I<<14)+(me>>>17^me>>>19^me>>>10^me<<15^me<<13)+F+Z|0,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+3835390401|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,I=(J>>>7^J>>>18^J>>>3^J<<25^J<<14)+(ae>>>17^ae>>>19^ae>>>10^ae<<15^ae<<13)+I+Pe|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+4022224774|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,J=(ee>>>7^ee>>>18^ee>>>3^ee<<25^ee<<14)+(F>>>17^F>>>19^F>>>10^F<<15^F<<13)+J+ve|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+264347078|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ee=(fe>>>7^fe>>>18^fe>>>3^fe<<25^fe<<14)+(I>>>17^I>>>19^I>>>10^I<<15^I<<13)+ee+U|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+604807628|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,fe=(ke>>>7^ke>>>18^ke>>>3^ke<<25^ke<<14)+(J>>>17^J>>>19^J>>>10^J<<15^J<<13)+fe+Se|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+770255983|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,ke=(X>>>7^X>>>18^X>>>3^X<<25^X<<14)+(ee>>>17^ee>>>19^ee>>>10^ee<<15^ee<<13)+ke+me|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1249150122|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,X=(H>>>7^H>>>18^H>>>3^H<<25^H<<14)+(fe>>>17^fe>>>19^fe>>>10^fe<<15^fe<<13)+X+ae|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+1555081692|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,H=(re>>>7^re>>>18^re>>>3^re<<25^re<<14)+(ke>>>17^ke>>>19^ke>>>10^ke<<15^ke<<13)+H+F|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+1996064986|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,re=(Z>>>7^Z>>>18^Z>>>3^Z<<25^Z<<14)+(X>>>17^X>>>19^X>>>10^X<<15^X<<13)+re+I|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+2554220882|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,Z=(Pe>>>7^Pe>>>18^Pe>>>3^Pe<<25^Pe<<14)+(H>>>17^H>>>19^H>>>10^H<<15^H<<13)+Z+J|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+2821834349|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,Pe=(ve>>>7^ve>>>18^ve>>>3^ve<<25^ve<<14)+(re>>>17^re>>>19^re>>>10^re<<15^re<<13)+Pe+ee|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+2952996808|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ve=(U>>>7^U>>>18^U>>>3^U<<25^U<<14)+(Z>>>17^Z>>>19^Z>>>10^Z<<15^Z<<13)+ve+fe|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+3210313671|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,U=(Se>>>7^Se>>>18^Se>>>3^Se<<25^Se<<14)+(Pe>>>17^Pe>>>19^Pe>>>10^Pe<<15^Pe<<13)+U+ke|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+3336571891|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,Se=(me>>>7^me>>>18^me>>>3^me<<25^me<<14)+(ve>>>17^ve>>>19^ve>>>10^ve<<15^ve<<13)+Se+X|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+3584528711|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,me=(ae>>>7^ae>>>18^ae>>>3^ae<<25^ae<<14)+(U>>>17^U>>>19^U>>>10^U<<15^U<<13)+me+H|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+113926993|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,ae=(F>>>7^F>>>18^F>>>3^F<<25^F<<14)+(Se>>>17^Se>>>19^Se>>>10^Se<<15^Se<<13)+ae+re|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+338241895|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,F=(I>>>7^I>>>18^I>>>3^I<<25^I<<14)+(me>>>17^me>>>19^me>>>10^me<<15^me<<13)+F+Z|0,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+666307205|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,I=(J>>>7^J>>>18^J>>>3^J<<25^J<<14)+(ae>>>17^ae>>>19^ae>>>10^ae<<15^ae<<13)+I+Pe|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+773529912|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,J=(ee>>>7^ee>>>18^ee>>>3^ee<<25^ee<<14)+(F>>>17^F>>>19^F>>>10^F<<15^F<<13)+J+ve|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+1294757372|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ee=(fe>>>7^fe>>>18^fe>>>3^fe<<25^fe<<14)+(I>>>17^I>>>19^I>>>10^I<<15^I<<13)+ee+U|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+1396182291|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,fe=(ke>>>7^ke>>>18^ke>>>3^ke<<25^ke<<14)+(J>>>17^J>>>19^J>>>10^J<<15^J<<13)+fe+Se|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+1695183700|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,ke=(X>>>7^X>>>18^X>>>3^X<<25^X<<14)+(ee>>>17^ee>>>19^ee>>>10^ee<<15^ee<<13)+ke+me|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1986661051|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,X=(H>>>7^H>>>18^H>>>3^H<<25^H<<14)+(fe>>>17^fe>>>19^fe>>>10^fe<<15^fe<<13)+X+ae|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+2177026350|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,H=(re>>>7^re>>>18^re>>>3^re<<25^re<<14)+(ke>>>17^ke>>>19^ke>>>10^ke<<15^ke<<13)+H+F|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+2456956037|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,re=(Z>>>7^Z>>>18^Z>>>3^Z<<25^Z<<14)+(X>>>17^X>>>19^X>>>10^X<<15^X<<13)+re+I|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+2730485921|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,Z=(Pe>>>7^Pe>>>18^Pe>>>3^Pe<<25^Pe<<14)+(H>>>17^H>>>19^H>>>10^H<<15^H<<13)+Z+J|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+2820302411|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,Pe=(ve>>>7^ve>>>18^ve>>>3^ve<<25^ve<<14)+(re>>>17^re>>>19^re>>>10^re<<15^re<<13)+Pe+ee|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+3259730800|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ve=(U>>>7^U>>>18^U>>>3^U<<25^U<<14)+(Z>>>17^Z>>>19^Z>>>10^Z<<15^Z<<13)+ve+fe|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+3345764771|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,U=(Se>>>7^Se>>>18^Se>>>3^Se<<25^Se<<14)+(Pe>>>17^Pe>>>19^Pe>>>10^Pe<<15^Pe<<13)+U+ke|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+3516065817|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,Se=(me>>>7^me>>>18^me>>>3^me<<25^me<<14)+(ve>>>17^ve>>>19^ve>>>10^ve<<15^ve<<13)+Se+X|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+3600352804|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,me=(ae>>>7^ae>>>18^ae>>>3^ae<<25^ae<<14)+(U>>>17^U>>>19^U>>>10^U<<15^U<<13)+me+H|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+4094571909|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,ae=(F>>>7^F>>>18^F>>>3^F<<25^F<<14)+(Se>>>17^Se>>>19^Se>>>10^Se<<15^Se<<13)+ae+re|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+275423344|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,F=(I>>>7^I>>>18^I>>>3^I<<25^I<<14)+(me>>>17^me>>>19^me>>>10^me<<15^me<<13)+F+Z|0,le=F+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+430227734|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,I=(J>>>7^J>>>18^J>>>3^J<<25^J<<14)+(ae>>>17^ae>>>19^ae>>>10^ae<<15^ae<<13)+I+Pe|0,ce=I+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+506948616|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,J=(ee>>>7^ee>>>18^ee>>>3^ee<<25^ee<<14)+(F>>>17^F>>>19^F>>>10^F<<15^F<<13)+J+ve|0,_e=J+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+659060556|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ee=(fe>>>7^fe>>>18^fe>>>3^fe<<25^fe<<14)+(I>>>17^I>>>19^I>>>10^I<<15^I<<13)+ee+U|0,oe=ee+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+883997877|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,fe=(ke>>>7^ke>>>18^ke>>>3^ke<<25^ke<<14)+(J>>>17^J>>>19^J>>>10^J<<15^J<<13)+fe+Se|0,te=fe+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+958139571|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,ke=(X>>>7^X>>>18^X>>>3^X<<25^X<<14)+(ee>>>17^ee>>>19^ee>>>10^ee<<15^ee<<13)+ke+me|0,G=ke+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+1322822218|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,X=(H>>>7^H>>>18^H>>>3^H<<25^H<<14)+(fe>>>17^fe>>>19^fe>>>10^fe<<15^fe<<13)+X+ae|0,V=X+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+1537002063|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,H=(re>>>7^re>>>18^re>>>3^re<<25^re<<14)+(ke>>>17^ke>>>19^ke>>>10^ke<<15^ke<<13)+H+F|0,B=H+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+1747873779|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,re=(Z>>>7^Z>>>18^Z>>>3^Z<<25^Z<<14)+(X>>>17^X>>>19^X>>>10^X<<15^X<<13)+re+I|0,le=re+le+(oe>>>6^oe>>>11^oe>>>25^oe<<26^oe<<21^oe<<7)+(ce^oe&(_e^ce))+1955562222|0,te=te+le|0,le=le+(B&V^G&(B^V))+(B>>>2^B>>>13^B>>>22^B<<30^B<<19^B<<10)|0,Z=(Pe>>>7^Pe>>>18^Pe>>>3^Pe<<25^Pe<<14)+(H>>>17^H>>>19^H>>>10^H<<15^H<<13)+Z+J|0,ce=Z+ce+(te>>>6^te>>>11^te>>>25^te<<26^te<<21^te<<7)+(_e^te&(oe^_e))+2024104815|0,G=G+ce|0,ce=ce+(le&B^V&(le^B))+(le>>>2^le>>>13^le>>>22^le<<30^le<<19^le<<10)|0,Pe=(ve>>>7^ve>>>18^ve>>>3^ve<<25^ve<<14)+(re>>>17^re>>>19^re>>>10^re<<15^re<<13)+Pe+ee|0,_e=Pe+_e+(G>>>6^G>>>11^G>>>25^G<<26^G<<21^G<<7)+(oe^G&(te^oe))+2227730452|0,V=V+_e|0,_e=_e+(ce&le^B&(ce^le))+(ce>>>2^ce>>>13^ce>>>22^ce<<30^ce<<19^ce<<10)|0,ve=(U>>>7^U>>>18^U>>>3^U<<25^U<<14)+(Z>>>17^Z>>>19^Z>>>10^Z<<15^Z<<13)+ve+fe|0,oe=ve+oe+(V>>>6^V>>>11^V>>>25^V<<26^V<<21^V<<7)+(te^V&(G^te))+2361852424|0,B=B+oe|0,oe=oe+(_e&ce^le&(_e^ce))+(_e>>>2^_e>>>13^_e>>>22^_e<<30^_e<<19^_e<<10)|0,U=(Se>>>7^Se>>>18^Se>>>3^Se<<25^Se<<14)+(Pe>>>17^Pe>>>19^Pe>>>10^Pe<<15^Pe<<13)+U+ke|0,te=U+te+(B>>>6^B>>>11^B>>>25^B<<26^B<<21^B<<7)+(G^B&(V^G))+2428436474|0,le=le+te|0,te=te+(oe&_e^ce&(oe^_e))+(oe>>>2^oe>>>13^oe>>>22^oe<<30^oe<<19^oe<<10)|0,Se=(me>>>7^me>>>18^me>>>3^me<<25^me<<14)+(ve>>>17^ve>>>19^ve>>>10^ve<<15^ve<<13)+Se+X|0,G=Se+G+(le>>>6^le>>>11^le>>>25^le<<26^le<<21^le<<7)+(V^le&(B^V))+2756734187|0,ce=ce+G|0,G=G+(te&oe^_e&(te^oe))+(te>>>2^te>>>13^te>>>22^te<<30^te<<19^te<<10)|0,me=(ae>>>7^ae>>>18^ae>>>3^ae<<25^ae<<14)+(U>>>17^U>>>19^U>>>10^U<<15^U<<13)+me+H|0,V=me+V+(ce>>>6^ce>>>11^ce>>>25^ce<<26^ce<<21^ce<<7)+(B^ce&(le^B))+3204031479|0,_e=_e+V|0,V=V+(G&te^oe&(G^te))+(G>>>2^G>>>13^G>>>22^G<<30^G<<19^G<<10)|0,ae=(F>>>7^F>>>18^F>>>3^F<<25^F<<14)+(Se>>>17^Se>>>19^Se>>>10^Se<<15^Se<<13)+ae+re|0,B=ae+B+(_e>>>6^_e>>>11^_e>>>25^_e<<26^_e<<21^_e<<7)+(le^_e&(ce^le))+3329325298|0,oe=oe+B|0,B=B+(V&G^te&(V^G))+(V>>>2^V>>>13^V>>>22^V<<30^V<<19^V<<10)|0,a=a+B|0,s=s+V|0,u=u+G|0,c=c+te|0,h=h+oe|0,n=n+_e|0,p=p+ce|0,d=d+le|0}function Te(F){F=F|0,ue(j[F|0]<<24|j[F|1]<<16|j[F|2]<<8|j[F|3],j[F|4]<<24|j[F|5]<<16|j[F|6]<<8|j[F|7],j[F|8]<<24|j[F|9]<<16|j[F|10]<<8|j[F|11],j[F|12]<<24|j[F|13]<<16|j[F|14]<<8|j[F|15],j[F|16]<<24|j[F|17]<<16|j[F|18]<<8|j[F|19],j[F|20]<<24|j[F|21]<<16|j[F|22]<<8|j[F|23],j[F|24]<<24|j[F|25]<<16|j[F|26]<<8|j[F|27],j[F|28]<<24|j[F|29]<<16|j[F|30]<<8|j[F|31],j[F|32]<<24|j[F|33]<<16|j[F|34]<<8|j[F|35],j[F|36]<<24|j[F|37]<<16|j[F|38]<<8|j[F|39],j[F|40]<<24|j[F|41]<<16|j[F|42]<<8|j[F|43],j[F|44]<<24|j[F|45]<<16|j[F|46]<<8|j[F|47],j[F|48]<<24|j[F|49]<<16|j[F|50]<<8|j[F|51],j[F|52]<<24|j[F|53]<<16|j[F|54]<<8|j[F|55],j[F|56]<<24|j[F|57]<<16|j[F|58]<<8|j[F|59],j[F|60]<<24|j[F|61]<<16|j[F|62]<<8|j[F|63])}function pe(F){F=F|0,j[F|0]=a>>>24,j[F|1]=a>>>16&255,j[F|2]=a>>>8&255,j[F|3]=a&255,j[F|4]=s>>>24,j[F|5]=s>>>16&255,j[F|6]=s>>>8&255,j[F|7]=s&255,j[F|8]=u>>>24,j[F|9]=u>>>16&255,j[F|10]=u>>>8&255,j[F|11]=u&255,j[F|12]=c>>>24,j[F|13]=c>>>16&255,j[F|14]=c>>>8&255,j[F|15]=c&255,j[F|16]=h>>>24,j[F|17]=h>>>16&255,j[F|18]=h>>>8&255,j[F|19]=h&255,j[F|20]=n>>>24,j[F|21]=n>>>16&255,j[F|22]=n>>>8&255,j[F|23]=n&255,j[F|24]=p>>>24,j[F|25]=p>>>16&255,j[F|26]=p>>>8&255,j[F|27]=p&255,j[F|28]=d>>>24,j[F|29]=d>>>16&255,j[F|30]=d>>>8&255,j[F|31]=d&255}function ye(){a=1779033703,s=3144134277,u=1013904242,c=2773480762,h=1359893119,n=2600822924,p=528734635,d=1541459225,v=m=0}function de(F,I,J,ee,fe,ke,X,H,re,Z){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,X=X|0,H=H|0,re=re|0,Z=Z|0,a=F,s=I,u=J,c=ee,h=fe,n=ke,p=X,d=H,v=re,m=Z}function Ee(F,I){F=F|0,I=I|0;var J=0;if(F&63)return-1;for(;(I|0)>=64;)Te(F),F=F+64|0,I=I-64|0,J=J+64|0;return v=v+J|0,v>>>0>>0&&(m=m+1|0),J|0}function ie(F,I,J){F=F|0,I=I|0,J=J|0;var ee=0,fe=0;if(F&63||~J&&J&31)return-1;if((I|0)>=64){if(ee=Ee(F,I)|0,(ee|0)==-1)return-1;F=F+ee|0,I=I-ee|0}if(ee=ee+I|0,v=v+I|0,v>>>0>>0&&(m=m+1|0),j[F|I]=128,(I|0)>=56){for(fe=I+1|0;(fe|0)<64;fe=fe+1|0)j[F|fe]=0;Te(F),I=0,j[F|0]=0}for(fe=I+1|0;(fe|0)<59;fe=fe+1|0)j[F|fe]=0;return j[F|56]=m>>>21&255,j[F|57]=m>>>13&255,j[F|58]=m>>>5&255,j[F|59]=m<<3&255|v>>>29,j[F|60]=v>>>21&255,j[F|61]=v>>>13&255,j[F|62]=v>>>5&255,j[F|63]=v<<3&255,Te(F),~J&&pe(J),ee|0}function be(){a=g,s=y,u=b,c=k,h=O,n=S,p=x,d=E,v=64,m=0}function Ie(){a=w,s=T,u=M,c=A,h=L,n=Y,p=N,d=W,v=64,m=0}function De(F,I,J,ee,fe,ke,X,H,re,Z,Pe,ve,U,Se,me,ae){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0,ke=ke|0,X=X|0,H=H|0,re=re|0,Z=Z|0,Pe=Pe|0,ve=ve|0,U=U|0,Se=Se|0,me=me|0,ae=ae|0,ye(),ue(F^1549556828,I^1549556828,J^1549556828,ee^1549556828,fe^1549556828,ke^1549556828,X^1549556828,H^1549556828,re^1549556828,Z^1549556828,Pe^1549556828,ve^1549556828,U^1549556828,Se^1549556828,me^1549556828,ae^1549556828),w=a,T=s,M=u,A=c,L=h,Y=n,N=p,W=d,ye(),ue(F^909522486,I^909522486,J^909522486,ee^909522486,fe^909522486,ke^909522486,X^909522486,H^909522486,re^909522486,Z^909522486,Pe^909522486,ve^909522486,U^909522486,Se^909522486,me^909522486,ae^909522486),g=a,y=s,b=u,k=c,O=h,S=n,x=p,E=d,v=64,m=0}function se(F,I,J){F=F|0,I=I|0,J=J|0;var ee=0,fe=0,ke=0,X=0,H=0,re=0,Z=0,Pe=0,ve=0;return F&63||~J&&J&31?-1:(ve=ie(F,I,-1)|0,ee=a,fe=s,ke=u,X=c,H=h,re=n,Z=p,Pe=d,Ie(),ue(ee,fe,ke,X,H,re,Z,Pe,2147483648,0,0,0,0,0,0,768),~J&&pe(J),ve|0)}function q(F,I,J,ee,fe){F=F|0,I=I|0,J=J|0,ee=ee|0,fe=fe|0;var ke=0,X=0,H=0,re=0,Z=0,Pe=0,ve=0,U=0,Se=0,me=0,ae=0,B=0,V=0,G=0,te=0,oe=0;if(F&63||~fe&&fe&31)return-1;for(j[F+I|0]=J>>>24,j[F+I+1|0]=J>>>16&255,j[F+I+2|0]=J>>>8&255,j[F+I+3|0]=J&255,se(F,I+4|0,-1)|0,ke=Se=a,X=me=s,H=ae=u,re=B=c,Z=V=h,Pe=G=n,ve=te=p,U=oe=d,ee=ee-1|0;(ee|0)>0;)be(),ue(Se,me,ae,B,V,G,te,oe,2147483648,0,0,0,0,0,0,768),Se=a,me=s,ae=u,B=c,V=h,G=n,te=p,oe=d,Ie(),ue(Se,me,ae,B,V,G,te,oe,2147483648,0,0,0,0,0,0,768),Se=a,me=s,ae=u,B=c,V=h,G=n,te=p,oe=d,ke=ke^a,X=X^s,H=H^u,re=re^c,Z=Z^h,Pe=Pe^n,ve=ve^p,U=U^d,ee=ee-1|0;return a=ke,s=X,u=H,c=re,h=Z,n=Pe,p=ve,d=U,~fe&&pe(fe),0}return{reset:ye,init:de,process:Ee,finish:ie,hmac_reset:be,hmac_init:De,hmac_finish:se,pbkdf2_generate_block:q}}({Uint8Array},null,this.heap.buffer),this.reset()),{heap:this.heap,asm:this.asm}}release_asm(){this.heap!==void 0&&this.asm!==void 0&&(HS.push(this.heap),GS.push(this.asm)),this.heap=void 0,this.asm=void 0}static bytes(t){return new Yv().process(t).finish().result}}Yv.NAME="sha256";var Xv=B6;function B6(e,t){if(!e)throw Error(t||"Assertion failed")}B6.equal=function(e,t,r){if(e!=t)throw Error(r||"Assertion failed: "+e+" != "+t)};var eZ=Wi!==void 0?Wi:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function j0(e,t){return e(t={exports:{}},t.exports),t.exports}function Hj(){throw Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var Gj=j0(function(e){e.exports=typeof Object.create=="function"?function(t,r){t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:function(t,r){t.super_=r;var i=function(){};i.prototype=r.prototype,t.prototype=new i,t.prototype.constructor=t}}),Yj=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if(typeof e=="string")if(t){if(t==="hex")for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>8,u=255&a;s?r.push(s,u):r.push(u)}else for(i=0;i>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}var Jj=function(e,t){for(var r="",i=0;i>>0}return s},Qj=function(e,t){for(var r=Array(4*e.length),i=0,a=0;i>>24,r[a+1]=s>>>16&255,r[a+2]=s>>>8&255,r[a+3]=255&s):(r[a+3]=s>>>24,r[a+2]=s>>>16&255,r[a+1]=s>>>8&255,r[a]=255&s)}return r},Pn={inherits:Gj,toArray:Yj,toHex:Xj,htonl:F6,toHex32:Jj,zero2:z6,zero8:j6,join32:Zj,split32:Qj,rotr32:function(e,t){return e>>>t|e<<32-t},rotl32:function(e,t){return e<>>32-t},sum32:function(e,t){return e+t>>>0},sum32_3:function(e,t,r){return e+t+r>>>0},sum32_4:function(e,t,r,i){return e+t+r+i>>>0},sum32_5:function(e,t,r,i,a){return e+t+r+i+a>>>0},sum64:function(e,t,r,i){var a=e[t],s=i+e[t+1]>>>0,u=(s>>0,e[t+1]=s},sum64_hi:function(e,t,r,i){return(t+i>>>0>>0},sum64_lo:function(e,t,r,i){return t+i>>>0},sum64_4_hi:function(e,t,r,i,a,s,u,c){var h=0,n=t;return h+=(n=n+i>>>0)>>0)>>0)>>0},sum64_4_lo:function(e,t,r,i,a,s,u,c){return t+i+s+c>>>0},sum64_5_hi:function(e,t,r,i,a,s,u,c,h,n){var p=0,d=t;return p+=(d=d+i>>>0)>>0)>>0)>>0)>>0},sum64_5_lo:function(e,t,r,i,a,s,u,c,h,n){return t+i+s+c+n>>>0},rotr64_hi:function(e,t,r){return(t<<32-r|e>>>r)>>>0},rotr64_lo:function(e,t,r){return(e<<32-r|t>>>r)>>>0},shr64_hi:function(e,t,r){return e>>>r},shr64_lo:function(e,t,r){return(e<<32-r|t>>>r)>>>0}};function Cp(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var qj=Cp;Cp.prototype.update=function(e,t){if(e=Pn.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),this.pending.length===0&&(this.pending=null),e=Pn.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,i[a++]=e>>>16&255,i[a++]=e>>>8&255,i[a++]=255&e}else for(i[a++]=255&e,i[a++]=e>>>8&255,i[a++]=e>>>16&255,i[a++]=e>>>24&255,i[a++]=0,i[a++]=0,i[a++]=0,i[a++]=0,s=8;s>>3},g1_256:function(e){return La(e,17)^La(e,19)^e>>>10}},ca=Pn.sum32,tU=Pn.sum32_4,nU=Pn.sum32_5,rU=Mu.ch32,iU=Mu.maj32,aU=Mu.s0_256,sU=Mu.s1_256,oU=Mu.g0_256,lU=Mu.g1_256,K6=U0.BlockHash,uU=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function Ua(){if(!(this instanceof Ua))return new Ua;K6.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=uU,this.W=Array(64)}Pn.inherits(Ua,K6);var H6=Ua;function ws(){if(!(this instanceof ws))return new ws;H6.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}Ua.blockSize=512,Ua.outSize=256,Ua.hmacStrength=192,Ua.padLength=64,Ua.prototype._update=function(e,t){for(var r=this.W,i=0;i<16;i++)r[i]=e[t+i];for(;i>>32-a,r)}function Xr(e,t,r,i,a,s,u){return Zv(t&r|~t&i,e,t,a,s,u)}function Jr(e,t,r,i,a,s,u){return Zv(t&i|r&~i,e,t,a,s,u)}function Zr(e,t,r,i,a,s,u){return Zv(t^r^i,e,t,a,s,u)}function Qr(e,t,r,i,a,s,u){return Zv(r^(t|~i),e,t,a,s,u)}function RU(e){const t=[];let r;for(r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t}const ZS="0123456789abcdef".split("");function LU(e){let t="",r=0;for(;r<4;r++)t+=ZS[e>>8*r+4&15]+ZS[e>>8*r&15];return t}function eo(e,t){return e+t&4294967295}const rv=Oe.getWebCrypto(),iv=Oe.getNodeCrypto(),NU=iv&&iv.getHashes();function No(e){if(iv&&NU.includes(e))return async function(t){const r=iv.createHash(e);return cr(t,i=>{r.update(i)},()=>new Uint8Array(r.digest()))}}function Uh(e,t){return async function(r,i=Nt){if(pr(r)&&(r=await _r(r)),!Oe.isStream(r)&&rv&&t&&r.length>=i.minBytesForWebCrypto)return new Uint8Array(await rv.digest(t,r));const a=e();return cr(r,s=>{a.update(s)},()=>new Uint8Array(a.digest()))}}function QS(e,t){return async function(r,i=Nt){if(pr(r)&&(r=await _r(r)),Oe.isStream(r)){const a=new e;return cr(r,s=>{a.process(s)},()=>a.finish().result)}return rv&&t&&r.length>=i.minBytesForWebCrypto?new Uint8Array(await rv.digest(t,r)):e.bytes(r)}}const Bo={md5:No("md5")||async function(e){const t=function(r){const i=r.length,a=[1732584193,-271733879,-1732584194,271733878];let s;for(s=64;s<=r.length;s+=64)I_(a,RU(r.substring(s-64,s)));r=r.substring(s-64);const u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s>2]|=r.charCodeAt(s)<<(s%4<<3);if(u[s>>2]|=128<<(s%4<<3),s>55)for(I_(a,u),s=0;s<16;s++)u[s]=0;return u[14]=8*i,I_(a,u),a}(Oe.uint8ArrayToString(e));return Oe.hexToUint8Array(function(r){for(let i=0;inew Uint8Array(b.update(k)))}(e,t,r,i);if(s.substr(0,3)==="aes")return function(d,v,m,g,y){if(Oe.getWebCrypto()&&v.length!==24&&!Oe.isStream(m)&&m.length>=3e3*y.minBytesForWebCrypto)return async function(k,O,S,x){const E="AES-CBC",w=await qS.importKey("raw",O,{name:E},!1,["encrypt"]),{blockSize:T}=lo(k),M=Oe.concatUint8Array([new Uint8Array(T),S]),A=new Uint8Array(await qS.encrypt({name:E,iv:x},w,M)).subarray(0,S.length);return function(L,Y){for(let N=0;Nb.aes.AES_Encrypt_process(k),()=>b.aes.AES_Encrypt_finish())}(e,t,r,i,a);const u=new(lo(e))(t),c=u.blockSize,h=i.slice();let n=new Uint8Array;const p=d=>{d&&(n=Oe.concatUint8Array([n,d]));const v=new Uint8Array(n.length);let m,g=0;for(;d?n.length>=c:n.length;){const y=u.encrypt(h);for(m=0;mnew Uint8Array(y.update(b)))}(e,t,r,i);if(a.substr(0,3)==="aes")return function(p,d,v,m){if(Oe.isStream(v)){const g=new cu(d,m);return cr(v,y=>g.aes.AES_Decrypt_process(y),()=>g.aes.AES_Decrypt_finish())}return cu.decrypt(v,d,m)}(0,t,r,i);const s=new(lo(e))(t),u=s.blockSize;let c=i,h=new Uint8Array;const n=p=>{p&&(h=Oe.concatUint8Array([h,p]));const d=new Uint8Array(h.length);let v,m=0;for(;p?h.length>=u:h.length;){const g=s.encrypt(c);for(c=h,v=0;v48)throw new Es("illegal counter size");let s=Math.pow(2,i)-1;a.set_mask(0,0,s/4294967296|0,0|s)}else i=48,a.set_mask(0,0,65535,4294967295);if(t===void 0)throw Error("nonce is required");{let s=t.length;if(!s||s>16)throw new Es("illegal nonce size");let u=new DataView(new ArrayBuffer(16));new Uint8Array(u.buffer).set(t),a.set_nonce(u.getUint32(0),u.getUint32(4),u.getUint32(8),u.getUint32(12))}if(r!==void 0){if(r<0||r>=Math.pow(2,i))throw new Es("illegal counter value");a.set_counter(0,0,r/4294967296|0,0|r)}}}class ov{static encrypt(t,r,i=!0,a){return new ov(r,a,i).encrypt(t)}static decrypt(t,r,i=!0,a){return new ov(r,a,i).decrypt(t)}constructor(t,r,i=!0,a){this.aes=a||new Od(t,r,i,"CBC")}encrypt(t){return mo(this.aes.AES_Encrypt_process(t),this.aes.AES_Encrypt_finish())}decrypt(t){return mo(this.aes.AES_Decrypt_process(t),this.aes.AES_Decrypt_finish())}}const e5=Oe.getWebCrypto(),FU=Oe.getNodeCrypto(),gs=16;function t5(e,t){const r=e.length-gs;for(let i=0;i>3),17+(m>>3)),8-(7&m)).subarray(1),k=new Uint8Array(hi),O=new Uint8Array(h.length+Gs);let S,x=0;for(S=0;S16)throw new Es("illegal tagSize value");const h=r.length||0,n=new Uint8Array(16);h!==12?(this._gcm_mac_process(r),c[0]=0,c[1]=0,c[2]=0,c[3]=0,c[4]=0,c[5]=0,c[6]=0,c[7]=0,c[8]=0,c[9]=0,c[10]=0,c[11]=h>>>29,c[12]=h>>>21&255,c[13]=h>>>13&255,c[14]=h>>>5&255,c[15]=h<<3&255,u.mac(Sn.MAC.GCM,Sn.HEAP_DATA,16),u.get_iv(Sn.HEAP_DATA),u.set_iv(0,0,0,0),n.set(c.subarray(0,16))):(n.set(r),n[15]=1);const p=new DataView(n.buffer);if(this.gamma0=p.getUint32(12),u.set_nonce(p.getUint32(0),p.getUint32(4),p.getUint32(8),0),u.set_mask(0,0,0,4294967295),i!==void 0){if(i.length>R_)throw new Es("illegal adata length");i.length?(this.adata=i,this._gcm_mac_process(i)):this.adata=void 0}else this.adata=void 0;if(this.counter<1||this.counter>4294967295)throw new RangeError("counter must be a positive 32-bit integer");u.set_counter(0,0,0,this.gamma0+this.counter|0)}static encrypt(t,r,i,a,s){return new Yo(r,i,a,s).encrypt(t)}static decrypt(t,r,i,a,s){return new Yo(r,i,a,s).decrypt(t)}encrypt(t){return this.AES_GCM_encrypt(t)}decrypt(t){return this.AES_GCM_decrypt(t)}AES_GCM_Encrypt_process(t){let r=0,i=t.length||0,{asm:a,heap:s}=this.aes.acquire_asm(),u=this.counter,c=this.aes.pos,h=this.aes.len,n=0,p=h+i&-16,d=0;if((u-1<<4)+h+i>R_)throw new RangeError("counter overflow");const v=new Uint8Array(p);for(;i>0;)d=Ho(s,c+h,t,r,i),h+=d,r+=d,i-=d,d=a.cipher(Sn.ENC.CTR,Sn.HEAP_DATA+c,h),d=a.mac(Sn.MAC.GCM,Sn.HEAP_DATA+c,d),d&&v.set(s.subarray(c,c+d),n),u+=d>>>4,n+=d,d>>29,r[4]=p>>>21,r[5]=p>>>13&255,r[6]=p>>>5&255,r[7]=p<<3&255,r[8]=r[9]=r[10]=0,r[11]=d>>>29,r[12]=d>>>21&255,r[13]=d>>>13&255,r[14]=d>>>5&255,r[15]=d<<3&255,t.mac(Sn.MAC.GCM,Sn.HEAP_DATA,16),t.get_iv(Sn.HEAP_DATA),t.set_counter(0,0,0,this.gamma0),t.cipher(Sn.ENC.CTR,Sn.HEAP_DATA,16),h.set(r.subarray(0,a),c),this.counter=1,this.aes.pos=0,this.aes.len=0,h}AES_GCM_Decrypt_process(t){let r=0,i=t.length||0,{asm:a,heap:s}=this.aes.acquire_asm(),u=this.counter,c=this.tagSize,h=this.aes.pos,n=this.aes.len,p=0,d=n+i>c?n+i-c&-16:0,v=n+i-d,m=0;if((u-1<<4)+n+i>R_)throw new RangeError("counter overflow");const g=new Uint8Array(d);for(;i>v;)m=Ho(s,h+n,t,r,i-v),n+=m,r+=m,i-=m,m=a.mac(Sn.MAC.GCM,Sn.HEAP_DATA+h,m),m=a.cipher(Sn.DEC.CTR,Sn.HEAP_DATA+h,m),m&&g.set(s.subarray(h,h+m),p),u+=m>>>4,p+=m,h=0,n=0;return i>0&&(n+=Ho(s,0,t,r,i)),this.counter=u,this.aes.pos=h,this.aes.len=n,g}AES_GCM_Decrypt_finish(){let{asm:t,heap:r}=this.aes.acquire_asm(),i=this.tagSize,a=this.adata,s=this.counter,u=this.aes.pos,c=this.aes.len,h=c-i;if(c>>29,r[4]=v>>>21,r[5]=v>>>13&255,r[6]=v>>>5&255,r[7]=v<<3&255,r[8]=r[9]=r[10]=0,r[11]=m>>>29,r[12]=m>>>21&255,r[13]=m>>>13&255,r[14]=m>>>5&255,r[15]=m<<3&255,t.mac(Sn.MAC.GCM,Sn.HEAP_DATA,16),t.get_iv(Sn.HEAP_DATA),t.set_counter(0,0,0,this.gamma0),t.cipher(Sn.ENC.CTR,Sn.HEAP_DATA,16);let g=0;for(let y=0;y0;){for(u=Ho(i,0,t,a,s),a+=u,s-=u;15&u;)i[u++]=0;r.mac(Sn.MAC.GCM,Sn.HEAP_DATA,u)}}}const L_=Oe.getWebCrypto(),a5=Oe.getNodeCrypto(),s5=Oe.getNodeBuffer(),ql=16,N_="AES-GCM";async function iu(e,t){if(e!==he.symmetric.aes128&&e!==he.symmetric.aes192&&e!==he.symmetric.aes256)throw Error("GCM mode supports only AES cipher");if(Oe.getWebCrypto()&&t.length!==24){const r=await L_.importKey("raw",t,{name:N_},!1,["encrypt","decrypt"]);return{encrypt:async function(i,a,s=new Uint8Array){if(!i.length)return Yo.encrypt(i,t,a,s);const u=await L_.encrypt({name:N_,iv:a,additionalData:s,tagLength:8*ql},r,i);return new Uint8Array(u)},decrypt:async function(i,a,s=new Uint8Array){if(i.length===ql)return Yo.decrypt(i,t,a,s);const u=await L_.decrypt({name:N_,iv:a,additionalData:s,tagLength:8*ql},r,i);return new Uint8Array(u)}}}return Oe.getNodeCrypto()?{encrypt:async function(r,i,a=new Uint8Array){const s=new a5.createCipheriv("aes-"+8*t.length+"-gcm",t,i);s.setAAD(a);const u=s5.concat([s.update(r),s.final(),s.getAuthTag()]);return new Uint8Array(u)},decrypt:async function(r,i,a=new Uint8Array){const s=new a5.createDecipheriv("aes-"+8*t.length+"-gcm",t,i);s.setAAD(a),s.setAuthTag(r.slice(r.length-ql,r.length));const u=s5.concat([s.update(r.slice(0,r.length-ql)),s.final()]);return new Uint8Array(u)}}:{encrypt:async function(r,i,a){return Yo.encrypt(r,t,i,a)},decrypt:async function(r,i,a){return Yo.decrypt(r,t,i,a)}}}iu.getNonce=function(e,t){const r=e.slice();for(let i=0;i>>8)-1}(se,q,F,I,32)}function g(se,q){var F;for(F=0;F<16;F++)se[F]=0|q[F]}function y(se){var q,F,I=1;for(q=0;q<16;q++)F=se[q]+I+65535,I=Math.floor(F/65536),se[q]=F-65536*I;se[0]+=I-1+37*(I-1)}function b(se,q,F){for(var I,J=~(F-1),ee=0;ee<16;ee++)I=J&(se[ee]^q[ee]),se[ee]^=I,q[ee]^=I}function k(se,q){var F,I,J,ee=r(),fe=r();for(F=0;F<16;F++)fe[F]=q[F];for(y(fe),y(fe),y(fe),I=0;I<2;I++){for(ee[0]=fe[0]-65517,F=1;F<15;F++)ee[F]=fe[F]-65535-(ee[F-1]>>16&1),ee[F-1]&=65535;ee[15]=fe[15]-32767-(ee[14]>>16&1),J=ee[15]>>16&1,ee[14]&=65535,b(fe,ee,1-J)}for(F=0;F<16;F++)se[2*F]=255&fe[F],se[2*F+1]=fe[F]>>8}function O(se,q){var F=new Uint8Array(32),I=new Uint8Array(32);return k(F,se),k(I,q),m(F,0,I,0)}function S(se){var q=new Uint8Array(32);return k(q,se),1&q[0]}function x(se,q){var F;for(F=0;F<16;F++)se[F]=q[2*F]+(q[2*F+1]<<8);se[15]&=32767}function E(se,q,F){for(var I=0;I<16;I++)se[I]=q[I]+F[I]}function w(se,q,F){for(var I=0;I<16;I++)se[I]=q[I]-F[I]}function T(se,q,F){var I,J,ee=0,fe=0,ke=0,X=0,H=0,re=0,Z=0,Pe=0,ve=0,U=0,Se=0,me=0,ae=0,B=0,V=0,G=0,te=0,oe=0,_e=0,ce=0,le=0,Ve=0,Ze=0,yt=0,Tt=0,St=0,At=0,ht=0,Rt=0,Mt=0,cn=0,tn=F[0],Yt=F[1],Ht=F[2],Jt=F[3],Gt=F[4],ln=F[5],Qt=F[6],it=F[7],st=F[8],Ct=F[9],Ce=F[10],Le=F[11],ze=F[12],He=F[13],Be=F[14],nt=F[15];ee+=(I=q[0])*tn,fe+=I*Yt,ke+=I*Ht,X+=I*Jt,H+=I*Gt,re+=I*ln,Z+=I*Qt,Pe+=I*it,ve+=I*st,U+=I*Ct,Se+=I*Ce,me+=I*Le,ae+=I*ze,B+=I*He,V+=I*Be,G+=I*nt,fe+=(I=q[1])*tn,ke+=I*Yt,X+=I*Ht,H+=I*Jt,re+=I*Gt,Z+=I*ln,Pe+=I*Qt,ve+=I*it,U+=I*st,Se+=I*Ct,me+=I*Ce,ae+=I*Le,B+=I*ze,V+=I*He,G+=I*Be,te+=I*nt,ke+=(I=q[2])*tn,X+=I*Yt,H+=I*Ht,re+=I*Jt,Z+=I*Gt,Pe+=I*ln,ve+=I*Qt,U+=I*it,Se+=I*st,me+=I*Ct,ae+=I*Ce,B+=I*Le,V+=I*ze,G+=I*He,te+=I*Be,oe+=I*nt,X+=(I=q[3])*tn,H+=I*Yt,re+=I*Ht,Z+=I*Jt,Pe+=I*Gt,ve+=I*ln,U+=I*Qt,Se+=I*it,me+=I*st,ae+=I*Ct,B+=I*Ce,V+=I*Le,G+=I*ze,te+=I*He,oe+=I*Be,_e+=I*nt,H+=(I=q[4])*tn,re+=I*Yt,Z+=I*Ht,Pe+=I*Jt,ve+=I*Gt,U+=I*ln,Se+=I*Qt,me+=I*it,ae+=I*st,B+=I*Ct,V+=I*Ce,G+=I*Le,te+=I*ze,oe+=I*He,_e+=I*Be,ce+=I*nt,re+=(I=q[5])*tn,Z+=I*Yt,Pe+=I*Ht,ve+=I*Jt,U+=I*Gt,Se+=I*ln,me+=I*Qt,ae+=I*it,B+=I*st,V+=I*Ct,G+=I*Ce,te+=I*Le,oe+=I*ze,_e+=I*He,ce+=I*Be,le+=I*nt,Z+=(I=q[6])*tn,Pe+=I*Yt,ve+=I*Ht,U+=I*Jt,Se+=I*Gt,me+=I*ln,ae+=I*Qt,B+=I*it,V+=I*st,G+=I*Ct,te+=I*Ce,oe+=I*Le,_e+=I*ze,ce+=I*He,le+=I*Be,Ve+=I*nt,Pe+=(I=q[7])*tn,ve+=I*Yt,U+=I*Ht,Se+=I*Jt,me+=I*Gt,ae+=I*ln,B+=I*Qt,V+=I*it,G+=I*st,te+=I*Ct,oe+=I*Ce,_e+=I*Le,ce+=I*ze,le+=I*He,Ve+=I*Be,Ze+=I*nt,ve+=(I=q[8])*tn,U+=I*Yt,Se+=I*Ht,me+=I*Jt,ae+=I*Gt,B+=I*ln,V+=I*Qt,G+=I*it,te+=I*st,oe+=I*Ct,_e+=I*Ce,ce+=I*Le,le+=I*ze,Ve+=I*He,Ze+=I*Be,yt+=I*nt,U+=(I=q[9])*tn,Se+=I*Yt,me+=I*Ht,ae+=I*Jt,B+=I*Gt,V+=I*ln,G+=I*Qt,te+=I*it,oe+=I*st,_e+=I*Ct,ce+=I*Ce,le+=I*Le,Ve+=I*ze,Ze+=I*He,yt+=I*Be,Tt+=I*nt,Se+=(I=q[10])*tn,me+=I*Yt,ae+=I*Ht,B+=I*Jt,V+=I*Gt,G+=I*ln,te+=I*Qt,oe+=I*it,_e+=I*st,ce+=I*Ct,le+=I*Ce,Ve+=I*Le,Ze+=I*ze,yt+=I*He,Tt+=I*Be,St+=I*nt,me+=(I=q[11])*tn,ae+=I*Yt,B+=I*Ht,V+=I*Jt,G+=I*Gt,te+=I*ln,oe+=I*Qt,_e+=I*it,ce+=I*st,le+=I*Ct,Ve+=I*Ce,Ze+=I*Le,yt+=I*ze,Tt+=I*He,St+=I*Be,At+=I*nt,ae+=(I=q[12])*tn,B+=I*Yt,V+=I*Ht,G+=I*Jt,te+=I*Gt,oe+=I*ln,_e+=I*Qt,ce+=I*it,le+=I*st,Ve+=I*Ct,Ze+=I*Ce,yt+=I*Le,Tt+=I*ze,St+=I*He,At+=I*Be,ht+=I*nt,B+=(I=q[13])*tn,V+=I*Yt,G+=I*Ht,te+=I*Jt,oe+=I*Gt,_e+=I*ln,ce+=I*Qt,le+=I*it,Ve+=I*st,Ze+=I*Ct,yt+=I*Ce,Tt+=I*Le,St+=I*ze,At+=I*He,ht+=I*Be,Rt+=I*nt,V+=(I=q[14])*tn,G+=I*Yt,te+=I*Ht,oe+=I*Jt,_e+=I*Gt,ce+=I*ln,le+=I*Qt,Ve+=I*it,Ze+=I*st,yt+=I*Ct,Tt+=I*Ce,St+=I*Le,At+=I*ze,ht+=I*He,Rt+=I*Be,Mt+=I*nt,G+=(I=q[15])*tn,fe+=38*(oe+=I*Ht),ke+=38*(_e+=I*Jt),X+=38*(ce+=I*Gt),H+=38*(le+=I*ln),re+=38*(Ve+=I*Qt),Z+=38*(Ze+=I*it),Pe+=38*(yt+=I*st),ve+=38*(Tt+=I*Ct),U+=38*(St+=I*Ce),Se+=38*(At+=I*Le),me+=38*(ht+=I*ze),ae+=38*(Rt+=I*He),B+=38*(Mt+=I*Be),V+=38*(cn+=I*nt),ee=(I=(ee+=38*(te+=I*Yt))+(J=1)+65535)-65536*(J=Math.floor(I/65536)),fe=(I=fe+J+65535)-65536*(J=Math.floor(I/65536)),ke=(I=ke+J+65535)-65536*(J=Math.floor(I/65536)),X=(I=X+J+65535)-65536*(J=Math.floor(I/65536)),H=(I=H+J+65535)-65536*(J=Math.floor(I/65536)),re=(I=re+J+65535)-65536*(J=Math.floor(I/65536)),Z=(I=Z+J+65535)-65536*(J=Math.floor(I/65536)),Pe=(I=Pe+J+65535)-65536*(J=Math.floor(I/65536)),ve=(I=ve+J+65535)-65536*(J=Math.floor(I/65536)),U=(I=U+J+65535)-65536*(J=Math.floor(I/65536)),Se=(I=Se+J+65535)-65536*(J=Math.floor(I/65536)),me=(I=me+J+65535)-65536*(J=Math.floor(I/65536)),ae=(I=ae+J+65535)-65536*(J=Math.floor(I/65536)),B=(I=B+J+65535)-65536*(J=Math.floor(I/65536)),V=(I=V+J+65535)-65536*(J=Math.floor(I/65536)),G=(I=G+J+65535)-65536*(J=Math.floor(I/65536)),ee=(I=(ee+=J-1+37*(J-1))+(J=1)+65535)-65536*(J=Math.floor(I/65536)),fe=(I=fe+J+65535)-65536*(J=Math.floor(I/65536)),ke=(I=ke+J+65535)-65536*(J=Math.floor(I/65536)),X=(I=X+J+65535)-65536*(J=Math.floor(I/65536)),H=(I=H+J+65535)-65536*(J=Math.floor(I/65536)),re=(I=re+J+65535)-65536*(J=Math.floor(I/65536)),Z=(I=Z+J+65535)-65536*(J=Math.floor(I/65536)),Pe=(I=Pe+J+65535)-65536*(J=Math.floor(I/65536)),ve=(I=ve+J+65535)-65536*(J=Math.floor(I/65536)),U=(I=U+J+65535)-65536*(J=Math.floor(I/65536)),Se=(I=Se+J+65535)-65536*(J=Math.floor(I/65536)),me=(I=me+J+65535)-65536*(J=Math.floor(I/65536)),ae=(I=ae+J+65535)-65536*(J=Math.floor(I/65536)),B=(I=B+J+65535)-65536*(J=Math.floor(I/65536)),V=(I=V+J+65535)-65536*(J=Math.floor(I/65536)),G=(I=G+J+65535)-65536*(J=Math.floor(I/65536)),ee+=J-1+37*(J-1),se[0]=ee,se[1]=fe,se[2]=ke,se[3]=X,se[4]=H,se[5]=re,se[6]=Z,se[7]=Pe,se[8]=ve,se[9]=U,se[10]=Se,se[11]=me,se[12]=ae,se[13]=B,se[14]=V,se[15]=G}function M(se,q){T(se,q,q)}function A(se,q){var F,I=r();for(F=0;F<16;F++)I[F]=q[F];for(F=253;F>=0;F--)M(I,I),F!==2&&F!==4&&T(I,I,q);for(F=0;F<16;F++)se[F]=I[F]}function L(se,q,F){var I,J,ee=new Uint8Array(32),fe=new Float64Array(80),ke=r(),X=r(),H=r(),re=r(),Z=r(),Pe=r();for(J=0;J<31;J++)ee[J]=q[J];for(ee[31]=127&q[31]|64,ee[0]&=248,x(fe,F),J=0;J<16;J++)X[J]=fe[J],re[J]=ke[J]=H[J]=0;for(ke[0]=re[0]=1,J=254;J>=0;--J)b(ke,X,I=ee[J>>>3]>>>(7&J)&1),b(H,re,I),E(Z,ke,H),w(ke,ke,H),E(H,X,re),w(X,X,re),M(re,Z),M(Pe,ke),T(ke,H,ke),T(H,X,Z),E(Z,ke,H),w(ke,ke,H),M(X,ke),w(H,re,Pe),T(ke,H,c),E(ke,ke,re),T(H,H,ke),T(ke,re,Pe),T(re,X,fe),M(X,Z),b(ke,X,I),b(H,re,I);for(J=0;J<16;J++)fe[J+16]=ke[J],fe[J+32]=H[J],fe[J+48]=X[J],fe[J+64]=re[J];var ve=fe.subarray(32),U=fe.subarray(16);return A(ve,ve),T(U,U,ve),k(se,U),0}function Y(se,q){return L(se,q,a)}function N(se,q){var F=r(),I=r(),J=r(),ee=r(),fe=r(),ke=r(),X=r(),H=r(),re=r();w(F,se[1],se[0]),w(re,q[1],q[0]),T(F,F,re),E(I,se[0],se[1]),E(re,q[0],q[1]),T(I,I,re),T(J,se[3],q[3]),T(J,J,n),T(ee,se[2],q[2]),E(ee,ee,ee),w(fe,I,F),w(ke,ee,J),E(X,ee,J),E(H,I,F),T(se[0],fe,ke),T(se[1],H,X),T(se[2],X,ke),T(se[3],fe,H)}function W(se,q,F){var I;for(I=0;I<4;I++)b(se[I],q[I],F)}function j(se,q){var F=r(),I=r(),J=r();A(J,q[2]),T(F,q[0],J),T(I,q[1],J),k(se,I),se[31]^=S(F)<<7}function ue(se,q,F){var I,J;for(g(se[0],s),g(se[1],u),g(se[2],u),g(se[3],s),J=255;J>=0;--J)W(se,q,I=F[J/8|0]>>(7&J)&1),N(q,se),N(se,se),W(se,q,I)}function Te(se,q){var F=[r(),r(),r(),r()];g(F[0],p),g(F[1],d),g(F[2],u),T(F[3],p,d),ue(se,F,q)}function pe(se,q,F){var I,J,ee=[r(),r(),r(),r()];for(F||i(q,32),(I=t.hash(q.subarray(0,32)))[0]&=248,I[31]&=127,I[31]|=64,Te(ee,I),j(se,ee),J=0;J<32;J++)q[J+32]=se[J];return 0}var ye=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function de(se,q){var F,I,J,ee;for(I=63;I>=32;--I){for(F=0,J=I-32,ee=I-12;J>4)*ye[J],F=q[J]>>8,q[J]&=255;for(J=0;J<32;J++)q[J]-=F*ye[J];for(I=0;I<32;I++)q[I+1]+=q[I]>>8,se[I]=255&q[I]}function Ee(se){var q,F=new Float64Array(64);for(q=0;q<64;q++)F[q]=se[q];for(q=0;q<64;q++)se[q]=0;de(se,F)}function ie(se,q){var F=r(),I=r(),J=r(),ee=r(),fe=r(),ke=r(),X=r();return g(se[2],u),x(se[1],q),M(J,se[1]),T(ee,J,h),w(J,J,se[2]),E(ee,se[2],ee),M(fe,ee),M(ke,fe),T(X,ke,fe),T(F,X,J),T(F,F,ee),function(H,re){var Z,Pe=r();for(Z=0;Z<16;Z++)Pe[Z]=re[Z];for(Z=250;Z>=0;Z--)M(Pe,Pe),Z!==1&&T(Pe,Pe,re);for(Z=0;Z<16;Z++)H[Z]=Pe[Z]}(F,F),T(F,F,J),T(F,F,ee),T(F,F,ee),T(se[0],F,ee),M(I,se[0]),T(I,I,ee),O(I,J)&&T(se[0],se[0],v),M(I,se[0]),T(I,I,ee),O(I,J)?-1:(S(se[0])===q[31]>>7&&w(se[0],s,se[0]),T(se[3],se[0],se[1]),0)}var be=64;function Ie(){for(var se=0;se=0},t.sign.keyPair=function(){var se=new Uint8Array(32),q=new Uint8Array(64);return pe(se,q),{publicKey:se,secretKey:q}},t.sign.keyPair.fromSecretKey=function(se){if(Ie(se),se.length!==64)throw Error("bad secret key size");for(var q=new Uint8Array(32),F=0;Fe&&(h.imod(s.leftShift(a)).iadd(s),n=h.mod(u).toNumber());while(!await eD(h,t,r));return h}async function eD(e,t,r){return!(t&&!e.dec().gcd(t).isOne())&&!!await async function(i){const a=await Oe.getBigInteger();return YU.every(s=>i.mod(new a(s))!==0)}(e)&&!!await async function(i,a){const s=await Oe.getBigInteger();return a=a||new s(2),a.modExp(i.dec(),i).isOne()}(e)&&!!await async function(i,a,s){const u=await Oe.getBigInteger(),c=i.bitLength();a||(a=Math.max(1,c/48|0));const h=i.dec();let n=0;for(;!h.getBit(n);)n++;const p=i.rightShift(new u(n));for(;a>0;a--){let d,v=(s?s():await Ms(new u(2),h)).modExp(p,i);if(!v.isOne()&&!v.equal(h)){for(d=1;dt-11)throw Error("Message too long");const i=function(s){const u=new Uint8Array(s);let c=0;for(;c=8&!i;if(t)return Oe.selectUint8Array(u,s,t);if(u)return s;throw Error("Decryption error")}async function ay(e,t,r){let i;if(t.length!==yu.getHashByteLength(e))throw Error("Invalid hash length");const a=new Uint8Array(za[e].length);for(i=0;iimport("./bn.min.560fdb8a.js"),[]),O=new k(g),S=new k(y),x=new k(m),E=x.mod(S.subn(1)),w=x.mod(O.subn(1)),T=qr.createSign(he.read(he.hash,n));T.write(p),T.end();const M={version:0,modulus:new k(d),publicExponent:new k(v),privateExponent:new k(m),prime1:new k(y),prime2:new k(g),exponent1:E,exponent2:w,coefficient:new k(b)};if(qr.createPrivateKey!==void 0){const L=Gl.encode(M,"der");return new Uint8Array(T.sign({key:L,format:"der",type:"pkcs1"}))}const A=Gl.encode(M,"pem",{label:"RSA PRIVATE KEY"});return new Uint8Array(T.sign(A))}(e,t,r,i,a,s,u,c)}return async function(n,p,d,v){const m=await Oe.getBigInteger();p=new m(p);const g=new m(await ay(n,v,p.byteLength()));if(d=new m(d),g.gte(p))throw Error("Message size cannot exceed modulus size");return g.modExp(d,p).toUint8Array("be",p.byteLength())}(e,r,a,h)},verify:async function(e,t,r,i,a,s){if(t&&!Oe.isStream(t)){if(Oe.getWebCrypto())try{return await async function(u,c,h,n,p){const d=function(m,g){return{kty:"RSA",n:Fi(m,!0),e:Fi(g,!0),ext:!0}}(n,p),v=await Hl.importKey("jwk",d,{name:"RSASSA-PKCS1-v1_5",hash:{name:u}},!1,["verify"]);return Hl.verify("RSASSA-PKCS1-v1_5",v,h,c)}(he.read(he.webHash,e),t,r,i,a)}catch(u){Oe.printDebugError(u)}else if(Oe.getNodeCrypto())return async function(u,c,h,n,p){const{default:d}=await kn(()=>import("./bn.min.560fdb8a.js"),[]),v=qr.createVerify(he.read(he.hash,u));v.write(c),v.end();const m={modulus:new d(n),publicExponent:new d(p)};let g;qr.createPrivateKey!==void 0?g={key:Hh.encode(m,"der"),format:"der",type:"pkcs1"}:g=Hh.encode(m,"pem",{label:"RSA PUBLIC KEY"});try{return await v.verify(g,h)}catch{return!1}}(e,t,r,i,a)}return async function(u,c,h,n,p){const d=await Oe.getBigInteger();if(h=new d(h),c=new d(c),n=new d(n),c.gte(h))throw Error("Signature size cannot exceed modulus size");const v=c.modExp(n,h).toUint8Array("be",h.byteLength()),m=await ay(u,p,h.byteLength());return Oe.equalsUint8Array(v,m)}(e,r,i,a,s)},encrypt:async function(e,t,r){return Oe.getNodeCrypto()?async function(i,a,s){const{default:u}=await kn(()=>import("./bn.min.560fdb8a.js"),[]),c={modulus:new u(a),publicExponent:new u(s)};let h;return qr.createPrivateKey!==void 0?h={key:Hh.encode(c,"der"),format:"der",type:"pkcs1",padding:qr.constants.RSA_PKCS1_PADDING}:h={key:Hh.encode(c,"pem",{label:"RSA PUBLIC KEY"}),padding:qr.constants.RSA_PKCS1_PADDING},new Uint8Array(qr.publicEncrypt(h,i))}(e,t,r):async function(i,a,s){const u=await Oe.getBigInteger();if(a=new u(a),i=new u(V0(i,a.byteLength())),s=new u(s),i.gte(a))throw Error("Message size cannot exceed modulus size");return i.modExp(s,a).toUint8Array("be",a.byteLength())}(e,t,r)},decrypt:async function(e,t,r,i,a,s,u,c){return Oe.getNodeCrypto()?async function(h,n,p,d,v,m,g,y){const{default:b}=await kn(()=>import("./bn.min.560fdb8a.js"),[]),k=new b(v),O=new b(m),S=new b(d),x=S.mod(O.subn(1)),E=S.mod(k.subn(1)),w={version:0,modulus:new b(n),publicExponent:new b(p),privateExponent:new b(d),prime1:new b(m),prime2:new b(v),exponent1:x,exponent2:E,coefficient:new b(g)};let T;qr.createPrivateKey!==void 0?T={key:Gl.encode(w,"der"),format:"der",type:"pkcs1",padding:qr.constants.RSA_PKCS1_PADDING}:T={key:Gl.encode(w,"pem",{label:"RSA PRIVATE KEY"}),padding:qr.constants.RSA_PKCS1_PADDING};try{return new Uint8Array(qr.privateDecrypt(T,h))}catch{if(y)return y;throw Error("Decryption error")}}(e,t,r,i,a,s,u,c):async function(h,n,p,d,v,m,g,y){const b=await Oe.getBigInteger();if(h=new b(h),n=new b(n),p=new b(p),d=new b(d),v=new b(v),m=new b(m),g=new b(g),h.gte(n))throw Error("Data too large.");const k=d.mod(m.dec()),O=d.mod(v.dec()),S=(await Ms(new b(2),n)).mod(n),x=S.modInv(n).modExp(p,n);h=h.mul(x).mod(n);const E=h.modExp(O,v),w=h.modExp(k,m);let M=g.mul(w.sub(E)).mod(m).mul(v).add(E);return M=M.mul(S).mod(n),W0(M.toUint8Array("be",n.byteLength()),y)}(e,t,r,i,a,s,u,c)},generate:async function(e,t){if(t=new(await Oe.getBigInteger())(t),Oe.getWebCrypto()){const u={name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:t.toUint8Array(),hash:{name:"SHA-1"}},c=await Hl.generateKey(u,!0,["sign","verify"]),h=await Hl.exportKey("jwk",c.privateKey);return{n:bs(h.n),e:t.toUint8Array(),d:bs(h.d),p:bs(h.q),q:bs(h.p),u:bs(h.qi)}}if(Oe.getNodeCrypto()&&qr.generateKeyPair&&Gl){const u={modulusLength:e,publicExponent:t.toNumber(),publicKeyEncoding:{type:"pkcs1",format:"der"},privateKeyEncoding:{type:"pkcs1",format:"der"}},c=await new Promise((h,n)=>{qr.generateKeyPair("rsa",u,(p,d,v)=>{p?n(p):h(Gl.decode(v,"der"))})});return{n:c.modulus.toArrayLike(Uint8Array),e:c.publicExponent.toArrayLike(Uint8Array),d:c.privateExponent.toArrayLike(Uint8Array),p:c.prime2.toArrayLike(Uint8Array),q:c.prime1.toArrayLike(Uint8Array),u:c.coefficient.toArrayLike(Uint8Array)}}let r,i,a;do i=await l5(e-(e>>1),t,40),r=await l5(e>>1,t,40),a=r.mul(i);while(a.bitLength()!==e);const s=r.dec().imul(i.dec());return i.lt(r)&&([r,i]=[i,r]),{n:a.toUint8Array(),e:t.toUint8Array(),d:t.modInv(s).toUint8Array(),p:r.toUint8Array(),q:i.toUint8Array(),u:r.modInv(i).toUint8Array()}},validateParams:async function(e,t,r,i,a,s){const u=await Oe.getBigInteger();if(e=new u(e),i=new u(i),a=new u(a),!i.mul(a).equal(e))return!1;const c=new u(2);if(s=new u(s),!i.mul(s).mod(a).isOne())return!1;t=new u(t),r=new u(r);const h=new u(Math.floor(e.bitLength()/3)),n=await Ms(c,c.leftShift(h)),p=n.mul(r).mul(t);return!(!p.mod(i.dec()).equal(n)||!p.mod(a.dec()).equal(n))}}),ZU=Object.freeze({__proto__:null,encrypt:async function(e,t,r,i){const a=await Oe.getBigInteger();t=new a(t),r=new a(r),i=new a(i);const s=new a(V0(e,t.byteLength())),u=await Ms(new a(1),t.dec());return{c1:r.modExp(u,t).toUint8Array(),c2:i.modExp(u,t).imul(s).imod(t).toUint8Array()}},decrypt:async function(e,t,r,i,a){const s=await Oe.getBigInteger();return e=new s(e),t=new s(t),r=new s(r),i=new s(i),W0(e.modExp(i,r).modInv(r).imul(t).imod(r).toUint8Array("be",r.byteLength()),a)},validateParams:async function(e,t,r,i){const a=await Oe.getBigInteger();e=new a(e),t=new a(t),r=new a(r);const s=new a(1);if(t.lte(s)||t.gte(e))return!1;const u=new a(e.bitLength()),c=new a(1023);if(u.lt(c)||!t.modExp(e.dec(),e).isOne())return!1;let h=t;const n=new a(1),p=new a(2).leftShift(new a(17));for(;n.lt(p);){if(h=h.mul(t).imod(e),h.isOne())return!1;n.iinc()}i=new a(i);const d=new a(2),v=await Ms(d.leftShift(u.dec()),d.leftShift(u)),m=e.dec().imul(v).iadd(i);return!!r.equal(t.modExp(m,e))}});class Wa{constructor(t){if(t instanceof Wa)this.oid=t.oid;else if(Oe.isArray(t)||Oe.isUint8Array(t)){if((t=new Uint8Array(t))[0]===6){if(t[1]!==t.length-2)throw Error("Length mismatch in DER encoded oid");t=t.subarray(2)}this.oid=t}else this.oid=""}read(t){if(t.length>=1){const r=t[0];if(t.length>=1+r)return this.oid=t.subarray(1,1+r),1+this.oid.length}throw Error("Invalid oid")}write(){return Oe.concatUint8Array([new Uint8Array([this.oid.length]),this.oid])}toHex(){return Oe.uint8ArrayToHex(this.oid)}getName(){const t=this.toHex();if(he.curve[t])return he.write(he.curve,t);throw Error("Unknown curve object identifier.")}}function Qv(e,t){return e.keyPair({priv:t})}function qv(e,t){const r=e.keyPair({pub:t});if(r.validate().result!==!0)throw Error("Invalid elliptic public key");return r}async function Iu(e){if(!Nt.useIndutnyElliptic)throw Error("This curve is only supported in the full build of OpenPGP.js");const{default:t}=await kn(()=>import("./elliptic.min.779c7e7c.js"),["js/build/elliptic.min.779c7e7c.js","js/build/bn.min.560fdb8a.js"]);return new t.ec(e)}function nD(e){let t,r=0;const i=e[0];return i<192?([r]=e,t=1):i<255?(r=(e[0]-192<<8)+e[1]+192,t=2):i===255&&(r=Oe.readNumber(e.subarray(1,5)),t=5),{len:r,offset:t}}function Td(e){return e<192?new Uint8Array([e]):e>191&&e<8384?new Uint8Array([192+(e-192>>8),e-192&255]):Oe.concatUint8Array([new Uint8Array([255]),Oe.writeNumber(e,4)])}function QU(e){if(e<0||e>30)throw Error("Partial Length power must be between 1 and 30");return new Uint8Array([224+e])}function rD(e){return new Uint8Array([192|e])}function u5(e,t){return Oe.concatUint8Array([rD(e),Td(t)])}function xp(e){return[he.packet.literalData,he.packet.compressedData,he.packet.symmetricallyEncryptedData,he.packet.symEncryptedIntegrityProtectedData,he.packet.aeadEncryptedData].includes(e)}async function qU(e,t){const r=os(e);let i,a;try{const s=await r.peekBytes(2);if(!s||s.length<2||(128&s[0])==0)throw Error("Error during parsing. This message / key probably does not conform to a valid OpenPGP format.");const u=await r.readByte();let c,h,n=-1,p=-1;p=0,(64&u)!=0&&(p=1),p?n=63&u:(n=(63&u)>>2,h=3&u);const d=xp(n);let v,m=null;if(d){if(Oe.isStream(e)==="array"){const y=new Za;i=$i(y),m=y}else{const y=new gu;i=$i(y.writable),m=y.readable}a=t({tag:n,packet:m})}else m=[];do{if(p){const y=await r.readByte();if(v=!1,y<192)c=y;else if(y>=192&&y<224)c=(y-192<<8)+await r.readByte()+192;else if(y>223&&y<255){if(c=1<<(31&y),v=!0,!d)throw new TypeError("This packet type does not support partial lengths.")}else c=await r.readByte()<<24|await r.readByte()<<16|await r.readByte()<<8|await r.readByte()}else switch(h){case 0:c=await r.readByte();break;case 1:c=await r.readByte()<<8|await r.readByte();break;case 2:c=await r.readByte()<<24|await r.readByte()<<16|await r.readByte()<<8|await r.readByte();break;default:c=1/0}if(c>0){let y=0;for(;;){i&&await i.ready;const{done:b,value:k}=await r.read();if(b){if(c===1/0)break;throw Error("Unexpected end of packet")}const O=c===1/0?k:k.subarray(0,c-y);if(i?await i.write(O):m.push(O),y+=k.length,y>=c){r.unshift(k.subarray(c-y+k.length));break}}}}while(v);const g=await r.peekBytes(d?1/0:2);return i?(await i.ready,await i.close()):(m=Oe.concatUint8Array(m),await t({tag:n,packet:m})),!g||!g.length}catch(s){if(i)return await i.abort(s),!0;throw s}finally{i&&await a,r.releaseLock()}}class Er extends Error{constructor(...t){super(...t),Error.captureStackTrace&&Error.captureStackTrace(this,Er),this.name="UnsupportedError"}}class sy{constructor(t,r){this.tag=t,this.rawContent=r}write(){return this.rawContent}}const B_=Oe.getWebCrypto(),lv=Oe.getNodeCrypto(),rs={p256:"P-256",p384:"P-384",p521:"P-521"},vs=lv?lv.getCurves():[],Ys=lv?{secp256k1:vs.includes("secp256k1")?"secp256k1":void 0,p256:vs.includes("prime256v1")?"prime256v1":void 0,p384:vs.includes("secp384r1")?"secp384r1":void 0,p521:vs.includes("secp521r1")?"secp521r1":void 0,ed25519:vs.includes("ED25519")?"ED25519":void 0,curve25519:vs.includes("X25519")?"X25519":void 0,brainpoolP256r1:vs.includes("brainpoolP256r1")?"brainpoolP256r1":void 0,brainpoolP384r1:vs.includes("brainpoolP384r1")?"brainpoolP384r1":void 0,brainpoolP512r1:vs.includes("brainpoolP512r1")?"brainpoolP512r1":void 0}:{},Sp={p256:{oid:[6,8,42,134,72,206,61,3,1,7],keyType:he.publicKey.ecdsa,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:Ys.p256,web:rs.p256,payloadSize:32,sharedSize:256},p384:{oid:[6,5,43,129,4,0,34],keyType:he.publicKey.ecdsa,hash:he.hash.sha384,cipher:he.symmetric.aes192,node:Ys.p384,web:rs.p384,payloadSize:48,sharedSize:384},p521:{oid:[6,5,43,129,4,0,35],keyType:he.publicKey.ecdsa,hash:he.hash.sha512,cipher:he.symmetric.aes256,node:Ys.p521,web:rs.p521,payloadSize:66,sharedSize:528},secp256k1:{oid:[6,5,43,129,4,0,10],keyType:he.publicKey.ecdsa,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:Ys.secp256k1,payloadSize:32},ed25519:{oid:[6,9,43,6,1,4,1,218,71,15,1],keyType:he.publicKey.eddsa,hash:he.hash.sha512,node:!1,payloadSize:32},curve25519:{oid:[6,10,43,6,1,4,1,151,85,1,5,1],keyType:he.publicKey.ecdh,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:!1,payloadSize:32},brainpoolP256r1:{oid:[6,9,43,36,3,3,2,8,1,1,7],keyType:he.publicKey.ecdsa,hash:he.hash.sha256,cipher:he.symmetric.aes128,node:Ys.brainpoolP256r1,payloadSize:32},brainpoolP384r1:{oid:[6,9,43,36,3,3,2,8,1,1,11],keyType:he.publicKey.ecdsa,hash:he.hash.sha384,cipher:he.symmetric.aes192,node:Ys.brainpoolP384r1,payloadSize:48},brainpoolP512r1:{oid:[6,9,43,36,3,3,2,8,1,1,13],keyType:he.publicKey.ecdsa,hash:he.hash.sha512,cipher:he.symmetric.aes256,node:Ys.brainpoolP512r1,payloadSize:64}};class Is{constructor(t,r){try{(Oe.isArray(t)||Oe.isUint8Array(t))&&(t=new Wa(t)),t instanceof Wa&&(t=t.getName()),this.name=he.write(he.curve,t)}catch{throw new Er("Unknown curve")}r=r||Sp[this.name],this.keyType=r.keyType,this.oid=r.oid,this.hash=r.hash,this.cipher=r.cipher,this.node=r.node&&Sp[this.name],this.web=r.web&&Sp[this.name],this.payloadSize=r.payloadSize,this.web&&Oe.getWebCrypto()?this.type="web":this.node&&Oe.getNodeCrypto()?this.type="node":this.name==="curve25519"?this.type="curve25519":this.name==="ed25519"&&(this.type="ed25519")}async genKeyPair(){let t;switch(this.type){case"web":try{return await async function(i){const a=await B_.generateKey({name:"ECDSA",namedCurve:rs[i]},!0,["sign","verify"]),s=await B_.exportKey("jwk",a.privateKey),u=await B_.exportKey("jwk",a.publicKey);return{publicKey:aD(u),privateKey:bs(s.d)}}(this.name)}catch(i){Oe.printDebugError("Browser did not support generating ec key "+i.message);break}case"node":return async function(i){const a=lv.createECDH(Ys[i]);return await a.generateKeys(),{publicKey:new Uint8Array(a.getPublicKey()),privateKey:new Uint8Array(a.getPrivateKey())}}(this.name);case"curve25519":{const i=ns(32);i[0]=127&i[0]|64,i[31]&=248;const a=i.slice().reverse();return t=ts.box.keyPair.fromSecretKey(a),{publicKey:Oe.concatUint8Array([new Uint8Array([64]),t.publicKey]),privateKey:i}}case"ed25519":{const i=ns(32),a=ts.sign.keyPair.fromSeed(i);return{publicKey:Oe.concatUint8Array([new Uint8Array([64]),a.publicKey]),privateKey:i}}}return t=await(await Iu(this.name)).genKeyPair({entropy:Oe.uint8ArrayToString(ns(32))}),{publicKey:new Uint8Array(t.getPublic("array",!1)),privateKey:t.getPrivate().toArrayLike(Uint8Array)}}}async function iD(e,t,r,i){const a={p256:!0,p384:!0,p521:!0,secp256k1:!0,curve25519:e===he.publicKey.ecdh,brainpoolP256r1:!0,brainpoolP384r1:!0,brainpoolP512r1:!0},s=t.getName();if(!a[s])return!1;if(s==="curve25519"){i=i.slice().reverse();const{publicKey:c}=ts.box.keyPair.fromSecretKey(i);r=new Uint8Array(r);const h=new Uint8Array([64,...c]);return!!Oe.equalsUint8Array(h,r)}const u=await Iu(s);try{r=qv(u,r).getPublic()}catch{return!1}return!!Qv(u,i).getPublic().eq(r)}function aD(e){const t=bs(e.x),r=bs(e.y),i=new Uint8Array(t.length+r.length+1);return i[0]=4,i.set(t,1),i.set(r,t.length+1),i}function em(e,t,r){const i=e,a=r.slice(1,i+1),s=r.slice(i+1,2*i+1);return{kty:"EC",crv:t,x:Fi(a,!0),y:Fi(s,!0),ext:!0}}function sD(e,t,r,i){const a=em(e,t,r);return a.d=Fi(i,!0),a}const uv=Oe.getWebCrypto(),$u=Oe.getNodeCrypto();async function c5(e,t,r,i,a,s){const u=new Is(e);if(r&&!Oe.isStream(r)){const c={publicKey:i,privateKey:a};switch(u.type){case"web":try{return await async function(h,n,p,d){const v=h.payloadSize,m=sD(h.payloadSize,rs[h.name],d.publicKey,d.privateKey),g=await uv.importKey("jwk",m,{name:"ECDSA",namedCurve:rs[h.name],hash:{name:he.read(he.webHash,h.hash)}},!1,["sign"]),y=new Uint8Array(await uv.sign({name:"ECDSA",namedCurve:rs[h.name],hash:{name:he.read(he.webHash,n)}},g,p));return{r:y.slice(0,v),s:y.slice(v,v<<1)}}(u,t,r,c)}catch(h){if(u.name!=="p521"&&(h.name==="DataError"||h.name==="OperationError"))throw h;Oe.printDebugError("Browser did not support signing: "+h.message)}break;case"node":{const h=await async function(n,p,d,v){const m=$u.createSign(he.read(he.hash,p));m.write(d),m.end();const g=eV.encode({version:1,parameters:n.oid,privateKey:Array.from(v.privateKey),publicKey:{unused:0,data:Array.from(v.publicKey)}},"pem",{label:"EC PRIVATE KEY"});return oD.decode(m.sign(g),"der")}(u,t,r,c);return{r:h.r.toArrayLike(Uint8Array),s:h.s.toArrayLike(Uint8Array)}}}}return async function(c,h,n){const p=await Iu(c.name),d=Qv(p,n),v=d.sign(h);return{r:v.r.toArrayLike(Uint8Array),s:v.s.toArrayLike(Uint8Array)}}(u,s,a)}async function d5(e,t,r,i,a,s){const u=new Is(e);if(i&&!Oe.isStream(i))switch(u.type){case"web":try{return await async function(c,h,{r:n,s:p},d,v){const m=em(c.payloadSize,rs[c.name],v),g=await uv.importKey("jwk",m,{name:"ECDSA",namedCurve:rs[c.name],hash:{name:he.read(he.webHash,c.hash)}},!1,["verify"]),y=Oe.concatUint8Array([n,p]).buffer;return uv.verify({name:"ECDSA",namedCurve:rs[c.name],hash:{name:he.read(he.webHash,h)}},g,y,d)}(u,t,r,i,a)}catch(c){if(u.name!=="p521"&&(c.name==="DataError"||c.name==="OperationError"))throw c;Oe.printDebugError("Browser did not support verifying: "+c.message)}break;case"node":return async function(c,h,{r:n,s:p},d,v){const{default:m}=await kn(()=>import("./bn.min.560fdb8a.js"),[]),g=$u.createVerify(he.read(he.hash,h));g.write(d),g.end();const y=nV.encode({algorithm:{algorithm:[1,2,840,10045,2,1],parameters:c.oid},subjectPublicKey:{unused:0,data:Array.from(v)}},"pem",{label:"PUBLIC KEY"}),b=oD.encode({r:new m(n),s:new m(p)},"der");try{return g.verify(y,b)}catch{return!1}}(u,t,r,i,a)}return async function(c,h,n,p){const d=await Iu(c.name);return qv(d,p).verify(n,h)}(u,r,t===void 0?i:s,a)}const tm=void 0,oD=$u?tm.define("ECDSASignature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())}):void 0,eV=$u?tm.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").explicit(0).optional().any(),this.key("publicKey").explicit(1).optional().bitstr())}):void 0,tV=$u?tm.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())}):void 0,nV=$u?tm.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(tV),this.key("subjectPublicKey").bitstr())}):void 0;var rV=Object.freeze({__proto__:null,sign:c5,verify:d5,validateParams:async function(e,t,r){const i=new Is(e);if(i.keyType!==he.publicKey.ecdsa)return!1;switch(i.type){case"web":case"node":{const a=ns(8),s=he.hash.sha256,u=await yu.digest(s,a);try{const c=await c5(e,s,a,t,r,u);return await d5(e,s,c,a,t,u)}catch{return!1}}default:return iD(he.publicKey.ecdsa,e,t,r)}}});ts.hash=e=>new Uint8Array(Jv().update(e).digest());var iV=Object.freeze({__proto__:null,sign:async function(e,t,r,i,a,s){if(yu.getHashByteLength(t)=0;--p)for(let d=c-1;d>=0;--d)h[1]=c*p+(d+1),n[0]=s[0]^h[0],n[1]=s[1]^h[1],n[2]=u[2*d],n[3]=u[2*d+1],n=cv(r.decrypt(dv(n))),s=n.subarray(0,2),u[2*d]=n[2],u[2*d+1]=n[3];if(s[0]===i[0]&&s[1]===i[1])return dv(u);throw Error("Key Data Integrity failed")}function cv(e){const{length:t}=e,r=function(s){if(Oe.isString(s)){const{length:u}=s,c=new ArrayBuffer(u),h=new Uint8Array(c);for(let n=0;n0){const r=e[t-1];if(r>=1){const i=e.subarray(t-r),a=new Uint8Array(r).fill(r);if(Oe.equalsUint8Array(i,a))return e.subarray(0,t-r)}}throw Error("Invalid padding")}var sV=Object.freeze({__proto__:null,encode:cD,decode:dD});const to=Oe.getWebCrypto(),fD=Oe.getNodeCrypto();function f5(e,t,r,i){return Oe.concatUint8Array([t.write(),new Uint8Array([e]),r.write(),Oe.stringToUint8Array("Anonymous Sender "),i.subarray(0,20)])}async function h5(e,t,r,i,a=!1,s=!1){let u;if(a){for(u=0;u=0&&t[u]===0;u--);t=t.subarray(0,u+1)}return(await yu.digest(e,Oe.concatUint8Array([new Uint8Array([0,0,0,1]),t,i]))).subarray(0,r)}async function oV(e,t){switch(e.type){case"curve25519":{const r=ns(32),{secretKey:i,sharedKey:a}=await hD(e,t,null,r);let{publicKey:s}=ts.box.keyPair.fromSecretKey(i);return s=Oe.concatUint8Array([new Uint8Array([64]),s]),{publicKey:s,sharedKey:a}}case"web":if(e.web&&Oe.getWebCrypto())try{return await async function(r,i){const a=em(r.payloadSize,r.web.web,i);let s=to.generateKey({name:"ECDH",namedCurve:r.web.web},!0,["deriveKey","deriveBits"]),u=to.importKey("jwk",a,{name:"ECDH",namedCurve:r.web.web},!1,[]);[s,u]=await Promise.all([s,u]);let c=to.deriveBits({name:"ECDH",namedCurve:r.web.web,public:u},s.privateKey,r.web.sharedSize),h=to.exportKey("jwk",s.publicKey);[c,h]=await Promise.all([c,h]);const n=new Uint8Array(c);return{publicKey:new Uint8Array(aD(h)),sharedKey:n}}(e,t)}catch(r){Oe.printDebugError(r)}break;case"node":return async function(r,i){const a=fD.createECDH(r.node.node);a.generateKeys();const s=new Uint8Array(a.computeSecret(i));return{publicKey:new Uint8Array(a.getPublicKey()),sharedKey:s}}(e,t)}return async function(r,i){const a=await Iu(r.name),s=await r.genKeyPair();i=qv(a,i);const u=Qv(a,s.privateKey),c=s.publicKey,h=u.derive(i.getPublic()),n=a.curve.p.byteLength(),p=h.toArrayLike(Uint8Array,"be",n);return{publicKey:c,sharedKey:p}}(e,t)}async function hD(e,t,r,i){if(i.length!==e.payloadSize){const a=new Uint8Array(e.payloadSize);a.set(i,e.payloadSize-i.length),i=a}switch(e.type){case"curve25519":{const a=i.slice().reverse();return{secretKey:a,sharedKey:ts.scalarMult(a,t.subarray(1))}}case"web":if(e.web&&Oe.getWebCrypto())try{return await async function(a,s,u,c){const h=sD(a.payloadSize,a.web.web,u,c);let n=to.importKey("jwk",h,{name:"ECDH",namedCurve:a.web.web},!0,["deriveKey","deriveBits"]);const p=em(a.payloadSize,a.web.web,s);let d=to.importKey("jwk",p,{name:"ECDH",namedCurve:a.web.web},!0,[]);[n,d]=await Promise.all([n,d]);let v=to.deriveBits({name:"ECDH",namedCurve:a.web.web,public:d},n,a.web.sharedSize),m=to.exportKey("jwk",n);[v,m]=await Promise.all([v,m]);const g=new Uint8Array(v);return{secretKey:bs(m.d),sharedKey:g}}(e,t,r,i)}catch(a){Oe.printDebugError(a)}break;case"node":return async function(a,s,u){const c=fD.createECDH(a.node.node);c.setPrivateKey(u);const h=new Uint8Array(c.computeSecret(s));return{secretKey:new Uint8Array(c.getPrivateKey()),sharedKey:h}}(e,t,i)}return async function(a,s,u){const c=await Iu(a.name);s=qv(c,s),u=Qv(c,u);const h=new Uint8Array(u.getPrivate()),n=u.derive(s.getPublic()),p=c.curve.p.byteLength(),d=n.toArrayLike(Uint8Array,"be",p);return{secretKey:h,sharedKey:d}}(e,t,i)}var lV=Object.freeze({__proto__:null,validateParams:async function(e,t,r){return iD(he.publicKey.ecdh,e,t,r)},encrypt:async function(e,t,r,i,a){const s=cD(r),u=new Is(e),{publicKey:c,sharedKey:h}=await oV(u,i),n=f5(he.publicKey.ecdh,e,t,a),{keySize:p}=lo(t.cipher);return{publicKey:c,wrappedKey:lD(await h5(t.hash,h,p,n),s)}},decrypt:async function(e,t,r,i,a,s,u){const c=new Is(e),{sharedKey:h}=await hD(c,r,a,s),n=f5(he.publicKey.ecdh,e,t,u),{keySize:p}=lo(t.cipher);let d;for(let v=0;v<3;v++)try{return dD(uD(await h5(t.hash,h,p,n,v===1,v===2),i))}catch(m){d=m}throw d}}),uV=Object.freeze({__proto__:null,Curve:Is,ecdh:lV,ecdsa:rV,eddsa:iV,generate:async function(e){const t=await Oe.getBigInteger();e=new Is(e);const r=await e.genKeyPair(),i=new t(r.publicKey).toUint8Array(),a=new t(r.privateKey).toUint8Array("be",e.payloadSize);return{oid:e.oid,Q:i,secret:a,hash:e.hash,cipher:e.cipher}},getPreferredHashAlgo:function(e){return Sp[he.write(he.curve,e.toHex())].hash}}),cV=Object.freeze({__proto__:null,sign:async function(e,t,r,i,a,s){const u=await Oe.getBigInteger(),c=new u(1);let h,n,p,d;i=new u(i),a=new u(a),r=new u(r),s=new u(s),r=r.mod(i),s=s.mod(a);const v=new u(t.subarray(0,a.byteLength())).mod(a);for(;;){if(h=await Ms(c,a),n=r.modExp(h,i).imod(a),n.isZero())continue;const m=s.mul(n).imod(a);if(d=v.add(m).imod(a),p=h.modInv(a).imul(d).imod(a),!p.isZero())break}return{r:n.toUint8Array("be",a.byteLength()),s:p.toUint8Array("be",a.byteLength())}},verify:async function(e,t,r,i,a,s,u,c){const h=await Oe.getBigInteger(),n=new h(0);if(t=new h(t),r=new h(r),s=new h(s),u=new h(u),a=new h(a),c=new h(c),t.lte(n)||t.gte(u)||r.lte(n)||r.gte(u))return Oe.printDebug("invalid DSA Signature"),!1;const p=new h(i.subarray(0,u.byteLength())).imod(u),d=r.modInv(u);if(d.isZero())return Oe.printDebug("invalid DSA Signature"),!1;a=a.mod(s),c=c.mod(s);const v=p.mul(d).imod(u),m=t.mul(d).imod(u),g=a.modExp(v,s),y=c.modExp(m,s);return g.mul(y).imod(s).imod(u).equal(t)},validateParams:async function(e,t,r,i,a){const s=await Oe.getBigInteger();e=new s(e),t=new s(t),r=new s(r),i=new s(i);const u=new s(1);if(r.lte(u)||r.gte(e)||!e.dec().mod(t).isZero()||!r.modExp(t,e).isOne())return!1;const c=new s(t.bitLength()),h=new s(150);if(c.lt(h)||!await eD(t,null,32))return!1;a=new s(a);const n=new s(2),p=await Ms(n.leftShift(c.dec()),n.leftShift(c)),d=t.mul(p).add(a);return!!i.equal(r.modExp(d,e))}}),tr={rsa:JU,elgamal:ZU,elliptic:uV,dsa:cV,nacl:ts},dV=Object.freeze({__proto__:null,parseSignatureParams:function(e,t){let r=0;switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:case he.publicKey.rsaSign:return{s:Oe.readMPI(t.subarray(r))};case he.publicKey.dsa:case he.publicKey.ecdsa:{const i=Oe.readMPI(t.subarray(r));return r+=i.length+2,{r:i,s:Oe.readMPI(t.subarray(r))}}case he.publicKey.eddsa:{let i=Oe.readMPI(t.subarray(r));r+=i.length+2,i=Oe.leftPad(i,32);let a=Oe.readMPI(t.subarray(r));return a=Oe.leftPad(a,32),{r:i,s:a}}default:throw new Er("Unknown signature algorithm.")}},verify:async function(e,t,r,i,a,s){switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:case he.publicKey.rsaSign:{const{n:u,e:c}=i,h=Oe.leftPad(r.s,u.length);return tr.rsa.verify(t,a,h,u,c,s)}case he.publicKey.dsa:{const{g:u,p:c,q:h,y:n}=i,{r:p,s:d}=r;return tr.dsa.verify(t,p,d,s,u,c,h,n)}case he.publicKey.ecdsa:{const{oid:u,Q:c}=i,h=new tr.elliptic.Curve(u).payloadSize,n=Oe.leftPad(r.r,h),p=Oe.leftPad(r.s,h);return tr.elliptic.ecdsa.verify(u,t,{r:n,s:p},a,c,s)}case he.publicKey.eddsa:{const{oid:u,Q:c}=i;return tr.elliptic.eddsa.verify(u,t,r,a,c,s)}default:throw Error("Unknown signature algorithm.")}},sign:async function(e,t,r,i,a,s){if(!r||!i)throw Error("Missing key parameters");switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:case he.publicKey.rsaSign:{const{n:u,e:c}=r,{d:h,p:n,q:p,u:d}=i;return{s:await tr.rsa.sign(t,a,u,c,h,n,p,d,s)}}case he.publicKey.dsa:{const{g:u,p:c,q:h}=r,{x:n}=i;return tr.dsa.sign(t,s,u,c,h,n)}case he.publicKey.elgamal:throw Error("Signing with Elgamal is not defined in the OpenPGP standard.");case he.publicKey.ecdsa:{const{oid:u,Q:c}=r,{d:h}=i;return tr.elliptic.ecdsa.sign(u,t,a,c,h,s)}case he.publicKey.eddsa:{const{oid:u,Q:c}=r,{seed:h}=i;return tr.elliptic.eddsa.sign(u,t,a,c,h,s)}default:throw Error("Unknown signature algorithm.")}}});class p5{constructor(t){t=t===void 0?new Uint8Array([]):Oe.isString(t)?Oe.stringToUint8Array(t):new Uint8Array(t),this.data=t}read(t){if(t.length>=1){const r=t[0];if(t.length>=1+r)return this.data=t.subarray(1,1+r),1+this.data.length}throw Error("Invalid symmetric key")}write(){return Oe.concatUint8Array([new Uint8Array([this.data.length]),this.data])}}class v5{constructor(t){if(t){const{hash:r,cipher:i}=t;this.hash=r,this.cipher=i}else this.hash=null,this.cipher=null}read(t){if(t.length<4||t[0]!==3||t[1]!==1)throw Error("Cannot read KDFParams");return this.hash=t[2],this.cipher=t[3],4}write(){return new Uint8Array([3,1,this.hash,this.cipher])}}function F_(e){try{e.getName()}catch{throw new Er("Unknown curve OID")}}var fV=Object.freeze({__proto__:null,publicKeyEncrypt:async function(e,t,r,i){switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:{const{n:a,e:s}=t;return{c:await tr.rsa.encrypt(r,a,s)}}case he.publicKey.elgamal:{const{p:a,g:s,y:u}=t;return tr.elgamal.encrypt(r,a,s,u)}case he.publicKey.ecdh:{const{oid:a,Q:s,kdfParams:u}=t,{publicKey:c,wrappedKey:h}=await tr.elliptic.ecdh.encrypt(a,u,r,s,i);return{V:c,C:new p5(h)}}default:return[]}},publicKeyDecrypt:async function(e,t,r,i,a,s){switch(e){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaEncrypt:{const{c:u}=i,{n:c,e:h}=t,{d:n,p,q:d,u:v}=r;return tr.rsa.decrypt(u,c,h,n,p,d,v,s)}case he.publicKey.elgamal:{const{c1:u,c2:c}=i,h=t.p,n=r.x;return tr.elgamal.decrypt(u,c,h,n,s)}case he.publicKey.ecdh:{const{oid:u,Q:c,kdfParams:h}=t,{d:n}=r,{V:p,C:d}=i;return tr.elliptic.ecdh.decrypt(u,h,p,d.data,c,n,a)}default:throw Error("Unknown public key encryption algorithm.")}},parsePublicKeyParams:function(e,t){let r=0;switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=Oe.readMPI(t.subarray(r));return r+=a.length+2,{read:r,publicParams:{n:i,e:a}}}case he.publicKey.dsa:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=Oe.readMPI(t.subarray(r));r+=a.length+2;const s=Oe.readMPI(t.subarray(r));r+=s.length+2;const u=Oe.readMPI(t.subarray(r));return r+=u.length+2,{read:r,publicParams:{p:i,q:a,g:s,y:u}}}case he.publicKey.elgamal:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=Oe.readMPI(t.subarray(r));r+=a.length+2;const s=Oe.readMPI(t.subarray(r));return r+=s.length+2,{read:r,publicParams:{p:i,g:a,y:s}}}case he.publicKey.ecdsa:{const i=new Wa;r+=i.read(t),F_(i);const a=Oe.readMPI(t.subarray(r));return r+=a.length+2,{read:r,publicParams:{oid:i,Q:a}}}case he.publicKey.eddsa:{const i=new Wa;r+=i.read(t),F_(i);let a=Oe.readMPI(t.subarray(r));return r+=a.length+2,a=Oe.leftPad(a,33),{read:r,publicParams:{oid:i,Q:a}}}case he.publicKey.ecdh:{const i=new Wa;r+=i.read(t),F_(i);const a=Oe.readMPI(t.subarray(r));r+=a.length+2;const s=new v5;return r+=s.read(t.subarray(r)),{read:r,publicParams:{oid:i,Q:a,kdfParams:s}}}default:throw new Er("Unknown public key encryption algorithm.")}},parsePrivateKeyParams:function(e,t,r){let i=0;switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:{const a=Oe.readMPI(t.subarray(i));i+=a.length+2;const s=Oe.readMPI(t.subarray(i));i+=s.length+2;const u=Oe.readMPI(t.subarray(i));i+=u.length+2;const c=Oe.readMPI(t.subarray(i));return i+=c.length+2,{read:i,privateParams:{d:a,p:s,q:u,u:c}}}case he.publicKey.dsa:case he.publicKey.elgamal:{const a=Oe.readMPI(t.subarray(i));return i+=a.length+2,{read:i,privateParams:{x:a}}}case he.publicKey.ecdsa:case he.publicKey.ecdh:{const a=new Is(r.oid);let s=Oe.readMPI(t.subarray(i));return i+=s.length+2,s=Oe.leftPad(s,a.payloadSize),{read:i,privateParams:{d:s}}}case he.publicKey.eddsa:{const a=new Is(r.oid);let s=Oe.readMPI(t.subarray(i));return i+=s.length+2,s=Oe.leftPad(s,a.payloadSize),{read:i,privateParams:{seed:s}}}default:throw new Er("Unknown public key encryption algorithm.")}},parseEncSessionKeyParams:function(e,t){let r=0;switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:return{c:Oe.readMPI(t.subarray(r))};case he.publicKey.elgamal:{const i=Oe.readMPI(t.subarray(r));return r+=i.length+2,{c1:i,c2:Oe.readMPI(t.subarray(r))}}case he.publicKey.ecdh:{const i=Oe.readMPI(t.subarray(r));r+=i.length+2;const a=new p5;return a.read(t.subarray(r)),{V:i,C:a}}default:throw new Er("Unknown public key encryption algorithm.")}},serializeParams:function(e,t){const r=Object.keys(t).map(i=>{const a=t[i];return Oe.isUint8Array(a)?Oe.uint8ArrayToMPI(a):a.write()});return Oe.concatUint8Array(r)},generateParams:function(e,t,r){switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:return tr.rsa.generate(t,65537).then(({n:i,e:a,d:s,p:u,q:c,u:h})=>({privateParams:{d:s,p:u,q:c,u:h},publicParams:{n:i,e:a}}));case he.publicKey.ecdsa:return tr.elliptic.generate(r).then(({oid:i,Q:a,secret:s})=>({privateParams:{d:s},publicParams:{oid:new Wa(i),Q:a}}));case he.publicKey.eddsa:return tr.elliptic.generate(r).then(({oid:i,Q:a,secret:s})=>({privateParams:{seed:s},publicParams:{oid:new Wa(i),Q:a}}));case he.publicKey.ecdh:return tr.elliptic.generate(r).then(({oid:i,Q:a,secret:s,hash:u,cipher:c})=>({privateParams:{d:s},publicParams:{oid:new Wa(i),Q:a,kdfParams:new v5({hash:u,cipher:c})}}));case he.publicKey.dsa:case he.publicKey.elgamal:throw Error("Unsupported algorithm for key generation.");default:throw Error("Unknown public key algorithm.")}},validateParams:async function(e,t,r){if(!t||!r)throw Error("Missing key parameters");switch(e){case he.publicKey.rsaEncrypt:case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:{const{n:i,e:a}=t,{d:s,p:u,q:c,u:h}=r;return tr.rsa.validateParams(i,a,s,u,c,h)}case he.publicKey.dsa:{const{p:i,q:a,g:s,y:u}=t,{x:c}=r;return tr.dsa.validateParams(i,a,s,u,c)}case he.publicKey.elgamal:{const{p:i,g:a,y:s}=t,{x:u}=r;return tr.elgamal.validateParams(i,a,s,u)}case he.publicKey.ecdsa:case he.publicKey.ecdh:{const i=tr.elliptic[he.read(he.publicKey,e)],{oid:a,Q:s}=t,{d:u}=r;return i.validateParams(a,s,u)}case he.publicKey.eddsa:{const{oid:i,Q:a}=t,{seed:s}=r;return tr.elliptic.eddsa.validateParams(i,a,s)}default:throw Error("Unknown public key algorithm.")}},getPrefixRandom:async function(e){const{blockSize:t}=lo(e),r=await ns(t),i=new Uint8Array([r[r.length-2],r[r.length-1]]);return Oe.concat([r,i])},generateSessionKey:function(e){const{keySize:t}=lo(e);return ns(t)},getAEADMode:function(e){const t=he.read(he.aead,e);return q6[t]},getCipher:lo});const Kt={cipher:Pd,hash:yu,mode:q6,publicKey:tr,signature:dV,random:GU,pkcs1:XU,pkcs5:sV,aesKW:aV};Object.assign(Kt,fV);var Ad=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function pD(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)}const vD={arraySet:function(e,t,r,i,a){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+i),a);else for(let s=0;s=0;)e[t]=0}const _V=0,wD=1,gV=2,H0=29,Md=256,ud=Md+1+H0,du=30,G0=19,y5=2*ud+1,Xo=15,z_=16,yV=7,Y0=256,CD=16,xD=17,SD=18,ly=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],kp=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],bV=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],b5=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ys=Array(2*(ud+2));Ru(ys);const Zc=Array(2*du);Ru(Zc);const cd=Array(512);Ru(cd);const dd=Array(256);Ru(dd);const X0=Array(H0);Ru(X0);const hv=Array(du);function j_(e,t,r,i,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=a,this.has_stree=e&&e.length}let w5,C5,x5;function U_(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function kD(e){return e<256?cd[e]:cd[256+(e>>>7)]}function fd(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Ei(e,t,r){e.bi_valid>z_-r?(e.bi_buf|=t<>z_-e.bi_valid,e.bi_valid+=r-z_):(e.bi_buf|=t<>>=1,r<<=1;while(--t>0);return r>>>1}function DD(e,t,r){const i=Array(Xo+1);let a,s,u=0;for(a=1;a<=Xo;a++)i[a]=u=u+r[a-1]<<1;for(s=0;s<=t;s++){const c=e[2*s+1];c!==0&&(e[2*s]=ED(i[c]++,c))}}function OD(e){let t;for(t=0;t8?fd(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function S5(e,t,r,i){const a=2*t,s=2*r;return e[a]>1;u>=1;u--)V_(e,r,u);h=s;do u=e.heap[1],e.heap[1]=e.heap[e.heap_len--],V_(e,r,1),c=e.heap[1],e.heap[--e.heap_max]=u,e.heap[--e.heap_max]=c,r[2*h]=r[2*u]+r[2*c],e.depth[h]=(e.depth[u]>=e.depth[c]?e.depth[u]:e.depth[c])+1,r[2*u+1]=r[2*c+1]=h,e.heap[1]=h++,V_(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(p,d){const v=d.dyn_tree,m=d.max_code,g=d.stat_desc.static_tree,y=d.stat_desc.has_stree,b=d.stat_desc.extra_bits,k=d.stat_desc.extra_base,O=d.stat_desc.max_length;let S,x,E,w,T,M,A=0;for(w=0;w<=Xo;w++)p.bl_count[w]=0;for(v[2*p.heap[p.heap_max]+1]=0,S=p.heap_max+1;SO&&(w=O,A++),v[2*x+1]=w,x>m||(p.bl_count[w]++,T=0,x>=k&&(T=b[x-k]),M=v[2*x],p.opt_len+=M*(w+T),y&&(p.static_len+=M*(g[2*x+1]+T)));if(A!==0){do{for(w=O-1;p.bl_count[w]===0;)w--;p.bl_count[w]--,p.bl_count[w+1]+=2,p.bl_count[O]--,A-=2}while(A>0);for(w=O;w!==0;w--)for(x=p.bl_count[w];x!==0;)E=p.heap[--S],E>m||(v[2*E+1]!==w&&(p.opt_len+=(w-v[2*E+1])*v[2*E],v[2*E+1]=w),x--)}}(e,t),DD(r,n,e.bl_count)}function E5(e,t,r){let i,a,s=-1,u=t[1],c=0,h=7,n=4;for(u===0&&(h=138,n=3),t[2*(r+1)+1]=65535,i=0;i<=r;i++)a=u,u=t[2*(i+1)+1],++c>=7;a=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)}function xV(e,t,r,i){let a,s,u=0;e.level>0?(e.strm.data_type===bD&&(e.strm.data_type=function(c){let h,n=4093624447;for(h=0;h<=31;h++,n>>>=1)if(1&n&&c.dyn_ltree[2*h]!==0)return _5;if(c.dyn_ltree[18]!==0||c.dyn_ltree[20]!==0||c.dyn_ltree[26]!==0)return g5;for(h=32;h=3&&c.bl_tree[2*b5[h]+1]===0;h--);return c.opt_len+=3*(h+1)+5+5+4,h}(e),a=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=a&&(a=s)):a=s=r+5,r+4<=a&&t!==-1?TD(e,t,r,i):e.strategy===yD||s===a?(Ei(e,(wD<<1)+(i?1:0),3),k5(e,ys,Zc)):(Ei(e,(gV<<1)+(i?1:0),3),function(c,h,n,p){let d;for(Ei(c,h-257,5),Ei(c,n-1,5),Ei(c,p-4,4),d=0;d>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,t===0?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(dd[r]+Md+1)]++,e.dyn_dtree[2*kD(t)]++),e.last_lit===e.lit_bufsize-1}function hd(e,t,r,i){let a=65535&e|0,s=e>>>16&65535|0,u=0;for(;r!==0;){u=r>2e3?2e3:r,r-=u;do a=a+t[i++]|0,s=s+a|0;while(--u);a%=65521,s%=65521}return a|s<<16|0}const SV=function(){let e;const t=[];for(let r=0;r<256;r++){e=r;for(let i=0;i<8;i++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();function Tr(e,t,r,i){const a=SV,s=i+r;e^=-1;for(let u=i;u>>8^a[255&(e^t[u])];return-1^e}var pd={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};const kV=9,An=3,no=258,_a=no+An+1,EV=32,pv=42,uy=69,Ep=73,Dp=91,Op=103,Jo=113,zc=666,Ar=1,Qc=2,Zo=3,fu=4,DV=3;function ro(e,t){return e.msg=pd[t],t}function P5(e){return(e<<1)-(e>4?9:0)}function Qs(e){let t=e.length;for(;--t>=0;)e[t]=0}function Xs(e){const t=e.state;let r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(is(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function Vr(e,t){xV(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Xs(e.strm)}function Rn(e,t){e.pending_buf[e.pending++]=t}function kc(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function OV(e,t,r,i){let a=e.avail_in;return a>i&&(a=i),a===0?0:(e.avail_in-=a,is(t,e.input,e.next_in,a,r),e.state.wrap===1?e.adler=hd(e.adler,t,a,r):e.state.wrap===2&&(e.adler=Tr(e.adler,t,a,r)),e.next_in+=a,e.total_in+=a,a)}function AD(e,t){let r,i,a=e.max_chain_length,s=e.strstart,u=e.prev_length,c=e.nice_match;const h=e.strstart>e.w_size-_a?e.strstart-(e.w_size-_a):0,n=e.window,p=e.w_mask,d=e.prev,v=e.strstart+no;let m=n[s+u-1],g=n[s+u];e.prev_length>=e.good_match&&(a>>=2),c>e.lookahead&&(c=e.lookahead);do if(r=t,n[r+u]===g&&n[r+u-1]===m&&n[r]===n[s]&&n[++r]===n[s+1]){s+=2,r++;do;while(n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&n[++s]===n[++r]&&su){if(e.match_start=t,u=i,i>=c)break;m=n[s+u-1],g=n[s+u]}}while((t=d[t&p])>h&&--a!=0);return u<=e.lookahead?u:e.lookahead}function fl(e){const t=e.w_size;let r,i,a,s,u;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-_a)){is(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=t?a-t:0;while(--i);i=t,r=i;do a=e.prev[--r],e.prev[r]=a>=t?a-t:0;while(--i);s+=t}if(e.strm.avail_in===0)break;if(i=OV(e.strm,e.window,e.strstart+e.lookahead,s),e.lookahead+=i,e.lookahead+e.insert>=An)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=An&&(e.ins_h=(e.ins_h<=An)if(i=uo(e,e.strstart-e.match_start,e.match_length-An),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=An){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=An&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=An-1)),e.prev_length>=An&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-An,i=uo(e,e.strstart-1-e.prev_match,e.prev_length-An),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(fl(e),e.lookahead===0&&t===as)return Ar;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;const i=e.block_start+r;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Vr(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-_a&&(Vr(e,!1),e.strm.avail_out===0))return Ar}return e.insert=0,t===Ir?(Vr(e,!0),e.strm.avail_out===0?Zo:fu):(e.strstart>e.block_start&&(Vr(e,!1),e.strm.avail_out),Ar)}),new Na(4,4,8,4,K_),new Na(4,5,16,8,K_),new Na(4,6,32,32,K_),new Na(4,4,16,16,Yl),new Na(8,16,32,32,Yl),new Na(8,16,128,128,Yl),new Na(8,32,128,256,Yl),new Na(32,128,258,1024,Yl),new Na(32,258,258,4096,Yl)];class PV{constructor(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=bu,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ra(1146),this.dyn_dtree=new ra(122),this.bl_tree=new ra(78),Qs(this.dyn_ltree),Qs(this.dyn_dtree),Qs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ra(16),this.heap=new ra(573),Qs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ra(573),Qs(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}}function TV(e){const t=function(r){let i;return r&&r.state?(r.total_in=r.total_out=0,r.data_type=bD,i=r.state,i.pending=0,i.pending_out=0,i.wrap<0&&(i.wrap=-i.wrap),i.status=i.wrap?pv:Jo,r.adler=i.wrap===2?0:1,i.last_flush=as,wV(i),Un):ro(r,yr)}(e);return t===Un&&function(r){r.window_size=2*r.w_size,Qs(r.head),r.max_lazy_match=jc[r.level].max_lazy,r.good_match=jc[r.level].good_length,r.nice_match=jc[r.level].nice_length,r.max_chain_length=jc[r.level].max_chain,r.strstart=0,r.block_start=0,r.lookahead=0,r.insert=0,r.match_length=r.prev_length=An-1,r.match_available=0,r.ins_h=0}(e.state),t}function AV(e,t){let r,i,a,s;if(!e||!e.state||t>oy||t<0)return e?ro(e,yr):yr;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===zc&&t!==Ir)return ro(e,e.avail_out===0?Jc:yr);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===pv)if(i.wrap===2)e.adler=0,Rn(i,31),Rn(i,139),Rn(i,8),i.gzhead?(Rn(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),Rn(i,255&i.gzhead.time),Rn(i,i.gzhead.time>>8&255),Rn(i,i.gzhead.time>>16&255),Rn(i,i.gzhead.time>>24&255),Rn(i,i.level===9?2:i.strategy>=Yh||i.level<2?4:0),Rn(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(Rn(i,255&i.gzhead.extra.length),Rn(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Tr(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=uy):(Rn(i,0),Rn(i,0),Rn(i,0),Rn(i,0),Rn(i,0),Rn(i,i.level===9?2:i.strategy>=Yh||i.level<2?4:0),Rn(i,DV),i.status=Jo);else{let c=bu+(i.w_bits-8<<4)<<8,h=-1;h=i.strategy>=Yh||i.level<2?0:i.level<6?1:i.level===6?2:3,c|=h<<6,i.strstart!==0&&(c|=EV),c+=31-c%31,i.status=Jo,kc(i,c),i.strstart!==0&&(kc(i,e.adler>>>16),kc(i,65535&e.adler)),e.adler=1}if(i.status===uy)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),Xs(e),a=i.pending,i.pending!==i.pending_buf_size));)Rn(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Ep)}else i.status=Ep;if(i.status===Ep)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),Xs(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexa&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),s===0&&(i.gzindex=0,i.status=Dp)}else i.status=Dp;if(i.status===Dp)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),Xs(e),a=i.pending,i.pending===i.pending_buf_size)){s=1;break}s=i.gzindexa&&(e.adler=Tr(e.adler,i.pending_buf,i.pending-a,a)),s===0&&(i.status=Op)}else i.status=Op;if(i.status===Op&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Xs(e),i.pending+2<=i.pending_buf_size&&(Rn(i,255&e.adler),Rn(i,e.adler>>8&255),e.adler=0,i.status=Jo)):i.status=Jo),i.pending!==0){if(Xs(e),e.avail_out===0)return i.last_flush=-1,Un}else if(e.avail_in===0&&P5(t)<=P5(r)&&t!==Ir)return ro(e,Jc);if(i.status===zc&&e.avail_in!==0)return ro(e,Jc);if(e.avail_in!==0||i.lookahead!==0||t!==as&&i.status!==zc){var u=i.strategy===Yh?function(c,h){let n;for(;;){if(c.lookahead===0&&(fl(c),c.lookahead===0)){if(h===as)return Ar;break}if(c.match_length=0,n=uo(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++,n&&(Vr(c,!1),c.strm.avail_out===0))return Ar}return c.insert=0,h===Ir?(Vr(c,!0),c.strm.avail_out===0?Zo:fu):c.last_lit&&(Vr(c,!1),c.strm.avail_out===0)?Ar:Qc}(i,t):i.strategy===mV?function(c,h){let n,p,d,v;const m=c.window;for(;;){if(c.lookahead<=no){if(fl(c),c.lookahead<=no&&h===as)return Ar;if(c.lookahead===0)break}if(c.match_length=0,c.lookahead>=An&&c.strstart>0&&(d=c.strstart-1,p=m[d],p===m[++d]&&p===m[++d]&&p===m[++d])){v=c.strstart+no;do;while(p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&p===m[++d]&&dc.lookahead&&(c.match_length=c.lookahead)}if(c.match_length>=An?(n=uo(c,1,c.match_length-An),c.lookahead-=c.match_length,c.strstart+=c.match_length,c.match_length=0):(n=uo(c,0,c.window[c.strstart]),c.lookahead--,c.strstart++),n&&(Vr(c,!1),c.strm.avail_out===0))return Ar}return c.insert=0,h===Ir?(Vr(c,!0),c.strm.avail_out===0?Zo:fu):c.last_lit&&(Vr(c,!1),c.strm.avail_out===0)?Ar:Qc}(i,t):jc[i.level].func(i,t);if(u!==Zo&&u!==fu||(i.status=zc),u===Ar||u===Zo)return e.avail_out===0&&(i.last_flush=-1),Un;if(u===Qc&&(t===hV?CV(i):t!==oy&&(TD(i,0,0,!1),t===pV&&(Qs(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Xs(e),e.avail_out===0))return i.last_flush=-1,Un}return t!==Ir?Un:i.wrap<=0?Ds:(i.wrap===2?(Rn(i,255&e.adler),Rn(i,e.adler>>8&255),Rn(i,e.adler>>16&255),Rn(i,e.adler>>24&255),Rn(i,255&e.total_in),Rn(i,e.total_in>>8&255),Rn(i,e.total_in>>16&255),Rn(i,e.total_in>>24&255)):(kc(i,e.adler>>>16),kc(i,65535&e.adler)),Xs(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Un:Ds)}try{String.fromCharCode.call(null,0)}catch{}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{}const cy=new Qa(256);for(let e=0;e<256;e++)cy[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;function dy(e){let t,r,i,a,s=0;const u=e.length;for(i=0;i>>6,c[a++]=128|63&t):t<65536?(c[a++]=224|t>>>12,c[a++]=128|t>>>6&63,c[a++]=128|63&t):(c[a++]=240|t>>>18,c[a++]=128|t>>>12&63,c[a++]=128|t>>>6&63,c[a++]=128|63&t);return c}cy[254]=cy[254]=1;class MD{constructor(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}}class fy{constructor(t){this.options={level:m5,method:bu,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,...t||{}};const r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new MD,this.strm.avail_out=0;var i,a,s=function(u,c,h,n,p,d){if(!u)return yr;let v=1;if(c===m5&&(c=6),n<0?(v=0,n=-n):n>15&&(v=2,n-=16),p<1||p>kV||h!==bu||n<8||n>15||c<0||c>9||d<0||d>yD)return ro(u,yr);n===8&&(n=9);const m=new PV;return u.state=m,m.strm=u,m.wrap=v,m.gzhead=null,m.w_bits=n,m.w_size=1<=n.w_size&&(v===0&&(Qs(n.head),n.strstart=0,n.block_start=0,n.insert=0),b=new Qa(n.w_size),is(b,h,k-n.w_size,n.w_size,0),h=b,k=n.w_size),m=c.avail_in,g=c.next_in,y=c.input,c.avail_in=k,c.next_in=0,c.input=h,fl(n);n.lookahead>=An;){p=n.strstart,d=n.lookahead-(An-1);do n.ins_h=(n.ins_h<0||i.avail_out===0)&&s!==Ds);return u===Ir?(s=function(c){let h;return c&&c.state?(h=c.state.status,h!==pv&&h!==uy&&h!==Ep&&h!==Dp&&h!==Op&&h!==Jo&&h!==zc?ro(c,yr):(c.state=null,h===Jo?ro(c,K0):Un)):yr}(this.strm),this.onEnd(s),this.ended=!0,s===Un):u!==ld||(this.onEnd(Un),i.avail_out=0,!0)}onData(t){this.chunks.push(t)}onEnd(t){t===Un&&(this.result=_D(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg}}const Xh=30,MV=12;function IV(e,t){let r,i,a,s,u,c,h,n,p,d;const v=e.state;r=e.next_in;const m=e.input,g=r+(e.avail_in-5);i=e.next_out;const y=e.output,b=i-(t-e.avail_out),k=i+(e.avail_out-257),O=v.dmax,S=v.wsize,x=v.whave,E=v.wnext,w=v.window;a=v.hold,s=v.bits;const T=v.lencode,M=v.distcode,A=(1<>>24,a>>>=c,s-=c,c=u>>>16&255,c===0)y[i++]=65535&u;else{if(!(16&c)){if((64&c)==0){u=T[(65535&u)+(a&(1<>>=c,s-=c),s<15&&(a+=m[r++]<>>24,a>>>=c,s-=c,c=u>>>16&255,!(16&c)){if((64&c)==0){u=M[(65535&u)+(a&(1<O){e.msg="invalid distance too far back",v.mode=Xh;break e}if(a>>>=c,s-=c,c=i-b,n>c){if(c=n-c,c>x&&v.sane){e.msg="invalid distance too far back",v.mode=Xh;break e}if(p=0,d=w,E===0){if(p+=S-c,c2;)y[i++]=d[p++],y[i++]=d[p++],y[i++]=d[p++],h-=3;h&&(y[i++]=d[p++],h>1&&(y[i++]=d[p++]))}else{p=i-n;do y[i++]=y[p++],y[i++]=y[p++],y[i++]=y[p++],h-=3;while(h>2);h&&(y[i++]=y[p++],h>1&&(y[i++]=y[p++]))}break}}break}}while(r>3,r-=h,s-=h<<3,a&=(1<=1&&L[k]===0;k--);if(O>k&&(O=k),k===0)return a[s++]=20971520,a[s++]=20971520,c.bits=1,0;for(b=1;b0&&(e===M5||k!==1))return-1;for(Y[1]=0,g=1;gT5||e===I5&&w>A5)return 1;for(;;){N=g-x,u[y]m?(W=ue[Te+u[y]],j=M[A+u[y]]):(W=96,j=0),n=1<>x)+p]=N<<24|W<<16|j|0;while(p!==0);for(n=1<>=1;if(n!==0?(T&=n-1,T+=n):T=0,y++,--L[g]==0){if(g===k)break;g=t[r+u[y]]}if(g>O&&(T&pe)!==d){for(x===0&&(x=O),v+=b,S=g-x,E=1<T5||e===I5&&w>A5)return 1;d=T&pe,a[d]=O<<24|S<<16|v-s|0}}return T!==0&&(a[v+T]=g-x<<24|64<<16|0),c.bits=O,0}const BV=0,ID=1,$D=2,RD=1,$5=2,R5=3,L5=4,N5=5,B5=6,F5=7,z5=8,j5=9,U5=10,vv=11,ms=12,G_=13,V5=14,Y_=15,W5=16,K5=17,H5=18,G5=19,Jh=20,Zh=21,Y5=22,X5=23,J5=24,Z5=25,Q5=26,X_=27,q5=28,e4=29,ar=30,FV=852,zV=592;function t4(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}class jV{constructor(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ra(320),this.work=new ra(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}}function UV(e){let t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,function(r){let i;return r&&r.state?(i=r.state,r.total_in=r.total_out=i.total=0,r.msg="",i.wrap&&(r.adler=1&i.wrap),i.mode=RD,i.last=0,i.havedict=0,i.dmax=32768,i.head=null,i.hold=0,i.bits=0,i.lencode=i.lendyn=new fv(FV),i.distcode=i.distdyn=new fv(zV),i.sane=1,i.back=-1,Un):yr}(e)):yr}function VV(e,t){let r,i;return e?(i=new jV,e.state=i,i.window=null,r=function(a,s){let u,c;return a&&a.state?(c=a.state,s<0?(u=0,s=-s):(u=1+(s>>4),s<48&&(s&=15)),s&&(s<8||s>15)?yr:(c.window!==null&&c.wbits!==s&&(c.window=null),c.wrap=u,c.wbits=s,UV(a))):yr}(e,t),r!==Un&&(e.state=null),r):yr}let J_,Z_,n4=!0;function WV(e){if(n4){let t;for(J_=new fv(512),Z_=new fv(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(qc(ID,e.lens,0,288,J_,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;qc($D,e.lens,0,32,Z_,0,e.work,{bits:5}),n4=!1}e.lencode=J_,e.lenbits=9,e.distcode=Z_,e.distbits=5}function LD(e,t,r,i){let a;const s=e.state;return s.window===null&&(s.wsize=1<=s.wsize?(is(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(a=s.wsize-s.wnext,a>i&&(a=i),is(s.window,t,r-i,a,s.wnext),(i-=a)?(is(s.window,t,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=a,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=Tr(r.check,Y,2,0),n=0,p=0,r.mode=$5;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&n)<<8)+(n>>8))%31){e.msg="incorrect header check",r.mode=ar;break}if((15&n)!==bu){e.msg="unknown compression method",r.mode=ar;break}if(n>>>=4,p-=4,w=8+(15&n),r.wbits===0)r.wbits=w;else if(w>r.wbits){e.msg="invalid window size",r.mode=ar;break}r.dmax=1<>8&1),512&r.flags&&(Y[0]=255&n,Y[1]=n>>>8&255,r.check=Tr(r.check,Y,2,0)),n=0,p=0,r.mode=R5;case R5:for(;p<32;){if(c===0)break e;c--,n+=i[s++]<>>8&255,Y[2]=n>>>16&255,Y[3]=n>>>24&255,r.check=Tr(r.check,Y,4,0)),n=0,p=0,r.mode=L5;case L5:for(;p<16;){if(c===0)break e;c--,n+=i[s++]<>8),512&r.flags&&(Y[0]=255&n,Y[1]=n>>>8&255,r.check=Tr(r.check,Y,2,0)),n=0,p=0,r.mode=N5;case N5:if(1024&r.flags){for(;p<16;){if(c===0)break e;c--,n+=i[s++]<>>8&255,r.check=Tr(r.check,Y,2,0)),n=0,p=0}else r.head&&(r.head.extra=null);r.mode=B5;case B5:if(1024&r.flags&&(m=r.length,m>c&&(m=c),m&&(r.head&&(w=r.head.extra_len-r.length,r.head.extra||(r.head.extra=Array(r.head.extra_len)),is(r.head.extra,i,s,m,w)),512&r.flags&&(r.check=Tr(r.check,i,m,s)),c-=m,s+=m,r.length-=m),r.length))break e;r.length=0,r.mode=F5;case F5:if(2048&r.flags){if(c===0)break e;m=0;do w=i[s+m++],r.head&&w&&r.length<65536&&(r.head.name+=String.fromCharCode(w));while(w&&m>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=ms;break;case U5:for(;p<32;){if(c===0)break e;c--,n+=i[s++]<>>=7&p,p-=7&p,r.mode=X_;break}for(;p<3;){if(c===0)break e;c--,n+=i[s++]<>>=1,p-=1,3&n){case 0:r.mode=V5;break;case 1:if(WV(r),r.mode=Jh,t===Gh){n>>>=2,p-=2;break e}break;case 2:r.mode=K5;break;case 3:e.msg="invalid block type",r.mode=ar}n>>>=2,p-=2;break;case V5:for(n>>>=7&p,p-=7&p;p<32;){if(c===0)break e;c--,n+=i[s++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=ar;break}if(r.length=65535&n,n=0,p=0,r.mode=Y_,t===Gh)break e;case Y_:r.mode=W5;case W5:if(m=r.length,m){if(m>c&&(m=c),m>h&&(m=h),m===0)break e;is(a,i,s,m,u),c-=m,s+=m,h-=m,u+=m,r.length-=m;break}r.mode=ms;break;case K5:for(;p<14;){if(c===0)break e;c--,n+=i[s++]<>>=5,p-=5,r.ndist=1+(31&n),n>>>=5,p-=5,r.ncode=4+(15&n),n>>>=4,p-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=ar;break}r.have=0,r.mode=H5;case H5:for(;r.have>>=3,p-=3}for(;r.have<19;)r.lens[N[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,M={bits:r.lenbits},T=qc(BV,r.lens,0,19,r.lencode,0,r.work,M),r.lenbits=M.bits,T){e.msg="invalid code lengths set",r.mode=ar;break}r.have=0,r.mode=G5;case G5:for(;r.have>>24,k=L>>>16&255,O=65535&L,!(b<=p);){if(c===0)break e;c--,n+=i[s++]<>>=b,p-=b,r.lens[r.have++]=O;else{if(O===16){for(A=b+2;p>>=b,p-=b,r.have===0){e.msg="invalid bit length repeat",r.mode=ar;break}w=r.lens[r.have-1],m=3+(3&n),n>>>=2,p-=2}else if(O===17){for(A=b+3;p>>=b,p-=b,w=0,m=3+(7&n),n>>>=3,p-=3}else{for(A=b+7;p>>=b,p-=b,w=0,m=11+(127&n),n>>>=7,p-=7}if(r.have+m>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=ar;break}for(;m--;)r.lens[r.have++]=w}}if(r.mode===ar)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=ar;break}if(r.lenbits=9,M={bits:r.lenbits},T=qc(ID,r.lens,0,r.nlen,r.lencode,0,r.work,M),r.lenbits=M.bits,T){e.msg="invalid literal/lengths set",r.mode=ar;break}if(r.distbits=6,r.distcode=r.distdyn,M={bits:r.distbits},T=qc($D,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,M),r.distbits=M.bits,T){e.msg="invalid distances set",r.mode=ar;break}if(r.mode=Jh,t===Gh)break e;case Jh:r.mode=Zh;case Zh:if(c>=6&&h>=258){e.next_out=u,e.avail_out=h,e.next_in=s,e.avail_in=c,r.hold=n,r.bits=p,IV(e,v),u=e.next_out,a=e.output,h=e.avail_out,s=e.next_in,i=e.input,c=e.avail_in,n=r.hold,p=r.bits,r.mode===ms&&(r.back=-1);break}for(r.back=0;L=r.lencode[n&(1<>>24,k=L>>>16&255,O=65535&L,!(b<=p);){if(c===0)break e;c--,n+=i[s++]<>S)],b=L>>>24,k=L>>>16&255,O=65535&L,!(S+b<=p);){if(c===0)break e;c--,n+=i[s++]<>>=S,p-=S,r.back+=S}if(n>>>=b,p-=b,r.back+=b,r.length=O,k===0){r.mode=Q5;break}if(32&k){r.back=-1,r.mode=ms;break}if(64&k){e.msg="invalid literal/length code",r.mode=ar;break}r.extra=15&k,r.mode=Y5;case Y5:if(r.extra){for(A=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=X5;case X5:for(;L=r.distcode[n&(1<>>24,k=L>>>16&255,O=65535&L,!(b<=p);){if(c===0)break e;c--,n+=i[s++]<>S)],b=L>>>24,k=L>>>16&255,O=65535&L,!(S+b<=p);){if(c===0)break e;c--,n+=i[s++]<>>=S,p-=S,r.back+=S}if(n>>>=b,p-=b,r.back+=b,64&k){e.msg="invalid distance code",r.mode=ar;break}r.offset=O,r.extra=15&k,r.mode=J5;case J5:if(r.extra){for(A=r.extra;p>>=r.extra,p-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=ar;break}r.mode=Z5;case Z5:if(h===0)break e;if(m=v-h,r.offset>m){if(m=r.offset-m,m>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=ar;break}m>r.wnext?(m-=r.wnext,g=r.wsize-m):g=r.wnext-m,m>r.length&&(m=r.length),y=r.window}else y=a,g=u-r.offset,m=r.length;m>h&&(m=h),h-=m,r.length-=m;do a[u++]=y[g++];while(--m);r.length===0&&(r.mode=Zh);break;case Q5:if(h===0)break e;a[u++]=r.length,h--,r.mode=Zh;break;case X_:if(r.wrap){for(;p<32;){if(c===0)break e;c--,n|=i[s++]<=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),!(r.windowBits>=0&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(15&r.windowBits)==0&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new MD,this.strm.avail_out=0;let i=VV(this.strm,r.windowBits);if(i!==Un||(this.header=new HV,function(a,s){let u;a&&a.state&&(u=a.state,(2&u.wrap)==0||(u.head=s,s.done=!1))}(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=dy(r.dictionary):r.dictionary instanceof ArrayBuffer&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(i=r4(this.strm,r.dictionary),i!==Un))))throw Error(pd[i])}push(t,r){const{strm:i,options:{chunkSize:a,dictionary:s}}=this;let u,c,h=!1;if(this.ended)return!1;c=r===~~r?r:r===!0?Ir:as,typeof t=="string"?i.input=function(n){const p=new Qa(n.length);for(let d=0,v=p.length;d0||i.avail_out===0)&&u!==Ds);return u===Ds&&(c=Ir),c===Ir?(u=function(n){if(!n||!n.state)return yr;const p=n.state;return p.window&&(p.window=null),n.state=null,Un}(this.strm),this.onEnd(u),this.ended=!0,u===Un):c!==ld||(this.onEnd(Un),i.avail_out=0,!0)}onData(t){this.chunks.push(t)}onEnd(t){t===Un&&(this.result=_D(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg}}var a4=[0,1,3,7,15,31,63,127,255],Uc=function(e){this.stream=e,this.bitOffset=0,this.curByte=0,this.hasByte=!1};Uc.prototype._ensureByte=function(){this.hasByte||(this.curByte=this.stream.readByte(),this.hasByte=!0)},Uc.prototype.read=function(e){for(var t=0;e>0;){this._ensureByte();var r=8-this.bitOffset;if(e>=r)t<<=r,t|=a4[r]&this.curByte,this.hasByte=!1,this.bitOffset=0,e-=r;else{t<<=e;var i=r-e;t|=(this.curByte&a4[e]<>i,this.bitOffset+=e,e=0}}return t},Uc.prototype.seek=function(e){var t=e%8,r=(e-t)/8;this.bitOffset=t,this.stream.seek(r),this.hasByte=!1},Uc.prototype.pi=function(){var e,t=new Uint8Array(6);for(e=0;e("00"+i.toString(16)).slice(-2)).join("")}(t)};var GV=Uc,jo=function(){};jo.prototype.readByte=function(){throw Error("abstract method readByte() not implemented")},jo.prototype.read=function(e,t,r){for(var i=0;i>>0},this.updateCRC=function(t){e=e<<8^Q_[255&(e>>>24^t)]},this.updateCRCRun=function(t,r){for(;r-- >0;)e=e<<8^Q_[255&(e>>>24^t)]}}),s4=function(e,t){var r,i=e[t];for(r=t;r>0;r--)e[r]=e[r-1];return e[0]=i,i},sr={OK:0,LAST_BLOCK:-1,NOT_BZIP_DATA:-2,UNEXPECTED_INPUT_EOF:-3,UNEXPECTED_OUTPUT_EOF:-4,DATA_ERROR:-5,OUT_OF_MEMORY:-6,OBSOLETE_INPUT:-7,END_OF_BLOCK:-8},Js={};Js[sr.LAST_BLOCK]="Bad file checksum",Js[sr.NOT_BZIP_DATA]="Not bzip data",Js[sr.UNEXPECTED_INPUT_EOF]="Unexpected input EOF",Js[sr.UNEXPECTED_OUTPUT_EOF]="Unexpected output EOF",Js[sr.DATA_ERROR]="Data error",Js[sr.OUT_OF_MEMORY]="Out of memory",Js[sr.OBSOLETE_INPUT]="Obsolete (pre 0.9.5) bzip format not supported.";var zr=function(e,t){var r=Js[e]||"unknown error";t&&(r+=": "+t);var i=new TypeError(r);throw i.errorCode=e,i},Vc=function(e,t){this.writePos=this.writeCurrent=this.writeCount=0,this._start_bunzip(e,t)};Vc.prototype._init_block=function(){return this._get_next_block()?(this.blockCRC=new YV,!0):(this.writeCount=-1,!1)},Vc.prototype._start_bunzip=function(e,t){var r=new Uint8Array(4);e.read(r,0,4)===4&&String.fromCharCode(r[0],r[1],r[2])==="BZh"||zr(sr.NOT_BZIP_DATA,"bad magic");var i=r[3]-48;(i<1||i>9)&&zr(sr.NOT_BZIP_DATA,"level out of range"),this.reader=new GV(e),this.dbufSize=1e5*i,this.nextoutput=0,this.outputStream=t,this.streamCRC=0},Vc.prototype._get_next_block=function(){var e,t,r,i=this.reader,a=i.pi();if(a==="177245385090")return!1;a!=="314159265359"&&zr(sr.NOT_BZIP_DATA),this.targetBlockCRC=i.read(32)>>>0,this.streamCRC=(this.targetBlockCRC^(this.streamCRC<<1|this.streamCRC>>>31))>>>0,i.read(1)&&zr(sr.OBSOLETE_INPUT);var s=i.read(24);s>this.dbufSize&&zr(sr.DATA_ERROR,"initial position out of bounds");var u=i.read(16),c=new Uint8Array(256),h=0;for(e=0;e<16;e++)if(u&1<<15-e){var n=16*e;for(r=i.read(16),t=0;t<16;t++)r&1<<15-t&&(c[h++]=n+t)}var p=i.read(3);(p<2||p>6)&&zr(sr.DATA_ERROR);var d=i.read(15);d===0&&zr(sr.DATA_ERROR);var v=new Uint8Array(256);for(e=0;e=p&&zr(sr.DATA_ERROR);m[e]=s4(v,t)}var g,y=h+2,b=[];for(t=0;t20)&&zr(sr.DATA_ERROR),i.read(1);)i.read(1)?u--:u++;S[e]=u}for(k=O=S[0],e=1;eO?O=S[e]:S[e]=d&&zr(sr.DATA_ERROR),g=b[m[L++]]),e=g.minLen,t=i.read(e);e>g.maxLen&&zr(sr.DATA_ERROR),!(t<=g.limit[e]);e++)t=t<<1|i.read(1);((t-=g.base[e])<0||t>=258)&&zr(sr.DATA_ERROR);var N=g.permute[t];if(N!==0&&N!==1){if(M)for(M=0,A+u>this.dbufSize&&zr(sr.DATA_ERROR),w[T=c[v[0]]]+=u;u--;)Y[A++]=T;if(N>h)break;A>=this.dbufSize&&zr(sr.DATA_ERROR),w[T=c[T=s4(v,e=N-1)]]++,Y[A++]=T}else M||(M=1,u=0),u+=N===0?M:2*M,M<<=1}for((s<0||s>=A)&&zr(sr.DATA_ERROR),t=0,e=0;e<256;e++)r=t+w[e],w[e]=t,t=r;for(e=0;e>=8,ue=-1),this.writePos=W,this.writeCurrent=j,this.writeCount=A,this.writeRun=ue,!0},Vc.prototype._read_bunzip=function(e,t){var r,i,a;if(this.writeCount<0)return 0;var s=this.dbuf,u=this.writePos,c=this.writeCurrent,h=this.writeCount;this.outputsize;for(var n=this.writeRun;h;){for(h--,i=c,c=255&(u=s[u]),u>>=8,n++==3?(r=c,a=i,c=-1):(r=1,a=c),this.blockCRC.updateCRCRun(a,r);r--;)this.outputStream.writeByte(a),this.nextoutput++;c!=i&&(n=0)}return this.writeCount=h,this.blockCRC.getCRC()!==this.targetBlockCRC&&zr(sr.DATA_ERROR,"Bad block CRC (got "+this.blockCRC.getCRC().toString(16)+" expected "+this.targetBlockCRC.toString(16)+")"),this.nextoutput};var XV=function(e){if("readByte"in e)return e;var t=new ND;return t.pos=0,t.readByte=function(){return e[this.pos++]},t.seek=function(r){this.pos=r},t.eof=function(){return this.pos>=e.length},t},JV=function(e){var t=new ND,r=!0;if(e)if(typeof e=="number")t.buffer=new Uint8Array(e),r=!1;else{if("writeByte"in e)return e;t.buffer=e,r=!1}else t.buffer=new Uint8Array(16384);return t.pos=0,t.writeByte=function(i){if(r&&this.pos>=this.buffer.length){var a=new Uint8Array(2*this.buffer.length);a.set(this.buffer),this.buffer=a}this.buffer[this.pos++]=i},t.getBuffer=function(){if(this.pos!==this.buffer.length){if(!r)throw new TypeError("outputsize does not match decoded input");var i=new Uint8Array(this.pos);i.set(this.buffer.subarray(0,this.pos)),this.buffer=i}return this.buffer},t._coerced=!0,t},o4=function(e,t,r){for(var i=XV(e),a=JV(t),s=new Vc(i,a);!("eof"in i)||!i.eof();)if(s._init_block())s._read_bunzip();else{var u=s.reader.read(32)>>>0;if(u!==s.streamCRC&&zr(sr.DATA_ERROR,"Bad stream CRC (got "+s.streamCRC.toString(16)+" expected "+u.toString(16)+")"),!r||!("eof"in i)||i.eof())break;s._start_bunzip(i,a)}if("getBuffer"in a)return a.getBuffer()};class Lu{static get tag(){return he.packet.literalData}constructor(t=new Date){this.format=he.literal.utf8,this.date=Oe.normalizeDate(t),this.text=null,this.data=null,this.filename=""}setText(t,r=he.literal.utf8){this.format=r,this.text=t,this.data=null}getText(t=!1){return(this.text===null||Oe.isStream(this.text))&&(this.text=Oe.decodeUTF8(Oe.nativeEOL(this.getBytes(t)))),this.text}setBytes(t,r){this.format=r,this.data=t,this.text=null}getBytes(t=!1){return this.data===null&&(this.data=Oe.canonicalizeEOL(Oe.encodeUTF8(this.text))),t?lu(this.data):this.data}setFilename(t){this.filename=t}getFilename(){return this.filename}async read(t){await Gv(t,async r=>{const i=await r.readByte(),a=await r.readByte();this.filename=Oe.decodeUTF8(await r.readBytes(a)),this.date=Oe.readDate(await r.readBytes(4));let s=r.remainder();pr(s)&&(s=await _r(s)),this.setBytes(s,i)})}writeHeader(){const t=Oe.encodeUTF8(this.filename),r=new Uint8Array([t.length]),i=new Uint8Array([this.format]),a=Oe.writeDate(this.date);return Oe.concatUint8Array([i,r,t,a])}write(){const t=this.writeHeader(),r=this.getBytes();return Oe.concat([t,r])}}const Ec=Symbol("verified"),ZV=new Set([he.signatureSubpacket.issuer,he.signatureSubpacket.issuerFingerprint,he.signatureSubpacket.embeddedSignature]);class Hr{static get tag(){return he.packet.signature}constructor(){this.version=null,this.signatureType=null,this.hashAlgorithm=null,this.publicKeyAlgorithm=null,this.signatureData=null,this.unhashedSubpackets=[],this.signedHashValue=null,this.created=null,this.signatureExpirationTime=null,this.signatureNeverExpires=!0,this.exportable=null,this.trustLevel=null,this.trustAmount=null,this.regularExpression=null,this.revocable=null,this.keyExpirationTime=null,this.keyNeverExpires=null,this.preferredSymmetricAlgorithms=null,this.revocationKeyClass=null,this.revocationKeyAlgorithm=null,this.revocationKeyFingerprint=null,this.issuerKeyID=new vo,this.rawNotations=[],this.notations={},this.preferredHashAlgorithms=null,this.preferredCompressionAlgorithms=null,this.keyServerPreferences=null,this.preferredKeyServer=null,this.isPrimaryUserID=null,this.policyURI=null,this.keyFlags=null,this.signersUserID=null,this.reasonForRevocationFlag=null,this.reasonForRevocationString=null,this.features=null,this.signatureTargetPublicKeyAlgorithm=null,this.signatureTargetHashAlgorithm=null,this.signatureTargetHash=null,this.embeddedSignature=null,this.issuerKeyVersion=null,this.issuerFingerprint=null,this.preferredAEADAlgorithms=null,this.revoked=null,this[Ec]=null}read(t){let r=0;if(this.version=t[r++],this.version!==4&&this.version!==5)throw new Er(`Version ${this.version} of the signature packet is unsupported.`);if(this.signatureType=t[r++],this.publicKeyAlgorithm=t[r++],this.hashAlgorithm=t[r++],r+=this.readSubPackets(t.subarray(r,t.length),!0),!this.created)throw Error("Missing signature creation time subpacket.");this.signatureData=t.subarray(0,r),r+=this.readSubPackets(t.subarray(r,t.length),!1),this.signedHashValue=t.subarray(r,r+2),r+=2,this.params=Kt.signature.parseSignatureParams(this.publicKeyAlgorithm,t.subarray(r,t.length))}writeParams(){return this.params instanceof Promise?bo(async()=>Kt.serializeParams(this.publicKeyAlgorithm,await this.params)):Kt.serializeParams(this.publicKeyAlgorithm,this.params)}write(){const t=[];return t.push(this.signatureData),t.push(this.writeUnhashedSubPackets()),t.push(this.signedHashValue),t.push(this.writeParams()),Oe.concat(t)}async sign(t,r,i=new Date,a=!1){t.version===5?this.version=5:this.version=4;const s=[new Uint8Array([this.version,this.signatureType,this.publicKeyAlgorithm,this.hashAlgorithm])];this.created=Oe.normalizeDate(i),this.issuerKeyVersion=t.version,this.issuerFingerprint=t.getFingerprintBytes(),this.issuerKeyID=t.getKeyID(),s.push(this.writeHashedSubPackets()),this.unhashedSubpackets=[],this.signatureData=Oe.concat(s);const u=this.toHash(this.signatureType,r,a),c=await this.hash(this.signatureType,r,u,a);this.signedHashValue=Wr(dl(c),0,2);const h=async()=>Kt.signature.sign(this.publicKeyAlgorithm,this.hashAlgorithm,t.publicParams,t.privateParams,u,await _r(c));Oe.isStream(c)?this.params=h():(this.params=await h(),this[Ec]=!0)}writeHashedSubPackets(){const t=he.signatureSubpacket,r=[];let i;if(this.created===null)throw Error("Missing signature creation time");r.push(er(t.signatureCreationTime,!0,Oe.writeDate(this.created))),this.signatureExpirationTime!==null&&r.push(er(t.signatureExpirationTime,!0,Oe.writeNumber(this.signatureExpirationTime,4))),this.exportable!==null&&r.push(er(t.exportableCertification,!0,new Uint8Array([this.exportable?1:0]))),this.trustLevel!==null&&(i=new Uint8Array([this.trustLevel,this.trustAmount]),r.push(er(t.trustSignature,!0,i))),this.regularExpression!==null&&r.push(er(t.regularExpression,!0,this.regularExpression)),this.revocable!==null&&r.push(er(t.revocable,!0,new Uint8Array([this.revocable?1:0]))),this.keyExpirationTime!==null&&r.push(er(t.keyExpirationTime,!0,Oe.writeNumber(this.keyExpirationTime,4))),this.preferredSymmetricAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredSymmetricAlgorithms)),r.push(er(t.preferredSymmetricAlgorithms,!1,i))),this.revocationKeyClass!==null&&(i=new Uint8Array([this.revocationKeyClass,this.revocationKeyAlgorithm]),i=Oe.concat([i,this.revocationKeyFingerprint]),r.push(er(t.revocationKey,!1,i))),this.issuerKeyID.isNull()||this.issuerKeyVersion===5||r.push(er(t.issuer,!0,this.issuerKeyID.write())),this.rawNotations.forEach(({name:u,value:c,humanReadable:h,critical:n})=>{i=[new Uint8Array([h?128:0,0,0,0])];const p=Oe.encodeUTF8(u);i.push(Oe.writeNumber(p.length,2)),i.push(Oe.writeNumber(c.length,2)),i.push(p),i.push(c),i=Oe.concat(i),r.push(er(t.notationData,n,i))}),this.preferredHashAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredHashAlgorithms)),r.push(er(t.preferredHashAlgorithms,!1,i))),this.preferredCompressionAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredCompressionAlgorithms)),r.push(er(t.preferredCompressionAlgorithms,!1,i))),this.keyServerPreferences!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.keyServerPreferences)),r.push(er(t.keyServerPreferences,!1,i))),this.preferredKeyServer!==null&&r.push(er(t.preferredKeyServer,!1,Oe.encodeUTF8(this.preferredKeyServer))),this.isPrimaryUserID!==null&&r.push(er(t.primaryUserID,!1,new Uint8Array([this.isPrimaryUserID?1:0]))),this.policyURI!==null&&r.push(er(t.policyURI,!1,Oe.encodeUTF8(this.policyURI))),this.keyFlags!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.keyFlags)),r.push(er(t.keyFlags,!0,i))),this.signersUserID!==null&&r.push(er(t.signersUserID,!1,Oe.encodeUTF8(this.signersUserID))),this.reasonForRevocationFlag!==null&&(i=Oe.stringToUint8Array(String.fromCharCode(this.reasonForRevocationFlag)+this.reasonForRevocationString),r.push(er(t.reasonForRevocation,!0,i))),this.features!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.features)),r.push(er(t.features,!1,i))),this.signatureTargetPublicKeyAlgorithm!==null&&(i=[new Uint8Array([this.signatureTargetPublicKeyAlgorithm,this.signatureTargetHashAlgorithm])],i.push(Oe.stringToUint8Array(this.signatureTargetHash)),i=Oe.concat(i),r.push(er(t.signatureTarget,!0,i))),this.embeddedSignature!==null&&r.push(er(t.embeddedSignature,!0,this.embeddedSignature.write())),this.issuerFingerprint!==null&&(i=[new Uint8Array([this.issuerKeyVersion]),this.issuerFingerprint],i=Oe.concat(i),r.push(er(t.issuerFingerprint,this.version===5,i))),this.preferredAEADAlgorithms!==null&&(i=Oe.stringToUint8Array(Oe.uint8ArrayToString(this.preferredAEADAlgorithms)),r.push(er(t.preferredAEADAlgorithms,!1,i)));const a=Oe.concat(r),s=Oe.writeNumber(a.length,2);return Oe.concat([s,a])}writeUnhashedSubPackets(){const t=[];this.unhashedSubpackets.forEach(a=>{t.push(Td(a.length)),t.push(a)});const r=Oe.concat(t),i=Oe.writeNumber(r.length,2);return Oe.concat([i,r])}readSubPacket(t,r=!0){let i=0;const a=!!(128&t[i]),s=127&t[i];if(r||(this.unhashedSubpackets.push(t.subarray(i,t.length)),ZV.has(s)))switch(i++,s){case he.signatureSubpacket.signatureCreationTime:this.created=Oe.readDate(t.subarray(i,t.length));break;case he.signatureSubpacket.signatureExpirationTime:{const u=Oe.readNumber(t.subarray(i,t.length));this.signatureNeverExpires=u===0,this.signatureExpirationTime=u;break}case he.signatureSubpacket.exportableCertification:this.exportable=t[i++]===1;break;case he.signatureSubpacket.trustSignature:this.trustLevel=t[i++],this.trustAmount=t[i++];break;case he.signatureSubpacket.regularExpression:this.regularExpression=t[i];break;case he.signatureSubpacket.revocable:this.revocable=t[i++]===1;break;case he.signatureSubpacket.keyExpirationTime:{const u=Oe.readNumber(t.subarray(i,t.length));this.keyExpirationTime=u,this.keyNeverExpires=u===0;break}case he.signatureSubpacket.preferredSymmetricAlgorithms:this.preferredSymmetricAlgorithms=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.revocationKey:this.revocationKeyClass=t[i++],this.revocationKeyAlgorithm=t[i++],this.revocationKeyFingerprint=t.subarray(i,i+20);break;case he.signatureSubpacket.issuer:this.issuerKeyID.read(t.subarray(i,t.length));break;case he.signatureSubpacket.notationData:{const u=!!(128&t[i]);i+=4;const c=Oe.readNumber(t.subarray(i,i+2));i+=2;const h=Oe.readNumber(t.subarray(i,i+2));i+=2;const n=Oe.decodeUTF8(t.subarray(i,i+c)),p=t.subarray(i+c,i+c+h);this.rawNotations.push({name:n,humanReadable:u,value:p,critical:a}),u&&(this.notations[n]=Oe.decodeUTF8(p));break}case he.signatureSubpacket.preferredHashAlgorithms:this.preferredHashAlgorithms=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.preferredCompressionAlgorithms:this.preferredCompressionAlgorithms=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.keyServerPreferences:this.keyServerPreferences=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.preferredKeyServer:this.preferredKeyServer=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.primaryUserID:this.isPrimaryUserID=t[i++]!==0;break;case he.signatureSubpacket.policyURI:this.policyURI=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.keyFlags:this.keyFlags=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.signersUserID:this.signersUserID=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.reasonForRevocation:this.reasonForRevocationFlag=t[i++],this.reasonForRevocationString=Oe.decodeUTF8(t.subarray(i,t.length));break;case he.signatureSubpacket.features:this.features=[...t.subarray(i,t.length)];break;case he.signatureSubpacket.signatureTarget:{this.signatureTargetPublicKeyAlgorithm=t[i++],this.signatureTargetHashAlgorithm=t[i++];const u=Kt.getHashByteLength(this.signatureTargetHashAlgorithm);this.signatureTargetHash=Oe.uint8ArrayToString(t.subarray(i,i+u));break}case he.signatureSubpacket.embeddedSignature:this.embeddedSignature=new Hr,this.embeddedSignature.read(t.subarray(i,t.length));break;case he.signatureSubpacket.issuerFingerprint:this.issuerKeyVersion=t[i++],this.issuerFingerprint=t.subarray(i,t.length),this.issuerKeyVersion===5?this.issuerKeyID.read(this.issuerFingerprint):this.issuerKeyID.read(this.issuerFingerprint.subarray(-8));break;case he.signatureSubpacket.preferredAEADAlgorithms:this.preferredAEADAlgorithms=[...t.subarray(i,t.length)];break;default:{const u=Error("Unknown signature subpacket type "+s);if(a)throw u;Oe.printDebug(u)}}}readSubPackets(t,r=!0,i){const a=Oe.readNumber(t.subarray(0,2));let s=2;for(;s<2+a;){const u=nD(t.subarray(s,t.length));s+=u.offset,this.readSubPacket(t.subarray(s,s+u.len),r,i),s+=u.len}return s}toSign(t,r){const i=he.signature;switch(t){case i.binary:return r.text!==null?Oe.encodeUTF8(r.getText(!0)):r.getBytes(!0);case i.text:{const a=r.getBytes(!0);return Oe.canonicalizeEOL(a)}case i.standalone:return new Uint8Array(0);case i.certGeneric:case i.certPersona:case i.certCasual:case i.certPositive:case i.certRevocation:{let a,s;if(r.userID)s=180,a=r.userID;else{if(!r.userAttribute)throw Error("Either a userID or userAttribute packet needs to be supplied for certification.");s=209,a=r.userAttribute}const u=a.write();return Oe.concat([this.toSign(i.key,r),new Uint8Array([s]),Oe.writeNumber(u.length,4),u])}case i.subkeyBinding:case i.subkeyRevocation:case i.keyBinding:return Oe.concat([this.toSign(i.key,r),this.toSign(i.key,{key:r.bind})]);case i.key:if(r.key===void 0)throw Error("Key packet is required for this signature.");return r.key.writeForHash(this.version);case i.keyRevocation:return this.toSign(i.key,r);case i.timestamp:return new Uint8Array(0);case i.thirdParty:throw Error("Not implemented");default:throw Error("Unknown signature type.")}}calculateTrailer(t,r){let i=0;return cr(dl(this.signatureData),a=>{i+=a.length},()=>{const a=[];return this.version!==5||this.signatureType!==he.signature.binary&&this.signatureType!==he.signature.text||(r?a.push(new Uint8Array(6)):a.push(t.writeHeader())),a.push(new Uint8Array([this.version,255])),this.version===5&&a.push(new Uint8Array(4)),a.push(Oe.writeNumber(i,4)),Oe.concat(a)})}toHash(t,r,i=!1){const a=this.toSign(t,r);return Oe.concat([a,this.signatureData,this.calculateTrailer(r,i)])}async hash(t,r,i,a=!1){return i||(i=this.toHash(t,r,a)),Kt.hash.digest(this.hashAlgorithm,i)}async verify(t,r,i,a=new Date,s=!1,u=Nt){if(!this.issuerKeyID.equals(t.getKeyID()))throw Error("Signature was not issued by the given public key");if(this.publicKeyAlgorithm!==t.algorithm)throw Error("Public key algorithm used to sign signature does not match issuer key algorithm.");const c=r===he.signature.binary||r===he.signature.text;if(!(this[Ec]&&!c)){let n,p;if(this.hashed?p=await this.hashed:(n=this.toHash(r,i,s),p=await this.hash(r,i,n)),p=await _r(p),this.signedHashValue[0]!==p[0]||this.signedHashValue[1]!==p[1])throw Error("Signed digest did not match");if(this.params=await this.params,this[Ec]=await Kt.signature.verify(this.publicKeyAlgorithm,this.hashAlgorithm,this.params,t.publicParams,n,p),!this[Ec])throw Error("Signature verification failed")}const h=Oe.normalizeDate(a);if(h&&this.created>h)throw Error("Signature creation time is in the future");if(h&&h>=this.getExpirationTime())throw Error("Signature is expired");if(u.rejectHashAlgorithms.has(this.hashAlgorithm))throw Error("Insecure hash algorithm: "+he.read(he.hash,this.hashAlgorithm).toUpperCase());if(u.rejectMessageHashAlgorithms.has(this.hashAlgorithm)&&[he.signature.binary,he.signature.text].includes(this.signatureType))throw Error("Insecure message hash algorithm: "+he.read(he.hash,this.hashAlgorithm).toUpperCase());if(this.rawNotations.forEach(({name:n,critical:p})=>{if(p&&u.knownNotations.indexOf(n)<0)throw Error("Unknown critical notation: "+n)}),this.revocationKeyClass!==null)throw Error("This key is intended to be revoked with an authorized key, which OpenPGP.js does not support.")}isExpired(t=new Date){const r=Oe.normalizeDate(t);return r!==null&&!(this.created<=r&&rHr.prototype.calculateTrailer.apply(await this.correspondingSig,t))}async verify(){const t=await this.correspondingSig;if(!t||t.constructor.tag!==he.packet.signature)throw Error("Corresponding signature packet missing");if(t.signatureType!==this.signatureType||t.hashAlgorithm!==this.hashAlgorithm||t.publicKeyAlgorithm!==this.publicKeyAlgorithm||!t.issuerKeyID.equals(this.issuerKeyID))throw Error("Corresponding signature packet does not match one-pass signature packet");return t.hashed=this.hashed,t.verify.apply(t,arguments)}}function QV(e,t){if(!t[e]){let r;try{r=he.read(he.packet,e)}catch{throw new Er("Unknown packet type with tag: "+e)}throw Error("Packet not allowed in this context: "+r)}return new t[e]}ga.prototype.hash=Hr.prototype.hash,ga.prototype.toHash=Hr.prototype.toHash,ga.prototype.toSign=Hr.prototype.toSign;class Fn extends Array{static async fromBinary(t,r,i=Nt){const a=new Fn;return await a.read(t,r,i),a}async read(t,r,i=Nt){this.stream=Ts(t,async(s,u)=>{const c=$i(u);try{for(;;)if(await c.ready,await qU(s,async h=>{try{if(h.tag===he.packet.marker||h.tag===he.packet.trust)return;const n=QV(h.tag,r);n.packets=new Fn,n.fromStream=Oe.isStream(h.packet),await n.read(h.packet,i),await c.write(n)}catch(n){const p=!i.ignoreUnsupportedPackets&&n instanceof Er,d=!(i.ignoreMalformedPackets||n instanceof Er);if(p||d||xp(h.tag))await c.abort(n);else{const v=new sy(h.tag,h.packet);await c.write(v)}Oe.printDebugError(n)}}))return await c.ready,void await c.close()}catch(h){await c.abort(h)}});const a=os(this.stream);for(;;){const{done:s,value:u}=await a.read();if(s?this.stream=null:this.push(u),s||xp(u.constructor.tag))break}a.releaseLock()}write(){const t=[];for(let r=0;r{if(s.push(h),u+=h.length,u>=c){const n=Math.min(Math.log(u)/Math.LN2|0,30),p=2**n,d=Oe.concat([QU(n)].concat(s));return s=[d.subarray(1+p)],u=s[0].length,d.subarray(0,1+p)}},()=>Oe.concat([Td(u)].concat(s))))}else{if(Oe.isStream(a)){let s=0;t.push(cr(dl(a),u=>{s+=u.length},()=>u5(i,s)))}else t.push(u5(i,a.length));t.push(a)}}return Oe.concat(t)}filterByTag(...t){const r=new Fn,i=a=>s=>a===s;for(let a=0;ar.constructor.tag===t)}indexOfTag(...t){const r=[],i=this,a=s=>u=>s===u;for(let s=0;s{this.algorithm=await i.readByte(),this.compressed=i.remainder(),await this.decompress(r)})}write(){return this.compressed===null&&this.compress(),Oe.concat([new Uint8Array([this.algorithm]),this.compressed])}async decompress(t=Nt){const r=he.read(he.compression,this.algorithm),i=tW[r];if(!i)throw Error(r+" decompression not supported");this.packets=await Fn.fromBinary(i(this.compressed),qV,t)}compress(){const t=he.read(he.compression,this.algorithm),r=eW[t];if(!r)throw Error(t+" compression not supported");this.compressed=r(this.packets.write(),this.deflateLevel)}}const Ya=Oe.getNodeZlib();function l4(e){return e}function mv(e,t,r={}){return function(i){return!Oe.isStream(i)||pr(i)?bo(()=>_r(i).then(a=>new Promise((s,u)=>{e(a,r,(c,h)=>{if(c)return u(c);s(h)})}))):Hv(L0(i).pipe(t(r)))}}function _v(e,t={}){return function(r){const i=new e(t);return cr(r,a=>{if(a.length)return i.push(a,ld),i.result},()=>{if(e===fy)return i.push([],Ir),i.result})}}function u4(e){return function(t){return bo(async()=>e(await _r(t)))}}const eW=Ya?{zip:(e,t)=>mv(Ya.deflateRaw,Ya.createDeflateRaw,{level:t})(e),zlib:(e,t)=>mv(Ya.deflate,Ya.createDeflate,{level:t})(e)}:{zip:(e,t)=>_v(fy,{raw:!0,level:t})(e),zlib:(e,t)=>_v(fy,{level:t})(e)},tW=Ya?{uncompressed:l4,zip:mv(Ya.inflateRaw,Ya.createInflateRaw),zlib:mv(Ya.inflate,Ya.createInflate),bzip2:u4(o4)}:{uncompressed:l4,zip:_v(i4,{raw:!0}),zlib:_v(i4),bzip2:u4(o4)},nW=Oe.constructAllowedPackets([Lu,Id,ga,Hr]);class BD{static get tag(){return he.packet.symEncryptedIntegrityProtectedData}constructor(){this.version=1,this.encrypted=null,this.packets=null}async read(t){await Gv(t,async r=>{const i=await r.readByte();if(i!==1)throw new Er(`Version ${i} of the SEIP packet is unsupported.`);this.encrypted=r.remainder()})}write(){return Oe.concat([new Uint8Array([1]),this.encrypted])}async encrypt(t,r,i=Nt){const{blockSize:a}=Kt.getCipher(t);let s=this.packets.write();pr(s)&&(s=await _r(s));const u=await Kt.getPrefixRandom(t),c=new Uint8Array([211,20]),h=Oe.concat([u,s,c]),n=await Kt.hash.sha1(lu(h)),p=Oe.concat([h,n]);return this.encrypted=await Kt.mode.cfb.encrypt(t,r,p,new Uint8Array(a),i),!0}async decrypt(t,r,i=Nt){const{blockSize:a}=Kt.getCipher(t);let s=dl(this.encrypted);pr(s)&&(s=await _r(s));const u=await Kt.mode.cfb.decrypt(t,r,s,new Uint8Array(a)),c=Wr(lu(u),-20),h=Wr(u,0,-20),n=Promise.all([_r(await Kt.hash.sha1(lu(h))),_r(c)]).then(([v,m])=>{if(!Oe.equalsUint8Array(v,m))throw Error("Modification detected.");return new Uint8Array}),p=Wr(h,a+2);let d=Wr(p,0,-2);return d=Pi([d,bo(()=>n)]),Oe.isStream(s)&&i.allowUnauthenticatedStream||(d=await _r(d)),this.packets=await Fn.fromBinary(d,nW,i),!0}}const rW=Oe.constructAllowedPackets([Lu,Id,ga,Hr]);class nm{static get tag(){return he.packet.aeadEncryptedData}constructor(){this.version=1,this.cipherAlgorithm=null,this.aeadAlgorithm=he.aead.eax,this.chunkSizeByte=null,this.iv=null,this.encrypted=null,this.packets=null}async read(t){await Gv(t,async r=>{const i=await r.readByte();if(i!==1)throw new Er(`Version ${i} of the AEAD-encrypted data packet is not supported.`);this.cipherAlgorithm=await r.readByte(),this.aeadAlgorithm=await r.readByte(),this.chunkSizeByte=await r.readByte();const a=Kt.getAEADMode(this.aeadAlgorithm);this.iv=await r.readBytes(a.ivLength),this.encrypted=r.remainder()})}write(){return Oe.concat([new Uint8Array([this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte]),this.iv,this.encrypted])}async decrypt(t,r,i=Nt){this.packets=await Fn.fromBinary(await this.crypt("decrypt",r,dl(this.encrypted)),rW,i)}async encrypt(t,r,i=Nt){this.cipherAlgorithm=t;const{ivLength:a}=Kt.getAEADMode(this.aeadAlgorithm);this.iv=Kt.random.getRandomBytes(a),this.chunkSizeByte=i.aeadChunkSizeByte;const s=this.packets.write();this.encrypted=await this.crypt("encrypt",r,s)}async crypt(t,r,i){const a=Kt.getAEADMode(this.aeadAlgorithm),s=await a(this.cipherAlgorithm,r),u=t==="decrypt"?a.tagLength:0,c=t==="encrypt"?a.tagLength:0,h=2**(this.chunkSizeByte+6)+u,n=new ArrayBuffer(21),p=new Uint8Array(n,0,13),d=new Uint8Array(n),v=new DataView(n),m=new Uint8Array(n,5,8);p.set([192|nm.tag,this.version,this.cipherAlgorithm,this.aeadAlgorithm,this.chunkSizeByte],0);let g=0,y=Promise.resolve(),b=0,k=0;const O=this.iv;return Ts(i,async(S,x)=>{if(Oe.isStream(S)!=="array"){const T=new gu({},{highWaterMark:Oe.getHardwareConcurrency()*2**(this.chunkSizeByte+6),size:M=>M.length});po(T.readable,x),x=T.writable}const E=os(S),w=$i(x);try{for(;;){let T=await E.readBytes(h+u)||new Uint8Array;const M=T.subarray(T.length-u);let A,L;if(T=T.subarray(0,T.length-u),!g||T.length?(E.unshift(M),A=s[t](T,a.getNonce(O,m),p),k+=T.length-u+c):(v.setInt32(17,b),A=s[t](M,a.getNonce(O,m),d),k+=c,L=!0),b+=T.length-u,y=y.then(()=>A).then(async Y=>{await w.ready,await w.write(Y),k-=Y.length}).catch(Y=>w.abort(Y)),(L||k>w.desiredSize)&&await y,L){await w.close();break}v.setInt32(9,++g)}}catch(T){await w.abort(T)}})}}class hy{static get tag(){return he.packet.publicKeyEncryptedSessionKey}constructor(){this.version=3,this.publicKeyID=new vo,this.publicKeyAlgorithm=null,this.sessionKey=null,this.sessionKeyAlgorithm=null,this.encrypted={}}read(t){if(this.version=t[0],this.version!==3)throw new Er(`Version ${this.version} of the PKESK packet is unsupported.`);this.publicKeyID.read(t.subarray(1,t.length)),this.publicKeyAlgorithm=t[9],this.encrypted=Kt.parseEncSessionKeyParams(this.publicKeyAlgorithm,t.subarray(10))}write(){const t=[new Uint8Array([this.version]),this.publicKeyID.write(),new Uint8Array([this.publicKeyAlgorithm]),Kt.serializeParams(this.publicKeyAlgorithm,this.encrypted)];return Oe.concatUint8Array(t)}async encrypt(t){const r=Oe.concatUint8Array([new Uint8Array([he.write(he.symmetric,this.sessionKeyAlgorithm)]),this.sessionKey,Oe.writeChecksum(this.sessionKey)]),i=he.write(he.publicKey,this.publicKeyAlgorithm);this.encrypted=await Kt.publicKeyEncrypt(i,t.publicParams,r,t.getFingerprintBytes())}async decrypt(t,r){if(this.publicKeyAlgorithm!==t.algorithm)throw Error("Decryption error");const i=r?Oe.concatUint8Array([new Uint8Array([r.sessionKeyAlgorithm]),r.sessionKey,Oe.writeChecksum(r.sessionKey)]):null,a=await Kt.publicKeyDecrypt(this.publicKeyAlgorithm,t.publicParams,t.privateParams,this.encrypted,t.getFingerprintBytes(),i),s=a[0],u=a.subarray(1,a.length-2),c=a.subarray(a.length-2),h=Oe.writeChecksum(u),n=h[0]===c[0]&h[1]===c[1];if(r){const p=n&s===r.sessionKeyAlgorithm&u.length===r.sessionKey.length;this.sessionKeyAlgorithm=Oe.selectUint8(p,s,r.sessionKeyAlgorithm),this.sessionKey=Oe.selectUint8Array(p,u,r.sessionKey)}else{if(!(n&&he.read(he.symmetric,s)))throw Error("Decryption error");this.sessionKey=u,this.sessionKeyAlgorithm=s}}}class ed{constructor(t=Nt){this.algorithm=he.hash.sha256,this.type="iterated",this.c=t.s2kIterationCountByte,this.salt=null}getCount(){return 16+(15&this.c)<<6+(this.c>>4)}read(t){let r=0;switch(this.type=he.read(he.s2k,t[r++]),this.algorithm=t[r++],this.type){case"simple":break;case"salted":this.salt=t.subarray(r,r+8),r+=8;break;case"iterated":this.salt=t.subarray(r,r+8),r+=8,this.c=t[r++];break;case"gnu":if(Oe.uint8ArrayToString(t.subarray(r,r+3))!=="GNU")throw Error("Unknown s2k type.");if(r+=3,1e3+t[r++]!==1001)throw Error("Unknown s2k gnu protection mode.");this.type="gnu-dummy";break;default:throw Error("Unknown s2k type.")}return r}write(){if(this.type==="gnu-dummy")return new Uint8Array([101,0,...Oe.stringToUint8Array("GNU"),1]);const t=[new Uint8Array([he.write(he.s2k,this.type),this.algorithm])];switch(this.type){case"simple":break;case"salted":t.push(this.salt);break;case"iterated":t.push(this.salt),t.push(new Uint8Array([this.c]));break;case"gnu":throw Error("GNU s2k type not supported.");default:throw Error("Unknown s2k type.")}return Oe.concatUint8Array(t)}async produceKey(t,r){t=Oe.encodeUTF8(t);const i=[];let a=0,s=0;for(;a{this.privateParams[t].fill(0),delete this.privateParams[t]}),this.privateParams=null,this.isEncrypted=!0)}}async function c4(e,t,r){const{keySize:i}=Kt.getCipher(r);return e.produceKey(t,i)}var sW=j0(function(e){(function(t){function r(a){function s(){return Jt0&&(st.semantic=" "),st}}function S(it,st){return function(){var Ct,Ce,Le,ze,He;for(ze=u(),Ct=n("star"),Le=0,He=st===void 0?0:st;(Ce=it())!==null;)Le+=1,d(Ct,Ce);return Le>=He?Ct:(c(ze),null)}}function x(it){return it.charCodeAt(0)>=128}function E(){return p("cr",m("\r")())}function w(){return p("crlf",g(E,A)())}function T(){return p("dquote",m('"')())}function M(){return p("htab",m(" ")())}function A(){return p("lf",m(` `)())}function L(){return p("sp",m(" ")())}function Y(){return p("vchar",v(function(it){var st=it.charCodeAt(0),Ct=33<=st&&st<=126;return a.rfc6532&&(Ct=Ct||x(it)),Ct}))}function N(){return p("wsp",y(L,M)())}function W(){var it=p("quoted-pair",y(g(m("\\"),y(Y,N)),V)());return it===null?null:(it.semantic=it.semantic[1],it)}function j(){return p("fws",y(te,g(b(g(S(N),k(w))),S(N,1)))())}function ue(){return p("ctext",y(function(){return v(function(it){var st=it.charCodeAt(0),Ct=33<=st&&st<=39||42<=st&&st<=91||93<=st&&st<=126;return a.rfc6532&&(Ct=Ct||x(it)),Ct})},ae)())}function Te(){return p("ccontent",y(ue,W,pe)())}function pe(){return p("comment",g(m("("),S(g(b(j),Te)),b(j),m(")"))())}function ye(){return p("cfws",y(g(S(g(b(j),pe),1),b(j)),j)())}function de(){return p("atext",v(function(it){var st="a"<=it&&it<="z"||"A"<=it&&it<="Z"||"0"<=it&&it<="9"||["!","#","$","%","&","'","*","+","-","/","=","?","^","_","`","{","|","}","~"].indexOf(it)>=0;return a.rfc6532&&(st=st||x(it)),st}))}function Ee(){return p("atom",g(O(b(ye)),S(de,1),O(b(ye)))())}function ie(){var it,st;return(it=p("dot-atom-text",S(de,1)()))===null||(st=S(g(m("."),S(de,1)))())!==null&&d(it,st),it}function be(){return p("dot-atom",g(k(b(ye)),ie,k(b(ye)))())}function Ie(){return p("qtext",y(function(){return v(function(it){var st=it.charCodeAt(0),Ct=st===33||35<=st&&st<=91||93<=st&&st<=126;return a.rfc6532&&(Ct=Ct||x(it)),Ct})},B)())}function De(){return p("qcontent",y(Ie,W)())}function se(){return p("quoted-string",g(k(b(ye)),k(T),S(g(b(O(j)),De)),b(k(j)),k(T),k(b(ye)))())}function q(){return p("word",y(Ee,se)())}function F(){return p("address",y(I,fe)())}function I(){return p("mailbox",y(J,Se)())}function J(){return p("name-addr",g(b(ke),ee)())}function ee(){return p("angle-addr",y(g(k(b(ye)),m("<"),Se,m(">"),k(b(ye))),oe)())}function fe(){return p("group",g(ke,m(":"),b(re),m(";"),k(b(ye)))())}function ke(){return p("display-name",((it=p("phrase",y(G,S(q,1))()))!==null&&(it.semantic=function(st){return st.replace(/([ \t]|\r\n)+/g," ").replace(/^\s*/,"").replace(/\s*$/,"")}(it.semantic)),it));var it}function X(){return p("mailbox-list",y(g(I,S(g(m(","),I))),le)())}function H(){return p("address-list",y(g(F,S(g(m(","),F))),Ve)())}function re(){return p("group-list",y(X,k(ye),Ze)())}function Z(){return p("local-part",y(yt,be,se)())}function Pe(){return p("dtext",y(function(){return v(function(it){var st=it.charCodeAt(0),Ct=33<=st&&st<=90||94<=st&&st<=126;return a.rfc6532&&(Ct=Ct||x(it)),Ct})},St)())}function ve(){return p("domain-literal",g(k(b(ye)),m("["),S(g(b(j),Pe)),b(j),m("]"),k(b(ye)))())}function U(){return p("domain",(it=y(Tt,be,ve)(),a.rejectTLD&&it&&it.semantic&&it.semantic.indexOf(".")<0?null:(it&&(it.semantic=it.semantic.replace(/\s+/g,"")),it)));var it}function Se(){return p("addr-spec",g(Z,m("@"),U)())}function me(){return a.strict?null:p("obs-NO-WS-CTL",v(function(it){var st=it.charCodeAt(0);return 1<=st&&st<=8||st===11||st===12||14<=st&&st<=31||st===127}))}function ae(){return a.strict?null:p("obs-ctext",me())}function B(){return a.strict?null:p("obs-qtext",me())}function V(){return a.strict?null:p("obs-qp",g(m("\\"),y(m("\0"),me,A,E))())}function G(){return a.strict?null:a.atInDisplayName?p("obs-phrase",g(q,S(y(q,m("."),m("@"),O(ye))))()):p("obs-phrase",g(q,S(y(q,m("."),O(ye))))())}function te(){return a.strict?null:p("obs-FWS",S(g(k(b(w)),N),1)())}function oe(){return a.strict?null:p("obs-angle-addr",g(k(b(ye)),m("<"),_e,Se,m(">"),k(b(ye)))())}function _e(){return a.strict?null:p("obs-route",g(ce,m(":"))())}function ce(){return a.strict?null:p("obs-domain-list",g(S(y(k(ye),m(","))),m("@"),U,S(g(m(","),k(b(ye)),b(g(m("@"),U)))))())}function le(){return a.strict?null:p("obs-mbox-list",g(S(g(k(b(ye)),m(","))),I,S(g(m(","),b(g(I,k(ye))))))())}function Ve(){return a.strict?null:p("obs-addr-list",g(S(g(k(b(ye)),m(","))),F,S(g(m(","),b(g(F,k(ye))))))())}function Ze(){return a.strict?null:p("obs-group-list",g(S(g(k(b(ye)),m(",")),1),k(b(ye)))())}function yt(){return a.strict?null:p("obs-local-part",g(q,S(g(m("."),q)))())}function Tt(){return a.strict?null:p("obs-domain",g(Ee,S(g(m("."),Ee)))())}function St(){return a.strict?null:p("obs-dtext",y(me,W)())}function At(it,st){var Ct,Ce,Le;if(st==null)return null;for(Ce=[st];Ce.length>0;){if((Le=Ce.pop()).name===it)return Le;for(Ct=Le.children.length-1;Ct>=0;Ct-=1)Ce.push(Le.children[Ct])}return null}function ht(it,st){var Ct,Ce,Le,ze,He;if(st==null)return null;for(Ce=[st],ze=[],He={},Ct=0;Ct0;)if((Le=Ce.pop()).name in He)ze.push(Le);else for(Ct=Le.children.length-1;Ct>=0;Ct-=1)Ce.push(Le.children[Ct]);return ze}function Rt(it){var st,Ct,Ce,Le,ze;if(it===null)return null;for(st=[],Ct=ht(["group","mailbox"],it),Ce=0;Ce1?null:He.addresses&&He.addresses[0]}(ze):a.simple?ze&&ze.addresses:ze}function Mt(it){var st,Ct=At("display-name",it),Ce=[],Le=ht(["mailbox"],it);for(st=0;st0;)for((Ot=bt.pop()).name===Be&&Bt.push(Ot),pt=Ot.children.length-1;pt>=0;pt-=1)bt.push(Ot.children[pt]);return Bt}("cfws",it),Le=ht(["comment"],it),ze=At("local-part",Ct),He=At("domain",Ct);return{node:it,parts:{name:st,address:Ct,local:ze,domain:He,comments:Ce},type:it.name,name:tn(st),address:tn(Ct),local:tn(ze),domain:tn(He),comments:Yt(Le),groupName:tn(it.groupName)}}function tn(it){return it!=null?it.semantic:null}function Yt(it){var st="";if(it)for(var Ct=0;Ct`),r.userID=i.join(" "),r}read(t,r=Nt){const i=Oe.decodeUTF8(t);if(i.length>r.maxUserIDLength)throw Error("User ID string is too long");try{const{name:a,address:s,comments:u}=sW.parseOneAddress({input:i,atInDisplayName:!0});this.comment=u.replace(/^\(|\)$/g,""),this.name=a,this.email=s}catch{}this.userID=i}write(){return Oe.encodeUTF8(this.userID)}equals(t){return t&&t.userID===this.userID}}class Z0 extends rm{static get tag(){return he.packet.secretSubkey}constructor(t=new Date,r=Nt){super(t,r)}}class FD{constructor(t){this.packets=t||new Fn}write(){return this.packets.write()}armor(t=Nt){return Dd(he.armor.signature,this.write(),void 0,void 0,void 0,t)}getSigningKeyIDs(){return this.packets.map(t=>t.issuerKeyID)}}async function zD(e,t){const r=new Z0(e.date,t);return r.packets=null,r.algorithm=he.write(he.publicKey,e.algorithm),await r.generate(e.rsaBits,e.curve),await r.computeFingerprintAndKeyID(),r}async function oW(e,t){const r=new rm(e.date,t);return r.packets=null,r.algorithm=he.write(he.publicKey,e.algorithm),await r.generate(e.rsaBits,e.curve,e.config),await r.computeFingerprintAndKeyID(),r}async function ja(e,t,r,i,a=new Date,s){let u,c;for(let h=e.length-1;h>=0;h--)try{(!u||e[h].created>=u.created)&&(await e[h].verify(t,r,i,a,void 0,s),u=e[h])}catch(n){c=n}if(!u)throw Oe.wrapError(`Could not find valid ${he.read(he.signature,r)} signature in key ${t.getKeyID().toHex()}`.replace("certGeneric ","self-").replace(/([a-z])([A-Z])/g,(h,n,p)=>n+" "+p.toLowerCase()),c);return u}function py(e,t,r=new Date){const i=Oe.normalizeDate(r);if(i!==null){const a=gv(e,t);return!(e.created<=i&&i0&&(s.keyExpirationTime=r.keyExpirationTime,s.keyNeverExpires=!1),await s.sign(t,a,r.date),s}async function am(e,t,r=new Date,i={},a){let s=a.preferredHashAlgorithm,u=s;if(e){const c=await e.getPrimaryUser(r,i,a);c.selfCertification.preferredHashAlgorithms&&([u]=c.selfCertification.preferredHashAlgorithms,s=Kt.hash.getHashByteLength(s)<=Kt.hash.getHashByteLength(u)?u:s)}switch(Object.getPrototypeOf(t)){case rm.prototype:case va.prototype:case Z0.prototype:case $d.prototype:switch(t.algorithm){case he.publicKey.ecdh:case he.publicKey.ecdsa:case he.publicKey.eddsa:u=Kt.publicKey.elliptic.getPreferredHashAlgo(t.publicParams.oid)}}return Kt.hash.getHashByteLength(s)<=Kt.hash.getHashByteLength(u)?u:s}async function vy(e,t=[],r=new Date,i=[],a=Nt){const s={symmetric:he.symmetric.aes128,aead:he.aead.eax,compression:he.compression.uncompressed}[e],u={symmetric:a.preferredSymmetricAlgorithm,aead:a.preferredAEADAlgorithm,compression:a.preferredCompressionAlgorithm}[e],c={symmetric:"preferredSymmetricAlgorithms",aead:"preferredAEADAlgorithms",compression:"preferredCompressionAlgorithms"}[e];return(await Promise.all(t.map(async function(h,n){const p=(await h.getPrimaryUser(r,i[n],a)).selfCertification[c];return!!p&&p.indexOf(u)>=0}))).every(Boolean)?u:s}async function hl(e,t,r,i,a,s,u=[],c=!1,h){if(r.isDummy())throw Error("Cannot sign with a gnu-dummy key.");if(!r.isDecrypted())throw Error("Signing key is not decrypted.");const n=new Hr;return Object.assign(n,i),n.publicKeyAlgorithm=r.algorithm,n.hashAlgorithm=await am(t,r,a,s,h),n.rawNotations=u,await n.sign(r,e,a,c),n}async function rl(e,t,r,i=new Date,a){(e=e[r])&&(t[r].length?await Promise.all(e.map(async function(s){s.isExpired(i)||a&&!await a(s)||t[r].some(function(u){return Oe.equalsUint8Array(u.writeParams(),s.writeParams())})||t[r].push(s)})):t[r]=e)}async function Cu(e,t,r,i,a,s,u=new Date,c){s=s||e;const h=[];return await Promise.all(i.map(async function(n){try{a&&!n.issuerKeyID.equals(a.issuerKeyID)||(await n.verify(s,t,r,c.revocationsExpire?u:null,!1,c),h.push(n.issuerKeyID))}catch{}})),a?(a.revoked=!!h.some(n=>n.equals(a.issuerKeyID))||a.revoked||!1,a.revoked):h.length>0}function gv(e,t){let r;return t.keyNeverExpires===!1&&(r=e.created.getTime()+1e3*t.keyExpirationTime),r?new Date(r):1/0}function my(e,t={}){switch(e.type=e.type||t.type,e.curve=e.curve||t.curve,e.rsaBits=e.rsaBits||t.rsaBits,e.keyExpirationTime=e.keyExpirationTime!==void 0?e.keyExpirationTime:t.keyExpirationTime,e.passphrase=Oe.isString(e.passphrase)?e.passphrase:t.passphrase,e.date=e.date||t.date,e.sign=e.sign||!1,e.type){case"ecc":try{e.curve=he.write(he.curve,e.curve)}catch{throw Error("Unknown curve")}e.curve!==he.curve.ed25519&&e.curve!==he.curve.curve25519||(e.curve=e.sign?he.curve.ed25519:he.curve.curve25519),e.sign?e.algorithm=e.curve===he.curve.ed25519?he.publicKey.eddsa:he.publicKey.ecdsa:e.algorithm=he.publicKey.ecdh;break;case"rsa":e.algorithm=he.publicKey.rsaEncryptSign;break;default:throw Error("Unsupported key type "+e.type)}return e}function d4(e,t){const r=e.algorithm;return r!==he.publicKey.rsaEncrypt&&r!==he.publicKey.elgamal&&r!==he.publicKey.ecdh&&(!t.keyFlags||(t.keyFlags[0]&he.keyFlags.signData)!=0)}function f4(e,t){const r=e.algorithm;return r!==he.publicKey.dsa&&r!==he.publicKey.rsaSign&&r!==he.publicKey.ecdsa&&r!==he.publicKey.eddsa&&(!t.keyFlags||(t.keyFlags[0]&he.keyFlags.encryptCommunication)!=0||(t.keyFlags[0]&he.keyFlags.encryptStorage)!=0)}function h4(e,t){return!!t.allowInsecureDecryptionWithSigningKeys||!e.keyFlags||(e.keyFlags[0]&he.keyFlags.encryptCommunication)!=0||(e.keyFlags[0]&he.keyFlags.encryptStorage)!=0}function au(e,t){const r=he.write(he.publicKey,e.algorithm),i=e.getAlgorithmInfo();if(t.rejectPublicKeyAlgorithms.has(r))throw Error(i.algorithm+" keys are considered too weak.");switch(r){case he.publicKey.rsaEncryptSign:case he.publicKey.rsaSign:case he.publicKey.rsaEncrypt:if(i.bitsp.getKeys(h).length>0);return n.length===0?null:(await Promise.all(n.map(async p=>{const d=await p.getSigningKey(h,t.created,void 0,a);if(t.revoked||await s.isRevoked(t,d.keyPacket,i,a))throw Error("User certificate is revoked");try{await t.verify(d.keyPacket,he.signature.certGeneric,c,i,void 0,a)}catch(v){throw Oe.wrapError("User certificate is invalid",v)}})),!0)}async verifyAllCertifications(t,r=new Date,i){const a=this,s=this.selfCertifications.concat(this.otherCertifications);return Promise.all(s.map(async u=>({keyID:u.issuerKeyID,valid:await a.verifyCertificate(u,t,r,i).catch(()=>!1)})))}async verify(t=new Date,r){if(!this.selfCertifications.length)throw Error("No self-certifications found");const i=this,a=this.mainKey.keyPacket,s={userID:this.userID,userAttribute:this.userAttribute,key:a};let u;for(let c=this.selfCertifications.length-1;c>=0;c--)try{const h=this.selfCertifications[c];if(h.revoked||await i.isRevoked(h,void 0,t,r))throw Error("Self-certification is revoked");try{await h.verify(a,he.signature.certGeneric,s,t,void 0,r)}catch(n){throw Oe.wrapError("Self-certification is invalid",n)}return!0}catch(h){u=h}throw u}async update(t,r,i){const a=this.mainKey.keyPacket,s={userID:this.userID,userAttribute:this.userAttribute,key:a};await rl(t,this,"selfCertifications",r,async function(u){try{return await u.verify(a,he.signature.certGeneric,s,r,!1,i),!0}catch{return!1}}),await rl(t,this,"otherCertifications",r),await rl(t,this,"revocationSignatures",r,function(u){return Cu(a,he.signature.certRevocation,s,[u],void 0,void 0,r,i)})}async revoke(t,{flag:r=he.reasonForRevocation.noReason,string:i=""}={},a=new Date,s=Nt){const u={userID:this.userID,userAttribute:this.userAttribute,key:t},c=new td(u.userID||u.userAttribute,this.mainKey);return c.revocationSignatures.push(await hl(u,null,t,{signatureType:he.signature.certRevocation,reasonForRevocationFlag:he.write(he.reasonForRevocation,r),reasonForRevocationString:i},a,void 0,void 0,!1,s)),await c.update(this),c}}class xu{constructor(t,r){this.keyPacket=t,this.bindingSignatures=[],this.revocationSignatures=[],this.mainKey=r}toPacketList(){const t=new Fn;return t.push(this.keyPacket),t.push(...this.revocationSignatures),t.push(...this.bindingSignatures),t}clone(){const t=new xu(this.keyPacket,this.mainKey);return t.bindingSignatures=[...this.bindingSignatures],t.revocationSignatures=[...this.revocationSignatures],t}async isRevoked(t,r,i=new Date,a=Nt){const s=this.mainKey.keyPacket;return Cu(s,he.signature.subkeyRevocation,{key:s,bind:this.keyPacket},this.revocationSignatures,t,r,i,a)}async verify(t=new Date,r=Nt){const i=this.mainKey.keyPacket,a={key:i,bind:this.keyPacket},s=await ja(this.bindingSignatures,i,he.signature.subkeyBinding,a,t,r);if(s.revoked||await this.isRevoked(s,null,t,r))throw Error("Subkey is revoked");if(py(this.keyPacket,s,t))throw Error("Subkey is expired");return s}async getExpirationTime(t=new Date,r=Nt){const i=this.mainKey.keyPacket,a={key:i,bind:this.keyPacket};let s;try{s=await ja(this.bindingSignatures,i,he.signature.subkeyBinding,a,t,r)}catch{return null}const u=gv(this.keyPacket,s),c=s.getExpirationTime();return us.bindingSignatures[h].created&&(s.bindingSignatures[h]=c),!1;try{return await c.verify(a,he.signature.subkeyBinding,u,r,void 0,i),!0}catch{return!1}}),await rl(t,this,"revocationSignatures",r,function(c){return Cu(a,he.signature.subkeyRevocation,u,[c],void 0,void 0,r,i)})}async revoke(t,{flag:r=he.reasonForRevocation.noReason,string:i=""}={},a=new Date,s=Nt){const u={key:t,bind:this.keyPacket},c=new xu(this.keyPacket,this.mainKey);return c.revocationSignatures.push(await hl(u,null,t,{signatureType:he.signature.subkeyRevocation,reasonForRevocationFlag:he.write(he.reasonForRevocation,r),reasonForRevocationString:i},a,void 0,void 0,!1,s)),await c.update(this),c}hasSameFingerprintAs(t){return this.keyPacket.hasSameFingerprintAs(t.keyPacket||t)}}["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","isDecrypted"].forEach(e=>{xu.prototype[e]=function(){return this.keyPacket[e]()}});const lW=Oe.constructAllowedPackets([Hr]),p4=new Set([he.packet.publicKey,he.packet.privateKey]),v4=new Set([he.packet.publicKey,he.packet.privateKey,he.packet.publicSubkey,he.packet.privateSubkey]);class UD{packetListToStructure(t,r=new Set){let i,a,s,u;for(const c of t){if(c instanceof sy){v4.has(c.tag)&&!u&&(u=p4.has(c.tag)?p4:v4);continue}const h=c.constructor.tag;if(u){if(!u.has(h))continue;u=null}if(r.has(h))throw Error("Unexpected packet type: "+h);switch(h){case he.packet.publicKey:case he.packet.secretKey:if(this.keyPacket)throw Error("Key block contains multiple keys");if(this.keyPacket=c,a=this.getKeyID(),!a)throw Error("Missing Key ID");break;case he.packet.userID:case he.packet.userAttribute:i=new td(c,this),this.users.push(i);break;case he.packet.publicSubkey:case he.packet.secretSubkey:i=null,s=new xu(c,this),this.subkeys.push(s);break;case he.packet.signature:switch(c.signatureType){case he.signature.certGeneric:case he.signature.certPersona:case he.signature.certCasual:case he.signature.certPositive:if(!i){Oe.printDebug("Dropping certification signatures without preceding user packet");continue}c.issuerKeyID.equals(a)?i.selfCertifications.push(c):i.otherCertifications.push(c);break;case he.signature.certRevocation:i?i.revocationSignatures.push(c):this.directSignatures.push(c);break;case he.signature.key:this.directSignatures.push(c);break;case he.signature.subkeyBinding:if(!s){Oe.printDebug("Dropping subkey binding signature without preceding subkey packet");continue}s.bindingSignatures.push(c);break;case he.signature.keyRevocation:this.revocationSignatures.push(c);break;case he.signature.subkeyRevocation:if(!s){Oe.printDebug("Dropping subkey revocation signature without preceding subkey packet");continue}s.revocationSignatures.push(c)}}}}toPacketList(){const t=new Fn;return t.push(this.keyPacket),t.push(...this.revocationSignatures),t.push(...this.directSignatures),this.users.map(r=>t.push(...r.toPacketList())),this.subkeys.map(r=>t.push(...r.toPacketList())),t}clone(t=!1){const r=new this.constructor(this.toPacketList());return t&&r.getKeys().forEach(i=>{if(i.keyPacket=Object.create(Object.getPrototypeOf(i.keyPacket),Object.getOwnPropertyDescriptors(i.keyPacket)),!i.keyPacket.isDecrypted())return;const a={};Object.keys(i.keyPacket.privateParams).forEach(s=>{a[s]=new Uint8Array(i.keyPacket.privateParams[s])}),i.keyPacket.privateParams=a}),r}getSubkeys(t=null){return this.subkeys.filter(r=>!t||r.getKeyID().equals(t,!0))}getKeys(t=null){const r=[];return t&&!this.getKeyID().equals(t,!0)||r.push(this),r.concat(this.getSubkeys(t))}getKeyIDs(){return this.getKeys().map(t=>t.getKeyID())}getUserIDs(){return this.users.map(t=>t.userID?t.userID.userID:null).filter(t=>t!==null)}write(){return this.toPacketList().write()}async getSigningKey(t=null,r=new Date,i={},a=Nt){await this.verifyPrimaryKey(r,i,a);const s=this.keyPacket,u=this.subkeys.slice().sort((h,n)=>n.keyPacket.created-h.keyPacket.created);let c;for(const h of u)if(!t||h.getKeyID().equals(t))try{await h.verify(r,a);const n={key:s,bind:h.keyPacket},p=await ja(h.bindingSignatures,s,he.signature.subkeyBinding,n,r,a);if(!d4(h.keyPacket,p))continue;if(!p.embeddedSignature)throw Error("Missing embedded signature");return await ja([p.embeddedSignature],h.keyPacket,he.signature.keyBinding,n,r,a),au(h.keyPacket,a),h}catch(n){c=n}try{const h=await this.getPrimaryUser(r,i,a);if((!t||s.getKeyID().equals(t))&&d4(s,h.selfCertification))return au(s,a),this}catch(h){c=h}throw Oe.wrapError("Could not find valid signing key packet in key "+this.getKeyID().toHex(),c)}async getEncryptionKey(t,r=new Date,i={},a=Nt){await this.verifyPrimaryKey(r,i,a);const s=this.keyPacket,u=this.subkeys.slice().sort((h,n)=>n.keyPacket.created-h.keyPacket.created);let c;for(const h of u)if(!t||h.getKeyID().equals(t))try{await h.verify(r,a);const n={key:s,bind:h.keyPacket},p=await ja(h.bindingSignatures,s,he.signature.subkeyBinding,n,r,a);if(f4(h.keyPacket,p))return au(h.keyPacket,a),h}catch(n){c=n}try{const h=await this.getPrimaryUser(r,i,a);if((!t||s.getKeyID().equals(t))&&f4(s,h.selfCertification))return au(s,a),this}catch(h){c=h}throw Oe.wrapError("Could not find valid encryption key packet in key "+this.getKeyID().toHex(),c)}async isRevoked(t,r,i=new Date,a=Nt){return Cu(this.keyPacket,he.signature.keyRevocation,{key:this.keyPacket},this.revocationSignatures,t,r,i,a)}async verifyPrimaryKey(t=new Date,r={},i=Nt){const a=this.keyPacket;if(await this.isRevoked(null,null,t,i))throw Error("Primary key is revoked");const{selfCertification:s}=await this.getPrimaryUser(t,r,i);if(py(a,s,t))throw Error("Primary key is expired");const u=await ja(this.directSignatures,a,he.signature.key,{key:a},t,i).catch(()=>{});if(u&&py(a,u,t))throw Error("Primary key is expired")}async getExpirationTime(t,r=Nt){let i;try{const{selfCertification:a}=await this.getPrimaryUser(null,t,r),s=gv(this.keyPacket,a),u=a.getExpirationTime(),c=await ja(this.directSignatures,this.keyPacket,he.signature.key,{key:this.keyPacket},null,r).catch(()=>{});if(c){const h=gv(this.keyPacket,c);i=Math.min(s,u,h)}else i=st.subkeys.some(u=>s.hasSameFingerprintAs(u)))))throw Error("Cannot update public key with private key if subkeys mismatch");return t.update(this,i)}const a=this.clone();return await rl(t,a,"revocationSignatures",r,s=>Cu(a.keyPacket,he.signature.keyRevocation,a,[s],null,t.keyPacket,r,i)),await rl(t,a,"directSignatures",r),await Promise.all(t.users.map(async s=>{const u=a.users.filter(c=>s.userID&&s.userID.equals(c.userID)||s.userAttribute&&s.userAttribute.equals(c.userAttribute));if(u.length>0)await Promise.all(u.map(c=>c.update(s,r,i)));else{const c=s.clone();c.mainKey=a,a.users.push(c)}})),await Promise.all(t.subkeys.map(async s=>{const u=a.subkeys.filter(c=>c.hasSameFingerprintAs(s));if(u.length>0)await Promise.all(u.map(c=>c.update(s,r,i)));else{const c=s.clone();c.mainKey=a,a.subkeys.push(c)}})),a}async getRevocationCertificate(t=new Date,r=Nt){const i={key:this.keyPacket},a=await ja(this.revocationSignatures,this.keyPacket,he.signature.keyRevocation,i,t,r),s=new Fn;return s.push(a),Dd(he.armor.publicKey,s.write(),null,null,"This is a revocation certificate")}async applyRevocationCertificate(t,r=new Date,i=Nt){const a=await Ed(t,i),s=(await Fn.fromBinary(a.data,lW,i)).findPacket(he.packet.signature);if(!s||s.signatureType!==he.signature.keyRevocation)throw Error("Could not find revocation signature packet");if(!s.issuerKeyID.equals(this.getKeyID()))throw Error("Revocation signature does not match key");try{await s.verify(this.keyPacket,he.signature.keyRevocation,{key:this.keyPacket},r,void 0,i)}catch(c){throw Oe.wrapError("Could not verify revocation signature",c)}const u=this.clone();return u.revocationSignatures.push(s),u}async signPrimaryUser(t,r,i,a=Nt){const{index:s,user:u}=await this.getPrimaryUser(r,i,a),c=await u.certify(t,r,a),h=this.clone();return h.users[s]=c,h}async signAllUsers(t,r=new Date,i=Nt){const a=this.clone();return a.users=await Promise.all(this.users.map(function(s){return s.certify(t,r,i)})),a}async verifyPrimaryUser(t,r=new Date,i,a=Nt){const s=this.keyPacket,{user:u}=await this.getPrimaryUser(r,i,a);return t?await u.verifyAllCertifications(t,r,a):[{keyID:s.getKeyID(),valid:await u.verify(r,a).catch(()=>!1)}]}async verifyAllUsers(t,r=new Date,i=Nt){const a=this.keyPacket,s=[];return await Promise.all(this.users.map(async u=>{const c=t?await u.verifyAllCertifications(t,r,i):[{keyID:a.getKeyID(),valid:await u.verify(r,i).catch(()=>!1)}];s.push(...c.map(h=>({userID:u.userID.userID,keyID:h.keyID,valid:h.valid})))})),s}}["getKeyID","getFingerprint","getAlgorithmInfo","getCreationTime","hasSameFingerprintAs"].forEach(e=>{UD.prototype[e]=xu.prototype[e]});class _y extends UD{constructor(t){if(super(),this.keyPacket=null,this.revocationSignatures=[],this.directSignatures=[],this.users=[],this.subkeys=[],t&&(this.packetListToStructure(t,new Set([he.packet.secretKey,he.packet.secretSubkey])),!this.keyPacket))throw Error("Invalid key: missing public-key packet")}isPrivate(){return!1}toPublic(){return this}armor(t=Nt){return Dd(he.armor.publicKey,this.toPacketList().write(),void 0,void 0,void 0,t)}}class Rd extends _y{constructor(t){if(super(),this.packetListToStructure(t,new Set([he.packet.publicKey,he.packet.publicSubkey])),!this.keyPacket)throw Error("Invalid key: missing private-key packet")}isPrivate(){return!0}toPublic(){const t=new Fn,r=this.toPacketList();for(const i of r)switch(i.constructor.tag){case he.packet.secretKey:{const a=va.fromSecretKeyPacket(i);t.push(a);break}case he.packet.secretSubkey:{const a=$d.fromSecretSubkeyPacket(i);t.push(a);break}default:t.push(i)}return new _y(t)}armor(t=Nt){return Dd(he.armor.privateKey,this.toPacketList().write(),void 0,void 0,void 0,t)}async getDecryptionKeys(t,r=new Date,i={},a=Nt){const s=this.keyPacket,u=[];for(let h=0;ht.isDecrypted())}async validate(t=Nt){if(!this.isPrivate())throw Error("Cannot validate a public key");let r;if(this.keyPacket.isDummy()){const i=await this.getSigningKey(null,null,void 0,{...t,rejectPublicKeyAlgorithms:new Set,minRSABits:0});i&&!i.keyPacket.isDummy()&&(r=i.keyPacket)}else r=this.keyPacket;if(r)return r.validate();{const i=this.getKeys();if(i.map(a=>a.keyPacket.isDummy()).every(Boolean))throw Error("Cannot validate an all-gnu-dummy key");return Promise.all(i.map(async a=>a.keyPacket.validate()))}}clearPrivateParams(){this.getKeys().forEach(({keyPacket:t})=>{t.isDecrypted()&&t.clearPrivateParams()})}async revoke({flag:t=he.reasonForRevocation.noReason,string:r=""}={},i=new Date,a=Nt){if(!this.isPrivate())throw Error("Need private key for revoking");const s={key:this.keyPacket},u=this.clone();return u.revocationSignatures.push(await hl(s,null,this.keyPacket,{signatureType:he.signature.keyRevocation,reasonForRevocationFlag:he.write(he.reasonForRevocation,t),reasonForRevocationString:r},i,void 0,void 0,void 0,a)),u}async addSubkey(t={}){const r={...Nt,...t.config};if(t.passphrase)throw Error("Subkey could not be encrypted here, please encrypt whole key");if(t.rsaBitsg!==m)]}const n=im.fromObject(u),p={};p.userID=n,p.key=e;const d=new Hr;return d.signatureType=he.signature.certGeneric,d.publicKeyAlgorithm=e.algorithm,d.hashAlgorithm=await am(null,e,void 0,void 0,i),d.keyFlags=[he.keyFlags.certifyKeys|he.keyFlags.signData],d.preferredSymmetricAlgorithms=h([he.symmetric.aes256,he.symmetric.aes128,he.symmetric.aes192],i.preferredSymmetricAlgorithm),i.aeadProtect&&(d.preferredAEADAlgorithms=h([he.aead.eax,he.aead.ocb],i.preferredAEADAlgorithm)),d.preferredHashAlgorithms=h([he.hash.sha256,he.hash.sha512],i.preferredHashAlgorithm),d.preferredCompressionAlgorithms=h([he.compression.zlib,he.compression.zip,he.compression.uncompressed],i.preferredCompressionAlgorithm),c===0&&(d.isPrimaryUserID=!0),d.features=[0],d.features[0]|=he.features.modificationDetection,i.aeadProtect&&(d.features[0]|=he.features.aead),i.v5Keys&&(d.features[0]|=he.features.v5Keys),r.keyExpirationTime>0&&(d.keyExpirationTime=r.keyExpirationTime,d.keyNeverExpires=!1),await d.sign(e,p,r.date),{userIDPacket:n,signaturePacket:d}})).then(u=>{u.forEach(({userIDPacket:c,signaturePacket:h})=>{a.push(c),a.push(h)})}),await Promise.all(t.map(async function(u,c){const h=r.subkeys[c];return{secretSubkeyPacket:u,subkeySignaturePacket:await jD(u,e,h,i)}})).then(u=>{u.forEach(({secretSubkeyPacket:c,subkeySignaturePacket:h})=>{a.push(c),a.push(h)})});const s={key:e};return a.push(await hl(s,null,e,{signatureType:he.signature.keyRevocation,reasonForRevocationFlag:he.reasonForRevocation.noReason,reasonForRevocationString:""},r.date,void 0,void 0,void 0,i)),r.passphrase&&e.clearPrivateParams(),await Promise.all(t.map(async function(u,c){r.subkeys[c].passphrase&&u.clearPrivateParams()})),new Rd(a)}async function dW({armoredKey:e,binaryKey:t,config:r,...i}){if(r={...Nt,...r},!e&&!t)throw Error("readKey: must pass options object containing `armoredKey` or `binaryKey`");if(e&&!Oe.isString(e))throw Error("readKey: options.armoredKey must be a string");if(t&&!Oe.isUint8Array(t))throw Error("readKey: options.binaryKey must be a Uint8Array");const a=Object.keys(i);if(a.length>0)throw Error("Unknown option: "+a.join(", "));let s;if(e){const{type:u,data:c}=await Ed(e,r);if(u!==he.armor.publicKey&&u!==he.armor.privateKey)throw Error("Armored text not of type key");s=c}else s=t;return uW(await Fn.fromBinary(s,VD,r))}async function fW({armoredKey:e,binaryKey:t,config:r,...i}){if(r={...Nt,...r},!e&&!t)throw Error("readPrivateKey: must pass options object containing `armoredKey` or `binaryKey`");if(e&&!Oe.isString(e))throw Error("readPrivateKey: options.armoredKey must be a string");if(t&&!Oe.isUint8Array(t))throw Error("readPrivateKey: options.binaryKey must be a Uint8Array");const a=Object.keys(i);if(a.length>0)throw Error("Unknown option: "+a.join(", "));let s;if(e){const{type:c,data:h}=await Ed(e,r);if(c!==he.armor.privateKey)throw Error("Armored text not of type private key");s=h}else s=t;const u=await Fn.fromBinary(s,VD,r);return new Rd(u)}const hW=Oe.constructAllowedPackets([Lu,Id,nm,BD,aW,hy,wu,ga,Hr]),pW=Oe.constructAllowedPackets([wu]),vW=Oe.constructAllowedPackets([Hr]);class na{constructor(t){this.packets=t||new Fn}getEncryptionKeyIDs(){const t=[];return this.packets.filterByTag(he.packet.publicKeyEncryptedSessionKey).forEach(function(r){t.push(r.publicKeyID)}),t}getSigningKeyIDs(){const t=this.unwrapCompressed(),r=t.packets.filterByTag(he.packet.onePassSignature);return r.length>0?r.map(i=>i.issuerKeyID):t.packets.filterByTag(he.packet.signature).map(i=>i.issuerKeyID)}async decrypt(t,r,i,a=new Date,s=Nt){const u=i||await this.decryptSessionKeys(t,r,a,s),c=this.packets.filterByTag(he.packet.symmetricallyEncryptedData,he.packet.symEncryptedIntegrityProtectedData,he.packet.aeadEncryptedData);if(c.length===0)throw Error("No encrypted data found");const h=c[0];let n=null;const p=Promise.all(u.map(async({algorithm:v,data:m})=>{if(!Oe.isUint8Array(m)||!Oe.isString(v))throw Error("Invalid session key for decryption.");try{const g=he.write(he.symmetric,v);await h.decrypt(g,m,s)}catch(g){Oe.printDebugError(g),n=g}}));if(Qg(h.encrypted),h.encrypted=null,await p,!h.packets||!h.packets.length)throw n||Error("Decryption failed.");const d=new na(h.packets);return h.packets=new Fn,d}async decryptSessionKeys(t,r,i=new Date,a=Nt){let s,u=[];if(r){const c=this.packets.filterByTag(he.packet.symEncryptedSessionKey);if(c.length===0)throw Error("No symmetrically encrypted session key packet found.");await Promise.all(r.map(async function(h,n){let p;p=n?await Fn.fromBinary(c.write(),pW,a):c,await Promise.all(p.map(async function(d){try{await d.decrypt(h),u.push(d)}catch(v){Oe.printDebugError(v)}}))}))}else{if(!t)throw Error("No key or password specified.");{const c=this.packets.filterByTag(he.packet.publicKeyEncryptedSessionKey);if(c.length===0)throw Error("No public key encrypted session key packet found.");await Promise.all(c.map(async function(h){await Promise.all(t.map(async function(n){let p=[he.symmetric.aes256,he.symmetric.aes128,he.symmetric.tripledes,he.symmetric.cast5];try{const v=await n.getPrimaryUser(i,void 0,a);v.selfCertification.preferredSymmetricAlgorithms&&(p=p.concat(v.selfCertification.preferredSymmetricAlgorithms))}catch{}const d=(await n.getDecryptionKeys(h.publicKeyID,null,void 0,a)).map(v=>v.keyPacket);await Promise.all(d.map(async function(v){if(!(!v||v.isDummy())){if(!v.isDecrypted())throw Error("Decryption key is not decrypted.");if(a.constantTimePKCS1Decryption&&(h.publicKeyAlgorithm===he.publicKey.rsaEncrypt||h.publicKeyAlgorithm===he.publicKey.rsaEncryptSign||h.publicKeyAlgorithm===he.publicKey.rsaSign||h.publicKeyAlgorithm===he.publicKey.elgamal)){const m=h.write();await Promise.all(Array.from(a.constantTimePKCS1DecryptionSupportedSymmetricAlgorithms).map(async g=>{const y=new hy;y.read(m);const b={sessionKeyAlgorithm:g,sessionKey:Kt.generateSessionKey(g)};try{await y.decrypt(v,b),u.push(y)}catch(k){Oe.printDebugError(k),s=k}}))}else try{if(await h.decrypt(v),!p.includes(he.write(he.symmetric,h.sessionKeyAlgorithm)))throw Error("A non-preferred symmetric algorithm was used.");u.push(h)}catch(m){Oe.printDebugError(m),s=m}}}))})),Qg(h.encrypted),h.encrypted=null}))}}if(u.length>0){if(u.length>1){const c=new Set;u=u.filter(h=>{const n=h.sessionKeyAlgorithm+Oe.uint8ArrayToString(h.sessionKey);return!c.has(n)&&(c.add(n),!0)})}return u.map(c=>({data:c.sessionKey,algorithm:he.read(he.symmetric,c.sessionKeyAlgorithm)}))}throw s||Error("Session key decryption failed.")}getLiteralData(){const t=this.unwrapCompressed().packets.findPacket(he.packet.literalData);return t&&t.getBytes()||null}getFilename(){const t=this.unwrapCompressed().packets.findPacket(he.packet.literalData);return t&&t.getFilename()||null}getText(){const t=this.unwrapCompressed().packets.findPacket(he.packet.literalData);return t?t.getText():null}static async generateSessionKey(t=[],r=new Date,i=[],a=Nt){const s=await vy("symmetric",t,r,i,a),u=he.read(he.symmetric,s),c=a.aeadProtect&&await async function(h,n=new Date,p=[],d=Nt){let v=!0;return await Promise.all(h.map(async function(m,g){const y=await m.getPrimaryUser(n,p[g],d);y.selfCertification.features&&y.selfCertification.features[0]&he.features.aead||(v=!1)})),v}(t,r,i,a)?he.read(he.aead,await vy("aead",t,r,i,a)):void 0;return{data:Kt.generateSessionKey(s),algorithm:u,aeadAlgorithm:c}}async encrypt(t,r,i,a=!1,s=[],u=new Date,c=[],h=Nt){if(i){if(!Oe.isUint8Array(i.data)||!Oe.isString(i.algorithm))throw Error("Invalid session key for encryption.")}else if(t&&t.length)i=await na.generateSessionKey(t,u,c,h);else{if(!r||!r.length)throw Error("No keys, passwords, or session key provided.");i=await na.generateSessionKey(void 0,void 0,void 0,h)}const{data:n,algorithm:p,aeadAlgorithm:d}=i,v=await na.encryptSessionKey(n,p,d,t,r,a,s,u,c,h);let m;d?(m=new nm,m.aeadAlgorithm=he.write(he.aead,d)):m=new BD,m.packets=this.packets;const g=he.write(he.symmetric,p);return await m.encrypt(g,n,h),v.packets.push(m),m.packets=new Fn,v}static async encryptSessionKey(t,r,i,a,s,u=!1,c=[],h=new Date,n=[],p=Nt){const d=new Fn,v=he.write(he.symmetric,r),m=i&&he.write(he.aead,i);if(a){const g=await Promise.all(a.map(async function(y,b){const k=await y.getEncryptionKey(c[b],h,n,p),O=new hy;return O.publicKeyID=u?vo.wildcard():k.getKeyID(),O.publicKeyAlgorithm=k.keyPacket.algorithm,O.sessionKey=t,O.sessionKeyAlgorithm=v,await O.encrypt(k.keyPacket),delete O.sessionKey,O}));d.push(...g)}if(s){const g=async function(O,S){try{return await O.decrypt(S),1}catch{return 0}},y=(O,S)=>O+S,b=async function(O,S,x,E){const w=new wu(p);return w.sessionKey=O,w.sessionKeyAlgorithm=S,x&&(w.aeadAlgorithm=x),await w.encrypt(E,p),p.passwordCollisionCheck&&(await Promise.all(s.map(T=>g(w,T)))).reduce(y)!==1?b(O,S,E):(delete w.sessionKey,w)},k=await Promise.all(s.map(O=>b(t,v,m,O)));d.push(...k)}return new na(d)}async sign(t=[],r=null,i=[],a=new Date,s=[],u=[],c=Nt){const h=new Fn,n=this.packets.findPacket(he.packet.literalData);if(!n)throw Error("No literal data packet to sign.");let p,d;const v=n.text===null?he.signature.binary:he.signature.text;if(r)for(d=r.packets.filterByTag(he.packet.signature),p=d.length-1;p>=0;p--){const m=d[p],g=new ga;g.signatureType=m.signatureType,g.hashAlgorithm=m.hashAlgorithm,g.publicKeyAlgorithm=m.publicKeyAlgorithm,g.issuerKeyID=m.issuerKeyID,t.length||p!==0||(g.flags=1),h.push(g)}return await Promise.all(Array.from(t).reverse().map(async function(m,g){if(!m.isPrivate())throw Error("Need private key for signing");const y=i[t.length-1-g],b=await m.getSigningKey(y,a,s,c),k=new ga;return k.signatureType=v,k.hashAlgorithm=await am(m,b.keyPacket,a,s,c),k.publicKeyAlgorithm=b.keyPacket.algorithm,k.issuerKeyID=b.getKeyID(),g===t.length-1&&(k.flags=1),k})).then(m=>{m.forEach(g=>h.push(g))}),h.push(n),h.push(...await m4(n,t,r,i,a,s,u,!1,c)),new na(h)}compress(t,r=Nt){if(t===he.compression.uncompressed)return this;const i=new Id(r);i.algorithm=t,i.packets=this.packets;const a=new Fn;return a.push(i),new na(a)}async signDetached(t=[],r=null,i=[],a=new Date,s=[],u=[],c=Nt){const h=this.packets.findPacket(he.packet.literalData);if(!h)throw Error("No literal data packet to sign.");return new FD(await m4(h,t,r,i,a,s,u,!0,c))}async verify(t,r=new Date,i=Nt){const a=this.unwrapCompressed(),s=a.packets.filterByTag(he.packet.literalData);if(s.length!==1)throw Error("Can only verify message with one literal data packet.");pr(a.packets.stream)&&a.packets.push(...await _r(a.packets.stream,h=>h||[]));const u=a.packets.filterByTag(he.packet.onePassSignature).reverse(),c=a.packets.filterByTag(he.packet.signature);return u.length&&!c.length&&Oe.isStream(a.packets.stream)&&!pr(a.packets.stream)?(await Promise.all(u.map(async h=>{h.correspondingSig=new Promise((n,p)=>{h.correspondingSigResolve=n,h.correspondingSigReject=p}),h.signatureData=bo(async()=>(await h.correspondingSig).signatureData),h.hashed=_r(await h.hash(h.signatureType,s[0],void 0,!1)),h.hashed.catch(()=>{})})),a.packets.stream=Ts(a.packets.stream,async(h,n)=>{const p=os(h),d=$i(n);try{for(let v=0;v{m.correspondingSigReject(v)}),await d.abort(v)}}),q_(u,s,t,r,!1,i)):q_(c,s,t,r,!1,i)}verifyDetached(t,r,i=new Date,a=Nt){const s=this.unwrapCompressed().packets.filterByTag(he.packet.literalData);if(s.length!==1)throw Error("Can only verify message with one literal data packet.");return q_(t.packets,s,r,i,!0,a)}unwrapCompressed(){const t=this.packets.filterByTag(he.packet.compressedData);return t.length?new na(t[0].packets):this}async appendSignature(t,r=Nt){await this.packets.read(Oe.isUint8Array(t)?t:(await Ed(t)).data,vW,r)}write(){return this.packets.write()}armor(t=Nt){return Dd(he.armor.message,this.write(),null,null,null,t)}}async function m4(e,t,r=null,i=[],a=new Date,s=[],u=[],c=!1,h=Nt){const n=new Fn,p=e.text===null?he.signature.binary:he.signature.text;if(await Promise.all(t.map(async(d,v)=>{const m=s[v];if(!d.isPrivate())throw Error("Need private key for signing");const g=await d.getSigningKey(i[v],a,m,h);return hl(e,d,g.keyPacket,{signatureType:p},a,m,u,c,h)})).then(d=>{n.push(...d)}),r){const d=r.packets.filterByTag(he.packet.signature);n.push(...d)}return n}async function q_(e,t,r,i=new Date,a=!1,s=Nt){return Promise.all(e.filter(function(u){return["text","binary"].includes(he.read(he.signature,u.signatureType))}).map(async function(u){return async function(c,h,n,p=new Date,d=!1,v=Nt){let m,g;for(const k of n){const O=k.getKeys(c.issuerKeyID);if(O.length>0){m=k,g=O[0];break}}const y=c instanceof ga?c.correspondingSig:c,b={keyID:c.issuerKeyID,verified:(async()=>{if(!g)throw Error("Could not find signing key with key ID "+c.issuerKeyID.toHex());await c.verify(g.keyPacket,c.signatureType,h[0],p,d,v);const k=await y;if(g.getCreationTime()>k.created)throw Error("Key is newer than the signature");try{await m.getSigningKey(g.getKeyID(),k.created,void 0,v)}catch(O){if(!v.allowInsecureVerificationWithReformattedKeys||!O.message.match(/Signature creation time is in the future/))throw O;await m.getSigningKey(g.getKeyID(),p,void 0,v)}return!0})(),signature:(async()=>{const k=await y,O=new Fn;return k&&O.push(k),new FD(O)})()};return b.signature.catch(()=>{}),b.verified.catch(()=>{}),b}(u,t,r,i,a,s)}))}async function mW({armoredMessage:e,binaryMessage:t,config:r,...i}){r={...Nt,...r};let a=e||t;if(!a)throw Error("readMessage: must pass options object containing `armoredMessage` or `binaryMessage`");if(e&&!Oe.isString(e)&&!Oe.isStream(e))throw Error("readMessage: options.armoredMessage must be a string or stream");if(t&&!Oe.isUint8Array(t)&&!Oe.isStream(t))throw Error("readMessage: options.binaryMessage must be a Uint8Array or stream");const s=Object.keys(i);if(s.length>0)throw Error("Unknown option: "+s.join(", "));const u=Oe.isStream(a);if(u&&(await y6(),a=kd(a)),e){const{type:n,data:p}=await Ed(a,r);if(n!==he.armor.message)throw Error("Armored text not of type message");a=p}const c=await Fn.fromBinary(a,hW,r),h=new na(c);return h.fromStream=u,h}async function _W({text:e,binary:t,filename:r,date:i=new Date,format:a=e!==void 0?"utf8":"binary",...s}){let u=e!==void 0?e:t;if(u===void 0)throw Error("createMessage: must pass options object containing `text` or `binary`");if(e&&!Oe.isString(e)&&!Oe.isStream(e))throw Error("createMessage: options.text must be a string or stream");if(t&&!Oe.isUint8Array(t)&&!Oe.isStream(t))throw Error("createMessage: options.binary must be a Uint8Array or stream");const c=Object.keys(s);if(c.length>0)throw Error("Unknown option: "+c.join(", "));const h=Oe.isStream(u);h&&(await y6(),u=kd(u));const n=new Lu(i);e!==void 0?n.setText(u,he.write(he.literal,a)):n.setBytes(u,he.write(he.literal,a)),r!==void 0&&n.setFilename(r);const p=new Fn;p.push(n);const d=new na(p);return d.fromStream=h,d}async function gW({userIDs:e=[],passphrase:t,type:r="ecc",rsaBits:i=4096,curve:a="curve25519",keyExpirationTime:s=0,date:u=new Date,subkeys:c=[{}],format:h="armored",config:n,...p}){sm(n={...Nt,...n}),e=zi(e);const d=Object.keys(p);if(d.length>0)throw Error("Unknown option: "+d.join(", "));if(e.length===0)throw Error("UserIDs are required for key generation");if(r==="rsa"&&imy(y.subkeys[w],y));let k=[oW(y,b)];k=k.concat(y.subkeys.map(E=>zD(E,b)));const O=await Promise.all(k),S=await cW(O[0],O.slice(1),y,b),x=await S.getRevocationCertificate(y.date,b);return S.revocationSignatures=[],{key:S,revocationCertificate:x}}(v,n);return m.getKeys().forEach(({keyPacket:y})=>au(y,n)),{privateKey:_4(m,h,n),publicKey:_4(m.toPublic(),h,n),revocationCertificate:g}}catch(m){throw Oe.wrapError("Error generating keypair",m)}}async function yW({privateKey:e,passphrase:t,config:r,...i}){sm(r={...Nt,...r});const a=Object.keys(i);if(a.length>0)throw Error("Unknown option: "+a.join(", "));if(!e.isPrivate())throw Error("Cannot decrypt a public key");const s=e.clone(!0),u=Oe.isArray(t)?t:[t];try{return await Promise.all(s.getKeys().map(c=>Oe.anyPromise(u.map(h=>c.keyPacket.decrypt(h))))),await s.validate(r),s}catch(c){throw s.clearPrivateParams(),Oe.wrapError("Error decrypting private key",c)}}async function bW({message:e,encryptionKeys:t,signingKeys:r,passwords:i,sessionKey:a,format:s="armored",signature:u=null,wildcard:c=!1,signingKeyIDs:h=[],encryptionKeyIDs:n=[],date:p=new Date,signingUserIDs:d=[],encryptionUserIDs:v=[],signatureNotations:m=[],config:g,...y}){if(sm(g={...Nt,...g}),WD(e),CW(s),t=zi(t),r=zi(r),i=zi(i),h=zi(h),n=zi(n),d=zi(d),v=zi(v),m=zi(m),y.detached)throw Error("The `detached` option has been removed from openpgp.encrypt, separately call openpgp.sign instead. Don't forget to remove the `privateKeys` option as well.");if(y.publicKeys)throw Error("The `publicKeys` option has been removed from openpgp.encrypt, pass `encryptionKeys` instead");if(y.privateKeys)throw Error("The `privateKeys` option has been removed from openpgp.encrypt, pass `signingKeys` instead");if(y.armor!==void 0)throw Error("The `armor` option has been removed from openpgp.encrypt, pass `format` instead.");const b=Object.keys(y);if(b.length>0)throw Error("Unknown option: "+b.join(", "));r||(r=[]);const k=e.fromStream;try{if((r.length||u)&&(e=await e.sign(r,u,h,p,d,m,g)),e=e.compress(await vy("compression",t,p,v,g),g),e=await e.encrypt(t,i,a,c,n,p,v,g),s==="object")return e;const O=s==="armored";return KD(O?e.armor(g):e.write(),k,O?"utf8":"binary")}catch(O){throw Oe.wrapError("Error encrypting message",O)}}async function wW({message:e,decryptionKeys:t,passwords:r,sessionKeys:i,verificationKeys:a,expectSigned:s=!1,format:u="utf8",signature:c=null,date:h=new Date,config:n,...p}){if(sm(n={...Nt,...n}),WD(e),a=zi(a),t=zi(t),r=zi(r),i=zi(i),p.privateKeys)throw Error("The `privateKeys` option has been removed from openpgp.decrypt, pass `decryptionKeys` instead");if(p.publicKeys)throw Error("The `publicKeys` option has been removed from openpgp.decrypt, pass `verificationKeys` instead");const d=Object.keys(p);if(d.length>0)throw Error("Unknown option: "+d.join(", "));try{const v=await e.decrypt(t,r,i,h,n);a||(a=[]);const m={};if(m.signatures=c?await v.verifyDetached(c,a,h,n):await v.verify(a,h,n),m.data=u==="binary"?v.getLiteralData():v.getText(),m.filename=v.getFilename(),SW(m,e),s){if(a.length===0)throw Error("Verification keys are required to verify message signatures");if(m.signatures.length===0)throw Error("Message is not signed");m.data=Pi([m.data,bo(async()=>{await Oe.anyPromise(m.signatures.map(g=>g.verified))})])}return m.data=await KD(m.data,e.fromStream,u),m}catch(v){throw Oe.wrapError("Error decrypting message",v)}}function WD(e){if(!(e instanceof na))throw Error("Parameter [message] needs to be of type Message")}function CW(e){if(e!=="armored"&&e!=="binary"&&e!=="object")throw Error("Unsupported format "+e)}const xW=Object.keys(Nt).length;function sm(e){const t=Object.keys(e);if(t.length!==xW){for(const r of t)if(Nt[r]===void 0)throw Error("Unknown config property: "+r)}}function zi(e){return e&&!Oe.isArray(e)&&(e=[e]),e}async function KD(e,t,r="utf8"){const i=Oe.isStream(e);return i==="array"?_r(e):t==="node"?(e=L0(e),r!=="binary"&&e.setEncoding(r),e):t==="web"&&i==="ponyfill"?_6(e):e}function SW(e,t){e.data=Ts(t.packets.stream,async(r,i)=>{await po(e.data,i,{preventClose:!0});const a=$i(i);try{await _r(r,s=>s),await a.close()}catch(s){await a.abort(s)}})}function _4(e,t,r){switch(t){case"object":return e;case"armored":return e.armor(r);case"binary":return e.write();default:throw Error("Unsupported format "+t)}}function kW(e,t,r){$A.isJson(t)||(t={});const i=e+"::"+encodeURIComponent(new URLSearchParams($.sortObject(t,["page","pagesize","hideload","timerange"])).toString()),a=r.callAt.find(s=>s.key===i)||{};return typeof a.key=="undefined"&&(a.key=i,a.updated=0,a.deleted=0,r.callAt.push(a),$A.IDBSet("callAt",r.callAt).then(s=>{})),this.get=()=>(t.timerange=t.timerange||`${a.updated}-${a.deleted}`,t),this.save=({total:s,current_page:u,deleted_id:c})=>new Promise(h=>{if(u===1){let n=!1;const p=$A.Time();s>0&&(a.updated=p,n=!0),$A.isArray(c)&&c.length>0?(a.deleted=p,n=!0):c=[],n?$A.IDBSet("callAt",r.callAt).then(d=>h(c)):h(c)}}),this.showLoad=()=>!t.hideload,this}function eg(e,t,r){return new kW(e,t,r)}function EW(e,t=!0){return e&&(t?e=String(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/\n/g,"$"):e=String(e).replace(/\-/g,"+").replace(/\_/g,"/").replace(/\$/g,` -`)),e}var DW={init({state:e,dispatch:t}){return new Promise(async r=>{let i=null;if(!await $A.IDBBoolean("initTag")){await $A.IDBSet("initTag",!0);const u=$A.getStorageJson("userInfo");u.userid>0&&(await $A.IDBSet("userInfo",u),await $A.IDBSet("cacheServerUrl",$A.getStorageString("cacheServerUrl")),window.localStorage.clear())}switch(e.clientId=await $A.IDBString("clientId"),e.cacheServerUrl=await $A.IDBString("cacheServerUrl"),e.cacheUserBasic=await $A.IDBArray("cacheUserBasic"),e.cacheDialogs=(await $A.IDBArray("cacheDialogs")).map(u=>Object.assign(u,{loading:!1,extra_draft_has:u.extra_draft_content?1:0})),e.cacheProjects=await $A.IDBArray("cacheProjects"),e.cacheColumns=await $A.IDBArray("cacheColumns"),e.cacheTasks=await $A.IDBArray("cacheTasks"),e.cacheProjectParameter=await $A.IDBArray("cacheProjectParameter"),e.cacheTaskBrowse=await $A.IDBArray("cacheTaskBrowse"),e.dialogMsgs=await $A.IDBArray("dialogMsgs"),e.fileLists=await $A.IDBArray("fileLists"),e.userInfo=await $A.IDBJson("userInfo"),e.callAt=await $A.IDBArray("callAt"),e.cacheEmojis=await $A.IDBArray("cacheEmojis"),e.userInfo.userid&&(e.userId=e.userInfo.userid=$A.runNum(e.userInfo.userid),e.userToken=e.userInfo.token,e.userIsAdmin=$A.inArray("admin",e.userInfo.identity)),e.cacheServerUrl&&(window.systemInfo.apiUrl=e.cacheServerUrl),e.themeMode){case"dark":$A.dark.enableDarkMode();break;case"light":$A.dark.disableDarkMode();break;default:e.themeMode="auto",$A.dark.autoDarkMode();break}e.themeIsDark=$A.dark.isDarkEnabled(),e.clientId||(e.clientId=$A.randomString(6),await $A.IDBSet("clientId",e.clientId));const s=await $A.IDBString("clearCache");s&&(await $A.IDBRemove("clearCache"),await $A.IDBSet("callAt",e.callAt=[]),s==="handle"&&await t(i="handleClearCache")),t("call",{url:"users/key/client",data:{client_id:e.clientId},encrypt:!1}).then(({data:u})=>{e.apiKeyData=u}),$A.loadScriptS(["language/web/key.js",`language/web/${Qo}.js`],u=>{r(i)})})},call({state:e,dispatch:t},r){$A.isJson(r)||(r={url:r});const i={"Content-Type":"application/json",language:Qo,token:e.userToken,fd:$A.getSessionStorageString("userWsFd"),version:window.systemInfo.version||"0.0.1",platform:$A.Platform};$A.isJson(r.header)?r.header=Object.assign(i,r.header):r.header=i,r.encrypt===void 0&&$A.inArray(r.url,["users/login","users/editpass","users/operation","users/delete/account","users/bot/*","dialog/msg/*"],!0)&&(r.encrypt=!0),r.url=$A.apiUrl(r.url),r.data=$A.date2string(r.data);const a=$A.cloneJSON(r);return new Promise(async(s,u)=>{const c=[];if(r.encrypt===!0&&(r.data&&e.apiKeyData.type==="pgp"&&(c.push(`encrypt_type=${e.apiKeyData.type};encrypt_id=${e.apiKeyData.id}`),r.method="post",r.data={encrypted:await t("pgpEncryptApi",r.data)}),c.push("client_type=pgp;client_key="+(await t("pgpGetLocalKey")).publicKeyB64)),c.length>0&&(r.header.encrypt=c.join(";")),r.method==="post"&&(r.data=JSON.stringify(r.data)),r.spinner===!0||typeof r.spinner=="number"&&r.spinner>0){const{before:h,complete:n}=r;r.before=()=>{t("showSpinner",typeof r.spinner=="number"?r.spinner:0),typeof h=="function"&&h()},r.complete=()=>{t("hiddenSpinner"),typeof n=="function"&&n()}}if(r.success=async(h,n,p)=>{if(e.ajaxNetworkException=!1,!$A.isJson(h)){console.log(h,n,p),u({ret:-1,data:{},msg:"Return error"});return}r.encrypt===!0&&h.encrypted&&(h=await t("pgpDecryptApi",h.encrypted));const{ret:d,data:v,msg:m}=h;if(d===-1&&(e.userId=0,r.skipAuthError!==!0)){$A.modalError({content:m,onOk:()=>{t("logout")}}),u(h);return}if(d===-2&&r.checkNick!==!1){t("userEditInput","nickname").then(()=>{t("call",a).then(s).catch(u)}).catch(g=>{u({ret:-1,data:v,msg:g||$A.L("\u8BF7\u8BBE\u7F6E\u6635\u79F0\uFF01")})});return}if(d===-3&&r.checkTel!==!1){t("userEditInput","tel").then(()=>{t("call",a).then(s).catch(u)}).catch(g=>{u({ret:-1,data:v,msg:g||$A.L("\u8BF7\u8BBE\u7F6E\u8054\u7CFB\u7535\u8BDD\uFF01")})});return}d===1?s({data:v,msg:m}):(u({ret:d,data:v,msg:m||"Unknown error"}),d===-4001?t("forgetProject",v.project_id):d===-4002?t("forgetTask",v.task_id):d===-4003&&t("forgetDialog",v.dialog_id))},r.error=(h,n)=>{const p=window.navigator.onLine===!1||n===0&&h.readyState===4;r.checkNetwork!==!1&&(e.ajaxNetworkException=p),u(p?{ret:-1001,data:{},msg:"Network exception"}:{ret:-1,data:{},msg:"System error"})},r.websocket===!0){const h=$A.randomString(16),n=setTimeout(()=>{const p=e.ajaxWsListener.find(d=>d.apiWebsocket==h);p&&(p.complete(),p.error("timeout"),p.after()),e.ajaxWsListener=e.ajaxWsListener.filter(d=>d.apiWebsocket!=h)},r.timeout||3e4);e.ajaxWsListener.push({apiWebsocket:h,complete:typeof r.complete=="function"?r.complete:()=>{},success:typeof r.success=="function"?r.success:()=>{},error:typeof r.error=="function"?r.error:()=>{},after:typeof r.after=="function"?r.after:()=>{}}),r.complete=()=>{},r.success=()=>{},r.error=()=>{},r.after=()=>{},r.header["Api-Websocket"]=h,e.ajaxWsReady===!1&&(e.ajaxWsReady=!0,t("websocketMsgListener",{name:"apiWebsocket",callback:p=>{switch(p.type){case"apiWebsocket":clearTimeout(n);const d=p.apiWebsocket,v=p.apiSuccess,m=p.data,g=e.ajaxWsListener.find(y=>y.apiWebsocket==d);g&&(g.complete(),v?g.success(m):g.error(m),g.after()),e.ajaxWsListener=e.ajaxWsListener.filter(y=>y.apiWebsocket!=d);break}}}))}$A.ajaxc(r)})},needHome({dispatch:e,state:t}){return new Promise((r,i)=>{e("call",{url:"system/get/starthome"}).then(({data:a})=>{a.need_start?r(a):i()}).catch(i)})},downUrl({state:e},t){if(!t)return;let r=t,i=!0;if($A.isJson(t)&&(r=t.url,i=!!t.token),i){let a={token:e.userToken};$A.isJson(t)&&(r=t.url,a=t.params||{}),r=$A.urlAddParams(r,a)}$A.Electron?$A.Electron.request({action:"openExternal",url:r},()=>{},()=>{}):$A.isEEUiApp?$A.eeuiAppOpenWeb(r):window.open(r)},toggleProjectParameter({state:e},t){$A.execMainDispatch("toggleProjectParameter",t);let r=t,i=null,a=e.projectId;if($A.isJson(t)&&(r=t.key,i=t.value,a=t.project_id),a){let s=e.cacheProjectParameter.findIndex(c=>c.project_id==a);s===-1&&(e.cacheProjectParameter.push($A.projectParameterTemplate(a)),s=e.cacheProjectParameter.findIndex(c=>c.project_id==a));const u=e.cacheProjectParameter[s];$A.isJson(r)||(r={[r]:i||!u[r]}),e.cacheProjectParameter.splice(s,1,Object.assign(u,r)),$A.IDBSave("cacheProjectParameter",e.cacheProjectParameter)}},setTheme({state:e},t){return new Promise(function(r){if(t===void 0){r(!1);return}if(!$A.isChrome()){$A.isEEUiApp?$A.modalWarning("\u4EC5Android\u8BBE\u7F6E\u652F\u6301\u4E3B\u9898\u529F\u80FD"):$A.modalWarning("\u4EC5\u5BA2\u6237\u7AEF\u6216Chrome\u6D4F\u89C8\u5668\u652F\u6301\u4E3B\u9898\u529F\u80FD"),r(!1);return}switch(t){case"dark":$A.dark.enableDarkMode();break;case"light":$A.dark.disableDarkMode();break;default:$A.dark.autoDarkMode();break}e.themeMode=t,e.themeIsDark=$A.dark.isDarkEnabled(),window.localStorage.setItem("__theme:mode__",t),r(!0)})},getBasicData({state:e,dispatch:t},r){if(typeof r=="number"){window.__getBasicDataTimer&&clearTimeout(window.__getBasicDataTimer),r>-1&&(window.__getBasicDataTimer=setTimeout(s=>t("getBasicData",null),r));return}const i=e.userId+$A.Time();if(window.__getBasicDataKey===i)return;window.__getBasicDataKey=i,t("getProjects").catch(()=>{}),t("getDialogs").catch(()=>{}),t("getReportUnread",1e3),t("getTaskForDashboard"),t("dialogMsgRead");const a=Object.values(e.userAvatar).map(({userid:s})=>s);[...new Set(a)].some(s=>t("getUserBasic",{userid:s}))},getReportUnread({state:e,dispatch:t},r){window.__getReportUnread&&clearTimeout(window.__getReportUnread),window.__getReportUnread=setTimeout(()=>{e.userId===0?e.reportUnreadNumber=0:t("call",{url:"report/unread"}).then(({data:i})=>{e.reportUnreadNumber=i.total||0}).catch(i=>{})},typeof r=="number"?r:1e3)},getUserInfo({dispatch:e}){return new Promise(function(t,r){e("call",{url:"users/info"}).then(i=>{e("saveUserInfo",i.data),t(i)}).catch(i=>{console.warn(i),r(i)})})},saveUserInfo({state:e,dispatch:t},r){return new Promise(async i=>{const a=$A.cloneJSON(r);a.userid=$A.runNum(a.userid),a.token=a.userid>0?a.token||e.userToken:"",e.userInfo=a,e.userId=a.userid,e.userToken=a.token,e.userIsAdmin=$A.inArray("admin",a.identity),await $A.IDBSet("userInfo",e.userInfo),t("getBasicData",null),e.userId>0&&t("saveUserBasic",e.userInfo),i()})},saveUserOnlineStatus({state:e},t){const{userid:r,online:i}=t;e.userOnline[r]!==i&&(e.userOnline=Object.assign({},e.userOnline,{[r]:i}))},getUserBasic({state:e,dispatch:t},r){if(e.loadUserBasic===!0){r&&e.cacheUserWait.push(r);return}let i=$A.Time(),a=$A.cloneJSON(e.cacheUserWait);r&&r.userid&&a.push(r),e.cacheUserWait=[];let s=[],u=0;a.some(c=>{let h=e.cacheUserBasic.find(({userid:n})=>n==c.userid);if(h&&i-h._time<=30)return setTimeout(()=>{e.cacheUserActive=Object.assign(h,{__:Math.random()}),nl.Store.set("cacheUserActive",h)},u+=5),!1;s.push(c)}),s.length!==0&&(s.length>30&&(e.cacheUserWait=s.slice(30),s=s.slice(0,30)),e.loadUserBasic=!0,t("call",{url:"users/basic",data:{userid:[...new Set(s.map(({userid:c})=>c))]},skipAuthError:!0}).then(c=>{i=$A.Time(),s.forEach(h=>{let n=c.data.find(({userid:p})=>p==h.userid)||Object.assign(h,{email:""});n._time=i,t("saveUserBasic",n)}),e.loadUserBasic=!1,t("getUserBasic")}).catch(c=>{console.warn(c),e.loadUserBasic=!1,t("getUserBasic")}))},saveUserBasic({state:e},t){$A.execMainDispatch("saveUserBasic",t);const r=e.cacheUserBasic.findIndex(({userid:i})=>i==t.userid);r>-1?(t=Object.assign({},e.cacheUserBasic[r],t),e.cacheUserBasic.splice(r,1,t)):e.cacheUserBasic.push(t),e.cacheUserActive=Object.assign(t,{__:Math.random()}),nl.Store.set("cacheUserActive",t),$A.IDBSave("cacheUserBasic",e.cacheUserBasic)},userEditInput({dispatch:e},t){return new Promise(function(r,i){let a="";if(t==="nickname")a="\u6635\u79F0";else if(t==="tel")a="\u8054\u7CFB\u7535\u8BDD";else{i("\u53C2\u6570\u9519\u8BEF");return}setTimeout(s=>{$A.modalInput({title:`\u8BBE\u7F6E${a}`,placeholder:`\u8BF7\u8F93\u5165\u60A8\u7684${a}`,okText:"\u4FDD\u5B58",onOk:u=>u?new Promise((c,h)=>{e("call",{url:"users/editdata",data:{[t]:u},checkNick:!1,checkTel:!1}).then(()=>{e("getUserInfo").finally(n=>{c(),r()})}).catch(({msg:n})=>{h(n)})}):`\u8BF7\u8F93\u5165${a}`,onCancel:u=>i})},100)})},logout({state:e,dispatch:t},r=!0){t("handleClearCache",{}).then(()=>{let i=["/","/login"].includes(window.location.pathname)?"":encodeURIComponent(window.location.href);r===!1&&(i=null),$A.goForward({name:"login",query:i?{from:i}:{}},!0)})},handleClearCache({state:e,dispatch:t},r){return new Promise(async i=>{try{e.cacheUserBasic=[],e.cacheDialogs=[],e.cacheProjects=[],e.cacheColumns=[],e.cacheTasks=[],e.callAt=[];const a=window.localStorage.getItem("__language:type__"),s=window.localStorage.getItem("__keyboard:data__"),u=window.localStorage.getItem("__theme:mode__");window.localStorage.clear(),window.localStorage.setItem("__language:type__",a),window.localStorage.setItem("__keyboard:data__",s),window.localStorage.setItem("__theme:mode__",u);const c=await $A.IDBString("cacheLoginEmail"),h=await $A.IDBJson("cacheFileSort");await $A.IDBClear(),await $A.IDBSet("clientId",e.clientId),await $A.IDBSet("cacheServerUrl",e.cacheServerUrl),await $A.IDBSet("cacheProjectParameter",e.cacheProjectParameter),await $A.IDBSet("cacheLoginEmail",c),await $A.IDBSet("cacheFileSort",h),await $A.IDBSet("cacheTaskBrowse",e.cacheTaskBrowse),await $A.IDBSet("cacheEmojis",e.cacheEmojis),t("saveUserInfo",$A.isJson(r)?r:e.userInfo).then(i)}catch{i()}})},saveFile({state:e,dispatch:t},r){if($A.execMainDispatch("saveFile",r),$A.isArray(r))r.forEach(i=>{t("saveFile",i)});else if($A.isJson(r)){let i={_load:!1,_edit:!1};const a=e.fileLists.findIndex(({id:s})=>s==r.id);a>-1?e.fileLists.splice(a,1,Object.assign(i,e.fileLists[a],r)):e.fileLists.push(Object.assign(i,r)),$A.IDBSave("fileLists",e.fileLists,600)}},forgetFile({state:e,dispatch:t},r){$A.execMainDispatch("forgetFile",r),($A.isArray(r)?r:[r]).some(a=>{e.fileLists=e.fileLists.filter(s=>s.id!=a),e.fileLists.some(s=>{s.pid==a&&t("forgetFile",s.id)}),$A.IDBSave("fileLists",e.fileLists,600)})},getFiles({state:e,dispatch:t},r){return new Promise(function(i,a){t("call",{url:"file/lists",data:{pid:r}}).then(s=>{const u=s.data.map(({id:c})=>c);e.fileLists=e.fileLists.filter(c=>c.pid!=r||u.includes(c.id)),$A.IDBSave("fileLists",e.fileLists,600),t("saveFile",s.data),i(s)}).catch(s=>{console.warn(s),a(s)})})},searchFiles({state:e,dispatch:t},r){return $A.isJson(r)||(r={key:r}),new Promise(function(i,a){t("call",{url:"file/search",data:r}).then(s=>{t("saveFile",s.data),i(s)}).catch(s=>{console.warn(s),a(s)})})},saveProject({state:e,dispatch:t},r){if($A.execMainDispatch("saveProject",r),$A.isArray(r))r.forEach(i=>{t("saveProject",i)});else if($A.isJson(r)){typeof r.project_column!="undefined"&&(t("saveColumn",r.project_column),delete r.project_column);const i=e.cacheProjects.findIndex(({id:a})=>a==r.id);i>-1?e.cacheProjects.splice(i,1,Object.assign({},e.cacheProjects[i],r)):(typeof r.project_user=="undefined"&&(r.project_user=[]),e.cacheProjects.push(r),e.projectTotal++),e.cacheDialogs.some(a=>{if(a.type=="group"&&a.group_type=="project"&&a.group_info.id==r.id){r.name!==void 0&&(a.name=r.name);for(let s in a.group_info)!a.group_info.hasOwnProperty(s)||r[s]===void 0||(a.group_info[s]=r[s])}}),$A.IDBSave("cacheProjects",e.cacheProjects)}},forgetProject({state:e,dispatch:t},r){$A.execMainDispatch("forgetProject",r);const i=$A.isArray(r)?r:[r];if(i.some(a=>{const s=e.cacheProjects.findIndex(u=>u.id==a);s>-1&&(t("forgetTask",e.cacheTasks.filter(u=>u.project_id==r).map(u=>u.id)),t("forgetColumn",e.cacheColumns.filter(u=>u.project_id==r).map(u=>u.id)),e.cacheProjects.splice(s,1),e.projectTotal=Math.max(0,e.projectTotal-1))}),i.includes(e.projectId)){const a=$A.cloneJSON(e.cacheProjects).sort((s,u)=>s.top_at||u.top_at?$A.Date(u.top_at)-$A.Date(s.top_at):u.id-s.id).find(({id:s})=>s&&s!=r);a?$A.goForward({name:"manage-project",params:{projectId:a.id}}):$A.goForward({name:"manage-dashboard"})}$A.IDBSave("cacheProjects",e.cacheProjects)},getProjects({state:e,dispatch:t,getters:r},i){return new Promise(function(a,s){if(e.userId===0){e.cacheProjects=[],s({msg:"Parameter error"});return}const u=eg("projects",i,e);u.showLoad()&&e.loadProjects++,t("call",{url:"project/lists",data:u.get()}).then(({data:c})=>{e.projectTotal=c.total_all,t("saveProject",c.data),u.save(c).then(h=>t("forgetProject",h)),a(c)}).catch(c=>{console.warn(c),s(c)}).finally(c=>{u.showLoad()&&e.loadProjects--})})},getProjectOne({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}e.projectLoad++,t("call",{url:"project/one",data:{project_id:r}}).then(s=>{setTimeout(()=>{e.projectLoad--},10),t("saveProject",s.data),i(s)}).catch(s=>{console.warn(s),e.projectLoad--,a(s)})})},archivedProject({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/archived",data:{project_id:r}}).then(s=>{t("forgetProject",r),i(s)}).catch(s=>{console.warn(s),t("getProjectOne",r).catch(()=>{}),a(s)})})},removeProject({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/remove",data:{project_id:r}}).then(s=>{t("forgetProject",r),i(s)}).catch(s=>{console.warn(s),t("getProjectOne",r).catch(()=>{}),a(s)})})},exitProject({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/exit",data:{project_id:r}}).then(s=>{t("forgetProject",r),i(s)}).catch(s=>{console.warn(s),t("getProjectOne",r).catch(()=>{}),a(s)})})},saveColumn({state:e,dispatch:t},r){if($A.execMainDispatch("saveColumn",r),$A.isArray(r))r.forEach(i=>{t("saveColumn",i)});else if($A.isJson(r)){const i=e.cacheColumns.findIndex(({id:a})=>a==r.id);i>-1?e.cacheColumns.splice(i,1,Object.assign({},e.cacheColumns[i],r)):e.cacheColumns.push(r),$A.IDBSave("cacheColumns",e.cacheColumns)}},forgetColumn({state:e,dispatch:t},r){$A.execMainDispatch("forgetColumn",r);const i=$A.isArray(r)?r:[r],a=[];i.some(s=>{const u=e.cacheColumns.findIndex(c=>c.id==s);u>-1&&(t("forgetTask",e.cacheTasks.filter(c=>c.column_id==r).map(c=>c.id)),a.push(e.cacheColumns[u].project_id),e.cacheColumns.splice(u,1))}),Array.from(new Set(a)).some(s=>t("getProjectOne",s).catch(()=>{})),$A.IDBSave("cacheColumns",e.cacheColumns)},getColumns({state:e,dispatch:t},r){return new Promise(function(i,a){if(e.userId===0){e.cacheColumns=[],a({msg:"Parameter error"});return}e.projectLoad++,t("call",{url:"project/column/lists",data:{project_id:r}}).then(({data:s})=>{e.projectLoad--;const u=s.data.map(({id:c})=>c);if(e.cacheColumns=e.cacheColumns.filter(c=>c.project_id!=r||u.includes(c.id)),t("saveColumn",s.data),i(s.data),e.cacheColumns.filter(c=>c.project_id==r).length===1){const c=e.cacheProjectParameter.find(h=>h.project_id==r)||{};(typeof c.menuInit=="undefined"||c.menuInit===!1)&&t("toggleProjectParameter",{project_id:r,key:{menuInit:!0,menuType:"table"}})}}).catch(s=>{console.warn(s),e.projectLoad--,a(s)})})},removeColumn({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/column/remove",data:{column_id:r}}).then(s=>{t("forgetColumn",r),i(s)}).catch(s=>{console.warn(s),a(s)})})},saveTask({state:e,dispatch:t},r){if($A.execMainDispatch("saveTask",r),$A.isArray(r))r.forEach(i=>{t("saveTask",i)});else if($A.isJson(r)){r._time=$A.Time(),r.flow_item_name&&r.flow_item_name.indexOf("|")!==-1&&([r.flow_item_status,r.flow_item_name]=r.flow_item_name.split("|")),typeof r.archived_at!="undefined"&&e.cacheTasks.filter(s=>s.parent_id==r.id).some(s=>{t("saveTask",Object.assign(s,{archived_at:r.archived_at,archived_userid:r.archived_userid}))});let i={};typeof r.update_marking!="undefined"&&(i=$A.isJson(r.update_marking)?r.update_marking:{},delete r.update_marking);const a=e.cacheTasks.findIndex(({id:s})=>s==r.id);a>-1?e.cacheTasks.splice(a,1,Object.assign({},e.cacheTasks[a],r)):e.cacheTasks.push(r),(i.is_update_maintask===!0||r.parent_id>0&&e.cacheTasks.findIndex(({id:s})=>s==r.parent_id)===-1)&&t("getTaskOne",r.parent_id).catch(()=>{}),i.is_update_project===!0&&t("getProjectOne",r.project_id).catch(()=>{}),i.is_update_content===!0&&t("getTaskContent",r.id),i.is_update_subtask===!0&&t("getTaskForParent",r.id).catch(()=>{}),e.cacheDialogs.some(s=>{if(s.type=="group"&&s.group_type=="task"&&s.group_info.id==r.id){r.name!==void 0&&(s.name=r.name);for(let u in s.group_info)!s.group_info.hasOwnProperty(u)||r[u]===void 0||(s.group_info[u]=r[u])}}),$A.IDBSave("cacheTasks",e.cacheTasks)}},forgetTask({state:e,dispatch:t},r){$A.execMainDispatch("forgetTask",r);const i=($A.isArray(r)?r:[r]).filter(u=>u!=e.taskArchiveView),a=[],s=[];i.some(u=>{const c=e.cacheTasks.findIndex(h=>h.id==u);c>-1&&(e.cacheTasks[c].parent_id&&a.push(e.cacheTasks[c].parent_id),s.push(e.cacheTasks[c].project_id),e.cacheTasks.splice(c,1)),e.cacheTasks.filter(h=>h.parent_id==u).some(h=>{let n=e.cacheTasks.findIndex(p=>p.id==h.id);n>-1&&(s.push(h.project_id),e.cacheTasks.splice(n,1))})}),Array.from(new Set(a)).some(u=>t("getTaskOne",u).catch(()=>{})),Array.from(new Set(s)).some(u=>t("getProjectOne",u).catch(()=>{})),i.includes(e.taskId)&&(e.taskId=0),$A.IDBSave("cacheTasks",e.cacheTasks)},increaseTaskMsgNum({state:e},t){if($A.execMainDispatch("increaseTaskMsgNum",t),!$A.execMainCacheJudge(`increaseTaskMsgNum:${t.id}`)&&t.dialog_id){const r=e.cacheTasks.find(({dialog_id:i})=>i===t.dialog_id);r&&r.msg_num++}},increaseMsgReplyNum({state:e,dispatch:t},r){if($A.execMainDispatch("increaseMsgReplyNum",r),!$A.execMainCacheJudge(`increaseMsgReplyNum:${r.id}`)&&r.reply_id>0){const i=e.dialogMsgs.find(({id:a})=>a==r.reply_id);i&&i.reply_num++}},decrementMsgReplyNum({state:e,dispatch:t},r){if($A.execMainDispatch("decrementMsgReplyNum",r),!$A.execMainCacheJudge(`decrementMsgReplyNum:${r.id}`)&&r.reply_id>0){const i=e.dialogMsgs.find(({id:a})=>a==r.reply_id);i&&i.reply_num--}},getTasks({state:e,dispatch:t},r){const i=[];r===null&&(r={}),$A.isArray(r.taskData)&&(i.push(...r.taskData),delete r.taskData);const a=eg("tasks",r,e);return new Promise(function(s,u){if(e.userId===0){e.cacheTasks=[],u({msg:"Parameter error"});return}r.project_id&&e.projectLoad++,t("call",{url:"project/task/lists",data:a.get()}).then(({data:c})=>{r.project_id&&e.projectLoad--,i.push(...c.data),a.save(c).then(h=>t("forgetTask",h)),c.next_page_url?(r.page=c.current_page+1,r.taskData=i,c.current_page%10===0?$A.modalWarning({content:"\u6570\u636E\u5DF2\u8D85\u8FC7"+c.to+"\u6761\uFF0C\u662F\u5426\u7EE7\u7EED\u52A0\u8F7D\uFF1F",onOk:()=>{t("getTasks",r).then(s).catch(u)},onCancel:()=>{t("saveTask",i),s()}}):t("getTasks",r).then(s).catch(u)):(t("saveTask",i),s())}).catch(c=>{console.warn(c),u(c),r.project_id&&e.projectLoad--})})},getTaskOne({state:e,dispatch:t},r){return new Promise(function(i,a){if(/^\d+$/.test(r)&&(r={task_id:r}),$A.runNum(r.task_id)===0){a({msg:"Parameter error"});return}if($A.isArray(e.taskOneLoad[r.task_id])){e.taskOneLoad[r.task_id].push({resolve:i,reject:a});return}e.taskOneLoad[r.task_id]=[],t("call",{url:"project/task/one",data:r}).then(s=>{t("saveTask",s.data),i(s),e.taskOneLoad[r.task_id].some(u=>{u.resolve(s)})}).catch(s=>{console.warn(s),a(s),e.taskOneLoad[r.task_id].some(u=>{u.reject(s)})}).finally(s=>{delete e.taskOneLoad[r.task_id]})})},getTaskForDashboard({state:e,dispatch:t,getters:r},i){if(window.__getTaskForDashboard&&clearTimeout(window.__getTaskForDashboard),typeof i=="number"){i>-1&&(window.__getTaskForDashboard=setTimeout(a=>t("getTaskForDashboard",null),i));return}e.loadDashboardTasks!==!0&&(e.loadDashboardTasks=!0,t("getTasks",null).finally(a=>{e.loadDashboardTasks=!1}))},getTaskForProject({state:e,dispatch:t},r){return new Promise(function(i,a){t("getTasks",{project_id:r}).then(i).catch(a)})},getTaskForParent({state:e,dispatch:t},r){return new Promise(function(i,a){t("getTasks",{parent_id:r}).then(i).catch(a)})},removeTask({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r.task_id)===0){a({msg:"Parameter error"});return}t("setLoad",{key:`task-${r.task_id}`,delay:300}),t("call",{url:"project/task/remove",data:r}).then(s=>{t("forgetTask",r.task_id),i(s)}).catch(s=>{console.warn(s),t("getTaskOne",r.task_id).catch(()=>{}),a(s)}).finally(s=>{t("cancelLoad",`task-${r.task_id}`)})})},archivedTask({state:e,dispatch:t},r){return new Promise(function(i,a){if(/^\d+$/.test(r)&&(r={task_id:r}),$A.runNum(r.task_id)===0){a({msg:"Parameter error"});return}t("setLoad",{key:`task-${r.task_id}`,delay:300}),t("call",{url:"project/task/archived",data:r}).then(s=>{t("saveTask",s.data),i(s)}).catch(s=>{console.warn(s),t("getTaskOne",r.task_id).catch(()=>{}),a(s)}).finally(s=>{t("cancelLoad",`task-${r.task_id}`)})})},getTaskContent({state:e,dispatch:t},r){$A.runNum(r)!==0&&t("call",{url:"project/task/content",data:{task_id:r}}).then(i=>{t("saveTaskContent",i.data)}).catch(i=>{console.warn(i)})},saveTaskContent({state:e,dispatch:t},r){if($A.execMainDispatch("saveTaskContent",r),$A.isArray(r))r.forEach(i=>{t("saveTaskContent",i)});else if($A.isJson(r)){const i=e.taskContents.findIndex(({task_id:a})=>a==r.task_id);i>-1?e.taskContents.splice(i,1,Object.assign({},e.taskContents[i],r)):e.taskContents.push(r)}},getTaskFiles({state:e,dispatch:t},r){$A.runNum(r)!==0&&t("call",{url:"project/task/files",data:{task_id:r}}).then(i=>{i.data.forEach(a=>{const s=e.taskFiles.findIndex(({id:u})=>u==a.id);s>-1?e.taskFiles.splice(s,1,a):e.taskFiles.push(a)}),t("saveTask",{id:r,file_num:i.data.length})}).catch(i=>{console.warn(i)})},forgetTaskFile({state:e,dispatch:t},r){($A.isArray(r)?r:[r]).some(a=>{const s=e.taskFiles.findIndex(u=>u.id==a);s>-1&&e.taskFiles.splice(s,1)})},openTask({state:e,dispatch:t},r){let i=r;$A.isJson(r)&&(r.parent_id>0?i=r.parent_id:i=r.id),e.taskId=i,i>0&&t("getTaskOne",{task_id:i,archived:"all"}).then(()=>{t("getTaskContent",i),t("getTaskFiles",i),t("getTaskForParent",i).catch(()=>{}),t("saveTaskBrowse",i)}).catch(({msg:a})=>{$A.modalWarning({content:a,onOk:()=>{e.taskId=0}})})},taskAdd({state:e,dispatch:t},r){return new Promise(function(i,a){const s=$A.cloneJSON($A.date2string(r));$A.isArray(s.column_id)&&(s.column_id=s.column_id.find(u=>u)),t("call",{url:"project/task/add",data:s,method:"post"}).then(u=>{t("addTaskSuccess",u.data),i(u)}).catch(u=>{console.warn(u),a(u)})})},taskAddSub({dispatch:e},t){return new Promise(function(r,i){e("call",{url:"project/task/addsub",data:t}).then(a=>{e("addTaskSuccess",a.data),r(a)}).catch(a=>{console.warn(a),i(a)})})},addTaskSuccess({dispatch:e},t){typeof t.new_column!="undefined"&&(e("saveColumn",t.new_column),delete t.new_column),e("saveTask",t),e("getProjectOne",t.project_id).catch(()=>{})},taskUpdate({state:e,dispatch:t},r){return new Promise(function(i,a){t("taskBeforeUpdate",r).then(({post:s})=>{t("setLoad",{key:`task-${s.task_id}`,delay:300}),t("call",{url:"project/task/update",data:s,method:"post"}).then(u=>{t("saveTask",u.data),i(u)}).catch(u=>{console.warn(u),t("getTaskOne",s.task_id).catch(()=>{}),a(u)}).finally(u=>{t("cancelLoad",`task-${s.task_id}`)})}).catch(a)})},taskBeforeUpdate({state:e,dispatch:t},r){return new Promise(function(i,a){let s=$A.cloneJSON($A.date2string(r)),u="\u6E29\u99A8\u63D0\u793A",c=null;if(typeof s.times!="undefined"){r.times[0]===!1&&(c="\u4F60\u786E\u5B9A\u8981\u53D6\u6D88\u4EFB\u52A1\u65F6\u95F4\u5417\uFF1F");const h=e.cacheTasks.find(({id:n})=>n==s.task_id);u=h.parent_id>0?"\u66F4\u65B0\u5B50\u4EFB\u52A1":"\u66F4\u65B0\u4E3B\u4EFB\u52A1",h&&(h.parent_id>0?s.times[0]&&e.cacheTasks.some(n=>{if(n.id!=h.parent_id)return!1;if(!n.end_at)return c="\u4E3B\u4EFB\u52A1\u6CA1\u6709\u8BBE\u7F6E\u65F6\u95F4\uFF0C\u8BBE\u7F6E\u5B50\u4EFB\u52A1\u5C06\u540C\u6B65\u8BBE\u7F6E\u4E3B\u4EFB\u52A1",!0;let p=$A.Date(s.times[0],!0),d=$A.Date(s.times[1],!0),v=$A.Date(n.start_at,!0),m=$A.Date(n.end_at,!0);if(pm)return c="\u65B0\u8BBE\u7F6E\u7684\u5B50\u4EFB\u52A1\u7ED3\u675F\u65F6\u95F4\u5728\u4E3B\u4EFB\u52A1\u65F6\u95F4\u4E4B\u5916\uFF0C\u4FEE\u6539\u540E\u5C06\u540C\u6B65\u4FEE\u6539\u4E3B\u4EFB\u52A1",!0}):e.cacheTasks.some(n=>{if(n.parent_id!=h.id||!n.end_at)return!1;let p=$A.Date(s.times[0],!0),d=$A.Date(s.times[1],!0),v=$A.Date(h.start_at,!0),m=$A.Date(h.end_at,!0),g=$A.Date(n.start_at,!0),y=$A.Date(n.end_at,!0);if(v==g&&m==y)return!1;if(!s.times[0])return c=`\u5B50\u4EFB\u52A1\uFF08${n.name}\uFF09\u5DF2\u8BBE\u7F6E\u65F6\u95F4\uFF0C\u6E05\u9664\u4E3B\u4EFB\u52A1\u65F6\u95F4\u540E\u5C06\u540C\u6B65\u6E05\u9664\u5B50\u4EFB\u52A1\u7684\u65F6\u95F4`,!0;if(p>g)return c=`\u65B0\u8BBE\u7F6E\u7684\u5F00\u59CB\u65F6\u95F4\u5728\u5B50\u4EFB\u52A1\uFF08${n.name}\uFF09\u65F6\u95F4\u4E4B\u5185\uFF0C\u4FEE\u6539\u540E\u5C06\u540C\u6B65\u4FEE\u6539\u5B50\u4EFB\u52A1`,!0;if(d{i({confirm:!0,post:s})},onCancel:()=>{a({msg:!1})}})})},getTaskFlow({state:e,dispatch:t},r){return new Promise(function(i,a){t("call",{url:"project/task/flow",data:{task_id:r}}).then(s=>{let u=e.cacheTasks.find(({id:n})=>n==r),{data:c}=s;c.turns.some(n=>{const p=e.taskFlowItems.findIndex(({id:d})=>d==n.id);p>-1?e.taskFlowItems.splice(p,1,n):e.taskFlowItems.push(n),u&&u.flow_item_id==n.id&&u.flow_item_name!=n.name&&e.cacheTasks.filter(({flow_item_id:d})=>d==n.id).some(d=>{t("saveTask",{id:d.id,flow_item_name:`${n.status}|${n.name}`})})}),delete c.turns;const h=e.taskFlows.findIndex(({task_id:n})=>n==c.task_id);h>-1?e.taskFlows.splice(h,1,c):e.taskFlows.push(c),i(s)}).catch(s=>{console.warn(s),a(s)})})},getTaskPriority({state:e,dispatch:t}){return new Promise(function(r,i){t("call",{url:"system/priority"}).then(a=>{e.taskPriority=a.data,r(a)}).catch(a=>{console.warn(a),i(a)})})},getColumnTemplate({state:e,dispatch:t}){return new Promise(function(r,i){t("call",{url:"system/column/template"}).then(a=>{e.columnTemplate=a.data,r(a)}).catch(a=>{console.warn(a),i(a)})})},saveTaskCompleteTemp({state:e},t){/^\d+$/.test(t)&&!e.taskCompleteTemps.includes(t)&&e.taskCompleteTemps.push(t)},forgetTaskCompleteTemp({state:e},t){t===!0?e.taskCompleteTemps=[]:/^\d+$/.test(t)&&(e.taskCompleteTemps=e.taskCompleteTemps.filter(r=>r!=t))},saveTaskBrowse({state:e},t){const r=e.cacheTaskBrowse.findIndex(({id:i})=>i==t);r>-1&&e.cacheTaskBrowse.splice(r,1),e.cacheTaskBrowse.unshift({id:t,userid:e.userId}),e.cacheTaskBrowse.length>200&&e.cacheTaskBrowse.splice(200),$A.IDBSave("cacheTaskBrowse",e.cacheTaskBrowse)},saveDialog({state:e,dispatch:t},r){if($A.execMainDispatch("saveDialog",r),$A.isArray(r))r.forEach(i=>{t("saveDialog",i)});else if($A.isJson(r)){const i=e.cacheDialogs.findIndex(({id:a})=>a==r.id);if(i>-1){const a=e.cacheDialogs[i],s=r.user_ms,u=a.user_ms||0;s{t("updateDialogLastMsg",i)});else if($A.isJson(r))if(e.cacheDialogs.findIndex(({id:a})=>a==r.dialog_id)>-1){const a={id:r.dialog_id,last_msg:r,last_at:$A.formatDate("Y-m-d H:i:s")};r.mtype=="tag"&&(a.has_tag=!0),r.mtype=="image"&&(a.has_image=!0),r.mtype=="file"&&(a.has_file=!0),r.link&&(a.has_link=!0),t("saveDialog",a)}else t("getDialogOne",r.dialog_id).catch(()=>{})},getDialogs({state:e,dispatch:t,getters:r},i){return new Promise(function(a,s){if(e.userId===0){e.cacheDialogs=[],s({msg:"Parameter error"});return}$A.isJson(i)||(i={}),typeof i.page=="undefined"&&(i.page=1),typeof i.pagesize=="undefined"&&(i.pagesize=20);const u=eg("dialogs",i,e);u.showLoad()&&e.loadDialogs++,t("call",{url:"dialog/lists",data:u.get()}).then(({data:c})=>{t("saveDialog",c.data),u.save(c).then(h=>t("forgetDialog",h)),c.next_page_url&&c.current_page<5?(i.page++,t("getDialogs",i).then(a).catch(s)):a()}).catch(c=>{console.warn(c),s(c)}).finally(c=>{u.showLoad()&&e.loadDialogs--})})},getDialogOne({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"dialog/one",data:{dialog_id:r}}).then(s=>{t("saveDialog",s.data),i(s)}).catch(s=>{console.warn(s),a(s)})})},getDialogTodo({state:e,dispatch:t},r){t("call",{url:"dialog/todo",data:{dialog_id:r}}).then(({data:i})=>{$A.arrayLength(i)>0?(t("saveDialog",{id:r,todo_num:$A.arrayLength(i)}),e.dialogTodos=e.dialogTodos.filter(a=>a.dialog_id!=r),t("saveDialogTodo",i)):t("saveDialog",{id:r,todo_num:0})}).catch(console.warn)},openDialog({state:e,dispatch:t},r){return new Promise(i=>{let a;$A.isJson(r)&&(a=r.search_msg_id,r=r.dialog_id),requestAnimationFrame(s=>{e.dialogSearchMsgId=/^\d+$/.test(a)?a:0,e.dialogId=/^\d+$/.test(r)?r:0,i()})})},openDialogUserid({state:e,dispatch:t},r){return new Promise(function(i,a){const s=e.cacheDialogs.find(u=>u.type!=="user"||!u.dialog_user?!1:u.dialog_user.userid===r);if(s){t("openDialog",s.id),i(s);return}t("showSpinner",600),t("call",{url:"dialog/open/user",data:{userid:r}}).then(({data:u})=>{t("saveDialog",u),t("openDialog",u.id),i(u)}).catch(u=>{console.warn(u),a(u)}).finally(u=>{t("hiddenSpinner")})})},forgetDialog({state:e,dispatch:t},r){$A.execMainDispatch("forgetDialog",r);const i=$A.isArray(r)?r:[r];i.some(a=>{const s=e.cacheDialogs.findIndex(u=>u.id==a);s>-1&&(t("forgetDialogMsg",e.dialogMsgs.filter(u=>u.dialog_id==r).map(u=>u.id)),e.cacheDialogs.splice(s,1))}),i.includes(e.dialogId)&&(e.dialogId=0),$A.IDBSave("cacheDialogs",e.cacheDialogs)},saveInDialog({state:e,dispatch:t},r){$A.execMainDispatch("saveInDialog",r);const i=e.dialogIns.findIndex(u=>u.uid==r.uid);i>-1?e.dialogIns.splice(i,1,Object.assign({},e.dialogIns[i],r)):e.dialogIns.push(r);const a=1500,s=30;if(e.dialogHistory=e.dialogHistory.filter(u=>u!=r.dialog_id),e.dialogHistory.push(r.dialog_id),e.dialogMsgs.length>a&&e.dialogHistory.length>s){const u=e.dialogHistory.slice().reverse(),c=[],h=[];u.forEach(n=>{c.lengthp.dialog_id==n)>-1?c.push(n):h.push(n)}),h.length>0&&(e.dialogMsgs=e.dialogMsgs.filter(n=>!h.includes(n.dialog_id)),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)),e.dialogHistory=c}},forgetInDialog({state:e,dispatch:t},r){$A.execMainDispatch("forgetInDialog",r);const i=e.dialogIns.findIndex(a=>a.uid==r);i>-1&&e.dialogIns.splice(i,1)},closeDialog({state:e,dispatch:t},r){if($A.execMainDispatch("closeDialog",r),!/^\d+$/.test(r))return;const i=e.cacheDialogs.find(u=>u.id==r);i&&(i.extra_draft_has=i.extra_draft_content?1:0);const a=50,s=e.dialogMsgs.filter(u=>u.dialog_id==r);if(s.length>a){const u=s.sort((c,h)=>h.id-c.id).splice(a).map(c=>c.id);e.dialogMsgs=e.dialogMsgs.filter(c=>!u.includes(c.id)),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)}},saveDialogTodo({state:e,dispatch:t},r){if($A.execMainDispatch("saveDialogTodo",r),$A.isArray(r))r.forEach(i=>{t("saveDialogTodo",i)});else if($A.isJson(r)){const i=e.dialogTodos.findIndex(a=>a.id==r.id);i>-1?e.dialogTodos.splice(i,1,Object.assign({},e.dialogTodos[i],r)):e.dialogTodos.push(r)}},forgetDialogTodoForMsgId({state:e,dispatch:t},r){$A.execMainDispatch("forgetDialogTodoForMsgId",r);const i=e.dialogTodos.findIndex(a=>a.msg_id==r);i>-1&&e.dialogTodos.splice(i,1)},saveDialogDraft({state:e,dispatch:t},r){e.dialogDraftTimer[r.id]&&clearInterval(e.dialogDraftTimer[r.id]),e.dialogDraftTimer[r.id]=setTimeout(i=>{e.dialogId!=r.id&&(r.extra_draft_has=r.extra_draft_content?1:0),t("saveDialog",r)},r.extra_draft_content?600:0)},saveDialogMsg({state:e,dispatch:t},r){if($A.execMainDispatch("saveDialogMsg",r),$A.isArray(r))r.forEach(i=>{t("saveDialogMsg",i)});else if($A.isJson(r)){const i=e.dialogMsgs.findIndex(({id:s})=>s==r.id);r=Object.assign({},e.dialogMsgs[i],r),i>-1?e.dialogMsgs.splice(i,1,r):e.dialogMsgs.push(r),$A.IDBSave("dialogMsgs",e.dialogMsgs,600);const a=e.cacheDialogs.find(({id:s,last_msg:u})=>s==r.dialog_id&&u&&u.id===r.id);a&&t("saveDialog",{id:r.dialog_id,last_msg:Object.assign({},a.last_msg,r)})}},forgetDialogMsg({state:e,dispatch:t},r){$A.execMainDispatch("forgetDialogMsg",r),($A.isArray(r)?r:[r]).some(a=>{const s=e.dialogMsgs.findIndex(u=>u.id==a);if(s>-1){const u=e.dialogMsgs[s];t("decrementMsgReplyNum",u),t("audioStop",$A.getObject(u,"msg.path")),e.dialogMsgs.splice(s,1),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)}}),t("forgetDialogTodoForMsgId",r)},getDialogMsgs({state:e,dispatch:t,getters:r},i){return new Promise((a,s)=>{let u=d=>{},c=d=>{},h=!1,n=!1;typeof i.save_before!="undefined"&&(u=typeof i.save_before=="function"?i.save_before:d=>{},delete i.save_before),typeof i.save_after!="undefined"&&(c=typeof i.save_after=="function"?i.save_after:d=>{},delete i.save_after),typeof i.clear_before!="undefined"&&(h=typeof i.clear_before=="boolean"?i.clear_before:!1,delete i.clear_before),typeof i.spinner!="undefined"&&(n=i.spinner,delete i.spinner);const p=`msg::${i.dialog_id}-${i.msg_id}-${i.msg_type||""}`;if(r.isLoad(p)){s({msg:"Loading"});return}t("setLoad",p),h&&(e.dialogMsgs=e.dialogMsgs.filter(({dialog_id:d})=>d!==i.dialog_id),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)),t("call",{url:"dialog/msg/list",data:i,spinner:n,complete:d=>t("cancelLoad",p)}).then(d=>{u();const v=d.data;if($A.isJson(v.dialog)){setTimeout(g=>t("saveDialog",v.dialog),10);const m=v.list.map(({id:g})=>g);e.dialogMsgs=e.dialogMsgs.filter(g=>g.dialog_id!=i.dialog_id||m.includes(g.id)||$A.Time(g.created_at)>=v.time),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)}$A.isArray(v.todo)&&(e.dialogTodos=e.dialogTodos.filter(m=>m.dialog_id!=i.dialog_id),t("saveDialogTodo",v.todo)),t("saveDialogMsg",v.list),a(d),c()}).catch(d=>{console.warn(d),s(d)}).finally(d=>{if(i.prev_id){const v=e.dialogMsgs.find(({prev_id:m})=>m==i.prev_id);v&&(v.prev_id=0)}if(i.next_id){const v=e.dialogMsgs.find(({next_id:m})=>m==i.next_id);v&&(v.next_id=0)}})})},dialogMsgRead({state:e,dispatch:t},r){if($A.isJson(r)){if(r.userid==e.userId||r.read_at)return;r.read_at=$A.formatDate(),e.wsReadWaitData[r.id]=r.id}clearTimeout(e.wsReadTimeout),e.wsReadTimeout=setTimeout(i=>{const a=Object.values(e.wsReadWaitData);e.wsReadWaitData={},a.length!==0&&t("call",{url:"dialog/msg/read",data:{id:a.join(",")}}).then(({data:s})=>{t("saveDialog",s)}).catch(s=>{a.some(u=>{e.wsReadWaitData[u]=u})})},50)},dialogMsgMark({state:e,dispatch:t},r){return new Promise((i,a)=>{t("call",{url:"dialog/msg/mark",data:r}).then(s=>{t("saveDialog",s.data),i(s)}).catch(s=>{a(s)})})},setLoad({state:e,dispatch:t},r){if($A.isJson(r)){setTimeout(a=>{t("setLoad",r.key)},r.delay||0);return}const i=e.loads.find(a=>a.key==r);i?i.num++:e.loads.push({key:r,num:1})},cancelLoad({state:e},t){const r=e.loads.find(i=>i.key==t);r?r.num--:e.loads.push({key:t,num:-1})},showSpinner({state:e},t){const r=$A.randomString(6);e.floatSpinnerTimer.push({id:r,timer:setTimeout(i=>{e.floatSpinnerTimer=e.floatSpinnerTimer.filter(a=>a.id!==r),e.floatSpinnerLoad++},typeof t=="number"?t:0)})},hiddenSpinner({state:e}){const t=e.floatSpinnerTimer.shift();t?clearTimeout(t.timer):e.floatSpinnerLoad--},previewImage({state:e},t){$A.isJson(t)||(t={index:0,list:[t]}),e.previewImageIndex=t.index,e.previewImageList=t.list},audioPlay({state:e,dispatch:t},r){const i=document.getElementById("__audio_play_element__");if(i&&(i.pause(),i.src=null,i.parentNode.removeChild(i)),!r||r===e.audioPlaying){e.audioPlaying=null;return}const a=document.createElement("audio");a.id=e.audioPlayId="__audio_play_element__",a.controls=!1,a.loop=!1,a.volume=1,a.src=e.audioPlaying=r,a.onended=s=>{t("audioStop",a.src)},document.body.appendChild(a),a.play().then(s=>{})},audioStop({state:e},t){const r=document.getElementById("__audio_play_element__");!r||(r.src===t||t===!0)&&(r.pause(),r.src=null,r.parentNode.removeChild(r),e.audioPlaying=null)},websocketConnection({state:e,dispatch:t,commit:r}){if(clearTimeout(e.wsTimeout),e.ws&&(e.ws.close(),e.ws=null),e.userId===0)return;let i=$A.apiUrl("../ws");i=i.replace("https://","wss://"),i=i.replace("http://","ws://"),i+=`?action=web&token=${e.userToken}&language=${Qo}`;const a=$A.openLog,s=$A.randomString(16);e.wsRandom=s,e.ws=new WebSocket(i),e.ws.onopen=async u=>{a&&console.log("[WS] Open",u,$A.formatDate()),e.wsOpenNum++,t("websocketSend",{type:"encrypt",data:{type:"pgp",key:(await t("pgpGetLocalKey")).publicKeyB64}})},e.ws.onclose=async u=>{a&&console.log("[WS] Close",u,$A.formatDate()),e.ws=null,clearTimeout(e.wsTimeout),e.wsTimeout=setTimeout(()=>{s===e.wsRandom&&t("websocketConnection")},3e3)},e.ws.onerror=async u=>{a&&console.log("[WS] Error",u,$A.formatDate()),e.ws=null,clearTimeout(e.wsTimeout),e.wsTimeout=setTimeout(()=>{s===e.wsRandom&&t("websocketConnection")},3e3)},e.ws.onmessage=async u=>{a&&console.log("[WS] Message",u);let c=$A.jsonParse(u.data);c.type==="encrypt"&&c.encrypted&&(c=await t("pgpDecryptApi",c.encrypted));const h=$A.formatMsgBasic(c),{type:n,msgId:p}=h;switch(n){case"open":$A.setSessionStorage("userWsFd",h.data.fd);break;case"receipt":typeof e.wsCall[p]=="function"&&e.wsCall[p](h.body,!0),delete e.wsCall[p];break;case"line":t("saveUserOnlineStatus",h.data);break;default:switch(p&&t("websocketSend",{type:"receipt",msgId:p}).catch(d=>{}),e.wsMsg=h,Object.values(e.wsListener).forEach(d=>{if(typeof d=="function")try{d(h)}catch(v){a&&console.log("[WS] Callerr",v)}}),n){case"dialog":(function(d){const{mode:v,silence:m,data:g}=d,{dialog_id:y}=g;switch(v){case"delete":if(t("forgetDialogMsg",g.id),e.cacheDialogs.find(({id:k})=>k==y)){const k={id:y,last_at:g.last_msg&&g.last_msg.created_at,last_msg:g.last_msg};g.update_read?t("call",{url:"dialog/msg/unread",data:{dialog_id:y}}).then(({data:O})=>{t("saveDialog",Object.assign(k,O))}).catch(()=>{}):t("saveDialog",k)}break;case"add":case"chat":if(!e.dialogMsgs.find(({id:k})=>k==g.id)){if(t("increaseTaskMsgNum",g),t("increaseMsgReplyNum",g),v==="chat"||$A.isSubElectron)return;if(g.userid!==e.userId){const k=e.cacheDialogs.find(({id:O})=>O==y);if(k){const O={id:y,unread:k.unread+1,mention:k.mention,user_at:g.user_at,user_ms:g.user_ms};g.mention&&O.mention++,t("saveDialog",O)}}m||nl.Store.set("dialogMsgPush",g)}t("saveDialogMsg",g),t("updateDialogLastMsg",g);break;case"update":case"readed":if(e.dialogMsgs.find(({id:k})=>k==g.id))t("saveDialogMsg",g),typeof g.todo!="undefined"&&t("getDialogTodo",y);else if(v==="readed"){let k=0;const O=setInterval(S=>{k>6&&clearInterval(O),e.dialogMsgs.find(({id:x})=>x==g.id)&&(clearInterval(O),t("saveDialogMsg",g)),k++},500)}break;case"groupAdd":case"groupJoin":case"groupRestore":t("getDialogOne",g.id).catch(()=>{});break;case"groupUpdate":e.cacheDialogs.find(({id:k})=>k==g.id)&&t("saveDialog",g);break;case"groupExit":case"groupDelete":t("forgetDialog",g.id);break}})(h);break;case"project":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"update":case"recovery":t("saveProject",m);break;case"detail":t("getProjectOne",m.id).catch(()=>{}),t("getTaskForProject",m.id).catch(()=>{});break;case"delete":case"archived":t("forgetProject",m.id);break;case"sort":t("getTaskForProject",m.id).catch(()=>{});break}})(h);break;case"projectColumn":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"update":t("saveColumn",m);break;case"delete":t("forgetColumn",m.id);break}})(h);break;case"projectTask":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"restore":t("addTaskSuccess",m);break;case"update":case"archived":case"recovery":t("saveTask",m);break;case"dialog":t("saveTask",m),t("getDialogOne",m.dialog_id).catch(()=>{});break;case"upload":t("getTaskFiles",m.task_id);break;case"filedelete":t("forgetTaskFile",m.id);break;case"delete":t("forgetTask",m.id);break}})(h);break;case"file":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"update":t("saveFile",m);break;case"delete":t("forgetFile",m.id);break}})(h);break}break}}},websocketSend({state:e},t){return new Promise((r,i)=>{var h;if(!$A.isJson(t)){i();return}const{type:a,data:s,callback:u}=t;let c;if(!e.ws){typeof u=="function"&&u(null,!1),i();return}typeof u=="function"&&(c=$A.randomString(16),e.wsCall[c]=u);try{(h=e.ws)==null||h.send(JSON.stringify({type:a,msgId:c,data:s})),r()}catch(n){typeof u=="function"&&u(null,!1),i(n)}})},websocketPath({state:e,dispatch:t},r){clearTimeout(e.wsPathTimeout),e.wsPathValue=r,e.wsPathTimeout=setTimeout(()=>{e.wsPathValue==r&&t("websocketSend",{type:"path",data:{path:r}}).catch(i=>{})},1e3)},websocketMsgListener({state:e},t){const{name:r,callback:i}=t;typeof i=="function"?e.wsListener[r]=i:e.wsListener[r]&&delete e.wsListener[r]},websocketClose({state:e}){e.ws&&(e.ws.close(),e.ws=null)},pgpGenerate({state:e}){return new Promise(async t=>{const r=await gW({type:"ecc",curve:"curve25519",passphrase:e.clientId,userIDs:[{name:"doo",email:"admin@admin.com"}]});r.publicKeyB64=EW(r.publicKey.replace(/\s*-----(BEGIN|END) PGP PUBLIC KEY BLOCK-----\s*/g,"")),t(r)})},pgpGetLocalKey({state:e,dispatch:t}){return new Promise(async r=>{if(e.localKeyPair.privateKey)return r(e.localKeyPair);for(;e.localKeyLock===!0;)await new Promise(i=>setTimeout(i,100));if(e.localKeyPair.privateKey)return r(e.localKeyPair);e.localKeyLock=!0,e.localKeyPair=await t("pgpGenerate"),e.localKeyLock=!1,r(e.localKeyPair)})},pgpEncrypt({state:e,dispatch:t},r){return new Promise(async i=>{$A.isJson(r)||(r={message:r});const a=r.message||r.text,s=r.publicKey||r.key||(await t("pgpGetLocalKey")).publicKey,u=await dW({armoredKey:s}),c=await bW({message:await _W({text:a}),encryptionKeys:u});i(c)})},pgpDecrypt({state:e,dispatch:t},r){return new Promise(async i=>{$A.isJson(r)||(r={encrypted:r});const a=r.encrypted||r.text,s=r.privateKey||r.key||(await t("pgpGetLocalKey")).privateKey,u=await yW({privateKey:await fW({armoredKey:s}),passphrase:r.passphrase||e.clientId}),{data:c}=await wW({message:await mW({armoredMessage:a}),decryptionKeys:u});i(c)})},pgpEncryptApi({state:e,dispatch:t},r){return new Promise(i=>{r=$A.jsonStringify(r),t("pgpEncrypt",{message:r,publicKey:e.apiKeyData.key}).then(a=>{i(a.replace(/\s*-----(BEGIN|END) PGP MESSAGE-----\s*/g,""))})})},pgpDecryptApi({state:e,dispatch:t},r){return new Promise(i=>{t("pgpDecrypt",{encrypted:`-----BEGIN PGP MESSAGE----- +`)),e}var DW={init({state:e,dispatch:t}){return new Promise(async r=>{let i=null;if(!await $A.IDBBoolean("initTag")){await $A.IDBSet("initTag",!0);const u=$A.getStorageJson("userInfo");u.userid>0&&(await $A.IDBSet("userInfo",u),await $A.IDBSet("cacheServerUrl",$A.getStorageString("cacheServerUrl")),window.localStorage.clear())}switch(e.clientId=await $A.IDBString("clientId"),e.cacheServerUrl=await $A.IDBString("cacheServerUrl"),e.cacheUserBasic=await $A.IDBArray("cacheUserBasic"),e.cacheDialogs=(await $A.IDBArray("cacheDialogs")).map(u=>Object.assign(u,{loading:!1,extra_draft_has:u.extra_draft_content?1:0})),e.cacheProjects=await $A.IDBArray("cacheProjects"),e.cacheColumns=await $A.IDBArray("cacheColumns"),e.cacheTasks=await $A.IDBArray("cacheTasks"),e.cacheProjectParameter=await $A.IDBArray("cacheProjectParameter"),e.cacheTaskBrowse=await $A.IDBArray("cacheTaskBrowse"),e.dialogMsgs=await $A.IDBArray("dialogMsgs"),e.fileLists=await $A.IDBArray("fileLists"),e.userInfo=await $A.IDBJson("userInfo"),e.callAt=await $A.IDBArray("callAt"),e.cacheEmojis=await $A.IDBArray("cacheEmojis"),e.userInfo.userid&&(e.userId=e.userInfo.userid=$A.runNum(e.userInfo.userid),e.userToken=e.userInfo.token,e.userIsAdmin=$A.inArray("admin",e.userInfo.identity)),e.cacheServerUrl&&(window.systemInfo.apiUrl=e.cacheServerUrl),e.themeMode){case"dark":$A.dark.enableDarkMode();break;case"light":$A.dark.disableDarkMode();break;default:e.themeMode="auto",$A.dark.autoDarkMode();break}e.themeIsDark=$A.dark.isDarkEnabled(),e.clientId||(e.clientId=$A.randomString(6),await $A.IDBSet("clientId",e.clientId));const s=await $A.IDBString("clearCache");s&&(await $A.IDBRemove("clearCache"),await $A.IDBSet("callAt",e.callAt=[]),s==="handle"&&await t(i="handleClearCache")),t("call",{url:"users/key/client",data:{client_id:e.clientId},encrypt:!1}).then(({data:u})=>{e.apiKeyData=u}),await $A.loadScriptS(["language/web/key.js",`language/web/${Qo}.js`]),r(i)})},call({state:e,dispatch:t},r){$A.isJson(r)||(r={url:r});const i={"Content-Type":"application/json",language:Qo,token:e.userToken,fd:$A.getSessionStorageString("userWsFd"),version:window.systemInfo.version||"0.0.1",platform:$A.Platform};$A.isJson(r.header)?r.header=Object.assign(i,r.header):r.header=i,r.encrypt===void 0&&$A.inArray(r.url,["users/login","users/editpass","users/operation","users/delete/account","users/bot/*","dialog/msg/*"],!0)&&(r.encrypt=!0),r.url=$A.apiUrl(r.url),r.data=$A.date2string(r.data);const a=$A.cloneJSON(r);return new Promise(async(s,u)=>{const c=[];if(r.encrypt===!0&&(r.data&&e.apiKeyData.type==="pgp"&&(c.push(`encrypt_type=${e.apiKeyData.type};encrypt_id=${e.apiKeyData.id}`),r.method="post",r.data={encrypted:await t("pgpEncryptApi",r.data)}),c.push("client_type=pgp;client_key="+(await t("pgpGetLocalKey")).publicKeyB64)),c.length>0&&(r.header.encrypt=c.join(";")),r.method==="post"&&(r.data=JSON.stringify(r.data)),r.spinner===!0||typeof r.spinner=="number"&&r.spinner>0){const{before:h,complete:n}=r;r.before=()=>{t("showSpinner",typeof r.spinner=="number"?r.spinner:0),typeof h=="function"&&h()},r.complete=()=>{t("hiddenSpinner"),typeof n=="function"&&n()}}if(r.success=async(h,n,p)=>{if(e.ajaxNetworkException=!1,!$A.isJson(h)){console.log(h,n,p),u({ret:-1,data:{},msg:"Return error"});return}r.encrypt===!0&&h.encrypted&&(h=await t("pgpDecryptApi",h.encrypted));const{ret:d,data:v,msg:m}=h;if(d===-1&&(e.userId=0,r.skipAuthError!==!0)){$A.modalError({content:m,onOk:()=>{t("logout")}}),u(h);return}if(d===-2&&r.checkNick!==!1){t("userEditInput","nickname").then(()=>{t("call",a).then(s).catch(u)}).catch(g=>{u({ret:-1,data:v,msg:g||$A.L("\u8BF7\u8BBE\u7F6E\u6635\u79F0\uFF01")})});return}if(d===-3&&r.checkTel!==!1){t("userEditInput","tel").then(()=>{t("call",a).then(s).catch(u)}).catch(g=>{u({ret:-1,data:v,msg:g||$A.L("\u8BF7\u8BBE\u7F6E\u8054\u7CFB\u7535\u8BDD\uFF01")})});return}d===1?s({data:v,msg:m}):(u({ret:d,data:v,msg:m||"Unknown error"}),d===-4001?t("forgetProject",v.project_id):d===-4002?t("forgetTask",v.task_id):d===-4003&&t("forgetDialog",v.dialog_id))},r.error=(h,n)=>{const p=window.navigator.onLine===!1||n===0&&h.readyState===4;r.checkNetwork!==!1&&(e.ajaxNetworkException=p),u(p?{ret:-1001,data:{},msg:"Network exception"}:{ret:-1,data:{},msg:"System error"})},r.websocket===!0){const h=$A.randomString(16),n=setTimeout(()=>{const p=e.ajaxWsListener.find(d=>d.apiWebsocket==h);p&&(p.complete(),p.error("timeout"),p.after()),e.ajaxWsListener=e.ajaxWsListener.filter(d=>d.apiWebsocket!=h)},r.timeout||3e4);e.ajaxWsListener.push({apiWebsocket:h,complete:typeof r.complete=="function"?r.complete:()=>{},success:typeof r.success=="function"?r.success:()=>{},error:typeof r.error=="function"?r.error:()=>{},after:typeof r.after=="function"?r.after:()=>{}}),r.complete=()=>{},r.success=()=>{},r.error=()=>{},r.after=()=>{},r.header["Api-Websocket"]=h,e.ajaxWsReady===!1&&(e.ajaxWsReady=!0,t("websocketMsgListener",{name:"apiWebsocket",callback:p=>{switch(p.type){case"apiWebsocket":clearTimeout(n);const d=p.apiWebsocket,v=p.apiSuccess,m=p.data,g=e.ajaxWsListener.find(y=>y.apiWebsocket==d);g&&(g.complete(),v?g.success(m):g.error(m),g.after()),e.ajaxWsListener=e.ajaxWsListener.filter(y=>y.apiWebsocket!=d);break}}}))}$A.ajaxc(r)})},needHome({dispatch:e,state:t}){return new Promise((r,i)=>{e("call",{url:"system/get/starthome"}).then(({data:a})=>{a.need_start?r(a):i()}).catch(i)})},downUrl({state:e},t){if(!t)return;let r=t,i=!0;if($A.isJson(t)&&(r=t.url,i=!!t.token),i){let a={token:e.userToken};$A.isJson(t)&&(r=t.url,a=t.params||{}),r=$A.urlAddParams(r,a)}$A.Electron?$A.Electron.request({action:"openExternal",url:r},()=>{},()=>{}):$A.isEEUiApp?$A.eeuiAppOpenWeb(r):window.open(r)},toggleProjectParameter({state:e},t){$A.execMainDispatch("toggleProjectParameter",t);let r=t,i=null,a=e.projectId;if($A.isJson(t)&&(r=t.key,i=t.value,a=t.project_id),a){let s=e.cacheProjectParameter.findIndex(c=>c.project_id==a);s===-1&&(e.cacheProjectParameter.push($A.projectParameterTemplate(a)),s=e.cacheProjectParameter.findIndex(c=>c.project_id==a));const u=e.cacheProjectParameter[s];$A.isJson(r)||(r={[r]:i||!u[r]}),e.cacheProjectParameter.splice(s,1,Object.assign(u,r)),$A.IDBSave("cacheProjectParameter",e.cacheProjectParameter)}},setTheme({state:e},t){return new Promise(function(r){if(t===void 0){r(!1);return}if(!$A.isChrome()){$A.isEEUiApp?$A.modalWarning("\u4EC5Android\u8BBE\u7F6E\u652F\u6301\u4E3B\u9898\u529F\u80FD"):$A.modalWarning("\u4EC5\u5BA2\u6237\u7AEF\u6216Chrome\u6D4F\u89C8\u5668\u652F\u6301\u4E3B\u9898\u529F\u80FD"),r(!1);return}switch(t){case"dark":$A.dark.enableDarkMode();break;case"light":$A.dark.disableDarkMode();break;default:$A.dark.autoDarkMode();break}e.themeMode=t,e.themeIsDark=$A.dark.isDarkEnabled(),window.localStorage.setItem("__theme:mode__",t),r(!0)})},getBasicData({state:e,dispatch:t},r){if(typeof r=="number"){window.__getBasicDataTimer&&clearTimeout(window.__getBasicDataTimer),r>-1&&(window.__getBasicDataTimer=setTimeout(s=>t("getBasicData",null),r));return}const i=e.userId+$A.Time();if(window.__getBasicDataKey===i)return;window.__getBasicDataKey=i,t("getProjects").catch(()=>{}),t("getDialogs").catch(()=>{}),t("getReportUnread",1e3),t("getTaskForDashboard"),t("dialogMsgRead");const a=Object.values(e.userAvatar).map(({userid:s})=>s);[...new Set(a)].some(s=>t("getUserBasic",{userid:s}))},getReportUnread({state:e,dispatch:t},r){window.__getReportUnread&&clearTimeout(window.__getReportUnread),window.__getReportUnread=setTimeout(()=>{e.userId===0?e.reportUnreadNumber=0:t("call",{url:"report/unread"}).then(({data:i})=>{e.reportUnreadNumber=i.total||0}).catch(i=>{})},typeof r=="number"?r:1e3)},getUserInfo({dispatch:e}){return new Promise(function(t,r){e("call",{url:"users/info"}).then(i=>{e("saveUserInfo",i.data),t(i)}).catch(i=>{console.warn(i),r(i)})})},saveUserInfo({state:e,dispatch:t},r){return new Promise(async i=>{const a=$A.cloneJSON(r);a.userid=$A.runNum(a.userid),a.token=a.userid>0?a.token||e.userToken:"",e.userInfo=a,e.userId=a.userid,e.userToken=a.token,e.userIsAdmin=$A.inArray("admin",a.identity),await $A.IDBSet("userInfo",e.userInfo),t("getBasicData",null),e.userId>0&&t("saveUserBasic",e.userInfo),i()})},saveUserOnlineStatus({state:e},t){const{userid:r,online:i}=t;e.userOnline[r]!==i&&(e.userOnline=Object.assign({},e.userOnline,{[r]:i}))},getUserBasic({state:e,dispatch:t},r){if(e.loadUserBasic===!0){r&&e.cacheUserWait.push(r);return}let i=$A.Time(),a=$A.cloneJSON(e.cacheUserWait);r&&r.userid&&a.push(r),e.cacheUserWait=[];let s=[],u=0;a.some(c=>{let h=e.cacheUserBasic.find(({userid:n})=>n==c.userid);if(h&&i-h._time<=30)return setTimeout(()=>{e.cacheUserActive=Object.assign(h,{__:Math.random()}),nl.Store.set("cacheUserActive",h)},u+=5),!1;s.push(c)}),s.length!==0&&(s.length>30&&(e.cacheUserWait=s.slice(30),s=s.slice(0,30)),e.loadUserBasic=!0,t("call",{url:"users/basic",data:{userid:[...new Set(s.map(({userid:c})=>c))]},skipAuthError:!0}).then(c=>{i=$A.Time(),s.forEach(h=>{let n=c.data.find(({userid:p})=>p==h.userid)||Object.assign(h,{email:""});n._time=i,t("saveUserBasic",n)}),e.loadUserBasic=!1,t("getUserBasic")}).catch(c=>{console.warn(c),e.loadUserBasic=!1,t("getUserBasic")}))},saveUserBasic({state:e},t){$A.execMainDispatch("saveUserBasic",t);const r=e.cacheUserBasic.findIndex(({userid:i})=>i==t.userid);r>-1?(t=Object.assign({},e.cacheUserBasic[r],t),e.cacheUserBasic.splice(r,1,t)):e.cacheUserBasic.push(t),e.cacheUserActive=Object.assign(t,{__:Math.random()}),nl.Store.set("cacheUserActive",t),$A.IDBSave("cacheUserBasic",e.cacheUserBasic)},userEditInput({dispatch:e},t){return new Promise(function(r,i){let a="";if(t==="nickname")a="\u6635\u79F0";else if(t==="tel")a="\u8054\u7CFB\u7535\u8BDD";else{i("\u53C2\u6570\u9519\u8BEF");return}setTimeout(s=>{$A.modalInput({title:`\u8BBE\u7F6E${a}`,placeholder:`\u8BF7\u8F93\u5165\u60A8\u7684${a}`,okText:"\u4FDD\u5B58",onOk:u=>u?new Promise((c,h)=>{e("call",{url:"users/editdata",data:{[t]:u},checkNick:!1,checkTel:!1}).then(()=>{e("getUserInfo").finally(n=>{c(),r()})}).catch(({msg:n})=>{h(n)})}):`\u8BF7\u8F93\u5165${a}`,onCancel:u=>i})},100)})},logout({state:e,dispatch:t},r=!0){t("handleClearCache",{}).then(()=>{let i=["/","/login"].includes(window.location.pathname)?"":encodeURIComponent(window.location.href);r===!1&&(i=null),$A.goForward({name:"login",query:i?{from:i}:{}},!0)})},handleClearCache({state:e,dispatch:t},r){return new Promise(async i=>{try{e.cacheUserBasic=[],e.cacheDialogs=[],e.cacheProjects=[],e.cacheColumns=[],e.cacheTasks=[],e.callAt=[];const a=window.localStorage.getItem("__language:type__"),s=window.localStorage.getItem("__keyboard:data__"),u=window.localStorage.getItem("__theme:mode__");window.localStorage.clear(),window.localStorage.setItem("__language:type__",a),window.localStorage.setItem("__keyboard:data__",s),window.localStorage.setItem("__theme:mode__",u);const c=await $A.IDBString("cacheLoginEmail"),h=await $A.IDBJson("cacheFileSort");await $A.IDBClear(),await $A.IDBSet("clientId",e.clientId),await $A.IDBSet("cacheServerUrl",e.cacheServerUrl),await $A.IDBSet("cacheProjectParameter",e.cacheProjectParameter),await $A.IDBSet("cacheLoginEmail",c),await $A.IDBSet("cacheFileSort",h),await $A.IDBSet("cacheTaskBrowse",e.cacheTaskBrowse),await $A.IDBSet("cacheEmojis",e.cacheEmojis),t("saveUserInfo",$A.isJson(r)?r:e.userInfo).then(i)}catch{i()}})},saveFile({state:e,dispatch:t},r){if($A.execMainDispatch("saveFile",r),$A.isArray(r))r.forEach(i=>{t("saveFile",i)});else if($A.isJson(r)){let i={_load:!1,_edit:!1};const a=e.fileLists.findIndex(({id:s})=>s==r.id);a>-1?e.fileLists.splice(a,1,Object.assign(i,e.fileLists[a],r)):e.fileLists.push(Object.assign(i,r)),$A.IDBSave("fileLists",e.fileLists,600)}},forgetFile({state:e,dispatch:t},r){$A.execMainDispatch("forgetFile",r),($A.isArray(r)?r:[r]).some(a=>{e.fileLists=e.fileLists.filter(s=>s.id!=a),e.fileLists.some(s=>{s.pid==a&&t("forgetFile",s.id)}),$A.IDBSave("fileLists",e.fileLists,600)})},getFiles({state:e,dispatch:t},r){return new Promise(function(i,a){t("call",{url:"file/lists",data:{pid:r}}).then(s=>{const u=s.data.map(({id:c})=>c);e.fileLists=e.fileLists.filter(c=>c.pid!=r||u.includes(c.id)),$A.IDBSave("fileLists",e.fileLists,600),t("saveFile",s.data),i(s)}).catch(s=>{console.warn(s),a(s)})})},searchFiles({state:e,dispatch:t},r){return $A.isJson(r)||(r={key:r}),new Promise(function(i,a){t("call",{url:"file/search",data:r}).then(s=>{t("saveFile",s.data),i(s)}).catch(s=>{console.warn(s),a(s)})})},saveProject({state:e,dispatch:t},r){if($A.execMainDispatch("saveProject",r),$A.isArray(r))r.forEach(i=>{t("saveProject",i)});else if($A.isJson(r)){typeof r.project_column!="undefined"&&(t("saveColumn",r.project_column),delete r.project_column);const i=e.cacheProjects.findIndex(({id:a})=>a==r.id);i>-1?e.cacheProjects.splice(i,1,Object.assign({},e.cacheProjects[i],r)):(typeof r.project_user=="undefined"&&(r.project_user=[]),e.cacheProjects.push(r),e.projectTotal++),e.cacheDialogs.some(a=>{if(a.type=="group"&&a.group_type=="project"&&a.group_info.id==r.id){r.name!==void 0&&(a.name=r.name);for(let s in a.group_info)!a.group_info.hasOwnProperty(s)||r[s]===void 0||(a.group_info[s]=r[s])}}),$A.IDBSave("cacheProjects",e.cacheProjects)}},forgetProject({state:e,dispatch:t},r){$A.execMainDispatch("forgetProject",r);const i=$A.isArray(r)?r:[r];if(i.some(a=>{const s=e.cacheProjects.findIndex(u=>u.id==a);s>-1&&(t("forgetTask",e.cacheTasks.filter(u=>u.project_id==r).map(u=>u.id)),t("forgetColumn",e.cacheColumns.filter(u=>u.project_id==r).map(u=>u.id)),e.cacheProjects.splice(s,1),e.projectTotal=Math.max(0,e.projectTotal-1))}),i.includes(e.projectId)){const a=$A.cloneJSON(e.cacheProjects).sort((s,u)=>s.top_at||u.top_at?$A.Date(u.top_at)-$A.Date(s.top_at):u.id-s.id).find(({id:s})=>s&&s!=r);a?$A.goForward({name:"manage-project",params:{projectId:a.id}}):$A.goForward({name:"manage-dashboard"})}$A.IDBSave("cacheProjects",e.cacheProjects)},getProjects({state:e,dispatch:t,getters:r},i){return new Promise(function(a,s){if(e.userId===0){e.cacheProjects=[],s({msg:"Parameter error"});return}const u=eg("projects",i,e);u.showLoad()&&e.loadProjects++,t("call",{url:"project/lists",data:u.get()}).then(({data:c})=>{e.projectTotal=c.total_all,t("saveProject",c.data),u.save(c).then(h=>t("forgetProject",h)),a(c)}).catch(c=>{console.warn(c),s(c)}).finally(c=>{u.showLoad()&&e.loadProjects--})})},getProjectOne({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}e.projectLoad++,t("call",{url:"project/one",data:{project_id:r}}).then(s=>{setTimeout(()=>{e.projectLoad--},10),t("saveProject",s.data),i(s)}).catch(s=>{console.warn(s),e.projectLoad--,a(s)})})},archivedProject({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/archived",data:{project_id:r}}).then(s=>{t("forgetProject",r),i(s)}).catch(s=>{console.warn(s),t("getProjectOne",r).catch(()=>{}),a(s)})})},removeProject({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/remove",data:{project_id:r}}).then(s=>{t("forgetProject",r),i(s)}).catch(s=>{console.warn(s),t("getProjectOne",r).catch(()=>{}),a(s)})})},exitProject({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/exit",data:{project_id:r}}).then(s=>{t("forgetProject",r),i(s)}).catch(s=>{console.warn(s),t("getProjectOne",r).catch(()=>{}),a(s)})})},saveColumn({state:e,dispatch:t},r){if($A.execMainDispatch("saveColumn",r),$A.isArray(r))r.forEach(i=>{t("saveColumn",i)});else if($A.isJson(r)){const i=e.cacheColumns.findIndex(({id:a})=>a==r.id);i>-1?e.cacheColumns.splice(i,1,Object.assign({},e.cacheColumns[i],r)):e.cacheColumns.push(r),$A.IDBSave("cacheColumns",e.cacheColumns)}},forgetColumn({state:e,dispatch:t},r){$A.execMainDispatch("forgetColumn",r);const i=$A.isArray(r)?r:[r],a=[];i.some(s=>{const u=e.cacheColumns.findIndex(c=>c.id==s);u>-1&&(t("forgetTask",e.cacheTasks.filter(c=>c.column_id==r).map(c=>c.id)),a.push(e.cacheColumns[u].project_id),e.cacheColumns.splice(u,1))}),Array.from(new Set(a)).some(s=>t("getProjectOne",s).catch(()=>{})),$A.IDBSave("cacheColumns",e.cacheColumns)},getColumns({state:e,dispatch:t},r){return new Promise(function(i,a){if(e.userId===0){e.cacheColumns=[],a({msg:"Parameter error"});return}e.projectLoad++,t("call",{url:"project/column/lists",data:{project_id:r}}).then(({data:s})=>{e.projectLoad--;const u=s.data.map(({id:c})=>c);if(e.cacheColumns=e.cacheColumns.filter(c=>c.project_id!=r||u.includes(c.id)),t("saveColumn",s.data),i(s.data),e.cacheColumns.filter(c=>c.project_id==r).length===1){const c=e.cacheProjectParameter.find(h=>h.project_id==r)||{};(typeof c.menuInit=="undefined"||c.menuInit===!1)&&t("toggleProjectParameter",{project_id:r,key:{menuInit:!0,menuType:"table"}})}}).catch(s=>{console.warn(s),e.projectLoad--,a(s)})})},removeColumn({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"project/column/remove",data:{column_id:r}}).then(s=>{t("forgetColumn",r),i(s)}).catch(s=>{console.warn(s),a(s)})})},saveTask({state:e,dispatch:t},r){if($A.execMainDispatch("saveTask",r),$A.isArray(r))r.forEach(i=>{t("saveTask",i)});else if($A.isJson(r)){r._time=$A.Time(),r.flow_item_name&&r.flow_item_name.indexOf("|")!==-1&&([r.flow_item_status,r.flow_item_name]=r.flow_item_name.split("|")),typeof r.archived_at!="undefined"&&e.cacheTasks.filter(s=>s.parent_id==r.id).some(s=>{t("saveTask",Object.assign(s,{archived_at:r.archived_at,archived_userid:r.archived_userid}))});let i={};typeof r.update_marking!="undefined"&&(i=$A.isJson(r.update_marking)?r.update_marking:{},delete r.update_marking);const a=e.cacheTasks.findIndex(({id:s})=>s==r.id);a>-1?e.cacheTasks.splice(a,1,Object.assign({},e.cacheTasks[a],r)):e.cacheTasks.push(r),(i.is_update_maintask===!0||r.parent_id>0&&e.cacheTasks.findIndex(({id:s})=>s==r.parent_id)===-1)&&t("getTaskOne",r.parent_id).catch(()=>{}),i.is_update_project===!0&&t("getProjectOne",r.project_id).catch(()=>{}),i.is_update_content===!0&&t("getTaskContent",r.id),i.is_update_subtask===!0&&t("getTaskForParent",r.id).catch(()=>{}),e.cacheDialogs.some(s=>{if(s.type=="group"&&s.group_type=="task"&&s.group_info.id==r.id){r.name!==void 0&&(s.name=r.name);for(let u in s.group_info)!s.group_info.hasOwnProperty(u)||r[u]===void 0||(s.group_info[u]=r[u])}}),$A.IDBSave("cacheTasks",e.cacheTasks)}},forgetTask({state:e,dispatch:t},r){$A.execMainDispatch("forgetTask",r);const i=($A.isArray(r)?r:[r]).filter(u=>u!=e.taskArchiveView),a=[],s=[];i.some(u=>{const c=e.cacheTasks.findIndex(h=>h.id==u);c>-1&&(e.cacheTasks[c].parent_id&&a.push(e.cacheTasks[c].parent_id),s.push(e.cacheTasks[c].project_id),e.cacheTasks.splice(c,1)),e.cacheTasks.filter(h=>h.parent_id==u).some(h=>{let n=e.cacheTasks.findIndex(p=>p.id==h.id);n>-1&&(s.push(h.project_id),e.cacheTasks.splice(n,1))})}),Array.from(new Set(a)).some(u=>t("getTaskOne",u).catch(()=>{})),Array.from(new Set(s)).some(u=>t("getProjectOne",u).catch(()=>{})),i.includes(e.taskId)&&(e.taskId=0),$A.IDBSave("cacheTasks",e.cacheTasks)},increaseTaskMsgNum({state:e},t){if($A.execMainDispatch("increaseTaskMsgNum",t),!$A.execMainCacheJudge(`increaseTaskMsgNum:${t.id}`)&&t.dialog_id){const r=e.cacheTasks.find(({dialog_id:i})=>i===t.dialog_id);r&&r.msg_num++}},increaseMsgReplyNum({state:e,dispatch:t},r){if($A.execMainDispatch("increaseMsgReplyNum",r),!$A.execMainCacheJudge(`increaseMsgReplyNum:${r.id}`)&&r.reply_id>0){const i=e.dialogMsgs.find(({id:a})=>a==r.reply_id);i&&i.reply_num++}},decrementMsgReplyNum({state:e,dispatch:t},r){if($A.execMainDispatch("decrementMsgReplyNum",r),!$A.execMainCacheJudge(`decrementMsgReplyNum:${r.id}`)&&r.reply_id>0){const i=e.dialogMsgs.find(({id:a})=>a==r.reply_id);i&&i.reply_num--}},getTasks({state:e,dispatch:t},r){const i=[];r===null&&(r={}),$A.isArray(r.taskData)&&(i.push(...r.taskData),delete r.taskData);const a=eg("tasks",r,e);return new Promise(function(s,u){if(e.userId===0){e.cacheTasks=[],u({msg:"Parameter error"});return}r.project_id&&e.projectLoad++,t("call",{url:"project/task/lists",data:a.get()}).then(({data:c})=>{r.project_id&&e.projectLoad--,i.push(...c.data),a.save(c).then(h=>t("forgetTask",h)),c.next_page_url?(r.page=c.current_page+1,r.taskData=i,c.current_page%10===0?$A.modalWarning({content:"\u6570\u636E\u5DF2\u8D85\u8FC7"+c.to+"\u6761\uFF0C\u662F\u5426\u7EE7\u7EED\u52A0\u8F7D\uFF1F",onOk:()=>{t("getTasks",r).then(s).catch(u)},onCancel:()=>{t("saveTask",i),s()}}):t("getTasks",r).then(s).catch(u)):(t("saveTask",i),s())}).catch(c=>{console.warn(c),u(c),r.project_id&&e.projectLoad--})})},getTaskOne({state:e,dispatch:t},r){return new Promise(function(i,a){if(/^\d+$/.test(r)&&(r={task_id:r}),$A.runNum(r.task_id)===0){a({msg:"Parameter error"});return}if($A.isArray(e.taskOneLoad[r.task_id])){e.taskOneLoad[r.task_id].push({resolve:i,reject:a});return}e.taskOneLoad[r.task_id]=[],t("call",{url:"project/task/one",data:r}).then(s=>{t("saveTask",s.data),i(s),e.taskOneLoad[r.task_id].some(u=>{u.resolve(s)})}).catch(s=>{console.warn(s),a(s),e.taskOneLoad[r.task_id].some(u=>{u.reject(s)})}).finally(s=>{delete e.taskOneLoad[r.task_id]})})},getTaskForDashboard({state:e,dispatch:t,getters:r},i){if(window.__getTaskForDashboard&&clearTimeout(window.__getTaskForDashboard),typeof i=="number"){i>-1&&(window.__getTaskForDashboard=setTimeout(a=>t("getTaskForDashboard",null),i));return}e.loadDashboardTasks!==!0&&(e.loadDashboardTasks=!0,t("getTasks",null).finally(a=>{e.loadDashboardTasks=!1}))},getTaskForProject({state:e,dispatch:t},r){return new Promise(function(i,a){t("getTasks",{project_id:r}).then(i).catch(a)})},getTaskForParent({state:e,dispatch:t},r){return new Promise(function(i,a){t("getTasks",{parent_id:r}).then(i).catch(a)})},removeTask({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r.task_id)===0){a({msg:"Parameter error"});return}t("setLoad",{key:`task-${r.task_id}`,delay:300}),t("call",{url:"project/task/remove",data:r}).then(s=>{t("forgetTask",r.task_id),i(s)}).catch(s=>{console.warn(s),t("getTaskOne",r.task_id).catch(()=>{}),a(s)}).finally(s=>{t("cancelLoad",`task-${r.task_id}`)})})},archivedTask({state:e,dispatch:t},r){return new Promise(function(i,a){if(/^\d+$/.test(r)&&(r={task_id:r}),$A.runNum(r.task_id)===0){a({msg:"Parameter error"});return}t("setLoad",{key:`task-${r.task_id}`,delay:300}),t("call",{url:"project/task/archived",data:r}).then(s=>{t("saveTask",s.data),i(s)}).catch(s=>{console.warn(s),t("getTaskOne",r.task_id).catch(()=>{}),a(s)}).finally(s=>{t("cancelLoad",`task-${r.task_id}`)})})},getTaskContent({state:e,dispatch:t},r){$A.runNum(r)!==0&&t("call",{url:"project/task/content",data:{task_id:r}}).then(i=>{t("saveTaskContent",i.data)}).catch(i=>{console.warn(i)})},saveTaskContent({state:e,dispatch:t},r){if($A.execMainDispatch("saveTaskContent",r),$A.isArray(r))r.forEach(i=>{t("saveTaskContent",i)});else if($A.isJson(r)){const i=e.taskContents.findIndex(({task_id:a})=>a==r.task_id);i>-1?e.taskContents.splice(i,1,Object.assign({},e.taskContents[i],r)):e.taskContents.push(r)}},getTaskFiles({state:e,dispatch:t},r){$A.runNum(r)!==0&&t("call",{url:"project/task/files",data:{task_id:r}}).then(i=>{i.data.forEach(a=>{const s=e.taskFiles.findIndex(({id:u})=>u==a.id);s>-1?e.taskFiles.splice(s,1,a):e.taskFiles.push(a)}),t("saveTask",{id:r,file_num:i.data.length})}).catch(i=>{console.warn(i)})},forgetTaskFile({state:e,dispatch:t},r){($A.isArray(r)?r:[r]).some(a=>{const s=e.taskFiles.findIndex(u=>u.id==a);s>-1&&e.taskFiles.splice(s,1)})},openTask({state:e,dispatch:t},r){let i=r;$A.isJson(r)&&(r.parent_id>0?i=r.parent_id:i=r.id),e.taskId=i,i>0&&t("getTaskOne",{task_id:i,archived:"all"}).then(()=>{t("getTaskContent",i),t("getTaskFiles",i),t("getTaskForParent",i).catch(()=>{}),t("saveTaskBrowse",i)}).catch(({msg:a})=>{$A.modalWarning({content:a,onOk:()=>{e.taskId=0}})})},taskAdd({state:e,dispatch:t},r){return new Promise(function(i,a){const s=$A.cloneJSON($A.date2string(r));$A.isArray(s.column_id)&&(s.column_id=s.column_id.find(u=>u)),t("call",{url:"project/task/add",data:s,method:"post"}).then(u=>{t("addTaskSuccess",u.data),i(u)}).catch(u=>{console.warn(u),a(u)})})},taskAddSub({dispatch:e},t){return new Promise(function(r,i){e("call",{url:"project/task/addsub",data:t}).then(a=>{e("addTaskSuccess",a.data),r(a)}).catch(a=>{console.warn(a),i(a)})})},addTaskSuccess({dispatch:e},t){typeof t.new_column!="undefined"&&(e("saveColumn",t.new_column),delete t.new_column),e("saveTask",t),e("getProjectOne",t.project_id).catch(()=>{})},taskUpdate({state:e,dispatch:t},r){return new Promise(function(i,a){t("taskBeforeUpdate",r).then(({post:s})=>{t("setLoad",{key:`task-${s.task_id}`,delay:300}),t("call",{url:"project/task/update",data:s,method:"post"}).then(u=>{t("saveTask",u.data),i(u)}).catch(u=>{console.warn(u),t("getTaskOne",s.task_id).catch(()=>{}),a(u)}).finally(u=>{t("cancelLoad",`task-${s.task_id}`)})}).catch(a)})},taskBeforeUpdate({state:e,dispatch:t},r){return new Promise(function(i,a){let s=$A.cloneJSON($A.date2string(r)),u="\u6E29\u99A8\u63D0\u793A",c=null;if(typeof s.times!="undefined"){r.times[0]===!1&&(c="\u4F60\u786E\u5B9A\u8981\u53D6\u6D88\u4EFB\u52A1\u65F6\u95F4\u5417\uFF1F");const h=e.cacheTasks.find(({id:n})=>n==s.task_id);u=h.parent_id>0?"\u66F4\u65B0\u5B50\u4EFB\u52A1":"\u66F4\u65B0\u4E3B\u4EFB\u52A1",h&&(h.parent_id>0?s.times[0]&&e.cacheTasks.some(n=>{if(n.id!=h.parent_id)return!1;if(!n.end_at)return c="\u4E3B\u4EFB\u52A1\u6CA1\u6709\u8BBE\u7F6E\u65F6\u95F4\uFF0C\u8BBE\u7F6E\u5B50\u4EFB\u52A1\u5C06\u540C\u6B65\u8BBE\u7F6E\u4E3B\u4EFB\u52A1",!0;let p=$A.Date(s.times[0],!0),d=$A.Date(s.times[1],!0),v=$A.Date(n.start_at,!0),m=$A.Date(n.end_at,!0);if(pm)return c="\u65B0\u8BBE\u7F6E\u7684\u5B50\u4EFB\u52A1\u7ED3\u675F\u65F6\u95F4\u5728\u4E3B\u4EFB\u52A1\u65F6\u95F4\u4E4B\u5916\uFF0C\u4FEE\u6539\u540E\u5C06\u540C\u6B65\u4FEE\u6539\u4E3B\u4EFB\u52A1",!0}):e.cacheTasks.some(n=>{if(n.parent_id!=h.id||!n.end_at)return!1;let p=$A.Date(s.times[0],!0),d=$A.Date(s.times[1],!0),v=$A.Date(h.start_at,!0),m=$A.Date(h.end_at,!0),g=$A.Date(n.start_at,!0),y=$A.Date(n.end_at,!0);if(v==g&&m==y)return!1;if(!s.times[0])return c=`\u5B50\u4EFB\u52A1\uFF08${n.name}\uFF09\u5DF2\u8BBE\u7F6E\u65F6\u95F4\uFF0C\u6E05\u9664\u4E3B\u4EFB\u52A1\u65F6\u95F4\u540E\u5C06\u540C\u6B65\u6E05\u9664\u5B50\u4EFB\u52A1\u7684\u65F6\u95F4`,!0;if(p>g)return c=`\u65B0\u8BBE\u7F6E\u7684\u5F00\u59CB\u65F6\u95F4\u5728\u5B50\u4EFB\u52A1\uFF08${n.name}\uFF09\u65F6\u95F4\u4E4B\u5185\uFF0C\u4FEE\u6539\u540E\u5C06\u540C\u6B65\u4FEE\u6539\u5B50\u4EFB\u52A1`,!0;if(d{i({confirm:!0,post:s})},onCancel:()=>{a({msg:!1})}})})},getTaskFlow({state:e,dispatch:t},r){return new Promise(function(i,a){t("call",{url:"project/task/flow",data:{task_id:r}}).then(s=>{let u=e.cacheTasks.find(({id:n})=>n==r),{data:c}=s;c.turns.some(n=>{const p=e.taskFlowItems.findIndex(({id:d})=>d==n.id);p>-1?e.taskFlowItems.splice(p,1,n):e.taskFlowItems.push(n),u&&u.flow_item_id==n.id&&u.flow_item_name!=n.name&&e.cacheTasks.filter(({flow_item_id:d})=>d==n.id).some(d=>{t("saveTask",{id:d.id,flow_item_name:`${n.status}|${n.name}`})})}),delete c.turns;const h=e.taskFlows.findIndex(({task_id:n})=>n==c.task_id);h>-1?e.taskFlows.splice(h,1,c):e.taskFlows.push(c),i(s)}).catch(s=>{console.warn(s),a(s)})})},getTaskPriority({state:e,dispatch:t}){return new Promise(function(r,i){t("call",{url:"system/priority"}).then(a=>{e.taskPriority=a.data,r(a)}).catch(a=>{console.warn(a),i(a)})})},getColumnTemplate({state:e,dispatch:t}){return new Promise(function(r,i){t("call",{url:"system/column/template"}).then(a=>{e.columnTemplate=a.data,r(a)}).catch(a=>{console.warn(a),i(a)})})},saveTaskCompleteTemp({state:e},t){/^\d+$/.test(t)&&!e.taskCompleteTemps.includes(t)&&e.taskCompleteTemps.push(t)},forgetTaskCompleteTemp({state:e},t){t===!0?e.taskCompleteTemps=[]:/^\d+$/.test(t)&&(e.taskCompleteTemps=e.taskCompleteTemps.filter(r=>r!=t))},saveTaskBrowse({state:e},t){const r=e.cacheTaskBrowse.findIndex(({id:i})=>i==t);r>-1&&e.cacheTaskBrowse.splice(r,1),e.cacheTaskBrowse.unshift({id:t,userid:e.userId}),e.cacheTaskBrowse.length>200&&e.cacheTaskBrowse.splice(200),$A.IDBSave("cacheTaskBrowse",e.cacheTaskBrowse)},saveDialog({state:e,dispatch:t},r){if($A.execMainDispatch("saveDialog",r),$A.isArray(r))r.forEach(i=>{t("saveDialog",i)});else if($A.isJson(r)){const i=e.cacheDialogs.findIndex(({id:a})=>a==r.id);if(i>-1){const a=e.cacheDialogs[i],s=r.user_ms,u=a.user_ms||0;s{t("updateDialogLastMsg",i)});else if($A.isJson(r))if(e.cacheDialogs.findIndex(({id:a})=>a==r.dialog_id)>-1){const a={id:r.dialog_id,last_msg:r,last_at:$A.formatDate("Y-m-d H:i:s")};r.mtype=="tag"&&(a.has_tag=!0),r.mtype=="image"&&(a.has_image=!0),r.mtype=="file"&&(a.has_file=!0),r.link&&(a.has_link=!0),t("saveDialog",a)}else t("getDialogOne",r.dialog_id).catch(()=>{})},getDialogs({state:e,dispatch:t,getters:r},i){return new Promise(function(a,s){if(e.userId===0){e.cacheDialogs=[],s({msg:"Parameter error"});return}$A.isJson(i)||(i={}),typeof i.page=="undefined"&&(i.page=1),typeof i.pagesize=="undefined"&&(i.pagesize=20);const u=eg("dialogs",i,e);u.showLoad()&&e.loadDialogs++,t("call",{url:"dialog/lists",data:u.get()}).then(({data:c})=>{t("saveDialog",c.data),u.save(c).then(h=>t("forgetDialog",h)),c.next_page_url&&c.current_page<5?(i.page++,t("getDialogs",i).then(a).catch(s)):a()}).catch(c=>{console.warn(c),s(c)}).finally(c=>{u.showLoad()&&e.loadDialogs--})})},getDialogOne({state:e,dispatch:t},r){return new Promise(function(i,a){if($A.runNum(r)===0){a({msg:"Parameter error"});return}t("call",{url:"dialog/one",data:{dialog_id:r}}).then(s=>{t("saveDialog",s.data),i(s)}).catch(s=>{console.warn(s),a(s)})})},getDialogTodo({state:e,dispatch:t},r){t("call",{url:"dialog/todo",data:{dialog_id:r}}).then(({data:i})=>{$A.arrayLength(i)>0?(t("saveDialog",{id:r,todo_num:$A.arrayLength(i)}),e.dialogTodos=e.dialogTodos.filter(a=>a.dialog_id!=r),t("saveDialogTodo",i)):t("saveDialog",{id:r,todo_num:0})}).catch(console.warn)},openDialog({state:e,dispatch:t},r){return new Promise(i=>{let a;$A.isJson(r)&&(a=r.search_msg_id,r=r.dialog_id),requestAnimationFrame(s=>{e.dialogSearchMsgId=/^\d+$/.test(a)?a:0,e.dialogId=/^\d+$/.test(r)?r:0,i()})})},openDialogUserid({state:e,dispatch:t},r){return new Promise(function(i,a){const s=e.cacheDialogs.find(u=>u.type!=="user"||!u.dialog_user?!1:u.dialog_user.userid===r);if(s){t("openDialog",s.id),i(s);return}t("showSpinner",600),t("call",{url:"dialog/open/user",data:{userid:r}}).then(({data:u})=>{t("saveDialog",u),t("openDialog",u.id),i(u)}).catch(u=>{console.warn(u),a(u)}).finally(u=>{t("hiddenSpinner")})})},forgetDialog({state:e,dispatch:t},r){$A.execMainDispatch("forgetDialog",r);const i=$A.isArray(r)?r:[r];i.some(a=>{const s=e.cacheDialogs.findIndex(u=>u.id==a);s>-1&&(t("forgetDialogMsg",e.dialogMsgs.filter(u=>u.dialog_id==r).map(u=>u.id)),e.cacheDialogs.splice(s,1))}),i.includes(e.dialogId)&&(e.dialogId=0),$A.IDBSave("cacheDialogs",e.cacheDialogs)},saveInDialog({state:e,dispatch:t},r){$A.execMainDispatch("saveInDialog",r);const i=e.dialogIns.findIndex(u=>u.uid==r.uid);i>-1?e.dialogIns.splice(i,1,Object.assign({},e.dialogIns[i],r)):e.dialogIns.push(r);const a=1500,s=30;if(e.dialogHistory=e.dialogHistory.filter(u=>u!=r.dialog_id),e.dialogHistory.push(r.dialog_id),e.dialogMsgs.length>a&&e.dialogHistory.length>s){const u=e.dialogHistory.slice().reverse(),c=[],h=[];u.forEach(n=>{c.lengthp.dialog_id==n)>-1?c.push(n):h.push(n)}),h.length>0&&(e.dialogMsgs=e.dialogMsgs.filter(n=>!h.includes(n.dialog_id)),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)),e.dialogHistory=c}},forgetInDialog({state:e,dispatch:t},r){$A.execMainDispatch("forgetInDialog",r);const i=e.dialogIns.findIndex(a=>a.uid==r);i>-1&&e.dialogIns.splice(i,1)},closeDialog({state:e,dispatch:t},r){if($A.execMainDispatch("closeDialog",r),!/^\d+$/.test(r))return;const i=e.cacheDialogs.find(u=>u.id==r);i&&(i.extra_draft_has=i.extra_draft_content?1:0);const a=50,s=e.dialogMsgs.filter(u=>u.dialog_id==r);if(s.length>a){const u=s.sort((c,h)=>h.id-c.id).splice(a).map(c=>c.id);e.dialogMsgs=e.dialogMsgs.filter(c=>!u.includes(c.id)),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)}},saveDialogTodo({state:e,dispatch:t},r){if($A.execMainDispatch("saveDialogTodo",r),$A.isArray(r))r.forEach(i=>{t("saveDialogTodo",i)});else if($A.isJson(r)){const i=e.dialogTodos.findIndex(a=>a.id==r.id);i>-1?e.dialogTodos.splice(i,1,Object.assign({},e.dialogTodos[i],r)):e.dialogTodos.push(r)}},forgetDialogTodoForMsgId({state:e,dispatch:t},r){$A.execMainDispatch("forgetDialogTodoForMsgId",r);const i=e.dialogTodos.findIndex(a=>a.msg_id==r);i>-1&&e.dialogTodos.splice(i,1)},saveDialogDraft({state:e,dispatch:t},r){e.dialogDraftTimer[r.id]&&clearInterval(e.dialogDraftTimer[r.id]),e.dialogDraftTimer[r.id]=setTimeout(i=>{e.dialogId!=r.id&&(r.extra_draft_has=r.extra_draft_content?1:0),t("saveDialog",r)},r.extra_draft_content?600:0)},saveDialogMsg({state:e,dispatch:t},r){if($A.execMainDispatch("saveDialogMsg",r),$A.isArray(r))r.forEach(i=>{t("saveDialogMsg",i)});else if($A.isJson(r)){const i=e.dialogMsgs.findIndex(({id:s})=>s==r.id);r=Object.assign({},e.dialogMsgs[i],r),i>-1?e.dialogMsgs.splice(i,1,r):e.dialogMsgs.push(r),$A.IDBSave("dialogMsgs",e.dialogMsgs,600);const a=e.cacheDialogs.find(({id:s,last_msg:u})=>s==r.dialog_id&&u&&u.id===r.id);a&&t("saveDialog",{id:r.dialog_id,last_msg:Object.assign({},a.last_msg,r)})}},forgetDialogMsg({state:e,dispatch:t},r){$A.execMainDispatch("forgetDialogMsg",r),($A.isArray(r)?r:[r]).some(a=>{const s=e.dialogMsgs.findIndex(u=>u.id==a);if(s>-1){const u=e.dialogMsgs[s];t("decrementMsgReplyNum",u),t("audioStop",$A.getObject(u,"msg.path")),e.dialogMsgs.splice(s,1),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)}}),t("forgetDialogTodoForMsgId",r)},getDialogMsgs({state:e,dispatch:t,getters:r},i){return new Promise((a,s)=>{let u=d=>{},c=d=>{},h=!1,n=!1;typeof i.save_before!="undefined"&&(u=typeof i.save_before=="function"?i.save_before:d=>{},delete i.save_before),typeof i.save_after!="undefined"&&(c=typeof i.save_after=="function"?i.save_after:d=>{},delete i.save_after),typeof i.clear_before!="undefined"&&(h=typeof i.clear_before=="boolean"?i.clear_before:!1,delete i.clear_before),typeof i.spinner!="undefined"&&(n=i.spinner,delete i.spinner);const p=`msg::${i.dialog_id}-${i.msg_id}-${i.msg_type||""}`;if(r.isLoad(p)){s({msg:"Loading"});return}t("setLoad",p),h&&(e.dialogMsgs=e.dialogMsgs.filter(({dialog_id:d})=>d!==i.dialog_id),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)),t("call",{url:"dialog/msg/list",data:i,spinner:n,complete:d=>t("cancelLoad",p)}).then(d=>{u();const v=d.data;if($A.isJson(v.dialog)){setTimeout(g=>t("saveDialog",v.dialog),10);const m=v.list.map(({id:g})=>g);e.dialogMsgs=e.dialogMsgs.filter(g=>g.dialog_id!=i.dialog_id||m.includes(g.id)||$A.Time(g.created_at)>=v.time),$A.IDBSave("dialogMsgs",e.dialogMsgs,600)}$A.isArray(v.todo)&&(e.dialogTodos=e.dialogTodos.filter(m=>m.dialog_id!=i.dialog_id),t("saveDialogTodo",v.todo)),t("saveDialogMsg",v.list),a(d),c()}).catch(d=>{console.warn(d),s(d)}).finally(d=>{if(i.prev_id){const v=e.dialogMsgs.find(({prev_id:m})=>m==i.prev_id);v&&(v.prev_id=0)}if(i.next_id){const v=e.dialogMsgs.find(({next_id:m})=>m==i.next_id);v&&(v.next_id=0)}})})},dialogMsgRead({state:e,dispatch:t},r){if($A.isJson(r)){if(r.userid==e.userId||r.read_at)return;r.read_at=$A.formatDate(),e.wsReadWaitData[r.id]=r.id}clearTimeout(e.wsReadTimeout),e.wsReadTimeout=setTimeout(i=>{const a=Object.values(e.wsReadWaitData);e.wsReadWaitData={},a.length!==0&&t("call",{url:"dialog/msg/read",data:{id:a.join(",")}}).then(({data:s})=>{t("saveDialog",s)}).catch(s=>{a.some(u=>{e.wsReadWaitData[u]=u})})},50)},dialogMsgMark({state:e,dispatch:t},r){return new Promise((i,a)=>{t("call",{url:"dialog/msg/mark",data:r}).then(s=>{t("saveDialog",s.data),i(s)}).catch(s=>{a(s)})})},setLoad({state:e,dispatch:t},r){if($A.isJson(r)){setTimeout(a=>{t("setLoad",r.key)},r.delay||0);return}const i=e.loads.find(a=>a.key==r);i?i.num++:e.loads.push({key:r,num:1})},cancelLoad({state:e},t){const r=e.loads.find(i=>i.key==t);r?r.num--:e.loads.push({key:t,num:-1})},showSpinner({state:e},t){const r=$A.randomString(6);e.floatSpinnerTimer.push({id:r,timer:setTimeout(i=>{e.floatSpinnerTimer=e.floatSpinnerTimer.filter(a=>a.id!==r),e.floatSpinnerLoad++},typeof t=="number"?t:0)})},hiddenSpinner({state:e}){const t=e.floatSpinnerTimer.shift();t?clearTimeout(t.timer):e.floatSpinnerLoad--},previewImage({state:e},t){$A.isJson(t)||(t={index:0,list:[t]}),e.previewImageIndex=t.index,e.previewImageList=t.list},audioPlay({state:e,dispatch:t},r){const i=document.getElementById("__audio_play_element__");if(i&&(i.pause(),i.src=null,i.parentNode.removeChild(i)),!r||r===e.audioPlaying){e.audioPlaying=null;return}const a=document.createElement("audio");a.id=e.audioPlayId="__audio_play_element__",a.controls=!1,a.loop=!1,a.volume=1,a.src=e.audioPlaying=r,a.onended=s=>{t("audioStop",a.src)},document.body.appendChild(a),a.play().then(s=>{})},audioStop({state:e},t){const r=document.getElementById("__audio_play_element__");!r||(r.src===t||t===!0)&&(r.pause(),r.src=null,r.parentNode.removeChild(r),e.audioPlaying=null)},websocketConnection({state:e,dispatch:t,commit:r}){if(clearTimeout(e.wsTimeout),e.ws&&(e.ws.close(),e.ws=null),e.userId===0)return;let i=$A.apiUrl("../ws");i=i.replace("https://","wss://"),i=i.replace("http://","ws://"),i+=`?action=web&token=${e.userToken}&language=${Qo}`;const a=$A.openLog,s=$A.randomString(16);e.wsRandom=s,e.ws=new WebSocket(i),e.ws.onopen=async u=>{a&&console.log("[WS] Open",u,$A.formatDate()),e.wsOpenNum++,t("websocketSend",{type:"encrypt",data:{type:"pgp",key:(await t("pgpGetLocalKey")).publicKeyB64}})},e.ws.onclose=async u=>{a&&console.log("[WS] Close",u,$A.formatDate()),e.ws=null,clearTimeout(e.wsTimeout),e.wsTimeout=setTimeout(()=>{s===e.wsRandom&&t("websocketConnection")},3e3)},e.ws.onerror=async u=>{a&&console.log("[WS] Error",u,$A.formatDate()),e.ws=null,clearTimeout(e.wsTimeout),e.wsTimeout=setTimeout(()=>{s===e.wsRandom&&t("websocketConnection")},3e3)},e.ws.onmessage=async u=>{a&&console.log("[WS] Message",u);let c=$A.jsonParse(u.data);c.type==="encrypt"&&c.encrypted&&(c=await t("pgpDecryptApi",c.encrypted));const h=$A.formatMsgBasic(c),{type:n,msgId:p}=h;switch(n){case"open":$A.setSessionStorage("userWsFd",h.data.fd);break;case"receipt":typeof e.wsCall[p]=="function"&&e.wsCall[p](h.body,!0),delete e.wsCall[p];break;case"line":t("saveUserOnlineStatus",h.data);break;default:switch(p&&t("websocketSend",{type:"receipt",msgId:p}).catch(d=>{}),e.wsMsg=h,Object.values(e.wsListener).forEach(d=>{if(typeof d=="function")try{d(h)}catch(v){a&&console.log("[WS] Callerr",v)}}),n){case"dialog":(function(d){const{mode:v,silence:m,data:g}=d,{dialog_id:y}=g;switch(v){case"delete":if(t("forgetDialogMsg",g.id),e.cacheDialogs.find(({id:k})=>k==y)){const k={id:y,last_at:g.last_msg&&g.last_msg.created_at,last_msg:g.last_msg};g.update_read?t("call",{url:"dialog/msg/unread",data:{dialog_id:y}}).then(({data:O})=>{t("saveDialog",Object.assign(k,O))}).catch(()=>{}):t("saveDialog",k)}break;case"add":case"chat":if(!e.dialogMsgs.find(({id:k})=>k==g.id)){if(t("increaseTaskMsgNum",g),t("increaseMsgReplyNum",g),v==="chat"||$A.isSubElectron)return;if(g.userid!==e.userId){const k=e.cacheDialogs.find(({id:O})=>O==y);if(k){const O={id:y,unread:k.unread+1,mention:k.mention,user_at:g.user_at,user_ms:g.user_ms};g.mention&&O.mention++,t("saveDialog",O)}}m||nl.Store.set("dialogMsgPush",g)}t("saveDialogMsg",g),t("updateDialogLastMsg",g);break;case"update":case"readed":if(e.dialogMsgs.find(({id:k})=>k==g.id))t("saveDialogMsg",g),typeof g.todo!="undefined"&&t("getDialogTodo",y);else if(v==="readed"){let k=0;const O=setInterval(S=>{k>6&&clearInterval(O),e.dialogMsgs.find(({id:x})=>x==g.id)&&(clearInterval(O),t("saveDialogMsg",g)),k++},500)}break;case"groupAdd":case"groupJoin":case"groupRestore":t("getDialogOne",g.id).catch(()=>{});break;case"groupUpdate":e.cacheDialogs.find(({id:k})=>k==g.id)&&t("saveDialog",g);break;case"groupExit":case"groupDelete":t("forgetDialog",g.id);break}})(h);break;case"project":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"update":case"recovery":t("saveProject",m);break;case"detail":t("getProjectOne",m.id).catch(()=>{}),t("getTaskForProject",m.id).catch(()=>{});break;case"delete":case"archived":t("forgetProject",m.id);break;case"sort":t("getTaskForProject",m.id).catch(()=>{});break}})(h);break;case"projectColumn":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"update":t("saveColumn",m);break;case"delete":t("forgetColumn",m.id);break}})(h);break;case"projectTask":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"restore":t("addTaskSuccess",m);break;case"update":case"archived":case"recovery":t("saveTask",m);break;case"dialog":t("saveTask",m),t("getDialogOne",m.dialog_id).catch(()=>{});break;case"upload":t("getTaskFiles",m.task_id);break;case"filedelete":t("forgetTaskFile",m.id);break;case"delete":t("forgetTask",m.id);break}})(h);break;case"file":(function(d){const{action:v,data:m}=d;switch(v){case"add":case"update":t("saveFile",m);break;case"delete":t("forgetFile",m.id);break}})(h);break}break}}},websocketSend({state:e},t){return new Promise((r,i)=>{var h;if(!$A.isJson(t)){i();return}const{type:a,data:s,callback:u}=t;let c;if(!e.ws){typeof u=="function"&&u(null,!1),i();return}typeof u=="function"&&(c=$A.randomString(16),e.wsCall[c]=u);try{(h=e.ws)==null||h.send(JSON.stringify({type:a,msgId:c,data:s})),r()}catch(n){typeof u=="function"&&u(null,!1),i(n)}})},websocketPath({state:e,dispatch:t},r){clearTimeout(e.wsPathTimeout),e.wsPathValue=r,e.wsPathTimeout=setTimeout(()=>{e.wsPathValue==r&&t("websocketSend",{type:"path",data:{path:r}}).catch(i=>{})},1e3)},websocketMsgListener({state:e},t){const{name:r,callback:i}=t;typeof i=="function"?e.wsListener[r]=i:e.wsListener[r]&&delete e.wsListener[r]},websocketClose({state:e}){e.ws&&(e.ws.close(),e.ws=null)},pgpGenerate({state:e}){return new Promise(async t=>{const r=await gW({type:"ecc",curve:"curve25519",passphrase:e.clientId,userIDs:[{name:"doo",email:"admin@admin.com"}]});r.publicKeyB64=EW(r.publicKey.replace(/\s*-----(BEGIN|END) PGP PUBLIC KEY BLOCK-----\s*/g,"")),t(r)})},pgpGetLocalKey({state:e,dispatch:t}){return new Promise(async r=>{if(e.localKeyPair.privateKey)return r(e.localKeyPair);for(;e.localKeyLock===!0;)await new Promise(i=>setTimeout(i,100));if(e.localKeyPair.privateKey)return r(e.localKeyPair);e.localKeyLock=!0,e.localKeyPair=await t("pgpGenerate"),e.localKeyLock=!1,r(e.localKeyPair)})},pgpEncrypt({state:e,dispatch:t},r){return new Promise(async i=>{$A.isJson(r)||(r={message:r});const a=r.message||r.text,s=r.publicKey||r.key||(await t("pgpGetLocalKey")).publicKey,u=await dW({armoredKey:s}),c=await bW({message:await _W({text:a}),encryptionKeys:u});i(c)})},pgpDecrypt({state:e,dispatch:t},r){return new Promise(async i=>{$A.isJson(r)||(r={encrypted:r});const a=r.encrypted||r.text,s=r.privateKey||r.key||(await t("pgpGetLocalKey")).privateKey,u=await yW({privateKey:await fW({armoredKey:s}),passphrase:r.passphrase||e.clientId}),{data:c}=await wW({message:await mW({armoredMessage:a}),decryptionKeys:u});i(c)})},pgpEncryptApi({state:e,dispatch:t},r){return new Promise(i=>{r=$A.jsonStringify(r),t("pgpEncrypt",{message:r,publicKey:e.apiKeyData.key}).then(a=>{i(a.replace(/\s*-----(BEGIN|END) PGP MESSAGE-----\s*/g,""))})})},pgpDecryptApi({state:e,dispatch:t},r){return new Promise(i=>{t("pgpDecrypt",{encrypted:`-----BEGIN PGP MESSAGE----- `+r+` -----END PGP MESSAGE-----`}).then(a=>{i($A.jsonParse(a))})})}},OW={};on.use(g0);var g4=new g0.Store({state:Ej,getters:Dj,mutations:OW,actions:DW}),PW={computed:{...Ls(["windowWidth","windowHeight","windowActive","windowScrollY","windowLarge","windowSmall","userId","userToken"])}};var TW=function(){var e=this,t=e.$createElement;return e._self._c,e._e()},AW=[];const MW={name:"PageTitle",props:{title:{type:[String,Number],default:""}},data(){return{pagePath:""}},activated(){this.updateTitle()},watch:{title:{handler(){this.initTitle()},immediate:!0}},methods:{initTitle(){this.pagePath=this.$route.path,this.updateTitle()},updateTitle(){if(this.pagePath=="")return;let e=this.title,{title:t}=document;e!==t&&this.pagePath===this.$route.path&&this.setPageTile(e)},setPageTile(e){document.title=e}}},y4={};var IW=ri(MW,TW,AW,!1,$W,null,null,null);function $W(e){for(let t in y4)this[t]=y4[t]}var RW=function(){return IW.exports}(),LW=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ETooltip",{attrs:{disabled:e.windowSmall||e.$isEEUiApp||e.content=="",content:e.content}},[e.type==="svg"?r("svg",{staticClass:"common-loading",attrs:{viewBox:"25 25 50 50"}},[r("circle",{staticClass:"common-path",attrs:{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"5","stroke-miterlimit":"10"}})]):r("div",{staticClass:"common-pureing"})])},NW=[];const BW={name:"Loading",props:{type:{type:String,default:"svg"},content:{type:[String,Number],default:""}}},b4={};var FW=ri(BW,LW,NW,!1,zW,null,null,null);function zW(e){for(let t in b4)this[t]=b4[t]}var jW=function(){return FW.exports}(),UW=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ETooltip",{attrs:{content:e.tipText,placement:e.placement,effect:e.tooltipTheme,delay:e.delay,disabled:e.windowSmall||e.$isEEUiApp||!e.showTooltip||e.disabled,"max-width":e.tooltipMaxWidth,transfer:""}},[r("span",{ref:"content",staticClass:"common-auto-tip",on:{mouseenter:e.handleTooltipIn,click:e.onClick}},[e.existSlot?[e._t("default")]:[e._v(e._s(e.content))]],2)])},VW=[];const WW={name:"AutoTip",props:{content:{type:[String,Number],default:""},placement:{default:"bottom"},tooltipTheme:{default:"dark"},tooltipMaxWidth:{type:[String,Number],default:300},delay:{type:Number,default:100},disabled:{type:Boolean,default:!1}},data(){return{showTooltip:!1,tooltipContent:""}},computed:{tipText(){const{content:e,tooltipContent:t}=this;return e||t||""},existSlot(){return!(typeof this.$slots.default=="undefined"||this.$slots.default.length<1)}},methods:{handleTooltipIn(){const e=this.$refs.content;if(!e)return;let t=document.createRange();t.setStart(e,0),t.setEnd(e,e.childNodes.length||0);const r=t.getBoundingClientRect().width;if(this.showTooltip=Math.floor(r)>Math.floor(e.offsetWidth),this.showTooltip&&this.existSlot){const i=this.$slots.default.map(a=>a.text?a.text:a.elm.innerText?a.elm.innerText:"");this.tooltipContent=i.join("")}t=null},onClick(e){this.$emit("on-click",e)}}},w4={};var KW=ri(WW,UW,VW,!1,HW,null,null,null);function HW(e){for(let t in w4)this[t]=w4[t]}var GW=function(){return KW.exports}(),YW=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"common-tag-input",class:{focus:e.isFocus},on:{paste:function(i){return e.pasteText(i)},click:e.focus}},[e._l(e.disSource,function(i,a){return r("div",{staticClass:"tags-item"},[r("span",{staticClass:"tags-content",on:{click:function(s){s.stopPropagation()}}},[e._v(e._s(i))]),r("span",{staticClass:"tags-del",on:{click:function(s){return s.stopPropagation(),e.delTag(a)}}},[e._v("\xD7")])])}),r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.content,expression:"content"}],ref:"myTextarea",staticClass:"tags-input",style:{minWidth:e.minWidth+"px"},attrs:{placeholder:e.tis||e.placeholderText,enterkeyhint:e.enterkeyhint,disabled:e.disabled,readonly:e.readonly},domProps:{value:e.content},on:{keydown:[function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"enter",13,i.key,"Enter")?null:e.downEnter(i)},function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"delete",[8,46],i.key,["Backspace","Delete","Del"])?null:e.delTag(!1)}],keyup:e.onKeyup,focus:e.onFocus,blur:e.onBlur,input:function(i){i.target.composing||(e.content=i.target.value)}}}),e._v(" "),e.showPlaceholder||e.tis!==""?r("span",{ref:"myPlaceholder",staticClass:"tags-placeholder"},[e._v(e._s(e.tis||e.placeholderText))]):e._e()],2)},XW=[];const JW={name:"TagInput",props:{value:{default:""},cut:{default:","},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},placeholder:{default:""},max:{default:0},enterkeyhint:{type:String,default:""}},data(){var t;const e=[];return(t=this.value)==null||t.split(",").forEach(r=>{r&&e.push(r)}),{minWidth:80,tis:"",tisTimeout:null,showPlaceholder:!0,content:"",disSource:e,isFocus:!1}},mounted(){this.wayMinWidth()},watch:{placeholder(){this.wayMinWidth()},value(e){let t=[];e==null||e.split(",").forEach(r=>{r&&t.push(r)}),this.disSource=t},disSource(e){let t="";e.forEach(r=>{t!=""&&(t+=this.cut),t+=r}),this.$emit("input",t),this.$emit("on-change")}},computed:{placeholderText(){return this.disSource.length>0?"":this.placeholder}},methods:{focus(e){const t=this.$refs.myTextarea;t.focus(e);const{cursor:r}=e||{};if(r){const i=t.value.length;switch(r){case"start":t.setSelectionRange(0,0);break;case"end":t.setSelectionRange(i,i);break;default:t.setSelectionRange(0,i)}}},wayMinWidth(){this.showPlaceholder=!0,this.$nextTick(()=>{this.$refs.myPlaceholder&&(this.minWidth=Math.max(this.minWidth,this.$refs.myPlaceholder.offsetWidth)),setTimeout(()=>{try{this.minWidth=Math.max(this.minWidth,this.$refs.myPlaceholder.offsetWidth),this.showPlaceholder=!1}catch{}$A(this.$refs.myPlaceholder).is(":visible")||this.wayMinWidth()},500)})},pasteText(e){e.preventDefault();let t=(e.clipboardData||window.clipboardData).getData("text");this.addTag(!1,t)},downEnter(e){e.preventDefault()},onFocus(e){this.isFocus=!0,this.$emit("on-focus",e)},onBlur(e){this.isFocus=!1,this.addTag(!1,this.content),this.$emit("on-blur",e)},onKeyup(e){this.addTag(e,this.content),this.$emit("on-keyup",e),e.keyCode===13&&this.$nextTick(()=>{this.$emit("on-enter",e)})},addTag(e,t){if(e===!1||e.keyCode===13){t.trim()!=""&&this.disSource.indexOf(t.trim())===-1&&this.disSource.push(t.trim()),this.content="";return}if(this.max>0&&this.disSource.length>=this.max){this.content="",this.tis="\u6700\u591A\u53EA\u80FD\u6DFB\u52A0"+this.max+"\u4E2A",clearInterval(this.tisTimeout),this.tisTimeout=setTimeout(()=>{this.tis=""},2e3);return}let r=t.trim(),i=r.length-this.cut.length;r!=""&&r.substring(i)===this.cut&&(r=r.substring(0,i),r.trim()!=""&&this.disSource.indexOf(r.trim())===-1&&this.disSource.push(r.trim()),this.content="")},delTag(e){if(e===!1){if(this.content!=="")return;e=this.disSource.length-1}this.disSource.splice(e,1),this.focus()}}},C4={};var ZW=ri(JW,YW,XW,!1,QW,null,null,null);function QW(e){for(let t in C4)this[t]=C4[t]}var qW=function(){return ZW.exports}(),HD={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(xs,function(){function r(){var g=!1;return typeof navigator!="undefined"&&(g=navigator.userAgent.match(/Trident/)||navigator.userAgent.match(/Edge/)),g}var i=0,a=["ms","moz","webkit","o"];typeof window=="undefined"&&(xs.window={});for(var s=0;sli[data-v-7c98e74e]{float:left;position:relative;cursor:pointer;margin:0;line-height:normal;min-height:auto}.markdown .markdown-toolbars>li[data-v-7c98e74e]:after{display:block;content:attr(name);position:absolute;z-index:999999999999;top:32px;left:20px;background:#000;color:#fff;white-space:nowrap;font-size:12px;line-height:28px;padding:0 6px;transition:all .3s .1s;transform:scale(0);opacity:0;transform-origin:top;border-radius:2px}.markdown .markdown-toolbars>li[data-v-7c98e74e]:hover:after{transform:scale(1);opacity:1}.markdown .markdown-toolbars>li[data-v-7c98e74e]:last-child:after{right:20%;left:auto}.markdown .markdown-toolbars>li .title[data-v-7c98e74e]{font-size:16px!important}.markdown .markdown-toolbars>li .icon-svg[data-v-7c98e74e]{display:flex;align-items:center;justify-content:center}.markdown .markdown-toolbars>li.right[data-v-7c98e74e]{float:right}.markdown .markdown-toolbars>li.right>ul[data-v-7c98e74e]{list-style:none}.markdown .markdown-toolbars>li.right>ul>li[data-v-7c98e74e]{line-height:normal;float:left}.markdown .markdown-toolbars span[data-v-7c98e74e]{font-size:18px;color:#999;cursor:pointer;display:block;width:30px;height:30px;border-radius:3px;line-height:30px;text-align:center}.markdown .markdown-toolbars span[data-v-7c98e74e]:hover{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .title[data-v-7c98e74e]{padding-left:4px;padding-right:10px}.markdown .markdown-toolbars li:last-child span[data-v-7c98e74e]{font-size:20px!important;margin-right:4px}.markdown .markdown-toolbars .shift-theme[data-v-7c98e74e],.markdown .markdown-toolbars .export-file[data-v-7c98e74e]{height:46px;position:relative;display:flex;justify-content:center;align-items:center}.markdown .markdown-toolbars .shift-theme span[data-v-7c98e74e],.markdown .markdown-toolbars .export-file span[data-v-7c98e74e]{padding:0 8px;transition:all .3s;font-size:18px;display:inline-block;line-height:32px}.markdown .markdown-toolbars .shift-theme span[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file span[data-v-7c98e74e]:hover{color:#0084ff;background:#f7f7f7;border-radius:3px}.markdown .markdown-toolbars .shift-theme ul[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul[data-v-7c98e74e]{transform:scale(0);transition:all .3s;left:-50%;top:40px;width:160px;transform-origin:top center;list-style:none;margin:0;padding:6px 0;box-sizing:border-box;border:1px solid #d9d9d9;background:#fff;border-radius:4px;position:absolute;z-index:9999999;box-shadow:0 2px 8px #0000001a}.markdown .markdown-toolbars .shift-theme ul.active[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul.active[data-v-7c98e74e]{opacity:1;transform:scaleY(1)}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]{line-height:30px;padding:0 12px;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center;color:#262626}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-7c98e74e]{font-size:14px;display:block;height:30px;width:30px;line-height:30px;overflow:hidden}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-7c98e74e]:hover{color:#262626}.markdown .markdown-toolbars .shift-theme ul li i[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li i[data-v-7c98e74e]{font-size:13px;display:block;font-style:normal;flex:1;white-space:normal}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e]:last-child,.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]:last-child{border-bottom:0}.markdown .markdown-toolbars .shift-theme ul li:last-child .iconfont[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li:last-child .iconfont[data-v-7c98e74e]{font-size:14px!important;margin:0!important}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]:hover{background:#f7f7f7}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li.disabled[data-v-7c98e74e]{cursor:not-allowed;color:#bbbec4}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li.disabled[data-v-7c98e74e]:hover{background:transparent}.markdown .markdown-toolbars .import-file[data-v-7c98e74e]{position:relative}.markdown .markdown-toolbars .import-file input[data-v-7c98e74e]{position:absolute;z-index:9999;left:0;top:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.markdown .markdown-toolbars .import-file:hover span[data-v-7c98e74e]{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .import-file[data-v-7c98e74e]:hover:after{transform:scale(1);opacity:1}.markdown .close-preview[data-v-7c98e74e]{position:absolute;z-index:999;right:0;top:0;height:40px;width:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;color:#262626}.markdown .close-preview span[data-v-7c98e74e]{font-size:22px}.markdown .close-preview span[data-v-7c98e74e]:hover{color:#262626}.markdown .markdown-content[data-v-7c98e74e]{flex:1;width:100%;display:flex;justify-content:space-between;position:relative;overflow:hidden;padding-bottom:0}.markdown .markdown-content .markdown-editor[data-v-7c98e74e]{flex:1;height:100%;position:relative;margin:0!important;overflow:hidden;overflow-y:scroll;display:flex;justify-content:space-between;background:#2d2d2d}.markdown .markdown-content .markdown-editor[data-v-7c98e74e]::-webkit-scrollbar{display:none}.markdown .markdown-content .markdown-editor .index[data-v-7c98e74e]{background:#272727;min-height:100%;width:36px;line-height:22px;padding:12px 0}.markdown .markdown-content .markdown-editor .index li[data-v-7c98e74e]{background:#272727;color:#ccc;font-size:14px;text-align:center;font-family:Consolas}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]{width:100%;min-height:100%;outline:none;border:0;background:#2d2d2d;line-height:22px;caret-color:#ccc;color:#669acc;font-size:14px;font-family:Consolas;resize:none;padding:12px 8px;overflow:hidden;white-space:nowrap;overflow-x:auto}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]::-moz-selection{background:#999;color:#0084ff}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]::selection{background:#999;color:#0084ff}.markdown .markdown-content .codemirror[data-v-7c98e74e]{flex:1;width:0;height:100%;overflow:auto}.markdown .markdown-content .markdown-preview[data-v-7c98e74e]{flex:1;width:0;height:100%}.markdown ul.toc-anchor[data-v-7c98e74e]{max-width:260px;min-width:150px;background-color:#f6f8fa;border-left:2px solid #dcdfe6;overflow:auto}.markdown ul.toc-anchor li.toc-anchor-item[data-v-7c98e74e]{cursor:pointer;padding:6px 16px;font-size:12px;line-height:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.markdown ul.toc-anchor li.toc-anchor-item span[data-v-7c98e74e]{color:#333;opacity:.8}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-2[data-v-7c98e74e]{padding-left:16px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-3[data-v-7c98e74e]{padding-left:32px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-4[data-v-7c98e74e]{padding-left:48px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-5[data-v-7c98e74e]{padding-left:64px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-action[data-v-7c98e74e]{color:#2b85e4;opacity:1}.markdown ul.toc-anchor li.toc-anchor-item[data-v-7c98e74e]:first-child{padding-top:16px}.markdown ul.toc-anchor li.toc-anchor-item:hover span[data-v-7c98e74e]{opacity:1}.insert-img-model[data-v-7c98e74e]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(0,0,0,.3);padding-top:12%;transition:all .3s;opacity:0;display:none}.insert-img-model .model-container[data-v-7c98e74e]{background:#fff;width:480px;margin:0 auto;border-radius:4px;transition:all .3s;transform:scale(0);transform-origin:center}.insert-img-model .model-container .model-head[data-v-7c98e74e]{line-height:32px;padding:0 12px;background:#f7f7f7;border-radius:4px 4px 0 0;box-shadow:0 1px 2px #d9d9d9;display:flex;justify-content:space-between}.insert-img-model .model-container .model-head span[data-v-7c98e74e]:nth-of-type(2){font-size:14px;padding-left:12px;cursor:pointer}.insert-img-model .model-container .model-head span[data-v-7c98e74e]:nth-of-type(2):hover{color:#ed3f14}.insert-img-model .model-container .model-content[data-v-7c98e74e]{padding:0 12px 20px;min-height:180px}.insert-img-model .model-container .model-content .insert-url[data-v-7c98e74e]{padding:42px 0;display:flex;justify-content:space-between;align-items:center}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]{display:block;border:1px solid #ccc;font-size:14px;padding:4px 8px;line-height:24px;color:#333;background:#fff;border-radius:4px;writing-mode:horizontal-tb;text-rendering:auto;transition:box-shadow 2s;flex:1}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]:focus{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]::-moz-placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]::placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url a[data-v-7c98e74e]{display:block;background:#1890ff;color:#fff;line-height:32px;height:32px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:20px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-content .insert-url a[data-v-7c98e74e]:hover{background:#0169af}.insert-img-model .model-container .model-content .insert-local[data-v-7c98e74e]{height:120px;border:1px dashed #d9d9d9;border-radius:4px;transition:all .3s;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;cursor:pointer}.insert-img-model .model-container .model-content .insert-local span[data-v-7c98e74e]{font-size:40px;color:#d9d9d9;line-height:50px;transition:all .3s}.insert-img-model .model-container .model-content .insert-local p[data-v-7c98e74e]{font-size:14px;color:#262626;transition:all .3s}.insert-img-model .model-container .model-content .insert-local[data-v-7c98e74e]:hover{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-local:hover span[data-v-7c98e74e],.insert-img-model .model-container .model-content .insert-local:hover p[data-v-7c98e74e]{color:#1890ff}.insert-img-model .model-container .model-content .insert-local input[data-v-7c98e74e]{display:block;position:absolute;width:100%;height:100%;opacity:0}.insert-img-model .model-container .model-foot[data-v-7c98e74e]{display:flex;justify-content:flex-end;align-items:center;padding:10px 12px;display:none}.insert-img-model .model-container .model-foot a[data-v-7c98e74e]{display:block;background:#f7f7f7;color:#262626;line-height:26px;height:26px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:12px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-foot a[data-v-7c98e74e]:hover{background:#d9d9d9}.insert-img-model .model-container .model-foot a.ok[data-v-7c98e74e]{background:#1890ff;color:#fff;border-color:#1890ff}.insert-img-model .model-container .model-foot a.ok[data-v-7c98e74e]:hover{background:#0169af}.insert-img-model.active[data-v-7c98e74e]{opacity:1;display:block}.insert-img-model.active .model-container[data-v-7c98e74e]{transform:scale(1)}ul.shift[data-v-7c98e74e]{padding:6px 12px;display:flex;align-items:center}ul.shift span[data-v-7c98e74e]{font-size:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift span.iconfont[data-v-7c98e74e]{font-size:14px}ul.shift label[data-v-7c98e74e]{font-size:12px;padding-right:10px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift input[type=radio][data-v-7c98e74e],ul.shift label[data-v-7c98e74e]{transition:all .6s ease;box-sizing:border-box}ul.shift input[type=radio]+label[data-v-7c98e74e]:before{content:"\a0";display:inline-block;vertical-align:middle;margin-right:4px;width:8px;height:8px;border-radius:50%;border:1px solid #292d35;padding:2px}ul.shift input[type=radio]:checked+label[data-v-7c98e74e]:before{background-color:#292d35;background-clip:content-box;padding:2px}ul.shift input[type=radio][data-v-7c98e74e]{position:absolute;clip:rect(0,0,0,0)}ul.shift input[type=radio]:checked+label[data-v-7c98e74e]{color:#292d35}[data-v-7c98e74e] .markdown-preview{flex:1;overflow:hidden;overflow-y:scroll;background:#fff;padding:20px 12px!important;font-family:Tahoma For Number,Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}[data-v-7c98e74e] .markdown-preview *{margin:0;padding:0;box-sizing:border-box}[data-v-7c98e74e] .markdown-preview>div{padding:10px 12px!important;background:#fff}[data-v-7c98e74e] .markdown-preview>div::-webkit-scrollbar{display:none}[data-v-7c98e74e] .markdown-preview::-webkit-scrollbar{display:none}[data-v-7c98e74e] .markdown-preview em{font-style:oblique}[data-v-7c98e74e] .markdown-preview ul{list-style:none;padding:0 20px}[data-v-7c98e74e] .markdown-preview ul li{position:relative}[data-v-7c98e74e] .markdown-preview ul li:after{display:block;content:"";width:8px;height:8px;border-radius:50%;position:absolute;z-index:99;top:12px;left:-16px;background:#262626}[data-v-7c98e74e] .markdown-preview ol,[data-v-7c98e74e] .markdown-preview ul{margin:10px 0}[data-v-7c98e74e] .markdown-preview ol li,[data-v-7c98e74e] .markdown-preview ul li{font-size:14px!important;color:#262626;line-height:22px!important;padding:4px 0 4px 6px;min-height:28px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox],[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]{position:relative;cursor:pointer;overflow:visible;position:absolute;left:-14px;top:5px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox]:before,[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]:before{font-family:iconfont!important;color:#999;display:block;width:18px;height:18px;position:absolute;content:"\e684";top:0px;left:-4px;z-index:999999;background-position:center;background:#fff;font-size:18px;text-align:center;line-height:18px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox]:checked:before,[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]:checked:before{content:"\e683"}[data-v-7c98e74e] .markdown-preview ol.toc-anchor,[data-v-7c98e74e] .markdown-preview ul.toc-anchor{margin:0;padding:0}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item{cursor:pointer;padding:4px 0;font-size:13px!important;line-height:16px!important;min-height:auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span{color:#2b85e4;opacity:.9}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-2,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-2{padding-left:16px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-3,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-3{padding-left:32px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-4,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-4{padding-left:48px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-5,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-5{padding-left:64px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item:last-child,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item:last-child{padding-bottom:6px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item:hover span,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item:hover span{opacity:1}[data-v-7c98e74e] .markdown-preview ol{list-style-type:decimal;padding-left:20px}[data-v-7c98e74e] .markdown-preview ol li{list-style:decimal}[data-v-7c98e74e] .markdown-preview hr{color:#d9d9d9;height:1px;border:0;border-top:1px solid #d9d9d9;margin:20px 0;padding:0}[data-v-7c98e74e] .markdown-preview del,[data-v-7c98e74e] .markdown-preview em,[data-v-7c98e74e] .markdown-preview strong{display:inline-block}[data-v-7c98e74e] .markdown-preview blockquote{position:relative;background:#f7f7f7;padding:6px 12px;border-left:5px solid #d9d9d9;border-radius:2px;margin:8px 0}[data-v-7c98e74e] .markdown-preview h1,[data-v-7c98e74e] .markdown-preview h2,[data-v-7c98e74e] .markdown-preview h3,[data-v-7c98e74e] .markdown-preview h4,[data-v-7c98e74e] .markdown-preview h5,[data-v-7c98e74e] .markdown-preview h6{color:#262626}[data-v-7c98e74e] .markdown-preview h1{font-size:28px;border-bottom:1px solid #d9d9d9}[data-v-7c98e74e] .markdown-preview h2{font-size:24px}[data-v-7c98e74e] .markdown-preview h3{font-size:18px}[data-v-7c98e74e] .markdown-preview h4{font-size:16px}[data-v-7c98e74e] .markdown-preview h5{font-size:14px}[data-v-7c98e74e] .markdown-preview h6{font-size:12px}[data-v-7c98e74e] .markdown-preview h1,[data-v-7c98e74e] .markdown-preview h2,[data-v-7c98e74e] .markdown-preview h3,[data-v-7c98e74e] .markdown-preview h4,[data-v-7c98e74e] .markdown-preview h5,[data-v-7c98e74e] .markdown-preview h6{padding:8px 0;font-weight:600}[data-v-7c98e74e] .markdown-preview p{font-size:14px!important;color:#262626;margin-bottom:8px;line-height:22px}[data-v-7c98e74e] .markdown-preview img{display:block;max-width:100%;margin:20px 0;cursor:pointer}[data-v-7c98e74e] .markdown-preview table{width:100%;border:1px solid #d9d9d9;border-bottom:0;background:#fff;border-spacing:0;border-collapse:collapse;margin:20px 0}[data-v-7c98e74e] .markdown-preview table tr{transition:background .1s}[data-v-7c98e74e] .markdown-preview table tr td,[data-v-7c98e74e] .markdown-preview table tr th{padding:4px 8px;font-size:14px;line-height:24px;color:#333;border-bottom:1px solid #d9d9d9;cursor:pointer}[data-v-7c98e74e] .markdown-preview table th{background:#f8f8f9;text-align:left;font-weight:700}[data-v-7c98e74e] .markdown-preview table tr:nth-of-type(even) td{background:#fafafa}[data-v-7c98e74e] .markdown-preview table tr:hover td{background:#f5f5f5}[data-v-7c98e74e] .markdown-preview table td,[data-v-7c98e74e] .markdown-preview table th{border:1px solid #d9d9d9;word-break:break-all}[data-v-7c98e74e] .markdown-preview input[type=checkbox]{display:inline-block;border-radius:0;margin-right:8px}[data-v-7c98e74e] .markdown-preview a{text-decoration:none;color:#1890ff;font-size:14px;line-height:22px}[data-v-7c98e74e] .markdown-preview .code-block{position:relative;padding:0!important}[data-v-7c98e74e] .markdown-preview .code-block .copy-code{position:absolute;z-index:999;top:5px;right:10px;font-size:12px;color:#d9d9d9;line-height:20px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s;opacity:0}[data-v-7c98e74e] .markdown-preview .code-block .copy-code:hover{color:#1890ff}[data-v-7c98e74e] .markdown-preview .code-block:hover .copy-code{opacity:1}.preview-img[data-v-7c98e74e]{position:fixed;width:100vw;height:100vh;z-index:99999999;left:0;top:0;background:rgba(0,0,0,.5);display:none;opacity:0;transition:opacity .3s .1s;justify-content:center;align-items:center}.preview-img .close[data-v-7c98e74e]{position:absolute;right:0;top:0;color:#fff;padding:10px;font-size:20px;cursor:pointer}.preview-img img[data-v-7c98e74e]{display:block}.preview-img img.vertical[data-v-7c98e74e]{height:80%;width:auto}.preview-img img.horizontal[data-v-7c98e74e]{width:80%;height:auto}.preview-img.active[data-v-7c98e74e]{display:flex;opacity:1}[data-v-7c98e74e] .markdown-theme-light pre{font-size:14px!important;line-height:1.6!important;word-break:break-all;word-wrap:break-word;border:0!important;background:#f7f8fb!important;padding:20px 10px!important;border-radius:4px!important;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-7c98e74e] .markdown-theme-light pre code{font-family:Consolas!important;font-size:13px;line-height:22px!important;color:#444}[data-v-7c98e74e] .markdown-theme-light .hljs{display:block;overflow-x:auto;color:#525252;padding:15px;-webkit-text-size-adjust:none}[data-v-7c98e74e] .markdown-theme-light .hljs-doctype{color:#999}[data-v-7c98e74e] .markdown-theme-light .hljs-tag{color:#3e76f6}[data-v-7c98e74e] .markdown-theme-light .hljs-attribute{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .hljs-value{color:#42b983}[data-v-7c98e74e] .markdown-theme-light .hljs-keyword{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .hljs-string{color:#42b983}[data-v-7c98e74e] .markdown-theme-light .hljs-comment{color:#b3b3b3}[data-v-7c98e74e] .markdown-theme-light .hljs-operator .hljs-comment{color:#525252}[data-v-7c98e74e] .markdown-theme-light .hljs-regexp{color:#af7dff}[data-v-7c98e74e] .markdown-theme-light .hljs-built_in{color:#2db7f5}[data-v-7c98e74e] .markdown-theme-light .css .hljs-class{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .css .hljs-number,[data-v-7c98e74e] .markdown-theme-light .javascript .hljs-number{color:#fc1e70}[data-v-7c98e74e] .markdown-theme-light .css .hljs-attribute{color:#af7dff}[data-v-7c98e74e] .markdown-theme-light .css .hljs-important{color:red}[data-v-7c98e74e] .markdown-theme-light .actionscript .hljs-literal,[data-v-7c98e74e] .markdown-theme-light .javascript .hljs-literal{color:#fc1e70}[data-v-7c98e74e] .markdown-theme-light pre{padding:0;margin:0;background:#f7f7f7!important}[data-v-7c98e74e] .markdown-theme-light code{display:inline-block;background:#f7f7f7;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;margin:0 3px;padding:1px 5px;border-radius:3px;color:#666;border:1px solid #eee}[data-v-7c98e74e] .markdown-theme-light pre code{display:inline;margin:0;padding:0;border:none;background:transparent}[data-v-7c98e74e] .markdown-theme-light pre.bg code{background:#f7f7f7}[data-v-7c98e74e] .markdown-theme-dark pre{display:block;padding:20px 10px!important;border-radius:4px;margin:20px 0!important;background:#1e1e1e;color:#dcdcdc;overflow-y:hidden!important;overflow-x:auto!important;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-7c98e74e] .markdown-theme-dark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-7c98e74e] .markdown-theme-dark code{padding:0!important;margin:0!important}[data-v-7c98e74e] .markdown-theme-dark .hljs-literal,[data-v-7c98e74e] .markdown-theme-dark .hljs-name,[data-v-7c98e74e] .markdown-theme-dark .hljs-symbol{color:#659bd1}[data-v-7c98e74e] .markdown-theme-dark .hljs-keyword{color:#bc89bd}[data-v-7c98e74e] .markdown-theme-dark .hljs-link{color:#569cd6;text-decoration:underline}[data-v-7c98e74e] .markdown-theme-dark .hljs-built_in,[data-v-7c98e74e] .markdown-theme-dark .hljs-type{color:#4ec9b0}[data-v-7c98e74e] .markdown-theme-dark .hljs-class,[data-v-7c98e74e] .markdown-theme-dark .hljs-number{color:#b8d7a3}[data-v-7c98e74e] .markdown-theme-dark .hljs-meta-string,[data-v-7c98e74e] .markdown-theme-dark .hljs-string{color:#d69d85}[data-v-7c98e74e] .markdown-theme-dark .hljs-regexp,[data-v-7c98e74e] .markdown-theme-dark .hljs-template-tag{color:#9a5334}[data-v-7c98e74e] .markdown-theme-dark .hljs-formula,[data-v-7c98e74e] .markdown-theme-dark .hljs-function,[data-v-7c98e74e] .markdown-theme-dark .hljs-params,[data-v-7c98e74e] .markdown-theme-dark .hljs-subst,[data-v-7c98e74e] .markdown-theme-dark .hljs-title{color:#dcdcdc}[data-v-7c98e74e] .markdown-theme-dark .hljs-comment,[data-v-7c98e74e] .markdown-theme-dark .hljs-quote{color:#57a64a;font-style:italic}[data-v-7c98e74e] .markdown-theme-dark .hljs-doctag{color:#608b4e}[data-v-7c98e74e] .markdown-theme-dark .hljs-meta,[data-v-7c98e74e] .markdown-theme-dark .hljs-meta-keyword,[data-v-7c98e74e] .markdown-theme-dark .hljs-tag{color:#9b9b9b}[data-v-7c98e74e] .markdown-theme-dark .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-dark .hljs-variable{color:#bd63c5}[data-v-7c98e74e] .markdown-theme-dark .hljs-attr,[data-v-7c98e74e] .markdown-theme-dark .hljs-attribute,[data-v-7c98e74e] .markdown-theme-dark .hljs-builtin-name{color:#9cdcfe}[data-v-7c98e74e] .markdown-theme-dark .hljs-section{color:gold}[data-v-7c98e74e] .markdown-theme-dark .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-dark .hljs-strong{font-weight:700}[data-v-7c98e74e] .markdown-theme-dark .hljs-bullet,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-attr,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-class,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-pseudo,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-tag{color:#d7ba7d}[data-v-7c98e74e] .markdown-theme-dark .hljs-addition{background-color:#144212;display:inline-block;width:100%}[data-v-7c98e74e] .markdown-theme-dark .hljs-deletion{background-color:#600;display:inline-block;width:100%}[data-v-7c98e74e] .markdown-theme-dark .hljs-comment{font-style:normal}[data-v-7c98e74e] .markdown-theme-oneDark pre{padding:20px 10px!important;display:block;color:#abb2bf;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace;background:#292c34;border-radius:4px;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-7c98e74e] .markdown-theme-oneDark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-comment,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-quote{color:#5c6370;font-style:italic}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-doctag,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-formula,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-keyword{color:#c678dd}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-deletion,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-name,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-section,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-tag,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-subst{color:#e06c75}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-literal{color:#56b6c2}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-addition,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-attribute,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-meta-string,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-regexp,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-string{color:#98c379}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-built_in,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-class .hljs-title{color:#e6c07b}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-attr,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-number,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-attr,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-class,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-pseudo,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-type,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-variable{color:#d19a66}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-bullet,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-link,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-meta,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-symbol,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-title{color:#61aeee}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-strong{font-weight:700}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-link{text-decoration:underline}[data-v-7c98e74e] .markdown-theme-gitHub pre{padding:20px 10px!important;display:block;overflow-x:auto;color:#333;background:#f7f8fa!important;font-size:13px;line-height:20px;border-radius:4px;margin:10px 0!important;overflow-x:auto!important}[data-v-7c98e74e] .markdown-theme-gitHub pre *{font-family:Consolas!important}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-comment,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-quote{color:#998;font-style:italic}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-selector-tag,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-subst{color:#333;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-keyword{color:#d73a49}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-literal,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-number,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-tag .hljs-attr,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-variable{color:teal}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-doctag,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-string{color:#d73a49}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-section,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-title{color:#900;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-subst{font-weight:400}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-class .hljs-title,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-type{color:#458;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-attribute,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-name,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-tag{color:navy;font-weight:400}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-link,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-regexp{color:#009926}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-bullet,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-symbol{color:#990073}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-built_in,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-builtin-name{color:#0086b3}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-meta{color:#999;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-deletion{background:#fdd}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-addition{background:#dfd}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-strong{font-weight:700}body .ivu-modal-wrap.common-preview-image-view .ivu-modal{margin:0;padding:0}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content{background:transparent}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close{display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#606266;font-size:24px;height:40px;right:40px;top:40px;width:40px}@media (max-width: 640px){body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close{right:24px;top:24px}}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close .ivu-icon-ios-close{top:0;right:0;font-size:40px;color:#fff}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-body{padding:0}body .ivu-modal-wrap.common-preview-image-swipe{display:none}.child-view[data-v-5cab08f9]{position:absolute;width:100%;min-height:100%;transition:all .3s cubic-bezier(.55,0,.1,1)}/*! +@charset "UTF-8";@font-face{font-family:iconfont;src:url(/js/build/iconfont.01196938.eot?t=1576231776697);src:url(/js/build/iconfont.01196938.eot?t=1576231776697#iefix) format("embedded-opentype"),url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABBoAAsAAAAAH4gAABAXAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCHNAqrGKENATYCJAOBAAtCAAQgBYRtB4I0G3MZM6M2lLTSTfZfJ3BzyOqYZkDBRZ2HprCitPZ3M8J36RIFoV+G+/sYnCYldv0I8xP3uCYjaM7/PYldjAhiEUzzMA2QIPZTSUVTap7SplSDVS1QFajwRBw61IQgv72KhZq8zPfO2kzlgJkk7T4iPTP9Ao/snqj1ZwI+AR+pnFgdsb1FKrikLeIB0AABBLNBwG3sJrh0YieT5piEFlvapTXhESZVxn7z1XMwlGSPvV8g5XsAQOD//62ldqfIqjJ5W5yyMH0RqkLWyJ0JDl3vH2ZCvMHdEpDKq5AV6vZCeyUCDyhMhanQFUJUSF+D5awMrAmEpUSMBqL+u96FgQDAQCUGYXgvHww+aDBOYL4ZcfI48GNh0DlDCfADXM0JaRCbioNPrl47gI3q6xMPkBAfIMGhwC7KNMk4AXqWejiMsp9gM2WP1KcBvJwIoADEAGiA1GkriShQPotRgtEV0vgv/nw0aIhYmpWyISIlSpGpmC1lR7A2toZtsMlp11jXnb47j+64Hg5zn6UsUfjoZBmKutd1v9rr4fphDQRixHGUMDpJirTuWd1zkP6/4AFKBLx5ISGFJwr+FLjwIISKCGIwCCRHgwMJBOCBjwA+fPmRUQPBBeYVAQDRQBvVwFICgxJYGgMBsFIM3sCGYPACNhwDCbARHF8yEhg8gU3EQAFsMgZ/YFMwKIDNwMAF2EwMHsAWAYSQxQCoIEsBEEGOAEAMaQOAgawBIBCyDgA5ZD0ANGQDABzITQBIIE8DIIC8CgAP8hoAfEgXMATAnT6Aj5IPAfCFfASAH6QLGGTwcNgSUAMAjTyBHsAsgPtJgC8GU++pILhNgQSfWmA0EEeRuu4EY14UN4/qGZcT5UhhGA+RzF1SKhUR4hBC68GmUDSfJxZ70tpH5uMJtAFv8k3IHkwQsbghCBGyO1rAEch8KV/ADNGEcnmltkOGKDqMSyXPTB0/f1gqqQ2GOhqiJgftys1wX+tg4SHhrzbqdj3PXQi/2m47jteF30zc/s3hA4btyn6r4/K6TDjNfkX8BZ51Du7ZDf/91en8caT7+06wdx/477cLWrE5JJ5vTUwUGoNjmfpWYWpMj3EjIa2djJquyNcCw/FkoZLVDe/crk7HlF2v3TZYaEO48Z1w1PX2/IHu2BudBRCCYtWvBRVSHgdpaN+n+n7rv7jBDQ41V3FSplXfmsIQFb4MONEnSxwYa4X9U0G67cNIpow0Wh0SzdewKnxLu1VOxbIVnAhqMHornbxVT0WyjfE9pdbQaK7Z+5oiSasw6tdwT1ABCOUhgLAB18k2I80+hAGCwnOPrbkI9MCNCKLYKXcZ/TjoQr+DKJrnBcZTsnHIVYM2IKHdls8KKdCbGp/gempUeVCNKPsiarRXiao7c1VaTpGsEWMZkK0EtaF+zozL/C5XUN1mc6qluTG8qp3ZRtDym7Tu9lABY77EyYCDOGGbSaX751iDcb86IXmrDLwE0OIqWKdHSLsjDVHThTg6e4hoZ0W1836P0nv3Sb9K9d17BS0TY89uRiqBtW8PD2r+uXx1QRH6ltVfNulEDoj+Tjm1OVOZHyxye8FtRMNx4u4SAx8MTWuMkQ4+KV/0Fm8XcxAikH13HgPEKC3sOv3jJfQPSis/NF8bGI8jOIpL/ZXB2cGcB5Z1ZUiOX1iO6uuYrghzg0A0c+naMI6D9DpkvdhphTJ9kdKwGkirDAkBUR5wsCOzDBCmo0JKjNunC1wOIoTbEZD+VCiMAURVWa4nDe1Uln4k54baR4hyhhCcUo33BZUwOqTO9uGIEu3sckJb9ZOAtBpUQIyUJ2wTFL+KLQjgHRCBXRiiowDDHW0vkLDrou0JF3AhCp2uQNv7oSZ/Zq8HJE+5VVSctLt8fbKj7qvd2K24Qljenm39DVKnTb/V54W3JQ4A16ajoC9ROEBhrRiupOO7TmnIt97OMqPbDs+Wd9Bq3vJckauVDIeTrXR126kpctY2WSpk9c2MHRO6XQ9XNLsrPWmuiIwVEqcdeCff1qG2zYzl3PJa3eWNcJmju/52k6wPlzQPrZSiQcZqLufWSkeANGW5t5zLe9SIPBNL1x4h9GWuIMQC46ZamifvFawQbH8TO9I0rWsNNjFoVxBYXmmJLzzjwApSTHhfP6YHrnT8ys8LlM0drRhLRqdJw6g4b54gcvmn+YmBX04ilmmEBR3wyJmoOKTz/7x2u72tOTTFq0y9YyvkJUtybl4LBb35iRHt5/TO+DOA/KGyNL40uZIiKaYvcjlOuvqIwScG1qSjFgfIfbLP6jMG8vOVPAijNL4AiM50bvAUmVSewIpmDqY1Wgcx0sAJqIgdRzrDwEEq9Ju9VwQ9uMGVQNYXahAuP79e5t78jSnVz8fdegMM8RyCb4a6viUlDgoko9Oi2TvWJofjwsQrQLviVhXtZw2YRlAB6J0fh8Wmho2cPr1dBSM3lCjc80GaD03EtTI11wPiQgXYsgRhNYuWASCFtPZOvTBqoNYTaO53H3b2Pdh5VsbHPrh06uYJD41afQ2dV1Ox53dGN6P3433qG3c4d93jvbLy4orHh6+df55b8kmvfHzFxbpnQKQHfUt5p1ImhA00zzRHfBFBLeQs4K1jFm7S5kVGDh0dNpRzCknDOjKzMjPPMVSR8n9r2tpnHEdHqOcoUjLUuUxWntVRyE92lLRftK3NINwmNLSpJfx/lbqsLqlV/p6q99SoaurrHSJ5YM2MGS5Xdr9M5CiwMO5fmMVsaY6LExZNNJvZtleQvnnPbCGYI7YnO58kSaS3nyzqAk6aunXdMQiaQJ1VPXNKS318EJljpwvbcyZxP/Jv0Rr4FOrVA/O4TJenp8KY3yDiW32/CpT5O37iS7orQBHVrJikbKa+wc0qr6jUKoH+W04U/Z3n357tnitXIiN/Q7Fdxj/Ml9kdl+An30RfEVVTAFNdmYZL2bHO9hmKfVZc6tf3L+8P6r/8ImBfnft2F7nL3MMDLo7qH32ueDL2GHUa2aRRJQNKhxQP9ZPJkM8xKUeYiysMlfqBkp/ph/pRy+0jRhoGjTQpq4hZ44bO3F69flKagSubojZwoN20wblhcHB18Kvjzg3O5OP+L1ofcTviOriSK1+8/OKK5PV60MpWzqjxrNn016KlnTs6ly66lb7Gc1H5VCYxhbvP1I/ireJ9J7JVB8mtyhbdKF2L8jvnaeBIyan0U7fDY5/dzB9VUTl8YMkgS7JbT8fei73VnWtfPndj2ewwaomyxJhzU08hxVQZzxpbVENU33jDJqlaRrSqJj73b1RmFWSnihoHU1Kaigw2kCrfQvKZP1fmGnSnqNpStG3+MwkvOlFHaH2N5LNonqTPzClC0rjV69oe+zxuk2/q2SlVKRGdwivDr3Dzfq+V8Hz69UaykNT1+vA8TprylNt/P/DHqs5x6uHq2Z2r/9z0W6NyK5NXfyAjtTChQd7W0NNW9lPPvJ95TH31jq3zhTSytHavdq9QIWKQFL4XuFKmXeAhtqmUIfXmZL/edJN5/RrdFH4tSuZ9R9n+mKud+WZTu1KKTiubkaps4mydXiG1JEXyOlVO0X5Ml/XXwZpCaadNLBW0byIxTWj2HK+/3it87M0vACmTm4KDSdEzLM2vOmLmOKzRu0UszatqHbUZmmB+rbZF49C2uhjVCfXewBMqZ5bT4VTCcdOhgH9lkX9v79pevmM6JoNaQMMIQ7dyq3Obc3vqX45upCDy6GZ6Ig6QXdu6nm4zu6+YP1OZpvzv0pMnhkC7bN+BIGXS8OHruLxgRZz36JKSRB5x+zYIbLuvd5dwO1jXu4upURy4O30Gb6IUC0Nsiij5ypBVMmWUxvY7RBPlgVYWKmyh2oShK6FuFq50tq/yW/XndFgI3qo/vuDzruKSn3DFJK3mERZHrt9KSxVnwOHtZU/GZQ5b2Jh580+7h2x2UMG86mNW6sZZyrra909Ktg0qqJ6Xk38qJy8/91Re7qsjKfk6kZ/zFM2pzvnEaoeVevADZa2pNg0GzvXCfX1xersSyI88TkzTtyh0ZkrRQtcnPt6wYfDgdqPxbppzrA0bHifW04oWyqxrUejT9K2NRrrCguZml9wbQmq8Ipbt59QVdG1Y/9w3wlRmpPl9twpTRNIjA95esJ+z4Ai04c61zLT1XQV1nHhDFHZWtFTogXRTxQzRtz9NkFyLzs4Jcpt8hkLklSit2CNK5Yv3iPV3tOSnbxMrsnu+XPfVLZvS1v7/Jcd7cjzyCrsH7zeXFzWdQq3gW4x6p7Y447os0tkV5/QyqL0jYac3CGhaWPL+FbdW+v1UNdnsTZHB30c2xBy6utz/Q6tU2Lt/LhtWJgr2rFt2FvvztIxn2/dvIgyhg7T1yrkBOiZtGZgJq0S8pdbfOwN++vWKmnF69YmCJU1Nk7Z8+pM9TuLtsds8fq75P44PWfCzq2O9XYHU8d6P/BL9a/wT/eS5zzoJcbqYlJyRkOJdOd8CRj3aLGcwZNgq3yCfJvmvYqIN0l/NTT6xu9/cX3TiWOjg1cd3nwvkBJsCxf8s0EocXp/zRWrfvk+k8cLJy5t9muvr5swGGRmYkrza/kabNJrZ83aYVu3eNZW/CvhooMuPeEn4WRK5kdxES5RK/TZtmU02Xx4lny97/pdilUIpDMXD00iX8hJNuZZE3lKpZpXikimatkqsFcGXSCuWIuFwdW7uyK1D4kODLl38t+n8gn+x3M0Wcb9U2FOkX2cdhXVfPtNzzxCNB1AXqLQZesgNc7j/U+QZFxm29kHKSY0h6KmQYPiI4auhc4ePG14spLhlhu8c8Qt/JT7rQyHFEG0efoOGNz6kBLRwLbka/jP5YHgXeX64HXHwwuHrvtp9dghG+i2fSCj+nE/bqJ+5y+Q8rGwPN2zq51+V9cLh/2m2uu6bRVW4D9IYRzX4IB9MSDyIFHSrG9HfOSyi2ecGFjuAKIMwBzTWItJAAmDCWW6Uyjn7rDytsx7ZKs/QJMFDoEmBjxBE94wxORAiyeSCj1yTQbSikwuhYAUFghYAiNLomAQ8nDFJSPAjo3Q9OxiNnl0mB14e5XExMIr+Y6cUOEMhwjbXv3wR6AKr2qeKhpNzY2Xpzf8JX0kLyXnq7BeSIyd13B1+mz+QIHWkyDd/KsUpJ9ypd8cHRKx64QtM2QU09ef93r1dxc5w1yybF4EusEr7lNNGw8kdvixTX/4TvpKWnNV+TfsLyfHolaOdgwX6EMlqtX1ZNN/8SSHaKbGscKe8Ew3iDaz0+rYuMGUnlLD7sz3ZnLMVu/ZVd2QUNuIa2EerSSBRaAwWhycQSWRKKmoaWjp6BkYmZhZWNnYOTi5unmLY2bHA8rgmyzMTYK6wG3WXt05TxqwX3CLuQ04jdm5u+Z6ItR23THbihWs/ip1flj53yJZiwsQQZ0xj0RTNnG8QzRTLwBL/OSWalIAOk7/KRVYU3ZK5J7QMK40NW4zfPK9LV4myESBZoZjMapY6ZFrWvnG2bXGOcdY3LPo627blR9MAAAAA) format("woff2"),url(/js/build/iconfont.5e0c4d21.woff?t=1576231776697) format("woff"),url(/js/build/iconfont.eb7e69a1.ttf?t=1576231776697) format("truetype"),url(/js/build/iconfont.7bf1e2b0.svg?t=1576231776697#iconfont) format("svg")}.iconfont[data-v-7c98e74e]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-md[data-v-7c98e74e]:before{content:"\e604"}.icon-redo[data-v-7c98e74e]:before{content:"\e627"}.icon-undo[data-v-7c98e74e]:before{content:"\e633"}.icon-checked[data-v-7c98e74e]:before{content:"\e683"}.icon-checked-false[data-v-7c98e74e]:before{content:"\e684"}.icon-preview[data-v-7c98e74e]:before{content:"\e63a"}.icon-on[data-v-7c98e74e]:before{content:"\e6d8"}.icon-off[data-v-7c98e74e]:before{content:"\e6d9"}.icon-download[data-v-7c98e74e]:before{content:"\e6ae"}.icon-bold[data-v-7c98e74e]:before{content:"\e677"}.icon-group[data-v-7c98e74e]:before{content:"\e647"}.icon-img[data-v-7c98e74e]:before{content:"\e64a"}.icon-under-line[data-v-7c98e74e]:before{content:"\e65a"}.icon-close[data-v-7c98e74e]:before{content:"\e690"}.icon-italic[data-v-7c98e74e]:before{content:"\e628"}.icon-overline[data-v-7c98e74e]:before{content:"\e63b"}.icon-horizontal[data-v-7c98e74e]:before{content:"\e7f0"}.icon-theme[data-v-7c98e74e]:before{content:"\e682"}.icon-quote[data-v-7c98e74e]:before{content:"\e636"}.icon-table[data-v-7c98e74e]:before{content:"\e603"}.icon-clear[data-v-7c98e74e]:before{content:"\e629"}.icon-ul[data-v-7c98e74e]:before{content:"\e624"}.icon-code[data-v-7c98e74e]:before{content:"\e60f"}.icon-link[data-v-7c98e74e]:before{content:"\e7e2"}.icon-fullscreen[data-v-7c98e74e]:before{content:"\e7ec"}.icon-quite[data-v-7c98e74e]:before{content:"\e7ed"}.icon-daoru[data-v-7c98e74e]:before{content:"\e635"}.icon-ol[data-v-7c98e74e]:before{content:"\e6f0"}.icon-upload-img[data-v-7c98e74e]:before{content:"\e679"}.icon-save[data-v-7c98e74e]:before{content:"\e648"}.icon-check-box[data-v-7c98e74e]:before{content:"\ec58"}.markdown[data-v-7c98e74e]{overflow:hidden;position:relative;margin:0;padding:0;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;flex-direction:column;background:#f7f7f7}.markdown.border[data-v-7c98e74e]{border:1px solid #d9d9d9}.markdown *[data-v-7c98e74e]{margin:0;padding:0;box-sizing:border-box}.markdown.fullscreen[data-v-7c98e74e]{position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;height:100%!important;width:100%;border:none}.markdown.fullscreen .markdown-content[data-v-7c98e74e]{padding:10px 0 0}.markdown .markdown-toolbars[data-v-7c98e74e]{width:100%;display:block;list-style:none;background:#fff;color:#6a6f7b;cursor:pointer;padding-left:4px;border-bottom:1px solid #d9d9d9}.markdown .markdown-toolbars>li[data-v-7c98e74e]{float:left;position:relative;cursor:pointer;margin:0;line-height:normal;min-height:auto}.markdown .markdown-toolbars>li[data-v-7c98e74e]:after{display:block;content:attr(name);position:absolute;z-index:999999999999;top:32px;left:20px;background:#000;color:#fff;white-space:nowrap;font-size:12px;line-height:28px;padding:0 6px;transition:all .3s .1s;transform:scale(0);opacity:0;transform-origin:top;border-radius:2px}.markdown .markdown-toolbars>li[data-v-7c98e74e]:hover:after{transform:scale(1);opacity:1}.markdown .markdown-toolbars>li[data-v-7c98e74e]:last-child:after{right:20%;left:auto}.markdown .markdown-toolbars>li .title[data-v-7c98e74e]{font-size:16px!important}.markdown .markdown-toolbars>li .icon-svg[data-v-7c98e74e]{display:flex;align-items:center;justify-content:center}.markdown .markdown-toolbars>li.right[data-v-7c98e74e]{float:right}.markdown .markdown-toolbars>li.right>ul[data-v-7c98e74e]{list-style:none}.markdown .markdown-toolbars>li.right>ul>li[data-v-7c98e74e]{line-height:normal;float:left}.markdown .markdown-toolbars span[data-v-7c98e74e]{font-size:18px;color:#999;cursor:pointer;display:block;width:30px;height:30px;border-radius:3px;line-height:30px;text-align:center}.markdown .markdown-toolbars span[data-v-7c98e74e]:hover{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .title[data-v-7c98e74e]{padding-left:4px;padding-right:10px}.markdown .markdown-toolbars li:last-child span[data-v-7c98e74e]{font-size:20px!important;margin-right:4px}.markdown .markdown-toolbars .shift-theme[data-v-7c98e74e],.markdown .markdown-toolbars .export-file[data-v-7c98e74e]{height:46px;position:relative;display:flex;justify-content:center;align-items:center}.markdown .markdown-toolbars .shift-theme span[data-v-7c98e74e],.markdown .markdown-toolbars .export-file span[data-v-7c98e74e]{padding:0 8px;transition:all .3s;font-size:18px;display:inline-block;line-height:32px}.markdown .markdown-toolbars .shift-theme span[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file span[data-v-7c98e74e]:hover{color:#0084ff;background:#f7f7f7;border-radius:3px}.markdown .markdown-toolbars .shift-theme ul[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul[data-v-7c98e74e]{transform:scale(0);transition:all .3s;left:-50%;top:40px;width:160px;transform-origin:top center;list-style:none;margin:0;padding:6px 0;box-sizing:border-box;border:1px solid #d9d9d9;background:#fff;border-radius:4px;position:absolute;z-index:9999999;box-shadow:0 2px 8px #0000001a}.markdown .markdown-toolbars .shift-theme ul.active[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul.active[data-v-7c98e74e]{opacity:1;transform:scaleY(1)}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]{line-height:30px;padding:0 12px;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center;color:#262626}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-7c98e74e]{font-size:14px;display:block;height:30px;width:30px;line-height:30px;overflow:hidden}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-7c98e74e]:hover{color:#262626}.markdown .markdown-toolbars .shift-theme ul li i[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li i[data-v-7c98e74e]{font-size:13px;display:block;font-style:normal;flex:1;white-space:normal}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e]:last-child,.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]:last-child{border-bottom:0}.markdown .markdown-toolbars .shift-theme ul li:last-child .iconfont[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li:last-child .iconfont[data-v-7c98e74e]{font-size:14px!important;margin:0!important}.markdown .markdown-toolbars .shift-theme ul li[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li[data-v-7c98e74e]:hover{background:#f7f7f7}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-7c98e74e],.markdown .markdown-toolbars .export-file ul li.disabled[data-v-7c98e74e]{cursor:not-allowed;color:#bbbec4}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-7c98e74e]:hover,.markdown .markdown-toolbars .export-file ul li.disabled[data-v-7c98e74e]:hover{background:transparent}.markdown .markdown-toolbars .import-file[data-v-7c98e74e]{position:relative}.markdown .markdown-toolbars .import-file input[data-v-7c98e74e]{position:absolute;z-index:9999;left:0;top:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.markdown .markdown-toolbars .import-file:hover span[data-v-7c98e74e]{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .import-file[data-v-7c98e74e]:hover:after{transform:scale(1);opacity:1}.markdown .close-preview[data-v-7c98e74e]{position:absolute;z-index:999;right:0;top:0;height:40px;width:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;color:#262626}.markdown .close-preview span[data-v-7c98e74e]{font-size:22px}.markdown .close-preview span[data-v-7c98e74e]:hover{color:#262626}.markdown .markdown-content[data-v-7c98e74e]{flex:1;width:100%;display:flex;justify-content:space-between;position:relative;overflow:hidden;padding-bottom:0}.markdown .markdown-content .markdown-editor[data-v-7c98e74e]{flex:1;height:100%;position:relative;margin:0!important;overflow:hidden;overflow-y:scroll;display:flex;justify-content:space-between;background:#2d2d2d}.markdown .markdown-content .markdown-editor[data-v-7c98e74e]::-webkit-scrollbar{display:none}.markdown .markdown-content .markdown-editor .index[data-v-7c98e74e]{background:#272727;min-height:100%;width:36px;line-height:22px;padding:12px 0}.markdown .markdown-content .markdown-editor .index li[data-v-7c98e74e]{background:#272727;color:#ccc;font-size:14px;text-align:center;font-family:Consolas}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]{width:100%;min-height:100%;outline:none;border:0;background:#2d2d2d;line-height:22px;caret-color:#ccc;color:#669acc;font-size:14px;font-family:Consolas;resize:none;padding:12px 8px;overflow:hidden;white-space:nowrap;overflow-x:auto}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]::-moz-selection{background:#999;color:#0084ff}.markdown .markdown-content .markdown-editor textarea[data-v-7c98e74e]::selection{background:#999;color:#0084ff}.markdown .markdown-content .codemirror[data-v-7c98e74e]{flex:1;width:0;height:100%;overflow:auto}.markdown .markdown-content .markdown-preview[data-v-7c98e74e]{flex:1;width:0;height:100%}.markdown ul.toc-anchor[data-v-7c98e74e]{max-width:260px;min-width:150px;background-color:#f6f8fa;border-left:2px solid #dcdfe6;overflow:auto}.markdown ul.toc-anchor li.toc-anchor-item[data-v-7c98e74e]{cursor:pointer;padding:6px 16px;font-size:12px;line-height:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.markdown ul.toc-anchor li.toc-anchor-item span[data-v-7c98e74e]{color:#333;opacity:.8}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-2[data-v-7c98e74e]{padding-left:16px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-3[data-v-7c98e74e]{padding-left:32px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-4[data-v-7c98e74e]{padding-left:48px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-5[data-v-7c98e74e]{padding-left:64px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-action[data-v-7c98e74e]{color:#2b85e4;opacity:1}.markdown ul.toc-anchor li.toc-anchor-item[data-v-7c98e74e]:first-child{padding-top:16px}.markdown ul.toc-anchor li.toc-anchor-item:hover span[data-v-7c98e74e]{opacity:1}.insert-img-model[data-v-7c98e74e]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(0,0,0,.3);padding-top:12%;transition:all .3s;opacity:0;display:none}.insert-img-model .model-container[data-v-7c98e74e]{background:#fff;width:480px;margin:0 auto;border-radius:4px;transition:all .3s;transform:scale(0);transform-origin:center}.insert-img-model .model-container .model-head[data-v-7c98e74e]{line-height:32px;padding:0 12px;background:#f7f7f7;border-radius:4px 4px 0 0;box-shadow:0 1px 2px #d9d9d9;display:flex;justify-content:space-between}.insert-img-model .model-container .model-head span[data-v-7c98e74e]:nth-of-type(2){font-size:14px;padding-left:12px;cursor:pointer}.insert-img-model .model-container .model-head span[data-v-7c98e74e]:nth-of-type(2):hover{color:#ed3f14}.insert-img-model .model-container .model-content[data-v-7c98e74e]{padding:0 12px 20px;min-height:180px}.insert-img-model .model-container .model-content .insert-url[data-v-7c98e74e]{padding:42px 0;display:flex;justify-content:space-between;align-items:center}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]{display:block;border:1px solid #ccc;font-size:14px;padding:4px 8px;line-height:24px;color:#333;background:#fff;border-radius:4px;writing-mode:horizontal-tb;text-rendering:auto;transition:box-shadow 2s;flex:1}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]:focus{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]::-moz-placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url input[data-v-7c98e74e]::placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url a[data-v-7c98e74e]{display:block;background:#1890ff;color:#fff;line-height:32px;height:32px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:20px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-content .insert-url a[data-v-7c98e74e]:hover{background:#0169af}.insert-img-model .model-container .model-content .insert-local[data-v-7c98e74e]{height:120px;border:1px dashed #d9d9d9;border-radius:4px;transition:all .3s;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;cursor:pointer}.insert-img-model .model-container .model-content .insert-local span[data-v-7c98e74e]{font-size:40px;color:#d9d9d9;line-height:50px;transition:all .3s}.insert-img-model .model-container .model-content .insert-local p[data-v-7c98e74e]{font-size:14px;color:#262626;transition:all .3s}.insert-img-model .model-container .model-content .insert-local[data-v-7c98e74e]:hover{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-local:hover span[data-v-7c98e74e],.insert-img-model .model-container .model-content .insert-local:hover p[data-v-7c98e74e]{color:#1890ff}.insert-img-model .model-container .model-content .insert-local input[data-v-7c98e74e]{display:block;position:absolute;width:100%;height:100%;opacity:0}.insert-img-model .model-container .model-foot[data-v-7c98e74e]{display:flex;justify-content:flex-end;align-items:center;padding:10px 12px;display:none}.insert-img-model .model-container .model-foot a[data-v-7c98e74e]{display:block;background:#f7f7f7;color:#262626;line-height:26px;height:26px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:12px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-foot a[data-v-7c98e74e]:hover{background:#d9d9d9}.insert-img-model .model-container .model-foot a.ok[data-v-7c98e74e]{background:#1890ff;color:#fff;border-color:#1890ff}.insert-img-model .model-container .model-foot a.ok[data-v-7c98e74e]:hover{background:#0169af}.insert-img-model.active[data-v-7c98e74e]{opacity:1;display:block}.insert-img-model.active .model-container[data-v-7c98e74e]{transform:scale(1)}ul.shift[data-v-7c98e74e]{padding:6px 12px;display:flex;align-items:center}ul.shift span[data-v-7c98e74e]{font-size:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift span.iconfont[data-v-7c98e74e]{font-size:14px}ul.shift label[data-v-7c98e74e]{font-size:12px;padding-right:10px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift input[type=radio][data-v-7c98e74e],ul.shift label[data-v-7c98e74e]{transition:all .6s ease;box-sizing:border-box}ul.shift input[type=radio]+label[data-v-7c98e74e]:before{content:"\a0";display:inline-block;vertical-align:middle;margin-right:4px;width:8px;height:8px;border-radius:50%;border:1px solid #292d35;padding:2px}ul.shift input[type=radio]:checked+label[data-v-7c98e74e]:before{background-color:#292d35;background-clip:content-box;padding:2px}ul.shift input[type=radio][data-v-7c98e74e]{position:absolute;clip:rect(0,0,0,0)}ul.shift input[type=radio]:checked+label[data-v-7c98e74e]{color:#292d35}[data-v-7c98e74e] .markdown-preview{flex:1;overflow:hidden;overflow-y:scroll;background:#fff;padding:20px 12px!important;font-family:Tahoma For Number,Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}[data-v-7c98e74e] .markdown-preview *{margin:0;padding:0;box-sizing:border-box}[data-v-7c98e74e] .markdown-preview>div{padding:10px 12px!important;background:#fff}[data-v-7c98e74e] .markdown-preview>div::-webkit-scrollbar{display:none}[data-v-7c98e74e] .markdown-preview::-webkit-scrollbar{display:none}[data-v-7c98e74e] .markdown-preview em{font-style:oblique}[data-v-7c98e74e] .markdown-preview ul{list-style:none;padding:0 20px}[data-v-7c98e74e] .markdown-preview ul li{position:relative}[data-v-7c98e74e] .markdown-preview ul li:after{display:block;content:"";width:8px;height:8px;border-radius:50%;position:absolute;z-index:99;top:12px;left:-16px;background:#262626}[data-v-7c98e74e] .markdown-preview ol,[data-v-7c98e74e] .markdown-preview ul{margin:10px 0}[data-v-7c98e74e] .markdown-preview ol li,[data-v-7c98e74e] .markdown-preview ul li{font-size:14px!important;color:#262626;line-height:22px!important;padding:4px 0 4px 6px;min-height:28px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox],[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]{position:relative;cursor:pointer;overflow:visible;position:absolute;left:-14px;top:5px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox]:before,[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]:before{font-family:iconfont!important;color:#999;display:block;width:18px;height:18px;position:absolute;content:"\e684";top:0px;left:-4px;z-index:999999;background-position:center;background:#fff;font-size:18px;text-align:center;line-height:18px}[data-v-7c98e74e] .markdown-preview ol li input[type=checkbox]:checked:before,[data-v-7c98e74e] .markdown-preview ul li input[type=checkbox]:checked:before{content:"\e683"}[data-v-7c98e74e] .markdown-preview ol.toc-anchor,[data-v-7c98e74e] .markdown-preview ul.toc-anchor{margin:0;padding:0}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item{cursor:pointer;padding:4px 0;font-size:13px!important;line-height:16px!important;min-height:auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span{color:#2b85e4;opacity:.9}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-2,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-2{padding-left:16px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-3,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-3{padding-left:32px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-4,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-4{padding-left:48px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-5,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-5{padding-left:64px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item:last-child,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item:last-child{padding-bottom:6px}[data-v-7c98e74e] .markdown-preview ol.toc-anchor li.toc-anchor-item:hover span,[data-v-7c98e74e] .markdown-preview ul.toc-anchor li.toc-anchor-item:hover span{opacity:1}[data-v-7c98e74e] .markdown-preview ol{list-style-type:decimal;padding-left:20px}[data-v-7c98e74e] .markdown-preview ol li{list-style:decimal}[data-v-7c98e74e] .markdown-preview hr{color:#d9d9d9;height:1px;border:0;border-top:1px solid #d9d9d9;margin:20px 0;padding:0}[data-v-7c98e74e] .markdown-preview del,[data-v-7c98e74e] .markdown-preview em,[data-v-7c98e74e] .markdown-preview strong{display:inline-block}[data-v-7c98e74e] .markdown-preview blockquote{position:relative;background:#f7f7f7;padding:6px 12px;border-left:5px solid #d9d9d9;border-radius:2px;margin:8px 0}[data-v-7c98e74e] .markdown-preview h1,[data-v-7c98e74e] .markdown-preview h2,[data-v-7c98e74e] .markdown-preview h3,[data-v-7c98e74e] .markdown-preview h4,[data-v-7c98e74e] .markdown-preview h5,[data-v-7c98e74e] .markdown-preview h6{color:#262626}[data-v-7c98e74e] .markdown-preview h1{font-size:28px;border-bottom:1px solid #d9d9d9}[data-v-7c98e74e] .markdown-preview h2{font-size:24px}[data-v-7c98e74e] .markdown-preview h3{font-size:18px}[data-v-7c98e74e] .markdown-preview h4{font-size:16px}[data-v-7c98e74e] .markdown-preview h5{font-size:14px}[data-v-7c98e74e] .markdown-preview h6{font-size:12px}[data-v-7c98e74e] .markdown-preview h1,[data-v-7c98e74e] .markdown-preview h2,[data-v-7c98e74e] .markdown-preview h3,[data-v-7c98e74e] .markdown-preview h4,[data-v-7c98e74e] .markdown-preview h5,[data-v-7c98e74e] .markdown-preview h6{padding:8px 0;font-weight:600}[data-v-7c98e74e] .markdown-preview p{font-size:14px!important;color:#262626;margin-bottom:8px;line-height:22px}[data-v-7c98e74e] .markdown-preview img{display:block;max-width:100%;margin:20px 0;cursor:pointer}[data-v-7c98e74e] .markdown-preview table{width:100%;border:1px solid #d9d9d9;border-bottom:0;background:#fff;border-spacing:0;border-collapse:collapse;margin:20px 0}[data-v-7c98e74e] .markdown-preview table tr{transition:background .1s}[data-v-7c98e74e] .markdown-preview table tr td,[data-v-7c98e74e] .markdown-preview table tr th{padding:4px 8px;font-size:14px;line-height:24px;color:#333;border-bottom:1px solid #d9d9d9;cursor:pointer}[data-v-7c98e74e] .markdown-preview table th{background:#f8f8f9;text-align:left;font-weight:700}[data-v-7c98e74e] .markdown-preview table tr:nth-of-type(even) td{background:#fafafa}[data-v-7c98e74e] .markdown-preview table tr:hover td{background:#f5f5f5}[data-v-7c98e74e] .markdown-preview table td,[data-v-7c98e74e] .markdown-preview table th{border:1px solid #d9d9d9;word-break:break-all}[data-v-7c98e74e] .markdown-preview input[type=checkbox]{display:inline-block;border-radius:0;margin-right:8px}[data-v-7c98e74e] .markdown-preview a{text-decoration:none;color:#1890ff;font-size:14px;line-height:22px}[data-v-7c98e74e] .markdown-preview .code-block{position:relative;padding:0!important}[data-v-7c98e74e] .markdown-preview .code-block .copy-code{position:absolute;z-index:999;top:5px;right:10px;font-size:12px;color:#d9d9d9;line-height:20px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s;opacity:0}[data-v-7c98e74e] .markdown-preview .code-block .copy-code:hover{color:#1890ff}[data-v-7c98e74e] .markdown-preview .code-block:hover .copy-code{opacity:1}.preview-img[data-v-7c98e74e]{position:fixed;width:100vw;height:100vh;z-index:99999999;left:0;top:0;background:rgba(0,0,0,.5);display:none;opacity:0;transition:opacity .3s .1s;justify-content:center;align-items:center}.preview-img .close[data-v-7c98e74e]{position:absolute;right:0;top:0;color:#fff;padding:10px;font-size:20px;cursor:pointer}.preview-img img[data-v-7c98e74e]{display:block}.preview-img img.vertical[data-v-7c98e74e]{height:80%;width:auto}.preview-img img.horizontal[data-v-7c98e74e]{width:80%;height:auto}.preview-img.active[data-v-7c98e74e]{display:flex;opacity:1}[data-v-7c98e74e] .markdown-theme-light pre{font-size:14px!important;line-height:1.6!important;word-break:break-all;word-wrap:break-word;border:0!important;background:#f7f8fb!important;padding:20px 10px!important;border-radius:4px!important;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-7c98e74e] .markdown-theme-light pre code{font-family:Consolas!important;font-size:13px;line-height:22px!important;color:#444}[data-v-7c98e74e] .markdown-theme-light .hljs{display:block;overflow-x:auto;color:#525252;padding:15px;-webkit-text-size-adjust:none}[data-v-7c98e74e] .markdown-theme-light .hljs-doctype{color:#999}[data-v-7c98e74e] .markdown-theme-light .hljs-tag{color:#3e76f6}[data-v-7c98e74e] .markdown-theme-light .hljs-attribute{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .hljs-value{color:#42b983}[data-v-7c98e74e] .markdown-theme-light .hljs-keyword{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .hljs-string{color:#42b983}[data-v-7c98e74e] .markdown-theme-light .hljs-comment{color:#b3b3b3}[data-v-7c98e74e] .markdown-theme-light .hljs-operator .hljs-comment{color:#525252}[data-v-7c98e74e] .markdown-theme-light .hljs-regexp{color:#af7dff}[data-v-7c98e74e] .markdown-theme-light .hljs-built_in{color:#2db7f5}[data-v-7c98e74e] .markdown-theme-light .css .hljs-class{color:#e96900}[data-v-7c98e74e] .markdown-theme-light .css .hljs-number,[data-v-7c98e74e] .markdown-theme-light .javascript .hljs-number{color:#fc1e70}[data-v-7c98e74e] .markdown-theme-light .css .hljs-attribute{color:#af7dff}[data-v-7c98e74e] .markdown-theme-light .css .hljs-important{color:red}[data-v-7c98e74e] .markdown-theme-light .actionscript .hljs-literal,[data-v-7c98e74e] .markdown-theme-light .javascript .hljs-literal{color:#fc1e70}[data-v-7c98e74e] .markdown-theme-light pre{padding:0;margin:0;background:#f7f7f7!important}[data-v-7c98e74e] .markdown-theme-light code{display:inline-block;background:#f7f7f7;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;margin:0 3px;padding:1px 5px;border-radius:3px;color:#666;border:1px solid #eee}[data-v-7c98e74e] .markdown-theme-light pre code{display:inline;margin:0;padding:0;border:none;background:transparent}[data-v-7c98e74e] .markdown-theme-light pre.bg code{background:#f7f7f7}[data-v-7c98e74e] .markdown-theme-dark pre{display:block;padding:20px 10px!important;border-radius:4px;margin:20px 0!important;background:#1e1e1e;color:#dcdcdc;overflow-y:hidden!important;overflow-x:auto!important;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-7c98e74e] .markdown-theme-dark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-7c98e74e] .markdown-theme-dark code{padding:0!important;margin:0!important}[data-v-7c98e74e] .markdown-theme-dark .hljs-literal,[data-v-7c98e74e] .markdown-theme-dark .hljs-name,[data-v-7c98e74e] .markdown-theme-dark .hljs-symbol{color:#659bd1}[data-v-7c98e74e] .markdown-theme-dark .hljs-keyword{color:#bc89bd}[data-v-7c98e74e] .markdown-theme-dark .hljs-link{color:#569cd6;text-decoration:underline}[data-v-7c98e74e] .markdown-theme-dark .hljs-built_in,[data-v-7c98e74e] .markdown-theme-dark .hljs-type{color:#4ec9b0}[data-v-7c98e74e] .markdown-theme-dark .hljs-class,[data-v-7c98e74e] .markdown-theme-dark .hljs-number{color:#b8d7a3}[data-v-7c98e74e] .markdown-theme-dark .hljs-meta-string,[data-v-7c98e74e] .markdown-theme-dark .hljs-string{color:#d69d85}[data-v-7c98e74e] .markdown-theme-dark .hljs-regexp,[data-v-7c98e74e] .markdown-theme-dark .hljs-template-tag{color:#9a5334}[data-v-7c98e74e] .markdown-theme-dark .hljs-formula,[data-v-7c98e74e] .markdown-theme-dark .hljs-function,[data-v-7c98e74e] .markdown-theme-dark .hljs-params,[data-v-7c98e74e] .markdown-theme-dark .hljs-subst,[data-v-7c98e74e] .markdown-theme-dark .hljs-title{color:#dcdcdc}[data-v-7c98e74e] .markdown-theme-dark .hljs-comment,[data-v-7c98e74e] .markdown-theme-dark .hljs-quote{color:#57a64a;font-style:italic}[data-v-7c98e74e] .markdown-theme-dark .hljs-doctag{color:#608b4e}[data-v-7c98e74e] .markdown-theme-dark .hljs-meta,[data-v-7c98e74e] .markdown-theme-dark .hljs-meta-keyword,[data-v-7c98e74e] .markdown-theme-dark .hljs-tag{color:#9b9b9b}[data-v-7c98e74e] .markdown-theme-dark .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-dark .hljs-variable{color:#bd63c5}[data-v-7c98e74e] .markdown-theme-dark .hljs-attr,[data-v-7c98e74e] .markdown-theme-dark .hljs-attribute,[data-v-7c98e74e] .markdown-theme-dark .hljs-builtin-name{color:#9cdcfe}[data-v-7c98e74e] .markdown-theme-dark .hljs-section{color:gold}[data-v-7c98e74e] .markdown-theme-dark .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-dark .hljs-strong{font-weight:700}[data-v-7c98e74e] .markdown-theme-dark .hljs-bullet,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-attr,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-class,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-pseudo,[data-v-7c98e74e] .markdown-theme-dark .hljs-selector-tag{color:#d7ba7d}[data-v-7c98e74e] .markdown-theme-dark .hljs-addition{background-color:#144212;display:inline-block;width:100%}[data-v-7c98e74e] .markdown-theme-dark .hljs-deletion{background-color:#600;display:inline-block;width:100%}[data-v-7c98e74e] .markdown-theme-dark .hljs-comment{font-style:normal}[data-v-7c98e74e] .markdown-theme-oneDark pre{padding:20px 10px!important;display:block;color:#abb2bf;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace;background:#292c34;border-radius:4px;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-7c98e74e] .markdown-theme-oneDark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-comment,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-quote{color:#5c6370;font-style:italic}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-doctag,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-formula,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-keyword{color:#c678dd}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-deletion,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-name,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-section,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-tag,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-subst{color:#e06c75}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-literal{color:#56b6c2}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-addition,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-attribute,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-meta-string,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-regexp,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-string{color:#98c379}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-built_in,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-class .hljs-title{color:#e6c07b}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-attr,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-number,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-attr,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-class,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-pseudo,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-type,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-variable{color:#d19a66}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-bullet,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-link,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-meta,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-symbol,[data-v-7c98e74e] .markdown-theme-oneDark .hljs-title{color:#61aeee}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-strong{font-weight:700}[data-v-7c98e74e] .markdown-theme-oneDark .hljs-link{text-decoration:underline}[data-v-7c98e74e] .markdown-theme-gitHub pre{padding:20px 10px!important;display:block;overflow-x:auto;color:#333;background:#f7f8fa!important;font-size:13px;line-height:20px;border-radius:4px;margin:10px 0!important;overflow-x:auto!important}[data-v-7c98e74e] .markdown-theme-gitHub pre *{font-family:Consolas!important}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-comment,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-quote{color:#998;font-style:italic}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-selector-tag,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-subst{color:#333;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-keyword{color:#d73a49}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-literal,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-number,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-tag .hljs-attr,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-template-variable,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-variable{color:teal}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-doctag,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-string{color:#d73a49}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-section,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-selector-id,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-title{color:#900;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-subst{font-weight:400}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-class .hljs-title,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-type{color:#458;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-attribute,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-name,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-tag{color:navy;font-weight:400}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-link,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-regexp{color:#009926}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-bullet,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-symbol{color:#990073}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-built_in,[data-v-7c98e74e] .markdown-theme-gitHub .hljs-builtin-name{color:#0086b3}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-meta{color:#999;font-weight:700}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-deletion{background:#fdd}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-addition{background:#dfd}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-emphasis{font-style:italic}[data-v-7c98e74e] .markdown-theme-gitHub .hljs-strong{font-weight:700}body .ivu-modal-wrap.common-preview-image-view .ivu-modal{margin:0;padding:0}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content{background:transparent}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close{display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:#606266;font-size:24px;height:40px;right:40px;top:40px;width:40px}@media (max-width: 640px){body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close{right:24px;top:24px}}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-close .ivu-icon-ios-close{top:0;right:0;font-size:40px;color:#fff}body .ivu-modal-wrap.common-preview-image-view .ivu-modal .ivu-modal-content .ivu-modal-body{padding:0}body .ivu-modal-wrap.common-preview-image-swipe{display:none}.child-view[data-v-ccf0a5d0]{position:absolute;width:100%;min-height:100%;transition:all .3s cubic-bezier(.55,0,.1,1)}/*! * Quill Editor v1.3.7 * https://quilljs.com/ * Copyright (c) 2014, Jason Chen diff --git a/public/js/build/bn.interface.min.7458ab80.js b/public/js/build/bn.interface.min.7ad14d1f.js similarity index 96% rename from public/js/build/bn.interface.min.7458ab80.js rename to public/js/build/bn.interface.min.7ad14d1f.js index 42ea02179..988c8fbf2 100644 --- a/public/js/build/bn.interface.min.7458ab80.js +++ b/public/js/build/bn.interface.min.7ad14d1f.js @@ -1 +1 @@ -import t from"./bn.min.0b81af35.js";import"./app.bd09c684.js";/*! OpenPGP.js v5.7.0 - 2023-03-31 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */class i{constructor(e){if(e===void 0)throw Error("Invalid BigInteger input");this.value=new t(e)}clone(){const e=new i(null);return this.value.copy(e.value),e}iinc(){return this.value.iadd(new t(1)),this}inc(){return this.clone().iinc()}idec(){return this.value.isub(new t(1)),this}dec(){return this.clone().idec()}iadd(e){return this.value.iadd(e.value),this}add(e){return this.clone().iadd(e)}isub(e){return this.value.isub(e.value),this}sub(e){return this.clone().isub(e)}imul(e){return this.value.imul(e.value),this}mul(e){return this.clone().imul(e)}imod(e){return this.value=this.value.umod(e.value),this}mod(e){return this.clone().imod(e)}modExp(e,r){const n=r.isEven()?t.red(r.value):t.mont(r.value),u=this.clone();return u.value=u.value.toRed(n).redPow(e.value).fromRed(),u}modInv(e){if(!this.gcd(e).isOne())throw Error("Inverse does not exist");return new i(this.value.invm(e.value))}gcd(e){return new i(this.value.gcd(e.value))}ileftShift(e){return this.value.ishln(e.value.toNumber()),this}leftShift(e){return this.clone().ileftShift(e)}irightShift(e){return this.value.ishrn(e.value.toNumber()),this}rightShift(e){return this.clone().irightShift(e)}equal(e){return this.value.eq(e.value)}lt(e){return this.value.lt(e.value)}lte(e){return this.value.lte(e.value)}gt(e){return this.value.gt(e.value)}gte(e){return this.value.gte(e.value)}isZero(){return this.value.isZero()}isOne(){return this.value.eq(new t(1))}isNegative(){return this.value.isNeg()}isEven(){return this.value.isEven()}abs(){const e=this.clone();return e.value=e.value.abs(),e}toString(){return this.value.toString()}toNumber(){return this.value.toNumber()}getBit(e){return this.value.testn(e)?1:0}bitLength(){return this.value.bitLength()}byteLength(){return this.value.byteLength()}toUint8Array(e="be",r){return this.value.toArrayLike(Uint8Array,e,r)}}export{i as default}; +import t from"./bn.min.560fdb8a.js";import"./app.139edc4e.js";/*! OpenPGP.js v5.7.0 - 2023-03-31 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */class i{constructor(e){if(e===void 0)throw Error("Invalid BigInteger input");this.value=new t(e)}clone(){const e=new i(null);return this.value.copy(e.value),e}iinc(){return this.value.iadd(new t(1)),this}inc(){return this.clone().iinc()}idec(){return this.value.isub(new t(1)),this}dec(){return this.clone().idec()}iadd(e){return this.value.iadd(e.value),this}add(e){return this.clone().iadd(e)}isub(e){return this.value.isub(e.value),this}sub(e){return this.clone().isub(e)}imul(e){return this.value.imul(e.value),this}mul(e){return this.clone().imul(e)}imod(e){return this.value=this.value.umod(e.value),this}mod(e){return this.clone().imod(e)}modExp(e,r){const n=r.isEven()?t.red(r.value):t.mont(r.value),u=this.clone();return u.value=u.value.toRed(n).redPow(e.value).fromRed(),u}modInv(e){if(!this.gcd(e).isOne())throw Error("Inverse does not exist");return new i(this.value.invm(e.value))}gcd(e){return new i(this.value.gcd(e.value))}ileftShift(e){return this.value.ishln(e.value.toNumber()),this}leftShift(e){return this.clone().ileftShift(e)}irightShift(e){return this.value.ishrn(e.value.toNumber()),this}rightShift(e){return this.clone().irightShift(e)}equal(e){return this.value.eq(e.value)}lt(e){return this.value.lt(e.value)}lte(e){return this.value.lte(e.value)}gt(e){return this.value.gt(e.value)}gte(e){return this.value.gte(e.value)}isZero(){return this.value.isZero()}isOne(){return this.value.eq(new t(1))}isNegative(){return this.value.isNeg()}isEven(){return this.value.isEven()}abs(){const e=this.clone();return e.value=e.value.abs(),e}toString(){return this.value.toString()}toNumber(){return this.value.toNumber()}getBit(e){return this.value.testn(e)?1:0}bitLength(){return this.value.bitLength()}byteLength(){return this.value.byteLength()}toUint8Array(e="be",r){return this.value.toArrayLike(Uint8Array,e,r)}}export{i as default}; diff --git a/public/js/build/bn.min.0b81af35.js b/public/js/build/bn.min.560fdb8a.js similarity index 99% rename from public/js/build/bn.min.0b81af35.js rename to public/js/build/bn.min.560fdb8a.js index a8e2a8482..91d3190c2 100644 --- a/public/js/build/bn.min.0b81af35.js +++ b/public/js/build/bn.min.560fdb8a.js @@ -1 +1 @@ -import{L as ei,O as si}from"./app.bd09c684.js";/*! OpenPGP.js v5.7.0 - 2023-03-31 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */var ui=ei(function(ii){(function(qt,ri){function m(t,h){if(!t)throw Error(h||"Assertion failed")}function et(t,h){t.super_=h;var e=function(){};e.prototype=h.prototype,t.prototype=new e,t.prototype.constructor=t}function s(t,h,e){if(s.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,t!==null&&(h!=="le"&&h!=="be"||(e=h,h=10),this._init(t||0,h||10,e||"be"))}var ot;typeof qt=="object"?qt.exports=s:ri.BN=s,s.BN=s,s.wordSize=26;try{ot=void 0}catch{}function Bt(t,h,e){for(var r=0,i=Math.min(t.length,e),n=h;n=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return r}function Nt(t,h,e,r){for(var i=0,n=Math.min(t.length,e),o=h;o=49?l-49+10:l>=17?l-17+10:l}return i}s.isBN=function(t){return t instanceof s||t!==null&&typeof t=="object"&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,h){return t.cmp(h)>0?t:h},s.min=function(t,h){return t.cmp(h)<0?t:h},s.prototype._init=function(t,h,e){if(typeof t=="number")return this._initNumber(t,h,e);if(typeof t=="object")return this._initArray(t,h,e);h==="hex"&&(h=16),m(h===(0|h)&&h>=2&&h<=36);var r=0;(t=t.toString().replace(/\s+/g,""))[0]==="-"&&r++,h===16?this._parseHex(t,r):this._parseBase(t,h,r),t[0]==="-"&&(this.negative=1),this.strip(),e==="le"&&this._initArray(this.toArray(),h,e)},s.prototype._initNumber=function(t,h,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(m(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),e==="le"&&this._initArray(this.toArray(),h,e)},s.prototype._initArray=function(t,h,e){if(m(typeof t.length=="number"),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var r=0;r=0;r-=3)n=t[r]|t[r-1]<<8|t[r-2]<<16,this.words[i]|=n<>>26-o&67108863,(o+=24)>=26&&(o-=26,i++);else if(e==="le")for(r=0,i=0;r>>26-o&67108863,(o+=24)>=26&&(o-=26,i++);return this.strip()},s.prototype._parseHex=function(t,h){this.length=Math.ceil((t.length-h)/6),this.words=Array(this.length);for(var e=0;e=h;e-=6)i=Bt(t,e,e+6),this.words[r]|=i<>>26-n&4194303,(n+=24)>=26&&(n-=26,r++);e+6!==h&&(i=Bt(t,h,e+6),this.words[r]|=i<>>26-n&4194303),this.strip()},s.prototype._parseBase=function(t,h,e){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=h)r++;r--,i=i/h|0;for(var n=t.length-e,o=n%r,l=Math.min(n,n-o)+e,a=0,u=e;u1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var Lt=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],hi=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],ni=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function It(t,h,e){e.negative=h.negative^t.negative;var r=t.length+h.length|0;e.length=r,r=r-1|0;var i=0|t.words[0],n=0|h.words[0],o=i*n,l=67108863&o,a=o/67108864|0;e.words[0]=l;for(var u=1;u>>26,d=67108863&a,p=Math.min(u,h.length-1),M=Math.max(0,u-t.length+1);M<=p;M++){var v=u-M|0;f+=(o=(i=0|t.words[v])*(n=0|h.words[M])+d)/67108864|0,d=67108863&o}e.words[u]=0|d,a=0|f}return a!==0?e.words[u]=0|a:e.length--,e.strip()}s.prototype.toString=function(t,h){var e;if(h=0|h||1,(t=t||10)===16||t==="hex"){e="";for(var r=0,i=0,n=0;n>>24-r&16777215)!==0||n!==this.length-1?Lt[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,n--)}for(i!==0&&(e=i.toString(16)+e);e.length%h!=0;)e="0"+e;return this.negative!==0&&(e="-"+e),e}if(t===(0|t)&&t>=2&&t<=36){var a=hi[t],u=ni[t];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var d=f.modn(u).toString(t);e=(f=f.idivn(u)).isZero()?d+e:Lt[a-d.length]+d+e}for(this.isZero()&&(e="0"+e);e.length%h!=0;)e="0"+e;return this.negative!==0&&(e="-"+e),e}m(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return this.length===2?t+=67108864*this.words[1]:this.length===3&&this.words[2]===1?t+=4503599627370496+67108864*this.words[1]:this.length>2&&m(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,h){return m(ot!==void 0),this.toArrayLike(ot,t,h)},s.prototype.toArray=function(t,h){return this.toArrayLike(Array,t,h)},s.prototype.toArrayLike=function(t,h,e){var r=this.byteLength(),i=e||Math.max(1,r);m(r<=i,"byte array longer than desired length"),m(i>0,"Requested array length <= 0"),this.strip();var n,o,l=h==="le",a=new t(i),u=this.clone();if(l){for(o=0;!u.isZero();o++)n=u.andln(255),u.iushrn(8),a[o]=n;for(;o=4096&&(e+=13,h>>>=13),h>=64&&(e+=7,h>>>=7),h>=8&&(e+=4,h>>>=4),h>=2&&(e+=2,h>>>=2),e+h},s.prototype._zeroBits=function(t){if(t===0)return 26;var h=t,e=0;return(8191&h)==0&&(e+=13,h>>>=13),(127&h)==0&&(e+=7,h>>>=7),(15&h)==0&&(e+=4,h>>>=4),(3&h)==0&&(e+=2,h>>>=2),(1&h)==0&&e++,e},s.prototype.bitLength=function(){var t=this.words[this.length-1],h=this._countBits(t);return 26*(this.length-1)+h},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,h=0;ht.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var h;h=this.length>t.length?t:this;for(var e=0;et.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var h,e;this.length>t.length?(h=this,e=t):(h=t,e=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){m(typeof t=="number"&&t>=0);var h=0|Math.ceil(t/26),e=t%26;this._expand(h),e>0&&h--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-e),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,h){m(typeof t=="number"&&t>=0);var e=t/26|0,r=t%26;return this._expand(e+1),this.words[e]=h?this.words[e]|1<t.length?(e=this,r=t):(e=t,r=this);for(var i=0,n=0;n>>26;for(;i!==0&&n>>26;if(this.length=e.length,i!==0)this.words[this.length]=i,this.length++;else if(e!==this)for(;nt.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(t.negative!==0){t.negative=0;var h=this.iadd(t);return t.negative=1,h._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var e,r,i=this.cmp(t);if(i===0)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(e=this,r=t):(e=t,r=this);for(var n=0,o=0;o>26,this.words[o]=67108863&h;for(;n!==0&&o>26,this.words[o]=67108863&h;if(n===0&&o>>13,M=0|o[1],v=8191&M,g=M>>>13,rt=0|o[2],c=8191&rt,w=rt>>>13,jt=0|o[3],b=8191&jt,_=jt>>>13,Kt=0|o[4],k=8191&Kt,A=Kt>>>13,Pt=0|o[5],x=8191&Pt,S=Pt>>>13,Ft=0|o[6],Z=8191&Ft,R=Ft>>>13,Ct=0|o[7],q=8191&Ct,B=Ct>>>13,Dt=0|o[8],N=8191&Dt,L=Dt>>>13,Ht=0|o[9],I=8191&Ht,z=Ht>>>13,Jt=0|l[0],E=8191&Jt,O=Jt>>>13,Ut=0|l[1],T=8191&Ut,j=Ut>>>13,Gt=0|l[2],K=8191&Gt,P=Gt>>>13,Qt=0|l[3],F=8191&Qt,C=Qt>>>13,Vt=0|l[4],D=8191&Vt,H=Vt>>>13,Wt=0|l[5],J=8191&Wt,U=Wt>>>13,Xt=0|l[6],G=8191&Xt,Q=Xt>>>13,Yt=0|l[7],V=8191&Yt,W=Yt>>>13,$t=0|l[8],X=8191&$t,Y=$t>>>13,ti=0|l[9],$=8191&ti,tt=ti>>>13;e.negative=t.negative^h.negative,e.length=19;var lt=(u+(r=Math.imul(d,E))|0)+((8191&(i=(i=Math.imul(d,O))+Math.imul(p,E)|0))<<13)|0;u=((n=Math.imul(p,O))+(i>>>13)|0)+(lt>>>26)|0,lt&=67108863,r=Math.imul(v,E),i=(i=Math.imul(v,O))+Math.imul(g,E)|0,n=Math.imul(g,O);var mt=(u+(r=r+Math.imul(d,T)|0)|0)+((8191&(i=(i=i+Math.imul(d,j)|0)+Math.imul(p,T)|0))<<13)|0;u=((n=n+Math.imul(p,j)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(c,E),i=(i=Math.imul(c,O))+Math.imul(w,E)|0,n=Math.imul(w,O),r=r+Math.imul(v,T)|0,i=(i=i+Math.imul(v,j)|0)+Math.imul(g,T)|0,n=n+Math.imul(g,j)|0;var ft=(u+(r=r+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,P)|0)+Math.imul(p,K)|0))<<13)|0;u=((n=n+Math.imul(p,P)|0)+(i>>>13)|0)+(ft>>>26)|0,ft&=67108863,r=Math.imul(b,E),i=(i=Math.imul(b,O))+Math.imul(_,E)|0,n=Math.imul(_,O),r=r+Math.imul(c,T)|0,i=(i=i+Math.imul(c,j)|0)+Math.imul(w,T)|0,n=n+Math.imul(w,j)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,P)|0)+Math.imul(g,K)|0,n=n+Math.imul(g,P)|0;var dt=(u+(r=r+Math.imul(d,F)|0)|0)+((8191&(i=(i=i+Math.imul(d,C)|0)+Math.imul(p,F)|0))<<13)|0;u=((n=n+Math.imul(p,C)|0)+(i>>>13)|0)+(dt>>>26)|0,dt&=67108863,r=Math.imul(k,E),i=(i=Math.imul(k,O))+Math.imul(A,E)|0,n=Math.imul(A,O),r=r+Math.imul(b,T)|0,i=(i=i+Math.imul(b,j)|0)+Math.imul(_,T)|0,n=n+Math.imul(_,j)|0,r=r+Math.imul(c,K)|0,i=(i=i+Math.imul(c,P)|0)+Math.imul(w,K)|0,n=n+Math.imul(w,P)|0,r=r+Math.imul(v,F)|0,i=(i=i+Math.imul(v,C)|0)+Math.imul(g,F)|0,n=n+Math.imul(g,C)|0;var pt=(u+(r=r+Math.imul(d,D)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(p,D)|0))<<13)|0;u=((n=n+Math.imul(p,H)|0)+(i>>>13)|0)+(pt>>>26)|0,pt&=67108863,r=Math.imul(x,E),i=(i=Math.imul(x,O))+Math.imul(S,E)|0,n=Math.imul(S,O),r=r+Math.imul(k,T)|0,i=(i=i+Math.imul(k,j)|0)+Math.imul(A,T)|0,n=n+Math.imul(A,j)|0,r=r+Math.imul(b,K)|0,i=(i=i+Math.imul(b,P)|0)+Math.imul(_,K)|0,n=n+Math.imul(_,P)|0,r=r+Math.imul(c,F)|0,i=(i=i+Math.imul(c,C)|0)+Math.imul(w,F)|0,n=n+Math.imul(w,C)|0,r=r+Math.imul(v,D)|0,i=(i=i+Math.imul(v,H)|0)+Math.imul(g,D)|0,n=n+Math.imul(g,H)|0;var Mt=(u+(r=r+Math.imul(d,J)|0)|0)+((8191&(i=(i=i+Math.imul(d,U)|0)+Math.imul(p,J)|0))<<13)|0;u=((n=n+Math.imul(p,U)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(Z,E),i=(i=Math.imul(Z,O))+Math.imul(R,E)|0,n=Math.imul(R,O),r=r+Math.imul(x,T)|0,i=(i=i+Math.imul(x,j)|0)+Math.imul(S,T)|0,n=n+Math.imul(S,j)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,P)|0)+Math.imul(A,K)|0,n=n+Math.imul(A,P)|0,r=r+Math.imul(b,F)|0,i=(i=i+Math.imul(b,C)|0)+Math.imul(_,F)|0,n=n+Math.imul(_,C)|0,r=r+Math.imul(c,D)|0,i=(i=i+Math.imul(c,H)|0)+Math.imul(w,D)|0,n=n+Math.imul(w,H)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,U)|0)+Math.imul(g,J)|0,n=n+Math.imul(g,U)|0;var vt=(u+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(p,G)|0))<<13)|0;u=((n=n+Math.imul(p,Q)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(q,E),i=(i=Math.imul(q,O))+Math.imul(B,E)|0,n=Math.imul(B,O),r=r+Math.imul(Z,T)|0,i=(i=i+Math.imul(Z,j)|0)+Math.imul(R,T)|0,n=n+Math.imul(R,j)|0,r=r+Math.imul(x,K)|0,i=(i=i+Math.imul(x,P)|0)+Math.imul(S,K)|0,n=n+Math.imul(S,P)|0,r=r+Math.imul(k,F)|0,i=(i=i+Math.imul(k,C)|0)+Math.imul(A,F)|0,n=n+Math.imul(A,C)|0,r=r+Math.imul(b,D)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(_,D)|0,n=n+Math.imul(_,H)|0,r=r+Math.imul(c,J)|0,i=(i=i+Math.imul(c,U)|0)+Math.imul(w,J)|0,n=n+Math.imul(w,U)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(g,G)|0,n=n+Math.imul(g,Q)|0;var gt=(u+(r=r+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(p,V)|0))<<13)|0;u=((n=n+Math.imul(p,W)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(N,E),i=(i=Math.imul(N,O))+Math.imul(L,E)|0,n=Math.imul(L,O),r=r+Math.imul(q,T)|0,i=(i=i+Math.imul(q,j)|0)+Math.imul(B,T)|0,n=n+Math.imul(B,j)|0,r=r+Math.imul(Z,K)|0,i=(i=i+Math.imul(Z,P)|0)+Math.imul(R,K)|0,n=n+Math.imul(R,P)|0,r=r+Math.imul(x,F)|0,i=(i=i+Math.imul(x,C)|0)+Math.imul(S,F)|0,n=n+Math.imul(S,C)|0,r=r+Math.imul(k,D)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(A,D)|0,n=n+Math.imul(A,H)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,U)|0)+Math.imul(_,J)|0,n=n+Math.imul(_,U)|0,r=r+Math.imul(c,G)|0,i=(i=i+Math.imul(c,Q)|0)+Math.imul(w,G)|0,n=n+Math.imul(w,Q)|0,r=r+Math.imul(v,V)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(g,V)|0,n=n+Math.imul(g,W)|0;var ct=(u+(r=r+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(p,X)|0))<<13)|0;u=((n=n+Math.imul(p,Y)|0)+(i>>>13)|0)+(ct>>>26)|0,ct&=67108863,r=Math.imul(I,E),i=(i=Math.imul(I,O))+Math.imul(z,E)|0,n=Math.imul(z,O),r=r+Math.imul(N,T)|0,i=(i=i+Math.imul(N,j)|0)+Math.imul(L,T)|0,n=n+Math.imul(L,j)|0,r=r+Math.imul(q,K)|0,i=(i=i+Math.imul(q,P)|0)+Math.imul(B,K)|0,n=n+Math.imul(B,P)|0,r=r+Math.imul(Z,F)|0,i=(i=i+Math.imul(Z,C)|0)+Math.imul(R,F)|0,n=n+Math.imul(R,C)|0,r=r+Math.imul(x,D)|0,i=(i=i+Math.imul(x,H)|0)+Math.imul(S,D)|0,n=n+Math.imul(S,H)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,U)|0)+Math.imul(A,J)|0,n=n+Math.imul(A,U)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(_,G)|0,n=n+Math.imul(_,Q)|0,r=r+Math.imul(c,V)|0,i=(i=i+Math.imul(c,W)|0)+Math.imul(w,V)|0,n=n+Math.imul(w,W)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(g,X)|0,n=n+Math.imul(g,Y)|0;var wt=(u+(r=r+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,tt)|0)+Math.imul(p,$)|0))<<13)|0;u=((n=n+Math.imul(p,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(I,T),i=(i=Math.imul(I,j))+Math.imul(z,T)|0,n=Math.imul(z,j),r=r+Math.imul(N,K)|0,i=(i=i+Math.imul(N,P)|0)+Math.imul(L,K)|0,n=n+Math.imul(L,P)|0,r=r+Math.imul(q,F)|0,i=(i=i+Math.imul(q,C)|0)+Math.imul(B,F)|0,n=n+Math.imul(B,C)|0,r=r+Math.imul(Z,D)|0,i=(i=i+Math.imul(Z,H)|0)+Math.imul(R,D)|0,n=n+Math.imul(R,H)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,U)|0)+Math.imul(S,J)|0,n=n+Math.imul(S,U)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,Q)|0)+Math.imul(A,G)|0,n=n+Math.imul(A,Q)|0,r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,W)|0,r=r+Math.imul(c,X)|0,i=(i=i+Math.imul(c,Y)|0)+Math.imul(w,X)|0,n=n+Math.imul(w,Y)|0;var yt=(u+(r=r+Math.imul(v,$)|0)|0)+((8191&(i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,$)|0))<<13)|0;u=((n=n+Math.imul(g,tt)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(I,K),i=(i=Math.imul(I,P))+Math.imul(z,K)|0,n=Math.imul(z,P),r=r+Math.imul(N,F)|0,i=(i=i+Math.imul(N,C)|0)+Math.imul(L,F)|0,n=n+Math.imul(L,C)|0,r=r+Math.imul(q,D)|0,i=(i=i+Math.imul(q,H)|0)+Math.imul(B,D)|0,n=n+Math.imul(B,H)|0,r=r+Math.imul(Z,J)|0,i=(i=i+Math.imul(Z,U)|0)+Math.imul(R,J)|0,n=n+Math.imul(R,U)|0,r=r+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(S,G)|0,n=n+Math.imul(S,Q)|0,r=r+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(A,V)|0,n=n+Math.imul(A,W)|0,r=r+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(_,X)|0,n=n+Math.imul(_,Y)|0;var bt=(u+(r=r+Math.imul(c,$)|0)|0)+((8191&(i=(i=i+Math.imul(c,tt)|0)+Math.imul(w,$)|0))<<13)|0;u=((n=n+Math.imul(w,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(I,F),i=(i=Math.imul(I,C))+Math.imul(z,F)|0,n=Math.imul(z,C),r=r+Math.imul(N,D)|0,i=(i=i+Math.imul(N,H)|0)+Math.imul(L,D)|0,n=n+Math.imul(L,H)|0,r=r+Math.imul(q,J)|0,i=(i=i+Math.imul(q,U)|0)+Math.imul(B,J)|0,n=n+Math.imul(B,U)|0,r=r+Math.imul(Z,G)|0,i=(i=i+Math.imul(Z,Q)|0)+Math.imul(R,G)|0,n=n+Math.imul(R,Q)|0,r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(S,V)|0,n=n+Math.imul(S,W)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(A,X)|0,n=n+Math.imul(A,Y)|0;var _t=(u+(r=r+Math.imul(b,$)|0)|0)+((8191&(i=(i=i+Math.imul(b,tt)|0)+Math.imul(_,$)|0))<<13)|0;u=((n=n+Math.imul(_,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(I,D),i=(i=Math.imul(I,H))+Math.imul(z,D)|0,n=Math.imul(z,H),r=r+Math.imul(N,J)|0,i=(i=i+Math.imul(N,U)|0)+Math.imul(L,J)|0,n=n+Math.imul(L,U)|0,r=r+Math.imul(q,G)|0,i=(i=i+Math.imul(q,Q)|0)+Math.imul(B,G)|0,n=n+Math.imul(B,Q)|0,r=r+Math.imul(Z,V)|0,i=(i=i+Math.imul(Z,W)|0)+Math.imul(R,V)|0,n=n+Math.imul(R,W)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,X)|0,n=n+Math.imul(S,Y)|0;var kt=(u+(r=r+Math.imul(k,$)|0)|0)+((8191&(i=(i=i+Math.imul(k,tt)|0)+Math.imul(A,$)|0))<<13)|0;u=((n=n+Math.imul(A,tt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(I,J),i=(i=Math.imul(I,U))+Math.imul(z,J)|0,n=Math.imul(z,U),r=r+Math.imul(N,G)|0,i=(i=i+Math.imul(N,Q)|0)+Math.imul(L,G)|0,n=n+Math.imul(L,Q)|0,r=r+Math.imul(q,V)|0,i=(i=i+Math.imul(q,W)|0)+Math.imul(B,V)|0,n=n+Math.imul(B,W)|0,r=r+Math.imul(Z,X)|0,i=(i=i+Math.imul(Z,Y)|0)+Math.imul(R,X)|0,n=n+Math.imul(R,Y)|0;var At=(u+(r=r+Math.imul(x,$)|0)|0)+((8191&(i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,$)|0))<<13)|0;u=((n=n+Math.imul(S,tt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(I,G),i=(i=Math.imul(I,Q))+Math.imul(z,G)|0,n=Math.imul(z,Q),r=r+Math.imul(N,V)|0,i=(i=i+Math.imul(N,W)|0)+Math.imul(L,V)|0,n=n+Math.imul(L,W)|0,r=r+Math.imul(q,X)|0,i=(i=i+Math.imul(q,Y)|0)+Math.imul(B,X)|0,n=n+Math.imul(B,Y)|0;var xt=(u+(r=r+Math.imul(Z,$)|0)|0)+((8191&(i=(i=i+Math.imul(Z,tt)|0)+Math.imul(R,$)|0))<<13)|0;u=((n=n+Math.imul(R,tt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(I,V),i=(i=Math.imul(I,W))+Math.imul(z,V)|0,n=Math.imul(z,W),r=r+Math.imul(N,X)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(L,X)|0,n=n+Math.imul(L,Y)|0;var St=(u+(r=r+Math.imul(q,$)|0)|0)+((8191&(i=(i=i+Math.imul(q,tt)|0)+Math.imul(B,$)|0))<<13)|0;u=((n=n+Math.imul(B,tt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,X),i=(i=Math.imul(I,Y))+Math.imul(z,X)|0,n=Math.imul(z,Y);var Zt=(u+(r=r+Math.imul(N,$)|0)|0)+((8191&(i=(i=i+Math.imul(N,tt)|0)+Math.imul(L,$)|0))<<13)|0;u=((n=n+Math.imul(L,tt)|0)+(i>>>13)|0)+(Zt>>>26)|0,Zt&=67108863;var Rt=(u+(r=Math.imul(I,$))|0)+((8191&(i=(i=Math.imul(I,tt))+Math.imul(z,$)|0))<<13)|0;return u=((n=Math.imul(z,tt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,a[0]=lt,a[1]=mt,a[2]=ft,a[3]=dt,a[4]=pt,a[5]=Mt,a[6]=vt,a[7]=gt,a[8]=ct,a[9]=wt,a[10]=yt,a[11]=bt,a[12]=_t,a[13]=kt,a[14]=At,a[15]=xt,a[16]=St,a[17]=Zt,a[18]=Rt,u!==0&&(a[19]=u,e.length++),e};function Et(t,h,e){return new ht().mulp(t,h,e)}function ht(t,h){this.x=t,this.y=h}Math.imul||(zt=It),s.prototype.mulTo=function(t,h){var e,r=this.length+t.length;return e=this.length===10&&t.length===10?zt(this,t,h):r<63?It(this,t,h):r<1024?function(i,n,o){o.negative=n.negative^i.negative,o.length=i.length+n.length;for(var l=0,a=0,u=0;u>>26)|0)>>>26,f&=67108863}o.words[u]=d,l=f,f=a}return l!==0?o.words[u]=l:o.length--,o.strip()}(this,t,h):Et(this,t,h),e},ht.prototype.makeRBT=function(t){for(var h=Array(t),e=s.prototype._countBits(t)-1,r=0;r>=1;return r},ht.prototype.permute=function(t,h,e,r,i,n){for(var o=0;o>>=1)i++;return 1<>>=13,e[2*n+1]=8191&i,i>>>=13;for(n=2*h;n>=26,h+=r/67108864|0,h+=i>>>26,this.words[e]=67108863&i}return h!==0&&(this.words[e]=h,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var h=function(n){for(var o=Array(n.bitLength()),l=0;l>>u}return o}(t);if(h.length===0)return new s(1);for(var e=this,r=0;r=0);var h,e=t%26,r=(t-e)/26,i=67108863>>>26-e<<26-e;if(e!==0){var n=0;for(h=0;h>>26-e}n&&(this.words[h]=n,this.length++)}if(r!==0){for(h=this.length-1;h>=0;h--)this.words[h+r]=this.words[h];for(h=0;h=0),r=h?(h-h%26)/26:0;var i=t%26,n=Math.min((t-i)/26,this.length),o=67108863^67108863>>>i<n)for(this.length-=n,a=0;a=0&&(u!==0||a>=r);a--){var f=0|this.words[a];this.words[a]=u<<26-i|f>>>i,u=f&o}return l&&u!==0&&(l.words[l.length++]=u),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,h,e){return m(this.negative===0),this.iushrn(t,h,e)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){m(typeof t=="number"&&t>=0);var h=t%26,e=(t-h)/26,r=1<=0);var h=t%26,e=(t-h)/26;if(m(this.negative===0,"imaskn works only with positive numbers"),this.length<=e)return this;if(h!==0&&e++,this.length=Math.min(e,this.length),h!==0){var r=67108863^67108863>>>h<=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},s.prototype.isubn=function(t){if(m(typeof t=="number"),m(t<67108864),t<0)return this.iaddn(-t);if(this.negative!==0)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h>26)-(l/67108864|0),this.words[r+e]=67108863&i}for(;r>26,this.words[r+e]=67108863&i;if(o===0)return this.strip();for(m(o===-1),o=0,r=0;r>26,this.words[r]=67108863&i;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,h){var e=(this.length,t.length),r=this.clone(),i=t,n=0|i.words[i.length-1];(e=26-this._countBits(n))!==0&&(i=i.ushln(e),r.iushln(e),n=0|i.words[i.length-1]);var o,l=r.length-i.length;if(h!=="mod"){(o=new s(null)).length=l+1,o.words=Array(o.length);for(var a=0;a=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/n|0,67108863),r._ishlnsubmul(i,d,f);r.negative!==0;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);o&&(o.words[f]=d)}return o&&o.strip(),r.strip(),h!=="div"&&e!==0&&r.iushrn(e),{div:o||null,mod:r}},s.prototype.divmod=function(t,h,e){return m(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&&t.negative===0?(n=this.neg().divmod(t,h),h!=="mod"&&(r=n.div.neg()),h!=="div"&&(i=n.mod.neg(),e&&i.negative!==0&&i.iadd(t)),{div:r,mod:i}):this.negative===0&&t.negative!==0?(n=this.divmod(t.neg(),h),h!=="mod"&&(r=n.div.neg()),{div:r,mod:n.mod}):(this.negative&t.negative)!=0?(n=this.neg().divmod(t.neg(),h),h!=="div"&&(i=n.mod.neg(),e&&i.negative!==0&&i.isub(t)),{div:n.div,mod:i}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:t.length===1?h==="div"?{div:this.divn(t.words[0]),mod:null}:h==="mod"?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,h);var r,i,n},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var h=this.divmod(t);if(h.mod.isZero())return h.div;var e=h.div.negative!==0?h.mod.isub(t):h.mod,r=t.ushrn(1),i=t.andln(1),n=e.cmp(r);return n<0||i===1&&n===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},s.prototype.modn=function(t){m(t<=67108863);for(var h=(1<<26)%t,e=0,r=this.length-1;r>=0;r--)e=(h*e+(0|this.words[r]))%t;return e},s.prototype.idivn=function(t){m(t<=67108863);for(var h=0,e=this.length-1;e>=0;e--){var r=(0|this.words[e])+67108864*h;this.words[e]=r/t|0,h=r%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){m(t.negative===0),m(!t.isZero());var h=this,e=t.clone();h=h.negative!==0?h.umod(t):h.clone();for(var r=new s(1),i=new s(0),n=new s(0),o=new s(1),l=0;h.isEven()&&e.isEven();)h.iushrn(1),e.iushrn(1),++l;for(var a=e.clone(),u=h.clone();!h.isZero();){for(var f=0,d=1;(h.words[0]&d)==0&&f<26;++f,d<<=1);if(f>0)for(h.iushrn(f);f-- >0;)(r.isOdd()||i.isOdd())&&(r.iadd(a),i.isub(u)),r.iushrn(1),i.iushrn(1);for(var p=0,M=1;(e.words[0]&M)==0&&p<26;++p,M<<=1);if(p>0)for(e.iushrn(p);p-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(a),o.isub(u)),n.iushrn(1),o.iushrn(1);h.cmp(e)>=0?(h.isub(e),r.isub(n),i.isub(o)):(e.isub(h),n.isub(r),o.isub(i))}return{a:n,b:o,gcd:e.iushln(l)}},s.prototype._invmp=function(t){m(t.negative===0),m(!t.isZero());var h=this,e=t.clone();h=h.negative!==0?h.umod(t):h.clone();for(var r,i=new s(1),n=new s(0),o=e.clone();h.cmpn(1)>0&&e.cmpn(1)>0;){for(var l=0,a=1;(h.words[0]&a)==0&&l<26;++l,a<<=1);if(l>0)for(h.iushrn(l);l-- >0;)i.isOdd()&&i.iadd(o),i.iushrn(1);for(var u=0,f=1;(e.words[0]&f)==0&&u<26;++u,f<<=1);if(u>0)for(e.iushrn(u);u-- >0;)n.isOdd()&&n.iadd(o),n.iushrn(1);h.cmp(e)>=0?(h.isub(e),i.isub(n)):(e.isub(h),n.isub(i))}return(r=h.cmpn(1)===0?i:n).cmpn(0)<0&&r.iadd(t),r},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var h=this.clone(),e=t.clone();h.negative=0,e.negative=0;for(var r=0;h.isEven()&&e.isEven();r++)h.iushrn(1),e.iushrn(1);for(;;){for(;h.isEven();)h.iushrn(1);for(;e.isEven();)e.iushrn(1);var i=h.cmp(e);if(i<0){var n=h;h=e,e=n}else if(i===0||e.cmpn(1)===0)break;h.isub(e)}return e.iushln(r)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return(1&this.words[0])==0},s.prototype.isOdd=function(){return(1&this.words[0])==1},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){m(typeof t=="number");var h=t%26,e=(t-h)/26,r=1<>>26,o&=67108863,this.words[n]=o}return i!==0&&(this.words[n]=i,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(t){var h,e=t<0;if(this.negative!==0&&!e)return-1;if(this.negative===0&&e)return 1;if(this.strip(),this.length>1)h=1;else{e&&(t=-t),m(t<=67108863,"Number is too big");var r=0|this.words[0];h=r===t?0:rt.length)return 1;if(this.length=0;e--){var r=0|this.words[e],i=0|t.words[e];if(r!==i){ri&&(h=1);break}}return h},s.prototype.gtn=function(t){return this.cmpn(t)===1},s.prototype.gt=function(t){return this.cmp(t)===1},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return this.cmpn(t)===-1},s.prototype.lt=function(t){return this.cmp(t)===-1},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return this.cmpn(t)===0},s.prototype.eq=function(t){return this.cmp(t)===0},s.red=function(t){return new y(t)},s.prototype.toRed=function(t){return m(!this.red,"Already a number in reduction context"),m(this.negative===0,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return m(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return m(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return m(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return m(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return m(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return m(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return m(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return m(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return m(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return m(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return m(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return m(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return m(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return m(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return m(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var ut={k256:null,p224:null,p192:null,p25519:null};function it(t,h){this.name=t,this.p=new s(h,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function st(){it.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Ot(){it.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function Tt(){it.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function at(){it.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(t){if(typeof t=="string"){var h=s._prime(t);this.m=h.p,this.prime=h}else m(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function nt(t){y.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}it.prototype._tmp=function(){var t=new s(null);return t.words=Array(Math.ceil(this.n/13)),t},it.prototype.ireduce=function(t){var h,e=t;do this.split(e,this.tmp),h=(e=(e=this.imulK(e)).iadd(this.tmp)).bitLength();while(h>this.n);var r=h0?e.isub(this.p):e.strip(),e},it.prototype.split=function(t,h){t.iushrn(this.n,0,h)},it.prototype.imulK=function(t){return t.imul(this.k)},et(st,it),st.prototype.split=function(t,h){for(var e=4194303,r=Math.min(t.length,9),i=0;i>>22,n=o}n>>>=22,t.words[i-10]=n,n===0&&t.length>10?t.length-=10:t.length-=9},st.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var h=0,e=0;e>>=26,t.words[e]=i,h=r}return h!==0&&(t.words[t.length++]=h),t},s._prime=function(t){if(ut[t])return ut[t];var h;if(t==="k256")h=new st;else if(t==="p224")h=new Ot;else if(t==="p192")h=new Tt;else{if(t!=="p25519")throw Error("Unknown prime "+t);h=new at}return ut[t]=h,h},y.prototype._verify1=function(t){m(t.negative===0,"red works only with positives"),m(t.red,"red works only with red numbers")},y.prototype._verify2=function(t,h){m((t.negative|h.negative)==0,"red works only with positives"),m(t.red&&t.red===h.red,"red works only with red numbers")},y.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},y.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},y.prototype.add=function(t,h){this._verify2(t,h);var e=t.add(h);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},y.prototype.iadd=function(t,h){this._verify2(t,h);var e=t.iadd(h);return e.cmp(this.m)>=0&&e.isub(this.m),e},y.prototype.sub=function(t,h){this._verify2(t,h);var e=t.sub(h);return e.cmpn(0)<0&&e.iadd(this.m),e._forceRed(this)},y.prototype.isub=function(t,h){this._verify2(t,h);var e=t.isub(h);return e.cmpn(0)<0&&e.iadd(this.m),e},y.prototype.shl=function(t,h){return this._verify1(t),this.imod(t.ushln(h))},y.prototype.imul=function(t,h){return this._verify2(t,h),this.imod(t.imul(h))},y.prototype.mul=function(t,h){return this._verify2(t,h),this.imod(t.mul(h))},y.prototype.isqr=function(t){return this.imul(t,t.clone())},y.prototype.sqr=function(t){return this.mul(t,t)},y.prototype.sqrt=function(t){if(t.isZero())return t.clone();var h=this.m.andln(3);if(m(h%2==1),h===3){var e=this.m.add(new s(1)).iushrn(2);return this.pow(t,e)}for(var r=this.m.subn(1),i=0;!r.isZero()&&r.andln(1)===0;)i++,r.iushrn(1);m(!r.isZero());var n=new s(1).toRed(this),o=n.redNeg(),l=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new s(2*a*a).toRed(this);this.pow(a,l).cmp(o)!==0;)a.redIAdd(o);for(var u=this.pow(a,r),f=this.pow(t,r.addn(1).iushrn(1)),d=this.pow(t,r),p=i;d.cmp(n)!==0;){for(var M=d,v=0;M.cmp(n)!==0;v++)M=M.redSqr();m(v=0;r--){for(var a=h.words[r],u=l-1;u>=0;u--){var f=a>>u&1;i!==e[0]&&(i=this.sqr(i)),f!==0||n!==0?(n<<=1,n|=f,(++o===4||r===0&&u===0)&&(i=this.mul(i,e[n]),o=0,n=0)):o=0}l=26}return i},y.prototype.convertTo=function(t){var h=t.umod(this.m);return h===t?h.clone():h},y.prototype.convertFrom=function(t){var h=t.clone();return h.red=null,h},s.mont=function(t){return new nt(t)},et(nt,y),nt.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},nt.prototype.convertFrom=function(t){var h=this.imod(t.mul(this.rinv));return h.red=null,h},nt.prototype.imul=function(t,h){if(t.isZero()||h.isZero())return t.words[0]=0,t.length=1,t;var e=t.imul(h),r=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=e.isub(r).iushrn(this.shift),n=i;return i.cmp(this.m)>=0?n=i.isub(this.m):i.cmpn(0)<0&&(n=i.iadd(this.m)),n._forceRed(this)},nt.prototype.mul=function(t,h){if(t.isZero()||h.isZero())return new s(0)._forceRed(this);var e=t.mul(h),r=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=e.isub(r).iushrn(this.shift),n=i;return i.cmp(this.m)>=0?n=i.isub(this.m):i.cmpn(0)<0&&(n=i.iadd(this.m)),n._forceRed(this)},nt.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}})(ii,si)});export{ui as __moduleExports,ui as default}; +import{L as ei,O as si}from"./app.139edc4e.js";/*! OpenPGP.js v5.7.0 - 2023-03-31 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */var ui=ei(function(ii){(function(qt,ri){function m(t,h){if(!t)throw Error(h||"Assertion failed")}function et(t,h){t.super_=h;var e=function(){};e.prototype=h.prototype,t.prototype=new e,t.prototype.constructor=t}function s(t,h,e){if(s.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,t!==null&&(h!=="le"&&h!=="be"||(e=h,h=10),this._init(t||0,h||10,e||"be"))}var ot;typeof qt=="object"?qt.exports=s:ri.BN=s,s.BN=s,s.wordSize=26;try{ot=void 0}catch{}function Bt(t,h,e){for(var r=0,i=Math.min(t.length,e),n=h;n=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return r}function Nt(t,h,e,r){for(var i=0,n=Math.min(t.length,e),o=h;o=49?l-49+10:l>=17?l-17+10:l}return i}s.isBN=function(t){return t instanceof s||t!==null&&typeof t=="object"&&t.constructor.wordSize===s.wordSize&&Array.isArray(t.words)},s.max=function(t,h){return t.cmp(h)>0?t:h},s.min=function(t,h){return t.cmp(h)<0?t:h},s.prototype._init=function(t,h,e){if(typeof t=="number")return this._initNumber(t,h,e);if(typeof t=="object")return this._initArray(t,h,e);h==="hex"&&(h=16),m(h===(0|h)&&h>=2&&h<=36);var r=0;(t=t.toString().replace(/\s+/g,""))[0]==="-"&&r++,h===16?this._parseHex(t,r):this._parseBase(t,h,r),t[0]==="-"&&(this.negative=1),this.strip(),e==="le"&&this._initArray(this.toArray(),h,e)},s.prototype._initNumber=function(t,h,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(m(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),e==="le"&&this._initArray(this.toArray(),h,e)},s.prototype._initArray=function(t,h,e){if(m(typeof t.length=="number"),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=Array(this.length);for(var r=0;r=0;r-=3)n=t[r]|t[r-1]<<8|t[r-2]<<16,this.words[i]|=n<>>26-o&67108863,(o+=24)>=26&&(o-=26,i++);else if(e==="le")for(r=0,i=0;r>>26-o&67108863,(o+=24)>=26&&(o-=26,i++);return this.strip()},s.prototype._parseHex=function(t,h){this.length=Math.ceil((t.length-h)/6),this.words=Array(this.length);for(var e=0;e=h;e-=6)i=Bt(t,e,e+6),this.words[r]|=i<>>26-n&4194303,(n+=24)>=26&&(n-=26,r++);e+6!==h&&(i=Bt(t,h,e+6),this.words[r]|=i<>>26-n&4194303),this.strip()},s.prototype._parseBase=function(t,h,e){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=h)r++;r--,i=i/h|0;for(var n=t.length-e,o=n%r,l=Math.min(n,n-o)+e,a=0,u=e;u1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},s.prototype.inspect=function(){return(this.red?""};var Lt=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],hi=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],ni=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function It(t,h,e){e.negative=h.negative^t.negative;var r=t.length+h.length|0;e.length=r,r=r-1|0;var i=0|t.words[0],n=0|h.words[0],o=i*n,l=67108863&o,a=o/67108864|0;e.words[0]=l;for(var u=1;u>>26,d=67108863&a,p=Math.min(u,h.length-1),M=Math.max(0,u-t.length+1);M<=p;M++){var v=u-M|0;f+=(o=(i=0|t.words[v])*(n=0|h.words[M])+d)/67108864|0,d=67108863&o}e.words[u]=0|d,a=0|f}return a!==0?e.words[u]=0|a:e.length--,e.strip()}s.prototype.toString=function(t,h){var e;if(h=0|h||1,(t=t||10)===16||t==="hex"){e="";for(var r=0,i=0,n=0;n>>24-r&16777215)!==0||n!==this.length-1?Lt[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,n--)}for(i!==0&&(e=i.toString(16)+e);e.length%h!=0;)e="0"+e;return this.negative!==0&&(e="-"+e),e}if(t===(0|t)&&t>=2&&t<=36){var a=hi[t],u=ni[t];e="";var f=this.clone();for(f.negative=0;!f.isZero();){var d=f.modn(u).toString(t);e=(f=f.idivn(u)).isZero()?d+e:Lt[a-d.length]+d+e}for(this.isZero()&&(e="0"+e);e.length%h!=0;)e="0"+e;return this.negative!==0&&(e="-"+e),e}m(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var t=this.words[0];return this.length===2?t+=67108864*this.words[1]:this.length===3&&this.words[2]===1?t+=4503599627370496+67108864*this.words[1]:this.length>2&&m(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-t:t},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(t,h){return m(ot!==void 0),this.toArrayLike(ot,t,h)},s.prototype.toArray=function(t,h){return this.toArrayLike(Array,t,h)},s.prototype.toArrayLike=function(t,h,e){var r=this.byteLength(),i=e||Math.max(1,r);m(r<=i,"byte array longer than desired length"),m(i>0,"Requested array length <= 0"),this.strip();var n,o,l=h==="le",a=new t(i),u=this.clone();if(l){for(o=0;!u.isZero();o++)n=u.andln(255),u.iushrn(8),a[o]=n;for(;o=4096&&(e+=13,h>>>=13),h>=64&&(e+=7,h>>>=7),h>=8&&(e+=4,h>>>=4),h>=2&&(e+=2,h>>>=2),e+h},s.prototype._zeroBits=function(t){if(t===0)return 26;var h=t,e=0;return(8191&h)==0&&(e+=13,h>>>=13),(127&h)==0&&(e+=7,h>>>=7),(15&h)==0&&(e+=4,h>>>=4),(3&h)==0&&(e+=2,h>>>=2),(1&h)==0&&e++,e},s.prototype.bitLength=function(){var t=this.words[this.length-1],h=this._countBits(t);return 26*(this.length-1)+h},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,h=0;ht.length?this.clone().ior(t):t.clone().ior(this)},s.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},s.prototype.iuand=function(t){var h;h=this.length>t.length?t:this;for(var e=0;et.length?this.clone().iand(t):t.clone().iand(this)},s.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},s.prototype.iuxor=function(t){var h,e;this.length>t.length?(h=this,e=t):(h=t,e=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},s.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},s.prototype.inotn=function(t){m(typeof t=="number"&&t>=0);var h=0|Math.ceil(t/26),e=t%26;this._expand(h),e>0&&h--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-e),this.strip()},s.prototype.notn=function(t){return this.clone().inotn(t)},s.prototype.setn=function(t,h){m(typeof t=="number"&&t>=0);var e=t/26|0,r=t%26;return this._expand(e+1),this.words[e]=h?this.words[e]|1<t.length?(e=this,r=t):(e=t,r=this);for(var i=0,n=0;n>>26;for(;i!==0&&n>>26;if(this.length=e.length,i!==0)this.words[this.length]=i,this.length++;else if(e!==this)for(;nt.length?this.clone().iadd(t):t.clone().iadd(this)},s.prototype.isub=function(t){if(t.negative!==0){t.negative=0;var h=this.iadd(t);return t.negative=1,h._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var e,r,i=this.cmp(t);if(i===0)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(e=this,r=t):(e=t,r=this);for(var n=0,o=0;o>26,this.words[o]=67108863&h;for(;n!==0&&o>26,this.words[o]=67108863&h;if(n===0&&o>>13,M=0|o[1],v=8191&M,g=M>>>13,rt=0|o[2],c=8191&rt,w=rt>>>13,jt=0|o[3],b=8191&jt,_=jt>>>13,Kt=0|o[4],k=8191&Kt,A=Kt>>>13,Pt=0|o[5],x=8191&Pt,S=Pt>>>13,Ft=0|o[6],Z=8191&Ft,R=Ft>>>13,Ct=0|o[7],q=8191&Ct,B=Ct>>>13,Dt=0|o[8],N=8191&Dt,L=Dt>>>13,Ht=0|o[9],I=8191&Ht,z=Ht>>>13,Jt=0|l[0],E=8191&Jt,O=Jt>>>13,Ut=0|l[1],T=8191&Ut,j=Ut>>>13,Gt=0|l[2],K=8191&Gt,P=Gt>>>13,Qt=0|l[3],F=8191&Qt,C=Qt>>>13,Vt=0|l[4],D=8191&Vt,H=Vt>>>13,Wt=0|l[5],J=8191&Wt,U=Wt>>>13,Xt=0|l[6],G=8191&Xt,Q=Xt>>>13,Yt=0|l[7],V=8191&Yt,W=Yt>>>13,$t=0|l[8],X=8191&$t,Y=$t>>>13,ti=0|l[9],$=8191&ti,tt=ti>>>13;e.negative=t.negative^h.negative,e.length=19;var lt=(u+(r=Math.imul(d,E))|0)+((8191&(i=(i=Math.imul(d,O))+Math.imul(p,E)|0))<<13)|0;u=((n=Math.imul(p,O))+(i>>>13)|0)+(lt>>>26)|0,lt&=67108863,r=Math.imul(v,E),i=(i=Math.imul(v,O))+Math.imul(g,E)|0,n=Math.imul(g,O);var mt=(u+(r=r+Math.imul(d,T)|0)|0)+((8191&(i=(i=i+Math.imul(d,j)|0)+Math.imul(p,T)|0))<<13)|0;u=((n=n+Math.imul(p,j)|0)+(i>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(c,E),i=(i=Math.imul(c,O))+Math.imul(w,E)|0,n=Math.imul(w,O),r=r+Math.imul(v,T)|0,i=(i=i+Math.imul(v,j)|0)+Math.imul(g,T)|0,n=n+Math.imul(g,j)|0;var ft=(u+(r=r+Math.imul(d,K)|0)|0)+((8191&(i=(i=i+Math.imul(d,P)|0)+Math.imul(p,K)|0))<<13)|0;u=((n=n+Math.imul(p,P)|0)+(i>>>13)|0)+(ft>>>26)|0,ft&=67108863,r=Math.imul(b,E),i=(i=Math.imul(b,O))+Math.imul(_,E)|0,n=Math.imul(_,O),r=r+Math.imul(c,T)|0,i=(i=i+Math.imul(c,j)|0)+Math.imul(w,T)|0,n=n+Math.imul(w,j)|0,r=r+Math.imul(v,K)|0,i=(i=i+Math.imul(v,P)|0)+Math.imul(g,K)|0,n=n+Math.imul(g,P)|0;var dt=(u+(r=r+Math.imul(d,F)|0)|0)+((8191&(i=(i=i+Math.imul(d,C)|0)+Math.imul(p,F)|0))<<13)|0;u=((n=n+Math.imul(p,C)|0)+(i>>>13)|0)+(dt>>>26)|0,dt&=67108863,r=Math.imul(k,E),i=(i=Math.imul(k,O))+Math.imul(A,E)|0,n=Math.imul(A,O),r=r+Math.imul(b,T)|0,i=(i=i+Math.imul(b,j)|0)+Math.imul(_,T)|0,n=n+Math.imul(_,j)|0,r=r+Math.imul(c,K)|0,i=(i=i+Math.imul(c,P)|0)+Math.imul(w,K)|0,n=n+Math.imul(w,P)|0,r=r+Math.imul(v,F)|0,i=(i=i+Math.imul(v,C)|0)+Math.imul(g,F)|0,n=n+Math.imul(g,C)|0;var pt=(u+(r=r+Math.imul(d,D)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(p,D)|0))<<13)|0;u=((n=n+Math.imul(p,H)|0)+(i>>>13)|0)+(pt>>>26)|0,pt&=67108863,r=Math.imul(x,E),i=(i=Math.imul(x,O))+Math.imul(S,E)|0,n=Math.imul(S,O),r=r+Math.imul(k,T)|0,i=(i=i+Math.imul(k,j)|0)+Math.imul(A,T)|0,n=n+Math.imul(A,j)|0,r=r+Math.imul(b,K)|0,i=(i=i+Math.imul(b,P)|0)+Math.imul(_,K)|0,n=n+Math.imul(_,P)|0,r=r+Math.imul(c,F)|0,i=(i=i+Math.imul(c,C)|0)+Math.imul(w,F)|0,n=n+Math.imul(w,C)|0,r=r+Math.imul(v,D)|0,i=(i=i+Math.imul(v,H)|0)+Math.imul(g,D)|0,n=n+Math.imul(g,H)|0;var Mt=(u+(r=r+Math.imul(d,J)|0)|0)+((8191&(i=(i=i+Math.imul(d,U)|0)+Math.imul(p,J)|0))<<13)|0;u=((n=n+Math.imul(p,U)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(Z,E),i=(i=Math.imul(Z,O))+Math.imul(R,E)|0,n=Math.imul(R,O),r=r+Math.imul(x,T)|0,i=(i=i+Math.imul(x,j)|0)+Math.imul(S,T)|0,n=n+Math.imul(S,j)|0,r=r+Math.imul(k,K)|0,i=(i=i+Math.imul(k,P)|0)+Math.imul(A,K)|0,n=n+Math.imul(A,P)|0,r=r+Math.imul(b,F)|0,i=(i=i+Math.imul(b,C)|0)+Math.imul(_,F)|0,n=n+Math.imul(_,C)|0,r=r+Math.imul(c,D)|0,i=(i=i+Math.imul(c,H)|0)+Math.imul(w,D)|0,n=n+Math.imul(w,H)|0,r=r+Math.imul(v,J)|0,i=(i=i+Math.imul(v,U)|0)+Math.imul(g,J)|0,n=n+Math.imul(g,U)|0;var vt=(u+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,Q)|0)+Math.imul(p,G)|0))<<13)|0;u=((n=n+Math.imul(p,Q)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(q,E),i=(i=Math.imul(q,O))+Math.imul(B,E)|0,n=Math.imul(B,O),r=r+Math.imul(Z,T)|0,i=(i=i+Math.imul(Z,j)|0)+Math.imul(R,T)|0,n=n+Math.imul(R,j)|0,r=r+Math.imul(x,K)|0,i=(i=i+Math.imul(x,P)|0)+Math.imul(S,K)|0,n=n+Math.imul(S,P)|0,r=r+Math.imul(k,F)|0,i=(i=i+Math.imul(k,C)|0)+Math.imul(A,F)|0,n=n+Math.imul(A,C)|0,r=r+Math.imul(b,D)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(_,D)|0,n=n+Math.imul(_,H)|0,r=r+Math.imul(c,J)|0,i=(i=i+Math.imul(c,U)|0)+Math.imul(w,J)|0,n=n+Math.imul(w,U)|0,r=r+Math.imul(v,G)|0,i=(i=i+Math.imul(v,Q)|0)+Math.imul(g,G)|0,n=n+Math.imul(g,Q)|0;var gt=(u+(r=r+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(p,V)|0))<<13)|0;u=((n=n+Math.imul(p,W)|0)+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(N,E),i=(i=Math.imul(N,O))+Math.imul(L,E)|0,n=Math.imul(L,O),r=r+Math.imul(q,T)|0,i=(i=i+Math.imul(q,j)|0)+Math.imul(B,T)|0,n=n+Math.imul(B,j)|0,r=r+Math.imul(Z,K)|0,i=(i=i+Math.imul(Z,P)|0)+Math.imul(R,K)|0,n=n+Math.imul(R,P)|0,r=r+Math.imul(x,F)|0,i=(i=i+Math.imul(x,C)|0)+Math.imul(S,F)|0,n=n+Math.imul(S,C)|0,r=r+Math.imul(k,D)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(A,D)|0,n=n+Math.imul(A,H)|0,r=r+Math.imul(b,J)|0,i=(i=i+Math.imul(b,U)|0)+Math.imul(_,J)|0,n=n+Math.imul(_,U)|0,r=r+Math.imul(c,G)|0,i=(i=i+Math.imul(c,Q)|0)+Math.imul(w,G)|0,n=n+Math.imul(w,Q)|0,r=r+Math.imul(v,V)|0,i=(i=i+Math.imul(v,W)|0)+Math.imul(g,V)|0,n=n+Math.imul(g,W)|0;var ct=(u+(r=r+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(p,X)|0))<<13)|0;u=((n=n+Math.imul(p,Y)|0)+(i>>>13)|0)+(ct>>>26)|0,ct&=67108863,r=Math.imul(I,E),i=(i=Math.imul(I,O))+Math.imul(z,E)|0,n=Math.imul(z,O),r=r+Math.imul(N,T)|0,i=(i=i+Math.imul(N,j)|0)+Math.imul(L,T)|0,n=n+Math.imul(L,j)|0,r=r+Math.imul(q,K)|0,i=(i=i+Math.imul(q,P)|0)+Math.imul(B,K)|0,n=n+Math.imul(B,P)|0,r=r+Math.imul(Z,F)|0,i=(i=i+Math.imul(Z,C)|0)+Math.imul(R,F)|0,n=n+Math.imul(R,C)|0,r=r+Math.imul(x,D)|0,i=(i=i+Math.imul(x,H)|0)+Math.imul(S,D)|0,n=n+Math.imul(S,H)|0,r=r+Math.imul(k,J)|0,i=(i=i+Math.imul(k,U)|0)+Math.imul(A,J)|0,n=n+Math.imul(A,U)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,Q)|0)+Math.imul(_,G)|0,n=n+Math.imul(_,Q)|0,r=r+Math.imul(c,V)|0,i=(i=i+Math.imul(c,W)|0)+Math.imul(w,V)|0,n=n+Math.imul(w,W)|0,r=r+Math.imul(v,X)|0,i=(i=i+Math.imul(v,Y)|0)+Math.imul(g,X)|0,n=n+Math.imul(g,Y)|0;var wt=(u+(r=r+Math.imul(d,$)|0)|0)+((8191&(i=(i=i+Math.imul(d,tt)|0)+Math.imul(p,$)|0))<<13)|0;u=((n=n+Math.imul(p,tt)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(I,T),i=(i=Math.imul(I,j))+Math.imul(z,T)|0,n=Math.imul(z,j),r=r+Math.imul(N,K)|0,i=(i=i+Math.imul(N,P)|0)+Math.imul(L,K)|0,n=n+Math.imul(L,P)|0,r=r+Math.imul(q,F)|0,i=(i=i+Math.imul(q,C)|0)+Math.imul(B,F)|0,n=n+Math.imul(B,C)|0,r=r+Math.imul(Z,D)|0,i=(i=i+Math.imul(Z,H)|0)+Math.imul(R,D)|0,n=n+Math.imul(R,H)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,U)|0)+Math.imul(S,J)|0,n=n+Math.imul(S,U)|0,r=r+Math.imul(k,G)|0,i=(i=i+Math.imul(k,Q)|0)+Math.imul(A,G)|0,n=n+Math.imul(A,Q)|0,r=r+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(_,V)|0,n=n+Math.imul(_,W)|0,r=r+Math.imul(c,X)|0,i=(i=i+Math.imul(c,Y)|0)+Math.imul(w,X)|0,n=n+Math.imul(w,Y)|0;var yt=(u+(r=r+Math.imul(v,$)|0)|0)+((8191&(i=(i=i+Math.imul(v,tt)|0)+Math.imul(g,$)|0))<<13)|0;u=((n=n+Math.imul(g,tt)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(I,K),i=(i=Math.imul(I,P))+Math.imul(z,K)|0,n=Math.imul(z,P),r=r+Math.imul(N,F)|0,i=(i=i+Math.imul(N,C)|0)+Math.imul(L,F)|0,n=n+Math.imul(L,C)|0,r=r+Math.imul(q,D)|0,i=(i=i+Math.imul(q,H)|0)+Math.imul(B,D)|0,n=n+Math.imul(B,H)|0,r=r+Math.imul(Z,J)|0,i=(i=i+Math.imul(Z,U)|0)+Math.imul(R,J)|0,n=n+Math.imul(R,U)|0,r=r+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(S,G)|0,n=n+Math.imul(S,Q)|0,r=r+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(A,V)|0,n=n+Math.imul(A,W)|0,r=r+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(_,X)|0,n=n+Math.imul(_,Y)|0;var bt=(u+(r=r+Math.imul(c,$)|0)|0)+((8191&(i=(i=i+Math.imul(c,tt)|0)+Math.imul(w,$)|0))<<13)|0;u=((n=n+Math.imul(w,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(I,F),i=(i=Math.imul(I,C))+Math.imul(z,F)|0,n=Math.imul(z,C),r=r+Math.imul(N,D)|0,i=(i=i+Math.imul(N,H)|0)+Math.imul(L,D)|0,n=n+Math.imul(L,H)|0,r=r+Math.imul(q,J)|0,i=(i=i+Math.imul(q,U)|0)+Math.imul(B,J)|0,n=n+Math.imul(B,U)|0,r=r+Math.imul(Z,G)|0,i=(i=i+Math.imul(Z,Q)|0)+Math.imul(R,G)|0,n=n+Math.imul(R,Q)|0,r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(S,V)|0,n=n+Math.imul(S,W)|0,r=r+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(A,X)|0,n=n+Math.imul(A,Y)|0;var _t=(u+(r=r+Math.imul(b,$)|0)|0)+((8191&(i=(i=i+Math.imul(b,tt)|0)+Math.imul(_,$)|0))<<13)|0;u=((n=n+Math.imul(_,tt)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(I,D),i=(i=Math.imul(I,H))+Math.imul(z,D)|0,n=Math.imul(z,H),r=r+Math.imul(N,J)|0,i=(i=i+Math.imul(N,U)|0)+Math.imul(L,J)|0,n=n+Math.imul(L,U)|0,r=r+Math.imul(q,G)|0,i=(i=i+Math.imul(q,Q)|0)+Math.imul(B,G)|0,n=n+Math.imul(B,Q)|0,r=r+Math.imul(Z,V)|0,i=(i=i+Math.imul(Z,W)|0)+Math.imul(R,V)|0,n=n+Math.imul(R,W)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,X)|0,n=n+Math.imul(S,Y)|0;var kt=(u+(r=r+Math.imul(k,$)|0)|0)+((8191&(i=(i=i+Math.imul(k,tt)|0)+Math.imul(A,$)|0))<<13)|0;u=((n=n+Math.imul(A,tt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,r=Math.imul(I,J),i=(i=Math.imul(I,U))+Math.imul(z,J)|0,n=Math.imul(z,U),r=r+Math.imul(N,G)|0,i=(i=i+Math.imul(N,Q)|0)+Math.imul(L,G)|0,n=n+Math.imul(L,Q)|0,r=r+Math.imul(q,V)|0,i=(i=i+Math.imul(q,W)|0)+Math.imul(B,V)|0,n=n+Math.imul(B,W)|0,r=r+Math.imul(Z,X)|0,i=(i=i+Math.imul(Z,Y)|0)+Math.imul(R,X)|0,n=n+Math.imul(R,Y)|0;var At=(u+(r=r+Math.imul(x,$)|0)|0)+((8191&(i=(i=i+Math.imul(x,tt)|0)+Math.imul(S,$)|0))<<13)|0;u=((n=n+Math.imul(S,tt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,r=Math.imul(I,G),i=(i=Math.imul(I,Q))+Math.imul(z,G)|0,n=Math.imul(z,Q),r=r+Math.imul(N,V)|0,i=(i=i+Math.imul(N,W)|0)+Math.imul(L,V)|0,n=n+Math.imul(L,W)|0,r=r+Math.imul(q,X)|0,i=(i=i+Math.imul(q,Y)|0)+Math.imul(B,X)|0,n=n+Math.imul(B,Y)|0;var xt=(u+(r=r+Math.imul(Z,$)|0)|0)+((8191&(i=(i=i+Math.imul(Z,tt)|0)+Math.imul(R,$)|0))<<13)|0;u=((n=n+Math.imul(R,tt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,r=Math.imul(I,V),i=(i=Math.imul(I,W))+Math.imul(z,V)|0,n=Math.imul(z,W),r=r+Math.imul(N,X)|0,i=(i=i+Math.imul(N,Y)|0)+Math.imul(L,X)|0,n=n+Math.imul(L,Y)|0;var St=(u+(r=r+Math.imul(q,$)|0)|0)+((8191&(i=(i=i+Math.imul(q,tt)|0)+Math.imul(B,$)|0))<<13)|0;u=((n=n+Math.imul(B,tt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,X),i=(i=Math.imul(I,Y))+Math.imul(z,X)|0,n=Math.imul(z,Y);var Zt=(u+(r=r+Math.imul(N,$)|0)|0)+((8191&(i=(i=i+Math.imul(N,tt)|0)+Math.imul(L,$)|0))<<13)|0;u=((n=n+Math.imul(L,tt)|0)+(i>>>13)|0)+(Zt>>>26)|0,Zt&=67108863;var Rt=(u+(r=Math.imul(I,$))|0)+((8191&(i=(i=Math.imul(I,tt))+Math.imul(z,$)|0))<<13)|0;return u=((n=Math.imul(z,tt))+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,a[0]=lt,a[1]=mt,a[2]=ft,a[3]=dt,a[4]=pt,a[5]=Mt,a[6]=vt,a[7]=gt,a[8]=ct,a[9]=wt,a[10]=yt,a[11]=bt,a[12]=_t,a[13]=kt,a[14]=At,a[15]=xt,a[16]=St,a[17]=Zt,a[18]=Rt,u!==0&&(a[19]=u,e.length++),e};function Et(t,h,e){return new ht().mulp(t,h,e)}function ht(t,h){this.x=t,this.y=h}Math.imul||(zt=It),s.prototype.mulTo=function(t,h){var e,r=this.length+t.length;return e=this.length===10&&t.length===10?zt(this,t,h):r<63?It(this,t,h):r<1024?function(i,n,o){o.negative=n.negative^i.negative,o.length=i.length+n.length;for(var l=0,a=0,u=0;u>>26)|0)>>>26,f&=67108863}o.words[u]=d,l=f,f=a}return l!==0?o.words[u]=l:o.length--,o.strip()}(this,t,h):Et(this,t,h),e},ht.prototype.makeRBT=function(t){for(var h=Array(t),e=s.prototype._countBits(t)-1,r=0;r>=1;return r},ht.prototype.permute=function(t,h,e,r,i,n){for(var o=0;o>>=1)i++;return 1<>>=13,e[2*n+1]=8191&i,i>>>=13;for(n=2*h;n>=26,h+=r/67108864|0,h+=i>>>26,this.words[e]=67108863&i}return h!==0&&(this.words[e]=h,this.length++),this},s.prototype.muln=function(t){return this.clone().imuln(t)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(t){var h=function(n){for(var o=Array(n.bitLength()),l=0;l>>u}return o}(t);if(h.length===0)return new s(1);for(var e=this,r=0;r=0);var h,e=t%26,r=(t-e)/26,i=67108863>>>26-e<<26-e;if(e!==0){var n=0;for(h=0;h>>26-e}n&&(this.words[h]=n,this.length++)}if(r!==0){for(h=this.length-1;h>=0;h--)this.words[h+r]=this.words[h];for(h=0;h=0),r=h?(h-h%26)/26:0;var i=t%26,n=Math.min((t-i)/26,this.length),o=67108863^67108863>>>i<n)for(this.length-=n,a=0;a=0&&(u!==0||a>=r);a--){var f=0|this.words[a];this.words[a]=u<<26-i|f>>>i,u=f&o}return l&&u!==0&&(l.words[l.length++]=u),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(t,h,e){return m(this.negative===0),this.iushrn(t,h,e)},s.prototype.shln=function(t){return this.clone().ishln(t)},s.prototype.ushln=function(t){return this.clone().iushln(t)},s.prototype.shrn=function(t){return this.clone().ishrn(t)},s.prototype.ushrn=function(t){return this.clone().iushrn(t)},s.prototype.testn=function(t){m(typeof t=="number"&&t>=0);var h=t%26,e=(t-h)/26,r=1<=0);var h=t%26,e=(t-h)/26;if(m(this.negative===0,"imaskn works only with positive numbers"),this.length<=e)return this;if(h!==0&&e++,this.length=Math.min(e,this.length),h!==0){var r=67108863^67108863>>>h<=67108864;h++)this.words[h]-=67108864,h===this.length-1?this.words[h+1]=1:this.words[h+1]++;return this.length=Math.max(this.length,h+1),this},s.prototype.isubn=function(t){if(m(typeof t=="number"),m(t<67108864),t<0)return this.iaddn(-t);if(this.negative!==0)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var h=0;h>26)-(l/67108864|0),this.words[r+e]=67108863&i}for(;r>26,this.words[r+e]=67108863&i;if(o===0)return this.strip();for(m(o===-1),o=0,r=0;r>26,this.words[r]=67108863&i;return this.negative=1,this.strip()},s.prototype._wordDiv=function(t,h){var e=(this.length,t.length),r=this.clone(),i=t,n=0|i.words[i.length-1];(e=26-this._countBits(n))!==0&&(i=i.ushln(e),r.iushln(e),n=0|i.words[i.length-1]);var o,l=r.length-i.length;if(h!=="mod"){(o=new s(null)).length=l+1,o.words=Array(o.length);for(var a=0;a=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/n|0,67108863),r._ishlnsubmul(i,d,f);r.negative!==0;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);o&&(o.words[f]=d)}return o&&o.strip(),r.strip(),h!=="div"&&e!==0&&r.iushrn(e),{div:o||null,mod:r}},s.prototype.divmod=function(t,h,e){return m(!t.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&&t.negative===0?(n=this.neg().divmod(t,h),h!=="mod"&&(r=n.div.neg()),h!=="div"&&(i=n.mod.neg(),e&&i.negative!==0&&i.iadd(t)),{div:r,mod:i}):this.negative===0&&t.negative!==0?(n=this.divmod(t.neg(),h),h!=="mod"&&(r=n.div.neg()),{div:r,mod:n.mod}):(this.negative&t.negative)!=0?(n=this.neg().divmod(t.neg(),h),h!=="div"&&(i=n.mod.neg(),e&&i.negative!==0&&i.isub(t)),{div:n.div,mod:i}):t.length>this.length||this.cmp(t)<0?{div:new s(0),mod:this}:t.length===1?h==="div"?{div:this.divn(t.words[0]),mod:null}:h==="mod"?{div:null,mod:new s(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new s(this.modn(t.words[0]))}:this._wordDiv(t,h);var r,i,n},s.prototype.div=function(t){return this.divmod(t,"div",!1).div},s.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},s.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},s.prototype.divRound=function(t){var h=this.divmod(t);if(h.mod.isZero())return h.div;var e=h.div.negative!==0?h.mod.isub(t):h.mod,r=t.ushrn(1),i=t.andln(1),n=e.cmp(r);return n<0||i===1&&n===0?h.div:h.div.negative!==0?h.div.isubn(1):h.div.iaddn(1)},s.prototype.modn=function(t){m(t<=67108863);for(var h=(1<<26)%t,e=0,r=this.length-1;r>=0;r--)e=(h*e+(0|this.words[r]))%t;return e},s.prototype.idivn=function(t){m(t<=67108863);for(var h=0,e=this.length-1;e>=0;e--){var r=(0|this.words[e])+67108864*h;this.words[e]=r/t|0,h=r%t}return this.strip()},s.prototype.divn=function(t){return this.clone().idivn(t)},s.prototype.egcd=function(t){m(t.negative===0),m(!t.isZero());var h=this,e=t.clone();h=h.negative!==0?h.umod(t):h.clone();for(var r=new s(1),i=new s(0),n=new s(0),o=new s(1),l=0;h.isEven()&&e.isEven();)h.iushrn(1),e.iushrn(1),++l;for(var a=e.clone(),u=h.clone();!h.isZero();){for(var f=0,d=1;(h.words[0]&d)==0&&f<26;++f,d<<=1);if(f>0)for(h.iushrn(f);f-- >0;)(r.isOdd()||i.isOdd())&&(r.iadd(a),i.isub(u)),r.iushrn(1),i.iushrn(1);for(var p=0,M=1;(e.words[0]&M)==0&&p<26;++p,M<<=1);if(p>0)for(e.iushrn(p);p-- >0;)(n.isOdd()||o.isOdd())&&(n.iadd(a),o.isub(u)),n.iushrn(1),o.iushrn(1);h.cmp(e)>=0?(h.isub(e),r.isub(n),i.isub(o)):(e.isub(h),n.isub(r),o.isub(i))}return{a:n,b:o,gcd:e.iushln(l)}},s.prototype._invmp=function(t){m(t.negative===0),m(!t.isZero());var h=this,e=t.clone();h=h.negative!==0?h.umod(t):h.clone();for(var r,i=new s(1),n=new s(0),o=e.clone();h.cmpn(1)>0&&e.cmpn(1)>0;){for(var l=0,a=1;(h.words[0]&a)==0&&l<26;++l,a<<=1);if(l>0)for(h.iushrn(l);l-- >0;)i.isOdd()&&i.iadd(o),i.iushrn(1);for(var u=0,f=1;(e.words[0]&f)==0&&u<26;++u,f<<=1);if(u>0)for(e.iushrn(u);u-- >0;)n.isOdd()&&n.iadd(o),n.iushrn(1);h.cmp(e)>=0?(h.isub(e),i.isub(n)):(e.isub(h),n.isub(i))}return(r=h.cmpn(1)===0?i:n).cmpn(0)<0&&r.iadd(t),r},s.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var h=this.clone(),e=t.clone();h.negative=0,e.negative=0;for(var r=0;h.isEven()&&e.isEven();r++)h.iushrn(1),e.iushrn(1);for(;;){for(;h.isEven();)h.iushrn(1);for(;e.isEven();)e.iushrn(1);var i=h.cmp(e);if(i<0){var n=h;h=e,e=n}else if(i===0||e.cmpn(1)===0)break;h.isub(e)}return e.iushln(r)},s.prototype.invm=function(t){return this.egcd(t).a.umod(t)},s.prototype.isEven=function(){return(1&this.words[0])==0},s.prototype.isOdd=function(){return(1&this.words[0])==1},s.prototype.andln=function(t){return this.words[0]&t},s.prototype.bincn=function(t){m(typeof t=="number");var h=t%26,e=(t-h)/26,r=1<>>26,o&=67108863,this.words[n]=o}return i!==0&&(this.words[n]=i,this.length++),this},s.prototype.isZero=function(){return this.length===1&&this.words[0]===0},s.prototype.cmpn=function(t){var h,e=t<0;if(this.negative!==0&&!e)return-1;if(this.negative===0&&e)return 1;if(this.strip(),this.length>1)h=1;else{e&&(t=-t),m(t<=67108863,"Number is too big");var r=0|this.words[0];h=r===t?0:rt.length)return 1;if(this.length=0;e--){var r=0|this.words[e],i=0|t.words[e];if(r!==i){ri&&(h=1);break}}return h},s.prototype.gtn=function(t){return this.cmpn(t)===1},s.prototype.gt=function(t){return this.cmp(t)===1},s.prototype.gten=function(t){return this.cmpn(t)>=0},s.prototype.gte=function(t){return this.cmp(t)>=0},s.prototype.ltn=function(t){return this.cmpn(t)===-1},s.prototype.lt=function(t){return this.cmp(t)===-1},s.prototype.lten=function(t){return this.cmpn(t)<=0},s.prototype.lte=function(t){return this.cmp(t)<=0},s.prototype.eqn=function(t){return this.cmpn(t)===0},s.prototype.eq=function(t){return this.cmp(t)===0},s.red=function(t){return new y(t)},s.prototype.toRed=function(t){return m(!this.red,"Already a number in reduction context"),m(this.negative===0,"red works only with positives"),t.convertTo(this)._forceRed(t)},s.prototype.fromRed=function(){return m(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(t){return this.red=t,this},s.prototype.forceRed=function(t){return m(!this.red,"Already a number in reduction context"),this._forceRed(t)},s.prototype.redAdd=function(t){return m(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},s.prototype.redIAdd=function(t){return m(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},s.prototype.redSub=function(t){return m(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},s.prototype.redISub=function(t){return m(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},s.prototype.redShl=function(t){return m(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},s.prototype.redMul=function(t){return m(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},s.prototype.redIMul=function(t){return m(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},s.prototype.redSqr=function(){return m(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return m(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return m(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return m(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return m(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(t){return m(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var ut={k256:null,p224:null,p192:null,p25519:null};function it(t,h){this.name=t,this.p=new s(h,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function st(){it.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Ot(){it.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function Tt(){it.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function at(){it.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(t){if(typeof t=="string"){var h=s._prime(t);this.m=h.p,this.prime=h}else m(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function nt(t){y.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}it.prototype._tmp=function(){var t=new s(null);return t.words=Array(Math.ceil(this.n/13)),t},it.prototype.ireduce=function(t){var h,e=t;do this.split(e,this.tmp),h=(e=(e=this.imulK(e)).iadd(this.tmp)).bitLength();while(h>this.n);var r=h0?e.isub(this.p):e.strip(),e},it.prototype.split=function(t,h){t.iushrn(this.n,0,h)},it.prototype.imulK=function(t){return t.imul(this.k)},et(st,it),st.prototype.split=function(t,h){for(var e=4194303,r=Math.min(t.length,9),i=0;i>>22,n=o}n>>>=22,t.words[i-10]=n,n===0&&t.length>10?t.length-=10:t.length-=9},st.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var h=0,e=0;e>>=26,t.words[e]=i,h=r}return h!==0&&(t.words[t.length++]=h),t},s._prime=function(t){if(ut[t])return ut[t];var h;if(t==="k256")h=new st;else if(t==="p224")h=new Ot;else if(t==="p192")h=new Tt;else{if(t!=="p25519")throw Error("Unknown prime "+t);h=new at}return ut[t]=h,h},y.prototype._verify1=function(t){m(t.negative===0,"red works only with positives"),m(t.red,"red works only with red numbers")},y.prototype._verify2=function(t,h){m((t.negative|h.negative)==0,"red works only with positives"),m(t.red&&t.red===h.red,"red works only with red numbers")},y.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},y.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},y.prototype.add=function(t,h){this._verify2(t,h);var e=t.add(h);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},y.prototype.iadd=function(t,h){this._verify2(t,h);var e=t.iadd(h);return e.cmp(this.m)>=0&&e.isub(this.m),e},y.prototype.sub=function(t,h){this._verify2(t,h);var e=t.sub(h);return e.cmpn(0)<0&&e.iadd(this.m),e._forceRed(this)},y.prototype.isub=function(t,h){this._verify2(t,h);var e=t.isub(h);return e.cmpn(0)<0&&e.iadd(this.m),e},y.prototype.shl=function(t,h){return this._verify1(t),this.imod(t.ushln(h))},y.prototype.imul=function(t,h){return this._verify2(t,h),this.imod(t.imul(h))},y.prototype.mul=function(t,h){return this._verify2(t,h),this.imod(t.mul(h))},y.prototype.isqr=function(t){return this.imul(t,t.clone())},y.prototype.sqr=function(t){return this.mul(t,t)},y.prototype.sqrt=function(t){if(t.isZero())return t.clone();var h=this.m.andln(3);if(m(h%2==1),h===3){var e=this.m.add(new s(1)).iushrn(2);return this.pow(t,e)}for(var r=this.m.subn(1),i=0;!r.isZero()&&r.andln(1)===0;)i++,r.iushrn(1);m(!r.isZero());var n=new s(1).toRed(this),o=n.redNeg(),l=this.m.subn(1).iushrn(1),a=this.m.bitLength();for(a=new s(2*a*a).toRed(this);this.pow(a,l).cmp(o)!==0;)a.redIAdd(o);for(var u=this.pow(a,r),f=this.pow(t,r.addn(1).iushrn(1)),d=this.pow(t,r),p=i;d.cmp(n)!==0;){for(var M=d,v=0;M.cmp(n)!==0;v++)M=M.redSqr();m(v=0;r--){for(var a=h.words[r],u=l-1;u>=0;u--){var f=a>>u&1;i!==e[0]&&(i=this.sqr(i)),f!==0||n!==0?(n<<=1,n|=f,(++o===4||r===0&&u===0)&&(i=this.mul(i,e[n]),o=0,n=0)):o=0}l=26}return i},y.prototype.convertTo=function(t){var h=t.umod(this.m);return h===t?h.clone():h},y.prototype.convertFrom=function(t){var h=t.clone();return h.red=null,h},s.mont=function(t){return new nt(t)},et(nt,y),nt.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},nt.prototype.convertFrom=function(t){var h=this.imod(t.mul(this.rinv));return h.red=null,h},nt.prototype.imul=function(t,h){if(t.isZero()||h.isZero())return t.words[0]=0,t.length=1,t;var e=t.imul(h),r=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=e.isub(r).iushrn(this.shift),n=i;return i.cmp(this.m)>=0?n=i.isub(this.m):i.cmpn(0)<0&&(n=i.iadd(this.m)),n._forceRed(this)},nt.prototype.mul=function(t,h){if(t.isZero()||h.isZero())return new s(0)._forceRed(this);var e=t.mul(h),r=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=e.isub(r).iushrn(this.shift),n=i;return i.cmp(this.m)>=0?n=i.isub(this.m):i.cmpn(0)<0&&(n=i.iadd(this.m)),n._forceRed(this)},nt.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}})(ii,si)});export{ui as __moduleExports,ui as default}; diff --git a/public/js/build/calendar.e0641411.js b/public/js/build/calendar.2b98d510.js similarity index 99% rename from public/js/build/calendar.e0641411.js rename to public/js/build/calendar.2b98d510.js index a00127910..77aa6ad64 100644 --- a/public/js/build/calendar.e0641411.js +++ b/public/js/build/calendar.2b98d510.js @@ -1,4 +1,4 @@ -import{e as vs,g as Ss,n as tr,b as Es,m as Cs,c as Ds,d as Ps}from"./app.bd09c684.js";import{T as ks}from"./TaskMenu.c2c77c47.js";var nr={exports:{}},ir={exports:{}};/*! +import{e as vs,g as Ss,n as tr,b as Es,m as Cs,c as Ds,d as Ps}from"./app.139edc4e.js";import{T as ks}from"./TaskMenu.382f8823.js";var nr={exports:{}},ir={exports:{}};/*! * tui-code-snippet.js * @version 1.5.2 * @author NHN. FE Development Lab diff --git a/public/js/build/checkin.f6dbbcd5.js b/public/js/build/checkin.3faaf45a.js similarity index 99% rename from public/js/build/checkin.f6dbbcd5.js rename to public/js/build/checkin.3faaf45a.js index 8555d8d16..cd349b01d 100644 --- a/public/js/build/checkin.f6dbbcd5.js +++ b/public/js/build/checkin.3faaf45a.js @@ -1 +1 @@ -import{n as h}from"./app.bd09c684.js";var d=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"checkin-calendar"},[e("div",{staticClass:"calendar-header"},[e("div",{staticClass:"calendar-header-menu"},[e("Icon",{staticClass:"month-less",attrs:{type:"ios-arrow-back"},on:{click:t.prevMonth}}),e("h4",[t._v(t._s(t.$L("(*)\u5E74(*)\u6708",t.year,t.month)))]),t.hasNextMonth?e("Icon",{staticClass:"month-add",attrs:{type:"ios-arrow-forward"},on:{click:t.nextMonth}}):t._e()],1),t.hasNextMonth?e("Button",{staticClass:"calendar-header-back",attrs:{size:"small"},on:{click:t.nowMonth}},[t._v(t._s(t.$L("\u8FD4\u56DE\u672C\u6708")))]):t._e()],1),e("table",{staticClass:"check-table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.$L("\u65E5")))]),e("th",[t._v(t._s(t.$L("\u4E00")))]),e("th",[t._v(t._s(t.$L("\u4E8C")))]),e("th",[t._v(t._s(t.$L("\u4E09")))]),e("th",[t._v(t._s(t.$L("\u56DB")))]),e("th",[t._v(t._s(t.$L("\u4E94")))]),e("th",[t._v(t._s(t.$L("\u516D")))])])]),e("tbody",t._l(t.dateArray,function(s){return e("tr",[t._l(s,function(n){return[n.month?e("td",{class:{today:n.today,checkin:t.isCheck(n.date)}},[e("ETooltip",{attrs:{"max-width":"auto",disabled:!t.isCheck(n.date)}},[e("div",{attrs:{slot:"content"},domProps:{innerHTML:t._s(t.getTimes(n.date))},slot:"content"}),e("div",{staticClass:"item-day"},[n.today?e("div",[t._v(t._s(t.$L("\u4ECA\u5929")))]):e("div",[t._v(t._s(n.day))]),t.isCheck(n.date)?e("div",{staticClass:"ui-state-down"},[t._v(t._s(t.$L("\u5DF2\u7B7E\u5230")))]):n.today?e("div",{staticClass:"ui-state-default"},[t._v(t._s(t.$L("\u5C1A\u672A\u7B7E\u5230")))]):t._e()])])],1):e("td",{staticClass:"disabled"},[e("div",{staticClass:"item-day"},[e("div",[t._v(t._s(n.day))]),t.isCheck(n.date)?e("div",{staticClass:"ui-state-down"},[t._v(t._s(t.$L("\u5DF2\u7B7E\u5230")))]):t._e()])])]})],2)}),0)]),t.loadIng?e("div",{staticClass:"calendar-loading"},[e("Loading")],1):t._e()])},m=[];const _={name:"CheckinCalendar",props:{checkin:{type:Array},loadIng:{type:Boolean,default:!1}},data(){return{year:"",month:"",startTime:"",endTime:"",dateArray:[],historys:[]}},created(){const t=new Date;this.year=t.getFullYear(),this.month=t.getMonth()+1,this.generateCalendar()},watch:{checkin:{handler(t){t.some(({date:a,section:e})=>{a=a.replace(/-0?/g,"/");let s=this.historys.findIndex(n=>n.date==a);s>-1?this.historys.splice(s,1,{date:a,section:e}):this.historys.push({date:a,section:e})})},immediate:!0}},computed:{hasNextMonth(){const{year:t,month:a}=this;return parseInt(t)!=$A.formatDate("Y")||parseInt(a)<$A.formatDate("m")}},methods:{ym(){return this.year+"-"+(this.month<10?"0"+this.month:this.month)},isCheck(t){return!!this.historys.find(a=>a.date==t)},setMonth(t){this.$emit("setMonth",t,[this.startTime,this.endTime])},getTimes(t){const a=this.historys.find(e=>e.date==t);return a==null?void 0:a.section.map(e=>`${e[0]} - ${e[1]||"None"}`).join("
    ")},generateCalendar(){let t=new Date($A.formatDate("Y/m/d")),a=new Date(this.year,this.month-1,1),e=a.getTime()-a.getDay()*86400*1e3,s=[];for(let n=0;n<6;n++){s[n]=[];for(let i=0;i<7;i++){let r=new Date(e),o=r.getMonth()+1;s[n][i]={day:r.getDate(),date:`${r.getFullYear()}/${o}/${r.getDate()}`,today:t.getTime()==r.getTime(),future:t.getTime()0?e("div",{staticClass:"setting-checkin-load"},[e("Loading")],1):e("Timeline",{staticClass:"setting-checkin-lately"},t._l(t.latelyData,function(s,n){return e("TimelineItem",{key:n,attrs:{color:s.section.length>0?"blue":"#F29D38"}},[e("Icon",{attrs:{slot:"dot",type:s.section.length>0?"md-checkmark-circle":"md-close-circle"},slot:"dot"}),e("p",{staticClass:"time"},[t._v(t._s(s.date))]),e("p",{staticClass:"content",domProps:{innerHTML:t._s(s.section.length>0?t.latelySection(s.section):t.$L("\u672A\u7B7E\u5230"))}})],1)}),1),e("div",{staticClass:"setting-checkin-button",on:{click:function(s){t.calendarShow=!0}}},[t._v(t._s(t.$L("\u67E5\u770B\u66F4\u591A\u7B7E\u5230\u6570\u636E")))]),e("Divider",{attrs:{orientation:"left"}},[t._v(t._s(t.$L("\u7B7E\u5230\u8BBE\u7F6E")))]),e("Alert",[t._v(" "+t._s(t.$L("\u8BBE\u5907\u8FDE\u63A5\u4E0A\u6307\u5B9A\u8DEF\u7531\u5668\uFF08WiFi\uFF09\u540E\u81EA\u52A8\u7B7E\u5230\u3002"))+" ")]),e("div",{staticClass:"setting-checkin-row"},[e("Row",{staticClass:"setting-template"},[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u8BBE\u5907MAC\u5730\u5740")))]),e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u5907\u6CE8")))])],1),t._l(t.formData,function(s,n){return e("Row",{key:n,staticClass:"setting-template"},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8BBE\u5907MAC\u5730\u5740"),clearable:""},on:{"on-clear":function(i){return t.delDatum(n)}},model:{value:s.mac,callback:function(i){t.$set(s,"mac",i)},expression:"item.mac"}})],1),e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:100,placeholder:t.$L("\u5907\u6CE8")},model:{value:s.remark,callback:function(i){t.$set(s,"remark",i)},expression:"item.remark"}})],1)],1)})],2),e("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u8BBE\u5907")))])],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1),e("Modal",{attrs:{title:t.$L("\u7B7E\u5230\u6570\u636E"),"footer-hide":"","mask-closable":!1},model:{value:t.calendarShow,callback:function(s){t.calendarShow=s},expression:"calendarShow"}},[e("CheckinCalendar",{ref:"calendar",attrs:{loadIng:t.calendarLoading>0,checkin:t.calendarData},on:{changeMonth:t.changeMonth}})],1)],1)},$=[];const g={components:{CheckinCalendar:v},data(){return{loadIng:0,formData:[],nullDatum:{mac:"",remark:""},latelyLoad:0,latelyData:[],calendarShow:!1,calendarLoading:0,calendarData:[]}},mounted(){this.initData(),this.getLately()},watch:{calendarShow(t){t&&this.$nextTick(a=>{this.changeMonth(this.$refs.calendar.ym())})}},methods:{initData(){this.loadIng++,this.$store.dispatch("call",{url:"users/checkin/get"}).then(({data:t})=>{this.formData=t.length>0?t:[$A.cloneJSON(this.nullDatum)],this.formData_bak=$A.cloneJSON(this.formData)}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--})},submitForm(){this.$refs.formData.validate(t=>{if(t){const a=this.formData.filter(e=>/^[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}$/.test(e.mac.trim())).map(e=>({mac:e.mac.trim(),remark:e.remark.trim()}));this.loadIng++,this.$store.dispatch("call",{url:"users/checkin/save",data:{list:a},method:"post"}).then(({data:e})=>{this.formData=e,this.formData_bak=$A.cloneJSON(this.formData),$A.messageSuccess("\u4FEE\u6539\u6210\u529F")}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--})}})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)},addDatum(){this.formData.push($A.cloneJSON(this.nullDatum))},delDatum(t){this.formData.splice(t,1),this.formData.length===0&&this.addDatum()},getLately(){this.latelyLoad++,this.$store.dispatch("call",{url:"users/checkin/list",data:{ym:$A.formatDate("Y-m"),before:1}}).then(({data:t})=>{this.latelyFormat(t)}).finally(t=>{this.latelyLoad--})},latelyFormat(t){const a=$A.Time();this.latelyData=[];for(let e=0;e<5;e++){const s=$A.formatDate("Y-m-d",a-e*86400),n=t.find(({date:i})=>i==s)||{date:s,section:[]};this.latelyData.push(n)}},latelySection(t){return t.map(a=>`${a[0]} - ${a[1]||"None"}`).join("
    ")},changeMonth(t){setTimeout(a=>{this.calendarLoading++},600),this.$store.dispatch("call",{url:"users/checkin/list",data:{ym:t,before:1}}).then(({data:a})=>{this.$refs.calendar.ym()==t&&(this.calendarData=a,t==$A.formatDate("Y-m")&&this.latelyFormat(a))}).catch(({msg:a})=>{this.calendarData=[],$A.modalError(a)}).finally(a=>{this.calendarLoading--})}}},c={};var p=h(g,y,$,!1,D,null,null,null);function D(t){for(let a in c)this[a]=c[a]}var C=function(){return p.exports}();export{C as default}; +import{n as h}from"./app.139edc4e.js";var d=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"checkin-calendar"},[e("div",{staticClass:"calendar-header"},[e("div",{staticClass:"calendar-header-menu"},[e("Icon",{staticClass:"month-less",attrs:{type:"ios-arrow-back"},on:{click:t.prevMonth}}),e("h4",[t._v(t._s(t.$L("(*)\u5E74(*)\u6708",t.year,t.month)))]),t.hasNextMonth?e("Icon",{staticClass:"month-add",attrs:{type:"ios-arrow-forward"},on:{click:t.nextMonth}}):t._e()],1),t.hasNextMonth?e("Button",{staticClass:"calendar-header-back",attrs:{size:"small"},on:{click:t.nowMonth}},[t._v(t._s(t.$L("\u8FD4\u56DE\u672C\u6708")))]):t._e()],1),e("table",{staticClass:"check-table"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.$L("\u65E5")))]),e("th",[t._v(t._s(t.$L("\u4E00")))]),e("th",[t._v(t._s(t.$L("\u4E8C")))]),e("th",[t._v(t._s(t.$L("\u4E09")))]),e("th",[t._v(t._s(t.$L("\u56DB")))]),e("th",[t._v(t._s(t.$L("\u4E94")))]),e("th",[t._v(t._s(t.$L("\u516D")))])])]),e("tbody",t._l(t.dateArray,function(s){return e("tr",[t._l(s,function(n){return[n.month?e("td",{class:{today:n.today,checkin:t.isCheck(n.date)}},[e("ETooltip",{attrs:{"max-width":"auto",disabled:!t.isCheck(n.date)}},[e("div",{attrs:{slot:"content"},domProps:{innerHTML:t._s(t.getTimes(n.date))},slot:"content"}),e("div",{staticClass:"item-day"},[n.today?e("div",[t._v(t._s(t.$L("\u4ECA\u5929")))]):e("div",[t._v(t._s(n.day))]),t.isCheck(n.date)?e("div",{staticClass:"ui-state-down"},[t._v(t._s(t.$L("\u5DF2\u7B7E\u5230")))]):n.today?e("div",{staticClass:"ui-state-default"},[t._v(t._s(t.$L("\u5C1A\u672A\u7B7E\u5230")))]):t._e()])])],1):e("td",{staticClass:"disabled"},[e("div",{staticClass:"item-day"},[e("div",[t._v(t._s(n.day))]),t.isCheck(n.date)?e("div",{staticClass:"ui-state-down"},[t._v(t._s(t.$L("\u5DF2\u7B7E\u5230")))]):t._e()])])]})],2)}),0)]),t.loadIng?e("div",{staticClass:"calendar-loading"},[e("Loading")],1):t._e()])},m=[];const _={name:"CheckinCalendar",props:{checkin:{type:Array},loadIng:{type:Boolean,default:!1}},data(){return{year:"",month:"",startTime:"",endTime:"",dateArray:[],historys:[]}},created(){const t=new Date;this.year=t.getFullYear(),this.month=t.getMonth()+1,this.generateCalendar()},watch:{checkin:{handler(t){t.some(({date:a,section:e})=>{a=a.replace(/-0?/g,"/");let s=this.historys.findIndex(n=>n.date==a);s>-1?this.historys.splice(s,1,{date:a,section:e}):this.historys.push({date:a,section:e})})},immediate:!0}},computed:{hasNextMonth(){const{year:t,month:a}=this;return parseInt(t)!=$A.formatDate("Y")||parseInt(a)<$A.formatDate("m")}},methods:{ym(){return this.year+"-"+(this.month<10?"0"+this.month:this.month)},isCheck(t){return!!this.historys.find(a=>a.date==t)},setMonth(t){this.$emit("setMonth",t,[this.startTime,this.endTime])},getTimes(t){const a=this.historys.find(e=>e.date==t);return a==null?void 0:a.section.map(e=>`${e[0]} - ${e[1]||"None"}`).join("
    ")},generateCalendar(){let t=new Date($A.formatDate("Y/m/d")),a=new Date(this.year,this.month-1,1),e=a.getTime()-a.getDay()*86400*1e3,s=[];for(let n=0;n<6;n++){s[n]=[];for(let i=0;i<7;i++){let r=new Date(e),o=r.getMonth()+1;s[n][i]={day:r.getDate(),date:`${r.getFullYear()}/${o}/${r.getDate()}`,today:t.getTime()==r.getTime(),future:t.getTime()0?e("div",{staticClass:"setting-checkin-load"},[e("Loading")],1):e("Timeline",{staticClass:"setting-checkin-lately"},t._l(t.latelyData,function(s,n){return e("TimelineItem",{key:n,attrs:{color:s.section.length>0?"blue":"#F29D38"}},[e("Icon",{attrs:{slot:"dot",type:s.section.length>0?"md-checkmark-circle":"md-close-circle"},slot:"dot"}),e("p",{staticClass:"time"},[t._v(t._s(s.date))]),e("p",{staticClass:"content",domProps:{innerHTML:t._s(s.section.length>0?t.latelySection(s.section):t.$L("\u672A\u7B7E\u5230"))}})],1)}),1),e("div",{staticClass:"setting-checkin-button",on:{click:function(s){t.calendarShow=!0}}},[t._v(t._s(t.$L("\u67E5\u770B\u66F4\u591A\u7B7E\u5230\u6570\u636E")))]),e("Divider",{attrs:{orientation:"left"}},[t._v(t._s(t.$L("\u7B7E\u5230\u8BBE\u7F6E")))]),e("Alert",[t._v(" "+t._s(t.$L("\u8BBE\u5907\u8FDE\u63A5\u4E0A\u6307\u5B9A\u8DEF\u7531\u5668\uFF08WiFi\uFF09\u540E\u81EA\u52A8\u7B7E\u5230\u3002"))+" ")]),e("div",{staticClass:"setting-checkin-row"},[e("Row",{staticClass:"setting-template"},[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u8BBE\u5907MAC\u5730\u5740")))]),e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u5907\u6CE8")))])],1),t._l(t.formData,function(s,n){return e("Row",{key:n,staticClass:"setting-template"},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8BBE\u5907MAC\u5730\u5740"),clearable:""},on:{"on-clear":function(i){return t.delDatum(n)}},model:{value:s.mac,callback:function(i){t.$set(s,"mac",i)},expression:"item.mac"}})],1),e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:100,placeholder:t.$L("\u5907\u6CE8")},model:{value:s.remark,callback:function(i){t.$set(s,"remark",i)},expression:"item.remark"}})],1)],1)})],2),e("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u8BBE\u5907")))])],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1),e("Modal",{attrs:{title:t.$L("\u7B7E\u5230\u6570\u636E"),"footer-hide":"","mask-closable":!1},model:{value:t.calendarShow,callback:function(s){t.calendarShow=s},expression:"calendarShow"}},[e("CheckinCalendar",{ref:"calendar",attrs:{loadIng:t.calendarLoading>0,checkin:t.calendarData},on:{changeMonth:t.changeMonth}})],1)],1)},$=[];const g={components:{CheckinCalendar:v},data(){return{loadIng:0,formData:[],nullDatum:{mac:"",remark:""},latelyLoad:0,latelyData:[],calendarShow:!1,calendarLoading:0,calendarData:[]}},mounted(){this.initData(),this.getLately()},watch:{calendarShow(t){t&&this.$nextTick(a=>{this.changeMonth(this.$refs.calendar.ym())})}},methods:{initData(){this.loadIng++,this.$store.dispatch("call",{url:"users/checkin/get"}).then(({data:t})=>{this.formData=t.length>0?t:[$A.cloneJSON(this.nullDatum)],this.formData_bak=$A.cloneJSON(this.formData)}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--})},submitForm(){this.$refs.formData.validate(t=>{if(t){const a=this.formData.filter(e=>/^[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}:[A-Fa-f\d]{2}$/.test(e.mac.trim())).map(e=>({mac:e.mac.trim(),remark:e.remark.trim()}));this.loadIng++,this.$store.dispatch("call",{url:"users/checkin/save",data:{list:a},method:"post"}).then(({data:e})=>{this.formData=e,this.formData_bak=$A.cloneJSON(this.formData),$A.messageSuccess("\u4FEE\u6539\u6210\u529F")}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--})}})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)},addDatum(){this.formData.push($A.cloneJSON(this.nullDatum))},delDatum(t){this.formData.splice(t,1),this.formData.length===0&&this.addDatum()},getLately(){this.latelyLoad++,this.$store.dispatch("call",{url:"users/checkin/list",data:{ym:$A.formatDate("Y-m"),before:1}}).then(({data:t})=>{this.latelyFormat(t)}).finally(t=>{this.latelyLoad--})},latelyFormat(t){const a=$A.Time();this.latelyData=[];for(let e=0;e<5;e++){const s=$A.formatDate("Y-m-d",a-e*86400),n=t.find(({date:i})=>i==s)||{date:s,section:[]};this.latelyData.push(n)}},latelySection(t){return t.map(a=>`${a[0]} - ${a[1]||"None"}`).join("
    ")},changeMonth(t){setTimeout(a=>{this.calendarLoading++},600),this.$store.dispatch("call",{url:"users/checkin/list",data:{ym:t,before:1}}).then(({data:a})=>{this.$refs.calendar.ym()==t&&(this.calendarData=a,t==$A.formatDate("Y-m")&&this.latelyFormat(a))}).catch(({msg:a})=>{this.calendarData=[],$A.modalError(a)}).finally(a=>{this.calendarLoading--})}}},c={};var p=h(g,y,$,!1,D,null,null,null);function D(t){for(let a in c)this[a]=c[a]}var C=function(){return p.exports}();export{C as default}; diff --git a/public/js/build/dashboard.033b5cc0.js b/public/js/build/dashboard.5ce7ec00.js similarity index 97% rename from public/js/build/dashboard.033b5cc0.js rename to public/js/build/dashboard.5ce7ec00.js index 898ec35e9..9f8b6540a 100644 --- a/public/js/build/dashboard.033b5cc0.js +++ b/public/js/build/dashboard.5ce7ec00.js @@ -1 +1 @@ -import{m as i,c,n as d}from"./app.bd09c684.js";import{T as _}from"./TaskMenu.c2c77c47.js";var u=function(){var s=this,e=s.$createElement,t=s._self._c||e;return t("div",{staticClass:"page-dashboard"},[t("PageTitle",{attrs:{title:s.$L("\u4EEA\u8868\u76D8")}}),t("div",{staticClass:"dashboard-wrapper"},[t("div",{staticClass:"dashboard-hello"},[s._v(s._s(s.$L("\u6B22\u8FCE\u60A8\uFF0C"+s.userInfo.nickname)))]),t("div",{staticClass:"dashboard-desc"},[s._v(" "+s._s(s.$L("\u4EE5\u4E0B\u662F\u4F60\u5F53\u524D\u7684\u4EFB\u52A1\u7EDF\u8BA1\u6570\u636E"))+" "),t("transition",{attrs:{name:"dashboard-load"}},[s.loadDashboardTasks?t("div",{staticClass:"dashboard-load"},[t("Loading")],1):s._e()])],1),t("ul",{staticClass:"dashboard-block"},[t("li",{on:{click:function(o){return s.scrollTo("today")}}},[t("div",{staticClass:"block-title"},[s._v(s._s(s.getTitle("today")))]),t("div",{staticClass:"block-data"},[t("div",{staticClass:"block-num"},[s._v(s._s(s.dashboardTask.today_count))]),t("i",{staticClass:"taskfont"},[s._v("\uE6F4")])])]),t("li",{on:{click:function(o){return s.scrollTo("overdue")}}},[t("div",{staticClass:"block-title"},[s._v(s._s(s.getTitle("overdue")))]),t("div",{staticClass:"block-data"},[t("div",{staticClass:"block-num"},[s._v(s._s(s.dashboardTask.overdue_count))]),t("i",{staticClass:"taskfont"},[s._v("\uE603")])])]),t("li",{on:{click:function(o){return s.scrollTo("all")}}},[t("div",{staticClass:"block-title"},[s._v(s._s(s.getTitle("all")))]),t("div",{staticClass:"block-data"},[t("div",{staticClass:"block-num"},[s._v(s._s(s.dashboardTask.all_count))]),t("i",{staticClass:"taskfont"},[s._v("\uE6F9")])])])]),t("div",{staticClass:"dashboard-list scrollbar-overlay"},[s._l(s.columns,function(o){return o.list.length>0?[t("div",{ref:`type_${o.type}`,refInFor:!0,staticClass:"dashboard-ref"}),t("div",{staticClass:"dashboard-title"},[s._v(s._s(o.title))]),t("ul",{staticClass:"dashboard-ul"},s._l(o.list,function(a,r){return t("li",{key:r,class:{complete:a.complete_at},style:a.color?{backgroundColor:a.color}:{},on:{click:function(l){return s.openTask(a)}}},[a.p_name?t("em",{staticClass:"priority-color",style:{backgroundColor:a.p_color}}):s._e(),t("div",{staticClass:"item-select",on:{click:function(l){return l.stopPropagation(),s.openMenu(l,a)}}},[t("i",{staticClass:"taskfont",domProps:{innerHTML:s._s(a.complete_at?"":"")}})]),t("div",{staticClass:"item-title"},[a.flow_item_name?t("span",{class:a.flow_item_status,on:{click:function(l){return l.stopPropagation(),s.openMenu(l,a)}}},[s._v(s._s(a.flow_item_name))]):s._e(),a.sub_top===!0?t("span",[s._v(s._s(s.$L("\u5B50\u4EFB\u52A1")))]):s._e(),a.sub_my&&a.sub_my.length>0?t("span",[s._v("+"+s._s(a.sub_my.length))]):s._e(),s._v(" "+s._s(a.name)+" ")]),a.desc?t("div",{staticClass:"item-icon"},[t("i",{staticClass:"taskfont"},[s._v("\uE71A")])]):s._e(),a.sub_num>0?t("div",{staticClass:"item-icon"},[t("i",{staticClass:"taskfont"},[s._v("\uE71F")]),t("em",[s._v(s._s(a.sub_complete)+"/"+s._s(a.sub_num))])]):s._e(),a.end_at?t("ETooltip",{attrs:{disabled:s.windowSmall||s.$isEEUiApp,content:a.end_at,placement:"right"}},[t("div",{class:["item-icon",a.today?"today":"",a.overdue?"overdue":""]},[t("i",{staticClass:"taskfont"},[s._v("\uE71D")]),t("em",[s._v(s._s(s.expiresFormat(a.end_at)))])])]):s._e()],1)}),0)]:s._e()})],2)])],1)},v=[];const h={components:{TaskMenu:_},data(){return{nowTime:$A.Time(),nowInterval:null,loadIng:0,dashboard:"today"}},mounted(){this.nowInterval=setInterval(()=>{this.nowTime=$A.Time()},1e3)},destroyed(){clearInterval(this.nowInterval)},activated(){this.$store.dispatch("getTaskForDashboard",600)},deactivated(){this.$store.dispatch("forgetTaskCompleteTemp",!0)},computed:{...i(["userInfo","cacheTasks","taskCompleteTemps","loadDashboardTasks"]),...c(["dashboardTask","assistTask","transforTasks"]),columns(){const s=[];return["today","overdue","all"].some(e=>{let t=this.transforTasks(this.dashboardTask[e]);s.push({type:e,title:this.getTitle(e),list:t.sort((o,a)=>$A.Date(o.end_at||"2099-12-31 23:59:59")-$A.Date(a.end_at||"2099-12-31 23:59:59"))})}),s.push({type:"assist",title:this.getTitle("assist"),list:this.assistTask.sort((e,t)=>$A.Date(e.end_at||"2099-12-31 23:59:59")-$A.Date(t.end_at||"2099-12-31 23:59:59"))}),s},total(){const{dashboardTask:s}=this;return s.today_count+s.overdue_count+s.all_count}},methods:{getTitle(s){switch(s){case"today":return this.$L("\u4ECA\u65E5\u5230\u671F");case"overdue":return this.$L("\u8D85\u671F\u4EFB\u52A1");case"all":return this.$L("\u5F85\u5B8C\u6210\u4EFB\u52A1");case"assist":return this.$L("\u534F\u52A9\u7684\u4EFB\u52A1");default:return""}},scrollTo(s){$A.scrollToView(this.$refs[`type_${s}`][0],{behavior:"smooth",inline:"end"})},openTask(s){this.$store.dispatch("openTask",s)},openMenu(s,e){this.$store.state.taskOperation={event:s,task:e}},expiresFormat(s){return $A.countDownFormat(s,this.nowTime)}}},n={};var p=d(h,u,v,!1,k,null,null,null);function k(s){for(let e in n)this[e]=n[e]}var f=function(){return p.exports}();export{f as default}; +import{m as i,c,n as d}from"./app.139edc4e.js";import{T as _}from"./TaskMenu.382f8823.js";var u=function(){var s=this,e=s.$createElement,t=s._self._c||e;return t("div",{staticClass:"page-dashboard"},[t("PageTitle",{attrs:{title:s.$L("\u4EEA\u8868\u76D8")}}),t("div",{staticClass:"dashboard-wrapper"},[t("div",{staticClass:"dashboard-hello"},[s._v(s._s(s.$L("\u6B22\u8FCE\u60A8\uFF0C"+s.userInfo.nickname)))]),t("div",{staticClass:"dashboard-desc"},[s._v(" "+s._s(s.$L("\u4EE5\u4E0B\u662F\u4F60\u5F53\u524D\u7684\u4EFB\u52A1\u7EDF\u8BA1\u6570\u636E"))+" "),t("transition",{attrs:{name:"dashboard-load"}},[s.loadDashboardTasks?t("div",{staticClass:"dashboard-load"},[t("Loading")],1):s._e()])],1),t("ul",{staticClass:"dashboard-block"},[t("li",{on:{click:function(o){return s.scrollTo("today")}}},[t("div",{staticClass:"block-title"},[s._v(s._s(s.getTitle("today")))]),t("div",{staticClass:"block-data"},[t("div",{staticClass:"block-num"},[s._v(s._s(s.dashboardTask.today_count))]),t("i",{staticClass:"taskfont"},[s._v("\uE6F4")])])]),t("li",{on:{click:function(o){return s.scrollTo("overdue")}}},[t("div",{staticClass:"block-title"},[s._v(s._s(s.getTitle("overdue")))]),t("div",{staticClass:"block-data"},[t("div",{staticClass:"block-num"},[s._v(s._s(s.dashboardTask.overdue_count))]),t("i",{staticClass:"taskfont"},[s._v("\uE603")])])]),t("li",{on:{click:function(o){return s.scrollTo("all")}}},[t("div",{staticClass:"block-title"},[s._v(s._s(s.getTitle("all")))]),t("div",{staticClass:"block-data"},[t("div",{staticClass:"block-num"},[s._v(s._s(s.dashboardTask.all_count))]),t("i",{staticClass:"taskfont"},[s._v("\uE6F9")])])])]),t("div",{staticClass:"dashboard-list scrollbar-overlay"},[s._l(s.columns,function(o){return o.list.length>0?[t("div",{ref:`type_${o.type}`,refInFor:!0,staticClass:"dashboard-ref"}),t("div",{staticClass:"dashboard-title"},[s._v(s._s(o.title))]),t("ul",{staticClass:"dashboard-ul"},s._l(o.list,function(a,r){return t("li",{key:r,class:{complete:a.complete_at},style:a.color?{backgroundColor:a.color}:{},on:{click:function(l){return s.openTask(a)}}},[a.p_name?t("em",{staticClass:"priority-color",style:{backgroundColor:a.p_color}}):s._e(),t("div",{staticClass:"item-select",on:{click:function(l){return l.stopPropagation(),s.openMenu(l,a)}}},[t("i",{staticClass:"taskfont",domProps:{innerHTML:s._s(a.complete_at?"":"")}})]),t("div",{staticClass:"item-title"},[a.flow_item_name?t("span",{class:a.flow_item_status,on:{click:function(l){return l.stopPropagation(),s.openMenu(l,a)}}},[s._v(s._s(a.flow_item_name))]):s._e(),a.sub_top===!0?t("span",[s._v(s._s(s.$L("\u5B50\u4EFB\u52A1")))]):s._e(),a.sub_my&&a.sub_my.length>0?t("span",[s._v("+"+s._s(a.sub_my.length))]):s._e(),s._v(" "+s._s(a.name)+" ")]),a.desc?t("div",{staticClass:"item-icon"},[t("i",{staticClass:"taskfont"},[s._v("\uE71A")])]):s._e(),a.sub_num>0?t("div",{staticClass:"item-icon"},[t("i",{staticClass:"taskfont"},[s._v("\uE71F")]),t("em",[s._v(s._s(a.sub_complete)+"/"+s._s(a.sub_num))])]):s._e(),a.end_at?t("ETooltip",{attrs:{disabled:s.windowSmall||s.$isEEUiApp,content:a.end_at,placement:"right"}},[t("div",{class:["item-icon",a.today?"today":"",a.overdue?"overdue":""]},[t("i",{staticClass:"taskfont"},[s._v("\uE71D")]),t("em",[s._v(s._s(s.expiresFormat(a.end_at)))])])]):s._e()],1)}),0)]:s._e()})],2)])],1)},v=[];const h={components:{TaskMenu:_},data(){return{nowTime:$A.Time(),nowInterval:null,loadIng:0,dashboard:"today"}},mounted(){this.nowInterval=setInterval(()=>{this.nowTime=$A.Time()},1e3)},destroyed(){clearInterval(this.nowInterval)},activated(){this.$store.dispatch("getTaskForDashboard",600)},deactivated(){this.$store.dispatch("forgetTaskCompleteTemp",!0)},computed:{...i(["userInfo","cacheTasks","taskCompleteTemps","loadDashboardTasks"]),...c(["dashboardTask","assistTask","transforTasks"]),columns(){const s=[];return["today","overdue","all"].some(e=>{let t=this.transforTasks(this.dashboardTask[e]);s.push({type:e,title:this.getTitle(e),list:t.sort((o,a)=>$A.Date(o.end_at||"2099-12-31 23:59:59")-$A.Date(a.end_at||"2099-12-31 23:59:59"))})}),s.push({type:"assist",title:this.getTitle("assist"),list:this.assistTask.sort((e,t)=>$A.Date(e.end_at||"2099-12-31 23:59:59")-$A.Date(t.end_at||"2099-12-31 23:59:59"))}),s},total(){const{dashboardTask:s}=this;return s.today_count+s.overdue_count+s.all_count}},methods:{getTitle(s){switch(s){case"today":return this.$L("\u4ECA\u65E5\u5230\u671F");case"overdue":return this.$L("\u8D85\u671F\u4EFB\u52A1");case"all":return this.$L("\u5F85\u5B8C\u6210\u4EFB\u52A1");case"assist":return this.$L("\u534F\u52A9\u7684\u4EFB\u52A1");default:return""}},scrollTo(s){$A.scrollToView(this.$refs[`type_${s}`][0],{behavior:"smooth",inline:"end"})},openTask(s){this.$store.dispatch("openTask",s)},openMenu(s,e){this.$store.state.taskOperation={event:s,task:e}},expiresFormat(s){return $A.countDownFormat(s,this.nowTime)}}},n={};var p=d(h,u,v,!1,k,null,null,null);function k(s){for(let e in n)this[e]=n[e]}var f=function(){return p.exports}();export{f as default}; diff --git a/public/js/build/delete.fbfdc492.js b/public/js/build/delete.56c99ce6.js similarity index 99% rename from public/js/build/delete.fbfdc492.js rename to public/js/build/delete.56c99ce6.js index ca999297a..9b4849b45 100644 --- a/public/js/build/delete.fbfdc492.js +++ b/public/js/build/delete.56c99ce6.js @@ -1 +1 @@ -import{m as a,n as o}from"./app.bd09c684.js";var n=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[t.configLoad>0?e("Loading"):e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(r){r.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5E10\u53F7"),prop:"email"}},[t.isRegVerify==1?e("Input",{class:t.count>0?"setting-send-input":"setting-input",attrs:{search:"","enter-button":t.$L(t.sendBtnText),placeholder:t.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1")},on:{"on-search":t.sendEmailCode},model:{value:t.formDatum.email,callback:function(r){t.$set(t.formDatum,"email",r)},expression:"formDatum.email"}}):e("Input",{staticClass:"setting-input",attrs:{placeholder:t.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u5E10\u53F7")},model:{value:t.formDatum.email,callback:function(r){t.$set(t.formDatum,"email",r)},expression:"formDatum.email"}})],1),t.isRegVerify==1?e("FormItem",{attrs:{label:t.$L("\u90AE\u7BB1\u9A8C\u8BC1\u7801"),prop:"code"}},[e("Input",{attrs:{placeholder:t.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u9A8C\u8BC1\u7801")},model:{value:t.formDatum.code,callback:function(r){t.$set(t.formDatum,"code",r)},expression:"formDatum.code"}})],1):e("FormItem",{attrs:{label:t.$L("\u767B\u5F55\u5BC6\u7801"),prop:"code"}},[e("Input",{attrs:{type:"password",placeholder:t.$L("\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801")},model:{value:t.formDatum.password,callback:function(r){t.$set(t.formDatum,"password",r)},expression:"formDatum.password"}})],1),e("FormItem",{attrs:{label:t.$L("\u5220\u9664\u539F\u56E0")}},[e("Input",{attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:t.$L("\u8BF7\u8F93\u5165\u5220\u9664\u539F\u56E0")},model:{value:t.formDatum.reason,callback:function(r){t.$set(t.formDatum,"reason",r)},expression:"formDatum.reason"}})],1)],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:function(r){return t.submitForm("warning")}}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1),e("Modal",{staticClass:"page-setting-delete-box",attrs:{title:t.$L(`\u5220\u9664${t.appTitle}\u5E10\u53F7`)},model:{value:t.warningShow,callback:function(r){t.warningShow=r},expression:"warningShow"}},[e("div",{staticClass:"big-text"},[t._v(t._s(t.$L("\u5E10\u53F7\u5220\u9664\u540E\uFF0C\u8BE5\u5E10\u53F7\u5C06\u65E0\u6CD5\u6B63\u5E38\u767B\u5F55\u4E14\u65E0\u6CD5\u6062\u590D\uFF0C\u5E10\u53F7\u4E0B\u7684\u6240\u6709\u6570\u636E\u4E5F\u5C06\u88AB\u5220\u9664\u3002")))]),e("div",{staticClass:"small-text"},[e("div",[t._v(t._s(t.$L("\u5220\u9664\u524D\uFF0C\u8BF7\u786E\u8BA4\u4EE5\u4E0B\u4E8B\u9879\uFF1A")))]),e("div",[t._v(t._s(t.$L("1\u3001\u60A8\u5C06\u65E0\u6CD5\u67E5\u770B\u8BE5\u5E10\u53F7\u5185\u7684\u4EFB\u4F55\u4FE1\u606F\uFF0C\u5305\u62EC\u5E10\u53F7\u4FE1\u606F\u3001\u6587\u4EF6\u8BB0\u5F55\u3001\u804A\u5929\u8BB0\u5F55\u3001\u9879\u76EE\u4FE1\u606F\u3001\u56E2\u961F\u6210\u5458\u4FE1\u606F\u7B49\u3002")))]),e("div",[t._v(t._s(t.$L("2\u3001\u82E5\u4F60\u662F\u56E2\u961F\u7684\u6240\u6709\u8005\uFF0C\u8BF7\u5728\u5220\u9664\u60A8\u7684\u5E10\u53F7\u524D\u8F6C\u79FB\u6240\u6709\u6743\u3002\u4F8B\u5982\u8BE5\u5E10\u53F7\u6240\u521B\u5EFA\u7684\u9879\u76EE\uFF08\u53EF\u5C06\u9879\u76EE\u79FB\u4EA4\u4ED6\u4EBA\u6216\u5220\u9664\u9879\u76EE\uFF09\u4EE5\u53CA\u6587\u4EF6\u5939\u3002")))]),e("div",[t._v(t._s(t.$L("3\u3001\u60A8\u5C06\u9000\u51FA\u6240\u6709\u7FA4\u804A\uFF0C\u65E0\u6CD5\u67E5\u5230\u8FC7\u5F80\u6D88\u606F\u548C\u4EBA\u5458\u3002")))]),e("div",[t._v(t._s(t.$L("4\u3001\u8BF7\u4FDD\u8BC1\u5E10\u53F7\u672A\u88AB\u6682\u505C\u4F7F\u7528\u3002")))])]),e("div",{staticClass:"button-box",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:function(r){return t.submitForm("confirm")}}},[t._v(t._s(t.$L("\u5DF2\u6E05\u695A\u98CE\u9669\uFF0C\u786E\u5B9A\u5220\u9664"))+" ")])],1)])],1)},l=[];const m={data(){return{loadIng:0,configLoad:0,formDatum:{email:"",code:"",reason:"",password:""},ruleDatum:{email:[{validator:(t,s,e)=>{s.trim()===""?e(new Error(this.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u5E10\u53F7\uFF01"))):$A.isEmail(s.trim())?e():e(new Error(this.$L("\u8BF7\u8F93\u5165\u6B63\u786E\u90AE\u7BB1\u5E10\u53F7\uFF01")))},required:!0,trigger:"change"}],code:[{validator:(t,s,e)=>{s.trim()===""&&this.isRegVerify==1?e(new Error(this.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u9A8C\u8BC1\u7801"))):e()},required:!0,trigger:"change"}],password:[{validator:(t,s,e)=>{s.trim()===""&&this.isRegVerify!=1?e(new Error(this.$L("\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801"))):e()},required:!0,trigger:"change"}]},count:0,isSendButtonShow:!0,codeShow:!1,isRegVerify:0,warningShow:!1,sendBtnText:this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801")}},mounted(){this.formDatum.email=this.userInfo.email,this.getRegVerify()},computed:{...a(["userInfo","formLabelPosition","formLabelWidth"]),appTitle(){return window.systemInfo.title||"DooTask"}},methods:{sendEmailCode(){this.count>0||this.$store.dispatch("call",{url:"users/email/send",data:{type:3,email:this.formDatum.email},spinner:!0}).then(t=>{this.isSendButtonShow=!1,this.count=120,this.sendBtnText=this.count+" \u79D2";let s=setInterval(()=>{this.count--,this.sendBtnText=this.count+" \u79D2",this.count<=0&&(this.sendBtnText=this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801"),clearInterval(s))},1e3)}).catch(({msg:t})=>{$A.messageError(t)})},submitForm(t){this.$refs.formDatum.validate(s=>{s&&(this.loadIng++,this.formDatum.type=t,this.$store.dispatch("call",{url:"users/delete/account",data:this.formDatum}).then(({data:e})=>{t==="warning"?this.warningShow=!0:($A.messageSuccess("\u5220\u9664\u6210\u529F"),this.warningShow=!1,this.$store.dispatch("saveUserInfo",e),this.isSendButtonShow=!0,this.$refs.formDatum.resetFields())}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--}))})},resetForm(){this.$refs.formDatum.resetFields()},getRegVerify(){this.configLoad++,this.$store.dispatch("call",{url:"system/setting/email"}).then(({data:t})=>{this.isRegVerify=t.reg_verify==="open"}).finally(t=>{this.configLoad--})}}},i={};var u=o(m,n,l,!1,d,null,null,null);function d(t){for(let s in i)this[s]=i[s]}var f=function(){return u.exports}();export{f as default}; +import{m as a,n as o}from"./app.139edc4e.js";var n=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[t.configLoad>0?e("Loading"):e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(r){r.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5E10\u53F7"),prop:"email"}},[t.isRegVerify==1?e("Input",{class:t.count>0?"setting-send-input":"setting-input",attrs:{search:"","enter-button":t.$L(t.sendBtnText),placeholder:t.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1")},on:{"on-search":t.sendEmailCode},model:{value:t.formDatum.email,callback:function(r){t.$set(t.formDatum,"email",r)},expression:"formDatum.email"}}):e("Input",{staticClass:"setting-input",attrs:{placeholder:t.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u5E10\u53F7")},model:{value:t.formDatum.email,callback:function(r){t.$set(t.formDatum,"email",r)},expression:"formDatum.email"}})],1),t.isRegVerify==1?e("FormItem",{attrs:{label:t.$L("\u90AE\u7BB1\u9A8C\u8BC1\u7801"),prop:"code"}},[e("Input",{attrs:{placeholder:t.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u9A8C\u8BC1\u7801")},model:{value:t.formDatum.code,callback:function(r){t.$set(t.formDatum,"code",r)},expression:"formDatum.code"}})],1):e("FormItem",{attrs:{label:t.$L("\u767B\u5F55\u5BC6\u7801"),prop:"code"}},[e("Input",{attrs:{type:"password",placeholder:t.$L("\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801")},model:{value:t.formDatum.password,callback:function(r){t.$set(t.formDatum,"password",r)},expression:"formDatum.password"}})],1),e("FormItem",{attrs:{label:t.$L("\u5220\u9664\u539F\u56E0")}},[e("Input",{attrs:{type:"textarea",autosize:{minRows:4,maxRows:8},placeholder:t.$L("\u8BF7\u8F93\u5165\u5220\u9664\u539F\u56E0")},model:{value:t.formDatum.reason,callback:function(r){t.$set(t.formDatum,"reason",r)},expression:"formDatum.reason"}})],1)],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:function(r){return t.submitForm("warning")}}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1),e("Modal",{staticClass:"page-setting-delete-box",attrs:{title:t.$L(`\u5220\u9664${t.appTitle}\u5E10\u53F7`)},model:{value:t.warningShow,callback:function(r){t.warningShow=r},expression:"warningShow"}},[e("div",{staticClass:"big-text"},[t._v(t._s(t.$L("\u5E10\u53F7\u5220\u9664\u540E\uFF0C\u8BE5\u5E10\u53F7\u5C06\u65E0\u6CD5\u6B63\u5E38\u767B\u5F55\u4E14\u65E0\u6CD5\u6062\u590D\uFF0C\u5E10\u53F7\u4E0B\u7684\u6240\u6709\u6570\u636E\u4E5F\u5C06\u88AB\u5220\u9664\u3002")))]),e("div",{staticClass:"small-text"},[e("div",[t._v(t._s(t.$L("\u5220\u9664\u524D\uFF0C\u8BF7\u786E\u8BA4\u4EE5\u4E0B\u4E8B\u9879\uFF1A")))]),e("div",[t._v(t._s(t.$L("1\u3001\u60A8\u5C06\u65E0\u6CD5\u67E5\u770B\u8BE5\u5E10\u53F7\u5185\u7684\u4EFB\u4F55\u4FE1\u606F\uFF0C\u5305\u62EC\u5E10\u53F7\u4FE1\u606F\u3001\u6587\u4EF6\u8BB0\u5F55\u3001\u804A\u5929\u8BB0\u5F55\u3001\u9879\u76EE\u4FE1\u606F\u3001\u56E2\u961F\u6210\u5458\u4FE1\u606F\u7B49\u3002")))]),e("div",[t._v(t._s(t.$L("2\u3001\u82E5\u4F60\u662F\u56E2\u961F\u7684\u6240\u6709\u8005\uFF0C\u8BF7\u5728\u5220\u9664\u60A8\u7684\u5E10\u53F7\u524D\u8F6C\u79FB\u6240\u6709\u6743\u3002\u4F8B\u5982\u8BE5\u5E10\u53F7\u6240\u521B\u5EFA\u7684\u9879\u76EE\uFF08\u53EF\u5C06\u9879\u76EE\u79FB\u4EA4\u4ED6\u4EBA\u6216\u5220\u9664\u9879\u76EE\uFF09\u4EE5\u53CA\u6587\u4EF6\u5939\u3002")))]),e("div",[t._v(t._s(t.$L("3\u3001\u60A8\u5C06\u9000\u51FA\u6240\u6709\u7FA4\u804A\uFF0C\u65E0\u6CD5\u67E5\u5230\u8FC7\u5F80\u6D88\u606F\u548C\u4EBA\u5458\u3002")))]),e("div",[t._v(t._s(t.$L("4\u3001\u8BF7\u4FDD\u8BC1\u5E10\u53F7\u672A\u88AB\u6682\u505C\u4F7F\u7528\u3002")))])]),e("div",{staticClass:"button-box",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:function(r){return t.submitForm("confirm")}}},[t._v(t._s(t.$L("\u5DF2\u6E05\u695A\u98CE\u9669\uFF0C\u786E\u5B9A\u5220\u9664"))+" ")])],1)])],1)},l=[];const m={data(){return{loadIng:0,configLoad:0,formDatum:{email:"",code:"",reason:"",password:""},ruleDatum:{email:[{validator:(t,s,e)=>{s.trim()===""?e(new Error(this.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u5E10\u53F7\uFF01"))):$A.isEmail(s.trim())?e():e(new Error(this.$L("\u8BF7\u8F93\u5165\u6B63\u786E\u90AE\u7BB1\u5E10\u53F7\uFF01")))},required:!0,trigger:"change"}],code:[{validator:(t,s,e)=>{s.trim()===""&&this.isRegVerify==1?e(new Error(this.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u9A8C\u8BC1\u7801"))):e()},required:!0,trigger:"change"}],password:[{validator:(t,s,e)=>{s.trim()===""&&this.isRegVerify!=1?e(new Error(this.$L("\u8BF7\u8F93\u5165\u767B\u5F55\u5BC6\u7801"))):e()},required:!0,trigger:"change"}]},count:0,isSendButtonShow:!0,codeShow:!1,isRegVerify:0,warningShow:!1,sendBtnText:this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801")}},mounted(){this.formDatum.email=this.userInfo.email,this.getRegVerify()},computed:{...a(["userInfo","formLabelPosition","formLabelWidth"]),appTitle(){return window.systemInfo.title||"DooTask"}},methods:{sendEmailCode(){this.count>0||this.$store.dispatch("call",{url:"users/email/send",data:{type:3,email:this.formDatum.email},spinner:!0}).then(t=>{this.isSendButtonShow=!1,this.count=120,this.sendBtnText=this.count+" \u79D2";let s=setInterval(()=>{this.count--,this.sendBtnText=this.count+" \u79D2",this.count<=0&&(this.sendBtnText=this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801"),clearInterval(s))},1e3)}).catch(({msg:t})=>{$A.messageError(t)})},submitForm(t){this.$refs.formDatum.validate(s=>{s&&(this.loadIng++,this.formDatum.type=t,this.$store.dispatch("call",{url:"users/delete/account",data:this.formDatum}).then(({data:e})=>{t==="warning"?this.warningShow=!0:($A.messageSuccess("\u5220\u9664\u6210\u529F"),this.warningShow=!1,this.$store.dispatch("saveUserInfo",e),this.isSendButtonShow=!0,this.$refs.formDatum.resetFields())}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--}))})},resetForm(){this.$refs.formDatum.resetFields()},getRegVerify(){this.configLoad++,this.$store.dispatch("call",{url:"system/setting/email"}).then(({data:t})=>{this.isRegVerify=t.reg_verify==="open"}).finally(t=>{this.configLoad--})}}},i={};var u=o(m,n,l,!1,d,null,null,null);function d(t){for(let s in i)this[s]=i[s]}var f=function(){return u.exports}();export{f as default}; diff --git a/public/js/build/elliptic.min.9c4a89b7.js b/public/js/build/elliptic.min.779c7e7c.js similarity index 99% rename from public/js/build/elliptic.min.9c4a89b7.js rename to public/js/build/elliptic.min.779c7e7c.js index 3027946f9..3542abe42 100644 --- a/public/js/build/elliptic.min.9c4a89b7.js +++ b/public/js/build/elliptic.min.779c7e7c.js @@ -1 +1 @@ -import{L as Y,M as ae,k as J,Y as j,o as Ie,y as Me,q as xe,v as Be,t as Ce,Q as _e,R as De}from"./app.bd09c684.js";import u from"./bn.min.0b81af35.js";/*! OpenPGP.js v5.7.0 - 2023-03-31 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */var be,F=Y(function(e,f){var d=f;function t(c){return c.length===1?"0"+c:c}function a(c){for(var r="",b=0;b>8,s=255&n;o?b.push(o,s):b.push(s)}return b},d.zero2=t,d.toHex=a,d.encode=function(c,r){return r==="hex"?a(c):c}}),v=Y(function(e,f){var d=f;d.assert=ae,d.toArray=F.toArray,d.zero2=F.zero2,d.toHex=F.toHex,d.encode=F.encode,d.getNAF=function(t,a){for(var c=[],r=1<=0;){var i;if(b.isOdd()){var n=b.andln(r-1);i=n>(r>>1)-1?(r>>1)-n:n,b.isubn(i)}else i=0;c.push(i);for(var o=b.cmpn(0)!==0&&b.andln(r-1)===0?a+1:1,s=1;s0||a.cmpn(-b)>0;){var i,n,o,s=t.andln(3)+r&3,h=a.andln(3)+b&3;s===3&&(s=-1),h===3&&(h=-1),(1&s)==0?i=0:i=(o=t.andln(7)+r&7)!==3&&o!==5||h!==2?s:-s,c[0].push(i),(1&h)==0?n=0:n=(o=a.andln(7)+b&7)!==3&&o!==5||s!==2?h:-h,c[1].push(n),2*r===i+1&&(r=1-r),2*b===n+1&&(b=1-b),t.iushrn(1),a.iushrn(1)}return c},d.cachedProperty=function(t,a,c){var r="_"+a;t.prototype[a]=function(){return this[r]!==void 0?this[r]:this[r]=c.call(this)}},d.parseBytes=function(t){return typeof t=="string"?d.toArray(t,"hex"):t},d.intFromLE=function(t){return new u(t,"hex","le")}}),ce=function(e){return be||(be=new k(null)),be.generate(e)};function k(e){this.rand=e}var Fe=k;if(k.prototype.generate=function(e){return this._rand(e)},k.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var f=new Uint8Array(e),d=0;d0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var x=N;function _(e,f){this.curve=e,this.type=f,this.precomputed=null}N.prototype.point=function(){throw Error("Not implemented")},N.prototype.validate=function(){throw Error("Not implemented")},N.prototype._fixedNafMul=function(e,f){$(e.precomputed);var d=e._getDoubles(),t=Z(f,1),a=(1<=r;f--)b=(b<<1)+t[f];c.push(b)}for(var i=this.jpoint(null,null,null),n=this.jpoint(null,null,null),o=a;o>0;o--){for(r=0;r=0;b--){for(f=0;b>=0&&c[b]===0;b--)f++;if(b>=0&&f++,r=r.dblp(f),b<0)break;var i=c[b];$(i!==0),r=e.type==="affine"?i>0?r.mixedAdd(a[i-1>>1]):r.mixedAdd(a[-i-1>>1].neg()):i>0?r.add(a[i-1>>1]):r.add(a[-i-1>>1].neg())}return e.type==="affine"?r.toP():r},N.prototype._wnafMulAdd=function(e,f,d,t,a){for(var c=this._wnafT1,r=this._wnafT2,b=this._wnafT3,i=0,n=0;n=1;n-=2){var s=n-1,h=n;if(c[s]===1&&c[h]===1){var p=[f[s],null,null,f[h]];f[s].y.cmp(f[h].y)===0?(p[1]=f[s].add(f[h]),p[2]=f[s].toJ().mixedAdd(f[h].neg())):f[s].y.cmp(f[h].y.redNeg())===0?(p[1]=f[s].toJ().mixedAdd(f[h]),p[2]=f[s].add(f[h].neg())):(p[1]=f[s].toJ().mixedAdd(f[h]),p[2]=f[s].toJ().mixedAdd(f[h].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],w=ze(d[s],d[h]);i=Math.max(w[0].length,i),b[s]=Array(i),b[h]=Array(i);for(var l=0;l=0;n--){for(var re=0;n>=0;){var pe=!0;for(l=0;l=0&&re++,R=R.dblp(re),n<0)break;for(l=0;l0?X=r[l][W-1>>1]:W<0&&(X=r[l][-W-1>>1].neg()),R=X.type==="affine"?R.mixedAdd(X):R.add(X))}}for(n=0;n=Math.ceil((e.bitLength()+1)/f.step)},_.prototype._getDoubles=function(e,f){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var d=[this],t=this,a=0;a=0&&(c=f,r=d),t.negative&&(t=t.neg(),a=a.neg()),c.negative&&(c=c.neg(),r=r.neg()),[{a:t,b:a},{a:c,b:r}]},D.prototype._endoSplit=function(e){var f=this.endo.basis,d=f[0],t=f[1],a=t.b.mul(e).divRound(this.n),c=d.b.neg().mul(e).divRound(this.n),r=a.mul(d.a),b=c.mul(t.a),i=a.mul(d.b),n=c.mul(t.b);return{k1:e.sub(r).sub(b),k2:i.add(n).neg()}},D.prototype.pointFromX=function(e,f){(e=new u(e,16)).red||(e=e.toRed(this.red));var d=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),t=d.redSqrt();if(t.redSqr().redSub(d).cmp(this.zero)!==0)throw Error("invalid point");var a=t.fromRed().isOdd();return(f&&!a||!f&&a)&&(t=t.redNeg()),this.point(e,t)},D.prototype.validate=function(e){if(e.inf)return!0;var f=e.x,d=e.y,t=this.a.redMul(f),a=f.redSqr().redMul(f).redIAdd(t).redIAdd(this.b);return d.redSqr().redISub(a).cmpn(0)===0},D.prototype._endoWnafMulAdd=function(e,f,d){for(var t=this._endoWnafT1,a=this._endoWnafT2,c=0;c":""},A.prototype.isInfinity=function(){return this.inf},A.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var f=this.y.redSub(e.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(e.x).redInvm()));var d=f.redSqr().redISub(this.x).redISub(e.x),t=f.redMul(this.x.redSub(d)).redISub(this.y);return this.curve.point(d,t)},A.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,d=this.x.redSqr(),t=e.redInvm(),a=d.redAdd(d).redIAdd(d).redIAdd(f).redMul(t),c=a.redSqr().redISub(this.x.redAdd(this.x)),r=a.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,r)},A.prototype.getX=function(){return this.x.fromRed()},A.prototype.getY=function(){return this.y.fromRed()},A.prototype.mul=function(e){return e=new u(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},A.prototype.mulAdd=function(e,f,d){var t=[this,f],a=[e,d];return this.curve.endo?this.curve._endoWnafMulAdd(t,a):this.curve._wnafMulAdd(1,t,a,2)},A.prototype.jmulAdd=function(e,f,d){var t=[this,f],a=[e,d];return this.curve.endo?this.curve._endoWnafMulAdd(t,a,!0):this.curve._wnafMulAdd(1,t,a,2,!0)},A.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)},A.prototype.neg=function(e){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var d=this.precomputed,t=function(a){return a.neg()};f.precomputed={naf:d.naf&&{wnd:d.naf.wnd,points:d.naf.points.map(t)},doubles:d.doubles&&{step:d.doubles.step,points:d.doubles.points.map(t)}}}return f},A.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},J(I,x.BasePoint),D.prototype.jpoint=function(e,f,d){return new I(this,e,f,d)},I.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),f=e.redSqr(),d=this.x.redMul(f),t=this.y.redMul(f).redMul(e);return this.curve.point(d,t)},I.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},I.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var f=e.z.redSqr(),d=this.z.redSqr(),t=this.x.redMul(f),a=e.x.redMul(d),c=this.y.redMul(f.redMul(e.z)),r=e.y.redMul(d.redMul(this.z)),b=t.redSub(a),i=c.redSub(r);if(b.cmpn(0)===0)return i.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var n=b.redSqr(),o=n.redMul(b),s=t.redMul(n),h=i.redSqr().redIAdd(o).redISub(s).redISub(s),p=i.redMul(s.redISub(h)).redISub(c.redMul(o)),y=this.z.redMul(e.z).redMul(b);return this.curve.jpoint(h,p,y)},I.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var f=this.z.redSqr(),d=this.x,t=e.x.redMul(f),a=this.y,c=e.y.redMul(f).redMul(this.z),r=d.redSub(t),b=a.redSub(c);if(r.cmpn(0)===0)return b.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var i=r.redSqr(),n=i.redMul(r),o=d.redMul(i),s=b.redSqr().redIAdd(n).redISub(o).redISub(o),h=b.redMul(o.redISub(s)).redISub(a.redMul(n)),p=this.z.redMul(r);return this.curve.jpoint(s,h,p)},I.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var f=this,d=0;d=0)return!1;if(d.redIAdd(a),this.x.cmp(d)===0)return!0}},I.prototype.inspect=function(){return this.isInfinity()?"":""},I.prototype.isInfinity=function(){return this.z.cmpn(0)===0},J(K,x);var Pe=K;function g(e,f,d){x.BasePoint.call(this,e,"projective"),f===null&&d===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new u(f,16),this.z=new u(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}K.prototype.validate=function(e){var f=e.normalize().x,d=f.redSqr(),t=d.redMul(f).redAdd(d.redMul(this.a)).redAdd(f);return t.redSqrt().redSqr().cmp(t)===0},J(g,x.BasePoint),K.prototype.decodePoint=function(e,f){if((e=v.toArray(e,f)).length===33&&e[0]===64&&(e=e.slice(1,33).reverse()),e.length!==32)throw Error("Unknown point compression format");return this.point(e,1)},K.prototype.point=function(e,f){return new g(this,e,f)},K.prototype.pointFromJSON=function(e){return g.fromJSON(this,e)},g.prototype.precompute=function(){},g.prototype._encode=function(e){var f=this.curve.p.byteLength();return e?[64].concat(this.getX().toArray("le",f)):this.getX().toArray("be",f)},g.fromJSON=function(e,f){return new g(e,f[0],f[1]||e.one)},g.prototype.inspect=function(){return this.isInfinity()?"":""},g.prototype.isInfinity=function(){return this.z.cmpn(0)===0},g.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),f=this.x.redSub(this.z).redSqr(),d=e.redSub(f),t=e.redMul(f),a=d.redMul(f.redAdd(this.curve.a24.redMul(d)));return this.curve.point(t,a)},g.prototype.add=function(){throw Error("Not supported on Montgomery curve")},g.prototype.diffAdd=function(e,f){var d=this.x.redAdd(this.z),t=this.x.redSub(this.z),a=e.x.redAdd(e.z),c=e.x.redSub(e.z).redMul(d),r=a.redMul(t),b=f.z.redMul(c.redAdd(r).redSqr()),i=f.x.redMul(c.redISub(r).redSqr());return this.curve.point(b,i)},g.prototype.mul=function(e){for(var f=(e=new u(e,16)).clone(),d=this,t=this.curve.point(null,null),a=[];f.cmpn(0)!==0;f.iushrn(1))a.push(f.andln(1));for(var c=a.length-1;c>=0;c--)a[c]===0?(d=d.diffAdd(t,this),t=t.dbl()):(t=d.diffAdd(t,this),d=d.dbl());return t},g.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},g.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},g.prototype.eq=function(e){return this.getX().cmp(e.getX())===0},g.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},g.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var Ne=v.assert;function z(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,x.call(this,"edwards",e),this.a=new u(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new u(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new u(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Ne(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|e.c)==1}J(z,x);var ke=z;function m(e,f,d,t,a){x.BasePoint.call(this,e,"projective"),f===null&&d===null&&t===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new u(f,16),this.y=new u(d,16),this.z=t?new u(t,16):this.curve.one,this.t=a&&new u(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}z.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},z.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},z.prototype.jpoint=function(e,f,d,t){return this.point(e,f,d,t)},z.prototype.pointFromX=function(e,f){(e=new u(e,16)).red||(e=e.toRed(this.red));var d=e.redSqr(),t=this.c2.redSub(this.a.redMul(d)),a=this.one.redSub(this.c2.redMul(this.d).redMul(d)),c=t.redMul(a.redInvm()),r=c.redSqrt();if(r.redSqr().redSub(c).cmp(this.zero)!==0)throw Error("invalid point");var b=r.fromRed().isOdd();return(f&&!b||!f&&b)&&(r=r.redNeg()),this.point(e,r)},z.prototype.pointFromY=function(e,f){(e=new u(e,16)).red||(e=e.toRed(this.red));var d=e.redSqr(),t=d.redSub(this.c2),a=d.redMul(this.d).redMul(this.c2).redSub(this.a),c=t.redMul(a.redInvm());if(c.cmp(this.zero)===0){if(f)throw Error("invalid point");return this.point(this.zero,e)}var r=c.redSqrt();if(r.redSqr().redSub(c).cmp(this.zero)!==0)throw Error("invalid point");return r.fromRed().isOdd()!==f&&(r=r.redNeg()),this.point(r,e)},z.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var f=e.x.redSqr(),d=e.y.redSqr(),t=f.redMul(this.a).redAdd(d),a=this.c2.redMul(this.one.redAdd(this.d.redMul(f).redMul(d)));return t.cmp(a)===0},J(m,x.BasePoint),z.prototype.pointFromJSON=function(e){return m.fromJSON(this,e)},z.prototype.point=function(e,f,d,t){return new m(this,e,f,d,t)},m.fromJSON=function(e,f){return new m(e,f[0],f[1],f[2])},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},m.prototype._extDbl=function(){var e=this.x.redSqr(),f=this.y.redSqr(),d=this.z.redSqr();d=d.redIAdd(d);var t=this.curve._mulA(e),a=this.x.redAdd(this.y).redSqr().redISub(e).redISub(f),c=t.redAdd(f),r=c.redSub(d),b=t.redSub(f),i=a.redMul(r),n=c.redMul(b),o=a.redMul(b),s=r.redMul(c);return this.curve.point(i,n,s,o)},m.prototype._projDbl=function(){var e,f,d,t=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var r=(n=this.curve._mulA(a)).redAdd(c);if(this.zOne)e=t.redSub(a).redSub(c).redMul(r.redSub(this.curve.two)),f=r.redMul(n.redSub(c)),d=r.redSqr().redSub(r).redSub(r);else{var b=this.z.redSqr(),i=r.redSub(b).redISub(b);e=t.redSub(a).redISub(c).redMul(i),f=r.redMul(n.redSub(c)),d=r.redMul(i)}}else{var n=a.redAdd(c);b=this.curve._mulC(this.z).redSqr(),i=n.redSub(b).redSub(b),e=this.curve._mulC(t.redISub(n)).redMul(i),f=this.curve._mulC(n).redMul(a.redISub(c)),d=n.redMul(i)}return this.curve.point(e,f,d)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(e){var f=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),d=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),t=this.t.redMul(this.curve.dd).redMul(e.t),a=this.z.redMul(e.z.redAdd(e.z)),c=d.redSub(f),r=a.redSub(t),b=a.redAdd(t),i=d.redAdd(f),n=c.redMul(r),o=b.redMul(i),s=c.redMul(i),h=r.redMul(b);return this.curve.point(n,o,h,s)},m.prototype._projAdd=function(e){var f,d,t=this.z.redMul(e.z),a=t.redSqr(),c=this.x.redMul(e.x),r=this.y.redMul(e.y),b=this.curve.d.redMul(c).redMul(r),i=a.redSub(b),n=a.redAdd(b),o=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(c).redISub(r),s=t.redMul(i).redMul(o);return this.curve.twisted?(f=t.redMul(n).redMul(r.redSub(this.curve._mulA(c))),d=i.redMul(n)):(f=t.redMul(n).redMul(r.redSub(c)),d=this.curve._mulC(i).redMul(n)),this.curve.point(s,f,d)},m.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},m.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},m.prototype.mulAdd=function(e,f,d){return this.curve._wnafMulAdd(1,[this,f],[e,d],2,!1)},m.prototype.jmulAdd=function(e,f,d){return this.curve._wnafMulAdd(1,[this,f],[e,d],2,!0)},m.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},m.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()},m.prototype.getY=function(){return this.normalize(),this.y.fromRed()},m.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0},m.prototype.eqXToP=function(e){var f=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(f)===0)return!0;for(var d=e.clone(),t=this.curve.redN.redMul(this.z);;){if(d.iadd(this.curve.n),d.cmp(this.curve.p)>=0)return!1;if(f.redIAdd(t),this.x.cmp(f)===0)return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add;var de=Y(function(e,f){var d=f;d.base=x,d.short=Re,d.mont=Pe,d.edwards=ke}),ie=j.rotl32,Q=j.sum32,Oe=j.sum32_5,je=xe.ft_1,we=Ie.BlockHash,Le=[1518500249,1859775393,2400959708,3395469782];function q(){if(!(this instanceof q))return new q;we.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}j.inherits(q,we);var Te=q;q.blockSize=512,q.outSize=160,q.hmacStrength=80,q.padLength=64,q.prototype._update=function(e,f){for(var d=this.W,t=0;t<16;t++)d[t]=e[f+t];for(;tthis.blockSize&&(e=new this.Hash().update(e).digest()),ae(e.length<=this.blockSize);for(var f=e.length;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(f,d,t)}var ue=O;O.prototype._init=function(e,f,d){var t=e.concat(f).concat(d);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var a=0;a=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(d||[])),this._reseed=1},O.prototype.generate=function(e,f,d,t){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");typeof f!="string"&&(t=d,d=f,f=null),d&&(d=F.toArray(d,t||"hex"),this._update(d));for(var a=[];a.length"};var Ke=v.assert;function te(e,f){if(e instanceof te)return e;this._importDER(e,f)||(Ke(e.r&&e.s,"Signature without r or s"),this.r=new u(e.r,16),this.s=new u(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var ee=te;function Ue(){this.place=0}function se(e,f){var d=e[f.place++];if(!(128&d))return d;for(var t=15&d,a=0,c=0,r=f.place;c>>3);for(e.push(128|d);--d;)e.push(f>>>(d<<3)&255);e.push(f)}}te.prototype._importDER=function(e,f){e=v.toArray(e,f);var d=new Ue;if(e[d.place++]!==48||se(e,d)+d.place!==e.length||e[d.place++]!==2)return!1;var t=se(e,d),a=e.slice(d.place,t+d.place);if(d.place+=t,e[d.place++]!==2)return!1;var c=se(e,d);if(e.length!==c+d.place)return!1;var r=e.slice(d.place,c+d.place);return a[0]===0&&128&a[1]&&(a=a.slice(1)),r[0]===0&&128&r[1]&&(r=r.slice(1)),this.r=new u(a),this.s=new u(r),this.recoveryParam=null,!0},te.prototype.toDER=function(e){var f=this.r.toArray(),d=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&d[0]&&(d=[0].concat(d)),f=ye(f),d=ye(d);!(d[0]||128&d[1]);)d=d.slice(1);var t=[2];oe(t,f.length),(t=t.concat(f)).push(2),oe(t,d.length);var a=t.concat(d),c=[48];return oe(c,a.length),c=c.concat(a),v.encode(c,e)};var Ee=v.assert;function B(e){if(!(this instanceof B))return new B(e);typeof e=="string"&&(Ee(G.hasOwnProperty(e),"Unknown curve "+e),e=G[e]),e instanceof G.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var Ye=B;B.prototype.keyPair=function(e){return new ne(this,e)},B.prototype.keyFromPrivate=function(e,f){return ne.fromPrivate(this,e,f)},B.prototype.keyFromPublic=function(e,f){return ne.fromPublic(this,e,f)},B.prototype.genKeyPair=function(e){e||(e={});var f=new ue({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||ce(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()});if(this.curve.type==="mont"){var d=new u(f.generate(32));return this.keyFromPrivate(d)}for(var t=this.n.byteLength(),a=this.n.sub(new u(2));;)if(!((d=new u(f.generate(t))).cmp(a)>0))return d.iaddn(1),this.keyFromPrivate(d)},B.prototype._truncateToN=function(e,f,d){var t=(d=d||8*e.byteLength())-this.n.bitLength();return t>0&&(e=e.ushrn(t)),!f&&e.cmp(this.n)>=0?e.sub(this.n):e},B.prototype.truncateMsg=function(e){var f;return e instanceof Uint8Array?(f=8*e.byteLength,e=this._truncateToN(new u(e,16),!1,f)):typeof e=="string"?(f=4*e.length,e=this._truncateToN(new u(e,16),!1,f)):e=this._truncateToN(new u(e,16)),e},B.prototype.sign=function(e,f,d,t){typeof d=="object"&&(t=d,d=null),t||(t={}),f=this.keyFromPrivate(f,d),e=this.truncateMsg(e);for(var a=this.n.byteLength(),c=f.getPrivate().toArray("be",a),r=e.toArray("be",a),b=new ue({hash:this.hash,entropy:c,nonce:r,pers:t.pers,persEnc:t.persEnc||"utf8"}),i=this.n.sub(new u(1)),n=0;;n++){var o=t.k?t.k(n):new u(b.generate(this.n.byteLength()));if(!((o=this._truncateToN(o,!0)).cmpn(1)<=0||o.cmp(i)>=0)){var s=this.g.mul(o);if(!s.isInfinity()){var h=s.getX(),p=h.umod(this.n);if(p.cmpn(0)!==0){var y=o.invm(this.n).mul(p.mul(f.getPrivate()).iadd(e));if((y=y.umod(this.n)).cmpn(0)!==0){var w=(s.getY().isOdd()?1:0)|(h.cmp(p)!==0?2:0);return t.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),w^=1),new ee({r:p,s:y,recoveryParam:w})}}}}}},B.prototype.verify=function(e,f,d,t){return d=this.keyFromPublic(d,t),f=new ee(f,"hex"),this._verify(this.truncateMsg(e),f,d)||this._verify(this._truncateToN(new u(e,16)),f,d)},B.prototype._verify=function(e,f,d){var t=f.r,a=f.s;if(t.cmpn(1)<0||t.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var c,r=a.invm(this.n),b=r.mul(e).umod(this.n),i=r.mul(t).umod(this.n);return this.curve._maxwellTrick?!(c=this.g.jmulAdd(b,d.getPublic(),i)).isInfinity()&&c.eqXToP(t):!(c=this.g.mulAdd(b,d.getPublic(),i)).isInfinity()&&c.getX().umod(this.n).cmp(t)===0},B.prototype.recoverPubKey=function(e,f,d,t){Ee((3&d)===d,"The recovery param is more than two bits"),f=new ee(f,t);var a=this.n,c=new u(e),r=f.r,b=f.s,i=1&d,n=d>>1;if(r.cmp(this.curve.p.umod(this.curve.n))>=0&&n)throw Error("Unable to find sencond key candinate");r=n?this.curve.pointFromX(r.add(this.curve.n),i):this.curve.pointFromX(r,i);var o=f.r.invm(a),s=a.sub(c).mul(o).umod(a),h=b.mul(o).umod(a);return this.g.mulAdd(s,r,h)},B.prototype.getKeyRecoveryParam=function(e,f,d,t){if((f=new ee(f,t)).recoveryParam!==null)return f.recoveryParam;for(var a=0;a<4;a++){var c;try{c=this.recoverPubKey(e,f,a)}catch{continue}if(c.eq(d))return a}throw Error("Unable to find valid recovery factor")};var me=v.assert,Ae=v.parseBytes,V=v.cachedProperty;function S(e,f){if(this.eddsa=e,f.hasOwnProperty("secret")&&(this._secret=Ae(f.secret)),e.isPoint(f.pub))this._pub=f.pub;else if(this._pubBytes=Ae(f.pub),this._pubBytes&&this._pubBytes.length===33&&this._pubBytes[0]===64&&(this._pubBytes=this._pubBytes.slice(1,33)),this._pubBytes&&this._pubBytes.length!==32)throw Error("Unknown point compression format")}S.fromPublic=function(e,f){return f instanceof S?f:new S(e,{pub:f})},S.fromSecret=function(e,f){return f instanceof S?f:new S(e,{secret:f})},S.prototype.secret=function(){return this._secret},V(S,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),V(S,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),V(S,"privBytes",function(){var e=this.eddsa,f=this.hash(),d=e.encodingLength-1,t=f.slice(0,e.encodingLength);return t[0]&=248,t[d]&=127,t[d]|=64,t}),V(S,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),V(S,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),V(S,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),S.prototype.sign=function(e){return me(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},S.prototype.verify=function(e,f){return this.eddsa.verify(e,f,this)},S.prototype.getSecret=function(e){return me(this._secret,"KeyPair is public only"),v.encode(this.secret(),e)},S.prototype.getPublic=function(e,f){return v.encode((f?[64]:[]).concat(this.pubBytes()),e)};var he=S,He=v.assert,fe=v.cachedProperty,We=v.parseBytes;function T(e,f){this.eddsa=e,typeof f!="object"&&(f=We(f)),Array.isArray(f)&&(f={R:f.slice(0,e.encodingLength),S:f.slice(e.encodingLength)}),He(f.R&&f.S,"Signature without R or S"),e.isPoint(f.R)&&(this._R=f.R),f.S instanceof u&&(this._S=f.S),this._Rencoded=Array.isArray(f.R)?f.R:f.Rencoded,this._Sencoded=Array.isArray(f.S)?f.S:f.Sencoded}fe(T,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),fe(T,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),fe(T,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),fe(T,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),T.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},T.prototype.toHex=function(){return v.encode(this.toBytes(),"hex").toUpperCase()};var ge=T,Qe=v.assert,Se=v.parseBytes;function M(e){if(Qe(e==="ed25519","only tested with ed25519 so far"),!(this instanceof M))return new M(e);e=G[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=C.sha512}var Ge=M;M.prototype.sign=function(e,f){e=Se(e);var d=this.keyFromSecret(f),t=this.hashInt(d.messagePrefix(),e),a=this.g.mul(t),c=this.encodePoint(a),r=this.hashInt(c,d.pubBytes(),e).mul(d.priv()),b=t.add(r).umod(this.curve.n);return this.makeSignature({R:a,S:b,Rencoded:c})},M.prototype.verify=function(e,f,d){e=Se(e),f=this.makeSignature(f);var t=this.keyFromPublic(d),a=this.hashInt(f.Rencoded(),t.pubBytes(),e),c=this.g.mul(f.S());return f.R().add(t.pub().mul(a)).eq(c)},M.prototype.hashInt=function(){for(var e=this.hash(),f=0;f>8,s=255&n;o?b.push(o,s):b.push(s)}return b},d.zero2=t,d.toHex=a,d.encode=function(c,r){return r==="hex"?a(c):c}}),v=Y(function(e,f){var d=f;d.assert=ae,d.toArray=F.toArray,d.zero2=F.zero2,d.toHex=F.toHex,d.encode=F.encode,d.getNAF=function(t,a){for(var c=[],r=1<=0;){var i;if(b.isOdd()){var n=b.andln(r-1);i=n>(r>>1)-1?(r>>1)-n:n,b.isubn(i)}else i=0;c.push(i);for(var o=b.cmpn(0)!==0&&b.andln(r-1)===0?a+1:1,s=1;s0||a.cmpn(-b)>0;){var i,n,o,s=t.andln(3)+r&3,h=a.andln(3)+b&3;s===3&&(s=-1),h===3&&(h=-1),(1&s)==0?i=0:i=(o=t.andln(7)+r&7)!==3&&o!==5||h!==2?s:-s,c[0].push(i),(1&h)==0?n=0:n=(o=a.andln(7)+b&7)!==3&&o!==5||s!==2?h:-h,c[1].push(n),2*r===i+1&&(r=1-r),2*b===n+1&&(b=1-b),t.iushrn(1),a.iushrn(1)}return c},d.cachedProperty=function(t,a,c){var r="_"+a;t.prototype[a]=function(){return this[r]!==void 0?this[r]:this[r]=c.call(this)}},d.parseBytes=function(t){return typeof t=="string"?d.toArray(t,"hex"):t},d.intFromLE=function(t){return new u(t,"hex","le")}}),ce=function(e){return be||(be=new k(null)),be.generate(e)};function k(e){this.rand=e}var Fe=k;if(k.prototype.generate=function(e){return this._rand(e)},k.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var f=new Uint8Array(e),d=0;d0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var x=N;function _(e,f){this.curve=e,this.type=f,this.precomputed=null}N.prototype.point=function(){throw Error("Not implemented")},N.prototype.validate=function(){throw Error("Not implemented")},N.prototype._fixedNafMul=function(e,f){$(e.precomputed);var d=e._getDoubles(),t=Z(f,1),a=(1<=r;f--)b=(b<<1)+t[f];c.push(b)}for(var i=this.jpoint(null,null,null),n=this.jpoint(null,null,null),o=a;o>0;o--){for(r=0;r=0;b--){for(f=0;b>=0&&c[b]===0;b--)f++;if(b>=0&&f++,r=r.dblp(f),b<0)break;var i=c[b];$(i!==0),r=e.type==="affine"?i>0?r.mixedAdd(a[i-1>>1]):r.mixedAdd(a[-i-1>>1].neg()):i>0?r.add(a[i-1>>1]):r.add(a[-i-1>>1].neg())}return e.type==="affine"?r.toP():r},N.prototype._wnafMulAdd=function(e,f,d,t,a){for(var c=this._wnafT1,r=this._wnafT2,b=this._wnafT3,i=0,n=0;n=1;n-=2){var s=n-1,h=n;if(c[s]===1&&c[h]===1){var p=[f[s],null,null,f[h]];f[s].y.cmp(f[h].y)===0?(p[1]=f[s].add(f[h]),p[2]=f[s].toJ().mixedAdd(f[h].neg())):f[s].y.cmp(f[h].y.redNeg())===0?(p[1]=f[s].toJ().mixedAdd(f[h]),p[2]=f[s].add(f[h].neg())):(p[1]=f[s].toJ().mixedAdd(f[h]),p[2]=f[s].toJ().mixedAdd(f[h].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],w=ze(d[s],d[h]);i=Math.max(w[0].length,i),b[s]=Array(i),b[h]=Array(i);for(var l=0;l=0;n--){for(var re=0;n>=0;){var pe=!0;for(l=0;l=0&&re++,R=R.dblp(re),n<0)break;for(l=0;l0?X=r[l][W-1>>1]:W<0&&(X=r[l][-W-1>>1].neg()),R=X.type==="affine"?R.mixedAdd(X):R.add(X))}}for(n=0;n=Math.ceil((e.bitLength()+1)/f.step)},_.prototype._getDoubles=function(e,f){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var d=[this],t=this,a=0;a=0&&(c=f,r=d),t.negative&&(t=t.neg(),a=a.neg()),c.negative&&(c=c.neg(),r=r.neg()),[{a:t,b:a},{a:c,b:r}]},D.prototype._endoSplit=function(e){var f=this.endo.basis,d=f[0],t=f[1],a=t.b.mul(e).divRound(this.n),c=d.b.neg().mul(e).divRound(this.n),r=a.mul(d.a),b=c.mul(t.a),i=a.mul(d.b),n=c.mul(t.b);return{k1:e.sub(r).sub(b),k2:i.add(n).neg()}},D.prototype.pointFromX=function(e,f){(e=new u(e,16)).red||(e=e.toRed(this.red));var d=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),t=d.redSqrt();if(t.redSqr().redSub(d).cmp(this.zero)!==0)throw Error("invalid point");var a=t.fromRed().isOdd();return(f&&!a||!f&&a)&&(t=t.redNeg()),this.point(e,t)},D.prototype.validate=function(e){if(e.inf)return!0;var f=e.x,d=e.y,t=this.a.redMul(f),a=f.redSqr().redMul(f).redIAdd(t).redIAdd(this.b);return d.redSqr().redISub(a).cmpn(0)===0},D.prototype._endoWnafMulAdd=function(e,f,d){for(var t=this._endoWnafT1,a=this._endoWnafT2,c=0;c":""},A.prototype.isInfinity=function(){return this.inf},A.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(this.x.cmp(e.x)===0)return this.curve.point(null,null);var f=this.y.redSub(e.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(e.x).redInvm()));var d=f.redSqr().redISub(this.x).redISub(e.x),t=f.redMul(this.x.redSub(d)).redISub(this.y);return this.curve.point(d,t)},A.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(e.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,d=this.x.redSqr(),t=e.redInvm(),a=d.redAdd(d).redIAdd(d).redIAdd(f).redMul(t),c=a.redSqr().redISub(this.x.redAdd(this.x)),r=a.redMul(this.x.redSub(c)).redISub(this.y);return this.curve.point(c,r)},A.prototype.getX=function(){return this.x.fromRed()},A.prototype.getY=function(){return this.y.fromRed()},A.prototype.mul=function(e){return e=new u(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},A.prototype.mulAdd=function(e,f,d){var t=[this,f],a=[e,d];return this.curve.endo?this.curve._endoWnafMulAdd(t,a):this.curve._wnafMulAdd(1,t,a,2)},A.prototype.jmulAdd=function(e,f,d){var t=[this,f],a=[e,d];return this.curve.endo?this.curve._endoWnafMulAdd(t,a,!0):this.curve._wnafMulAdd(1,t,a,2,!0)},A.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||this.x.cmp(e.x)===0&&this.y.cmp(e.y)===0)},A.prototype.neg=function(e){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var d=this.precomputed,t=function(a){return a.neg()};f.precomputed={naf:d.naf&&{wnd:d.naf.wnd,points:d.naf.points.map(t)},doubles:d.doubles&&{step:d.doubles.step,points:d.doubles.points.map(t)}}}return f},A.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},J(I,x.BasePoint),D.prototype.jpoint=function(e,f,d){return new I(this,e,f,d)},I.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),f=e.redSqr(),d=this.x.redMul(f),t=this.y.redMul(f).redMul(e);return this.curve.point(d,t)},I.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},I.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var f=e.z.redSqr(),d=this.z.redSqr(),t=this.x.redMul(f),a=e.x.redMul(d),c=this.y.redMul(f.redMul(e.z)),r=e.y.redMul(d.redMul(this.z)),b=t.redSub(a),i=c.redSub(r);if(b.cmpn(0)===0)return i.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var n=b.redSqr(),o=n.redMul(b),s=t.redMul(n),h=i.redSqr().redIAdd(o).redISub(s).redISub(s),p=i.redMul(s.redISub(h)).redISub(c.redMul(o)),y=this.z.redMul(e.z).redMul(b);return this.curve.jpoint(h,p,y)},I.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var f=this.z.redSqr(),d=this.x,t=e.x.redMul(f),a=this.y,c=e.y.redMul(f).redMul(this.z),r=d.redSub(t),b=a.redSub(c);if(r.cmpn(0)===0)return b.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var i=r.redSqr(),n=i.redMul(r),o=d.redMul(i),s=b.redSqr().redIAdd(n).redISub(o).redISub(o),h=b.redMul(o.redISub(s)).redISub(a.redMul(n)),p=this.z.redMul(r);return this.curve.jpoint(s,h,p)},I.prototype.dblp=function(e){if(e===0)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var f=this,d=0;d=0)return!1;if(d.redIAdd(a),this.x.cmp(d)===0)return!0}},I.prototype.inspect=function(){return this.isInfinity()?"":""},I.prototype.isInfinity=function(){return this.z.cmpn(0)===0},J(K,x);var Pe=K;function g(e,f,d){x.BasePoint.call(this,e,"projective"),f===null&&d===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new u(f,16),this.z=new u(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}K.prototype.validate=function(e){var f=e.normalize().x,d=f.redSqr(),t=d.redMul(f).redAdd(d.redMul(this.a)).redAdd(f);return t.redSqrt().redSqr().cmp(t)===0},J(g,x.BasePoint),K.prototype.decodePoint=function(e,f){if((e=v.toArray(e,f)).length===33&&e[0]===64&&(e=e.slice(1,33).reverse()),e.length!==32)throw Error("Unknown point compression format");return this.point(e,1)},K.prototype.point=function(e,f){return new g(this,e,f)},K.prototype.pointFromJSON=function(e){return g.fromJSON(this,e)},g.prototype.precompute=function(){},g.prototype._encode=function(e){var f=this.curve.p.byteLength();return e?[64].concat(this.getX().toArray("le",f)):this.getX().toArray("be",f)},g.fromJSON=function(e,f){return new g(e,f[0],f[1]||e.one)},g.prototype.inspect=function(){return this.isInfinity()?"":""},g.prototype.isInfinity=function(){return this.z.cmpn(0)===0},g.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),f=this.x.redSub(this.z).redSqr(),d=e.redSub(f),t=e.redMul(f),a=d.redMul(f.redAdd(this.curve.a24.redMul(d)));return this.curve.point(t,a)},g.prototype.add=function(){throw Error("Not supported on Montgomery curve")},g.prototype.diffAdd=function(e,f){var d=this.x.redAdd(this.z),t=this.x.redSub(this.z),a=e.x.redAdd(e.z),c=e.x.redSub(e.z).redMul(d),r=a.redMul(t),b=f.z.redMul(c.redAdd(r).redSqr()),i=f.x.redMul(c.redISub(r).redSqr());return this.curve.point(b,i)},g.prototype.mul=function(e){for(var f=(e=new u(e,16)).clone(),d=this,t=this.curve.point(null,null),a=[];f.cmpn(0)!==0;f.iushrn(1))a.push(f.andln(1));for(var c=a.length-1;c>=0;c--)a[c]===0?(d=d.diffAdd(t,this),t=t.dbl()):(t=d.diffAdd(t,this),d=d.dbl());return t},g.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},g.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},g.prototype.eq=function(e){return this.getX().cmp(e.getX())===0},g.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},g.prototype.getX=function(){return this.normalize(),this.x.fromRed()};var Ne=v.assert;function z(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,x.call(this,"edwards",e),this.a=new u(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new u(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new u(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),Ne(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|e.c)==1}J(z,x);var ke=z;function m(e,f,d,t,a){x.BasePoint.call(this,e,"projective"),f===null&&d===null&&t===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new u(f,16),this.y=new u(d,16),this.z=t?new u(t,16):this.curve.one,this.t=a&&new u(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}z.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},z.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},z.prototype.jpoint=function(e,f,d,t){return this.point(e,f,d,t)},z.prototype.pointFromX=function(e,f){(e=new u(e,16)).red||(e=e.toRed(this.red));var d=e.redSqr(),t=this.c2.redSub(this.a.redMul(d)),a=this.one.redSub(this.c2.redMul(this.d).redMul(d)),c=t.redMul(a.redInvm()),r=c.redSqrt();if(r.redSqr().redSub(c).cmp(this.zero)!==0)throw Error("invalid point");var b=r.fromRed().isOdd();return(f&&!b||!f&&b)&&(r=r.redNeg()),this.point(e,r)},z.prototype.pointFromY=function(e,f){(e=new u(e,16)).red||(e=e.toRed(this.red));var d=e.redSqr(),t=d.redSub(this.c2),a=d.redMul(this.d).redMul(this.c2).redSub(this.a),c=t.redMul(a.redInvm());if(c.cmp(this.zero)===0){if(f)throw Error("invalid point");return this.point(this.zero,e)}var r=c.redSqrt();if(r.redSqr().redSub(c).cmp(this.zero)!==0)throw Error("invalid point");return r.fromRed().isOdd()!==f&&(r=r.redNeg()),this.point(r,e)},z.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var f=e.x.redSqr(),d=e.y.redSqr(),t=f.redMul(this.a).redAdd(d),a=this.c2.redMul(this.one.redAdd(this.d.redMul(f).redMul(d)));return t.cmp(a)===0},J(m,x.BasePoint),z.prototype.pointFromJSON=function(e){return m.fromJSON(this,e)},z.prototype.point=function(e,f,d,t){return new m(this,e,f,d,t)},m.fromJSON=function(e,f){return new m(e,f[0],f[1],f[2])},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},m.prototype._extDbl=function(){var e=this.x.redSqr(),f=this.y.redSqr(),d=this.z.redSqr();d=d.redIAdd(d);var t=this.curve._mulA(e),a=this.x.redAdd(this.y).redSqr().redISub(e).redISub(f),c=t.redAdd(f),r=c.redSub(d),b=t.redSub(f),i=a.redMul(r),n=c.redMul(b),o=a.redMul(b),s=r.redMul(c);return this.curve.point(i,n,s,o)},m.prototype._projDbl=function(){var e,f,d,t=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),c=this.y.redSqr();if(this.curve.twisted){var r=(n=this.curve._mulA(a)).redAdd(c);if(this.zOne)e=t.redSub(a).redSub(c).redMul(r.redSub(this.curve.two)),f=r.redMul(n.redSub(c)),d=r.redSqr().redSub(r).redSub(r);else{var b=this.z.redSqr(),i=r.redSub(b).redISub(b);e=t.redSub(a).redISub(c).redMul(i),f=r.redMul(n.redSub(c)),d=r.redMul(i)}}else{var n=a.redAdd(c);b=this.curve._mulC(this.z).redSqr(),i=n.redSub(b).redSub(b),e=this.curve._mulC(t.redISub(n)).redMul(i),f=this.curve._mulC(n).redMul(a.redISub(c)),d=n.redMul(i)}return this.curve.point(e,f,d)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(e){var f=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),d=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),t=this.t.redMul(this.curve.dd).redMul(e.t),a=this.z.redMul(e.z.redAdd(e.z)),c=d.redSub(f),r=a.redSub(t),b=a.redAdd(t),i=d.redAdd(f),n=c.redMul(r),o=b.redMul(i),s=c.redMul(i),h=r.redMul(b);return this.curve.point(n,o,h,s)},m.prototype._projAdd=function(e){var f,d,t=this.z.redMul(e.z),a=t.redSqr(),c=this.x.redMul(e.x),r=this.y.redMul(e.y),b=this.curve.d.redMul(c).redMul(r),i=a.redSub(b),n=a.redAdd(b),o=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(c).redISub(r),s=t.redMul(i).redMul(o);return this.curve.twisted?(f=t.redMul(n).redMul(r.redSub(this.curve._mulA(c))),d=i.redMul(n)):(f=t.redMul(n).redMul(r.redSub(c)),d=this.curve._mulC(i).redMul(n)),this.curve.point(s,f,d)},m.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},m.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},m.prototype.mulAdd=function(e,f,d){return this.curve._wnafMulAdd(1,[this,f],[e,d],2,!1)},m.prototype.jmulAdd=function(e,f,d){return this.curve._wnafMulAdd(1,[this,f],[e,d],2,!0)},m.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},m.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()},m.prototype.getY=function(){return this.normalize(),this.y.fromRed()},m.prototype.eq=function(e){return this===e||this.getX().cmp(e.getX())===0&&this.getY().cmp(e.getY())===0},m.prototype.eqXToP=function(e){var f=e.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(f)===0)return!0;for(var d=e.clone(),t=this.curve.redN.redMul(this.z);;){if(d.iadd(this.curve.n),d.cmp(this.curve.p)>=0)return!1;if(f.redIAdd(t),this.x.cmp(f)===0)return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add;var de=Y(function(e,f){var d=f;d.base=x,d.short=Re,d.mont=Pe,d.edwards=ke}),ie=j.rotl32,Q=j.sum32,Oe=j.sum32_5,je=xe.ft_1,we=Ie.BlockHash,Le=[1518500249,1859775393,2400959708,3395469782];function q(){if(!(this instanceof q))return new q;we.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}j.inherits(q,we);var Te=q;q.blockSize=512,q.outSize=160,q.hmacStrength=80,q.padLength=64,q.prototype._update=function(e,f){for(var d=this.W,t=0;t<16;t++)d[t]=e[f+t];for(;tthis.blockSize&&(e=new this.Hash().update(e).digest()),ae(e.length<=this.blockSize);for(var f=e.length;f=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(f,d,t)}var ue=O;O.prototype._init=function(e,f,d){var t=e.concat(f).concat(d);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var a=0;a=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(d||[])),this._reseed=1},O.prototype.generate=function(e,f,d,t){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");typeof f!="string"&&(t=d,d=f,f=null),d&&(d=F.toArray(d,t||"hex"),this._update(d));for(var a=[];a.length"};var Ke=v.assert;function te(e,f){if(e instanceof te)return e;this._importDER(e,f)||(Ke(e.r&&e.s,"Signature without r or s"),this.r=new u(e.r,16),this.s=new u(e.s,16),e.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var ee=te;function Ue(){this.place=0}function se(e,f){var d=e[f.place++];if(!(128&d))return d;for(var t=15&d,a=0,c=0,r=f.place;c>>3);for(e.push(128|d);--d;)e.push(f>>>(d<<3)&255);e.push(f)}}te.prototype._importDER=function(e,f){e=v.toArray(e,f);var d=new Ue;if(e[d.place++]!==48||se(e,d)+d.place!==e.length||e[d.place++]!==2)return!1;var t=se(e,d),a=e.slice(d.place,t+d.place);if(d.place+=t,e[d.place++]!==2)return!1;var c=se(e,d);if(e.length!==c+d.place)return!1;var r=e.slice(d.place,c+d.place);return a[0]===0&&128&a[1]&&(a=a.slice(1)),r[0]===0&&128&r[1]&&(r=r.slice(1)),this.r=new u(a),this.s=new u(r),this.recoveryParam=null,!0},te.prototype.toDER=function(e){var f=this.r.toArray(),d=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&d[0]&&(d=[0].concat(d)),f=ye(f),d=ye(d);!(d[0]||128&d[1]);)d=d.slice(1);var t=[2];oe(t,f.length),(t=t.concat(f)).push(2),oe(t,d.length);var a=t.concat(d),c=[48];return oe(c,a.length),c=c.concat(a),v.encode(c,e)};var Ee=v.assert;function B(e){if(!(this instanceof B))return new B(e);typeof e=="string"&&(Ee(G.hasOwnProperty(e),"Unknown curve "+e),e=G[e]),e instanceof G.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var Ye=B;B.prototype.keyPair=function(e){return new ne(this,e)},B.prototype.keyFromPrivate=function(e,f){return ne.fromPrivate(this,e,f)},B.prototype.keyFromPublic=function(e,f){return ne.fromPublic(this,e,f)},B.prototype.genKeyPair=function(e){e||(e={});var f=new ue({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||ce(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()});if(this.curve.type==="mont"){var d=new u(f.generate(32));return this.keyFromPrivate(d)}for(var t=this.n.byteLength(),a=this.n.sub(new u(2));;)if(!((d=new u(f.generate(t))).cmp(a)>0))return d.iaddn(1),this.keyFromPrivate(d)},B.prototype._truncateToN=function(e,f,d){var t=(d=d||8*e.byteLength())-this.n.bitLength();return t>0&&(e=e.ushrn(t)),!f&&e.cmp(this.n)>=0?e.sub(this.n):e},B.prototype.truncateMsg=function(e){var f;return e instanceof Uint8Array?(f=8*e.byteLength,e=this._truncateToN(new u(e,16),!1,f)):typeof e=="string"?(f=4*e.length,e=this._truncateToN(new u(e,16),!1,f)):e=this._truncateToN(new u(e,16)),e},B.prototype.sign=function(e,f,d,t){typeof d=="object"&&(t=d,d=null),t||(t={}),f=this.keyFromPrivate(f,d),e=this.truncateMsg(e);for(var a=this.n.byteLength(),c=f.getPrivate().toArray("be",a),r=e.toArray("be",a),b=new ue({hash:this.hash,entropy:c,nonce:r,pers:t.pers,persEnc:t.persEnc||"utf8"}),i=this.n.sub(new u(1)),n=0;;n++){var o=t.k?t.k(n):new u(b.generate(this.n.byteLength()));if(!((o=this._truncateToN(o,!0)).cmpn(1)<=0||o.cmp(i)>=0)){var s=this.g.mul(o);if(!s.isInfinity()){var h=s.getX(),p=h.umod(this.n);if(p.cmpn(0)!==0){var y=o.invm(this.n).mul(p.mul(f.getPrivate()).iadd(e));if((y=y.umod(this.n)).cmpn(0)!==0){var w=(s.getY().isOdd()?1:0)|(h.cmp(p)!==0?2:0);return t.canonical&&y.cmp(this.nh)>0&&(y=this.n.sub(y),w^=1),new ee({r:p,s:y,recoveryParam:w})}}}}}},B.prototype.verify=function(e,f,d,t){return d=this.keyFromPublic(d,t),f=new ee(f,"hex"),this._verify(this.truncateMsg(e),f,d)||this._verify(this._truncateToN(new u(e,16)),f,d)},B.prototype._verify=function(e,f,d){var t=f.r,a=f.s;if(t.cmpn(1)<0||t.cmp(this.n)>=0||a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var c,r=a.invm(this.n),b=r.mul(e).umod(this.n),i=r.mul(t).umod(this.n);return this.curve._maxwellTrick?!(c=this.g.jmulAdd(b,d.getPublic(),i)).isInfinity()&&c.eqXToP(t):!(c=this.g.mulAdd(b,d.getPublic(),i)).isInfinity()&&c.getX().umod(this.n).cmp(t)===0},B.prototype.recoverPubKey=function(e,f,d,t){Ee((3&d)===d,"The recovery param is more than two bits"),f=new ee(f,t);var a=this.n,c=new u(e),r=f.r,b=f.s,i=1&d,n=d>>1;if(r.cmp(this.curve.p.umod(this.curve.n))>=0&&n)throw Error("Unable to find sencond key candinate");r=n?this.curve.pointFromX(r.add(this.curve.n),i):this.curve.pointFromX(r,i);var o=f.r.invm(a),s=a.sub(c).mul(o).umod(a),h=b.mul(o).umod(a);return this.g.mulAdd(s,r,h)},B.prototype.getKeyRecoveryParam=function(e,f,d,t){if((f=new ee(f,t)).recoveryParam!==null)return f.recoveryParam;for(var a=0;a<4;a++){var c;try{c=this.recoverPubKey(e,f,a)}catch{continue}if(c.eq(d))return a}throw Error("Unable to find valid recovery factor")};var me=v.assert,Ae=v.parseBytes,V=v.cachedProperty;function S(e,f){if(this.eddsa=e,f.hasOwnProperty("secret")&&(this._secret=Ae(f.secret)),e.isPoint(f.pub))this._pub=f.pub;else if(this._pubBytes=Ae(f.pub),this._pubBytes&&this._pubBytes.length===33&&this._pubBytes[0]===64&&(this._pubBytes=this._pubBytes.slice(1,33)),this._pubBytes&&this._pubBytes.length!==32)throw Error("Unknown point compression format")}S.fromPublic=function(e,f){return f instanceof S?f:new S(e,{pub:f})},S.fromSecret=function(e,f){return f instanceof S?f:new S(e,{secret:f})},S.prototype.secret=function(){return this._secret},V(S,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),V(S,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),V(S,"privBytes",function(){var e=this.eddsa,f=this.hash(),d=e.encodingLength-1,t=f.slice(0,e.encodingLength);return t[0]&=248,t[d]&=127,t[d]|=64,t}),V(S,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),V(S,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),V(S,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),S.prototype.sign=function(e){return me(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},S.prototype.verify=function(e,f){return this.eddsa.verify(e,f,this)},S.prototype.getSecret=function(e){return me(this._secret,"KeyPair is public only"),v.encode(this.secret(),e)},S.prototype.getPublic=function(e,f){return v.encode((f?[64]:[]).concat(this.pubBytes()),e)};var he=S,He=v.assert,fe=v.cachedProperty,We=v.parseBytes;function T(e,f){this.eddsa=e,typeof f!="object"&&(f=We(f)),Array.isArray(f)&&(f={R:f.slice(0,e.encodingLength),S:f.slice(e.encodingLength)}),He(f.R&&f.S,"Signature without R or S"),e.isPoint(f.R)&&(this._R=f.R),f.S instanceof u&&(this._S=f.S),this._Rencoded=Array.isArray(f.R)?f.R:f.Rencoded,this._Sencoded=Array.isArray(f.S)?f.S:f.Sencoded}fe(T,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),fe(T,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),fe(T,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),fe(T,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),T.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},T.prototype.toHex=function(){return v.encode(this.toBytes(),"hex").toUpperCase()};var ge=T,Qe=v.assert,Se=v.parseBytes;function M(e){if(Qe(e==="ed25519","only tested with ed25519 so far"),!(this instanceof M))return new M(e);e=G[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=C.sha512}var Ge=M;M.prototype.sign=function(e,f){e=Se(e);var d=this.keyFromSecret(f),t=this.hashInt(d.messagePrefix(),e),a=this.g.mul(t),c=this.encodePoint(a),r=this.hashInt(c,d.pubBytes(),e).mul(d.priv()),b=t.add(r).umod(this.curve.n);return this.makeSignature({R:a,S:b,Rencoded:c})},M.prototype.verify=function(e,f,d){e=Se(e),f=this.makeSignature(f);var t=this.keyFromPublic(d),a=this.hashInt(f.Rencoded(),t.pubBytes(),e),c=this.g.mul(f.S());return f.R().add(t.pub().mul(a)).eq(c)},M.prototype.hashInt=function(){for(var e=this.hash(),f=0;f0?e("Loading"):e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(i){i.preventDefault()}}},[t.isLdap?e("Alert",{attrs:{type:"warning"}},[t._v(t._s(t.$L("LDAP \u7528\u6237\u7981\u6B62\u4FEE\u6539\u90AE\u7BB1\u5730\u5740")))]):t._e(),e("FormItem",{attrs:{label:t.$L("\u65B0\u90AE\u7BB1\u5730\u5740"),prop:"newEmail"}},[t.isRegVerify==1?e("Input",{class:t.count>0?"setting-send-input":"setting-input",attrs:{search:"","enter-button":t.$L(t.sendBtnText),disabled:t.isLdap,placeholder:t.$L("\u8F93\u5165\u65B0\u90AE\u7BB1\u5730\u5740")},on:{"on-search":t.sendEmailCode},model:{value:t.formDatum.newEmail,callback:function(i){t.$set(t.formDatum,"newEmail",i)},expression:"formDatum.newEmail"}}):e("Input",{staticClass:"setting-input",attrs:{disabled:t.isLdap,placeholder:t.$L("\u8F93\u5165\u65B0\u90AE\u7BB1\u5730\u5740")},model:{value:t.formDatum.newEmail,callback:function(i){t.$set(t.formDatum,"newEmail",i)},expression:"formDatum.newEmail"}})],1),t.isRegVerify==1?e("FormItem",{attrs:{label:t.$L("\u9A8C\u8BC1\u7801"),prop:"code"}},[e("Input",{attrs:{placeholder:t.$L("\u8F93\u5165\u90AE\u7BB1\u9A8C\u8BC1\u7801")},model:{value:t.formDatum.code,callback:function(i){t.$set(t.formDatum,"code",i)},expression:"formDatum.code"}})],1):t._e()],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",disabled:t.isLdap},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const m={data(){return{loadIng:0,configLoad:0,formDatum:{newEmail:"",code:""},ruleDatum:{newEmail:[{validator:(t,s,e)=>{s.trim()===""?e(new Error(this.$L("\u8BF7\u8F93\u5165\u65B0\u90AE\u7BB1\u5730\u5740\uFF01"))):$A.isEmail(s.trim())?e():e(new Error(this.$L("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740\uFF01")))},required:!0,trigger:"change"}]},count:0,isSendButtonShow:!0,isRegVerify:0,sendBtnText:this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801")}},mounted(){this.getRegVerify()},computed:{...r(["formLabelPosition","formLabelWidth"]),isLdap(){return this.$store.state.userInfo.identity.includes("ldap")}},methods:{sendEmailCode(){this.$store.dispatch("call",{url:"users/email/send",data:{type:2,email:this.formDatum.newEmail},spinner:!0}).then(t=>{this.isSendButtonShow=!1,this.count=120,this.sendBtnText=this.count+" \u79D2";let s=setInterval(()=>{this.count--,this.sendBtnText=this.count+" \u79D2",this.count<=0&&(this.sendBtnText=this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801"),clearInterval(s))},1e3)}).catch(({msg:t})=>{$A.messageError(t)})},submitForm(){this.$refs.formDatum.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"users/email/edit",data:this.formDatum}).then(({data:s})=>{this.count=0,this.sendBtnText=this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801"),$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.dispatch("saveUserInfo",s),this.$refs.formDatum.resetFields(),this.isSendButtonShow=!0}).catch(({msg:s})=>{$A.modalError(s)}).finally(s=>{this.loadIng--}))})},resetForm(){this.$refs.formDatum.resetFields()},getRegVerify(){this.configLoad++,this.$store.dispatch("call",{url:"system/setting/email"}).then(({data:t})=>{this.isRegVerify=t.reg_verify==="open"}).finally(t=>{this.configLoad--})}}},a={};var u=n(m,o,l,!1,d,null,null,null);function d(t){for(let s in a)this[s]=a[s]}var f=function(){return u.exports}();export{f as default}; +import{m as r,n}from"./app.139edc4e.js";var o=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[t.configLoad>0?e("Loading"):e("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(i){i.preventDefault()}}},[t.isLdap?e("Alert",{attrs:{type:"warning"}},[t._v(t._s(t.$L("LDAP \u7528\u6237\u7981\u6B62\u4FEE\u6539\u90AE\u7BB1\u5730\u5740")))]):t._e(),e("FormItem",{attrs:{label:t.$L("\u65B0\u90AE\u7BB1\u5730\u5740"),prop:"newEmail"}},[t.isRegVerify==1?e("Input",{class:t.count>0?"setting-send-input":"setting-input",attrs:{search:"","enter-button":t.$L(t.sendBtnText),disabled:t.isLdap,placeholder:t.$L("\u8F93\u5165\u65B0\u90AE\u7BB1\u5730\u5740")},on:{"on-search":t.sendEmailCode},model:{value:t.formDatum.newEmail,callback:function(i){t.$set(t.formDatum,"newEmail",i)},expression:"formDatum.newEmail"}}):e("Input",{staticClass:"setting-input",attrs:{disabled:t.isLdap,placeholder:t.$L("\u8F93\u5165\u65B0\u90AE\u7BB1\u5730\u5740")},model:{value:t.formDatum.newEmail,callback:function(i){t.$set(t.formDatum,"newEmail",i)},expression:"formDatum.newEmail"}})],1),t.isRegVerify==1?e("FormItem",{attrs:{label:t.$L("\u9A8C\u8BC1\u7801"),prop:"code"}},[e("Input",{attrs:{placeholder:t.$L("\u8F93\u5165\u90AE\u7BB1\u9A8C\u8BC1\u7801")},model:{value:t.formDatum.code,callback:function(i){t.$set(t.formDatum,"code",i)},expression:"formDatum.code"}})],1):t._e()],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",disabled:t.isLdap},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const m={data(){return{loadIng:0,configLoad:0,formDatum:{newEmail:"",code:""},ruleDatum:{newEmail:[{validator:(t,s,e)=>{s.trim()===""?e(new Error(this.$L("\u8BF7\u8F93\u5165\u65B0\u90AE\u7BB1\u5730\u5740\uFF01"))):$A.isEmail(s.trim())?e():e(new Error(this.$L("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u90AE\u7BB1\u5730\u5740\uFF01")))},required:!0,trigger:"change"}]},count:0,isSendButtonShow:!0,isRegVerify:0,sendBtnText:this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801")}},mounted(){this.getRegVerify()},computed:{...r(["formLabelPosition","formLabelWidth"]),isLdap(){return this.$store.state.userInfo.identity.includes("ldap")}},methods:{sendEmailCode(){this.$store.dispatch("call",{url:"users/email/send",data:{type:2,email:this.formDatum.newEmail},spinner:!0}).then(t=>{this.isSendButtonShow=!1,this.count=120,this.sendBtnText=this.count+" \u79D2";let s=setInterval(()=>{this.count--,this.sendBtnText=this.count+" \u79D2",this.count<=0&&(this.sendBtnText=this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801"),clearInterval(s))},1e3)}).catch(({msg:t})=>{$A.messageError(t)})},submitForm(){this.$refs.formDatum.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"users/email/edit",data:this.formDatum}).then(({data:s})=>{this.count=0,this.sendBtnText=this.$L("\u53D1\u9001\u9A8C\u8BC1\u7801"),$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.dispatch("saveUserInfo",s),this.$refs.formDatum.resetFields(),this.isSendButtonShow=!0}).catch(({msg:s})=>{$A.modalError(s)}).finally(s=>{this.loadIng--}))})},resetForm(){this.$refs.formDatum.resetFields()},getRegVerify(){this.configLoad++,this.$store.dispatch("call",{url:"system/setting/email"}).then(({data:t})=>{this.isRegVerify=t.reg_verify==="open"}).finally(t=>{this.configLoad--})}}},a={};var u=n(m,o,l,!1,d,null,null,null);function d(t){for(let s in a)this[s]=a[s]}var f=function(){return u.exports}();export{f as default}; diff --git a/public/js/build/file.23aabd63.js b/public/js/build/file.9e559479.js similarity index 99% rename from public/js/build/file.23aabd63.js rename to public/js/build/file.9e559479.js index 1d799bc3e..22d940704 100644 --- a/public/js/build/file.23aabd63.js +++ b/public/js/build/file.9e559479.js @@ -1,4 +1,4 @@ -import{e as ot,P as ag,m as ug,n as lg,_ as lu}from"./app.bd09c684.js";import{U as og}from"./UserInput.d6d4081e.js";import{D as fg}from"./index.f03606a8.js";import{D as cg,l as hg}from"./DialogSelect.c9796cea.js";var Ci={exports:{}};/** +import{e as ot,P as ag,m as ug,n as lg,_ as lu}from"./app.139edc4e.js";import{U as og}from"./UserInput.ca38ea3c.js";import{D as fg}from"./index.03956335.js";import{D as cg,l as hg}from"./DialogSelect.13f2bf9c.js";var Ci={exports:{}};/** * @license * Lodash * Copyright OpenJS Foundation and other contributors @@ -24,4 +24,4 @@ __p += '`),D&&(w+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+w+`return __p -}`;var E=iu(function(){return M(l,L+"return "+w).apply(s,o)});if(E.source=w,gi(E))throw E;return E}function dp(e){return k(e).toLowerCase()}function pp(e){return k(e).toUpperCase()}function gp(e,n,t){if(e=k(e),e&&(t||n===s))return ds(e);if(!e||!(n=ce(n)))return e;var i=Ce(e),a=Ce(n),l=ps(i,a),o=gs(i,a)+1;return sn(i,l,o).join("")}function _p(e,n,t){if(e=k(e),e&&(t||n===s))return e.slice(0,vs(e)+1);if(!e||!(n=ce(n)))return e;var i=Ce(e),a=gs(i,Ce(n))+1;return sn(i,0,a).join("")}function vp(e,n,t){if(e=k(e),e&&(t||n===s))return e.replace(gr,"");if(!e||!(n=ce(n)))return e;var i=Ce(e),a=ps(i,Ce(n));return sn(i,a).join("")}function mp(e,n){var t=ou,i=fu;if(H(n)){var a="separator"in n?n.separator:a;t="length"in n?T(n.length):t,i="omission"in n?ce(n.omission):i}e=k(e);var l=e.length;if(bn(e)){var o=Ce(e);l=o.length}if(t>=l)return e;var f=t-Tn(i);if(f<1)return i;var d=o?sn(o,0,f).join(""):e.slice(0,f);if(a===s)return d+i;if(o&&(f+=d.length-f),_i(a)){if(e.slice(f).search(a)){var v,m=d;for(a.global||(a=Rr(a.source,k(Mi.exec(a))+"g")),a.lastIndex=0;v=a.exec(m);)var w=v.index;d=d.slice(0,w===s?f:w)}}else if(e.indexOf(ce(a),f)!=f){var x=d.lastIndexOf(a);x>-1&&(d=d.slice(0,x))}return d+i}function wp(e){return e=k(e),e&&bu.test(e)?e.replace(Ri,ql):e}var xp=kn(function(e,n,t){return e+(t?" ":"")+n.toUpperCase()}),wi=sa("toUpperCase");function ru(e,n,t){return e=k(e),n=t?s:n,n===s?Nl(e)?Jl(e):Rl(e):e.match(n)||[]}var iu=F(function(e,n){try{return oe(e,s,n)}catch(t){return gi(t)?t:new y(t)}}),Ip=He(function(e,n){return ve(n,function(t){t=ke(t),Ne(e,t,di(e[t],e))}),e});function Ap(e){var n=e==null?0:e.length,t=S();return e=n?z(e,function(i){if(typeof i[1]!="function")throw new me(G);return[t(i[0]),i[1]]}):[],F(function(i){for(var a=-1;++aXe)return[];var t=Oe,i=ee(e,Oe);n=S(n),e-=Oe;for(var a=Tr(i,n);++t0||n<0)?new O(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),n!==s&&(n=T(n),t=n<0?t.dropRight(-n):t.take(n-e)),t)},O.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},O.prototype.toArray=function(){return this.take(Oe)},De(O.prototype,function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),a=u[i?"take"+(n=="last"?"Right":""):n],l=i||/^find/.test(n);!a||(u.prototype[n]=function(){var o=this.__wrapped__,f=i?[1]:arguments,d=o instanceof O,v=f[0],m=d||b(o),w=function(R){var D=a.apply(u,Ve([R],f));return i&&x?D[0]:D};m&&t&&typeof v=="function"&&v.length!=1&&(d=m=!1);var x=this.__chain__,L=!!this.__actions__.length,$=l&&!x,E=d&&!L;if(!l&&m){o=E?o:new O(this);var C=e.apply(o,f);return C.__actions__.push({func:Xt,args:[w],thisArg:s}),new we(C,x)}return $&&E?e.apply(this,f):(C=this.thru(w),$?i?C.value()[0]:C.value():C)})}),ve(["pop","push","shift","sort","splice","unshift"],function(e){var n=At[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);u.prototype[e]=function(){var a=arguments;if(i&&!this.__chain__){var l=this.value();return n.apply(b(l)?l:[],a)}return this[t](function(o){return n.apply(b(o)?o:[],a)})}}),De(O.prototype,function(e,n){var t=u[n];if(t){var i=t.name+"";P.call(On,i)||(On[i]=[]),On[i].push({name:n,func:t})}}),On[Ht(s,un).name]=[{name:"wrapper",func:s}],O.prototype.clone=mo,O.prototype.reverse=wo,O.prototype.value=xo,u.prototype.at=Xc,u.prototype.chain=Qc,u.prototype.commit=Vc,u.prototype.next=jc,u.prototype.plant=nh,u.prototype.reverse=th,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=rh,u.prototype.first=u.prototype.head,Jn&&(u.prototype[Jn]=eh),u},En=Xl();on?((on.exports=En)._=En,Ir._=En):V._=En}).call(ot)})(Ci,Ci.exports);var dg=function(){var r=this,p=r.$createElement,s=r._self._c||p;return s("div",{staticClass:"page-file"},[s("PageTitle",{attrs:{title:r.$L("\u6587\u4EF6")}}),s("div",{ref:"fileWrapper",staticClass:"file-wrapper"},[s("div",{staticClass:"file-head"},[s("div",{staticClass:"file-nav"},[s("h1",[r._v(r._s(r.$L("\u6587\u4EF6")))]),r.loadIng==0?s("div",{staticClass:"file-refresh",on:{click:r.getFileList}},[s("i",{staticClass:"taskfont"},[r._v("\uE6AE")])]):r._e()]),r.uploadList.length>0?s("div",{staticClass:"file-status",on:{click:function(c){r.uploadShow=!0}}},[r.uploadList.find(function(c){var I=c.status;return I!=="finished"})?s("Loading"):s("Button",{attrs:{shape:"circle",icon:"md-checkmark"}})],1):r._e(),s("div",{class:["file-search",r.searchKey?"has-value":""],on:{click:r.onSearchFocus,mouseenter:r.onSearchFocus}},[s("Input",{ref:"searchInput",attrs:{suffix:"ios-search",placeholder:r.$L("\u641C\u7D22\u540D\u79F0")},on:{"on-change":r.onSearchChange},model:{value:r.searchKey,callback:function(c){r.searchKey=c},expression:"searchKey"}})],1),s("div",{staticClass:"file-add"},[s("Button",{attrs:{shape:"circle",icon:"md-add"},on:{click:function(c){return c.stopPropagation(),r.handleRightClick(c,null,!0)}}})],1)]),s("div",{staticClass:"file-navigator"},[s("ul",{staticClass:"scrollbar-hidden"},[s("li",{on:{click:function(c){return r.browseFolder(0)}}},[s("span",[r._v(r._s(r.$L("\u5168\u90E8\u6587\u4EF6")))])]),r.searchKey?s("li",[r._v(r._s(r.$L("\u641C\u7D22"))+' "'+r._s(r.searchKey)+'"')]):r._l(r.navigator,function(c){return s("li",{ref:`nav_${c.id}`,refInFor:!0,on:{click:function(I){return r.browseFolder(c.id)}}},[c.share?s("i",{staticClass:"taskfont"},[r._v("\uE63F")]):r._e(),s("span",{attrs:{title:c.name}},[r._v(r._s(c.name))]),c.share&&c.permission==0?s("span",{staticClass:"readonly"},[r._v(r._s(r.$L("\u53EA\u8BFB")))]):r._e()])})],2),r.shearFirst?[s("Button",{attrs:{disabled:r.shearFirst.pid==r.pid,size:"small",type:"primary"},on:{click:r.shearTo}},[s("div",{staticClass:"file-shear"},[s("span",[r._v(r._s(r.$L("\u7C98\u8D34")))]),r._v(' "'),s("em",[r._v(r._s(r.shearFirst.name))]),r._v('" '),r.shearIds.length>1?s("span",[r._v(r._s(r.$L("\u7B49"))+r._s(r.shearIds.length)+r._s(r.$L("\u4E2A\u6587\u4EF6")))]):r._e()])]),s("Button",{attrs:{type:"primary",size:"small"},on:{click:r.clearShear}},[r._v(r._s(r.$L("\u53D6\u6D88\u526A\u5207")))])]:r.selectIds.length>0?[s("Button",{attrs:{size:"small",type:"info"},on:{click:function(c){return r.handleContextClick("shearSelect")}}},[s("Icon",{attrs:{type:"ios-cut"}}),r._v(" "+r._s(r.$L("\u526A\u5207"))+" ")],1),s("Button",{attrs:{size:"small",type:"error"},on:{click:function(c){return r.deleteFile(r.selectIds)}}},[s("Icon",{attrs:{type:"ios-trash"}}),r._v(" "+r._s(r.$L("\u5220\u9664"))+" ")],1),s("Button",{attrs:{type:"primary",size:"small"},on:{click:r.clearSelect}},[r._v(r._s(r.$L("\u53D6\u6D88\u9009\u62E9")))])]:r._e(),r.loadIng>0?s("div",{staticClass:"nav-load"},[s("Loading")],1):r._e(),s("div",{staticClass:"flex-full"}),r.hasShareFile?s("div",{staticClass:"only-checkbox"},[s("Checkbox",{model:{value:r.hideShared,callback:function(c){r.hideShared=c},expression:"hideShared"}},[r._v(r._s(r.$L("\u4EC5\u663E\u793A\u6211\u7684")))])],1):r._e(),s("div",{class:["switch-button",r.tableMode]},[s("div",{on:{click:function(c){r.tableMode="block"}}},[s("i",{staticClass:"taskfont"},[r._v("\uE60C")])]),s("div",{on:{click:function(c){r.tableMode="table"}}},[s("i",{staticClass:"taskfont"},[r._v("\uE66A")])])])],2),s("div",{staticClass:"file-drag",on:{drop:function(c){return c.preventDefault(),r.filePasteDrag(c,"drag")},dragover:function(c){return c.preventDefault(),r.fileDragOver(!0,c)},dragleave:function(c){return c.preventDefault(),r.fileDragOver(!1,c)}}},[r.tableMode==="table"?s("div",{staticClass:"file-table",on:{contextmenu:function(c){return c.preventDefault(),r.handleContextmenu.apply(null,arguments)}}},[s("Table",{attrs:{columns:r.columns,data:r.fileList,height:r.tableHeight,"no-data-text":r.$L("\u6CA1\u6709\u4EFB\u4F55\u6587\u4EF6"),"context-menu":"",stripe:""},on:{"on-cell-click":r.clickRow,"on-contextmenu":r.handleContextMenu,"on-select":r.handleTableSelect,"on-select-cancel":r.handleTableSelect,"on-select-all-cancel":r.handleTableSelect,"on-select-all":r.handleTableSelect,"on-sort-change":r.handleTableSort}})],1):[r.fileList.length==0&&r.loadIng==0?s("div",{staticClass:"file-no",on:{contextmenu:function(c){return c.preventDefault(),r.handleContextmenu.apply(null,arguments)}}},[s("i",{staticClass:"taskfont"},[r._v("\uE60B")]),s("p",[r._v(r._s(r.$L("\u6CA1\u6709\u4EFB\u4F55\u6587\u4EF6")))])]):s("div",{staticClass:"file-list",on:{contextmenu:function(c){return c.preventDefault(),r.handleContextmenu.apply(null,arguments)}}},[s("ul",r._l(r.fileList,function(c){return s("li",[s("div",{directives:[{name:"longpress",rawName:"v-longpress",value:r.handleLongpress,expression:"handleLongpress"}],staticClass:"file-item",class:{shear:r.shearIds.includes(c.id),highlight:r.selectIds.includes(c.id),operate:r.contextMenuVisible&&c.id===r.contextMenuItem.id},attrs:{"data-id":c.id},on:{click:function(I){return r.dropFile(c,"openCheckMenu")}}},[s("div",{staticClass:"file-check",class:{"file-checked":r.selectIds.includes(c.id)},on:{click:function(I){return I.stopPropagation(),r.dropFile(c,"select")}}},[s("Checkbox",{attrs:{value:r.selectIds.includes(c.id)}})],1),s("div",{staticClass:"file-menu",on:{click:function(I){return I.stopPropagation(),r.handleRightClick(I,c)}}},[s("Icon",{attrs:{type:"ios-more"}})],1),s("div",{class:`no-dark-before file-icon ${c.type}${c.share?" share":""}`},[c.share?[c.userid!=r.userId?s("UserAvatar",{staticClass:"share-avatar",attrs:{userid:c.userid,size:20}},[s("p",[r._v(r._s(r.$L("\u5171\u4EAB\u6743\u9650"))+": "+r._s(r.$L(c.permission==1?"\u8BFB/\u5199":"\u53EA\u8BFB")))])]):s("div",{staticClass:"share-icon no-dark-content"},[s("i",{staticClass:"taskfont"},[r._v("\uE757")])])]:r.isParentShare?[s("UserAvatar",{staticClass:"share-avatar",attrs:{userid:c.created_id,size:20}},[c.created_id!=c.userid?s("p",[s("strong",[r._v(r._s(r.$L("\u6210\u5458\u521B\u5EFA\u4E8E"))+": "+r._s(c.created_at))])]):s("p",[r._v(r._s(r.$L("\u6240\u6709\u8005\u521B\u5EFA\u4E8E"))+": "+r._s(c.created_at))])])]:r._e()],2),c._edit?s("div",{staticClass:"file-input"},[s("Input",{ref:"input_"+c.id,refInFor:!0,attrs:{size:"small",disabled:!!c._load,parser:r.onParser},on:{"on-blur":function(I){return r.onBlur(c)},"on-keyup":function(I){return r.onKeyup(I,c)}},model:{value:c.newname,callback:function(I){r.$set(c,"newname",I)},expression:"item.newname"}}),c._load?s("div",{staticClass:"file-load"},[s("Loading")],1):r._e()],1):s("div",{staticClass:"file-name",attrs:{title:c.name}},[r._v(r._s(r.$A.getFileName(c)))])])])}),0)])],r.dialogDrag?s("div",{staticClass:"drag-over",on:{click:function(c){r.dialogDrag=!1}}},[s("div",{staticClass:"drag-text"},[r._v(r._s(r.$L("\u62D6\u52A8\u5230\u8FD9\u91CC\u53D1\u9001")))])]):r._e()],2),s("div",{staticClass:"file-menu",style:r.contextMenuStyles},[s("Dropdown",{attrs:{trigger:"custom",visible:r.contextMenuVisible,"transfer-class-name":"page-file-dropdown-menu",transfer:""},on:{"on-click":r.handleContextClick,"on-clickoutside":r.handleClickContextMenuOutside,"on-visible-change":r.handleVisibleChangeMenu}},[s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[r.contextMenuItem.id?[s("DropdownItem",{staticClass:"item-open",attrs:{name:"open"}},[r._v(" "+r._s(r.$L("\u6253\u5F00"))+" "),s("div",{staticClass:"open-name"},[r._v("\u201C"+r._s(r.contextMenuItem.name)+"\u201D")])]),r.searchKey?s("DropdownItem",{staticClass:"item-open",attrs:{name:"upperFolder"}},[r._v(" "+r._s(r.$L("\u5728\u4E0A\u5C42\u6587\u4EF6\u5939\u4E2D\u663E\u793A"))+" ")]):r._e(),s("DropdownItem",{attrs:{name:"select"}},[r._v(r._s(r.$L(r.selectIds.includes(r.contextMenuItem.id)?"\u53D6\u6D88\u9009\u62E9":"\u9009\u62E9")))]),s("Dropdown",{attrs:{placement:"right-start",transfer:""}},[s("DropdownItem",{attrs:{divided:"",name:"new:"},nativeOn:{click:function(c){c.stopPropagation()}}},[s("div",{staticClass:"arrow-forward-item"},[r._v(r._s(r.$L("\u65B0\u5EFA"))),s("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),s("DropdownMenu",{staticClass:"page-file-dropdown-menu",attrs:{slot:"list"},slot:"list"},r._l(r.types,function(c,I){return c.label?s("DropdownItem",{key:I,attrs:{divided:!!c.divided,name:`new:${c.value}`}},[s("div",{class:`no-dark-before file-item file-icon ${c.value}`},[r._v(r._s(r.$L(c.label)))])]):r._e()}),1)],1),s("DropdownItem",{attrs:{name:"rename",divided:""}},[r._v(r._s(r.$L("\u91CD\u547D\u540D")))]),s("DropdownItem",{attrs:{name:"copy",disabled:r.contextMenuItem.type=="folder"}},[r._v(r._s(r.$L("\u590D\u5236")))]),s("DropdownItem",{attrs:{name:"shear",disabled:r.contextMenuItem.userid!=r.userId}},[r._v(r._s(r.$L("\u526A\u5207")))]),r.contextMenuItem.userid==r.userId?s("DropdownItem",{attrs:{name:"share",divided:""}},[r._v(r._s(r.$L("\u5171\u4EAB")))]):r.contextMenuItem.share?s("DropdownItem",{attrs:{name:"outshare",divided:""}},[r._v(r._s(r.$L("\u9000\u51FA\u5171\u4EAB")))]):r._e(),s("DropdownItem",{attrs:{name:"send",disabled:r.contextMenuItem.type=="folder"}},[r._v(r._s(r.$L("\u53D1\u9001")))]),s("DropdownItem",{attrs:{name:"link",divided:r.contextMenuItem.userid!=r.userId&&!r.contextMenuItem.share,disabled:r.contextMenuItem.type=="folder"}},[r._v(r._s(r.$L("\u94FE\u63A5")))]),s("DropdownItem",{attrs:{name:"download",disabled:r.contextMenuItem.ext==""}},[r._v(r._s(r.$L("\u4E0B\u8F7D")))]),s("DropdownItem",{staticStyle:{color:"red"},attrs:{name:"delete",divided:""}},[r._v(r._s(r.$L("\u5220\u9664")))])]:r._l(r.types,function(c,I){return c.label?s("DropdownItem",{key:I,attrs:{divided:!!c.divided,name:`new:${c.value}`}},[s("div",{class:`no-dark-before file-item file-icon ${c.value}`},[r._v(r._s(r.$L(c.label)))])]):r._e()})],2)],1)],1)]),r.uploadShow&&r.uploadList.length>0?s("div",{staticClass:"file-upload-list"},[s("div",{staticClass:"upload-wrap"},[s("div",{staticClass:"title"},[r._v(" "+r._s(r.$L("\u4E0A\u4F20\u5217\u8868"))+" ("+r._s(r.uploadList.length)+") "),r.uploadList.find(function(c){var I=c.status;return I==="finished"})?s("em",{on:{click:r.uploadClear}},[r._v(r._s(r.$L("\u6E05\u7A7A\u5DF2\u5B8C\u6210")))]):r._e()]),s("ul",{staticClass:"content"},r._l(r.uploadList,function(c,I){return I<100?s("li",{key:I},[s("AutoTip",{staticClass:"file-name"},[r._v(r._s(r.uploadName(c)))]),c.status==="finished"&&c.response&&c.response.ret!==1?s("AutoTip",{staticClass:"file-error"},[r._v(r._s(c.response.msg))]):s("Progress",{attrs:{percent:r.uploadPercentageParse(c.percentage),"stroke-width":5}}),s("Icon",{staticClass:"file-close",attrs:{type:"ios-close-circle-outline"},on:{click:function(B){return r.uploadList.splice(I,1)}}})],1):r._e()}),0),s("Icon",{staticClass:"close",attrs:{type:"md-close"},on:{click:function(c){r.uploadShow=!1}}})],1)]):r._e(),s("Upload",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"fileUpload",attrs:{name:"files",action:r.actionUrl,headers:r.headers,multiple:!0,webkitdirectory:!1,format:r.uploadFormat,accept:r.uploadAccept,"show-upload-list":!1,"max-size":r.maxSize,"on-progress":r.handleProgress,"on-success":r.handleSuccess,"on-error":r.handleError,"on-format-error":r.handleFormatError,"on-exceeded-size":r.handleMaxSize,"before-upload":r.handleBeforeUpload}}),s("Upload",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"dirUpload",attrs:{name:"files",action:r.actionUrl,headers:r.headers,multiple:!0,webkitdirectory:!0,format:r.uploadFormat,accept:r.uploadAccept,"show-upload-list":!1,"max-size":r.maxSize,"on-progress":r.handleProgress,"on-success":r.handleSuccess,"on-error":r.handleError,"on-format-error":r.handleFormatError,"on-exceeded-size":r.handleMaxSize,"before-upload":r.handleBeforeUpload}}),s("Modal",{attrs:{title:r.$L("\u5171\u4EAB\u8BBE\u7F6E"),"mask-closable":!1,"footer-hide":""},model:{value:r.shareShow,callback:function(c){r.shareShow=c},expression:"shareShow"}},[s("Form",{staticClass:"page-file-share-form",attrs:{model:r.shareInfo,inline:""},nativeOn:{submit:function(c){c.preventDefault()}}},[s("FormItem",{staticClass:"share-userid",attrs:{prop:"userids"}},[s("UserInput",{attrs:{disabledChoice:r.shareAlready,"multiple-max":100,placeholder:r.$L("\u9009\u62E9\u5171\u4EAB\u6210\u5458")},model:{value:r.shareInfo.userids,callback:function(c){r.$set(r.shareInfo,"userids",c)},expression:"shareInfo.userids"}},[s("Option",{attrs:{slot:"option-prepend",value:0,label:r.$L("\u6240\u6709\u4EBA"),disabled:r.shareAlready.includes(0)},slot:"option-prepend"},[s("div",{staticClass:"user-input-option"},[s("div",{staticClass:"user-input-avatar"},[s("EAvatar",{staticClass:"avatar",attrs:{icon:"el-icon-s-custom"}})],1),s("div",{staticClass:"user-input-nickname"},[r._v(r._s(r.$L("\u6240\u6709\u4EBA")))]),s("div",{staticClass:"user-input-userid"},[r._v("All")])])])],1)],1),s("FormItem",[s("Select",{attrs:{placeholder:r.$L("\u6743\u9650")},model:{value:r.shareInfo.permission,callback:function(c){r.$set(r.shareInfo,"permission",c)},expression:"shareInfo.permission"}},[s("Option",{attrs:{value:1}},[r._v(r._s(r.$L("\u8BFB/\u5199")))]),s("Option",{attrs:{value:0}},[r._v(r._s(r.$L("\u53EA\u8BFB")))])],1)],1),s("FormItem",[s("Button",{attrs:{type:"primary",loading:r.shareLoad>0},on:{click:r.onShare}},[r._v(r._s(r.$L("\u5171\u4EAB")))])],1)],1),r.shareList.length>0?s("div",[s("div",{staticClass:"page-file-share-title"},[r._v(r._s(r.$L("\u5DF2\u5171\u4EAB\u6210\u5458"))+":")]),s("ul",{staticClass:"page-file-share-list"},r._l(r.shareList,function(c){return s("li",[c.userid==0?s("div",{staticClass:"all-avatar"},[s("EAvatar",{staticClass:"avatar-text",attrs:{icon:"el-icon-s-custom"}}),s("span",{staticClass:"avatar-name"},[r._v(r._s(r.$L("\u6240\u6709\u4EBA")))])],1):s("UserAvatar",{attrs:{size:32,userid:c.userid,showName:"",tooltipDisabled:""}}),s("Select",{attrs:{placeholder:r.$L("\u6743\u9650")},on:{"on-change":function(I){return r.upShare(c)}},model:{value:c.permission,callback:function(I){r.$set(c,"permission",I)},expression:"item.permission"}},[s("Option",{attrs:{value:1}},[r._v(r._s(r.$L("\u8BFB/\u5199")))]),s("Option",{attrs:{value:0}},[r._v(r._s(r.$L("\u53EA\u8BFB")))]),s("Option",{staticClass:"delete",attrs:{value:-1}},[r._v(r._s(r.$L("\u5220\u9664")))])],1)],1)}),0)]):r._e()],1),s("Modal",{attrs:{title:r.$L("\u53D1\u9001\u6587\u4EF6"),"mask-closable":!1},model:{value:r.sendShow,callback:function(c){r.sendShow=c},expression:"sendShow"}},[s("DialogSelect",{model:{value:r.sendData,callback:function(c){r.sendData=c},expression:"sendData"}}),s("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[s("Button",{attrs:{type:"default"},on:{click:function(c){r.sendShow=!1}}},[r._v(r._s(r.$L("\u53D6\u6D88")))]),s("Button",{attrs:{type:"primary",loading:r.sendLoad},on:{click:r.onSendFile}},[r._v(r._s(r.$L("\u53D1\u9001\u6587\u4EF6")))])],1)],1),s("Modal",{attrs:{title:r.$L("\u6587\u4EF6\u94FE\u63A5"),"mask-closable":!1},model:{value:r.linkShow,callback:function(c){r.linkShow=c},expression:"linkShow"}},[s("div",[s("div",{staticStyle:{margin:"-10px 0 8px"}},[r._v(r._s(r.$L("\u6587\u4EF6\u540D\u79F0"))+": "+r._s(r.linkData.name))]),s("Input",{ref:"linkInput",attrs:{type:"textarea",rows:3,readonly:""},on:{"on-focus":r.linkFocus},model:{value:r.linkData.url,callback:function(c){r.$set(r.linkData,"url",c)},expression:"linkData.url"}}),s("div",{staticClass:"form-tip",staticStyle:{"padding-top":"6px"}},[r._v(r._s(r.$L("\u53EF\u901A\u8FC7\u6B64\u94FE\u63A5\u6D4F\u89C8\u6587\u4EF6\u3002"))),s("a",{attrs:{href:"javascript:void(0)"},on:{click:r.linkCopy}},[r._v(r._s(r.$L("\u70B9\u51FB\u590D\u5236\u94FE\u63A5")))])])],1),s("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[s("Button",{attrs:{type:"default"},on:{click:function(c){r.linkShow=!1}}},[r._v(r._s(r.$L("\u53D6\u6D88")))]),s("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":r.$L("\u786E\u5B9A"),"cancel-text":r.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(c){return r.linkGet(!0)}}},[s("div",{attrs:{slot:"title"},slot:"title"},[s("p",[s("strong",[r._v(r._s(r.$L("\u6CE8\u610F\uFF1A\u5237\u65B0\u5C06\u5BFC\u81F4\u539F\u6765\u7684\u94FE\u63A5\u5931\u6548\uFF01")))])])]),s("Button",{attrs:{type:"primary",loading:r.linkLoad>0}},[r._v(r._s(r.$L("\u5237\u65B0")))])],1)],1)]),s("DrawerOverlay",{staticClass:"page-file-drawer",attrs:{beforeClose:r.fileBeforeClose,"mask-closable":!1},model:{value:r.fileShow,callback:function(c){r.fileShow=c},expression:"fileShow"}},[r.isPreview?s("FilePreview",{attrs:{file:r.fileInfo}}):s("FileContent",{ref:"fileContent",attrs:{file:r.fileInfo},model:{value:r.fileShow,callback:function(c){r.fileShow=c},expression:"fileShow"}})],1),s("PreviewImage",{attrs:{index:r.imageIndex,list:r.imageList},model:{value:r.imageShow,callback:function(c){r.imageShow=c},expression:"imageShow"}}),s("Modal",{attrs:{title:r.$L(r.pasteTitle),"cancel-text":r.$L("\u53D6\u6D88"),"ok-text":r.$L("\u7ACB\u5373\u4E0A\u4F20"),"enter-ok":!0},on:{"on-ok":r.pasteSend},model:{value:r.pasteShow,callback:function(c){r.pasteShow=c},expression:"pasteShow"}},[s("ul",{staticClass:"dialog-wrapper-paste",class:r.pasteWrapperClass},r._l(r.pasteItem,function(c){return s("li",[c.type=="image"?s("img",{attrs:{src:c.result}}):s("div",[r._v(r._s(r.$L("\u6587\u4EF6"))+": "+r._s(c.name)+" ("+r._s(r.$A.bytesToSize(c.size))+")")])])}),0)])],1)},pg=[];const gg=()=>lu(()=>import("./FilePreview.23f7e260.js"),["js/build/FilePreview.23f7e260.js","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),_g=()=>lu(()=>import("./FileContent.9f2379fd.js"),["js/build/FileContent.9f2379fd.js","js/build/FileContent.5c6a1e1c.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),mn={sort:null,mode:null,shared:null},vg={components:{DialogSelect:cg,PreviewImage:ag,FilePreview:gg,DrawerOverlay:fg,UserInput:og,FileContent:_g},directives:{longpress:hg},data(){return{loadIng:0,searchKey:"",searchTimeout:null,types:[{value:"folder",label:"\u65B0\u5EFA\u6587\u4EF6\u5939",name:"\u6587\u4EF6\u5939"},{value:"upload",label:"\u4E0A\u4F20\u6587\u4EF6",name:null,divided:!0},{value:"updir",label:"\u4E0A\u4F20\u6587\u4EF6\u5939",name:null},{value:"document",label:"\u6587\u672C",name:"\u6587\u672C",divided:!0},{value:"drawio",label:"\u56FE\u8868",name:"\u56FE\u8868"},{value:"mind",label:"\u601D\u7EF4\u5BFC\u56FE",name:"\u5BFC\u56FE"},{value:"word",label:"Word \u6587\u6863",name:"Word",divided:!0},{value:"excel",label:"Excel \u5DE5\u4F5C\u8868",name:"Excel"},{value:"ppt",label:"PPT \u6F14\u793A\u6587\u7A3F",name:"PPT"}],tableMode:"",hideShared:!1,columns:[],shareShow:!1,shareInfo:{id:0,userid:0,permission:1},shareList:[],shareLoad:0,sendShow:!1,sendLoad:!1,sendData:{dialogids:[],userids:[]},linkShow:!1,linkData:{},linkLoad:0,fileShow:!1,fileInfo:{permission:-1},imageShow:!1,imageIndex:0,imageList:[],uploadDir:!1,uploadIng:0,uploadShow:!1,uploadList:[],uploadFormat:[],uploadAccept:"",maxSize:1024e3,contextMenuItem:{},contextMenuVisible:!1,contextMenuStyles:{top:0,left:0},shearIds:[],selectIds:[],dialogDrag:!1,pasteShow:!1,pasteFile:[],pasteItem:[]}},async beforeRouteEnter(r,p,s){mn.sort=await $A.IDBJson("cacheFileSort"),mn.mode=await $A.IDBString("fileTableMode"),mn.shared=await $A.IDBBoolean("fileHideShared"),s()},created(){this.tableMode=mn.mode,this.hideShared=mn.shared,this.columns=[{type:"selection",width:50,align:"right"},{title:this.$L("\u6587\u4EF6\u540D"),key:"name",minWidth:300,sortable:!0,render:(r,{row:p})=>{let s=[];if(!/^\d+$/.test(p.id))return s.push(r("Input",{props:{elementId:"input_"+p.id,value:p.newname,autofocus:!0,disabled:!!p._load,parser:this.onParser},style:{width:"auto"},on:{"on-change":I=>{p.newname=I.target.value},"on-blur":()=>{const I=this.fileLists.find(({id:B})=>B==p.id);I&&(I.newname=p.newname,this.onBlur(I))},"on-enter":()=>{const I=this.fileLists.find(({id:B})=>B==p.id);I&&(I.newname=p.newname,this.onEnter(I))}}})),r("div",{class:"file-nbox"},[r("div",{class:`no-dark-before file-name file-icon ${p.type}`},s)]);{s.push(r("QuickEdit",{props:{value:p.name,autoEdit:!!p._edit,clickOutSide:!1,parser:this.onParser},on:{"on-edit-change":q=>{const Ee=this.fileLists.find(({id:Ze})=>Ze==p.id);Ee&&setTimeout(()=>{this.setEdit(Ee.id,q)},100)},"on-update":(q,Ee)=>{const Ze=this.fileLists.find(({id:wn})=>wn==p.id);Ze&&Ze._edit===!0&&(Ze.newname=q,this.onEnter(Ze)),Ee()}}},[r("AutoTip",{props:{placement:"right"}},$A.getFileName(p))]));const I=[];p.share?p.userid!=this.userId?I.push(r("UserAvatar",{props:{userid:p.userid,size:20}})):I.push(r("i",{class:"taskfont",domProps:{innerHTML:""}})):this.isParentShare&&I.push(r("UserAvatar",{props:{userid:p.created_id,size:20}},[p.created_id!=p.userid?r("p",[r("strong",this.$L("\u6210\u5458\u521B\u5EFA\u4E8E")+": "+p.created_at)]):r("p",this.$L("\u6240\u6709\u8005\u521B\u5EFA\u4E8E")+": "+p.created_at)]));const B=this.shearIds.includes(p.id)?" shear":"",G=p.share?" share":"";return r("div",{class:`file-nbox${B}`,attrs:{"data-id":p.id}},[r("div",{class:`no-dark-before file-name file-icon ${p.type}${G}`},s),I])}}},{title:this.$L("\u5927\u5C0F"),key:"size",width:110,resizable:!0,sortable:!0,render:(r,{row:p})=>p.type=="folder"?r("div","-"):r("AutoTip",$A.bytesToSize(p.size))},{title:this.$L("\u7C7B\u578B"),key:"type",width:110,resizable:!0,sortable:!0,render:(r,{row:p})=>{let s=this.types.find(({value:c,name:I})=>c==p.type&&I);return s?r("AutoTip",this.$L(s.name)):r("div",(p.ext||p.type).toUpperCase())}},{title:this.$L("\u6240\u6709\u8005"),key:"userid",width:130,resizable:!0,sortable:!0,render:(r,{row:p})=>r("UserAvatar",{props:{size:18,userid:p.userid,showIcon:!1,showName:!0}})},{title:this.$L("\u6700\u540E\u4FEE\u6539"),key:"updated_at",width:168,resizable:!0,sortable:!0}].map(r=>(r.key===mn.sort.key&&(r.sortType=mn.sort.order),r))},mounted(){this.uploadAccept=this.uploadFormat.map(r=>"."+r).join(",")},activated(){this.getFileList()},computed:{...ug(["userIsAdmin","userInfo","fileLists","wsOpenNum"]),pid(){const{folderId:r}=this.$route.params;return parseInt(/^\d+$/.test(r)?r:0)},fid(){const{fileId:r}=this.$route.params;return parseInt(/^\d+$/.test(r)?r:0)},actionUrl(){return $A.apiUrl("file/content/upload?pid="+this.pid)},headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},shareAlready(){let r=this.shareList?this.shareList.map(({userid:p})=>p):[];return this.shareInfo.userid&&r.push(this.shareInfo.userid),r},fileList(){const{fileLists:r,searchKey:p,hideShared:s,pid:c,selectIds:I,userId:B}=this;return $A.cloneJSON(Ci.exports.sortBy(r.filter(q=>s&&q.userid!=B&&q.created_id!=B?!1:p?q.name.indexOf(p)!==-1:q.pid==c),q=>(q.type=="folder"?"a":"b")+q.name)).map(q=>(q._checked=I.includes(q.id),q))},hasShareFile(){const{fileLists:r,userId:p}=this;return r.findIndex(s=>s.share&&s.userid!=p)!==-1},shearFirst(){const{fileLists:r,shearIds:p}=this;return p.length===0?null:r.find(s=>s.id==p[0])},navigator(){let{pid:r,fileLists:p}=this,s=[];for(;r>0;){let c=p.find(({id:I,permission:B})=>I==r&&B>-1);c?(s.unshift(c),r=c.pid):r=0}return s},isPreview(){return this.windowSmall||this.fileInfo.permission===0},isParentShare(){const{navigator:r}=this;return!!r.find(({share:p})=>p)},pasteTitle(){const{pasteItem:r}=this;let p=r.find(({type:c})=>c=="image"),s=r.find(({type:c})=>c!="image");return p&&s?"\u4E0A\u4F20\u6587\u4EF6/\u56FE\u7247":p?"\u4E0A\u4F20\u56FE\u7247":"\u4E0A\u4F20\u6587\u4EF6"},pasteWrapperClass(){return this.pasteItem.find(({type:r})=>r!=="image")?["multiple"]:[]},tableHeight(){return this.windowLarge?Math.max(300,this.windowHeight-160):Math.max(300,this.windowHeight-200)}},watch:{pid(){this.searchKey="",this.selectIds=[],this.getFileList()},fid(){this.openFileJudge()},tableMode(r){$A.IDBSave("fileTableMode",r)},hideShared(r){$A.IDBSave("fileHideShared",r)},fileShow(r){r||(this.browseFile(0),this.windowSmall&&$A.onBlur(!0))},imageShow(r){r||this.browseFile(0)},navigator:{handler(){this.$nextTick(r=>{this.$refs[`nav_${this.pid}`]&&$A.scrollToView(this.$refs[`nav_${this.pid}`][0],!1)})},immediate:!0},selectIds:{handler(r){r.length>0&&(this.shearIds=[])},deep:!0},shearIds:{handler(r){r.length>0&&(this.selectIds=[])},deep:!0},wsOpenNum(r){r<=1||(this.wsOpenTimeout&&clearTimeout(this.wsOpenTimeout),this.wsOpenTimeout=setTimeout(()=>{this.$route.name=="manage-file"&&this.getFileList()},5e3))}},methods:{getFileList(){this.$route.name==="manage-file"&&(this.loadIng++,this.$store.dispatch("getFiles",this.pid).then(async()=>{this.loadIng--,this.openFileJudge(),this.shakeFile(this.$route.params.shakeId),await $A.IDBSet("fileFolderId",this.pid)}).catch(({msg:r})=>{this.loadIng--,$A.modalError({content:r,onOk:()=>{this.browseFolder(0)}})}))},addFile(r){if(r){if(r=="upload"){this.uploadDir=!1,this.$refs.fileUpload.handleClick();return}else if(r=="updir"){this.uploadDir=!0,this.$refs.dirUpload.handleClick();return}}else return;let p=$A.randomString(8);this.fileLists.push({_edit:!0,pid:this.pid,id:p,type:r,name:"",userid:this.userId,newname:this.$L("\u672A\u547D\u540D")}),this.autoBlur(p)},handleLongpress(r,p){const s=$A.getAttr(p,"data-id"),c=this.fileList.find(I=>I.id==s);!c||this.handleRightClick(r,c)},handleContextmenu(r){this.windowLarge&&this.handleRightClick(r)},handleRightClick(r,p,s){this.contextMenuItem=$A.isJson(p)?p:{},this.contextMenuVisible&&this.handleClickContextMenuOutside(),this.$nextTick(()=>{const I=this.$refs.fileWrapper.getBoundingClientRect();this.contextMenuStyles={left:`${r.clientX-I.left}px`,top:`${r.clientY-I.top}px`},s===!0&&(this.contextMenuStyles.top=`${r.target.clientHeight+r.target.offsetTop-5}px`),this.contextMenuVisible=!0})},browseFolder(r,p=null){r>0?this.goForward({name:"manage-file",params:{folderId:r,fileId:null,shakeId:p}}):(this.searchKey="",this.goForward({name:"manage-file"}))},browseFile(r){r>0?this.goForward({name:"manage-file",params:{folderId:this.pid,fileId:r}}):this.browseFolder(this.pid)},openFileJudge(){if(this.$route.name!=="manage-file"){this.fileShow=!1,this.imageShow=!1;return}if(this.fid<=0){this.fileShow=!1,this.imageShow=!1;return}const r=this.fileList.find(({id:p})=>p===this.fid);if(!r){this.fileShow=!1,this.imageShow=!1;return}if(r.image_url){const p=this.fileList.filter(({image_url:s})=>!!s);if(p.length>0){this.imageIndex=p.findIndex(({id:s})=>r.id===s),this.imageList=p.map(s=>s.image_width?{src:s.image_url,width:s.image_width,height:s.image_height}:s.image_url),this.imageShow=!0;return}}if(this.$Electron||this.$isEEUiApp){this.openFileSingle(r);return}this.fileInfo=r,this.fileShow=!0},openFileSingle(r){const p=`/single/file/${r.id}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-${r.id}`,path:p,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:$A.getFileName(r),titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:r.type==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:$A.getFileName(r),url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${p}`}}):window.open($A.apiUrl(`..${p}`)),this.browseFile(0)},clickRow(r,p){p.type=="selection"?this.dropFile(r,"select"):this.dropFile(r,"open")},handleContextMenu(r,p){this.handleRightClick(p,this.fileLists.find(({id:s})=>s===r.id)||{})},handleContextClick(r){$A.leftExists(r,"new:")?this.addFile($A.leftDelete(r,"new:")):this.dropFile(this.contextMenuItem,r)},handleClickContextMenuOutside(){this.contextMenuVisible=!1},handleVisibleChangeMenu(r){let p=this.fileLists.find(({_highlight:s})=>!!s);p&&this.$set(p,"_highlight",!1),r&&this.contextMenuItem.id&&this.$set(this.contextMenuItem,"_highlight",!0)},dropFile(r,p){switch(p){case"open":case"openCheckMenu":if(p==="openCheckMenu"&&this.contextMenuVisible||this.fileList.findIndex(c=>c._edit===!0)>-1||r._load)return;r.type=="folder"?this.browseFolder(r.id):this.browseFile(r.id);break;case"upperFolder":this.searchKey="",this.browseFolder(r.pid,r.id);break;case"select":let s=this.selectIds.findIndex(c=>c==r.id);s>-1?this.selectIds.splice(s,1):this.selectIds.push(r.id);break;case"rename":this.setEdit(r.id,!0),this.autoBlur(r.id);break;case"copy":this.$store.dispatch("call",{url:"file/copy",data:{id:r.id}}).then(({data:c,msg:I})=>{$A.messageSuccess(I),this.$store.dispatch("saveFile",c)}).catch(({msg:c})=>{$A.modalError(c)});break;case"shear":this.shearIds=[r.id];break;case"shearSelect":this.shearIds=$A.cloneJSON(this.selectIds);break;case"send":this.sendData={dialogids:[],userids:[],file_id:r.id},this.sendShow=!0;break;case"share":this.shareInfo={id:r.id,userid:r.userid,permission:1},this.shareList=[],this.shareShow=!0,this.getShare();break;case"outshare":$A.modalConfirm({content:"\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u3010"+r.name+"\u3011\u5171\u4EAB\u6210\u5458\u5417\uFF1F",loading:!0,onOk:()=>new Promise((c,I)=>{this.$store.dispatch("call",{url:"file/share/out",data:{id:r.id}}).then(({msg:B})=>{c(B),this.$store.dispatch("forgetFile",r.id)}).catch(({msg:B})=>{I(B)})})});break;case"link":this.linkData={id:r.id,name:r.name},this.linkShow=!0,this.linkGet();break;case"download":if(!r.ext)return;$A.modalConfirm({title:"\u4E0B\u8F7D\u6587\u4EF6",content:`${r.name}.${r.ext} (${$A.bytesToSize(r.size)})`,okText:"\u7ACB\u5373\u4E0B\u8F7D",onOk:()=>{this.$store.dispatch("downUrl",$A.apiUrl(`file/content?id=${r.id}&down=yes`))}});break;case"delete":this.deleteFile([r.id]);break}},onSendFile(){if($A.arrayLength(this.sendData.dialogids)===0&&$A.arrayLength(this.sendData.userids)===0){$A.messageWarning("\u8BF7\u9009\u62E9\u8F6C\u53D1\u5BF9\u8BDD\u6216\u6210\u5458");return}this.sendLoad=!0,this.$store.dispatch("call",{url:"dialog/msg/sendfileid",data:this.sendData}).then(({data:r,msg:p})=>{this.sendShow=!1,this.$store.dispatch("saveDialogMsg",r.msgs),this.$store.dispatch("updateDialogLastMsg",r.msgs),$A.messageSuccess(p)}).catch(({msg:r})=>{$A.modalError(r)}).finally(r=>{this.sendLoad=!1})},linkGet(r){this.linkLoad++,this.$store.dispatch("call",{url:"file/link",data:{id:this.linkData.id,refresh:r===!0?"yes":"no"}}).then(({data:p})=>{this.linkData=Object.assign(p,{id:this.linkData.id,name:this.linkData.name}),this.linkFocus()}).catch(({msg:p})=>{this.linkShow=!1,$A.modalError(p)}).finally(p=>{this.linkLoad--})},linkCopy(){!this.linkData.url||(this.linkFocus(),this.$copyText(this.linkData.url).then(r=>{$A.messageSuccess("\u590D\u5236\u6210\u529F")}).catch(r=>{$A.messageError("\u590D\u5236\u5931\u8D25")}))},linkFocus(){this.$nextTick(r=>{this.$refs.linkInput.focus({cursor:"all"})})},shearTo(){if(this.shearIds.length!=0){if(this.isParentShare){const r=this.fileLists.find(({id:p,share:s})=>s&&this.shearIds.includes(p));if(r){$A.modalError(`${r.name} \u5F53\u524D\u6B63\u5728\u5171\u4EAB\uFF0C\u65E0\u6CD5\u79FB\u52A8\u5230\u53E6\u4E00\u4E2A\u5171\u4EAB\u6587\u4EF6\u5939\u5185`);return}}this.$store.dispatch("call",{url:"file/move",data:{ids:this.shearIds,pid:this.pid}}).then(({data:r,msg:p})=>{$A.messageSuccess(p),this.shearIds=[],this.$store.dispatch("saveFile",r)}).catch(({msg:r})=>{$A.modalError(r)})}},deleteFile(r){if(r.length===0)return;const p=this.fileLists.find(B=>B.id==r[0])||{};let c=!r.find(B=>this.fileLists.find(G=>G.type!="folder"&&G.id==B))?"\u6587\u4EF6\u5939":"\u6587\u4EF6",I=`\u3010${p.name}\u3011\u7B49${r.length}\u4E2A${c}`;r.length===1&&(I=`\u3010${p.name}\u3011${c}`),$A.modalConfirm({title:"\u5220\u9664"+c,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664"+I+"\u5417\uFF1F",loading:!0,onOk:()=>new Promise((B,G)=>{this.$store.dispatch("call",{url:"file/remove",data:{ids:r}}).then(({msg:q})=>{B(q),this.$store.dispatch("forgetFile",r),this.selectIds=this.selectIds.filter(Ee=>!r.includes(Ee))}).catch(({msg:q})=>{G(q)})})})},autoBlur(r){this.$nextTick(()=>{if(this.$refs["input_"+r])this.$refs["input_"+r][0].focus({cursor:"all"});else if(document.getElementById("input_"+r)){const p=document.getElementById("input_"+r),s=p.value.length;p.focus(),p.setSelectionRange(0,s)}})},onParser(r){return r.replace(/[\\\/:*?\"<>|]/g,"")},onBlur(r){this.fileLists.find(({id:p,_edit:s})=>p==r.id&&!s)||this.onEnter(r)},onKeyup(r,p){r.keyCode===13?this.onEnter(p):r.keyCode===27&&(!/^\d+$/.test(p.id)?(p.newname="",this.$store.dispatch("forgetFile",p.id)):(this.setLoad(p.id,!1),this.setEdit(p.id,!1)))},onEnter(r){const p=!/^\d+$/.test(r.id);if(!r.newname){p?this.$store.dispatch("forgetFile",r.id):this.setEdit(r.id,!1);return}if(r.newname==r.name){this.setEdit(r.id,!1);return}r._load||(this.setLoad(r.id,!0),this.$store.dispatch("call",{url:"file/add",data:{id:p?0:r.id,pid:r.pid,name:r.newname,type:r.type},spinner:2e3}).then(({data:s,msg:c})=>{$A.messageSuccess(c),this.setLoad(r.id,!1),this.setEdit(r.id,!1),this.$store.dispatch("saveFile",s),p&&(this.$store.dispatch("forgetFile",r.id),this.shakeFile(s.id))}).catch(({msg:s})=>{$A.modalError(s),this.setLoad(r.id,!1),p&&this.$store.dispatch("forgetFile",r.id)}))},setEdit(r,p){const s=this.$store.state.fileLists.find(({id:c})=>c==r);s&&(this.$set(s,"_edit",p),p&&this.$set(s,"newname",s.name))},setLoad(r,p){const s=this.$store.state.fileLists.find(({id:c})=>c==r);s&&this.$set(s,"_load",p)},onSearchFocus(){this.$nextTick(()=>{this.$refs.searchInput.focus({cursor:"end"})})},onSearchChange(){this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchKey.trim()!=""&&(this.searchTimeout=setTimeout(()=>{this.loadIng++,this.$store.dispatch("searchFiles",this.searchKey.trim()).then(()=>{this.loadIng--}).catch(()=>{this.loadIng--})},600))},getShare(){this.shareLoad++,this.$store.dispatch("call",{url:"file/share",data:{id:this.shareInfo.id}}).then(({data:r})=>{r.id==this.shareInfo.id&&(this.shareList=r.list.map(p=>(p._permission=p.permission,p)))}).catch(({msg:r})=>{this.shareShow=!1,$A.modalError(r)}).finally(r=>{this.shareLoad--})},onShare(r=!1){if(this.shareInfo.userids.length==0){$A.messageWarning("\u8BF7\u9009\u62E9\u5171\u4EAB\u6210\u5458");return}this.shareLoad++,this.$store.dispatch("call",{url:"file/share/update",data:Object.assign(this.shareInfo,{force:r===!0?1:0})}).then(({data:p,msg:s})=>{$A.messageSuccess(s),this.$store.dispatch("saveFile",p),this.$set(this.shareInfo,"userids",[]),this.getShare()}).catch(({ret:p,msg:s})=>{p===-3001?$A.modalConfirm({content:"\u6B64\u6587\u4EF6\u5939\u5185\u5DF2\u6709\u5171\u4EAB\u6587\u4EF6\u5939\uFF0C\u5B50\u6587\u4EF6\u7684\u5171\u4EAB\u72B6\u6001\u5C06\u88AB\u53D6\u6D88\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",onOk:()=>{this.onShare(!0)}}):$A.modalError(s)}).finally(p=>{this.shareLoad--})},upShare(r,p=!1){r.loading!==!0&&(r.loading=!0,this.$store.dispatch("call",{url:"file/share/update",data:{id:this.shareInfo.id,userids:[r.userid],permission:r.permission,force:p===!0?1:0}}).then(({data:s,msg:c})=>{if(r.loading=!1,r._permission=r.permission,$A.messageSuccess(c),this.$store.dispatch("saveFile",s),r.permission===-1){let I=this.shareList.findIndex(({userid:B})=>B==r.userid);I>-1&&this.shareList.splice(I,1)}}).catch(({ret:s,msg:c})=>{r.loading=!1,s===-3001?$A.modalConfirm({content:"\u6B64\u6587\u4EF6\u5939\u5185\u5DF2\u6709\u5171\u4EAB\u6587\u4EF6\u5939\uFF0C\u5B50\u6587\u4EF6\u7684\u5171\u4EAB\u72B6\u6001\u5C06\u88AB\u53D6\u6D88\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",onOk:()=>{this.upShare(r,!0)},onCancel:()=>{r.permission=r._permission}}):(r.permission=r._permission,$A.modalError(c))}))},uploadName(r){return $A.getObject(r,"response.data.full_name")||r.name},handleTableSort({key:r,order:p}){$A.IDBSave("cacheFileSort",["asc","desc"].includes(p)?{key:r,order:p}:{})},handleTableSelect(r){this.selectIds=r.map(p=>p.id)},clearSelect(){this.selectIds=[]},clearShear(){this.shearIds=[]},shakeFile(r){!r||this.$nextTick(p=>{const s=$A(this.$el).find(`[data-id="${r}"]`);s.length>0&&($A.scrollIntoViewIfNeeded(s[0]),$A(s[0]).addClass("common-shake"),setTimeout(c=>$A(s[0]).removeClass("common-shake"),800))})},pasteDragNext(r,p){let s=p==="drag"?r.dataTransfer.files:r.clipboardData.files;s=Array.prototype.slice.call(s),s.length>0&&(r.preventDefault(),this.pasteFile=[],this.pasteItem=[],s.some(c=>{const I={type:$A.getMiddle(c.type,null,"/"),name:c.name,size:c.size,result:null};if(I.type==="image"){const B=new FileReader;B.readAsDataURL(c),B.onload=({target:G})=>{I.result=G.result,this.pasteFile.push(c),this.pasteItem.push(I),this.pasteShow=!0}}else this.pasteFile.push(c),this.pasteItem.push(I),this.pasteShow=!0}))},filePasteDrag(r,p){this.dialogDrag=!1,this.pasteDragNext(r,p)},fileDragOver(r,p){let s=this.__dialogDrag=$A.randomString(8);if(!r)setTimeout(()=>{s===this.__dialogDrag&&(this.dialogDrag=r)},150);else{if(p.dataTransfer.effectAllowed==="move")return;this.dialogDrag=!0}},pasteSend(){const r=[];this.pasteFile.some(p=>{r.find(s=>s===p.name)||(r.push(p.name),this.$refs.fileUpload.upload(p))})},fileBeforeClose(){return new Promise(r=>{if(!this.$refs.fileContent){r();return}if(this.$refs.fileContent.equalContent){r();return}$A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{r()}})})},uploadUpdate(r){r.forEach(p=>{let s=this.uploadList.findIndex(({uid:c})=>c==p.uid);s>-1?this.uploadList.splice(s,1,p):this.uploadList.unshift(p)})},uploadClear(){this.uploadList=this.uploadList.filter(({status:r})=>r!=="finished"),this.$refs.fileUpload.clearFiles(),this.$refs.dirUpload.clearFiles()},uploadPercentageParse(r){return parseInt(r,10)},handleProgress(r,p,s){p._uploadIng===void 0&&(p._uploadIng=!0,this.uploadIng++),this.uploadUpdate(s)},handleSuccess(r,p,s){this.uploadIng--,this.uploadUpdate(s),r.ret===1?this.$store.dispatch("saveFile",r.data):$A.modalWarning({title:"\u4E0A\u4F20\u5931\u8D25",content:"\u6587\u4EF6 "+p.name+" \u4E0A\u4F20\u5931\u8D25\uFF0C"+r.msg})},handleError(r,p,s){this.uploadIng--,this.uploadUpdate(s)},handleFormatError(r){this.uploadDir||$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+r.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(r){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+r.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleBeforeUpload(){return this.uploadShow=!0,!0}}},uu={};var mg=lg(vg,dg,pg,!1,wg,null,null,null);function wg(r){for(let p in uu)this[p]=uu[p]}var Sg=function(){return mg.exports}();export{Sg as default}; +}`;var E=iu(function(){return M(l,L+"return "+w).apply(s,o)});if(E.source=w,gi(E))throw E;return E}function dp(e){return k(e).toLowerCase()}function pp(e){return k(e).toUpperCase()}function gp(e,n,t){if(e=k(e),e&&(t||n===s))return ds(e);if(!e||!(n=ce(n)))return e;var i=Ce(e),a=Ce(n),l=ps(i,a),o=gs(i,a)+1;return sn(i,l,o).join("")}function _p(e,n,t){if(e=k(e),e&&(t||n===s))return e.slice(0,vs(e)+1);if(!e||!(n=ce(n)))return e;var i=Ce(e),a=gs(i,Ce(n))+1;return sn(i,0,a).join("")}function vp(e,n,t){if(e=k(e),e&&(t||n===s))return e.replace(gr,"");if(!e||!(n=ce(n)))return e;var i=Ce(e),a=ps(i,Ce(n));return sn(i,a).join("")}function mp(e,n){var t=ou,i=fu;if(H(n)){var a="separator"in n?n.separator:a;t="length"in n?T(n.length):t,i="omission"in n?ce(n.omission):i}e=k(e);var l=e.length;if(bn(e)){var o=Ce(e);l=o.length}if(t>=l)return e;var f=t-Tn(i);if(f<1)return i;var d=o?sn(o,0,f).join(""):e.slice(0,f);if(a===s)return d+i;if(o&&(f+=d.length-f),_i(a)){if(e.slice(f).search(a)){var v,m=d;for(a.global||(a=Rr(a.source,k(Mi.exec(a))+"g")),a.lastIndex=0;v=a.exec(m);)var w=v.index;d=d.slice(0,w===s?f:w)}}else if(e.indexOf(ce(a),f)!=f){var x=d.lastIndexOf(a);x>-1&&(d=d.slice(0,x))}return d+i}function wp(e){return e=k(e),e&&bu.test(e)?e.replace(Ri,ql):e}var xp=kn(function(e,n,t){return e+(t?" ":"")+n.toUpperCase()}),wi=sa("toUpperCase");function ru(e,n,t){return e=k(e),n=t?s:n,n===s?Nl(e)?Jl(e):Rl(e):e.match(n)||[]}var iu=F(function(e,n){try{return oe(e,s,n)}catch(t){return gi(t)?t:new y(t)}}),Ip=He(function(e,n){return ve(n,function(t){t=ke(t),Ne(e,t,di(e[t],e))}),e});function Ap(e){var n=e==null?0:e.length,t=S();return e=n?z(e,function(i){if(typeof i[1]!="function")throw new me(G);return[t(i[0]),i[1]]}):[],F(function(i){for(var a=-1;++aXe)return[];var t=Oe,i=ee(e,Oe);n=S(n),e-=Oe;for(var a=Tr(i,n);++t0||n<0)?new O(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),n!==s&&(n=T(n),t=n<0?t.dropRight(-n):t.take(n-e)),t)},O.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},O.prototype.toArray=function(){return this.take(Oe)},De(O.prototype,function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),a=u[i?"take"+(n=="last"?"Right":""):n],l=i||/^find/.test(n);!a||(u.prototype[n]=function(){var o=this.__wrapped__,f=i?[1]:arguments,d=o instanceof O,v=f[0],m=d||b(o),w=function(R){var D=a.apply(u,Ve([R],f));return i&&x?D[0]:D};m&&t&&typeof v=="function"&&v.length!=1&&(d=m=!1);var x=this.__chain__,L=!!this.__actions__.length,$=l&&!x,E=d&&!L;if(!l&&m){o=E?o:new O(this);var C=e.apply(o,f);return C.__actions__.push({func:Xt,args:[w],thisArg:s}),new we(C,x)}return $&&E?e.apply(this,f):(C=this.thru(w),$?i?C.value()[0]:C.value():C)})}),ve(["pop","push","shift","sort","splice","unshift"],function(e){var n=At[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);u.prototype[e]=function(){var a=arguments;if(i&&!this.__chain__){var l=this.value();return n.apply(b(l)?l:[],a)}return this[t](function(o){return n.apply(b(o)?o:[],a)})}}),De(O.prototype,function(e,n){var t=u[n];if(t){var i=t.name+"";P.call(On,i)||(On[i]=[]),On[i].push({name:n,func:t})}}),On[Ht(s,un).name]=[{name:"wrapper",func:s}],O.prototype.clone=mo,O.prototype.reverse=wo,O.prototype.value=xo,u.prototype.at=Xc,u.prototype.chain=Qc,u.prototype.commit=Vc,u.prototype.next=jc,u.prototype.plant=nh,u.prototype.reverse=th,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=rh,u.prototype.first=u.prototype.head,Jn&&(u.prototype[Jn]=eh),u},En=Xl();on?((on.exports=En)._=En,Ir._=En):V._=En}).call(ot)})(Ci,Ci.exports);var dg=function(){var r=this,p=r.$createElement,s=r._self._c||p;return s("div",{staticClass:"page-file"},[s("PageTitle",{attrs:{title:r.$L("\u6587\u4EF6")}}),s("div",{ref:"fileWrapper",staticClass:"file-wrapper"},[s("div",{staticClass:"file-head"},[s("div",{staticClass:"file-nav"},[s("h1",[r._v(r._s(r.$L("\u6587\u4EF6")))]),r.loadIng==0?s("div",{staticClass:"file-refresh",on:{click:r.getFileList}},[s("i",{staticClass:"taskfont"},[r._v("\uE6AE")])]):r._e()]),r.uploadList.length>0?s("div",{staticClass:"file-status",on:{click:function(c){r.uploadShow=!0}}},[r.uploadList.find(function(c){var I=c.status;return I!=="finished"})?s("Loading"):s("Button",{attrs:{shape:"circle",icon:"md-checkmark"}})],1):r._e(),s("div",{class:["file-search",r.searchKey?"has-value":""],on:{click:r.onSearchFocus,mouseenter:r.onSearchFocus}},[s("Input",{ref:"searchInput",attrs:{suffix:"ios-search",placeholder:r.$L("\u641C\u7D22\u540D\u79F0")},on:{"on-change":r.onSearchChange},model:{value:r.searchKey,callback:function(c){r.searchKey=c},expression:"searchKey"}})],1),s("div",{staticClass:"file-add"},[s("Button",{attrs:{shape:"circle",icon:"md-add"},on:{click:function(c){return c.stopPropagation(),r.handleRightClick(c,null,!0)}}})],1)]),s("div",{staticClass:"file-navigator"},[s("ul",{staticClass:"scrollbar-hidden"},[s("li",{on:{click:function(c){return r.browseFolder(0)}}},[s("span",[r._v(r._s(r.$L("\u5168\u90E8\u6587\u4EF6")))])]),r.searchKey?s("li",[r._v(r._s(r.$L("\u641C\u7D22"))+' "'+r._s(r.searchKey)+'"')]):r._l(r.navigator,function(c){return s("li",{ref:`nav_${c.id}`,refInFor:!0,on:{click:function(I){return r.browseFolder(c.id)}}},[c.share?s("i",{staticClass:"taskfont"},[r._v("\uE63F")]):r._e(),s("span",{attrs:{title:c.name}},[r._v(r._s(c.name))]),c.share&&c.permission==0?s("span",{staticClass:"readonly"},[r._v(r._s(r.$L("\u53EA\u8BFB")))]):r._e()])})],2),r.shearFirst?[s("Button",{attrs:{disabled:r.shearFirst.pid==r.pid,size:"small",type:"primary"},on:{click:r.shearTo}},[s("div",{staticClass:"file-shear"},[s("span",[r._v(r._s(r.$L("\u7C98\u8D34")))]),r._v(' "'),s("em",[r._v(r._s(r.shearFirst.name))]),r._v('" '),r.shearIds.length>1?s("span",[r._v(r._s(r.$L("\u7B49"))+r._s(r.shearIds.length)+r._s(r.$L("\u4E2A\u6587\u4EF6")))]):r._e()])]),s("Button",{attrs:{type:"primary",size:"small"},on:{click:r.clearShear}},[r._v(r._s(r.$L("\u53D6\u6D88\u526A\u5207")))])]:r.selectIds.length>0?[s("Button",{attrs:{size:"small",type:"info"},on:{click:function(c){return r.handleContextClick("shearSelect")}}},[s("Icon",{attrs:{type:"ios-cut"}}),r._v(" "+r._s(r.$L("\u526A\u5207"))+" ")],1),s("Button",{attrs:{size:"small",type:"error"},on:{click:function(c){return r.deleteFile(r.selectIds)}}},[s("Icon",{attrs:{type:"ios-trash"}}),r._v(" "+r._s(r.$L("\u5220\u9664"))+" ")],1),s("Button",{attrs:{type:"primary",size:"small"},on:{click:r.clearSelect}},[r._v(r._s(r.$L("\u53D6\u6D88\u9009\u62E9")))])]:r._e(),r.loadIng>0?s("div",{staticClass:"nav-load"},[s("Loading")],1):r._e(),s("div",{staticClass:"flex-full"}),r.hasShareFile?s("div",{staticClass:"only-checkbox"},[s("Checkbox",{model:{value:r.hideShared,callback:function(c){r.hideShared=c},expression:"hideShared"}},[r._v(r._s(r.$L("\u4EC5\u663E\u793A\u6211\u7684")))])],1):r._e(),s("div",{class:["switch-button",r.tableMode]},[s("div",{on:{click:function(c){r.tableMode="block"}}},[s("i",{staticClass:"taskfont"},[r._v("\uE60C")])]),s("div",{on:{click:function(c){r.tableMode="table"}}},[s("i",{staticClass:"taskfont"},[r._v("\uE66A")])])])],2),s("div",{staticClass:"file-drag",on:{drop:function(c){return c.preventDefault(),r.filePasteDrag(c,"drag")},dragover:function(c){return c.preventDefault(),r.fileDragOver(!0,c)},dragleave:function(c){return c.preventDefault(),r.fileDragOver(!1,c)}}},[r.tableMode==="table"?s("div",{staticClass:"file-table",on:{contextmenu:function(c){return c.preventDefault(),r.handleContextmenu.apply(null,arguments)}}},[s("Table",{attrs:{columns:r.columns,data:r.fileList,height:r.tableHeight,"no-data-text":r.$L("\u6CA1\u6709\u4EFB\u4F55\u6587\u4EF6"),"context-menu":"",stripe:""},on:{"on-cell-click":r.clickRow,"on-contextmenu":r.handleContextMenu,"on-select":r.handleTableSelect,"on-select-cancel":r.handleTableSelect,"on-select-all-cancel":r.handleTableSelect,"on-select-all":r.handleTableSelect,"on-sort-change":r.handleTableSort}})],1):[r.fileList.length==0&&r.loadIng==0?s("div",{staticClass:"file-no",on:{contextmenu:function(c){return c.preventDefault(),r.handleContextmenu.apply(null,arguments)}}},[s("i",{staticClass:"taskfont"},[r._v("\uE60B")]),s("p",[r._v(r._s(r.$L("\u6CA1\u6709\u4EFB\u4F55\u6587\u4EF6")))])]):s("div",{staticClass:"file-list",on:{contextmenu:function(c){return c.preventDefault(),r.handleContextmenu.apply(null,arguments)}}},[s("ul",r._l(r.fileList,function(c){return s("li",[s("div",{directives:[{name:"longpress",rawName:"v-longpress",value:r.handleLongpress,expression:"handleLongpress"}],staticClass:"file-item",class:{shear:r.shearIds.includes(c.id),highlight:r.selectIds.includes(c.id),operate:r.contextMenuVisible&&c.id===r.contextMenuItem.id},attrs:{"data-id":c.id},on:{click:function(I){return r.dropFile(c,"openCheckMenu")}}},[s("div",{staticClass:"file-check",class:{"file-checked":r.selectIds.includes(c.id)},on:{click:function(I){return I.stopPropagation(),r.dropFile(c,"select")}}},[s("Checkbox",{attrs:{value:r.selectIds.includes(c.id)}})],1),s("div",{staticClass:"file-menu",on:{click:function(I){return I.stopPropagation(),r.handleRightClick(I,c)}}},[s("Icon",{attrs:{type:"ios-more"}})],1),s("div",{class:`no-dark-before file-icon ${c.type}${c.share?" share":""}`},[c.share?[c.userid!=r.userId?s("UserAvatar",{staticClass:"share-avatar",attrs:{userid:c.userid,size:20}},[s("p",[r._v(r._s(r.$L("\u5171\u4EAB\u6743\u9650"))+": "+r._s(r.$L(c.permission==1?"\u8BFB/\u5199":"\u53EA\u8BFB")))])]):s("div",{staticClass:"share-icon no-dark-content"},[s("i",{staticClass:"taskfont"},[r._v("\uE757")])])]:r.isParentShare?[s("UserAvatar",{staticClass:"share-avatar",attrs:{userid:c.created_id,size:20}},[c.created_id!=c.userid?s("p",[s("strong",[r._v(r._s(r.$L("\u6210\u5458\u521B\u5EFA\u4E8E"))+": "+r._s(c.created_at))])]):s("p",[r._v(r._s(r.$L("\u6240\u6709\u8005\u521B\u5EFA\u4E8E"))+": "+r._s(c.created_at))])])]:r._e()],2),c._edit?s("div",{staticClass:"file-input"},[s("Input",{ref:"input_"+c.id,refInFor:!0,attrs:{size:"small",disabled:!!c._load,parser:r.onParser},on:{"on-blur":function(I){return r.onBlur(c)},"on-keyup":function(I){return r.onKeyup(I,c)}},model:{value:c.newname,callback:function(I){r.$set(c,"newname",I)},expression:"item.newname"}}),c._load?s("div",{staticClass:"file-load"},[s("Loading")],1):r._e()],1):s("div",{staticClass:"file-name",attrs:{title:c.name}},[r._v(r._s(r.$A.getFileName(c)))])])])}),0)])],r.dialogDrag?s("div",{staticClass:"drag-over",on:{click:function(c){r.dialogDrag=!1}}},[s("div",{staticClass:"drag-text"},[r._v(r._s(r.$L("\u62D6\u52A8\u5230\u8FD9\u91CC\u53D1\u9001")))])]):r._e()],2),s("div",{staticClass:"file-menu",style:r.contextMenuStyles},[s("Dropdown",{attrs:{trigger:"custom",visible:r.contextMenuVisible,"transfer-class-name":"page-file-dropdown-menu",transfer:""},on:{"on-click":r.handleContextClick,"on-clickoutside":r.handleClickContextMenuOutside,"on-visible-change":r.handleVisibleChangeMenu}},[s("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[r.contextMenuItem.id?[s("DropdownItem",{staticClass:"item-open",attrs:{name:"open"}},[r._v(" "+r._s(r.$L("\u6253\u5F00"))+" "),s("div",{staticClass:"open-name"},[r._v("\u201C"+r._s(r.contextMenuItem.name)+"\u201D")])]),r.searchKey?s("DropdownItem",{staticClass:"item-open",attrs:{name:"upperFolder"}},[r._v(" "+r._s(r.$L("\u5728\u4E0A\u5C42\u6587\u4EF6\u5939\u4E2D\u663E\u793A"))+" ")]):r._e(),s("DropdownItem",{attrs:{name:"select"}},[r._v(r._s(r.$L(r.selectIds.includes(r.contextMenuItem.id)?"\u53D6\u6D88\u9009\u62E9":"\u9009\u62E9")))]),s("Dropdown",{attrs:{placement:"right-start",transfer:""}},[s("DropdownItem",{attrs:{divided:"",name:"new:"},nativeOn:{click:function(c){c.stopPropagation()}}},[s("div",{staticClass:"arrow-forward-item"},[r._v(r._s(r.$L("\u65B0\u5EFA"))),s("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),s("DropdownMenu",{staticClass:"page-file-dropdown-menu",attrs:{slot:"list"},slot:"list"},r._l(r.types,function(c,I){return c.label?s("DropdownItem",{key:I,attrs:{divided:!!c.divided,name:`new:${c.value}`}},[s("div",{class:`no-dark-before file-item file-icon ${c.value}`},[r._v(r._s(r.$L(c.label)))])]):r._e()}),1)],1),s("DropdownItem",{attrs:{name:"rename",divided:""}},[r._v(r._s(r.$L("\u91CD\u547D\u540D")))]),s("DropdownItem",{attrs:{name:"copy",disabled:r.contextMenuItem.type=="folder"}},[r._v(r._s(r.$L("\u590D\u5236")))]),s("DropdownItem",{attrs:{name:"shear",disabled:r.contextMenuItem.userid!=r.userId}},[r._v(r._s(r.$L("\u526A\u5207")))]),r.contextMenuItem.userid==r.userId?s("DropdownItem",{attrs:{name:"share",divided:""}},[r._v(r._s(r.$L("\u5171\u4EAB")))]):r.contextMenuItem.share?s("DropdownItem",{attrs:{name:"outshare",divided:""}},[r._v(r._s(r.$L("\u9000\u51FA\u5171\u4EAB")))]):r._e(),s("DropdownItem",{attrs:{name:"send",disabled:r.contextMenuItem.type=="folder"}},[r._v(r._s(r.$L("\u53D1\u9001")))]),s("DropdownItem",{attrs:{name:"link",divided:r.contextMenuItem.userid!=r.userId&&!r.contextMenuItem.share,disabled:r.contextMenuItem.type=="folder"}},[r._v(r._s(r.$L("\u94FE\u63A5")))]),s("DropdownItem",{attrs:{name:"download",disabled:r.contextMenuItem.ext==""}},[r._v(r._s(r.$L("\u4E0B\u8F7D")))]),s("DropdownItem",{staticStyle:{color:"red"},attrs:{name:"delete",divided:""}},[r._v(r._s(r.$L("\u5220\u9664")))])]:r._l(r.types,function(c,I){return c.label?s("DropdownItem",{key:I,attrs:{divided:!!c.divided,name:`new:${c.value}`}},[s("div",{class:`no-dark-before file-item file-icon ${c.value}`},[r._v(r._s(r.$L(c.label)))])]):r._e()})],2)],1)],1)]),r.uploadShow&&r.uploadList.length>0?s("div",{staticClass:"file-upload-list"},[s("div",{staticClass:"upload-wrap"},[s("div",{staticClass:"title"},[r._v(" "+r._s(r.$L("\u4E0A\u4F20\u5217\u8868"))+" ("+r._s(r.uploadList.length)+") "),r.uploadList.find(function(c){var I=c.status;return I==="finished"})?s("em",{on:{click:r.uploadClear}},[r._v(r._s(r.$L("\u6E05\u7A7A\u5DF2\u5B8C\u6210")))]):r._e()]),s("ul",{staticClass:"content"},r._l(r.uploadList,function(c,I){return I<100?s("li",{key:I},[s("AutoTip",{staticClass:"file-name"},[r._v(r._s(r.uploadName(c)))]),c.status==="finished"&&c.response&&c.response.ret!==1?s("AutoTip",{staticClass:"file-error"},[r._v(r._s(c.response.msg))]):s("Progress",{attrs:{percent:r.uploadPercentageParse(c.percentage),"stroke-width":5}}),s("Icon",{staticClass:"file-close",attrs:{type:"ios-close-circle-outline"},on:{click:function(B){return r.uploadList.splice(I,1)}}})],1):r._e()}),0),s("Icon",{staticClass:"close",attrs:{type:"md-close"},on:{click:function(c){r.uploadShow=!1}}})],1)]):r._e(),s("Upload",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"fileUpload",attrs:{name:"files",action:r.actionUrl,headers:r.headers,multiple:!0,webkitdirectory:!1,format:r.uploadFormat,accept:r.uploadAccept,"show-upload-list":!1,"max-size":r.maxSize,"on-progress":r.handleProgress,"on-success":r.handleSuccess,"on-error":r.handleError,"on-format-error":r.handleFormatError,"on-exceeded-size":r.handleMaxSize,"before-upload":r.handleBeforeUpload}}),s("Upload",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"dirUpload",attrs:{name:"files",action:r.actionUrl,headers:r.headers,multiple:!0,webkitdirectory:!0,format:r.uploadFormat,accept:r.uploadAccept,"show-upload-list":!1,"max-size":r.maxSize,"on-progress":r.handleProgress,"on-success":r.handleSuccess,"on-error":r.handleError,"on-format-error":r.handleFormatError,"on-exceeded-size":r.handleMaxSize,"before-upload":r.handleBeforeUpload}}),s("Modal",{attrs:{title:r.$L("\u5171\u4EAB\u8BBE\u7F6E"),"mask-closable":!1,"footer-hide":""},model:{value:r.shareShow,callback:function(c){r.shareShow=c},expression:"shareShow"}},[s("Form",{staticClass:"page-file-share-form",attrs:{model:r.shareInfo,inline:""},nativeOn:{submit:function(c){c.preventDefault()}}},[s("FormItem",{staticClass:"share-userid",attrs:{prop:"userids"}},[s("UserInput",{attrs:{disabledChoice:r.shareAlready,"multiple-max":100,placeholder:r.$L("\u9009\u62E9\u5171\u4EAB\u6210\u5458")},model:{value:r.shareInfo.userids,callback:function(c){r.$set(r.shareInfo,"userids",c)},expression:"shareInfo.userids"}},[s("Option",{attrs:{slot:"option-prepend",value:0,label:r.$L("\u6240\u6709\u4EBA"),disabled:r.shareAlready.includes(0)},slot:"option-prepend"},[s("div",{staticClass:"user-input-option"},[s("div",{staticClass:"user-input-avatar"},[s("EAvatar",{staticClass:"avatar",attrs:{icon:"el-icon-s-custom"}})],1),s("div",{staticClass:"user-input-nickname"},[r._v(r._s(r.$L("\u6240\u6709\u4EBA")))]),s("div",{staticClass:"user-input-userid"},[r._v("All")])])])],1)],1),s("FormItem",[s("Select",{attrs:{placeholder:r.$L("\u6743\u9650")},model:{value:r.shareInfo.permission,callback:function(c){r.$set(r.shareInfo,"permission",c)},expression:"shareInfo.permission"}},[s("Option",{attrs:{value:1}},[r._v(r._s(r.$L("\u8BFB/\u5199")))]),s("Option",{attrs:{value:0}},[r._v(r._s(r.$L("\u53EA\u8BFB")))])],1)],1),s("FormItem",[s("Button",{attrs:{type:"primary",loading:r.shareLoad>0},on:{click:r.onShare}},[r._v(r._s(r.$L("\u5171\u4EAB")))])],1)],1),r.shareList.length>0?s("div",[s("div",{staticClass:"page-file-share-title"},[r._v(r._s(r.$L("\u5DF2\u5171\u4EAB\u6210\u5458"))+":")]),s("ul",{staticClass:"page-file-share-list"},r._l(r.shareList,function(c){return s("li",[c.userid==0?s("div",{staticClass:"all-avatar"},[s("EAvatar",{staticClass:"avatar-text",attrs:{icon:"el-icon-s-custom"}}),s("span",{staticClass:"avatar-name"},[r._v(r._s(r.$L("\u6240\u6709\u4EBA")))])],1):s("UserAvatar",{attrs:{size:32,userid:c.userid,showName:"",tooltipDisabled:""}}),s("Select",{attrs:{placeholder:r.$L("\u6743\u9650")},on:{"on-change":function(I){return r.upShare(c)}},model:{value:c.permission,callback:function(I){r.$set(c,"permission",I)},expression:"item.permission"}},[s("Option",{attrs:{value:1}},[r._v(r._s(r.$L("\u8BFB/\u5199")))]),s("Option",{attrs:{value:0}},[r._v(r._s(r.$L("\u53EA\u8BFB")))]),s("Option",{staticClass:"delete",attrs:{value:-1}},[r._v(r._s(r.$L("\u5220\u9664")))])],1)],1)}),0)]):r._e()],1),s("Modal",{attrs:{title:r.$L("\u53D1\u9001\u6587\u4EF6"),"mask-closable":!1},model:{value:r.sendShow,callback:function(c){r.sendShow=c},expression:"sendShow"}},[s("DialogSelect",{model:{value:r.sendData,callback:function(c){r.sendData=c},expression:"sendData"}}),s("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[s("Button",{attrs:{type:"default"},on:{click:function(c){r.sendShow=!1}}},[r._v(r._s(r.$L("\u53D6\u6D88")))]),s("Button",{attrs:{type:"primary",loading:r.sendLoad},on:{click:r.onSendFile}},[r._v(r._s(r.$L("\u53D1\u9001\u6587\u4EF6")))])],1)],1),s("Modal",{attrs:{title:r.$L("\u6587\u4EF6\u94FE\u63A5"),"mask-closable":!1},model:{value:r.linkShow,callback:function(c){r.linkShow=c},expression:"linkShow"}},[s("div",[s("div",{staticStyle:{margin:"-10px 0 8px"}},[r._v(r._s(r.$L("\u6587\u4EF6\u540D\u79F0"))+": "+r._s(r.linkData.name))]),s("Input",{ref:"linkInput",attrs:{type:"textarea",rows:3,readonly:""},on:{"on-focus":r.linkFocus},model:{value:r.linkData.url,callback:function(c){r.$set(r.linkData,"url",c)},expression:"linkData.url"}}),s("div",{staticClass:"form-tip",staticStyle:{"padding-top":"6px"}},[r._v(r._s(r.$L("\u53EF\u901A\u8FC7\u6B64\u94FE\u63A5\u6D4F\u89C8\u6587\u4EF6\u3002"))),s("a",{attrs:{href:"javascript:void(0)"},on:{click:r.linkCopy}},[r._v(r._s(r.$L("\u70B9\u51FB\u590D\u5236\u94FE\u63A5")))])])],1),s("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[s("Button",{attrs:{type:"default"},on:{click:function(c){r.linkShow=!1}}},[r._v(r._s(r.$L("\u53D6\u6D88")))]),s("Poptip",{staticStyle:{"margin-left":"8px"},attrs:{confirm:"",placement:"bottom","ok-text":r.$L("\u786E\u5B9A"),"cancel-text":r.$L("\u53D6\u6D88"),transfer:""},on:{"on-ok":function(c){return r.linkGet(!0)}}},[s("div",{attrs:{slot:"title"},slot:"title"},[s("p",[s("strong",[r._v(r._s(r.$L("\u6CE8\u610F\uFF1A\u5237\u65B0\u5C06\u5BFC\u81F4\u539F\u6765\u7684\u94FE\u63A5\u5931\u6548\uFF01")))])])]),s("Button",{attrs:{type:"primary",loading:r.linkLoad>0}},[r._v(r._s(r.$L("\u5237\u65B0")))])],1)],1)]),s("DrawerOverlay",{staticClass:"page-file-drawer",attrs:{beforeClose:r.fileBeforeClose,"mask-closable":!1},model:{value:r.fileShow,callback:function(c){r.fileShow=c},expression:"fileShow"}},[r.isPreview?s("FilePreview",{attrs:{file:r.fileInfo}}):s("FileContent",{ref:"fileContent",attrs:{file:r.fileInfo},model:{value:r.fileShow,callback:function(c){r.fileShow=c},expression:"fileShow"}})],1),s("PreviewImage",{attrs:{index:r.imageIndex,list:r.imageList},model:{value:r.imageShow,callback:function(c){r.imageShow=c},expression:"imageShow"}}),s("Modal",{attrs:{title:r.$L(r.pasteTitle),"cancel-text":r.$L("\u53D6\u6D88"),"ok-text":r.$L("\u7ACB\u5373\u4E0A\u4F20"),"enter-ok":!0},on:{"on-ok":r.pasteSend},model:{value:r.pasteShow,callback:function(c){r.pasteShow=c},expression:"pasteShow"}},[s("ul",{staticClass:"dialog-wrapper-paste",class:r.pasteWrapperClass},r._l(r.pasteItem,function(c){return s("li",[c.type=="image"?s("img",{attrs:{src:c.result}}):s("div",[r._v(r._s(r.$L("\u6587\u4EF6"))+": "+r._s(c.name)+" ("+r._s(r.$A.bytesToSize(c.size))+")")])])}),0)])],1)},pg=[];const gg=()=>lu(()=>import("./FilePreview.393d5c5f.js"),["js/build/FilePreview.393d5c5f.js","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),_g=()=>lu(()=>import("./FileContent.f5b4eda8.js"),["js/build/FileContent.f5b4eda8.js","js/build/FileContent.5c6a1e1c.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),mn={sort:null,mode:null,shared:null},vg={components:{DialogSelect:cg,PreviewImage:ag,FilePreview:gg,DrawerOverlay:fg,UserInput:og,FileContent:_g},directives:{longpress:hg},data(){return{loadIng:0,searchKey:"",searchTimeout:null,types:[{value:"folder",label:"\u65B0\u5EFA\u6587\u4EF6\u5939",name:"\u6587\u4EF6\u5939"},{value:"upload",label:"\u4E0A\u4F20\u6587\u4EF6",name:null,divided:!0},{value:"updir",label:"\u4E0A\u4F20\u6587\u4EF6\u5939",name:null},{value:"document",label:"\u6587\u672C",name:"\u6587\u672C",divided:!0},{value:"drawio",label:"\u56FE\u8868",name:"\u56FE\u8868"},{value:"mind",label:"\u601D\u7EF4\u5BFC\u56FE",name:"\u5BFC\u56FE"},{value:"word",label:"Word \u6587\u6863",name:"Word",divided:!0},{value:"excel",label:"Excel \u5DE5\u4F5C\u8868",name:"Excel"},{value:"ppt",label:"PPT \u6F14\u793A\u6587\u7A3F",name:"PPT"}],tableMode:"",hideShared:!1,columns:[],shareShow:!1,shareInfo:{id:0,userid:0,permission:1},shareList:[],shareLoad:0,sendShow:!1,sendLoad:!1,sendData:{dialogids:[],userids:[]},linkShow:!1,linkData:{},linkLoad:0,fileShow:!1,fileInfo:{permission:-1},imageShow:!1,imageIndex:0,imageList:[],uploadDir:!1,uploadIng:0,uploadShow:!1,uploadList:[],uploadFormat:[],uploadAccept:"",maxSize:1024e3,contextMenuItem:{},contextMenuVisible:!1,contextMenuStyles:{top:0,left:0},shearIds:[],selectIds:[],dialogDrag:!1,pasteShow:!1,pasteFile:[],pasteItem:[]}},async beforeRouteEnter(r,p,s){mn.sort=await $A.IDBJson("cacheFileSort"),mn.mode=await $A.IDBString("fileTableMode"),mn.shared=await $A.IDBBoolean("fileHideShared"),s()},created(){this.tableMode=mn.mode,this.hideShared=mn.shared,this.columns=[{type:"selection",width:50,align:"right"},{title:this.$L("\u6587\u4EF6\u540D"),key:"name",minWidth:300,sortable:!0,render:(r,{row:p})=>{let s=[];if(!/^\d+$/.test(p.id))return s.push(r("Input",{props:{elementId:"input_"+p.id,value:p.newname,autofocus:!0,disabled:!!p._load,parser:this.onParser},style:{width:"auto"},on:{"on-change":I=>{p.newname=I.target.value},"on-blur":()=>{const I=this.fileLists.find(({id:B})=>B==p.id);I&&(I.newname=p.newname,this.onBlur(I))},"on-enter":()=>{const I=this.fileLists.find(({id:B})=>B==p.id);I&&(I.newname=p.newname,this.onEnter(I))}}})),r("div",{class:"file-nbox"},[r("div",{class:`no-dark-before file-name file-icon ${p.type}`},s)]);{s.push(r("QuickEdit",{props:{value:p.name,autoEdit:!!p._edit,clickOutSide:!1,parser:this.onParser},on:{"on-edit-change":q=>{const Ee=this.fileLists.find(({id:Ze})=>Ze==p.id);Ee&&setTimeout(()=>{this.setEdit(Ee.id,q)},100)},"on-update":(q,Ee)=>{const Ze=this.fileLists.find(({id:wn})=>wn==p.id);Ze&&Ze._edit===!0&&(Ze.newname=q,this.onEnter(Ze)),Ee()}}},[r("AutoTip",{props:{placement:"right"}},$A.getFileName(p))]));const I=[];p.share?p.userid!=this.userId?I.push(r("UserAvatar",{props:{userid:p.userid,size:20}})):I.push(r("i",{class:"taskfont",domProps:{innerHTML:""}})):this.isParentShare&&I.push(r("UserAvatar",{props:{userid:p.created_id,size:20}},[p.created_id!=p.userid?r("p",[r("strong",this.$L("\u6210\u5458\u521B\u5EFA\u4E8E")+": "+p.created_at)]):r("p",this.$L("\u6240\u6709\u8005\u521B\u5EFA\u4E8E")+": "+p.created_at)]));const B=this.shearIds.includes(p.id)?" shear":"",G=p.share?" share":"";return r("div",{class:`file-nbox${B}`,attrs:{"data-id":p.id}},[r("div",{class:`no-dark-before file-name file-icon ${p.type}${G}`},s),I])}}},{title:this.$L("\u5927\u5C0F"),key:"size",width:110,resizable:!0,sortable:!0,render:(r,{row:p})=>p.type=="folder"?r("div","-"):r("AutoTip",$A.bytesToSize(p.size))},{title:this.$L("\u7C7B\u578B"),key:"type",width:110,resizable:!0,sortable:!0,render:(r,{row:p})=>{let s=this.types.find(({value:c,name:I})=>c==p.type&&I);return s?r("AutoTip",this.$L(s.name)):r("div",(p.ext||p.type).toUpperCase())}},{title:this.$L("\u6240\u6709\u8005"),key:"userid",width:130,resizable:!0,sortable:!0,render:(r,{row:p})=>r("UserAvatar",{props:{size:18,userid:p.userid,showIcon:!1,showName:!0}})},{title:this.$L("\u6700\u540E\u4FEE\u6539"),key:"updated_at",width:168,resizable:!0,sortable:!0}].map(r=>(r.key===mn.sort.key&&(r.sortType=mn.sort.order),r))},mounted(){this.uploadAccept=this.uploadFormat.map(r=>"."+r).join(",")},activated(){this.getFileList()},computed:{...ug(["userIsAdmin","userInfo","fileLists","wsOpenNum"]),pid(){const{folderId:r}=this.$route.params;return parseInt(/^\d+$/.test(r)?r:0)},fid(){const{fileId:r}=this.$route.params;return parseInt(/^\d+$/.test(r)?r:0)},actionUrl(){return $A.apiUrl("file/content/upload?pid="+this.pid)},headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}},shareAlready(){let r=this.shareList?this.shareList.map(({userid:p})=>p):[];return this.shareInfo.userid&&r.push(this.shareInfo.userid),r},fileList(){const{fileLists:r,searchKey:p,hideShared:s,pid:c,selectIds:I,userId:B}=this;return $A.cloneJSON(Ci.exports.sortBy(r.filter(q=>s&&q.userid!=B&&q.created_id!=B?!1:p?q.name.indexOf(p)!==-1:q.pid==c),q=>(q.type=="folder"?"a":"b")+q.name)).map(q=>(q._checked=I.includes(q.id),q))},hasShareFile(){const{fileLists:r,userId:p}=this;return r.findIndex(s=>s.share&&s.userid!=p)!==-1},shearFirst(){const{fileLists:r,shearIds:p}=this;return p.length===0?null:r.find(s=>s.id==p[0])},navigator(){let{pid:r,fileLists:p}=this,s=[];for(;r>0;){let c=p.find(({id:I,permission:B})=>I==r&&B>-1);c?(s.unshift(c),r=c.pid):r=0}return s},isPreview(){return this.windowSmall||this.fileInfo.permission===0},isParentShare(){const{navigator:r}=this;return!!r.find(({share:p})=>p)},pasteTitle(){const{pasteItem:r}=this;let p=r.find(({type:c})=>c=="image"),s=r.find(({type:c})=>c!="image");return p&&s?"\u4E0A\u4F20\u6587\u4EF6/\u56FE\u7247":p?"\u4E0A\u4F20\u56FE\u7247":"\u4E0A\u4F20\u6587\u4EF6"},pasteWrapperClass(){return this.pasteItem.find(({type:r})=>r!=="image")?["multiple"]:[]},tableHeight(){return this.windowLarge?Math.max(300,this.windowHeight-160):Math.max(300,this.windowHeight-200)}},watch:{pid(){this.searchKey="",this.selectIds=[],this.getFileList()},fid(){this.openFileJudge()},tableMode(r){$A.IDBSave("fileTableMode",r)},hideShared(r){$A.IDBSave("fileHideShared",r)},fileShow(r){r||(this.browseFile(0),this.windowSmall&&$A.onBlur(!0))},imageShow(r){r||this.browseFile(0)},navigator:{handler(){this.$nextTick(r=>{this.$refs[`nav_${this.pid}`]&&$A.scrollToView(this.$refs[`nav_${this.pid}`][0],!1)})},immediate:!0},selectIds:{handler(r){r.length>0&&(this.shearIds=[])},deep:!0},shearIds:{handler(r){r.length>0&&(this.selectIds=[])},deep:!0},wsOpenNum(r){r<=1||(this.wsOpenTimeout&&clearTimeout(this.wsOpenTimeout),this.wsOpenTimeout=setTimeout(()=>{this.$route.name=="manage-file"&&this.getFileList()},5e3))}},methods:{getFileList(){this.$route.name==="manage-file"&&(this.loadIng++,this.$store.dispatch("getFiles",this.pid).then(async()=>{this.loadIng--,this.openFileJudge(),this.shakeFile(this.$route.params.shakeId),await $A.IDBSet("fileFolderId",this.pid)}).catch(({msg:r})=>{this.loadIng--,$A.modalError({content:r,onOk:()=>{this.browseFolder(0)}})}))},addFile(r){if(r){if(r=="upload"){this.uploadDir=!1,this.$refs.fileUpload.handleClick();return}else if(r=="updir"){this.uploadDir=!0,this.$refs.dirUpload.handleClick();return}}else return;let p=$A.randomString(8);this.fileLists.push({_edit:!0,pid:this.pid,id:p,type:r,name:"",userid:this.userId,newname:this.$L("\u672A\u547D\u540D")}),this.autoBlur(p)},handleLongpress(r,p){const s=$A.getAttr(p,"data-id"),c=this.fileList.find(I=>I.id==s);!c||this.handleRightClick(r,c)},handleContextmenu(r){this.windowLarge&&this.handleRightClick(r)},handleRightClick(r,p,s){this.contextMenuItem=$A.isJson(p)?p:{},this.contextMenuVisible&&this.handleClickContextMenuOutside(),this.$nextTick(()=>{const I=this.$refs.fileWrapper.getBoundingClientRect();this.contextMenuStyles={left:`${r.clientX-I.left}px`,top:`${r.clientY-I.top}px`},s===!0&&(this.contextMenuStyles.top=`${r.target.clientHeight+r.target.offsetTop-5}px`),this.contextMenuVisible=!0})},browseFolder(r,p=null){r>0?this.goForward({name:"manage-file",params:{folderId:r,fileId:null,shakeId:p}}):(this.searchKey="",this.goForward({name:"manage-file"}))},browseFile(r){r>0?this.goForward({name:"manage-file",params:{folderId:this.pid,fileId:r}}):this.browseFolder(this.pid)},openFileJudge(){if(this.$route.name!=="manage-file"){this.fileShow=!1,this.imageShow=!1;return}if(this.fid<=0){this.fileShow=!1,this.imageShow=!1;return}const r=this.fileList.find(({id:p})=>p===this.fid);if(!r){this.fileShow=!1,this.imageShow=!1;return}if(r.image_url){const p=this.fileList.filter(({image_url:s})=>!!s);if(p.length>0){this.imageIndex=p.findIndex(({id:s})=>r.id===s),this.imageList=p.map(s=>s.image_width?{src:s.image_url,width:s.image_width,height:s.image_height}:s.image_url),this.imageShow=!0;return}}if(this.$Electron||this.$isEEUiApp){this.openFileSingle(r);return}this.fileInfo=r,this.fileShow=!0},openFileSingle(r){const p=`/single/file/${r.id}`;this.$Electron?this.$Electron.sendMessage("windowRouter",{name:`file-${r.id}`,path:p,userAgent:"/hideenOfficeTitle/",force:!1,config:{title:$A.getFileName(r),titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)},webPreferences:{nodeIntegrationInSubFrames:r.type==="drawio"}}):this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:$A.getFileName(r),url:"web.js",params:{titleFixed:!0,allowAccess:!0,url:$A.rightDelete(window.location.href,window.location.hash)+`#${p}`}}):window.open($A.apiUrl(`..${p}`)),this.browseFile(0)},clickRow(r,p){p.type=="selection"?this.dropFile(r,"select"):this.dropFile(r,"open")},handleContextMenu(r,p){this.handleRightClick(p,this.fileLists.find(({id:s})=>s===r.id)||{})},handleContextClick(r){$A.leftExists(r,"new:")?this.addFile($A.leftDelete(r,"new:")):this.dropFile(this.contextMenuItem,r)},handleClickContextMenuOutside(){this.contextMenuVisible=!1},handleVisibleChangeMenu(r){let p=this.fileLists.find(({_highlight:s})=>!!s);p&&this.$set(p,"_highlight",!1),r&&this.contextMenuItem.id&&this.$set(this.contextMenuItem,"_highlight",!0)},dropFile(r,p){switch(p){case"open":case"openCheckMenu":if(p==="openCheckMenu"&&this.contextMenuVisible||this.fileList.findIndex(c=>c._edit===!0)>-1||r._load)return;r.type=="folder"?this.browseFolder(r.id):this.browseFile(r.id);break;case"upperFolder":this.searchKey="",this.browseFolder(r.pid,r.id);break;case"select":let s=this.selectIds.findIndex(c=>c==r.id);s>-1?this.selectIds.splice(s,1):this.selectIds.push(r.id);break;case"rename":this.setEdit(r.id,!0),this.autoBlur(r.id);break;case"copy":this.$store.dispatch("call",{url:"file/copy",data:{id:r.id}}).then(({data:c,msg:I})=>{$A.messageSuccess(I),this.$store.dispatch("saveFile",c)}).catch(({msg:c})=>{$A.modalError(c)});break;case"shear":this.shearIds=[r.id];break;case"shearSelect":this.shearIds=$A.cloneJSON(this.selectIds);break;case"send":this.sendData={dialogids:[],userids:[],file_id:r.id},this.sendShow=!0;break;case"share":this.shareInfo={id:r.id,userid:r.userid,permission:1},this.shareList=[],this.shareShow=!0,this.getShare();break;case"outshare":$A.modalConfirm({content:"\u4F60\u786E\u5B9A\u8981\u9000\u51FA\u3010"+r.name+"\u3011\u5171\u4EAB\u6210\u5458\u5417\uFF1F",loading:!0,onOk:()=>new Promise((c,I)=>{this.$store.dispatch("call",{url:"file/share/out",data:{id:r.id}}).then(({msg:B})=>{c(B),this.$store.dispatch("forgetFile",r.id)}).catch(({msg:B})=>{I(B)})})});break;case"link":this.linkData={id:r.id,name:r.name},this.linkShow=!0,this.linkGet();break;case"download":if(!r.ext)return;$A.modalConfirm({title:"\u4E0B\u8F7D\u6587\u4EF6",content:`${r.name}.${r.ext} (${$A.bytesToSize(r.size)})`,okText:"\u7ACB\u5373\u4E0B\u8F7D",onOk:()=>{this.$store.dispatch("downUrl",$A.apiUrl(`file/content?id=${r.id}&down=yes`))}});break;case"delete":this.deleteFile([r.id]);break}},onSendFile(){if($A.arrayLength(this.sendData.dialogids)===0&&$A.arrayLength(this.sendData.userids)===0){$A.messageWarning("\u8BF7\u9009\u62E9\u8F6C\u53D1\u5BF9\u8BDD\u6216\u6210\u5458");return}this.sendLoad=!0,this.$store.dispatch("call",{url:"dialog/msg/sendfileid",data:this.sendData}).then(({data:r,msg:p})=>{this.sendShow=!1,this.$store.dispatch("saveDialogMsg",r.msgs),this.$store.dispatch("updateDialogLastMsg",r.msgs),$A.messageSuccess(p)}).catch(({msg:r})=>{$A.modalError(r)}).finally(r=>{this.sendLoad=!1})},linkGet(r){this.linkLoad++,this.$store.dispatch("call",{url:"file/link",data:{id:this.linkData.id,refresh:r===!0?"yes":"no"}}).then(({data:p})=>{this.linkData=Object.assign(p,{id:this.linkData.id,name:this.linkData.name}),this.linkFocus()}).catch(({msg:p})=>{this.linkShow=!1,$A.modalError(p)}).finally(p=>{this.linkLoad--})},linkCopy(){!this.linkData.url||(this.linkFocus(),this.$copyText(this.linkData.url).then(r=>{$A.messageSuccess("\u590D\u5236\u6210\u529F")}).catch(r=>{$A.messageError("\u590D\u5236\u5931\u8D25")}))},linkFocus(){this.$nextTick(r=>{this.$refs.linkInput.focus({cursor:"all"})})},shearTo(){if(this.shearIds.length!=0){if(this.isParentShare){const r=this.fileLists.find(({id:p,share:s})=>s&&this.shearIds.includes(p));if(r){$A.modalError(`${r.name} \u5F53\u524D\u6B63\u5728\u5171\u4EAB\uFF0C\u65E0\u6CD5\u79FB\u52A8\u5230\u53E6\u4E00\u4E2A\u5171\u4EAB\u6587\u4EF6\u5939\u5185`);return}}this.$store.dispatch("call",{url:"file/move",data:{ids:this.shearIds,pid:this.pid}}).then(({data:r,msg:p})=>{$A.messageSuccess(p),this.shearIds=[],this.$store.dispatch("saveFile",r)}).catch(({msg:r})=>{$A.modalError(r)})}},deleteFile(r){if(r.length===0)return;const p=this.fileLists.find(B=>B.id==r[0])||{};let c=!r.find(B=>this.fileLists.find(G=>G.type!="folder"&&G.id==B))?"\u6587\u4EF6\u5939":"\u6587\u4EF6",I=`\u3010${p.name}\u3011\u7B49${r.length}\u4E2A${c}`;r.length===1&&(I=`\u3010${p.name}\u3011${c}`),$A.modalConfirm({title:"\u5220\u9664"+c,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664"+I+"\u5417\uFF1F",loading:!0,onOk:()=>new Promise((B,G)=>{this.$store.dispatch("call",{url:"file/remove",data:{ids:r}}).then(({msg:q})=>{B(q),this.$store.dispatch("forgetFile",r),this.selectIds=this.selectIds.filter(Ee=>!r.includes(Ee))}).catch(({msg:q})=>{G(q)})})})},autoBlur(r){this.$nextTick(()=>{if(this.$refs["input_"+r])this.$refs["input_"+r][0].focus({cursor:"all"});else if(document.getElementById("input_"+r)){const p=document.getElementById("input_"+r),s=p.value.length;p.focus(),p.setSelectionRange(0,s)}})},onParser(r){return r.replace(/[\\\/:*?\"<>|]/g,"")},onBlur(r){this.fileLists.find(({id:p,_edit:s})=>p==r.id&&!s)||this.onEnter(r)},onKeyup(r,p){r.keyCode===13?this.onEnter(p):r.keyCode===27&&(!/^\d+$/.test(p.id)?(p.newname="",this.$store.dispatch("forgetFile",p.id)):(this.setLoad(p.id,!1),this.setEdit(p.id,!1)))},onEnter(r){const p=!/^\d+$/.test(r.id);if(!r.newname){p?this.$store.dispatch("forgetFile",r.id):this.setEdit(r.id,!1);return}if(r.newname==r.name){this.setEdit(r.id,!1);return}r._load||(this.setLoad(r.id,!0),this.$store.dispatch("call",{url:"file/add",data:{id:p?0:r.id,pid:r.pid,name:r.newname,type:r.type},spinner:2e3}).then(({data:s,msg:c})=>{$A.messageSuccess(c),this.setLoad(r.id,!1),this.setEdit(r.id,!1),this.$store.dispatch("saveFile",s),p&&(this.$store.dispatch("forgetFile",r.id),this.shakeFile(s.id))}).catch(({msg:s})=>{$A.modalError(s),this.setLoad(r.id,!1),p&&this.$store.dispatch("forgetFile",r.id)}))},setEdit(r,p){const s=this.$store.state.fileLists.find(({id:c})=>c==r);s&&(this.$set(s,"_edit",p),p&&this.$set(s,"newname",s.name))},setLoad(r,p){const s=this.$store.state.fileLists.find(({id:c})=>c==r);s&&this.$set(s,"_load",p)},onSearchFocus(){this.$nextTick(()=>{this.$refs.searchInput.focus({cursor:"end"})})},onSearchChange(){this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchKey.trim()!=""&&(this.searchTimeout=setTimeout(()=>{this.loadIng++,this.$store.dispatch("searchFiles",this.searchKey.trim()).then(()=>{this.loadIng--}).catch(()=>{this.loadIng--})},600))},getShare(){this.shareLoad++,this.$store.dispatch("call",{url:"file/share",data:{id:this.shareInfo.id}}).then(({data:r})=>{r.id==this.shareInfo.id&&(this.shareList=r.list.map(p=>(p._permission=p.permission,p)))}).catch(({msg:r})=>{this.shareShow=!1,$A.modalError(r)}).finally(r=>{this.shareLoad--})},onShare(r=!1){if(this.shareInfo.userids.length==0){$A.messageWarning("\u8BF7\u9009\u62E9\u5171\u4EAB\u6210\u5458");return}this.shareLoad++,this.$store.dispatch("call",{url:"file/share/update",data:Object.assign(this.shareInfo,{force:r===!0?1:0})}).then(({data:p,msg:s})=>{$A.messageSuccess(s),this.$store.dispatch("saveFile",p),this.$set(this.shareInfo,"userids",[]),this.getShare()}).catch(({ret:p,msg:s})=>{p===-3001?$A.modalConfirm({content:"\u6B64\u6587\u4EF6\u5939\u5185\u5DF2\u6709\u5171\u4EAB\u6587\u4EF6\u5939\uFF0C\u5B50\u6587\u4EF6\u7684\u5171\u4EAB\u72B6\u6001\u5C06\u88AB\u53D6\u6D88\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",onOk:()=>{this.onShare(!0)}}):$A.modalError(s)}).finally(p=>{this.shareLoad--})},upShare(r,p=!1){r.loading!==!0&&(r.loading=!0,this.$store.dispatch("call",{url:"file/share/update",data:{id:this.shareInfo.id,userids:[r.userid],permission:r.permission,force:p===!0?1:0}}).then(({data:s,msg:c})=>{if(r.loading=!1,r._permission=r.permission,$A.messageSuccess(c),this.$store.dispatch("saveFile",s),r.permission===-1){let I=this.shareList.findIndex(({userid:B})=>B==r.userid);I>-1&&this.shareList.splice(I,1)}}).catch(({ret:s,msg:c})=>{r.loading=!1,s===-3001?$A.modalConfirm({content:"\u6B64\u6587\u4EF6\u5939\u5185\u5DF2\u6709\u5171\u4EAB\u6587\u4EF6\u5939\uFF0C\u5B50\u6587\u4EF6\u7684\u5171\u4EAB\u72B6\u6001\u5C06\u88AB\u53D6\u6D88\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",onOk:()=>{this.upShare(r,!0)},onCancel:()=>{r.permission=r._permission}}):(r.permission=r._permission,$A.modalError(c))}))},uploadName(r){return $A.getObject(r,"response.data.full_name")||r.name},handleTableSort({key:r,order:p}){$A.IDBSave("cacheFileSort",["asc","desc"].includes(p)?{key:r,order:p}:{})},handleTableSelect(r){this.selectIds=r.map(p=>p.id)},clearSelect(){this.selectIds=[]},clearShear(){this.shearIds=[]},shakeFile(r){!r||this.$nextTick(p=>{const s=$A(this.$el).find(`[data-id="${r}"]`);s.length>0&&($A.scrollIntoViewIfNeeded(s[0]),$A(s[0]).addClass("common-shake"),setTimeout(c=>$A(s[0]).removeClass("common-shake"),800))})},pasteDragNext(r,p){let s=p==="drag"?r.dataTransfer.files:r.clipboardData.files;s=Array.prototype.slice.call(s),s.length>0&&(r.preventDefault(),this.pasteFile=[],this.pasteItem=[],s.some(c=>{const I={type:$A.getMiddle(c.type,null,"/"),name:c.name,size:c.size,result:null};if(I.type==="image"){const B=new FileReader;B.readAsDataURL(c),B.onload=({target:G})=>{I.result=G.result,this.pasteFile.push(c),this.pasteItem.push(I),this.pasteShow=!0}}else this.pasteFile.push(c),this.pasteItem.push(I),this.pasteShow=!0}))},filePasteDrag(r,p){this.dialogDrag=!1,this.pasteDragNext(r,p)},fileDragOver(r,p){let s=this.__dialogDrag=$A.randomString(8);if(!r)setTimeout(()=>{s===this.__dialogDrag&&(this.dialogDrag=r)},150);else{if(p.dataTransfer.effectAllowed==="move")return;this.dialogDrag=!0}},pasteSend(){const r=[];this.pasteFile.some(p=>{r.find(s=>s===p.name)||(r.push(p.name),this.$refs.fileUpload.upload(p))})},fileBeforeClose(){return new Promise(r=>{if(!this.$refs.fileContent){r();return}if(this.$refs.fileContent.equalContent){r();return}$A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u786E\u5B9A\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{r()}})})},uploadUpdate(r){r.forEach(p=>{let s=this.uploadList.findIndex(({uid:c})=>c==p.uid);s>-1?this.uploadList.splice(s,1,p):this.uploadList.unshift(p)})},uploadClear(){this.uploadList=this.uploadList.filter(({status:r})=>r!=="finished"),this.$refs.fileUpload.clearFiles(),this.$refs.dirUpload.clearFiles()},uploadPercentageParse(r){return parseInt(r,10)},handleProgress(r,p,s){p._uploadIng===void 0&&(p._uploadIng=!0,this.uploadIng++),this.uploadUpdate(s)},handleSuccess(r,p,s){this.uploadIng--,this.uploadUpdate(s),r.ret===1?this.$store.dispatch("saveFile",r.data):$A.modalWarning({title:"\u4E0A\u4F20\u5931\u8D25",content:"\u6587\u4EF6 "+p.name+" \u4E0A\u4F20\u5931\u8D25\uFF0C"+r.msg})},handleError(r,p,s){this.uploadIng--,this.uploadUpdate(s)},handleFormatError(r){this.uploadDir||$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+r.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(r){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+r.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleBeforeUpload(){return this.uploadShow=!0,!0}}},uu={};var mg=lg(vg,dg,pg,!1,wg,null,null,null);function wg(r){for(let p in uu)this[p]=uu[p]}var Sg=function(){return mg.exports}();export{Sg as default}; diff --git a/public/js/build/file.04750cb8.js b/public/js/build/file.e9bf4a7a.js similarity index 88% rename from public/js/build/file.04750cb8.js rename to public/js/build/file.e9bf4a7a.js index 20fb44d34..773263191 100644 --- a/public/js/build/file.04750cb8.js +++ b/public/js/build/file.e9bf4a7a.js @@ -1 +1 @@ -import n from"./FileContent.9f2379fd.js";import l from"./FilePreview.23f7e260.js";import{n as s}from"./app.bd09c684.js";import"./IFrame.dee76434.js";var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"single-file"},[t("PageTitle",{attrs:{title:e.pageName}}),e.loadIng>0?t("Loading"):e.fileInfo?[e.isPreview?t("FilePreview",{attrs:{code:e.code,file:e.fileInfo,historyId:e.historyId,headerShow:!e.$isEEUiApp}}):t("FileContent",{attrs:{file:e.fileInfo},model:{value:e.fileShow,callback:function(r){e.fileShow=r},expression:"fileShow"}})]:e._e()],2)},f=[];const u={components:{FilePreview:l,FileContent:n},data(){return{loadIng:0,code:null,fileShow:!0,fileInfo:null}},mounted(){},computed:{historyId(){return this.$route.query?$A.runNum(this.$route.query.history_id):0},isPreview(){return this.windowSmall||this.code||this.historyId>0||this.fileInfo&&this.fileInfo.permission===0},pageName(){let e=this.fileInfo?this.fileInfo.name:"";return this.$route.query&&this.$route.query.history_at&&(e+=` [${this.$route.query.history_at}]`),e}},watch:{$route:{handler(){this.getInfo()},immediate:!0}},methods:{getInfo(){let{codeOrFileId:e}=this.$route.params,i={id:e};if(/^\d+$/.test(e))this.code=null;else if(e)this.code=e;else return;setTimeout(t=>{this.loadIng++},600),this.$store.dispatch("call",{url:"file/one",data:i}).then(({data:t})=>{this.fileInfo=t}).catch(({msg:t})=>{$A.modalError({content:t,onOk:()=>{window.close()}})}).finally(t=>{this.loadIng--})}}},o={};var h=s(u,a,f,!1,d,"fab0e29c",null,null);function d(e){for(let i in o)this[i]=o[i]}var I=function(){return h.exports}();export{I as default}; +import n from"./FileContent.f5b4eda8.js";import l from"./FilePreview.393d5c5f.js";import{n as s}from"./app.139edc4e.js";import"./IFrame.fe0c152e.js";var a=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"single-file"},[t("PageTitle",{attrs:{title:e.pageName}}),e.loadIng>0?t("Loading"):e.fileInfo?[e.isPreview?t("FilePreview",{attrs:{code:e.code,file:e.fileInfo,historyId:e.historyId,headerShow:!e.$isEEUiApp}}):t("FileContent",{attrs:{file:e.fileInfo},model:{value:e.fileShow,callback:function(r){e.fileShow=r},expression:"fileShow"}})]:e._e()],2)},f=[];const u={components:{FilePreview:l,FileContent:n},data(){return{loadIng:0,code:null,fileShow:!0,fileInfo:null}},mounted(){},computed:{historyId(){return this.$route.query?$A.runNum(this.$route.query.history_id):0},isPreview(){return this.windowSmall||this.code||this.historyId>0||this.fileInfo&&this.fileInfo.permission===0},pageName(){let e=this.fileInfo?this.fileInfo.name:"";return this.$route.query&&this.$route.query.history_at&&(e+=` [${this.$route.query.history_at}]`),e}},watch:{$route:{handler(){this.getInfo()},immediate:!0}},methods:{getInfo(){let{codeOrFileId:e}=this.$route.params,i={id:e};if(/^\d+$/.test(e))this.code=null;else if(e)this.code=e;else return;setTimeout(t=>{this.loadIng++},600),this.$store.dispatch("call",{url:"file/one",data:i}).then(({data:t})=>{this.fileInfo=t}).catch(({msg:t})=>{$A.modalError({content:t,onOk:()=>{window.close()}})}).finally(t=>{this.loadIng--})}}},o={};var h=s(u,a,f,!1,d,"fab0e29c",null,null);function d(e){for(let i in o)this[i]=o[i]}var I=function(){return h.exports}();export{I as default}; diff --git a/public/js/build/fileMsg.57896aee.js b/public/js/build/fileMsg.bdeeabcf.js similarity index 70% rename from public/js/build/fileMsg.57896aee.js rename to public/js/build/fileMsg.bdeeabcf.js index 555c86746..bca289067 100644 --- a/public/js/build/fileMsg.57896aee.js +++ b/public/js/build/fileMsg.bdeeabcf.js @@ -1 +1 @@ -import{m as a,n as r,_ as s}from"./app.bd09c684.js";import{I as l}from"./IFrame.dee76434.js";var c=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"single-file-msg"},[e("PageTitle",{attrs:{title:t.title}}),t.loadIng>0?e("Loading"):t.isWait?t._e():[t.isType("md")?e("MDPreview",{attrs:{initialValue:t.msgDetail.content.content}}):t.isType("text")?e("TEditor",{attrs:{value:t.msgDetail.content.content,height:"100%",readOnly:""}}):t.isType("drawio")?e("Drawio",{attrs:{title:t.msgDetail.msg.name,readOnly:""},model:{value:t.msgDetail.content,callback:function(n){t.$set(t.msgDetail,"content",n)},expression:"msgDetail.content"}}):t.isType("mind")?e("Minder",{attrs:{value:t.msgDetail.content,readOnly:""}}):t.isType("code")?[t.isLongText(t.msgDetail.msg.name)?e("div",{staticClass:"view-code",domProps:{innerHTML:t._s(t.$A.formatTextMsg(t.msgDetail.content.content,t.userId))}}):e("AceEditor",{staticClass:"view-editor",attrs:{ext:t.msgDetail.msg.ext,readOnly:""},model:{value:t.msgDetail.content.content,callback:function(n){t.$set(t.msgDetail.content,"content",n)},expression:"msgDetail.content.content"}})]:t.isType("office")?e("OnlyOffice",{attrs:{code:t.officeCode,documentKey:t.documentKey,readOnly:""},model:{value:t.officeContent,callback:function(n){t.officeContent=n},expression:"officeContent"}}):t.isType("preview")?e("IFrame",{staticClass:"preview-iframe",attrs:{src:t.previewUrl}}):e("div",{staticClass:"no-support"},[t._v(t._s(t.$L("\u4E0D\u652F\u6301\u5355\u72EC\u67E5\u770B\u6B64\u6D88\u606F")))])]],2)},m=[];const d=()=>s(()=>import("./preview.d4c536ab.js"),["js/build/preview.d4c536ab.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),_=()=>s(()=>import("./TEditor.4460561b.js"),["js/build/TEditor.4460561b.js","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/ImgUpload.6e9513da.js"]),u=()=>s(()=>import("./AceEditor.a2d80e8c.js"),["js/build/AceEditor.a2d80e8c.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),g=()=>s(()=>import("./OnlyOffice.2b2000e0.js"),["js/build/OnlyOffice.2b2000e0.js","js/build/OnlyOffice.d36f3069.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),f=()=>s(()=>import("./Drawio.3f845169.js"),["js/build/Drawio.3f845169.js","js/build/Drawio.fc5c6326.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),p=()=>s(()=>import("./Minder.60b25458.js"),["js/build/Minder.60b25458.js","js/build/Minder.f2273bdb.css","js/build/IFrame.dee76434.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),v={components:{IFrame:l,AceEditor:u,TEditor:_,MDPreview:d,OnlyOffice:g,Drawio:f,Minder:p},data(){return{loadIng:0,isWait:!1,msgDetail:{}}},mounted(){},watch:{$route:{handler(){this.getInfo()},immediate:!0}},computed:{...a(["userId"]),msgId(){const{msgId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)},title(){const{msg:t}=this.msgDetail;return t&&t.name?t.name:"Loading..."},isType(){const{msgDetail:t}=this;return function(i){return t.type=="file"&&t.file_mode==i}},officeContent(){return{id:this.msgDetail.id||0,type:this.msgDetail.msg.ext,name:this.title}},officeCode(){return"msgFile_"+this.msgDetail.id},previewUrl(){const{name:t,key:i}=this.msgDetail.content;return $A.apiUrl(`../online/preview/${t}?key=${i}`)}},methods:{getInfo(){this.msgId<=0||(setTimeout(t=>{this.loadIng++},600),this.isWait=!0,this.$store.dispatch("call",{url:"dialog/msg/detail",data:{msg_id:this.msgId}}).then(({data:t})=>{this.msgDetail=t}).catch(({msg:t})=>{$A.modalError({content:t,onOk:()=>{this.$Electron&&window.close()}})}).finally(t=>{this.loadIng--,this.isWait=!1}))},documentKey(){return new Promise(t=>{this.$store.dispatch("call",{url:"dialog/msg/detail",data:{msg_id:this.msgId,only_update_at:"yes"}}).then(({data:i})=>{t(`${i.id}-${$A.Time(i.update_at)}`)}).catch(()=>{t(0)})})},isLongText(t){return/^LongText-/.test(t)}}},o={};var h=r(v,c,m,!1,D,null,null,null);function D(t){for(let i in o)this[i]=o[i]}var I=function(){return h.exports}();export{I as default}; +import{m as a,n as r,_ as s}from"./app.139edc4e.js";import{I as l}from"./IFrame.fe0c152e.js";var c=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"single-file-msg"},[e("PageTitle",{attrs:{title:t.title}}),t.loadIng>0?e("Loading"):t.isWait?t._e():[t.isType("md")?e("MDPreview",{attrs:{initialValue:t.msgDetail.content.content}}):t.isType("text")?e("TEditor",{attrs:{value:t.msgDetail.content.content,height:"100%",readOnly:""}}):t.isType("drawio")?e("Drawio",{attrs:{title:t.msgDetail.msg.name,readOnly:""},model:{value:t.msgDetail.content,callback:function(n){t.$set(t.msgDetail,"content",n)},expression:"msgDetail.content"}}):t.isType("mind")?e("Minder",{attrs:{value:t.msgDetail.content,readOnly:""}}):t.isType("code")?[t.isLongText(t.msgDetail.msg.name)?e("div",{staticClass:"view-code",domProps:{innerHTML:t._s(t.$A.formatTextMsg(t.msgDetail.content.content,t.userId))}}):e("AceEditor",{staticClass:"view-editor",attrs:{ext:t.msgDetail.msg.ext,readOnly:""},model:{value:t.msgDetail.content.content,callback:function(n){t.$set(t.msgDetail.content,"content",n)},expression:"msgDetail.content.content"}})]:t.isType("office")?e("OnlyOffice",{attrs:{code:t.officeCode,documentKey:t.documentKey,readOnly:""},model:{value:t.officeContent,callback:function(n){t.officeContent=n},expression:"officeContent"}}):t.isType("preview")?e("IFrame",{staticClass:"preview-iframe",attrs:{src:t.previewUrl}}):e("div",{staticClass:"no-support"},[t._v(t._s(t.$L("\u4E0D\u652F\u6301\u5355\u72EC\u67E5\u770B\u6B64\u6D88\u606F")))])]],2)},m=[];const d=()=>s(()=>import("./preview.b5a0d740.js"),["js/build/preview.b5a0d740.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),_=()=>s(()=>import("./TEditor.28d6de3c.js"),["js/build/TEditor.28d6de3c.js","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/ImgUpload.8dae08e9.js"]),u=()=>s(()=>import("./AceEditor.0c7bc196.js"),["js/build/AceEditor.0c7bc196.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),g=()=>s(()=>import("./OnlyOffice.162b8727.js"),["js/build/OnlyOffice.162b8727.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),f=()=>s(()=>import("./Drawio.c3becab8.js"),["js/build/Drawio.c3becab8.js","js/build/Drawio.fc5c6326.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),p=()=>s(()=>import("./Minder.056301a4.js"),["js/build/Minder.056301a4.js","js/build/Minder.f2273bdb.css","js/build/IFrame.fe0c152e.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),v={components:{IFrame:l,AceEditor:u,TEditor:_,MDPreview:d,OnlyOffice:g,Drawio:f,Minder:p},data(){return{loadIng:0,isWait:!1,msgDetail:{}}},mounted(){},watch:{$route:{handler(){this.getInfo()},immediate:!0}},computed:{...a(["userId"]),msgId(){const{msgId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)},title(){const{msg:t}=this.msgDetail;return t&&t.name?t.name:"Loading..."},isType(){const{msgDetail:t}=this;return function(i){return t.type=="file"&&t.file_mode==i}},officeContent(){return{id:this.msgDetail.id||0,type:this.msgDetail.msg.ext,name:this.title}},officeCode(){return"msgFile_"+this.msgDetail.id},previewUrl(){const{name:t,key:i}=this.msgDetail.content;return $A.apiUrl(`../online/preview/${t}?key=${i}`)}},methods:{getInfo(){this.msgId<=0||(setTimeout(t=>{this.loadIng++},600),this.isWait=!0,this.$store.dispatch("call",{url:"dialog/msg/detail",data:{msg_id:this.msgId}}).then(({data:t})=>{this.msgDetail=t}).catch(({msg:t})=>{$A.modalError({content:t,onOk:()=>{this.$Electron&&window.close()}})}).finally(t=>{this.loadIng--,this.isWait=!1}))},documentKey(){return new Promise(t=>{this.$store.dispatch("call",{url:"dialog/msg/detail",data:{msg_id:this.msgId,only_update_at:"yes"}}).then(({data:i})=>{t(`${i.id}-${$A.Time(i.update_at)}`)}).catch(()=>{t(0)})})},isLongText(t){return/^LongText-/.test(t)}}},o={};var h=r(v,c,m,!1,D,null,null,null);function D(t){for(let i in o)this[i]=o[i]}var I=function(){return h.exports}();export{I as default}; diff --git a/public/js/build/fileTask.7159d584.js b/public/js/build/fileTask.8806fdea.js similarity index 69% rename from public/js/build/fileTask.7159d584.js rename to public/js/build/fileTask.8806fdea.js index c705891f2..976aa4186 100644 --- a/public/js/build/fileTask.7159d584.js +++ b/public/js/build/fileTask.8806fdea.js @@ -1 +1 @@ -import{n as o,_ as n}from"./app.bd09c684.js";import{I as r}from"./IFrame.dee76434.js";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"single-file-task"},[i("PageTitle",{attrs:{title:e.title}}),e.loadIng>0?i("Loading"):e.isWait?e._e():[e.isType("md")?i("MDPreview",{attrs:{initialValue:e.fileDetail.content.content}}):e.isType("text")?i("TEditor",{attrs:{value:e.fileDetail.content.content,height:"100%",readOnly:""}}):e.isType("drawio")?i("Drawio",{attrs:{title:e.fileDetail.name,readOnly:""},model:{value:e.fileDetail.content,callback:function(l){e.$set(e.fileDetail,"content",l)},expression:"fileDetail.content"}}):e.isType("mind")?i("Minder",{attrs:{value:e.fileDetail.content,readOnly:""}}):e.isType("code")?i("AceEditor",{staticClass:"view-editor",attrs:{ext:e.fileDetail.ext,readOnly:""},model:{value:e.fileDetail.content.content,callback:function(l){e.$set(e.fileDetail.content,"content",l)},expression:"fileDetail.content.content"}}):e.isType("office")?i("OnlyOffice",{attrs:{code:e.officeCode,documentKey:e.documentKey,readOnly:""},model:{value:e.officeContent,callback:function(l){e.officeContent=l},expression:"officeContent"}}):e.isType("preview")?i("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl}}):i("div",{staticClass:"no-support"},[e._v(e._s(e.$L("\u4E0D\u652F\u6301\u5355\u72EC\u67E5\u770B\u6B64\u6D88\u606F")))])]],2)},c=[];const d=()=>n(()=>import("./preview.d4c536ab.js"),["js/build/preview.d4c536ab.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),f=()=>n(()=>import("./TEditor.4460561b.js"),["js/build/TEditor.4460561b.js","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/ImgUpload.6e9513da.js"]),_=()=>n(()=>import("./AceEditor.a2d80e8c.js"),["js/build/AceEditor.a2d80e8c.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),u=()=>n(()=>import("./OnlyOffice.2b2000e0.js"),["js/build/OnlyOffice.2b2000e0.js","js/build/OnlyOffice.d36f3069.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),p=()=>n(()=>import("./Drawio.3f845169.js"),["js/build/Drawio.3f845169.js","js/build/Drawio.fc5c6326.css","js/build/app.bd09c684.js","js/build/app.4b871516.css","js/build/IFrame.dee76434.js"]),m=()=>n(()=>import("./Minder.60b25458.js"),["js/build/Minder.60b25458.js","js/build/Minder.f2273bdb.css","js/build/IFrame.dee76434.js","js/build/app.bd09c684.js","js/build/app.4b871516.css"]),v={components:{IFrame:r,AceEditor:_,TEditor:f,MDPreview:d,OnlyOffice:u,Drawio:p,Minder:m},data(){return{loadIng:0,isWait:!1,fileDetail:{}}},mounted(){},watch:{$route:{handler(){this.getInfo()},immediate:!0}},computed:{fileId(){const{fileId:e}=this.$route.params;return parseInt(/^\d+$/.test(e)?e:0)},title(){const{name:e}=this.fileDetail;return e||"Loading..."},isType(){const{fileDetail:e}=this;return function(t){return e.file_mode==t}},officeContent(){return{id:this.fileDetail.id||0,type:this.fileDetail.ext,name:this.title}},officeCode(){return"taskFile_"+this.fileDetail.id},previewUrl(){const{name:e,key:t}=this.fileDetail.content;return $A.apiUrl(`../online/preview/${e}?key=${t}`)}},methods:{getInfo(){this.fileId<=0||(setTimeout(e=>{this.loadIng++},600),this.isWait=!0,this.$store.dispatch("call",{url:"project/task/filedetail",data:{file_id:this.fileId}}).then(({data:e})=>{this.fileDetail=e}).catch(({msg:e})=>{$A.modalError({content:e,onOk:()=>{this.$Electron&&window.close()}})}).finally(e=>{this.loadIng--,this.isWait=!1}))},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"project/task/filedetail",data:{file_id:this.fileId,only_update_at:"yes"}}).then(({data:t})=>{e(`${t.id}-${$A.Time(t.update_at)}`)}).catch(()=>{e(0)})})}}},a={};var h=o(v,s,c,!1,D,null,null,null);function D(e){for(let t in a)this[t]=a[t]}var T=function(){return h.exports}();export{T as default}; +import{n as o,_ as n}from"./app.139edc4e.js";import{I as r}from"./IFrame.fe0c152e.js";var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"single-file-task"},[i("PageTitle",{attrs:{title:e.title}}),e.loadIng>0?i("Loading"):e.isWait?e._e():[e.isType("md")?i("MDPreview",{attrs:{initialValue:e.fileDetail.content.content}}):e.isType("text")?i("TEditor",{attrs:{value:e.fileDetail.content.content,height:"100%",readOnly:""}}):e.isType("drawio")?i("Drawio",{attrs:{title:e.fileDetail.name,readOnly:""},model:{value:e.fileDetail.content,callback:function(l){e.$set(e.fileDetail,"content",l)},expression:"fileDetail.content"}}):e.isType("mind")?i("Minder",{attrs:{value:e.fileDetail.content,readOnly:""}}):e.isType("code")?i("AceEditor",{staticClass:"view-editor",attrs:{ext:e.fileDetail.ext,readOnly:""},model:{value:e.fileDetail.content.content,callback:function(l){e.$set(e.fileDetail.content,"content",l)},expression:"fileDetail.content.content"}}):e.isType("office")?i("OnlyOffice",{attrs:{code:e.officeCode,documentKey:e.documentKey,readOnly:""},model:{value:e.officeContent,callback:function(l){e.officeContent=l},expression:"officeContent"}}):e.isType("preview")?i("IFrame",{staticClass:"preview-iframe",attrs:{src:e.previewUrl}}):i("div",{staticClass:"no-support"},[e._v(e._s(e.$L("\u4E0D\u652F\u6301\u5355\u72EC\u67E5\u770B\u6B64\u6D88\u606F")))])]],2)},c=[];const d=()=>n(()=>import("./preview.b5a0d740.js"),["js/build/preview.b5a0d740.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),f=()=>n(()=>import("./TEditor.28d6de3c.js"),["js/build/TEditor.28d6de3c.js","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/ImgUpload.8dae08e9.js"]),_=()=>n(()=>import("./AceEditor.0c7bc196.js"),["js/build/AceEditor.0c7bc196.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),u=()=>n(()=>import("./OnlyOffice.162b8727.js"),["js/build/OnlyOffice.162b8727.js","js/build/OnlyOffice.a5dfbde1.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),p=()=>n(()=>import("./Drawio.c3becab8.js"),["js/build/Drawio.c3becab8.js","js/build/Drawio.fc5c6326.css","js/build/app.139edc4e.js","js/build/app.f866d722.css","js/build/IFrame.fe0c152e.js"]),m=()=>n(()=>import("./Minder.056301a4.js"),["js/build/Minder.056301a4.js","js/build/Minder.f2273bdb.css","js/build/IFrame.fe0c152e.js","js/build/app.139edc4e.js","js/build/app.f866d722.css"]),v={components:{IFrame:r,AceEditor:_,TEditor:f,MDPreview:d,OnlyOffice:u,Drawio:p,Minder:m},data(){return{loadIng:0,isWait:!1,fileDetail:{}}},mounted(){},watch:{$route:{handler(){this.getInfo()},immediate:!0}},computed:{fileId(){const{fileId:e}=this.$route.params;return parseInt(/^\d+$/.test(e)?e:0)},title(){const{name:e}=this.fileDetail;return e||"Loading..."},isType(){const{fileDetail:e}=this;return function(t){return e.file_mode==t}},officeContent(){return{id:this.fileDetail.id||0,type:this.fileDetail.ext,name:this.title}},officeCode(){return"taskFile_"+this.fileDetail.id},previewUrl(){const{name:e,key:t}=this.fileDetail.content;return $A.apiUrl(`../online/preview/${e}?key=${t}`)}},methods:{getInfo(){this.fileId<=0||(setTimeout(e=>{this.loadIng++},600),this.isWait=!0,this.$store.dispatch("call",{url:"project/task/filedetail",data:{file_id:this.fileId}}).then(({data:e})=>{this.fileDetail=e}).catch(({msg:e})=>{$A.modalError({content:e,onOk:()=>{this.$Electron&&window.close()}})}).finally(e=>{this.loadIng--,this.isWait=!1}))},documentKey(){return new Promise(e=>{this.$store.dispatch("call",{url:"project/task/filedetail",data:{file_id:this.fileId,only_update_at:"yes"}}).then(({data:t})=>{e(`${t.id}-${$A.Time(t.update_at)}`)}).catch(()=>{e(0)})})}}},a={};var h=o(v,s,c,!1,D,null,null,null);function D(e){for(let t in a)this[t]=a[t]}var T=function(){return h.exports}();export{T as default}; diff --git a/public/js/build/index.03d13184.css b/public/js/build/index.00d00dd2.css similarity index 99% rename from public/js/build/index.03d13184.css rename to public/js/build/index.00d00dd2.css index 5b7e37bd3..26cfaf239 100644 --- a/public/js/build/index.03d13184.css +++ b/public/js/build/index.00d00dd2.css @@ -1 +1 @@ -@charset "UTF-8";.CodeMirror{height:100%;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px 0 8px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 5px!important;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.CodeMirror{position:relative;overflow:hidden;background:white}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.cm-s-default.CodeMirror,.cm-s-default .CodeMirror-gutters{background-color:#282a36!important;color:#f8f8f2!important;border:none;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}.cm-s-default *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important;color:#ccc}.cm-s-default .CodeMirror-gutters{color:#282a36}.cm-s-default .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-default .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-default .CodeMirror-line::selection,.cm-s-default .CodeMirror-line>span::selection,.cm-s-default .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-default .CodeMirror-line::-moz-selection,.cm-s-default .CodeMirror-line>span::-moz-selection,.cm-s-default .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-default span.cm-comment{color:#999}.cm-s-default span.cm-string,.cm-s-default span.cm-string-2{color:#ce9178}.cm-s-default span.cm-number{color:#bd93f9}.cm-s-default span.cm-variable,.cm-s-default span.cm-variable-2{color:#61afef}.cm-s-default span.cm-def,.cm-s-default span.cm-operator{color:#e0e2e4}.cm-s-default span.cm-keyword{color:#c678dd}.cm-s-default span.cm-atom{color:#bd93f9}.cm-s-default span.cm-meta{color:#f8f8f2}.cm-s-default span.cm-tag{color:#569cd6}.cm-s-default span.cm-attribute,.cm-s-default span.cm-qualifier{color:#9cdcfe}.cm-s-default span.cm-property{color:#dcdcaa}.cm-s-default span.cm-builtin{color:#50fa7b}.cm-s-default span.cm-variable-3,.cm-s-default span.cm-type{color:#ffb86c}.cm-s-default .CodeMirror-activeline-background{background:rgba(255,255,255,.1)}.cm-s-default .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-default .cm-header{color:#fff}.cm-s-default .CodeMirror-gutter{background:#22252b;padding-right:2px}.cm-link{text-decoration:underline;color:#569cd6}.cm-url{color:#9cdcfe!important}@font-face{font-family:iconfont;src:url(/js/build/iconfont.01196938.eot?t=1576231776697);src:url(/js/build/iconfont.01196938.eot?t=1576231776697#iefix) format("embedded-opentype"),url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABBoAAsAAAAAH4gAABAXAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCHNAqrGKENATYCJAOBAAtCAAQgBYRtB4I0G3MZM6M2lLTSTfZfJ3BzyOqYZkDBRZ2HprCitPZ3M8J36RIFoV+G+/sYnCYldv0I8xP3uCYjaM7/PYldjAhiEUzzMA2QIPZTSUVTap7SplSDVS1QFajwRBw61IQgv72KhZq8zPfO2kzlgJkk7T4iPTP9Ao/snqj1ZwI+AR+pnFgdsb1FKrikLeIB0AABBLNBwG3sJrh0YieT5piEFlvapTXhESZVxn7z1XMwlGSPvV8g5XsAQOD//62ldqfIqjJ5W5yyMH0RqkLWyJ0JDl3vH2ZCvMHdEpDKq5AV6vZCeyUCDyhMhanQFUJUSF+D5awMrAmEpUSMBqL+u96FgQDAQCUGYXgvHww+aDBOYL4ZcfI48GNh0DlDCfADXM0JaRCbioNPrl47gI3q6xMPkBAfIMGhwC7KNMk4AXqWejiMsp9gM2WP1KcBvJwIoADEAGiA1GkriShQPotRgtEV0vgv/nw0aIhYmpWyISIlSpGpmC1lR7A2toZtsMlp11jXnb47j+64Hg5zn6UsUfjoZBmKutd1v9rr4fphDQRixHGUMDpJirTuWd1zkP6/4AFKBLx5ISGFJwr+FLjwIISKCGIwCCRHgwMJBOCBjwA+fPmRUQPBBeYVAQDRQBvVwFICgxJYGgMBsFIM3sCGYPACNhwDCbARHF8yEhg8gU3EQAFsMgZ/YFMwKIDNwMAF2EwMHsAWAYSQxQCoIEsBEEGOAEAMaQOAgawBIBCyDgA5ZD0ANGQDABzITQBIIE8DIIC8CgAP8hoAfEgXMATAnT6Aj5IPAfCFfASAH6QLGGTwcNgSUAMAjTyBHsAsgPtJgC8GU++pILhNgQSfWmA0EEeRuu4EY14UN4/qGZcT5UhhGA+RzF1SKhUR4hBC68GmUDSfJxZ70tpH5uMJtAFv8k3IHkwQsbghCBGyO1rAEch8KV/ADNGEcnmltkOGKDqMSyXPTB0/f1gqqQ2GOhqiJgftys1wX+tg4SHhrzbqdj3PXQi/2m47jteF30zc/s3hA4btyn6r4/K6TDjNfkX8BZ51Du7ZDf/91en8caT7+06wdx/477cLWrE5JJ5vTUwUGoNjmfpWYWpMj3EjIa2djJquyNcCw/FkoZLVDe/crk7HlF2v3TZYaEO48Z1w1PX2/IHu2BudBRCCYtWvBRVSHgdpaN+n+n7rv7jBDQ41V3FSplXfmsIQFb4MONEnSxwYa4X9U0G67cNIpow0Wh0SzdewKnxLu1VOxbIVnAhqMHornbxVT0WyjfE9pdbQaK7Z+5oiSasw6tdwT1ABCOUhgLAB18k2I80+hAGCwnOPrbkI9MCNCKLYKXcZ/TjoQr+DKJrnBcZTsnHIVYM2IKHdls8KKdCbGp/gempUeVCNKPsiarRXiao7c1VaTpGsEWMZkK0EtaF+zozL/C5XUN1mc6qluTG8qp3ZRtDym7Tu9lABY77EyYCDOGGbSaX751iDcb86IXmrDLwE0OIqWKdHSLsjDVHThTg6e4hoZ0W1836P0nv3Sb9K9d17BS0TY89uRiqBtW8PD2r+uXx1QRH6ltVfNulEDoj+Tjm1OVOZHyxye8FtRMNx4u4SAx8MTWuMkQ4+KV/0Fm8XcxAikH13HgPEKC3sOv3jJfQPSis/NF8bGI8jOIpL/ZXB2cGcB5Z1ZUiOX1iO6uuYrghzg0A0c+naMI6D9DpkvdhphTJ9kdKwGkirDAkBUR5wsCOzDBCmo0JKjNunC1wOIoTbEZD+VCiMAURVWa4nDe1Uln4k54baR4hyhhCcUo33BZUwOqTO9uGIEu3sckJb9ZOAtBpUQIyUJ2wTFL+KLQjgHRCBXRiiowDDHW0vkLDrou0JF3AhCp2uQNv7oSZ/Zq8HJE+5VVSctLt8fbKj7qvd2K24Qljenm39DVKnTb/V54W3JQ4A16ajoC9ROEBhrRiupOO7TmnIt97OMqPbDs+Wd9Bq3vJckauVDIeTrXR126kpctY2WSpk9c2MHRO6XQ9XNLsrPWmuiIwVEqcdeCff1qG2zYzl3PJa3eWNcJmju/52k6wPlzQPrZSiQcZqLufWSkeANGW5t5zLe9SIPBNL1x4h9GWuIMQC46ZamifvFawQbH8TO9I0rWsNNjFoVxBYXmmJLzzjwApSTHhfP6YHrnT8ys8LlM0drRhLRqdJw6g4b54gcvmn+YmBX04ilmmEBR3wyJmoOKTz/7x2u72tOTTFq0y9YyvkJUtybl4LBb35iRHt5/TO+DOA/KGyNL40uZIiKaYvcjlOuvqIwScG1qSjFgfIfbLP6jMG8vOVPAijNL4AiM50bvAUmVSewIpmDqY1Wgcx0sAJqIgdRzrDwEEq9Ju9VwQ9uMGVQNYXahAuP79e5t78jSnVz8fdegMM8RyCb4a6viUlDgoko9Oi2TvWJofjwsQrQLviVhXtZw2YRlAB6J0fh8Wmho2cPr1dBSM3lCjc80GaD03EtTI11wPiQgXYsgRhNYuWASCFtPZOvTBqoNYTaO53H3b2Pdh5VsbHPrh06uYJD41afQ2dV1Ox53dGN6P3433qG3c4d93jvbLy4orHh6+df55b8kmvfHzFxbpnQKQHfUt5p1ImhA00zzRHfBFBLeQs4K1jFm7S5kVGDh0dNpRzCknDOjKzMjPPMVSR8n9r2tpnHEdHqOcoUjLUuUxWntVRyE92lLRftK3NINwmNLSpJfx/lbqsLqlV/p6q99SoaurrHSJ5YM2MGS5Xdr9M5CiwMO5fmMVsaY6LExZNNJvZtleQvnnPbCGYI7YnO58kSaS3nyzqAk6aunXdMQiaQJ1VPXNKS318EJljpwvbcyZxP/Jv0Rr4FOrVA/O4TJenp8KY3yDiW32/CpT5O37iS7orQBHVrJikbKa+wc0qr6jUKoH+W04U/Z3n357tnitXIiN/Q7Fdxj/Ml9kdl+An30RfEVVTAFNdmYZL2bHO9hmKfVZc6tf3L+8P6r/8ImBfnft2F7nL3MMDLo7qH32ueDL2GHUa2aRRJQNKhxQP9ZPJkM8xKUeYiysMlfqBkp/ph/pRy+0jRhoGjTQpq4hZ44bO3F69flKagSubojZwoN20wblhcHB18Kvjzg3O5OP+L1ofcTviOriSK1+8/OKK5PV60MpWzqjxrNn016KlnTs6ly66lb7Gc1H5VCYxhbvP1I/ireJ9J7JVB8mtyhbdKF2L8jvnaeBIyan0U7fDY5/dzB9VUTl8YMkgS7JbT8fei73VnWtfPndj2ewwaomyxJhzU08hxVQZzxpbVENU33jDJqlaRrSqJj73b1RmFWSnihoHU1Kaigw2kCrfQvKZP1fmGnSnqNpStG3+MwkvOlFHaH2N5LNonqTPzClC0rjV69oe+zxuk2/q2SlVKRGdwivDr3Dzfq+V8Hz69UaykNT1+vA8TprylNt/P/DHqs5x6uHq2Z2r/9z0W6NyK5NXfyAjtTChQd7W0NNW9lPPvJ95TH31jq3zhTSytHavdq9QIWKQFL4XuFKmXeAhtqmUIfXmZL/edJN5/RrdFH4tSuZ9R9n+mKud+WZTu1KKTiubkaps4mydXiG1JEXyOlVO0X5Ml/XXwZpCaadNLBW0byIxTWj2HK+/3it87M0vACmTm4KDSdEzLM2vOmLmOKzRu0UszatqHbUZmmB+rbZF49C2uhjVCfXewBMqZ5bT4VTCcdOhgH9lkX9v79pevmM6JoNaQMMIQ7dyq3Obc3vqX45upCDy6GZ6Ig6QXdu6nm4zu6+YP1OZpvzv0pMnhkC7bN+BIGXS8OHruLxgRZz36JKSRB5x+zYIbLuvd5dwO1jXu4upURy4O30Gb6IUC0Nsiij5ypBVMmWUxvY7RBPlgVYWKmyh2oShK6FuFq50tq/yW/XndFgI3qo/vuDzruKSn3DFJK3mERZHrt9KSxVnwOHtZU/GZQ5b2Jh580+7h2x2UMG86mNW6sZZyrra909Ktg0qqJ6Xk38qJy8/91Re7qsjKfk6kZ/zFM2pzvnEaoeVevADZa2pNg0GzvXCfX1xersSyI88TkzTtyh0ZkrRQtcnPt6wYfDgdqPxbppzrA0bHifW04oWyqxrUejT9K2NRrrCguZml9wbQmq8Ipbt59QVdG1Y/9w3wlRmpPl9twpTRNIjA95esJ+z4Ai04c61zLT1XQV1nHhDFHZWtFTogXRTxQzRtz9NkFyLzs4Jcpt8hkLklSit2CNK5Yv3iPV3tOSnbxMrsnu+XPfVLZvS1v7/Jcd7cjzyCrsH7zeXFzWdQq3gW4x6p7Y447os0tkV5/QyqL0jYac3CGhaWPL+FbdW+v1UNdnsTZHB30c2xBy6utz/Q6tU2Lt/LhtWJgr2rFt2FvvztIxn2/dvIgyhg7T1yrkBOiZtGZgJq0S8pdbfOwN++vWKmnF69YmCJU1Nk7Z8+pM9TuLtsds8fq75P44PWfCzq2O9XYHU8d6P/BL9a/wT/eS5zzoJcbqYlJyRkOJdOd8CRj3aLGcwZNgq3yCfJvmvYqIN0l/NTT6xu9/cX3TiWOjg1cd3nwvkBJsCxf8s0EocXp/zRWrfvk+k8cLJy5t9muvr5swGGRmYkrza/kabNJrZ83aYVu3eNZW/CvhooMuPeEn4WRK5kdxES5RK/TZtmU02Xx4lny97/pdilUIpDMXD00iX8hJNuZZE3lKpZpXikimatkqsFcGXSCuWIuFwdW7uyK1D4kODLl38t+n8gn+x3M0Wcb9U2FOkX2cdhXVfPtNzzxCNB1AXqLQZesgNc7j/U+QZFxm29kHKSY0h6KmQYPiI4auhc4ePG14spLhlhu8c8Qt/JT7rQyHFEG0efoOGNz6kBLRwLbka/jP5YHgXeX64HXHwwuHrvtp9dghG+i2fSCj+nE/bqJ+5y+Q8rGwPN2zq51+V9cLh/2m2uu6bRVW4D9IYRzX4IB9MSDyIFHSrG9HfOSyi2ecGFjuAKIMwBzTWItJAAmDCWW6Uyjn7rDytsx7ZKs/QJMFDoEmBjxBE94wxORAiyeSCj1yTQbSikwuhYAUFghYAiNLomAQ8nDFJSPAjo3Q9OxiNnl0mB14e5XExMIr+Y6cUOEMhwjbXv3wR6AKr2qeKhpNzY2Xpzf8JX0kLyXnq7BeSIyd13B1+mz+QIHWkyDd/KsUpJ9ypd8cHRKx64QtM2QU09ef93r1dxc5w1yybF4EusEr7lNNGw8kdvixTX/4TvpKWnNV+TfsLyfHolaOdgwX6EMlqtX1ZNN/8SSHaKbGscKe8Ew3iDaz0+rYuMGUnlLD7sz3ZnLMVu/ZVd2QUNuIa2EerSSBRaAwWhycQSWRKKmoaWjp6BkYmZhZWNnYOTi5unmLY2bHA8rgmyzMTYK6wG3WXt05TxqwX3CLuQ04jdm5u+Z6ItR23THbihWs/ip1flj53yJZiwsQQZ0xj0RTNnG8QzRTLwBL/OSWalIAOk7/KRVYU3ZK5J7QMK40NW4zfPK9LV4myESBZoZjMapY6ZFrWvnG2bXGOcdY3LPo627blR9MAAAAA) format("woff2"),url(/js/build/iconfont.5e0c4d21.woff?t=1576231776697) format("woff"),url(/js/build/iconfont.eb7e69a1.ttf?t=1576231776697) format("truetype"),url(/js/build/iconfont.7bf1e2b0.svg?t=1576231776697#iconfont) format("svg")}.iconfont[data-v-566f9802]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-md[data-v-566f9802]:before{content:"\e604"}.icon-redo[data-v-566f9802]:before{content:"\e627"}.icon-undo[data-v-566f9802]:before{content:"\e633"}.icon-checked[data-v-566f9802]:before{content:"\e683"}.icon-checked-false[data-v-566f9802]:before{content:"\e684"}.icon-preview[data-v-566f9802]:before{content:"\e63a"}.icon-on[data-v-566f9802]:before{content:"\e6d8"}.icon-off[data-v-566f9802]:before{content:"\e6d9"}.icon-download[data-v-566f9802]:before{content:"\e6ae"}.icon-bold[data-v-566f9802]:before{content:"\e677"}.icon-group[data-v-566f9802]:before{content:"\e647"}.icon-img[data-v-566f9802]:before{content:"\e64a"}.icon-under-line[data-v-566f9802]:before{content:"\e65a"}.icon-close[data-v-566f9802]:before{content:"\e690"}.icon-italic[data-v-566f9802]:before{content:"\e628"}.icon-overline[data-v-566f9802]:before{content:"\e63b"}.icon-horizontal[data-v-566f9802]:before{content:"\e7f0"}.icon-theme[data-v-566f9802]:before{content:"\e682"}.icon-quote[data-v-566f9802]:before{content:"\e636"}.icon-table[data-v-566f9802]:before{content:"\e603"}.icon-clear[data-v-566f9802]:before{content:"\e629"}.icon-ul[data-v-566f9802]:before{content:"\e624"}.icon-code[data-v-566f9802]:before{content:"\e60f"}.icon-link[data-v-566f9802]:before{content:"\e7e2"}.icon-fullscreen[data-v-566f9802]:before{content:"\e7ec"}.icon-quite[data-v-566f9802]:before{content:"\e7ed"}.icon-daoru[data-v-566f9802]:before{content:"\e635"}.icon-ol[data-v-566f9802]:before{content:"\e6f0"}.icon-upload-img[data-v-566f9802]:before{content:"\e679"}.icon-save[data-v-566f9802]:before{content:"\e648"}.icon-check-box[data-v-566f9802]:before{content:"\ec58"}[data-v-566f9802] .markdown-theme-light pre{font-size:14px!important;line-height:1.6!important;word-break:break-all;word-wrap:break-word;border:0!important;background:#f7f8fb!important;padding:20px 10px!important;border-radius:4px!important;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-566f9802] .markdown-theme-light pre code{font-family:Consolas!important;font-size:13px;line-height:22px!important;color:#444}[data-v-566f9802] .markdown-theme-light .hljs{display:block;overflow-x:auto;color:#525252;padding:15px;-webkit-text-size-adjust:none}[data-v-566f9802] .markdown-theme-light .hljs-doctype{color:#999}[data-v-566f9802] .markdown-theme-light .hljs-tag{color:#3e76f6}[data-v-566f9802] .markdown-theme-light .hljs-attribute{color:#e96900}[data-v-566f9802] .markdown-theme-light .hljs-value{color:#42b983}[data-v-566f9802] .markdown-theme-light .hljs-keyword{color:#e96900}[data-v-566f9802] .markdown-theme-light .hljs-string{color:#42b983}[data-v-566f9802] .markdown-theme-light .hljs-comment{color:#b3b3b3}[data-v-566f9802] .markdown-theme-light .hljs-operator .hljs-comment{color:#525252}[data-v-566f9802] .markdown-theme-light .hljs-regexp{color:#af7dff}[data-v-566f9802] .markdown-theme-light .hljs-built_in{color:#2db7f5}[data-v-566f9802] .markdown-theme-light .css .hljs-class{color:#e96900}[data-v-566f9802] .markdown-theme-light .css .hljs-number,[data-v-566f9802] .markdown-theme-light .javascript .hljs-number{color:#fc1e70}[data-v-566f9802] .markdown-theme-light .css .hljs-attribute{color:#af7dff}[data-v-566f9802] .markdown-theme-light .css .hljs-important{color:red}[data-v-566f9802] .markdown-theme-light .actionscript .hljs-literal,[data-v-566f9802] .markdown-theme-light .javascript .hljs-literal{color:#fc1e70}[data-v-566f9802] .markdown-theme-light pre{padding:0;margin:0;background:#f7f7f7!important}[data-v-566f9802] .markdown-theme-light code{display:inline-block;background:#f7f7f7;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;margin:0 3px;padding:1px 5px;border-radius:3px;color:#666;border:1px solid #eee}[data-v-566f9802] .markdown-theme-light pre code{display:inline;margin:0;padding:0;border:none;background:transparent}[data-v-566f9802] .markdown-theme-light pre.bg code{background:#f7f7f7}[data-v-566f9802] .markdown-theme-dark pre{display:block;padding:20px 10px!important;border-radius:4px;margin:20px 0!important;background:#1e1e1e;color:#dcdcdc;overflow-y:hidden!important;overflow-x:auto!important;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-566f9802] .markdown-theme-dark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-566f9802] .markdown-theme-dark code{padding:0!important;margin:0!important}[data-v-566f9802] .markdown-theme-dark .hljs-literal,[data-v-566f9802] .markdown-theme-dark .hljs-name,[data-v-566f9802] .markdown-theme-dark .hljs-symbol{color:#659bd1}[data-v-566f9802] .markdown-theme-dark .hljs-keyword{color:#bc89bd}[data-v-566f9802] .markdown-theme-dark .hljs-link{color:#569cd6;text-decoration:underline}[data-v-566f9802] .markdown-theme-dark .hljs-built_in,[data-v-566f9802] .markdown-theme-dark .hljs-type{color:#4ec9b0}[data-v-566f9802] .markdown-theme-dark .hljs-class,[data-v-566f9802] .markdown-theme-dark .hljs-number{color:#b8d7a3}[data-v-566f9802] .markdown-theme-dark .hljs-meta-string,[data-v-566f9802] .markdown-theme-dark .hljs-string{color:#d69d85}[data-v-566f9802] .markdown-theme-dark .hljs-regexp,[data-v-566f9802] .markdown-theme-dark .hljs-template-tag{color:#9a5334}[data-v-566f9802] .markdown-theme-dark .hljs-formula,[data-v-566f9802] .markdown-theme-dark .hljs-function,[data-v-566f9802] .markdown-theme-dark .hljs-params,[data-v-566f9802] .markdown-theme-dark .hljs-subst,[data-v-566f9802] .markdown-theme-dark .hljs-title{color:#dcdcdc}[data-v-566f9802] .markdown-theme-dark .hljs-comment,[data-v-566f9802] .markdown-theme-dark .hljs-quote{color:#57a64a;font-style:italic}[data-v-566f9802] .markdown-theme-dark .hljs-doctag{color:#608b4e}[data-v-566f9802] .markdown-theme-dark .hljs-meta,[data-v-566f9802] .markdown-theme-dark .hljs-meta-keyword,[data-v-566f9802] .markdown-theme-dark .hljs-tag{color:#9b9b9b}[data-v-566f9802] .markdown-theme-dark .hljs-template-variable,[data-v-566f9802] .markdown-theme-dark .hljs-variable{color:#bd63c5}[data-v-566f9802] .markdown-theme-dark .hljs-attr,[data-v-566f9802] .markdown-theme-dark .hljs-attribute,[data-v-566f9802] .markdown-theme-dark .hljs-builtin-name{color:#9cdcfe}[data-v-566f9802] .markdown-theme-dark .hljs-section{color:gold}[data-v-566f9802] .markdown-theme-dark .hljs-emphasis{font-style:italic}[data-v-566f9802] .markdown-theme-dark .hljs-strong{font-weight:700}[data-v-566f9802] .markdown-theme-dark .hljs-bullet,[data-v-566f9802] .markdown-theme-dark .hljs-selector-attr,[data-v-566f9802] .markdown-theme-dark .hljs-selector-class,[data-v-566f9802] .markdown-theme-dark .hljs-selector-id,[data-v-566f9802] .markdown-theme-dark .hljs-selector-pseudo,[data-v-566f9802] .markdown-theme-dark .hljs-selector-tag{color:#d7ba7d}[data-v-566f9802] .markdown-theme-dark .hljs-addition{background-color:#144212;display:inline-block;width:100%}[data-v-566f9802] .markdown-theme-dark .hljs-deletion{background-color:#600;display:inline-block;width:100%}[data-v-566f9802] .markdown-theme-dark .hljs-comment{font-style:normal}[data-v-566f9802] .markdown-theme-oneDark pre{padding:20px 10px!important;display:block;color:#abb2bf;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace;background:#292c34;border-radius:4px;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-566f9802] .markdown-theme-oneDark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace}[data-v-566f9802] .markdown-theme-oneDark .hljs-comment,[data-v-566f9802] .markdown-theme-oneDark .hljs-quote{color:#5c6370;font-style:italic}[data-v-566f9802] .markdown-theme-oneDark .hljs-doctag,[data-v-566f9802] .markdown-theme-oneDark .hljs-formula,[data-v-566f9802] .markdown-theme-oneDark .hljs-keyword{color:#c678dd}[data-v-566f9802] .markdown-theme-oneDark .hljs-deletion,[data-v-566f9802] .markdown-theme-oneDark .hljs-name,[data-v-566f9802] .markdown-theme-oneDark .hljs-section,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-tag,[data-v-566f9802] .markdown-theme-oneDark .hljs-subst{color:#e06c75}[data-v-566f9802] .markdown-theme-oneDark .hljs-literal{color:#56b6c2}[data-v-566f9802] .markdown-theme-oneDark .hljs-addition,[data-v-566f9802] .markdown-theme-oneDark .hljs-attribute,[data-v-566f9802] .markdown-theme-oneDark .hljs-meta-string,[data-v-566f9802] .markdown-theme-oneDark .hljs-regexp,[data-v-566f9802] .markdown-theme-oneDark .hljs-string{color:#98c379}[data-v-566f9802] .markdown-theme-oneDark .hljs-built_in,[data-v-566f9802] .markdown-theme-oneDark .hljs-class .hljs-title{color:#e6c07b}[data-v-566f9802] .markdown-theme-oneDark .hljs-attr,[data-v-566f9802] .markdown-theme-oneDark .hljs-number,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-attr,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-class,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-pseudo,[data-v-566f9802] .markdown-theme-oneDark .hljs-template-variable,[data-v-566f9802] .markdown-theme-oneDark .hljs-type,[data-v-566f9802] .markdown-theme-oneDark .hljs-variable{color:#d19a66}[data-v-566f9802] .markdown-theme-oneDark .hljs-bullet,[data-v-566f9802] .markdown-theme-oneDark .hljs-link,[data-v-566f9802] .markdown-theme-oneDark .hljs-meta,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-id,[data-v-566f9802] .markdown-theme-oneDark .hljs-symbol,[data-v-566f9802] .markdown-theme-oneDark .hljs-title{color:#61aeee}[data-v-566f9802] .markdown-theme-oneDark .hljs-emphasis{font-style:italic}[data-v-566f9802] .markdown-theme-oneDark .hljs-strong{font-weight:700}[data-v-566f9802] .markdown-theme-oneDark .hljs-link{text-decoration:underline}[data-v-566f9802] .markdown-theme-gitHub pre{padding:20px 10px!important;display:block;overflow-x:auto;color:#333;background:#f7f8fa!important;font-size:13px;line-height:20px;border-radius:4px;margin:10px 0!important;overflow-x:auto!important}[data-v-566f9802] .markdown-theme-gitHub pre *{font-family:Consolas!important}[data-v-566f9802] .markdown-theme-gitHub .hljs-comment,[data-v-566f9802] .markdown-theme-gitHub .hljs-quote{color:#998;font-style:italic}[data-v-566f9802] .markdown-theme-gitHub .hljs-selector-tag,[data-v-566f9802] .markdown-theme-gitHub .hljs-subst{color:#333;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-keyword{color:#d73a49}[data-v-566f9802] .markdown-theme-gitHub .hljs-literal,[data-v-566f9802] .markdown-theme-gitHub .hljs-number,[data-v-566f9802] .markdown-theme-gitHub .hljs-tag .hljs-attr,[data-v-566f9802] .markdown-theme-gitHub .hljs-template-variable,[data-v-566f9802] .markdown-theme-gitHub .hljs-variable{color:teal}[data-v-566f9802] .markdown-theme-gitHub .hljs-doctag,[data-v-566f9802] .markdown-theme-gitHub .hljs-string{color:#d73a49}[data-v-566f9802] .markdown-theme-gitHub .hljs-section,[data-v-566f9802] .markdown-theme-gitHub .hljs-selector-id,[data-v-566f9802] .markdown-theme-gitHub .hljs-title{color:#900;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-subst{font-weight:400}[data-v-566f9802] .markdown-theme-gitHub .hljs-class .hljs-title,[data-v-566f9802] .markdown-theme-gitHub .hljs-type{color:#458;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-attribute,[data-v-566f9802] .markdown-theme-gitHub .hljs-name,[data-v-566f9802] .markdown-theme-gitHub .hljs-tag{color:navy;font-weight:400}[data-v-566f9802] .markdown-theme-gitHub .hljs-link,[data-v-566f9802] .markdown-theme-gitHub .hljs-regexp{color:#009926}[data-v-566f9802] .markdown-theme-gitHub .hljs-bullet,[data-v-566f9802] .markdown-theme-gitHub .hljs-symbol{color:#990073}[data-v-566f9802] .markdown-theme-gitHub .hljs-built_in,[data-v-566f9802] .markdown-theme-gitHub .hljs-builtin-name{color:#0086b3}[data-v-566f9802] .markdown-theme-gitHub .hljs-meta{color:#999;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-deletion{background:#fdd}[data-v-566f9802] .markdown-theme-gitHub .hljs-addition{background:#dfd}[data-v-566f9802] .markdown-theme-gitHub .hljs-emphasis{font-style:italic}[data-v-566f9802] .markdown-theme-gitHub .hljs-strong{font-weight:700}.markdown[data-v-566f9802]{overflow:hidden;position:relative;margin:0;padding:0;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;flex-direction:column;background:#f7f7f7}.markdown.border[data-v-566f9802]{border:1px solid #d9d9d9}.markdown *[data-v-566f9802]{margin:0;padding:0;box-sizing:border-box}.markdown.fullscreen[data-v-566f9802]{position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;height:100%!important;width:100%;border:none}.markdown.fullscreen .markdown-content[data-v-566f9802]{padding:10px 0 0}.markdown .markdown-toolbars[data-v-566f9802]{width:100%;display:block;list-style:none;background:#fff;color:#6a6f7b;cursor:pointer;padding-left:4px;border-bottom:1px solid #d9d9d9}.markdown .markdown-toolbars>li[data-v-566f9802]{float:left;position:relative;cursor:pointer;margin:0;line-height:normal;min-height:auto}.markdown .markdown-toolbars>li[data-v-566f9802]:after{display:block;content:attr(name);position:absolute;z-index:999999999999;top:32px;left:20px;background:#000;color:#fff;white-space:nowrap;font-size:12px;line-height:28px;padding:0 6px;transition:all .3s .1s;transform:scale(0);opacity:0;transform-origin:top;border-radius:2px}.markdown .markdown-toolbars>li[data-v-566f9802]:hover:after{transform:scale(1);opacity:1}.markdown .markdown-toolbars>li[data-v-566f9802]:last-child:after{right:20%;left:auto}.markdown .markdown-toolbars>li .title[data-v-566f9802]{font-size:16px!important}.markdown .markdown-toolbars>li .icon-svg[data-v-566f9802]{display:flex;align-items:center;justify-content:center}.markdown .markdown-toolbars>li.right[data-v-566f9802]{float:right}.markdown .markdown-toolbars>li.right>ul[data-v-566f9802]{list-style:none}.markdown .markdown-toolbars>li.right>ul>li[data-v-566f9802]{line-height:normal;float:left}.markdown .markdown-toolbars span[data-v-566f9802]{font-size:18px;color:#999;cursor:pointer;display:block;width:30px;height:30px;border-radius:3px;line-height:30px;text-align:center}.markdown .markdown-toolbars span[data-v-566f9802]:hover{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .title[data-v-566f9802]{padding-left:4px;padding-right:10px}.markdown .markdown-toolbars li:last-child span[data-v-566f9802]{font-size:20px!important;margin-right:4px}.markdown .markdown-toolbars .shift-theme[data-v-566f9802],.markdown .markdown-toolbars .export-file[data-v-566f9802]{height:46px;position:relative;display:flex;justify-content:center;align-items:center}.markdown .markdown-toolbars .shift-theme span[data-v-566f9802],.markdown .markdown-toolbars .export-file span[data-v-566f9802]{padding:0 8px;transition:all .3s;font-size:18px;display:inline-block;line-height:32px}.markdown .markdown-toolbars .shift-theme span[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file span[data-v-566f9802]:hover{color:#0084ff;background:#f7f7f7;border-radius:3px}.markdown .markdown-toolbars .shift-theme ul[data-v-566f9802],.markdown .markdown-toolbars .export-file ul[data-v-566f9802]{transform:scale(0);transition:all .3s;left:-50%;top:40px;width:160px;transform-origin:top center;list-style:none;margin:0;padding:6px 0;box-sizing:border-box;border:1px solid #d9d9d9;background:#fff;border-radius:4px;position:absolute;z-index:9999999;box-shadow:0 2px 8px #0000001a}.markdown .markdown-toolbars .shift-theme ul.active[data-v-566f9802],.markdown .markdown-toolbars .export-file ul.active[data-v-566f9802]{opacity:1;transform:scaleY(1)}.markdown .markdown-toolbars .shift-theme ul li[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li[data-v-566f9802]{line-height:30px;padding:0 12px;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center;color:#262626}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-566f9802]{font-size:14px;display:block;height:30px;width:30px;line-height:30px;overflow:hidden}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-566f9802]:hover{color:#262626}.markdown .markdown-toolbars .shift-theme ul li i[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li i[data-v-566f9802]{font-size:13px;display:block;font-style:normal;flex:1;white-space:normal}.markdown .markdown-toolbars .shift-theme ul li[data-v-566f9802]:last-child,.markdown .markdown-toolbars .export-file ul li[data-v-566f9802]:last-child{border-bottom:0}.markdown .markdown-toolbars .shift-theme ul li:last-child .iconfont[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li:last-child .iconfont[data-v-566f9802]{font-size:14px!important;margin:0!important}.markdown .markdown-toolbars .shift-theme ul li[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file ul li[data-v-566f9802]:hover{background:#f7f7f7}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li.disabled[data-v-566f9802]{cursor:not-allowed;color:#bbbec4}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file ul li.disabled[data-v-566f9802]:hover{background:transparent}.markdown .markdown-toolbars .import-file[data-v-566f9802]{position:relative}.markdown .markdown-toolbars .import-file input[data-v-566f9802]{position:absolute;z-index:9999;left:0;top:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.markdown .markdown-toolbars .import-file:hover span[data-v-566f9802]{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .import-file[data-v-566f9802]:hover:after{transform:scale(1);opacity:1}.markdown .close-preview[data-v-566f9802]{position:absolute;z-index:999;right:0;top:0;height:40px;width:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;color:#262626}.markdown .close-preview span[data-v-566f9802]{font-size:22px}.markdown .close-preview span[data-v-566f9802]:hover{color:#262626}.markdown .markdown-content[data-v-566f9802]{flex:1;width:100%;display:flex;justify-content:space-between;position:relative;overflow:hidden;padding-bottom:0}.markdown .markdown-content .markdown-editor[data-v-566f9802]{flex:1;height:100%;position:relative;margin:0!important;overflow:hidden;overflow-y:scroll;display:flex;justify-content:space-between;background:#2d2d2d}.markdown .markdown-content .markdown-editor[data-v-566f9802]::-webkit-scrollbar{display:none}.markdown .markdown-content .markdown-editor .index[data-v-566f9802]{background:#272727;min-height:100%;width:36px;line-height:22px;padding:12px 0}.markdown .markdown-content .markdown-editor .index li[data-v-566f9802]{background:#272727;color:#ccc;font-size:14px;text-align:center;font-family:Consolas}.markdown .markdown-content .markdown-editor textarea[data-v-566f9802]{width:100%;min-height:100%;outline:none;border:0;background:#2d2d2d;line-height:22px;caret-color:#ccc;color:#669acc;font-size:14px;font-family:Consolas;resize:none;padding:12px 8px;overflow:hidden;white-space:nowrap;overflow-x:auto}.markdown .markdown-content .markdown-editor textarea[data-v-566f9802]::-moz-selection{background:#999;color:#0084ff}.markdown .markdown-content .markdown-editor textarea[data-v-566f9802]::selection{background:#999;color:#0084ff}.markdown .markdown-content .codemirror[data-v-566f9802]{flex:1;width:0;height:100%;overflow:auto}.markdown .markdown-content .markdown-preview[data-v-566f9802]{flex:1;width:0;height:100%}.markdown ul.toc-anchor[data-v-566f9802]{max-width:260px;min-width:150px;background-color:#f6f8fa;border-left:2px solid #dcdfe6;overflow:auto}.markdown ul.toc-anchor li.toc-anchor-item[data-v-566f9802]{cursor:pointer;padding:6px 16px;font-size:12px;line-height:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.markdown ul.toc-anchor li.toc-anchor-item span[data-v-566f9802]{color:#333;opacity:.8}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-2[data-v-566f9802]{padding-left:16px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-3[data-v-566f9802]{padding-left:32px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-4[data-v-566f9802]{padding-left:48px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-5[data-v-566f9802]{padding-left:64px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-action[data-v-566f9802]{color:#2b85e4;opacity:1}.markdown ul.toc-anchor li.toc-anchor-item[data-v-566f9802]:first-child{padding-top:16px}.markdown ul.toc-anchor li.toc-anchor-item:hover span[data-v-566f9802]{opacity:1}.insert-img-model[data-v-566f9802]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(0,0,0,.3);padding-top:12%;transition:all .3s;opacity:0;display:none}.insert-img-model .model-container[data-v-566f9802]{background:#fff;width:480px;margin:0 auto;border-radius:4px;transition:all .3s;transform:scale(0);transform-origin:center}.insert-img-model .model-container .model-head[data-v-566f9802]{line-height:32px;padding:0 12px;background:#f7f7f7;border-radius:4px 4px 0 0;box-shadow:0 1px 2px #d9d9d9;display:flex;justify-content:space-between}.insert-img-model .model-container .model-head span[data-v-566f9802]:nth-of-type(2){font-size:14px;padding-left:12px;cursor:pointer}.insert-img-model .model-container .model-head span[data-v-566f9802]:nth-of-type(2):hover{color:#ed3f14}.insert-img-model .model-container .model-content[data-v-566f9802]{padding:0 12px 20px;min-height:180px}.insert-img-model .model-container .model-content .insert-url[data-v-566f9802]{padding:42px 0;display:flex;justify-content:space-between;align-items:center}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]{display:block;border:1px solid #ccc;font-size:14px;padding:4px 8px;line-height:24px;color:#333;background:#fff;border-radius:4px;writing-mode:horizontal-tb;text-rendering:auto;transition:box-shadow 2s;flex:1}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]:focus{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]::-moz-placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]::placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url a[data-v-566f9802]{display:block;background:#1890ff;color:#fff;line-height:32px;height:32px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:20px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-content .insert-url a[data-v-566f9802]:hover{background:#0169af}.insert-img-model .model-container .model-content .insert-local[data-v-566f9802]{height:120px;border:1px dashed #d9d9d9;border-radius:4px;transition:all .3s;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;cursor:pointer}.insert-img-model .model-container .model-content .insert-local span[data-v-566f9802]{font-size:40px;color:#d9d9d9;line-height:50px;transition:all .3s}.insert-img-model .model-container .model-content .insert-local p[data-v-566f9802]{font-size:14px;color:#262626;transition:all .3s}.insert-img-model .model-container .model-content .insert-local[data-v-566f9802]:hover{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-local:hover span[data-v-566f9802],.insert-img-model .model-container .model-content .insert-local:hover p[data-v-566f9802]{color:#1890ff}.insert-img-model .model-container .model-content .insert-local input[data-v-566f9802]{display:block;position:absolute;width:100%;height:100%;opacity:0}.insert-img-model .model-container .model-foot[data-v-566f9802]{display:flex;justify-content:flex-end;align-items:center;padding:10px 12px;display:none}.insert-img-model .model-container .model-foot a[data-v-566f9802]{display:block;background:#f7f7f7;color:#262626;line-height:26px;height:26px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:12px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-foot a[data-v-566f9802]:hover{background:#d9d9d9}.insert-img-model .model-container .model-foot a.ok[data-v-566f9802]{background:#1890ff;color:#fff;border-color:#1890ff}.insert-img-model .model-container .model-foot a.ok[data-v-566f9802]:hover{background:#0169af}.insert-img-model.active[data-v-566f9802]{opacity:1;display:block}.insert-img-model.active .model-container[data-v-566f9802]{transform:scale(1)}ul.shift[data-v-566f9802]{padding:6px 12px;display:flex;align-items:center}ul.shift span[data-v-566f9802]{font-size:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift span.iconfont[data-v-566f9802]{font-size:14px}ul.shift label[data-v-566f9802]{font-size:12px;padding-right:10px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift input[type=radio][data-v-566f9802],ul.shift label[data-v-566f9802]{transition:all .6s ease;box-sizing:border-box}ul.shift input[type=radio]+label[data-v-566f9802]:before{content:"\a0";display:inline-block;vertical-align:middle;margin-right:4px;width:8px;height:8px;border-radius:50%;border:1px solid #292d35;padding:2px}ul.shift input[type=radio]:checked+label[data-v-566f9802]:before{background-color:#292d35;background-clip:content-box;padding:2px}ul.shift input[type=radio][data-v-566f9802]{position:absolute;clip:rect(0,0,0,0)}ul.shift input[type=radio]:checked+label[data-v-566f9802]{color:#292d35}[data-v-566f9802] .markdown-preview{flex:1;overflow:hidden;overflow-y:scroll;background:#fff;padding:20px 12px!important;font-family:Tahoma For Number,Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}[data-v-566f9802] .markdown-preview *{margin:0;padding:0;box-sizing:border-box}[data-v-566f9802] .markdown-preview>div{padding:10px 12px!important;background:#fff}[data-v-566f9802] .markdown-preview>div::-webkit-scrollbar{display:none}[data-v-566f9802] .markdown-preview::-webkit-scrollbar{display:none}[data-v-566f9802] .markdown-preview em{font-style:oblique}[data-v-566f9802] .markdown-preview ul{list-style:none;padding:0 20px}[data-v-566f9802] .markdown-preview ul li{position:relative}[data-v-566f9802] .markdown-preview ul li:after{display:block;content:"";width:8px;height:8px;border-radius:50%;position:absolute;z-index:99;top:12px;left:-16px;background:#262626}[data-v-566f9802] .markdown-preview ol,[data-v-566f9802] .markdown-preview ul{margin:10px 0}[data-v-566f9802] .markdown-preview ol li,[data-v-566f9802] .markdown-preview ul li{font-size:14px!important;color:#262626;line-height:22px!important;padding:4px 0 4px 6px;min-height:28px}[data-v-566f9802] .markdown-preview ol li input[type=checkbox],[data-v-566f9802] .markdown-preview ul li input[type=checkbox]{position:relative;cursor:pointer;overflow:visible;position:absolute;left:-14px;top:5px}[data-v-566f9802] .markdown-preview ol li input[type=checkbox]:before,[data-v-566f9802] .markdown-preview ul li input[type=checkbox]:before{font-family:iconfont!important;color:#999;display:block;width:18px;height:18px;position:absolute;content:"\e684";top:0px;left:-4px;z-index:999999;background-position:center;background:#fff;font-size:18px;text-align:center;line-height:18px}[data-v-566f9802] .markdown-preview ol li input[type=checkbox]:checked:before,[data-v-566f9802] .markdown-preview ul li input[type=checkbox]:checked:before{content:"\e683"}[data-v-566f9802] .markdown-preview ol.toc-anchor,[data-v-566f9802] .markdown-preview ul.toc-anchor{margin:0;padding:0}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item{cursor:pointer;padding:4px 0;font-size:13px!important;line-height:16px!important;min-height:auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span{color:#2b85e4;opacity:.9}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-2,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-2{padding-left:16px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-3,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-3{padding-left:32px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-4,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-4{padding-left:48px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-5,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-5{padding-left:64px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item:last-child,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item:last-child{padding-bottom:6px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item:hover span,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item:hover span{opacity:1}[data-v-566f9802] .markdown-preview ol{list-style-type:decimal;padding-left:20px}[data-v-566f9802] .markdown-preview ol li{list-style:decimal}[data-v-566f9802] .markdown-preview hr{color:#d9d9d9;height:1px;border:0;border-top:1px solid #d9d9d9;margin:20px 0;padding:0}[data-v-566f9802] .markdown-preview del,[data-v-566f9802] .markdown-preview em,[data-v-566f9802] .markdown-preview strong{display:inline-block}[data-v-566f9802] .markdown-preview blockquote{position:relative;background:#f7f7f7;padding:6px 12px;border-left:5px solid #d9d9d9;border-radius:2px;margin:8px 0}[data-v-566f9802] .markdown-preview h1,[data-v-566f9802] .markdown-preview h2,[data-v-566f9802] .markdown-preview h3,[data-v-566f9802] .markdown-preview h4,[data-v-566f9802] .markdown-preview h5,[data-v-566f9802] .markdown-preview h6{color:#262626}[data-v-566f9802] .markdown-preview h1{font-size:28px;border-bottom:1px solid #d9d9d9}[data-v-566f9802] .markdown-preview h2{font-size:24px}[data-v-566f9802] .markdown-preview h3{font-size:18px}[data-v-566f9802] .markdown-preview h4{font-size:16px}[data-v-566f9802] .markdown-preview h5{font-size:14px}[data-v-566f9802] .markdown-preview h6{font-size:12px}[data-v-566f9802] .markdown-preview h1,[data-v-566f9802] .markdown-preview h2,[data-v-566f9802] .markdown-preview h3,[data-v-566f9802] .markdown-preview h4,[data-v-566f9802] .markdown-preview h5,[data-v-566f9802] .markdown-preview h6{padding:8px 0;font-weight:600}[data-v-566f9802] .markdown-preview p{font-size:14px!important;color:#262626;margin-bottom:8px;line-height:22px}[data-v-566f9802] .markdown-preview img{display:block;max-width:100%;margin:20px 0;cursor:pointer}[data-v-566f9802] .markdown-preview table{width:100%;border:1px solid #d9d9d9;border-bottom:0;background:#fff;border-spacing:0;border-collapse:collapse;margin:20px 0}[data-v-566f9802] .markdown-preview table tr{transition:background .1s}[data-v-566f9802] .markdown-preview table tr td,[data-v-566f9802] .markdown-preview table tr th{padding:4px 8px;font-size:14px;line-height:24px;color:#333;border-bottom:1px solid #d9d9d9;cursor:pointer}[data-v-566f9802] .markdown-preview table th{background:#f8f8f9;text-align:left;font-weight:700}[data-v-566f9802] .markdown-preview table tr:nth-of-type(even) td{background:#fafafa}[data-v-566f9802] .markdown-preview table tr:hover td{background:#f5f5f5}[data-v-566f9802] .markdown-preview table td,[data-v-566f9802] .markdown-preview table th{border:1px solid #d9d9d9;word-break:break-all}[data-v-566f9802] .markdown-preview input[type=checkbox]{display:inline-block;border-radius:0;margin-right:8px}[data-v-566f9802] .markdown-preview a{text-decoration:none;color:#1890ff;font-size:14px;line-height:22px}[data-v-566f9802] .markdown-preview .code-block{position:relative;padding:0!important}[data-v-566f9802] .markdown-preview .code-block .copy-code{position:absolute;z-index:999;top:5px;right:10px;font-size:12px;color:#d9d9d9;line-height:20px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s;opacity:0}[data-v-566f9802] .markdown-preview .code-block .copy-code:hover{color:#1890ff}[data-v-566f9802] .markdown-preview .code-block:hover .copy-code{opacity:1}.preview-img[data-v-566f9802]{position:fixed;width:100vw;height:100vh;z-index:99999999;left:0;top:0;background:rgba(0,0,0,.5);display:none;opacity:0;transition:opacity .3s .1s;justify-content:center;align-items:center}.preview-img .close[data-v-566f9802]{position:absolute;right:0;top:0;color:#fff;padding:10px;font-size:20px;cursor:pointer}.preview-img img[data-v-566f9802]{display:block}.preview-img img.vertical[data-v-566f9802]{height:80%;width:auto}.preview-img img.horizontal[data-v-566f9802]{width:80%;height:auto}.preview-img.active[data-v-566f9802]{display:flex;opacity:1}.mdeditor-transfer{background-color:#fff}.mdeditor-transfer .ivu-modal-header{display:none}.mdeditor-transfer .ivu-modal-close{top:7px}.mdeditor-transfer .mdeditor-transfer-body{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0}.mdeditor-box[data-v-7f240f8c]{position:relative}.upload-control[data-v-7f240f8c]{display:none;width:0;height:0;overflow:hidden} +@charset "UTF-8";.CodeMirror{height:100%;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px 0 8px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 5px!important;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.CodeMirror{position:relative;overflow:hidden;background:white}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.cm-s-default.CodeMirror,.cm-s-default .CodeMirror-gutters{background-color:#282a36!important;color:#f8f8f2!important;border:none;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}.cm-s-default *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important;color:#ccc}.cm-s-default .CodeMirror-gutters{color:#282a36}.cm-s-default .CodeMirror-cursor{border-left:solid thin #f8f8f0}.cm-s-default .CodeMirror-selected{background:rgba(255,255,255,.1)}.cm-s-default .CodeMirror-line::selection,.cm-s-default .CodeMirror-line>span::selection,.cm-s-default .CodeMirror-line>span>span::selection{background:rgba(255,255,255,.1)}.cm-s-default .CodeMirror-line::-moz-selection,.cm-s-default .CodeMirror-line>span::-moz-selection,.cm-s-default .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,.1)}.cm-s-default span.cm-comment{color:#999}.cm-s-default span.cm-string,.cm-s-default span.cm-string-2{color:#ce9178}.cm-s-default span.cm-number{color:#bd93f9}.cm-s-default span.cm-variable,.cm-s-default span.cm-variable-2{color:#61afef}.cm-s-default span.cm-def,.cm-s-default span.cm-operator{color:#e0e2e4}.cm-s-default span.cm-keyword{color:#c678dd}.cm-s-default span.cm-atom{color:#bd93f9}.cm-s-default span.cm-meta{color:#f8f8f2}.cm-s-default span.cm-tag{color:#569cd6}.cm-s-default span.cm-attribute,.cm-s-default span.cm-qualifier{color:#9cdcfe}.cm-s-default span.cm-property{color:#dcdcaa}.cm-s-default span.cm-builtin{color:#50fa7b}.cm-s-default span.cm-variable-3,.cm-s-default span.cm-type{color:#ffb86c}.cm-s-default .CodeMirror-activeline-background{background:rgba(255,255,255,.1)}.cm-s-default .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.cm-s-default .cm-header{color:#fff}.cm-s-default .CodeMirror-gutter{background:#22252b;padding-right:2px}.cm-link{text-decoration:underline;color:#569cd6}.cm-url{color:#9cdcfe!important}@font-face{font-family:iconfont;src:url(/js/build/iconfont.01196938.eot?t=1576231776697);src:url(/js/build/iconfont.01196938.eot?t=1576231776697#iefix) format("embedded-opentype"),url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABBoAAsAAAAAH4gAABAXAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCHNAqrGKENATYCJAOBAAtCAAQgBYRtB4I0G3MZM6M2lLTSTfZfJ3BzyOqYZkDBRZ2HprCitPZ3M8J36RIFoV+G+/sYnCYldv0I8xP3uCYjaM7/PYldjAhiEUzzMA2QIPZTSUVTap7SplSDVS1QFajwRBw61IQgv72KhZq8zPfO2kzlgJkk7T4iPTP9Ao/snqj1ZwI+AR+pnFgdsb1FKrikLeIB0AABBLNBwG3sJrh0YieT5piEFlvapTXhESZVxn7z1XMwlGSPvV8g5XsAQOD//62ldqfIqjJ5W5yyMH0RqkLWyJ0JDl3vH2ZCvMHdEpDKq5AV6vZCeyUCDyhMhanQFUJUSF+D5awMrAmEpUSMBqL+u96FgQDAQCUGYXgvHww+aDBOYL4ZcfI48GNh0DlDCfADXM0JaRCbioNPrl47gI3q6xMPkBAfIMGhwC7KNMk4AXqWejiMsp9gM2WP1KcBvJwIoADEAGiA1GkriShQPotRgtEV0vgv/nw0aIhYmpWyISIlSpGpmC1lR7A2toZtsMlp11jXnb47j+64Hg5zn6UsUfjoZBmKutd1v9rr4fphDQRixHGUMDpJirTuWd1zkP6/4AFKBLx5ISGFJwr+FLjwIISKCGIwCCRHgwMJBOCBjwA+fPmRUQPBBeYVAQDRQBvVwFICgxJYGgMBsFIM3sCGYPACNhwDCbARHF8yEhg8gU3EQAFsMgZ/YFMwKIDNwMAF2EwMHsAWAYSQxQCoIEsBEEGOAEAMaQOAgawBIBCyDgA5ZD0ANGQDABzITQBIIE8DIIC8CgAP8hoAfEgXMATAnT6Aj5IPAfCFfASAH6QLGGTwcNgSUAMAjTyBHsAsgPtJgC8GU++pILhNgQSfWmA0EEeRuu4EY14UN4/qGZcT5UhhGA+RzF1SKhUR4hBC68GmUDSfJxZ70tpH5uMJtAFv8k3IHkwQsbghCBGyO1rAEch8KV/ADNGEcnmltkOGKDqMSyXPTB0/f1gqqQ2GOhqiJgftys1wX+tg4SHhrzbqdj3PXQi/2m47jteF30zc/s3hA4btyn6r4/K6TDjNfkX8BZ51Du7ZDf/91en8caT7+06wdx/477cLWrE5JJ5vTUwUGoNjmfpWYWpMj3EjIa2djJquyNcCw/FkoZLVDe/crk7HlF2v3TZYaEO48Z1w1PX2/IHu2BudBRCCYtWvBRVSHgdpaN+n+n7rv7jBDQ41V3FSplXfmsIQFb4MONEnSxwYa4X9U0G67cNIpow0Wh0SzdewKnxLu1VOxbIVnAhqMHornbxVT0WyjfE9pdbQaK7Z+5oiSasw6tdwT1ABCOUhgLAB18k2I80+hAGCwnOPrbkI9MCNCKLYKXcZ/TjoQr+DKJrnBcZTsnHIVYM2IKHdls8KKdCbGp/gempUeVCNKPsiarRXiao7c1VaTpGsEWMZkK0EtaF+zozL/C5XUN1mc6qluTG8qp3ZRtDym7Tu9lABY77EyYCDOGGbSaX751iDcb86IXmrDLwE0OIqWKdHSLsjDVHThTg6e4hoZ0W1836P0nv3Sb9K9d17BS0TY89uRiqBtW8PD2r+uXx1QRH6ltVfNulEDoj+Tjm1OVOZHyxye8FtRMNx4u4SAx8MTWuMkQ4+KV/0Fm8XcxAikH13HgPEKC3sOv3jJfQPSis/NF8bGI8jOIpL/ZXB2cGcB5Z1ZUiOX1iO6uuYrghzg0A0c+naMI6D9DpkvdhphTJ9kdKwGkirDAkBUR5wsCOzDBCmo0JKjNunC1wOIoTbEZD+VCiMAURVWa4nDe1Uln4k54baR4hyhhCcUo33BZUwOqTO9uGIEu3sckJb9ZOAtBpUQIyUJ2wTFL+KLQjgHRCBXRiiowDDHW0vkLDrou0JF3AhCp2uQNv7oSZ/Zq8HJE+5VVSctLt8fbKj7qvd2K24Qljenm39DVKnTb/V54W3JQ4A16ajoC9ROEBhrRiupOO7TmnIt97OMqPbDs+Wd9Bq3vJckauVDIeTrXR126kpctY2WSpk9c2MHRO6XQ9XNLsrPWmuiIwVEqcdeCff1qG2zYzl3PJa3eWNcJmju/52k6wPlzQPrZSiQcZqLufWSkeANGW5t5zLe9SIPBNL1x4h9GWuIMQC46ZamifvFawQbH8TO9I0rWsNNjFoVxBYXmmJLzzjwApSTHhfP6YHrnT8ys8LlM0drRhLRqdJw6g4b54gcvmn+YmBX04ilmmEBR3wyJmoOKTz/7x2u72tOTTFq0y9YyvkJUtybl4LBb35iRHt5/TO+DOA/KGyNL40uZIiKaYvcjlOuvqIwScG1qSjFgfIfbLP6jMG8vOVPAijNL4AiM50bvAUmVSewIpmDqY1Wgcx0sAJqIgdRzrDwEEq9Ju9VwQ9uMGVQNYXahAuP79e5t78jSnVz8fdegMM8RyCb4a6viUlDgoko9Oi2TvWJofjwsQrQLviVhXtZw2YRlAB6J0fh8Wmho2cPr1dBSM3lCjc80GaD03EtTI11wPiQgXYsgRhNYuWASCFtPZOvTBqoNYTaO53H3b2Pdh5VsbHPrh06uYJD41afQ2dV1Ox53dGN6P3433qG3c4d93jvbLy4orHh6+df55b8kmvfHzFxbpnQKQHfUt5p1ImhA00zzRHfBFBLeQs4K1jFm7S5kVGDh0dNpRzCknDOjKzMjPPMVSR8n9r2tpnHEdHqOcoUjLUuUxWntVRyE92lLRftK3NINwmNLSpJfx/lbqsLqlV/p6q99SoaurrHSJ5YM2MGS5Xdr9M5CiwMO5fmMVsaY6LExZNNJvZtleQvnnPbCGYI7YnO58kSaS3nyzqAk6aunXdMQiaQJ1VPXNKS318EJljpwvbcyZxP/Jv0Rr4FOrVA/O4TJenp8KY3yDiW32/CpT5O37iS7orQBHVrJikbKa+wc0qr6jUKoH+W04U/Z3n357tnitXIiN/Q7Fdxj/Ml9kdl+An30RfEVVTAFNdmYZL2bHO9hmKfVZc6tf3L+8P6r/8ImBfnft2F7nL3MMDLo7qH32ueDL2GHUa2aRRJQNKhxQP9ZPJkM8xKUeYiysMlfqBkp/ph/pRy+0jRhoGjTQpq4hZ44bO3F69flKagSubojZwoN20wblhcHB18Kvjzg3O5OP+L1ofcTviOriSK1+8/OKK5PV60MpWzqjxrNn016KlnTs6ly66lb7Gc1H5VCYxhbvP1I/ireJ9J7JVB8mtyhbdKF2L8jvnaeBIyan0U7fDY5/dzB9VUTl8YMkgS7JbT8fei73VnWtfPndj2ewwaomyxJhzU08hxVQZzxpbVENU33jDJqlaRrSqJj73b1RmFWSnihoHU1Kaigw2kCrfQvKZP1fmGnSnqNpStG3+MwkvOlFHaH2N5LNonqTPzClC0rjV69oe+zxuk2/q2SlVKRGdwivDr3Dzfq+V8Hz69UaykNT1+vA8TprylNt/P/DHqs5x6uHq2Z2r/9z0W6NyK5NXfyAjtTChQd7W0NNW9lPPvJ95TH31jq3zhTSytHavdq9QIWKQFL4XuFKmXeAhtqmUIfXmZL/edJN5/RrdFH4tSuZ9R9n+mKud+WZTu1KKTiubkaps4mydXiG1JEXyOlVO0X5Ml/XXwZpCaadNLBW0byIxTWj2HK+/3it87M0vACmTm4KDSdEzLM2vOmLmOKzRu0UszatqHbUZmmB+rbZF49C2uhjVCfXewBMqZ5bT4VTCcdOhgH9lkX9v79pevmM6JoNaQMMIQ7dyq3Obc3vqX45upCDy6GZ6Ig6QXdu6nm4zu6+YP1OZpvzv0pMnhkC7bN+BIGXS8OHruLxgRZz36JKSRB5x+zYIbLuvd5dwO1jXu4upURy4O30Gb6IUC0Nsiij5ypBVMmWUxvY7RBPlgVYWKmyh2oShK6FuFq50tq/yW/XndFgI3qo/vuDzruKSn3DFJK3mERZHrt9KSxVnwOHtZU/GZQ5b2Jh580+7h2x2UMG86mNW6sZZyrra909Ktg0qqJ6Xk38qJy8/91Re7qsjKfk6kZ/zFM2pzvnEaoeVevADZa2pNg0GzvXCfX1xersSyI88TkzTtyh0ZkrRQtcnPt6wYfDgdqPxbppzrA0bHifW04oWyqxrUejT9K2NRrrCguZml9wbQmq8Ipbt59QVdG1Y/9w3wlRmpPl9twpTRNIjA95esJ+z4Ai04c61zLT1XQV1nHhDFHZWtFTogXRTxQzRtz9NkFyLzs4Jcpt8hkLklSit2CNK5Yv3iPV3tOSnbxMrsnu+XPfVLZvS1v7/Jcd7cjzyCrsH7zeXFzWdQq3gW4x6p7Y447os0tkV5/QyqL0jYac3CGhaWPL+FbdW+v1UNdnsTZHB30c2xBy6utz/Q6tU2Lt/LhtWJgr2rFt2FvvztIxn2/dvIgyhg7T1yrkBOiZtGZgJq0S8pdbfOwN++vWKmnF69YmCJU1Nk7Z8+pM9TuLtsds8fq75P44PWfCzq2O9XYHU8d6P/BL9a/wT/eS5zzoJcbqYlJyRkOJdOd8CRj3aLGcwZNgq3yCfJvmvYqIN0l/NTT6xu9/cX3TiWOjg1cd3nwvkBJsCxf8s0EocXp/zRWrfvk+k8cLJy5t9muvr5swGGRmYkrza/kabNJrZ83aYVu3eNZW/CvhooMuPeEn4WRK5kdxES5RK/TZtmU02Xx4lny97/pdilUIpDMXD00iX8hJNuZZE3lKpZpXikimatkqsFcGXSCuWIuFwdW7uyK1D4kODLl38t+n8gn+x3M0Wcb9U2FOkX2cdhXVfPtNzzxCNB1AXqLQZesgNc7j/U+QZFxm29kHKSY0h6KmQYPiI4auhc4ePG14spLhlhu8c8Qt/JT7rQyHFEG0efoOGNz6kBLRwLbka/jP5YHgXeX64HXHwwuHrvtp9dghG+i2fSCj+nE/bqJ+5y+Q8rGwPN2zq51+V9cLh/2m2uu6bRVW4D9IYRzX4IB9MSDyIFHSrG9HfOSyi2ecGFjuAKIMwBzTWItJAAmDCWW6Uyjn7rDytsx7ZKs/QJMFDoEmBjxBE94wxORAiyeSCj1yTQbSikwuhYAUFghYAiNLomAQ8nDFJSPAjo3Q9OxiNnl0mB14e5XExMIr+Y6cUOEMhwjbXv3wR6AKr2qeKhpNzY2Xpzf8JX0kLyXnq7BeSIyd13B1+mz+QIHWkyDd/KsUpJ9ypd8cHRKx64QtM2QU09ef93r1dxc5w1yybF4EusEr7lNNGw8kdvixTX/4TvpKWnNV+TfsLyfHolaOdgwX6EMlqtX1ZNN/8SSHaKbGscKe8Ew3iDaz0+rYuMGUnlLD7sz3ZnLMVu/ZVd2QUNuIa2EerSSBRaAwWhycQSWRKKmoaWjp6BkYmZhZWNnYOTi5unmLY2bHA8rgmyzMTYK6wG3WXt05TxqwX3CLuQ04jdm5u+Z6ItR23THbihWs/ip1flj53yJZiwsQQZ0xj0RTNnG8QzRTLwBL/OSWalIAOk7/KRVYU3ZK5J7QMK40NW4zfPK9LV4myESBZoZjMapY6ZFrWvnG2bXGOcdY3LPo627blR9MAAAAA) format("woff2"),url(/js/build/iconfont.5e0c4d21.woff?t=1576231776697) format("woff"),url(/js/build/iconfont.eb7e69a1.ttf?t=1576231776697) format("truetype"),url(/js/build/iconfont.7bf1e2b0.svg?t=1576231776697#iconfont) format("svg")}.iconfont[data-v-566f9802]{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-md[data-v-566f9802]:before{content:"\e604"}.icon-redo[data-v-566f9802]:before{content:"\e627"}.icon-undo[data-v-566f9802]:before{content:"\e633"}.icon-checked[data-v-566f9802]:before{content:"\e683"}.icon-checked-false[data-v-566f9802]:before{content:"\e684"}.icon-preview[data-v-566f9802]:before{content:"\e63a"}.icon-on[data-v-566f9802]:before{content:"\e6d8"}.icon-off[data-v-566f9802]:before{content:"\e6d9"}.icon-download[data-v-566f9802]:before{content:"\e6ae"}.icon-bold[data-v-566f9802]:before{content:"\e677"}.icon-group[data-v-566f9802]:before{content:"\e647"}.icon-img[data-v-566f9802]:before{content:"\e64a"}.icon-under-line[data-v-566f9802]:before{content:"\e65a"}.icon-close[data-v-566f9802]:before{content:"\e690"}.icon-italic[data-v-566f9802]:before{content:"\e628"}.icon-overline[data-v-566f9802]:before{content:"\e63b"}.icon-horizontal[data-v-566f9802]:before{content:"\e7f0"}.icon-theme[data-v-566f9802]:before{content:"\e682"}.icon-quote[data-v-566f9802]:before{content:"\e636"}.icon-table[data-v-566f9802]:before{content:"\e603"}.icon-clear[data-v-566f9802]:before{content:"\e629"}.icon-ul[data-v-566f9802]:before{content:"\e624"}.icon-code[data-v-566f9802]:before{content:"\e60f"}.icon-link[data-v-566f9802]:before{content:"\e7e2"}.icon-fullscreen[data-v-566f9802]:before{content:"\e7ec"}.icon-quite[data-v-566f9802]:before{content:"\e7ed"}.icon-daoru[data-v-566f9802]:before{content:"\e635"}.icon-ol[data-v-566f9802]:before{content:"\e6f0"}.icon-upload-img[data-v-566f9802]:before{content:"\e679"}.icon-save[data-v-566f9802]:before{content:"\e648"}.icon-check-box[data-v-566f9802]:before{content:"\ec58"}[data-v-566f9802] .markdown-theme-light pre{font-size:14px!important;line-height:1.6!important;word-break:break-all;word-wrap:break-word;border:0!important;background:#f7f8fb!important;padding:20px 10px!important;border-radius:4px!important;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-566f9802] .markdown-theme-light pre code{font-family:Consolas!important;font-size:13px;line-height:22px!important;color:#444}[data-v-566f9802] .markdown-theme-light .hljs{display:block;overflow-x:auto;color:#525252;padding:15px;-webkit-text-size-adjust:none}[data-v-566f9802] .markdown-theme-light .hljs-doctype{color:#999}[data-v-566f9802] .markdown-theme-light .hljs-tag{color:#3e76f6}[data-v-566f9802] .markdown-theme-light .hljs-attribute{color:#e96900}[data-v-566f9802] .markdown-theme-light .hljs-value{color:#42b983}[data-v-566f9802] .markdown-theme-light .hljs-keyword{color:#e96900}[data-v-566f9802] .markdown-theme-light .hljs-string{color:#42b983}[data-v-566f9802] .markdown-theme-light .hljs-comment{color:#b3b3b3}[data-v-566f9802] .markdown-theme-light .hljs-operator .hljs-comment{color:#525252}[data-v-566f9802] .markdown-theme-light .hljs-regexp{color:#af7dff}[data-v-566f9802] .markdown-theme-light .hljs-built_in{color:#2db7f5}[data-v-566f9802] .markdown-theme-light .css .hljs-class{color:#e96900}[data-v-566f9802] .markdown-theme-light .css .hljs-number,[data-v-566f9802] .markdown-theme-light .javascript .hljs-number{color:#fc1e70}[data-v-566f9802] .markdown-theme-light .css .hljs-attribute{color:#af7dff}[data-v-566f9802] .markdown-theme-light .css .hljs-important{color:red}[data-v-566f9802] .markdown-theme-light .actionscript .hljs-literal,[data-v-566f9802] .markdown-theme-light .javascript .hljs-literal{color:#fc1e70}[data-v-566f9802] .markdown-theme-light pre{padding:0;margin:0;background:#f7f7f7!important}[data-v-566f9802] .markdown-theme-light code{display:inline-block;background:#f7f7f7;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;margin:0 3px;padding:1px 5px;border-radius:3px;color:#666;border:1px solid #eee}[data-v-566f9802] .markdown-theme-light pre code{display:inline;margin:0;padding:0;border:none;background:transparent}[data-v-566f9802] .markdown-theme-light pre.bg code{background:#f7f7f7}[data-v-566f9802] .markdown-theme-dark pre{display:block;padding:20px 10px!important;border-radius:4px;margin:20px 0!important;background:#1e1e1e;color:#dcdcdc;overflow-y:hidden!important;overflow-x:auto!important;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-566f9802] .markdown-theme-dark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace!important}[data-v-566f9802] .markdown-theme-dark code{padding:0!important;margin:0!important}[data-v-566f9802] .markdown-theme-dark .hljs-literal,[data-v-566f9802] .markdown-theme-dark .hljs-name,[data-v-566f9802] .markdown-theme-dark .hljs-symbol{color:#659bd1}[data-v-566f9802] .markdown-theme-dark .hljs-keyword{color:#bc89bd}[data-v-566f9802] .markdown-theme-dark .hljs-link{color:#569cd6;text-decoration:underline}[data-v-566f9802] .markdown-theme-dark .hljs-built_in,[data-v-566f9802] .markdown-theme-dark .hljs-type{color:#4ec9b0}[data-v-566f9802] .markdown-theme-dark .hljs-class,[data-v-566f9802] .markdown-theme-dark .hljs-number{color:#b8d7a3}[data-v-566f9802] .markdown-theme-dark .hljs-meta-string,[data-v-566f9802] .markdown-theme-dark .hljs-string{color:#d69d85}[data-v-566f9802] .markdown-theme-dark .hljs-regexp,[data-v-566f9802] .markdown-theme-dark .hljs-template-tag{color:#9a5334}[data-v-566f9802] .markdown-theme-dark .hljs-formula,[data-v-566f9802] .markdown-theme-dark .hljs-function,[data-v-566f9802] .markdown-theme-dark .hljs-params,[data-v-566f9802] .markdown-theme-dark .hljs-subst,[data-v-566f9802] .markdown-theme-dark .hljs-title{color:#dcdcdc}[data-v-566f9802] .markdown-theme-dark .hljs-comment,[data-v-566f9802] .markdown-theme-dark .hljs-quote{color:#57a64a;font-style:italic}[data-v-566f9802] .markdown-theme-dark .hljs-doctag{color:#608b4e}[data-v-566f9802] .markdown-theme-dark .hljs-meta,[data-v-566f9802] .markdown-theme-dark .hljs-meta-keyword,[data-v-566f9802] .markdown-theme-dark .hljs-tag{color:#9b9b9b}[data-v-566f9802] .markdown-theme-dark .hljs-template-variable,[data-v-566f9802] .markdown-theme-dark .hljs-variable{color:#bd63c5}[data-v-566f9802] .markdown-theme-dark .hljs-attr,[data-v-566f9802] .markdown-theme-dark .hljs-attribute,[data-v-566f9802] .markdown-theme-dark .hljs-builtin-name{color:#9cdcfe}[data-v-566f9802] .markdown-theme-dark .hljs-section{color:gold}[data-v-566f9802] .markdown-theme-dark .hljs-emphasis{font-style:italic}[data-v-566f9802] .markdown-theme-dark .hljs-strong{font-weight:700}[data-v-566f9802] .markdown-theme-dark .hljs-bullet,[data-v-566f9802] .markdown-theme-dark .hljs-selector-attr,[data-v-566f9802] .markdown-theme-dark .hljs-selector-class,[data-v-566f9802] .markdown-theme-dark .hljs-selector-id,[data-v-566f9802] .markdown-theme-dark .hljs-selector-pseudo,[data-v-566f9802] .markdown-theme-dark .hljs-selector-tag{color:#d7ba7d}[data-v-566f9802] .markdown-theme-dark .hljs-addition{background-color:#144212;display:inline-block;width:100%}[data-v-566f9802] .markdown-theme-dark .hljs-deletion{background-color:#600;display:inline-block;width:100%}[data-v-566f9802] .markdown-theme-dark .hljs-comment{font-style:normal}[data-v-566f9802] .markdown-theme-oneDark pre{padding:20px 10px!important;display:block;color:#abb2bf;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace;background:#292c34;border-radius:4px;overflow-y:hidden!important;overflow-x:auto!important;margin:10px 0!important}[data-v-566f9802] .markdown-theme-oneDark pre *{line-height:1.6!important;font-size:14px;font-family:Menlo,Consolas,Courier New,Courier,FreeMono,monospace}[data-v-566f9802] .markdown-theme-oneDark .hljs-comment,[data-v-566f9802] .markdown-theme-oneDark .hljs-quote{color:#5c6370;font-style:italic}[data-v-566f9802] .markdown-theme-oneDark .hljs-doctag,[data-v-566f9802] .markdown-theme-oneDark .hljs-formula,[data-v-566f9802] .markdown-theme-oneDark .hljs-keyword{color:#c678dd}[data-v-566f9802] .markdown-theme-oneDark .hljs-deletion,[data-v-566f9802] .markdown-theme-oneDark .hljs-name,[data-v-566f9802] .markdown-theme-oneDark .hljs-section,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-tag,[data-v-566f9802] .markdown-theme-oneDark .hljs-subst{color:#e06c75}[data-v-566f9802] .markdown-theme-oneDark .hljs-literal{color:#56b6c2}[data-v-566f9802] .markdown-theme-oneDark .hljs-addition,[data-v-566f9802] .markdown-theme-oneDark .hljs-attribute,[data-v-566f9802] .markdown-theme-oneDark .hljs-meta-string,[data-v-566f9802] .markdown-theme-oneDark .hljs-regexp,[data-v-566f9802] .markdown-theme-oneDark .hljs-string{color:#98c379}[data-v-566f9802] .markdown-theme-oneDark .hljs-built_in,[data-v-566f9802] .markdown-theme-oneDark .hljs-class .hljs-title{color:#e6c07b}[data-v-566f9802] .markdown-theme-oneDark .hljs-attr,[data-v-566f9802] .markdown-theme-oneDark .hljs-number,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-attr,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-class,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-pseudo,[data-v-566f9802] .markdown-theme-oneDark .hljs-template-variable,[data-v-566f9802] .markdown-theme-oneDark .hljs-type,[data-v-566f9802] .markdown-theme-oneDark .hljs-variable{color:#d19a66}[data-v-566f9802] .markdown-theme-oneDark .hljs-bullet,[data-v-566f9802] .markdown-theme-oneDark .hljs-link,[data-v-566f9802] .markdown-theme-oneDark .hljs-meta,[data-v-566f9802] .markdown-theme-oneDark .hljs-selector-id,[data-v-566f9802] .markdown-theme-oneDark .hljs-symbol,[data-v-566f9802] .markdown-theme-oneDark .hljs-title{color:#61aeee}[data-v-566f9802] .markdown-theme-oneDark .hljs-emphasis{font-style:italic}[data-v-566f9802] .markdown-theme-oneDark .hljs-strong{font-weight:700}[data-v-566f9802] .markdown-theme-oneDark .hljs-link{text-decoration:underline}[data-v-566f9802] .markdown-theme-gitHub pre{padding:20px 10px!important;display:block;overflow-x:auto;color:#333;background:#f7f8fa!important;font-size:13px;line-height:20px;border-radius:4px;margin:10px 0!important;overflow-x:auto!important}[data-v-566f9802] .markdown-theme-gitHub pre *{font-family:Consolas!important}[data-v-566f9802] .markdown-theme-gitHub .hljs-comment,[data-v-566f9802] .markdown-theme-gitHub .hljs-quote{color:#998;font-style:italic}[data-v-566f9802] .markdown-theme-gitHub .hljs-selector-tag,[data-v-566f9802] .markdown-theme-gitHub .hljs-subst{color:#333;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-keyword{color:#d73a49}[data-v-566f9802] .markdown-theme-gitHub .hljs-literal,[data-v-566f9802] .markdown-theme-gitHub .hljs-number,[data-v-566f9802] .markdown-theme-gitHub .hljs-tag .hljs-attr,[data-v-566f9802] .markdown-theme-gitHub .hljs-template-variable,[data-v-566f9802] .markdown-theme-gitHub .hljs-variable{color:teal}[data-v-566f9802] .markdown-theme-gitHub .hljs-doctag,[data-v-566f9802] .markdown-theme-gitHub .hljs-string{color:#d73a49}[data-v-566f9802] .markdown-theme-gitHub .hljs-section,[data-v-566f9802] .markdown-theme-gitHub .hljs-selector-id,[data-v-566f9802] .markdown-theme-gitHub .hljs-title{color:#900;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-subst{font-weight:400}[data-v-566f9802] .markdown-theme-gitHub .hljs-class .hljs-title,[data-v-566f9802] .markdown-theme-gitHub .hljs-type{color:#458;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-attribute,[data-v-566f9802] .markdown-theme-gitHub .hljs-name,[data-v-566f9802] .markdown-theme-gitHub .hljs-tag{color:navy;font-weight:400}[data-v-566f9802] .markdown-theme-gitHub .hljs-link,[data-v-566f9802] .markdown-theme-gitHub .hljs-regexp{color:#009926}[data-v-566f9802] .markdown-theme-gitHub .hljs-bullet,[data-v-566f9802] .markdown-theme-gitHub .hljs-symbol{color:#990073}[data-v-566f9802] .markdown-theme-gitHub .hljs-built_in,[data-v-566f9802] .markdown-theme-gitHub .hljs-builtin-name{color:#0086b3}[data-v-566f9802] .markdown-theme-gitHub .hljs-meta{color:#999;font-weight:700}[data-v-566f9802] .markdown-theme-gitHub .hljs-deletion{background:#fdd}[data-v-566f9802] .markdown-theme-gitHub .hljs-addition{background:#dfd}[data-v-566f9802] .markdown-theme-gitHub .hljs-emphasis{font-style:italic}[data-v-566f9802] .markdown-theme-gitHub .hljs-strong{font-weight:700}.markdown[data-v-566f9802]{overflow:hidden;position:relative;margin:0;padding:0;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;flex-direction:column;background:#f7f7f7}.markdown.border[data-v-566f9802]{border:1px solid #d9d9d9}.markdown *[data-v-566f9802]{margin:0;padding:0;box-sizing:border-box}.markdown.fullscreen[data-v-566f9802]{position:fixed;z-index:999999;top:0;left:0;right:0;bottom:0;height:100%!important;width:100%;border:none}.markdown.fullscreen .markdown-content[data-v-566f9802]{padding:10px 0 0}.markdown .markdown-toolbars[data-v-566f9802]{width:100%;display:block;list-style:none;background:#fff;color:#6a6f7b;cursor:pointer;padding-left:4px;border-bottom:1px solid #d9d9d9}.markdown .markdown-toolbars>li[data-v-566f9802]{float:left;position:relative;cursor:pointer;margin:0;line-height:normal;min-height:auto}.markdown .markdown-toolbars>li[data-v-566f9802]:after{display:block;content:attr(name);position:absolute;z-index:999999999999;top:32px;left:20px;background:#000;color:#fff;white-space:nowrap;font-size:12px;line-height:28px;padding:0 6px;transition:all .3s .1s;transform:scale(0);opacity:0;transform-origin:top;border-radius:2px}.markdown .markdown-toolbars>li[data-v-566f9802]:hover:after{transform:scale(1);opacity:1}.markdown .markdown-toolbars>li[data-v-566f9802]:last-child:after{right:20%;left:auto}.markdown .markdown-toolbars>li .title[data-v-566f9802]{font-size:16px!important}.markdown .markdown-toolbars>li .icon-svg[data-v-566f9802]{display:flex;align-items:center;justify-content:center}.markdown .markdown-toolbars>li.right[data-v-566f9802]{float:right}.markdown .markdown-toolbars>li.right>ul[data-v-566f9802]{list-style:none}.markdown .markdown-toolbars>li.right>ul>li[data-v-566f9802]{line-height:normal;float:left}.markdown .markdown-toolbars span[data-v-566f9802]{font-size:18px;color:#999;cursor:pointer;display:block;width:30px;height:30px;border-radius:3px;line-height:30px;text-align:center}.markdown .markdown-toolbars span[data-v-566f9802]:hover{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .title[data-v-566f9802]{padding-left:4px;padding-right:10px}.markdown .markdown-toolbars li:last-child span[data-v-566f9802]{font-size:20px!important;margin-right:4px}.markdown .markdown-toolbars .shift-theme[data-v-566f9802],.markdown .markdown-toolbars .export-file[data-v-566f9802]{height:46px;position:relative;display:flex;justify-content:center;align-items:center}.markdown .markdown-toolbars .shift-theme span[data-v-566f9802],.markdown .markdown-toolbars .export-file span[data-v-566f9802]{padding:0 8px;transition:all .3s;font-size:18px;display:inline-block;line-height:32px}.markdown .markdown-toolbars .shift-theme span[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file span[data-v-566f9802]:hover{color:#0084ff;background:#f7f7f7;border-radius:3px}.markdown .markdown-toolbars .shift-theme ul[data-v-566f9802],.markdown .markdown-toolbars .export-file ul[data-v-566f9802]{transform:scale(0);transition:all .3s;left:-50%;top:40px;width:160px;transform-origin:top center;list-style:none;margin:0;padding:6px 0;box-sizing:border-box;border:1px solid #d9d9d9;background:#fff;border-radius:4px;position:absolute;z-index:9999999;box-shadow:0 2px 8px #0000001a}.markdown .markdown-toolbars .shift-theme ul.active[data-v-566f9802],.markdown .markdown-toolbars .export-file ul.active[data-v-566f9802]{opacity:1;transform:scaleY(1)}.markdown .markdown-toolbars .shift-theme ul li[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li[data-v-566f9802]{line-height:30px;padding:0 12px;font-size:13px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center;color:#262626}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-566f9802]{font-size:14px;display:block;height:30px;width:30px;line-height:30px;overflow:hidden}.markdown .markdown-toolbars .shift-theme ul li .iconfont[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file ul li .iconfont[data-v-566f9802]:hover{color:#262626}.markdown .markdown-toolbars .shift-theme ul li i[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li i[data-v-566f9802]{font-size:13px;display:block;font-style:normal;flex:1;white-space:normal}.markdown .markdown-toolbars .shift-theme ul li[data-v-566f9802]:last-child,.markdown .markdown-toolbars .export-file ul li[data-v-566f9802]:last-child{border-bottom:0}.markdown .markdown-toolbars .shift-theme ul li:last-child .iconfont[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li:last-child .iconfont[data-v-566f9802]{font-size:14px!important;margin:0!important}.markdown .markdown-toolbars .shift-theme ul li[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file ul li[data-v-566f9802]:hover{background:#f7f7f7}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-566f9802],.markdown .markdown-toolbars .export-file ul li.disabled[data-v-566f9802]{cursor:not-allowed;color:#bbbec4}.markdown .markdown-toolbars .shift-theme ul li.disabled[data-v-566f9802]:hover,.markdown .markdown-toolbars .export-file ul li.disabled[data-v-566f9802]:hover{background:transparent}.markdown .markdown-toolbars .import-file[data-v-566f9802]{position:relative}.markdown .markdown-toolbars .import-file input[data-v-566f9802]{position:absolute;z-index:9999;left:0;top:0;display:block;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}.markdown .markdown-toolbars .import-file:hover span[data-v-566f9802]{background:#f7f7f7;color:#1890ff}.markdown .markdown-toolbars .import-file[data-v-566f9802]:hover:after{transform:scale(1);opacity:1}.markdown .close-preview[data-v-566f9802]{position:absolute;z-index:999;right:0;top:0;height:40px;width:40px;display:flex;justify-content:center;align-items:center;cursor:pointer;color:#262626}.markdown .close-preview span[data-v-566f9802]{font-size:22px}.markdown .close-preview span[data-v-566f9802]:hover{color:#262626}.markdown .markdown-content[data-v-566f9802]{flex:1;width:100%;display:flex;justify-content:space-between;position:relative;overflow:hidden;padding-bottom:0}.markdown .markdown-content .markdown-editor[data-v-566f9802]{flex:1;height:100%;position:relative;margin:0!important;overflow:hidden;overflow-y:scroll;display:flex;justify-content:space-between;background:#2d2d2d}.markdown .markdown-content .markdown-editor[data-v-566f9802]::-webkit-scrollbar{display:none}.markdown .markdown-content .markdown-editor .index[data-v-566f9802]{background:#272727;min-height:100%;width:36px;line-height:22px;padding:12px 0}.markdown .markdown-content .markdown-editor .index li[data-v-566f9802]{background:#272727;color:#ccc;font-size:14px;text-align:center;font-family:Consolas}.markdown .markdown-content .markdown-editor textarea[data-v-566f9802]{width:100%;min-height:100%;outline:none;border:0;background:#2d2d2d;line-height:22px;caret-color:#ccc;color:#669acc;font-size:14px;font-family:Consolas;resize:none;padding:12px 8px;overflow:hidden;white-space:nowrap;overflow-x:auto}.markdown .markdown-content .markdown-editor textarea[data-v-566f9802]::-moz-selection{background:#999;color:#0084ff}.markdown .markdown-content .markdown-editor textarea[data-v-566f9802]::selection{background:#999;color:#0084ff}.markdown .markdown-content .codemirror[data-v-566f9802]{flex:1;width:0;height:100%;overflow:auto}.markdown .markdown-content .markdown-preview[data-v-566f9802]{flex:1;width:0;height:100%}.markdown ul.toc-anchor[data-v-566f9802]{max-width:260px;min-width:150px;background-color:#f6f8fa;border-left:2px solid #dcdfe6;overflow:auto}.markdown ul.toc-anchor li.toc-anchor-item[data-v-566f9802]{cursor:pointer;padding:6px 16px;font-size:12px;line-height:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.markdown ul.toc-anchor li.toc-anchor-item span[data-v-566f9802]{color:#333;opacity:.8}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-2[data-v-566f9802]{padding-left:16px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-3[data-v-566f9802]{padding-left:32px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-4[data-v-566f9802]{padding-left:48px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-5[data-v-566f9802]{padding-left:64px}.markdown ul.toc-anchor li.toc-anchor-item span.toc-link-action[data-v-566f9802]{color:#2b85e4;opacity:1}.markdown ul.toc-anchor li.toc-anchor-item[data-v-566f9802]:first-child{padding-top:16px}.markdown ul.toc-anchor li.toc-anchor-item:hover span[data-v-566f9802]{opacity:1}.insert-img-model[data-v-566f9802]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99999;background:rgba(0,0,0,.3);padding-top:12%;transition:all .3s;opacity:0;display:none}.insert-img-model .model-container[data-v-566f9802]{background:#fff;width:480px;margin:0 auto;border-radius:4px;transition:all .3s;transform:scale(0);transform-origin:center}.insert-img-model .model-container .model-head[data-v-566f9802]{line-height:32px;padding:0 12px;background:#f7f7f7;border-radius:4px 4px 0 0;box-shadow:0 1px 2px #d9d9d9;display:flex;justify-content:space-between}.insert-img-model .model-container .model-head span[data-v-566f9802]:nth-of-type(2){font-size:14px;padding-left:12px;cursor:pointer}.insert-img-model .model-container .model-head span[data-v-566f9802]:nth-of-type(2):hover{color:#ed3f14}.insert-img-model .model-container .model-content[data-v-566f9802]{padding:0 12px 20px;min-height:180px}.insert-img-model .model-container .model-content .insert-url[data-v-566f9802]{padding:42px 0;display:flex;justify-content:space-between;align-items:center}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]{display:block;border:1px solid #ccc;font-size:14px;padding:4px 8px;line-height:24px;color:#333;background:#fff;border-radius:4px;writing-mode:horizontal-tb;text-rendering:auto;transition:box-shadow 2s;flex:1}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]:focus{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]::-moz-placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url input[data-v-566f9802]::placeholder{color:#c1c1c1}.insert-img-model .model-container .model-content .insert-url a[data-v-566f9802]{display:block;background:#1890ff;color:#fff;line-height:32px;height:32px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:20px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-content .insert-url a[data-v-566f9802]:hover{background:#0169af}.insert-img-model .model-container .model-content .insert-local[data-v-566f9802]{height:120px;border:1px dashed #d9d9d9;border-radius:4px;transition:all .3s;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column;cursor:pointer}.insert-img-model .model-container .model-content .insert-local span[data-v-566f9802]{font-size:40px;color:#d9d9d9;line-height:50px;transition:all .3s}.insert-img-model .model-container .model-content .insert-local p[data-v-566f9802]{font-size:14px;color:#262626;transition:all .3s}.insert-img-model .model-container .model-content .insert-local[data-v-566f9802]:hover{border-color:#1890ff}.insert-img-model .model-container .model-content .insert-local:hover span[data-v-566f9802],.insert-img-model .model-container .model-content .insert-local:hover p[data-v-566f9802]{color:#1890ff}.insert-img-model .model-container .model-content .insert-local input[data-v-566f9802]{display:block;position:absolute;width:100%;height:100%;opacity:0}.insert-img-model .model-container .model-foot[data-v-566f9802]{display:flex;justify-content:flex-end;align-items:center;padding:10px 12px;display:none}.insert-img-model .model-container .model-foot a[data-v-566f9802]{display:block;background:#f7f7f7;color:#262626;line-height:26px;height:26px;font-size:13px;padding:0 12px;border-radius:3px;margin-left:12px;border:1px solid #d9d9d9;transition:all .3s}.insert-img-model .model-container .model-foot a[data-v-566f9802]:hover{background:#d9d9d9}.insert-img-model .model-container .model-foot a.ok[data-v-566f9802]{background:#1890ff;color:#fff;border-color:#1890ff}.insert-img-model .model-container .model-foot a.ok[data-v-566f9802]:hover{background:#0169af}.insert-img-model.active[data-v-566f9802]{opacity:1;display:block}.insert-img-model.active .model-container[data-v-566f9802]{transform:scale(1)}ul.shift[data-v-566f9802]{padding:6px 12px;display:flex;align-items:center}ul.shift span[data-v-566f9802]{font-size:12px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift span.iconfont[data-v-566f9802]{font-size:14px}ul.shift label[data-v-566f9802]{font-size:12px;padding-right:10px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}ul.shift input[type=radio][data-v-566f9802],ul.shift label[data-v-566f9802]{transition:all .6s ease;box-sizing:border-box}ul.shift input[type=radio]+label[data-v-566f9802]:before{content:"\a0";display:inline-block;vertical-align:middle;margin-right:4px;width:8px;height:8px;border-radius:50%;border:1px solid #292d35;padding:2px}ul.shift input[type=radio]:checked+label[data-v-566f9802]:before{background-color:#292d35;background-clip:content-box;padding:2px}ul.shift input[type=radio][data-v-566f9802]{position:absolute;clip:rect(0,0,0,0)}ul.shift input[type=radio]:checked+label[data-v-566f9802]{color:#292d35}[data-v-566f9802] .markdown-preview{flex:1;overflow:hidden;overflow-y:scroll;background:#fff;padding:20px 12px!important;font-family:Tahoma For Number,Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif}[data-v-566f9802] .markdown-preview *{margin:0;padding:0;box-sizing:border-box}[data-v-566f9802] .markdown-preview>div{padding:10px 12px!important;background:#fff}[data-v-566f9802] .markdown-preview>div::-webkit-scrollbar{display:none}[data-v-566f9802] .markdown-preview::-webkit-scrollbar{display:none}[data-v-566f9802] .markdown-preview em{font-style:oblique}[data-v-566f9802] .markdown-preview ul{list-style:none;padding:0 20px}[data-v-566f9802] .markdown-preview ul li{position:relative}[data-v-566f9802] .markdown-preview ul li:after{display:block;content:"";width:8px;height:8px;border-radius:50%;position:absolute;z-index:99;top:12px;left:-16px;background:#262626}[data-v-566f9802] .markdown-preview ol,[data-v-566f9802] .markdown-preview ul{margin:10px 0}[data-v-566f9802] .markdown-preview ol li,[data-v-566f9802] .markdown-preview ul li{font-size:14px!important;color:#262626;line-height:22px!important;padding:4px 0 4px 6px;min-height:28px}[data-v-566f9802] .markdown-preview ol li input[type=checkbox],[data-v-566f9802] .markdown-preview ul li input[type=checkbox]{position:relative;cursor:pointer;overflow:visible;position:absolute;left:-14px;top:5px}[data-v-566f9802] .markdown-preview ol li input[type=checkbox]:before,[data-v-566f9802] .markdown-preview ul li input[type=checkbox]:before{font-family:iconfont!important;color:#999;display:block;width:18px;height:18px;position:absolute;content:"\e684";top:0px;left:-4px;z-index:999999;background-position:center;background:#fff;font-size:18px;text-align:center;line-height:18px}[data-v-566f9802] .markdown-preview ol li input[type=checkbox]:checked:before,[data-v-566f9802] .markdown-preview ul li input[type=checkbox]:checked:before{content:"\e683"}[data-v-566f9802] .markdown-preview ol.toc-anchor,[data-v-566f9802] .markdown-preview ul.toc-anchor{margin:0;padding:0}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item{cursor:pointer;padding:4px 0;font-size:13px!important;line-height:16px!important;min-height:auto;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span{color:#2b85e4;opacity:.9}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-2,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-2{padding-left:16px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-3,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-3{padding-left:32px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-4,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-4{padding-left:48px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item span.toc-link-5,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item span.toc-link-5{padding-left:64px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item:last-child,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item:last-child{padding-bottom:6px}[data-v-566f9802] .markdown-preview ol.toc-anchor li.toc-anchor-item:hover span,[data-v-566f9802] .markdown-preview ul.toc-anchor li.toc-anchor-item:hover span{opacity:1}[data-v-566f9802] .markdown-preview ol{list-style-type:decimal;padding-left:20px}[data-v-566f9802] .markdown-preview ol li{list-style:decimal}[data-v-566f9802] .markdown-preview hr{color:#d9d9d9;height:1px;border:0;border-top:1px solid #d9d9d9;margin:20px 0;padding:0}[data-v-566f9802] .markdown-preview del,[data-v-566f9802] .markdown-preview em,[data-v-566f9802] .markdown-preview strong{display:inline-block}[data-v-566f9802] .markdown-preview blockquote{position:relative;background:#f7f7f7;padding:6px 12px;border-left:5px solid #d9d9d9;border-radius:2px;margin:8px 0}[data-v-566f9802] .markdown-preview h1,[data-v-566f9802] .markdown-preview h2,[data-v-566f9802] .markdown-preview h3,[data-v-566f9802] .markdown-preview h4,[data-v-566f9802] .markdown-preview h5,[data-v-566f9802] .markdown-preview h6{color:#262626}[data-v-566f9802] .markdown-preview h1{font-size:28px;border-bottom:1px solid #d9d9d9}[data-v-566f9802] .markdown-preview h2{font-size:24px}[data-v-566f9802] .markdown-preview h3{font-size:18px}[data-v-566f9802] .markdown-preview h4{font-size:16px}[data-v-566f9802] .markdown-preview h5{font-size:14px}[data-v-566f9802] .markdown-preview h6{font-size:12px}[data-v-566f9802] .markdown-preview h1,[data-v-566f9802] .markdown-preview h2,[data-v-566f9802] .markdown-preview h3,[data-v-566f9802] .markdown-preview h4,[data-v-566f9802] .markdown-preview h5,[data-v-566f9802] .markdown-preview h6{padding:8px 0;font-weight:600}[data-v-566f9802] .markdown-preview p{font-size:14px!important;color:#262626;margin-bottom:8px;line-height:22px}[data-v-566f9802] .markdown-preview img{display:block;max-width:100%;margin:20px 0;cursor:pointer}[data-v-566f9802] .markdown-preview table{width:100%;border:1px solid #d9d9d9;border-bottom:0;background:#fff;border-spacing:0;border-collapse:collapse;margin:20px 0}[data-v-566f9802] .markdown-preview table tr{transition:background .1s}[data-v-566f9802] .markdown-preview table tr td,[data-v-566f9802] .markdown-preview table tr th{padding:4px 8px;font-size:14px;line-height:24px;color:#333;border-bottom:1px solid #d9d9d9;cursor:pointer}[data-v-566f9802] .markdown-preview table th{background:#f8f8f9;text-align:left;font-weight:700}[data-v-566f9802] .markdown-preview table tr:nth-of-type(even) td{background:#fafafa}[data-v-566f9802] .markdown-preview table tr:hover td{background:#f5f5f5}[data-v-566f9802] .markdown-preview table td,[data-v-566f9802] .markdown-preview table th{border:1px solid #d9d9d9;word-break:break-all}[data-v-566f9802] .markdown-preview input[type=checkbox]{display:inline-block;border-radius:0;margin-right:8px}[data-v-566f9802] .markdown-preview a{text-decoration:none;color:#1890ff;font-size:14px;line-height:22px}[data-v-566f9802] .markdown-preview .code-block{position:relative;padding:0!important}[data-v-566f9802] .markdown-preview .code-block .copy-code{position:absolute;z-index:999;top:5px;right:10px;font-size:12px;color:#d9d9d9;line-height:20px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s;opacity:0}[data-v-566f9802] .markdown-preview .code-block .copy-code:hover{color:#1890ff}[data-v-566f9802] .markdown-preview .code-block:hover .copy-code{opacity:1}.preview-img[data-v-566f9802]{position:fixed;width:100vw;height:100vh;z-index:99999999;left:0;top:0;background:rgba(0,0,0,.5);display:none;opacity:0;transition:opacity .3s .1s;justify-content:center;align-items:center}.preview-img .close[data-v-566f9802]{position:absolute;right:0;top:0;color:#fff;padding:10px;font-size:20px;cursor:pointer}.preview-img img[data-v-566f9802]{display:block}.preview-img img.vertical[data-v-566f9802]{height:80%;width:auto}.preview-img img.horizontal[data-v-566f9802]{width:80%;height:auto}.preview-img.active[data-v-566f9802]{display:flex;opacity:1}.mdeditor-transfer{background-color:#fff}.mdeditor-transfer .ivu-modal-header{display:none}.mdeditor-transfer .ivu-modal-close{top:7px}.mdeditor-transfer .mdeditor-transfer-body{position:absolute;top:0;left:0;width:100%;height:100%;padding:0;margin:0}.mdeditor-box[data-v-627a0ab2]{position:relative}.upload-control[data-v-627a0ab2]{display:none;width:0;height:0;overflow:hidden} diff --git a/public/js/build/index.f03606a8.js b/public/js/build/index.03956335.js similarity index 98% rename from public/js/build/index.f03606a8.js rename to public/js/build/index.03956335.js index 2e01f429e..375ceac5c 100644 --- a/public/js/build/index.f03606a8.js +++ b/public/js/build/index.03956335.js @@ -1 +1 @@ -import{n as s}from"./app.bd09c684.js";var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-resize-line",class:[e.resizing?"resizing":"",e.placement],on:{mousedown:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"left",37,i.key,["Left","ArrowLeft"])||"button"in i&&i.button!==0?null:(i.stopPropagation(),i.preventDefault(),e.resizeDown.apply(null,arguments))}}})},u=[];const m={name:"ResizeLine",props:{value:{},min:{type:Number,default:100},max:{type:Number,default:600},placement:{validator(e){return["right","bottom"].includes(e)},default:"bottom"},reverse:{type:Boolean,default:!1},beforeResize:Function},data(){return{resizing:!1,mouseX:0,mouseY:0,offset:{},tmpSize:void 0}},mounted(){document.documentElement.addEventListener("mousemove",this.handleMove,!0),document.documentElement.addEventListener("mouseup",this.handleUp,!0)},methods:{resizeDown(e){if(!this.beforeResize){this.handleDown(e);return}const t=this.beforeResize();t&&t.then?t.then(n=>{this.handleDown(e)}):this.handleDown(e)},handleDown(e){this.mouseX=e.pageX||e.clientX+document.documentElement.scrollLeft,this.mouseY=e.pageY||e.clientY+document.documentElement.scrollTop,this.offset={left:e.target.offsetLeft,top:e.target.offsetTop},this.resizing=!0,typeof this.value=="number"&&(this.tmpSize=this.value),this.$emit("on-change",{event:"down"})},handleMove(e){if(!this.resizing)return;let t=(e.pageX||e.clientX+document.documentElement.scrollLeft)-this.mouseX,n=(e.pageY||e.clientY+document.documentElement.scrollTop)-this.mouseY;if(typeof this.tmpSize=="number"){let i;this.placement=="bottom"?i=this.reverse?this.tmpSize-n:this.tmpSize+n:i=this.reverse?this.tmpSize-t:this.tmpSize+t,this.min>0&&(i=Math.max(this.min,i)),this.max>0&&(i=Math.min(this.max,i)),this.$emit("input",i)}this.$emit("on-change",{event:"move",diff:{x:t,y:n},offset:this.offset})},handleUp(){!this.resizing||(this.resizing=!1,this.tmpSize=void 0,this.$emit("on-change",{event:"up"}))}}},o={};var c=s(m,l,u,!1,d,"3f2fedd4",null,null);function d(e){for(let t in o)this[t]=o[t]}var f=function(){return c.exports}(),h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"body",staticClass:"overlay-body",style:e.bodyStyle},[n("div",{staticClass:"overlay-close"},[n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(i){return i.stopPropagation(),e.onClose.apply(null,arguments)}}},[n("svg",{staticClass:"icon fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none",role:"img"}},[n("path",{attrs:{d:"M8.28596 6.51819C7.7978 6.03003 7.00634 6.03003 6.51819 6.51819C6.03003 7.00634 6.03003 7.7978 6.51819 8.28596L11.2322 13L6.51819 17.714C6.03003 18.2022 6.03003 18.9937 6.51819 19.4818C7.00634 19.97 7.7978 19.97 8.28596 19.4818L13 14.7678L17.714 19.4818C18.2022 19.97 18.9937 19.97 19.4818 19.4818C19.97 18.9937 19.97 18.2022 19.4818 17.714L14.7678 13L19.4818 8.28596C19.97 7.7978 19.97 7.00634 19.4818 6.51819C18.9937 6.03003 18.2022 6.03003 17.714 6.51819L13 11.2322L8.28596 6.51819Z",fill:"currentColor"}})])])]),e.resize?n("ResizeLine",{staticClass:"overlay-resize",attrs:{placement:e.placement,min:e.minSize,max:0,reverse:!0,beforeResize:e.beforeResize},on:{"on-change":e.onChangeResize},model:{value:e.dynamicSize,callback:function(i){e.dynamicSize=i},expression:"dynamicSize"}}):e._e(),n("div",{staticClass:"overlay-content"},[e._t("default")],2)],1)},p=[];const v={name:"DrawerOverlayView",components:{ResizeLine:f},props:{placement:{validator(e){return["right","bottom"].includes(e)},default:"bottom"},size:{type:[Number,String],default:"100%"},minSize:{type:Number,default:300},resize:{type:Boolean,default:!0}},data(){return{dynamicSize:0}},computed:{bodyStyle(){let e=this.dynamicSize;return e=e<=100?`${e}%`:`${e}px`,this.placement=="right"?{width:e,height:"100%"}:{width:"100%",height:e}}},watch:{size:{handler(e){this.dynamicSize=parseInt(e)},immediate:!0}},methods:{onClose(){this.$emit("on-close")},beforeResize(){return new Promise(e=>{this.dynamicSize<=100&&this.updateSize(),e()})},onChangeResize({event:e}){e==="up"&&this.updateSize()},updateSize(){this.placement==="bottom"?this.dynamicSize=this.$refs.body.clientHeight:this.dynamicSize=this.$refs.body.clientWidth}}},r={};var _=s(v,h,p,!1,z,null,null,null);function z(e){for(let t in r)this[t]=r[t]}var y=function(){return _.exports}(),b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{ref:"modal",attrs:{closable:e.escClosable,"mask-closable":e.maskClosable,"footer-hide":!0,"transition-names":[e.$A.isAndroid()?"":`drawer-slide-${e.placement}`,""],beforeClose:e.beforeClose,fullscreen:"","class-name":e.modalClass},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}},[n("DrawerOverlayView",{attrs:{placement:e.placement,size:e.size,minSize:e.minSize,resize:e.resize},on:{"on-close":e.onClose}},[e._t("default")],2)],1)},g=[];const w={name:"DrawerOverlay",components:{DrawerOverlayView:y},props:{value:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},escClosable:{type:Boolean,default:!0},placement:{validator(e){return["right","bottom"].includes(e)},default:"bottom"},size:{type:[Number,String],default:"100%"},minSize:{type:Number,default:300},resize:{type:Boolean,default:!0},className:{type:String},beforeClose:Function},data(){return{show:this.value}},watch:{value(e){this.show=e},show(e){this.value!==e&&this.$emit("input",e)}},computed:{modalClass(){return this.className?`common-drawer-overlay ${this.className} ${this.placement}`:`common-drawer-overlay ${this.placement}`}},methods:{onClose(){this.$refs.modal.close()}}},a={};var S=s(w,b,g,!1,C,null,null,null);function C(e){for(let t in a)this[t]=a[t]}var x=function(){return S.exports}();export{x as D}; +import{n as s}from"./app.139edc4e.js";var l=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"component-resize-line",class:[e.resizing?"resizing":"",e.placement],on:{mousedown:function(i){return!i.type.indexOf("key")&&e._k(i.keyCode,"left",37,i.key,["Left","ArrowLeft"])||"button"in i&&i.button!==0?null:(i.stopPropagation(),i.preventDefault(),e.resizeDown.apply(null,arguments))}}})},u=[];const m={name:"ResizeLine",props:{value:{},min:{type:Number,default:100},max:{type:Number,default:600},placement:{validator(e){return["right","bottom"].includes(e)},default:"bottom"},reverse:{type:Boolean,default:!1},beforeResize:Function},data(){return{resizing:!1,mouseX:0,mouseY:0,offset:{},tmpSize:void 0}},mounted(){document.documentElement.addEventListener("mousemove",this.handleMove,!0),document.documentElement.addEventListener("mouseup",this.handleUp,!0)},methods:{resizeDown(e){if(!this.beforeResize){this.handleDown(e);return}const t=this.beforeResize();t&&t.then?t.then(n=>{this.handleDown(e)}):this.handleDown(e)},handleDown(e){this.mouseX=e.pageX||e.clientX+document.documentElement.scrollLeft,this.mouseY=e.pageY||e.clientY+document.documentElement.scrollTop,this.offset={left:e.target.offsetLeft,top:e.target.offsetTop},this.resizing=!0,typeof this.value=="number"&&(this.tmpSize=this.value),this.$emit("on-change",{event:"down"})},handleMove(e){if(!this.resizing)return;let t=(e.pageX||e.clientX+document.documentElement.scrollLeft)-this.mouseX,n=(e.pageY||e.clientY+document.documentElement.scrollTop)-this.mouseY;if(typeof this.tmpSize=="number"){let i;this.placement=="bottom"?i=this.reverse?this.tmpSize-n:this.tmpSize+n:i=this.reverse?this.tmpSize-t:this.tmpSize+t,this.min>0&&(i=Math.max(this.min,i)),this.max>0&&(i=Math.min(this.max,i)),this.$emit("input",i)}this.$emit("on-change",{event:"move",diff:{x:t,y:n},offset:this.offset})},handleUp(){!this.resizing||(this.resizing=!1,this.tmpSize=void 0,this.$emit("on-change",{event:"up"}))}}},o={};var c=s(m,l,u,!1,d,"3f2fedd4",null,null);function d(e){for(let t in o)this[t]=o[t]}var f=function(){return c.exports}(),h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"body",staticClass:"overlay-body",style:e.bodyStyle},[n("div",{staticClass:"overlay-close"},[n("a",{attrs:{href:"javascript:void(0)"},on:{click:function(i){return i.stopPropagation(),e.onClose.apply(null,arguments)}}},[n("svg",{staticClass:"icon fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",fill:"none",role:"img"}},[n("path",{attrs:{d:"M8.28596 6.51819C7.7978 6.03003 7.00634 6.03003 6.51819 6.51819C6.03003 7.00634 6.03003 7.7978 6.51819 8.28596L11.2322 13L6.51819 17.714C6.03003 18.2022 6.03003 18.9937 6.51819 19.4818C7.00634 19.97 7.7978 19.97 8.28596 19.4818L13 14.7678L17.714 19.4818C18.2022 19.97 18.9937 19.97 19.4818 19.4818C19.97 18.9937 19.97 18.2022 19.4818 17.714L14.7678 13L19.4818 8.28596C19.97 7.7978 19.97 7.00634 19.4818 6.51819C18.9937 6.03003 18.2022 6.03003 17.714 6.51819L13 11.2322L8.28596 6.51819Z",fill:"currentColor"}})])])]),e.resize?n("ResizeLine",{staticClass:"overlay-resize",attrs:{placement:e.placement,min:e.minSize,max:0,reverse:!0,beforeResize:e.beforeResize},on:{"on-change":e.onChangeResize},model:{value:e.dynamicSize,callback:function(i){e.dynamicSize=i},expression:"dynamicSize"}}):e._e(),n("div",{staticClass:"overlay-content"},[e._t("default")],2)],1)},p=[];const v={name:"DrawerOverlayView",components:{ResizeLine:f},props:{placement:{validator(e){return["right","bottom"].includes(e)},default:"bottom"},size:{type:[Number,String],default:"100%"},minSize:{type:Number,default:300},resize:{type:Boolean,default:!0}},data(){return{dynamicSize:0}},computed:{bodyStyle(){let e=this.dynamicSize;return e=e<=100?`${e}%`:`${e}px`,this.placement=="right"?{width:e,height:"100%"}:{width:"100%",height:e}}},watch:{size:{handler(e){this.dynamicSize=parseInt(e)},immediate:!0}},methods:{onClose(){this.$emit("on-close")},beforeResize(){return new Promise(e=>{this.dynamicSize<=100&&this.updateSize(),e()})},onChangeResize({event:e}){e==="up"&&this.updateSize()},updateSize(){this.placement==="bottom"?this.dynamicSize=this.$refs.body.clientHeight:this.dynamicSize=this.$refs.body.clientWidth}}},r={};var _=s(v,h,p,!1,z,null,null,null);function z(e){for(let t in r)this[t]=r[t]}var y=function(){return _.exports}(),b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Modal",{ref:"modal",attrs:{closable:e.escClosable,"mask-closable":e.maskClosable,"footer-hide":!0,"transition-names":[e.$A.isAndroid()?"":`drawer-slide-${e.placement}`,""],beforeClose:e.beforeClose,fullscreen:"","class-name":e.modalClass},model:{value:e.show,callback:function(i){e.show=i},expression:"show"}},[n("DrawerOverlayView",{attrs:{placement:e.placement,size:e.size,minSize:e.minSize,resize:e.resize},on:{"on-close":e.onClose}},[e._t("default")],2)],1)},g=[];const w={name:"DrawerOverlay",components:{DrawerOverlayView:y},props:{value:{type:Boolean,default:!1},maskClosable:{type:Boolean,default:!0},escClosable:{type:Boolean,default:!0},placement:{validator(e){return["right","bottom"].includes(e)},default:"bottom"},size:{type:[Number,String],default:"100%"},minSize:{type:Number,default:300},resize:{type:Boolean,default:!0},className:{type:String},beforeClose:Function},data(){return{show:this.value}},watch:{value(e){this.show=e},show(e){this.value!==e&&this.$emit("input",e)}},computed:{modalClass(){return this.className?`common-drawer-overlay ${this.className} ${this.placement}`:`common-drawer-overlay ${this.placement}`}},methods:{onClose(){this.$refs.modal.close()}}},a={};var S=s(w,b,g,!1,C,null,null,null);function C(e){for(let t in a)this[t]=a[t]}var x=function(){return S.exports}();export{x as D}; diff --git a/public/js/build/index.2ea00280.js b/public/js/build/index.12fe75c7.js similarity index 99% rename from public/js/build/index.2ea00280.js rename to public/js/build/index.12fe75c7.js index d0c32be1d..10b992f99 100644 --- a/public/js/build/index.2ea00280.js +++ b/public/js/build/index.12fe75c7.js @@ -1 +1 @@ -import{l as n,a as o,m as d,s as l,n as g}from"./app.bd09c684.js";import{U as m}from"./UpdateLog.cb948ed8.js";var c=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.needStartHome?e("div",{staticClass:"page-index"},[e("PageTitle",{attrs:{title:t.appTitle}}),e("div",{staticClass:"page-warp"},[e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-nav"},[t._m(0),t.windowWidth>780?e("div",{staticClass:"header-nav-box header-nav-boxs"},[t.showItem.pro?e("Button",{staticClass:"header-right-pro no-dark-content",attrs:{size:"small"},on:{click:t.onPro}},[t._v(t._s(t.$L("Pro\u7248")))]):t._e(),t.windowWidth>=820?[t.showItem.github?e("a",{staticClass:"header-right-github",attrs:{href:t.showItem.github,target:"_blank"}},[e("Icon",{attrs:{type:"logo-github"}})],1):t._e(),t.showItem.updateLog?e("div",{staticClass:"header-right-uplog",on:{click:function(s){t.uplogShow=!0}}},[t._v(t._s(t.$L("\u66F4\u65B0\u65E5\u5FD7")))]):t._e()]:t._e(),e("div",{staticClass:"header-right-1"},[e("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.onLanguage}},[e("a",{staticClass:"header-right-1-dropdown",attrs:{href:"javascript:void(0)"}},[t._v(" "+t._s(t.currentLanguage)+" "),e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:a,selected:t.languageType===a}},[t._v(t._s(s))])}),1)],1)],1),t.windowWidth>=980?e("div",{staticClass:"header-right-2"},[e("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.setTheme}},[e("a",{staticClass:"header-right-2-dropdown",attrs:{href:"javascript:void(0)"}},[t._v(" "+t._s(t.$L("\u4E3B\u9898\u76AE\u80A4"))+" "),e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:s.value,selected:t.themeMode===s.value}},[t._v(t._s(t.$L(s.name)))])}),1)],1)],1):t._e(),t.userId>0?e("div",{staticClass:"header-right-5 no-dark-content",on:{click:t.login}},[e("UserAvatar",{attrs:{userid:t.userId,size:38}})],1):[e("div",{staticClass:"header-right-3",on:{click:t.register}},[t._v(t._s(t.$L("\u6CE8\u518C\u5E10\u53F7")))]),e("div",{staticClass:"header-right-4 no-dark-content",on:{click:t.login}},[t._v(t._s(t.$L("\u767B\u5F55")))])]],2):e("div",{staticClass:"header-nav-box header-nav-boxs"},[e("Dropdown",{attrs:{trigger:"click"}},[e("a",{attrs:{href:"javascript:void(0)"}},[e("Icon",{staticClass:"header-nav-more no-dark-content",attrs:{type:"md-menu"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t.userId>0?e("DropdownItem",{nativeOn:{click:function(s){return t.login.apply(null,arguments)}}},[e("UserAvatar",{attrs:{userid:t.userId,"show-name":"","show-icon":!1}})],1):[e("DropdownItem",{nativeOn:{click:function(s){return t.login.apply(null,arguments)}}},[t._v(t._s(t.$L("\u767B\u5F55")))]),e("DropdownItem",{nativeOn:{click:function(s){return t.register.apply(null,arguments)}}},[t._v(t._s(t.$L("\u6CE8\u518C\u5E10\u53F7")))])],t.showItem.github?e("DropdownItem",{nativeOn:{click:function(s){return t.windowOpen(t.showItem.github)}}},[t._v("Github")]):t._e(),t.showItem.updateLog?e("DropdownItem",{nativeOn:{click:function(s){t.uplogShow=!0}}},[t._v(t._s(t.$L("\u66F4\u65B0\u65E5\u5FD7")))]):t._e(),e("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":t.onLanguage}},[e("DropdownItem",[e("div",{staticClass:"header-nav-dropdown-item"},[t._v(" "+t._s(t.currentLanguage)+" "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:a,selected:t.languageType===a}},[t._v(t._s(s))])}),1)],1),e("Dropdown",{attrs:{trigger:"click",placement:"right-end",transfer:""},on:{"on-click":t.setTheme}},[e("DropdownItem",[e("div",{staticClass:"header-nav-dropdown-item"},[t._v(" "+t._s(t.$L("\u4E3B\u9898\u76AE\u80A4"))+" "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:s.value,selected:t.themeMode===s.value}},[t._v(t._s(t.$L(s.name)))])}),1)],1)],2)],1)],1)]),e("div",{staticClass:"header-content"},[e("div",{staticClass:"header-title header-title-one"},[t._v(t._s(t.appTitle))]),e("div",{staticClass:"header-title"},[t._v(" "+t._s(t.$L("\u8F7B\u91CF\u7EA7\u4EFB\u52A1\u7BA1\u7406\u5DE5\u5177"))+" ")]),e("div",{staticClass:"header-tips"},[t._v(" "+t._s(t.$L(`${t.appTitle}\u662F\u4E00\u6B3E\u8F7B\u91CF\u7EA7\u7684\u5F00\u6E90\u5728\u7EBF\u9879\u76EE\u4EFB\u52A1\u7BA1\u7406\u5DE5\u5177\uFF0C\u63D0\u4F9B\u5404\u7C7B\u6587\u6863\u534F\u4F5C\u5DE5\u5177\u3001\u5728\u7EBF\u601D\u7EF4\u5BFC\u56FE\u3001\u5728\u7EBF\u6D41\u7A0B\u56FE\u3001\u9879\u76EE\u7BA1\u7406\u3001\u4EFB\u52A1\u5206\u53D1\u3001\u5373\u65F6IM\uFF0C\u6587\u4EF6\u7BA1\u7406\u7B49\u5DE5\u5177\u3002`))+" ")]),e("div",{staticClass:"login-buttom no-dark-content",on:{click:t.login}},[t._v(" "+t._s(t.$L("\u767B\u5F55"))+" ")])])]),e("div",{staticClass:"page-header-bottom"},[e("div",{staticClass:"page-header-bottoms"},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/1.png":"images/index/light/1.png"}})],1)]),e("div",{staticClass:"page-main"},[e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/2.png":"images/index/light/2.png"}})],1),t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u9AD8\u6548\u4FBF\u6377\u7684\u56E2\u961F\u6C9F\u901A\u5DE5\u5177")))]),e("p",[t._v(t._s(t.$L("\u9488\u5BF9\u9879\u76EE\u548C\u4EFB\u52A1\u5EFA\u7ACB\u7FA4\u7EC4\uFF0C\u5DE5\u4F5C\u95EE\u9898\u53EF\u53CA\u65F6\u6C9F\u901A\uFF0C\u4FC3\u8FDB\u56E2\u961F\u5FEB\u901F\u534F\u4F5C\uFF0C\u63D0\u9AD8\u56E2\u961F\u5DE5\u4F5C\u6548\u7387\u3002")))])],1):e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u9AD8\u6548\u4FBF\u6377\u7684\u56E2\u961F\u6C9F\u901A\u5DE5\u5177")))],1),e("p",[t._v(t._s(t.$L("\u9488\u5BF9\u9879\u76EE\u548C\u4EFB\u52A1\u5EFA\u7ACB\u7FA4\u7EC4\uFF0C\u5DE5\u4F5C\u95EE\u9898\u53EF\u53CA\u65F6\u6C9F\u901A\uFF0C\u4FC3\u8FDB\u56E2\u961F\u5FEB\u901F\u534F\u4F5C\uFF0C\u63D0\u9AD8\u56E2\u961F\u5DE5\u4F5C\u6548\u7387\u3002")))])])],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u5F3A\u5927\u6613\u7528\u7684\u534F\u540C\u521B\u4F5C\u4E91\u6587\u6863")))]),e("p",[t._v(t._s(t.$L("\u6C47\u96C6\u6587\u6863\u3001\u7535\u5B50\u8868\u683C\u3001\u601D\u7EF4\u7B14\u8BB0\u7B49\u591A\u79CD\u5728\u7EBF\u5DE5\u5177\uFF0C\u6C47\u805A\u4F01\u4E1A\u77E5\u8BC6\u8D44\u6E90\u4E8E\u4E00\u5904\uFF0C\u652F\u6301\u591A\u4EBA\u5B9E\u65F6\u534F\u540C\u7F16\u8F91\uFF0C\u8BA9\u56E2\u961F\u534F\u4F5C\u66F4\u4FBF\u6377\u3002")))])],1):t._e(),e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/3.png":"images/index/light/3.png"}})],1),t.windowWidth<=1200?e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u5F3A\u5927\u6613\u7528\u7684\u534F\u540C\u521B\u4F5C\u4E91\u6587\u6863")))],1),e("p",[t._v(t._s(t.$L("\u6C47\u96C6\u6587\u6863\u3001\u7535\u5B50\u8868\u683C\u3001\u601D\u7EF4\u7B14\u8BB0\u7B49\u591A\u79CD\u5728\u7EBF\u5DE5\u5177\uFF0C\u6C47\u805A\u4F01\u4E1A\u77E5\u8BC6\u8D44\u6E90\u4E8E\u4E00\u5904\uFF0C\u652F\u6301\u591A\u4EBA\u5B9E\u65F6\u534F\u540C\u7F16\u8F91\uFF0C\u8BA9\u56E2\u961F\u534F\u4F5C\u66F4\u4FBF\u6377\u3002")))])]):t._e()],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/4.png":"images/index/light/4.png"}})],1),t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u4FBF\u6377\u6613\u7528\u7684\u9879\u76EE\u7BA1\u7406\u6A21\u677F")))]),e("p",[t._v(t._s(t.$L("\u6A21\u7248\u6EE1\u8DB3\u591A\u79CD\u56E2\u961F\u534F\u4F5C\u573A\u666F\uFF0C\u540C\u65F6\u652F\u6301\u81EA\u5B9A\u4E49\u6A21\u7248\uFF0C\u6EE1\u8DB3\u56E2\u961F\u4E2A\u6027\u5316\u573A\u666F\u7BA1\u7406\u9700\u6C42\uFF0C\u53EF\u76F4\u89C2\u7684\u67E5\u770B\u9879\u76EE\u7684\u8FDB\u5C55\u60C5\u51B5\uFF0C\u56E2\u961F\u534F\u4F5C\u66F4\u65B9\u4FBF\u3002")))])],1):e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u4FBF\u6377\u6613\u7528\u7684\u9879\u76EE\u7BA1\u7406\u6A21\u677F")))],1),e("p",[t._v(t._s(t.$L("\u6A21\u7248\u6EE1\u8DB3\u591A\u79CD\u56E2\u961F\u534F\u4F5C\u573A\u666F\uFF0C\u540C\u65F6\u652F\u6301\u81EA\u5B9A\u4E49\u6A21\u7248\uFF0C\u6EE1\u8DB3\u56E2\u961F\u4E2A\u6027\u5316\u573A\u666F\u7BA1\u7406\u9700\u6C42\uFF0C\u53EF\u76F4\u89C2\u7684\u67E5\u770B\u9879\u76EE\u7684\u8FDB\u5C55\u60C5\u51B5\uFF0C\u56E2\u961F\u534F\u4F5C\u66F4\u65B9\u4FBF\u3002")))])])],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u6E05\u6670\u76F4\u89C2\u7684\u4EFB\u52A1\u65E5\u5386")))]),e("p",[t._v(t._s(t.$L("\u901A\u8FC7\u7075\u6D3B\u7684\u4EFB\u52A1\u65E5\u5386\uFF0C\u8F7B\u677E\u5B89\u6392\u6BCF\u4E00\u5929\u7684\u65E5\u7A0B\uFF0C\u628A\u4EFB\u52A1\u62C6\u89E3\u5230\u6BCF\u5929\uFF0C\u8BA9\u5DE5\u4F5C\u76EE\u6807\u66F4\u6E05\u6670\uFF0C\u65F6\u95F4\u5206\u914D\u66F4\u5408\u7406\u3002")))])],1):t._e(),e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/5.png":"images/index/light/5.png"}})],1),t.windowWidth<=1200?e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u6E05\u6670\u76F4\u89C2\u7684\u4EFB\u52A1\u65E5\u5386")))],1),e("p",[t._v(t._s(t.$L("\u901A\u8FC7\u7075\u6D3B\u7684\u4EFB\u52A1\u65E5\u5386\uFF0C\u8F7B\u677E\u5B89\u6392\u6BCF\u4E00\u5929\u7684\u65E5\u7A0B\uFF0C\u628A\u4EFB\u52A1\u62C6\u89E3\u5230\u6BCF\u5929\uFF0C\u8BA9\u5DE5\u4F5C\u76EE\u6807\u66F4\u6E05\u6670\uFF0C\u65F6\u95F4\u5206\u914D\u66F4\u5408\u7406\u3002")))])]):t._e()],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/6.png":"images/index/light/6.png"}})],1),t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u652F\u6301\u591A\u5E73\u53F0\u5E94\u7528")))]),e("p",[t._v(t._s(t.$L("\u591A\u5E73\u53F0\u5E94\u7528\u652F\u6301\uFF0C\u6253\u5F00\u5BA2\u6237\u7AEF\u5373\u53EF\u8DDF\u8FDB\u9879\u76EE\u4EFB\u52A1\u8FDB\u5EA6\uFF0C \u540C\u65F6\u8BA9\u4F60\u5728\u5DE5\u4F5C\u4E2D\u6BCF\u4E00\u4E2A\u6B65\u9AA4\u90FD\u80FD\u62E5\u6709\u66F4\u9AD8\u6548\u6109\u60A6\u7684\u4F53\u9A8C\u3002")))])],1):e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u652F\u6301\u591A\u5E73\u53F0\u5E94\u7528")))],1),e("p",[t._v(t._s(t.$L("\u591A\u5E73\u53F0\u5E94\u7528\u652F\u6301\uFF0C\u6253\u5F00\u5BA2\u6237\u7AEF\u5373\u53EF\u8DDF\u8FDB\u9879\u76EE\u4EFB\u52A1\u8FDB\u5EA6\uFF0C \u540C\u65F6\u8BA9\u4F60\u5728\u5DE5\u4F5C\u4E2D\u6BCF\u4E00\u4E2A\u6B65\u9AA4\u90FD\u80FD\u62E5\u6709\u66F4\u9AD8\u6548\u6109\u60A6\u7684\u4F53\u9A8C\u3002")))])])],1)],1),e("div",{staticClass:"page-footer"},[e("div",{staticClass:"footer-service no-dark-content"},[e("div",{staticClass:"footer-bg-box"},[e("div",{staticClass:"box-title"},[t._v(t._s(t.$L(`\u5F00\u542F\u60A8\u7684 ${t.appTitle} \u56E2\u961F\u534F\u4F5C`)))]),e("div",{staticClass:"buttom-box"},[e("div",{staticClass:"login-btn",on:{click:t.login}},[t._v(t._s(t.$L("\u7ACB\u5373\u767B\u5F55")))]),e("div",{staticClass:"reg-btn",on:{click:t.register}},[t._v(t._s(t.$L("\u6CE8\u518C")))])])])]),t.homeFooter?e("div",{staticClass:"footer-copyright",domProps:{innerHTML:t._s(t.homeFooter)}}):t._e()])]),e("UpdateLog",{attrs:{"update-log":t.showItem.updateLog,"update-ver":t.showItem.updateVer},model:{value:t.uplogShow,callback:function(s){t.uplogShow=s},expression:"uplogShow"}})],1):t._e()},h=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"header-nav-box"},[e("div",{staticClass:"logo no-dark-content"})])}];const p={components:{UpdateLog:m},data(){return{languageList:n,languageType:o,showItem:{pro:!1,github:"",updateLog:"",updateVer:""},needStartHome:!1,homeFooter:"",uplogShow:!1}},computed:{...d(["themeMode","themeIsDark","themeList"]),isSoftware(){return this.$Electron||this.$isEEUiApp},currentLanguage(){return n[o]||"Language"},appTitle(){return window.systemInfo.title||"DooTask"}},mounted(){/^https*:/i.test(window.location.protocol)&&(this.$router.mode==="hash"?$A.stringLength(window.location.pathname)>2&&(window.location.href=`${window.location.origin}/#${window.location.pathname}${window.location.search}`):this.$router.mode==="history"&&$A.strExists(window.location.href,"/#/")&&(window.location.href=window.location.href.replace("/#/","/")))},activated(){this.getShowItem(),this.getNeedStartHome()},methods:{onPro(){this.goForward({name:"pro"})},setTheme(t){this.$store.dispatch("setTheme",t)},login(){this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0)},register(){this.goForward({name:"login",query:{type:"reg"}})},windowOpen(t){window.open(t)},getShowItem(){this.$store.dispatch("call",{url:"system/get/showitem",spinner:1e3}).then(({data:t})=>{this.showItem=t}).catch(t=>{this.showItem={}})},getNeedStartHome(){if(this.isSoftware){this.needStartHome=!1,this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0);return}this.$store.dispatch("showSpinner",1e3),this.$store.dispatch("needHome").then(({home_footer:t})=>{this.needStartHome=!0,this.homeFooter=t}).catch(t=>{this.needStartHome=!1,this.goNext()}).finally(t=>{this.$store.dispatch("hiddenSpinner")})},goNext(){this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0)},onLanguage(t){l(t)}}},r={};var w=g(p,c,h,!1,u,null,null,null);function u(t){for(let i in r)this[i]=r[i]}var x=function(){return w.exports}();export{x as default}; +import{l as n,a as o,m as d,s as l,n as g}from"./app.139edc4e.js";import{U as m}from"./UpdateLog.3dc5cd8a.js";var c=function(){var t=this,i=t.$createElement,e=t._self._c||i;return t.needStartHome?e("div",{staticClass:"page-index"},[e("PageTitle",{attrs:{title:t.appTitle}}),e("div",{staticClass:"page-warp"},[e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-nav"},[t._m(0),t.windowWidth>780?e("div",{staticClass:"header-nav-box header-nav-boxs"},[t.showItem.pro?e("Button",{staticClass:"header-right-pro no-dark-content",attrs:{size:"small"},on:{click:t.onPro}},[t._v(t._s(t.$L("Pro\u7248")))]):t._e(),t.windowWidth>=820?[t.showItem.github?e("a",{staticClass:"header-right-github",attrs:{href:t.showItem.github,target:"_blank"}},[e("Icon",{attrs:{type:"logo-github"}})],1):t._e(),t.showItem.updateLog?e("div",{staticClass:"header-right-uplog",on:{click:function(s){t.uplogShow=!0}}},[t._v(t._s(t.$L("\u66F4\u65B0\u65E5\u5FD7")))]):t._e()]:t._e(),e("div",{staticClass:"header-right-1"},[e("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.onLanguage}},[e("a",{staticClass:"header-right-1-dropdown",attrs:{href:"javascript:void(0)"}},[t._v(" "+t._s(t.currentLanguage)+" "),e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:a,selected:t.languageType===a}},[t._v(t._s(s))])}),1)],1)],1),t.windowWidth>=980?e("div",{staticClass:"header-right-2"},[e("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.setTheme}},[e("a",{staticClass:"header-right-2-dropdown",attrs:{href:"javascript:void(0)"}},[t._v(" "+t._s(t.$L("\u4E3B\u9898\u76AE\u80A4"))+" "),e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:s.value,selected:t.themeMode===s.value}},[t._v(t._s(t.$L(s.name)))])}),1)],1)],1):t._e(),t.userId>0?e("div",{staticClass:"header-right-5 no-dark-content",on:{click:t.login}},[e("UserAvatar",{attrs:{userid:t.userId,size:38}})],1):[e("div",{staticClass:"header-right-3",on:{click:t.register}},[t._v(t._s(t.$L("\u6CE8\u518C\u5E10\u53F7")))]),e("div",{staticClass:"header-right-4 no-dark-content",on:{click:t.login}},[t._v(t._s(t.$L("\u767B\u5F55")))])]],2):e("div",{staticClass:"header-nav-box header-nav-boxs"},[e("Dropdown",{attrs:{trigger:"click"}},[e("a",{attrs:{href:"javascript:void(0)"}},[e("Icon",{staticClass:"header-nav-more no-dark-content",attrs:{type:"md-menu"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t.userId>0?e("DropdownItem",{nativeOn:{click:function(s){return t.login.apply(null,arguments)}}},[e("UserAvatar",{attrs:{userid:t.userId,"show-name":"","show-icon":!1}})],1):[e("DropdownItem",{nativeOn:{click:function(s){return t.login.apply(null,arguments)}}},[t._v(t._s(t.$L("\u767B\u5F55")))]),e("DropdownItem",{nativeOn:{click:function(s){return t.register.apply(null,arguments)}}},[t._v(t._s(t.$L("\u6CE8\u518C\u5E10\u53F7")))])],t.showItem.github?e("DropdownItem",{nativeOn:{click:function(s){return t.windowOpen(t.showItem.github)}}},[t._v("Github")]):t._e(),t.showItem.updateLog?e("DropdownItem",{nativeOn:{click:function(s){t.uplogShow=!0}}},[t._v(t._s(t.$L("\u66F4\u65B0\u65E5\u5FD7")))]):t._e(),e("Dropdown",{attrs:{placement:"right-start",transfer:""},on:{"on-click":t.onLanguage}},[e("DropdownItem",[e("div",{staticClass:"header-nav-dropdown-item"},[t._v(" "+t._s(t.currentLanguage)+" "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.languageList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:a,selected:t.languageType===a}},[t._v(t._s(s))])}),1)],1),e("Dropdown",{attrs:{trigger:"click",placement:"right-end",transfer:""},on:{"on-click":t.setTheme}},[e("DropdownItem",[e("div",{staticClass:"header-nav-dropdown-item"},[t._v(" "+t._s(t.$L("\u4E3B\u9898\u76AE\u80A4"))+" "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.themeList,function(s,a){return e("DropdownItem",{key:a,attrs:{name:s.value,selected:t.themeMode===s.value}},[t._v(t._s(t.$L(s.name)))])}),1)],1)],2)],1)],1)]),e("div",{staticClass:"header-content"},[e("div",{staticClass:"header-title header-title-one"},[t._v(t._s(t.appTitle))]),e("div",{staticClass:"header-title"},[t._v(" "+t._s(t.$L("\u8F7B\u91CF\u7EA7\u4EFB\u52A1\u7BA1\u7406\u5DE5\u5177"))+" ")]),e("div",{staticClass:"header-tips"},[t._v(" "+t._s(t.$L(`${t.appTitle}\u662F\u4E00\u6B3E\u8F7B\u91CF\u7EA7\u7684\u5F00\u6E90\u5728\u7EBF\u9879\u76EE\u4EFB\u52A1\u7BA1\u7406\u5DE5\u5177\uFF0C\u63D0\u4F9B\u5404\u7C7B\u6587\u6863\u534F\u4F5C\u5DE5\u5177\u3001\u5728\u7EBF\u601D\u7EF4\u5BFC\u56FE\u3001\u5728\u7EBF\u6D41\u7A0B\u56FE\u3001\u9879\u76EE\u7BA1\u7406\u3001\u4EFB\u52A1\u5206\u53D1\u3001\u5373\u65F6IM\uFF0C\u6587\u4EF6\u7BA1\u7406\u7B49\u5DE5\u5177\u3002`))+" ")]),e("div",{staticClass:"login-buttom no-dark-content",on:{click:t.login}},[t._v(" "+t._s(t.$L("\u767B\u5F55"))+" ")])])]),e("div",{staticClass:"page-header-bottom"},[e("div",{staticClass:"page-header-bottoms"},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/1.png":"images/index/light/1.png"}})],1)]),e("div",{staticClass:"page-main"},[e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/2.png":"images/index/light/2.png"}})],1),t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u9AD8\u6548\u4FBF\u6377\u7684\u56E2\u961F\u6C9F\u901A\u5DE5\u5177")))]),e("p",[t._v(t._s(t.$L("\u9488\u5BF9\u9879\u76EE\u548C\u4EFB\u52A1\u5EFA\u7ACB\u7FA4\u7EC4\uFF0C\u5DE5\u4F5C\u95EE\u9898\u53EF\u53CA\u65F6\u6C9F\u901A\uFF0C\u4FC3\u8FDB\u56E2\u961F\u5FEB\u901F\u534F\u4F5C\uFF0C\u63D0\u9AD8\u56E2\u961F\u5DE5\u4F5C\u6548\u7387\u3002")))])],1):e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u9AD8\u6548\u4FBF\u6377\u7684\u56E2\u961F\u6C9F\u901A\u5DE5\u5177")))],1),e("p",[t._v(t._s(t.$L("\u9488\u5BF9\u9879\u76EE\u548C\u4EFB\u52A1\u5EFA\u7ACB\u7FA4\u7EC4\uFF0C\u5DE5\u4F5C\u95EE\u9898\u53EF\u53CA\u65F6\u6C9F\u901A\uFF0C\u4FC3\u8FDB\u56E2\u961F\u5FEB\u901F\u534F\u4F5C\uFF0C\u63D0\u9AD8\u56E2\u961F\u5DE5\u4F5C\u6548\u7387\u3002")))])])],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u5F3A\u5927\u6613\u7528\u7684\u534F\u540C\u521B\u4F5C\u4E91\u6587\u6863")))]),e("p",[t._v(t._s(t.$L("\u6C47\u96C6\u6587\u6863\u3001\u7535\u5B50\u8868\u683C\u3001\u601D\u7EF4\u7B14\u8BB0\u7B49\u591A\u79CD\u5728\u7EBF\u5DE5\u5177\uFF0C\u6C47\u805A\u4F01\u4E1A\u77E5\u8BC6\u8D44\u6E90\u4E8E\u4E00\u5904\uFF0C\u652F\u6301\u591A\u4EBA\u5B9E\u65F6\u534F\u540C\u7F16\u8F91\uFF0C\u8BA9\u56E2\u961F\u534F\u4F5C\u66F4\u4FBF\u6377\u3002")))])],1):t._e(),e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/3.png":"images/index/light/3.png"}})],1),t.windowWidth<=1200?e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u5F3A\u5927\u6613\u7528\u7684\u534F\u540C\u521B\u4F5C\u4E91\u6587\u6863")))],1),e("p",[t._v(t._s(t.$L("\u6C47\u96C6\u6587\u6863\u3001\u7535\u5B50\u8868\u683C\u3001\u601D\u7EF4\u7B14\u8BB0\u7B49\u591A\u79CD\u5728\u7EBF\u5DE5\u5177\uFF0C\u6C47\u805A\u4F01\u4E1A\u77E5\u8BC6\u8D44\u6E90\u4E8E\u4E00\u5904\uFF0C\u652F\u6301\u591A\u4EBA\u5B9E\u65F6\u534F\u540C\u7F16\u8F91\uFF0C\u8BA9\u56E2\u961F\u534F\u4F5C\u66F4\u4FBF\u6377\u3002")))])]):t._e()],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/4.png":"images/index/light/4.png"}})],1),t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u4FBF\u6377\u6613\u7528\u7684\u9879\u76EE\u7BA1\u7406\u6A21\u677F")))]),e("p",[t._v(t._s(t.$L("\u6A21\u7248\u6EE1\u8DB3\u591A\u79CD\u56E2\u961F\u534F\u4F5C\u573A\u666F\uFF0C\u540C\u65F6\u652F\u6301\u81EA\u5B9A\u4E49\u6A21\u7248\uFF0C\u6EE1\u8DB3\u56E2\u961F\u4E2A\u6027\u5316\u573A\u666F\u7BA1\u7406\u9700\u6C42\uFF0C\u53EF\u76F4\u89C2\u7684\u67E5\u770B\u9879\u76EE\u7684\u8FDB\u5C55\u60C5\u51B5\uFF0C\u56E2\u961F\u534F\u4F5C\u66F4\u65B9\u4FBF\u3002")))])],1):e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u4FBF\u6377\u6613\u7528\u7684\u9879\u76EE\u7BA1\u7406\u6A21\u677F")))],1),e("p",[t._v(t._s(t.$L("\u6A21\u7248\u6EE1\u8DB3\u591A\u79CD\u56E2\u961F\u534F\u4F5C\u573A\u666F\uFF0C\u540C\u65F6\u652F\u6301\u81EA\u5B9A\u4E49\u6A21\u7248\uFF0C\u6EE1\u8DB3\u56E2\u961F\u4E2A\u6027\u5316\u573A\u666F\u7BA1\u7406\u9700\u6C42\uFF0C\u53EF\u76F4\u89C2\u7684\u67E5\u770B\u9879\u76EE\u7684\u8FDB\u5C55\u60C5\u51B5\uFF0C\u56E2\u961F\u534F\u4F5C\u66F4\u65B9\u4FBF\u3002")))])])],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u6E05\u6670\u76F4\u89C2\u7684\u4EFB\u52A1\u65E5\u5386")))]),e("p",[t._v(t._s(t.$L("\u901A\u8FC7\u7075\u6D3B\u7684\u4EFB\u52A1\u65E5\u5386\uFF0C\u8F7B\u677E\u5B89\u6392\u6BCF\u4E00\u5929\u7684\u65E5\u7A0B\uFF0C\u628A\u4EFB\u52A1\u62C6\u89E3\u5230\u6BCF\u5929\uFF0C\u8BA9\u5DE5\u4F5C\u76EE\u6807\u66F4\u6E05\u6670\uFF0C\u65F6\u95F4\u5206\u914D\u66F4\u5408\u7406\u3002")))])],1):t._e(),e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/5.png":"images/index/light/5.png"}})],1),t.windowWidth<=1200?e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u6E05\u6670\u76F4\u89C2\u7684\u4EFB\u52A1\u65E5\u5386")))],1),e("p",[t._v(t._s(t.$L("\u901A\u8FC7\u7075\u6D3B\u7684\u4EFB\u52A1\u65E5\u5386\uFF0C\u8F7B\u677E\u5B89\u6392\u6BCF\u4E00\u5929\u7684\u65E5\u7A0B\uFF0C\u628A\u4EFB\u52A1\u62C6\u89E3\u5230\u6BCF\u5929\uFF0C\u8BA9\u5DE5\u4F5C\u76EE\u6807\u66F4\u6E05\u6670\uFF0C\u65F6\u95F4\u5206\u914D\u66F4\u5408\u7406\u3002")))])]):t._e()],1),e("Row",{class:t.windowWidth>1200?"page-main-row":"page-main-rows"},[e("Col",{class:t.windowWidth>1200?"page-main-img":"page-main-imgs",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:t.themeIsDark?"images/index/dark/6.png":"images/index/light/6.png"}})],1),t.windowWidth>1200?e("Col",{staticClass:"page-main-text",attrs:{xs:24,sm:24,xl:12}},[e("ImgView",{attrs:{src:"images/index/square.png"}}),e("h3",[t._v(t._s(t.$L("\u652F\u6301\u591A\u5E73\u53F0\u5E94\u7528")))]),e("p",[t._v(t._s(t.$L("\u591A\u5E73\u53F0\u5E94\u7528\u652F\u6301\uFF0C\u6253\u5F00\u5BA2\u6237\u7AEF\u5373\u53EF\u8DDF\u8FDB\u9879\u76EE\u4EFB\u52A1\u8FDB\u5EA6\uFF0C \u540C\u65F6\u8BA9\u4F60\u5728\u5DE5\u4F5C\u4E2D\u6BCF\u4E00\u4E2A\u6B65\u9AA4\u90FD\u80FD\u62E5\u6709\u66F4\u9AD8\u6548\u6109\u60A6\u7684\u4F53\u9A8C\u3002")))])],1):e("Col",{staticClass:"page-main-text page-main-texts",attrs:{xs:24,sm:24,xl:12}},[e("h3",[e("ImgView",{attrs:{src:"images/index/square.png"}}),t._v(t._s(t.$L("\u652F\u6301\u591A\u5E73\u53F0\u5E94\u7528")))],1),e("p",[t._v(t._s(t.$L("\u591A\u5E73\u53F0\u5E94\u7528\u652F\u6301\uFF0C\u6253\u5F00\u5BA2\u6237\u7AEF\u5373\u53EF\u8DDF\u8FDB\u9879\u76EE\u4EFB\u52A1\u8FDB\u5EA6\uFF0C \u540C\u65F6\u8BA9\u4F60\u5728\u5DE5\u4F5C\u4E2D\u6BCF\u4E00\u4E2A\u6B65\u9AA4\u90FD\u80FD\u62E5\u6709\u66F4\u9AD8\u6548\u6109\u60A6\u7684\u4F53\u9A8C\u3002")))])])],1)],1),e("div",{staticClass:"page-footer"},[e("div",{staticClass:"footer-service no-dark-content"},[e("div",{staticClass:"footer-bg-box"},[e("div",{staticClass:"box-title"},[t._v(t._s(t.$L(`\u5F00\u542F\u60A8\u7684 ${t.appTitle} \u56E2\u961F\u534F\u4F5C`)))]),e("div",{staticClass:"buttom-box"},[e("div",{staticClass:"login-btn",on:{click:t.login}},[t._v(t._s(t.$L("\u7ACB\u5373\u767B\u5F55")))]),e("div",{staticClass:"reg-btn",on:{click:t.register}},[t._v(t._s(t.$L("\u6CE8\u518C")))])])])]),t.homeFooter?e("div",{staticClass:"footer-copyright",domProps:{innerHTML:t._s(t.homeFooter)}}):t._e()])]),e("UpdateLog",{attrs:{"update-log":t.showItem.updateLog,"update-ver":t.showItem.updateVer},model:{value:t.uplogShow,callback:function(s){t.uplogShow=s},expression:"uplogShow"}})],1):t._e()},h=[function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"header-nav-box"},[e("div",{staticClass:"logo no-dark-content"})])}];const p={components:{UpdateLog:m},data(){return{languageList:n,languageType:o,showItem:{pro:!1,github:"",updateLog:"",updateVer:""},needStartHome:!1,homeFooter:"",uplogShow:!1}},computed:{...d(["themeMode","themeIsDark","themeList"]),isSoftware(){return this.$Electron||this.$isEEUiApp},currentLanguage(){return n[o]||"Language"},appTitle(){return window.systemInfo.title||"DooTask"}},mounted(){/^https*:/i.test(window.location.protocol)&&(this.$router.mode==="hash"?$A.stringLength(window.location.pathname)>2&&(window.location.href=`${window.location.origin}/#${window.location.pathname}${window.location.search}`):this.$router.mode==="history"&&$A.strExists(window.location.href,"/#/")&&(window.location.href=window.location.href.replace("/#/","/")))},activated(){this.getShowItem(),this.getNeedStartHome()},methods:{onPro(){this.goForward({name:"pro"})},setTheme(t){this.$store.dispatch("setTheme",t)},login(){this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0)},register(){this.goForward({name:"login",query:{type:"reg"}})},windowOpen(t){window.open(t)},getShowItem(){this.$store.dispatch("call",{url:"system/get/showitem",spinner:1e3}).then(({data:t})=>{this.showItem=t}).catch(t=>{this.showItem={}})},getNeedStartHome(){if(this.isSoftware){this.needStartHome=!1,this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0);return}this.$store.dispatch("showSpinner",1e3),this.$store.dispatch("needHome").then(({home_footer:t})=>{this.needStartHome=!0,this.homeFooter=t}).catch(t=>{this.needStartHome=!1,this.goNext()}).finally(t=>{this.$store.dispatch("hiddenSpinner")})},goNext(){this.userId>0?this.goForward({name:"manage-dashboard"},!0):this.goForward({name:"login"},!0)},onLanguage(t){l(t)}}},r={};var w=g(p,c,h,!1,u,null,null,null);function u(t){for(let i in r)this[i]=r[i]}var x=function(){return w.exports}();export{x as default}; diff --git a/public/js/build/index.bef6361b.js b/public/js/build/index.cd76540e.js similarity index 99% rename from public/js/build/index.bef6361b.js rename to public/js/build/index.cd76540e.js index 44b1abe62..e3e95c833 100644 --- a/public/js/build/index.bef6361b.js +++ b/public/js/build/index.cd76540e.js @@ -1,4 +1,4 @@ -import{u as br,w as Ls,n as gl}from"./app.bd09c684.js";import{I as Ts}from"./ImgUpload.6e9513da.js";var Te=navigator.userAgent,ml=navigator.platform,gt=/gecko\/\d/i.test(Te),yl=/MSIE \d/.test(Te),bl=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Te),Zr=/Edge\/(\d+)/.exec(Te),re=yl||bl||Zr,ce=re&&(yl?document.documentMode||6:+(Zr||bl)[1]),Le=!Zr&&/WebKit\//.test(Te),Ms=Le&&/Qt\/\d+\.\d+/.test(Te),On=!Zr&&/Chrome\//.test(Te),Xe=/Opera\//.test(Te),wl=/Apple Computer/.test(navigator.vendor),Ds=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Te),As=/PhantomJS/.test(Te),Qr=!Zr&&/AppleWebKit/.test(Te)&&/Mobile\/\w+/.test(Te),In=/Android/.test(Te),zr=Qr||In||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Te),Ye=Qr||/Mac/.test(ml),Fs=/\bCrOS\b/.test(Te),Es=/win/i.test(ml),Nt=Xe&&Te.match(/Version\/(\d*\.\d*)/);Nt&&(Nt=Number(Nt[1]));Nt&&Nt>=15&&(Xe=!1,Le=!0);var Fo=Ye&&(Ms||Xe&&(Nt==null||Nt<12.11)),Ii=gt||re&&ce>=9;function Pr(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var Rt=function(e,t){var r=e.className,n=Pr(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function mt(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Ie(e,t){return mt(e).appendChild(t)}function G(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),typeof t=="string")i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return l+(t-o);l+=a-o,l+=r-l%r,o=a+1}}var bt=function(){this.id=null,this.f=null,this.time=0,this.handler=Hn(this.onTimeout,this)};bt.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)};bt.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r=t)return n+Math.min(l,t-i);if(i+=o-n,i+=r-i%r,n=o+1,i>=t)return n}}var hn=[""];function Hi(e){for(;hn.length<=e;)hn.push(ie(hn)+" ");return hn[e]}function ie(e){return e[e.length-1]}function Pn(e,t){for(var r=[],n=0;n"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Os.test(e))}function bn(e,t){return t?t.source.indexOf("\\w")>-1&&vi(e)?!0:t.test(e):vi(e)}function No(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Is=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function gi(e){return e.charCodeAt(0)>=768&&Is.test(e)}function Cl(e,t,r){for(;(r<0?t>0:tr?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}function Hs(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;ot||t==r&&l.to==t)&&(n(Math.max(l.from,t),Math.min(l.to,r),l.level==1?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}var Lr=null;function Br(e,t,r){var n;Lr=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&r=="before"?n=i:Lr=i),o.from==t&&(o.from!=o.to&&r!="before"?n=i:Lr=i)}return n!=null?n:Lr}var zs=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function r(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;function s(u,h,p){this.level=u,this.from=h,this.to=p}return function(u,h){var p=h=="ltr"?"L":"R";if(u.length==0||h=="ltr"&&!n.test(u))return!1;for(var b=u.length,y=[],k=0;k-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function de(e,t){var r=zi(e,t);if(!!r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i0}function hr(e){e.prototype.on=function(t,r){X(this,t,r)},e.prototype.off=function(t,r){Oe(this,t,r)}}function Ae(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Tl(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function mi(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Rr(e){Ae(e),Tl(e)}function Pi(e){return e.target||e.srcElement}function Ml(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),Ye&&e.ctrlKey&&t==1&&(t=3),t}var Ps=function(){if(re&&ce<9)return!1;var e=G("div");return"draggable"in e||"dragDrop"in e}(),ui;function Ws(e){if(ui==null){var t=G("span","\u200B");Ie(e,G("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(ui=t.offsetWidth<=1&&t.offsetHeight>2&&!(re&&ce<8))}var r=ui?G("span","\u200B"):G("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}var fi;function _s(e){if(fi!=null)return fi;var t=Ie(e,document.createTextNode("A\u062EA")),r=It(t,0,1).getBoundingClientRect(),n=It(t,1,2).getBoundingClientRect();return mt(e),!r||r.left==r.right?!1:fi=n.right-r.right<3}var Wi=` +import{u as br,w as Ls,n as gl}from"./app.139edc4e.js";import{I as Ts}from"./ImgUpload.8dae08e9.js";var Te=navigator.userAgent,ml=navigator.platform,gt=/gecko\/\d/i.test(Te),yl=/MSIE \d/.test(Te),bl=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Te),Zr=/Edge\/(\d+)/.exec(Te),re=yl||bl||Zr,ce=re&&(yl?document.documentMode||6:+(Zr||bl)[1]),Le=!Zr&&/WebKit\//.test(Te),Ms=Le&&/Qt\/\d+\.\d+/.test(Te),On=!Zr&&/Chrome\//.test(Te),Xe=/Opera\//.test(Te),wl=/Apple Computer/.test(navigator.vendor),Ds=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(Te),As=/PhantomJS/.test(Te),Qr=!Zr&&/AppleWebKit/.test(Te)&&/Mobile\/\w+/.test(Te),In=/Android/.test(Te),zr=Qr||In||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(Te),Ye=Qr||/Mac/.test(ml),Fs=/\bCrOS\b/.test(Te),Es=/win/i.test(ml),Nt=Xe&&Te.match(/Version\/(\d*\.\d*)/);Nt&&(Nt=Number(Nt[1]));Nt&&Nt>=15&&(Xe=!1,Le=!0);var Fo=Ye&&(Ms||Xe&&(Nt==null||Nt<12.11)),Ii=gt||re&&ce>=9;function Pr(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var Rt=function(e,t){var r=e.className,n=Pr(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function mt(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Ie(e,t){return mt(e).appendChild(t)}function G(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),typeof t=="string")i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return l+(t-o);l+=a-o,l+=r-l%r,o=a+1}}var bt=function(){this.id=null,this.f=null,this.time=0,this.handler=Hn(this.onTimeout,this)};bt.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)};bt.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r=t)return n+Math.min(l,t-i);if(i+=o-n,i+=r-i%r,n=o+1,i>=t)return n}}var hn=[""];function Hi(e){for(;hn.length<=e;)hn.push(ie(hn)+" ");return hn[e]}function ie(e){return e[e.length-1]}function Pn(e,t){for(var r=[],n=0;n"\x80"&&(e.toUpperCase()!=e.toLowerCase()||Os.test(e))}function bn(e,t){return t?t.source.indexOf("\\w")>-1&&vi(e)?!0:t.test(e):vi(e)}function No(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Is=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function gi(e){return e.charCodeAt(0)>=768&&Is.test(e)}function Cl(e,t,r){for(;(r<0?t>0:tr?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}function Hs(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;ot||t==r&&l.to==t)&&(n(Math.max(l.from,t),Math.min(l.to,r),l.level==1?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}var Lr=null;function Br(e,t,r){var n;Lr=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&r=="before"?n=i:Lr=i),o.from==t&&(o.from!=o.to&&r!="before"?n=i:Lr=i)}return n!=null?n:Lr}var zs=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function r(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;function s(u,h,p){this.level=u,this.from=h,this.to=p}return function(u,h){var p=h=="ltr"?"L":"R";if(u.length==0||h=="ltr"&&!n.test(u))return!1;for(var b=u.length,y=[],k=0;k-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function de(e,t){var r=zi(e,t);if(!!r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i0}function hr(e){e.prototype.on=function(t,r){X(this,t,r)},e.prototype.off=function(t,r){Oe(this,t,r)}}function Ae(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Tl(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function mi(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Rr(e){Ae(e),Tl(e)}function Pi(e){return e.target||e.srcElement}function Ml(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),Ye&&e.ctrlKey&&t==1&&(t=3),t}var Ps=function(){if(re&&ce<9)return!1;var e=G("div");return"draggable"in e||"dragDrop"in e}(),ui;function Ws(e){if(ui==null){var t=G("span","\u200B");Ie(e,G("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(ui=t.offsetWidth<=1&&t.offsetHeight>2&&!(re&&ce<8))}var r=ui?G("span","\u200B"):G("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}var fi;function _s(e){if(fi!=null)return fi;var t=Ie(e,document.createTextNode("A\u062EA")),r=It(t,0,1).getBoundingClientRect(),n=It(t,1,2).getBoundingClientRect();return mt(e),!r||r.left==r.right?!1:fi=n.right-r.right<3}var Wi=` b`.split(/\n/).length!=3?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf(` `,t);i==-1&&(i=e.length);var o=e.slice(t,e.charAt(i-1)=="\r"?i-1:i),l=o.indexOf("\r");l!=-1?(r.push(o.slice(0,l)),t+=l+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Bs=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Rs=function(){var e=G("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),ci=null;function Us(e){if(ci!=null)return ci;var t=Ie(e,G("span","x")),r=t.getBoundingClientRect(),n=It(t,0,1).getBoundingClientRect();return ci=Math.abs(r.left-n.left)>1}var _i={},er={};function Ks(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),_i[e]=t}function qs(e,t){er[e]=t}function Sn(e){if(typeof e=="string"&&er.hasOwnProperty(e))e=er[e];else if(e&&typeof e.name=="string"&&er.hasOwnProperty(e.name)){var t=er[e.name];typeof t=="string"&&(t={name:t}),e=xl(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Sn("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Sn("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Bi(e,t){t=Sn(t);var r=_i[t.name];if(!r)return Bi(e,"text/plain");var n=r(e,t);if(ir.hasOwnProperty(t.name)){var i=ir[t.name];for(var o in i)!i.hasOwnProperty(o)||(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var l in t.modeProps)n[l]=t.modeProps[l];return n}var ir={};function Gs(e,t){var r=ir.hasOwnProperty(e)?ir[e]:ir[e]={};Ht(t,r)}function zt(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Ri(e,t){for(var r;e.innerMode&&(r=e.innerMode(t),!(!r||r.mode==e));)t=r.state,e=r.mode;return r||{mode:e,state:t}}function Dl(e,t,r){return e.startState?e.startState(t,r):!0}var pe=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};pe.prototype.eol=function(){return this.pos>=this.string.length};pe.prototype.sol=function(){return this.pos==this.lineStart};pe.prototype.peek=function(){return this.string.charAt(this.pos)||void 0};pe.prototype.next=function(){if(this.post};pe.prototype.eatSpace=function(){for(var e=this,t=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++e.pos;return this.pos>t};pe.prototype.skipToEnd=function(){this.pos=this.string.length};pe.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0};pe.prototype.backUp=function(e){this.pos-=e};pe.prototype.column=function(){return this.lastColumnPos0?null:(o&&t!==!1&&(this.pos+=o[0].length),o)}};pe.prototype.current=function(){return this.string.slice(this.start,this.pos)};pe.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}};pe.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)};pe.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function q(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t=e.first&&tr?F(r,q(e,r).text.length):Xs(t,q(e,t.line).text.length)}function Xs(e,t){var r=e.ch;return r==null||r>t?F(e.line,t):r<0?F(e.line,0):e}function Oo(e,t){for(var r=[],n=0;nthis.maxLookAhead&&(this.maxLookAhead=e),t};Ze.prototype.baseToken=function(e){var t=this;if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)t.baseTokenPos+=2;var r=this.baseTokens[this.baseTokenPos+1];return{type:r&&r.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}};Ze.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--};Ze.fromSaved=function(e,t,r){return t instanceof Bn?new Ze(e,zt(e.mode,t.state),r,t.lookAhead):new Ze(e,zt(e.mode,t),r)};Ze.prototype.save=function(e){var t=e!==!1?zt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Bn(t,this.maxLookAhead):t};function Fl(e,t,r,n){var i=[e.state.modeGen],o={};Po(e,t.text,e.doc.mode,r,function(u,h){return i.push(u,h)},o,n);for(var l=r.state,a=function(u){r.baseTokens=i;var h=e.state.overlays[u],p=1,b=0;r.state=!0,Po(e,t.text,h.mode,r,function(y,k){for(var S=p;by&&i.splice(p,1,y,i[p+1],D),p+=2,b=Math.min(y,D)}if(!!k)if(h.opaque)i.splice(S,p-S,y,"overlay "+k),p=S+2;else for(;Se.options.maxHighlightLength&&zt(e.doc.mode,n.state),o=Fl(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Jr(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new Ze(n,!0,t);var o=Ys(e,t,r),l=o>n.first&&q(n,o-1).stateAfter,a=l?Ze.fromSaved(n,l,o):new Ze(n,Dl(n.mode),o);return n.iter(o,t,function(s){Ki(e,s.text,a);var u=a.line;s.stateAfter=u==t-1||u%5==0||u>=i.viewFrom&&ut.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}var Io=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function Ho(e,t,r,n){var i=e.doc,o=i.mode,l;t=V(i,t);var a=q(i,t.line),s=Jr(e,t.line,r),u=new pe(a.text,e.options.tabSize,s),h;for(n&&(h=[]);(n||u.pose.options.maxHighlightLength?(a=!1,l&&Ki(e,t,n,h.pos),h.pos=t.length,p=null):p=zo(qi(r,h,n.state,b),o),b){var y=b[0].name;y&&(p="m-"+(p?y+" "+p:y))}if(!a||u!=p){for(;sl;--a){if(a<=o.first)return o.first;var s=q(o,a-1),u=s.stateAfter;if(u&&(!r||a+(u instanceof Bn?u.lookAhead:0)<=o.modeFrontier))return a;var h=Pe(s.text,null,e.options.tabSize);(i==null||n>h)&&(i=a-1,n=h)}return i}function js(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontierr;n--){var i=q(e,n).stateAfter;if(i&&(!(i instanceof Bn)||n+i.lookAhead=t:o.to>t);(n||(n=[])).push(new Rn(l,o.from,s?null:o.to))}}return n}function eu(e,t,r){var n;if(e)for(var i=0;i=t:o.to>t);if(a||o.from==t&&l.type=="bookmark"&&(!r||o.marker.insertLeft)){var s=o.from==null||(l.inclusiveLeft?o.from<=t:o.from0&&a)for(var E=0;E0)){var h=[s,1],p=Z(u.from,a.from),b=Z(u.to,a.to);(p<0||!l.inclusiveLeft&&!p)&&h.push({from:u.from,to:a.from}),(b>0||!l.inclusiveRight&&!b)&&h.push({from:a.to,to:u.to}),i.splice.apply(i,h),s+=h.length-3}}return i}function Il(e){var t=e.markedSpans;if(!!t){for(var r=0;rt)&&(!n||Gi(n,o.marker)<0)&&(n=o.marker)}return n}function _o(e,t,r,n,i){var o=q(e,t),l=it&&o.markedSpans;if(l)for(var a=0;a=0&&p<=0||h<=0&&p>=0)&&(h<=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?Z(u.to,r)>=0:Z(u.to,r)>0)||h>=0&&(s.marker.inclusiveRight&&i.inclusiveLeft?Z(u.from,n)<=0:Z(u.from,n)<0)))return!0}}}function Je(e){for(var t;t=Pl(e);)e=t.find(-1,!0).line;return e}function nu(e){for(var t;t=Un(e);)e=t.find(1,!0).line;return e}function iu(e){for(var t,r;t=Un(e);)e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function Xi(e,t){var r=q(e,t),n=Je(r);return r==n?t:le(n)}function Wl(e,t){if(t>e.lastLine())return t;var r=q(e,t),n;if(!Ct(e,r))return t;for(;n=Un(r);)r=n.find(1,!0).line;return le(r)+1}function Ct(e,t){var r=it&&t.markedSpans;if(r){for(var n=void 0,i=0;it.maxLineLength&&(t.maxLineLength=i,t.maxLine=n)})}var ar=function(e,t,r){this.text=e,Hl(this,t),this.height=r?r(this):1};ar.prototype.lineNo=function(){return le(this)};hr(ar);function ou(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Il(e),Hl(e,r);var i=n?n(e):1;i!=e.height&&Qe(e,i)}function lu(e){e.parent=null,Il(e)}var au={},su={};function Bo(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?su:au;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function _l(e,t){var r=nr("span",null,null,Le?"padding-right: .1px":null),n={pre:nr("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,l=void 0;n.pos=0,n.addToken=fu,_s(e.display.measure)&&(l=st(o,e.doc.direction))&&(n.addToken=hu(n.addToken,l)),n.map=[];var a=t!=e.display.externalMeasured&&le(o);du(o,n,El(e,o,a)),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=ai(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=ai(o.styleClasses.textClass,n.textClass||""))),n.map.length==0&&n.map.push(0,0,n.content.appendChild(Ws(e.display.measure))),i==0?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(Le){var s=n.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return de(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=ai(n.pre.className,n.textClass||"")),n}function uu(e){var t=G("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function fu(e,t,r,n,i,o,l){if(!!t){var a=e.splitSpaces?cu(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,h;if(!s.test(t))e.col+=t.length,h=document.createTextNode(a),e.map.push(e.pos,e.pos+t.length,h),re&&ce<9&&(u=!0),e.pos+=t.length;else{h=document.createDocumentFragment();for(var p=0;;){s.lastIndex=p;var b=s.exec(t),y=b?b.index-p:t.length-p;if(y){var k=document.createTextNode(a.slice(p,p+y));re&&ce<9?h.appendChild(G("span",[k])):h.appendChild(k),e.map.push(e.pos,e.pos+y,k),e.col+=y,e.pos+=y}if(!b)break;p+=y+1;var S=void 0;if(b[0]==" "){var D=e.cm.options.tabSize,A=D-e.col%D;S=h.appendChild(G("span",Hi(A),"cm-tab")),S.setAttribute("role","presentation"),S.setAttribute("cm-text"," "),e.col+=A}else b[0]=="\r"||b[0]==` @@ -61,6 +61,6 @@ row 2 col 1 | row 2 col 2 `).pop()===""&&(this.lastInsert="")},20)},onDelete(){const e=this.currentValue.split(` `);e[e.length-1]===""&&(this.lastInsert="")},markdownScroll(e={}){if(this.scrolling&&this.scrollSide==="left"){const{doc:{height:t,scrollTop:r}}=e,n=this.$refs.preview,i=n.offsetHeight,o=n.scrollHeight;n.scrollTop=parseInt(r*(o-i)/(t-i),0)}},previewScroll(){if(this.scrolling&&this.scrollSide==="right"){const e=this.$refs.preview,t=e.offsetHeight,r=e.scrollHeight,n=e.scrollTop,i=parseInt(n*(this.editorScrollHeight-t)/(r-t),0);this.editor.scrollTo(0,i);const o=$A(this.$refs.preview);let l,a;o.find("h1,h2,h3,h4,h5").each((s,u)=>{if(l=$A(u),l.offset().top-o.offset().top>=0&&(a=l.attr("toc-id")))return this.tocAction=a,!1})}},redo(){const{editor:e}=this;e.redo(),setTimeout(()=>{e.refresh()},20)},tocLevel(e,t){let r=9999;return typeof t=="undefined"&&(t=this.tocLists),t.forEach(({level:n})=>{r=Math.min(r,n)}),r===9999?e:e-(r-1)},tocClick(e){this.tocAction=e.anchor;const t=$A(this.$refs.preview),r=t.find("h"+e.level+'[toc-id="'+this.tocAction+'"]');r&&t.animate({scrollTop:r.offset().top-t.offset().top+t.scrollTop()})}},watch:{currentValue(){clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>{const{currentValue:e}=this;let t=Ls(e,{sanitize:!1,...this.markedOptions}).replace(/href="/gi,'target="_blank" href="');if(this.copyCode&&t!==""&&(t=t.replace(/
    /g,'
    '+this.copyBtnText+"
    ").replace(/<\/pre>/g,"
    ")),/\[\[TOC\]\]/.test(t)){let r="";br.tocItems.forEach(n=>{r+=`
  • ${n.text}
  • `}),t=t.replace(/\[\[TOC\]\]/g,`
      ${r}
    `)}this.html=t,this.tocLists=br.tocItems,this.tocTrigger||(this.tocShow=this.tocLists.length>1),br.reset(),this.addImageClickListener(),this.addCopyListener(),this.$emit("input",e)},30)},value(){const{value:e,currentValue:t}=this;t!==e&&(this.currentValue=e,this.editor.setOption("value",e))}}},oc=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"markdown",class:`markdown ${e.fullscreen?"fullscreen":""} ${e.bordered?"border":""}`,style:{width:e.width+(typeof e.width=="string"?"":"px"),height:e.height+(typeof e.height=="string"?"":"px")}},[r("ul",{directives:[{name:"show",rawName:"v-show",value:!e.preview,expression:"!preview"}],staticClass:"markdown-toolbars"},[r("li",[e._t("title")],2),e.tools.undo?r("li",{attrs:{name:e.$L("\u64A4\u9500")}},[r("span",{staticClass:"iconfont icon-undo",on:{click:function(n){return e.editor.undo()}}})]):e._e(),e.tools.redo?r("li",{attrs:{name:e.$L("\u91CD\u505A")},on:{click:e.redo}},[r("span",{staticClass:"iconfont icon-redo"})]):e._e(),e.tools.strong?r("li",{attrs:{name:e.$L("\u7C97\u4F53")}},[r("span",{staticClass:"iconfont icon-bold",on:{click:e.insertStrong}})]):e._e(),e.tools.italic?r("li",{attrs:{name:e.$L("\u659C\u4F53")}},[r("span",{staticClass:"iconfont icon-italic",on:{click:e.insertItalic}})]):e._e(),e.tools.overline?r("li",{attrs:{name:e.$L("\u5220\u9664\u7EBF")}},[r("span",{staticClass:"iconfont icon-overline",on:{click:e.insertOverline}})]):e._e(),e.tools.overline?r("li",{attrs:{name:e.$L("\u4E0B\u5212\u7EBF")}},[r("span",{staticClass:"iconfont icon-under-line",on:{click:e.insertUnderline}})]):e._e(),e.tools.h1?r("li",{attrs:{name:e.$L("\u6807\u98981")}},[r("span",{staticStyle:{"font-size":"16px"},on:{click:function(n){return e.insertTitle(1)}}},[e._v("h1")])]):e._e(),e.tools.h2?r("li",{attrs:{name:e.$L("\u6807\u98982")}},[r("span",{staticStyle:{"font-size":"16px"},on:{click:function(n){return e.insertTitle(2)}}},[e._v("h2")])]):e._e(),e.tools.h3?r("li",{attrs:{name:e.$L("\u6807\u98983")}},[r("span",{staticStyle:{"font-size":"16px"},on:{click:function(n){return e.insertTitle(3)}}},[e._v("h3")])]):e._e(),e.tools.h4?r("li",{attrs:{name:e.$L("\u6807\u98984")}},[r("span",{staticStyle:{"font-size":"16px"},on:{click:function(n){return e.insertTitle(4)}}},[e._v("h4")])]):e._e(),e.tools.h5?r("li",{attrs:{name:e.$L("\u6807\u98985")}},[r("span",{staticStyle:{"font-size":"16px"},on:{click:function(n){return e.insertTitle(5)}}},[e._v("h5")])]):e._e(),e.tools.h6?r("li",{attrs:{name:e.$L("\u6807\u98986")}},[r("span",{staticStyle:{"font-size":"16px"},on:{click:function(n){return e.insertTitle(6)}}},[e._v("h6")])]):e._e(),e.tools.hr?r("li",{attrs:{name:e.$L("\u5206\u5272\u7EBF")}},[r("span",{staticClass:"iconfont icon-horizontal",on:{click:e.insertLine}})]):e._e(),e.tools.quote?r("li",{attrs:{name:e.$L("\u5F15\u7528")}},[r("span",{staticClass:"iconfont icon-quote",staticStyle:{"font-size":"16px"},on:{click:e.insertQuote}})]):e._e(),e.tools.ul?r("li",{attrs:{name:e.$L("\u65E0\u5E8F\u5217\u8868")}},[r("span",{staticClass:"iconfont icon-ul",on:{click:e.insertUl}})]):e._e(),e.tools.ol?r("li",{attrs:{name:e.$L("\u6709\u5E8F\u5217\u8868")}},[r("span",{staticClass:"iconfont icon-ol",on:{click:e.insertOl}})]):e._e(),e.tools.code?r("li",{attrs:{name:e.$L("\u4EE3\u7801\u5757")}},[r("span",{staticClass:"iconfont icon-code",on:{click:e.insertCode}})]):e._e(),e.tools.notChecked?r("li",{attrs:{name:e.$L("\u672A\u5B8C\u6210\u5217\u8868")}},[r("span",{staticClass:"iconfont icon-checked-false",on:{click:e.insertNotFinished}})]):e._e(),e.tools.checked?r("li",{attrs:{name:e.$L("\u5DF2\u5B8C\u6210\u5217\u8868")}},[r("span",{staticClass:"iconfont icon-checked",on:{click:e.insertFinished}})]):e._e(),e.tools.link?r("li",{attrs:{name:e.$L("\u94FE\u63A5")}},[r("span",{staticClass:"iconfont icon-link",on:{click:e.insertLink}})]):e._e(),e.tools.image?r("li",{attrs:{name:e.$L("\u56FE\u7247")}},[r("span",{staticClass:"iconfont icon-img",on:{click:e.insertImage}})]):e._e(),e.tools.uploadImage?r("li",{attrs:{name:e.$L("\u672C\u5730\u56FE\u7247")}},[r("span",{staticClass:"iconfont icon-upload-img",on:{click:e.chooseImage}})]):e._e(),e.tools.custom_image?r("li",{attrs:{name:e.$L("\u56FE\u7247\u7A7A\u95F4")}},[r("span",{staticClass:"iconfont icon-img",on:{click:function(n){return e.onCustom("image-browse")}}})]):e._e(),e.tools.custom_uploadImage?r("li",{attrs:{name:e.$L("\u4E0A\u4F20\u56FE\u7247")}},[r("span",{staticClass:"iconfont icon-upload-img",on:{click:function(n){return e.onCustom("image-upload")}}})]):e._e(),e.tools.custom_uploadFile?r("li",{attrs:{name:e.$L("\u4E0A\u4F20\u6587\u4EF6")}},[r("span",{staticClass:"icon-svg",on:{click:function(n){return e.onCustom("file-upload")}}},[r("svg",{staticClass:"icon",attrs:{t:"1599285632421",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"45640",width:"16",height:"16"}},[r("path",{attrs:{d:"M127.519 892.879v-763.34h655.448V514.69h63.612V81.831c0-8.783-7.12-15.903-15.903-15.903H79.81c-8.783 0-15.903 7.12-15.903 15.903v858.757c0 8.783 7.12 15.903 15.903 15.903h493.993v-63.612H127.519z",fill:"#999999","p-id":"45641"}}),r("path",{attrs:{d:"M231.608 228.388h447.269V292H231.608zM231.608 384.409h447.269v63.612H231.608zM231.608 540.43h245.141v63.612H231.608zM231.608 696.451h245.141v63.612H231.608zM923.269 762.938L745.315 584.984c-3.545-3.545-8.34-5.074-12.966-4.596a15.931 15.931 0 0 0-9.848 4.616L544.586 762.918c-6.248 6.248-6.248 16.379 0 22.627l22.353 22.353c6.248 6.248 16.379 6.248 22.627 0l112.555-112.555v245.148c0 8.837 7.163 16 16 16h31.612c8.837 0 16-7.163 16-16V695.363l112.555 112.555c6.248 6.248 16.379 6.248 22.627 0l22.353-22.353c6.249-6.248 6.249-16.378 0.001-22.627z",fill:"#999999","p-id":"45642"}})])])]):e._e(),e.tools.table?r("li",{attrs:{name:e.$L("\u8868\u683C")}},[r("span",{staticClass:"iconfont icon-table",on:{click:e.insertTable}})]):e._e(),e.tools.theme?r("li",{staticClass:"shift-theme",attrs:{name:e.$L("\u4EE3\u7801\u5757\u4E3B\u9898")}},[r("div",[r("span",{staticClass:"iconfont icon-theme",on:{click:function(n){e.themeSlideDown=!e.themeSlideDown}}}),r("ul",{class:{active:e.themeSlideDown},on:{mouseleave:function(n){e.themeSlideDown=!1}}},[r("li",{on:{click:function(n){return e.setThemes("light")}}},[e._v("Light")]),r("li",{on:{click:function(n){return e.setThemes("dark")}}},[e._v("VS Code")]),r("li",{on:{click:function(n){return e.setThemes("oneDark")}}},[e._v("Atom OneDark")]),r("li",{on:{click:function(n){return e.setThemes("gitHub")}}},[e._v("GitHub")])])])]):e._e(),r("li",{directives:[{name:"show",rawName:"v-show",value:e.tools.importmd,expression:"tools.importmd"}],staticClass:"import-file",attrs:{name:e.$L("\u5BFC\u5165\u6587\u4EF6")}},[r("span",{staticClass:"iconfont icon-daoru",on:{click:e.importFile}}),r("input",{attrs:{type:"file",accept:"text/markdown"},on:{change:function(n){return e.importFile(n)}}})]),r("li",{directives:[{name:"show",rawName:"v-show",value:e.tools.exportmd,expression:"tools.exportmd"}],attrs:{name:e.$L("\u4FDD\u5B58\u5230\u672C\u5730")}},[r("span",{staticClass:"iconfont icon-download",on:{click:e.exportFile}})]),e.tools.split&&e.split?r("li",{attrs:{name:e.$L("\u5168\u5C4F\u7F16\u8F91")}},[r("span",{staticClass:"iconfont icon-md",on:{click:function(n){e.split=!1}}})]):e._e(),e.tools.split&&!e.split?r("li",{attrs:{name:e.$L("\u5206\u5C4F\u663E\u793A")}},[r("span",{staticClass:"iconfont icon-group",on:{click:function(n){e.split=!0}}})]):e._e(),e.tools.preview?r("li",{attrs:{name:e.$L("\u9884\u89C8")}},[r("span",{staticClass:"iconfont icon-preview",on:{click:function(n){e.preview=!0}}})]):e._e(),e.tools.clear?r("li",{attrs:{name:e.$L("\u6E05\u7A7A")},on:{click:function(n){e.value=""}}},[r("span",{staticClass:"iconfont icon-clear"})]):e._e(),e.tools.save?r("li",{attrs:{name:e.$L("\u4FDD\u5B58")},on:{click:e.handleSave}},[r("span",{staticClass:"iconfont icon-save"})]):e._e(),r("li",{attrs:{name:e.$L(e.scrolling?"\u540C\u6B65\u6EDA\u52A8:\u5F00":"\u540C\u6B65\u6EDA\u52A8:\u5173")}},[r("span",{directives:[{name:"show",rawName:"v-show",value:e.scrolling,expression:"scrolling"}],staticClass:"iconfont icon-on",on:{click:function(n){e.scrolling=!e.scrolling}}}),r("span",{directives:[{name:"show",rawName:"v-show",value:!e.scrolling,expression:"!scrolling"}],staticClass:"iconfont icon-off",on:{click:function(n){e.scrolling=!e.scrolling}}})]),r("li",{attrs:{name:e.$L("html\u8F6Cmarkdown")},on:{click:function(n){return e.onCustom("html2md")}}},[r("span",{staticStyle:{width:"auto","font-size":"14px",padding:"0 6px"}},[e._v("HTML2MD")])]),r("li",{staticClass:"right"},[r("ul",[r("li",{attrs:{name:e.$L("\u83DC\u5355")},on:{click:function(n){e.tocTrigger=!0}}},[r("span",{directives:[{name:"show",rawName:"v-show",value:e.tocShow,expression:"tocShow"}],staticClass:"icon-svg",on:{click:function(n){e.tocShow=!e.tocShow}}},[r("svg",{staticClass:"icon",attrs:{t:"1611551476626",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4615",width:"22",height:"22"}},[r("path",{attrs:{d:"M370.1 371.5h-49.6c-3.1 0-5.7-2.5-5.7-5.7v-49.6c0-3.1 2.5-5.7 5.7-5.7h49.6c3.1 0 5.7 2.5 5.7 5.7v49.6c0 3.1-2.6 5.7-5.7 5.7z m333.5-7.6H460.5c-3.1 0-5.7-2.5-5.7-5.7v-34.5c0-3.1 2.5-5.7 5.7-5.7h243.2c3.1 0 5.7 2.5 5.7 5.7v34.5c-0.1 3.2-2.7 5.7-5.8 5.7zM370.1 712.4h-49.6c-3.1 0-5.7-2.5-5.7-5.7v-49.6c0-3.1 2.5-5.7 5.7-5.7h49.6c3.1 0 5.7 2.5 5.7 5.7v49.6c0 3.2-2.6 5.7-5.7 5.7z m333.5-7.5H460.5c-3.1 0-5.7-2.5-5.7-5.7v-34.5c0-3.1 2.5-5.7 5.7-5.7h243.2c3.1 0 5.7 2.5 5.7 5.7v34.5c-0.1 3.1-2.7 5.7-5.8 5.7zM370.1 542.5h-49.6c-3.1 0-5.7-2.5-5.7-5.7v-49.6c0-3.1 2.5-5.7 5.7-5.7h49.6c3.1 0 5.7 2.5 5.7 5.7v49.6c0 3.1-2.6 5.7-5.7 5.7z m333.5-7.6H460.5c-3.1 0-5.7-2.5-5.7-5.7v-34.5c0-3.1 2.5-5.7 5.7-5.7h243.2c3.1 0 5.7 2.5 5.7 5.7v34.5c-0.1 3.2-2.7 5.7-5.8 5.7z","p-id":"4616",fill:"#1890ff"}}),r("path",{attrs:{d:"M847.1 560.4V250.1s0-24.7-14-46.4c-10.8-16.8-30-31.8-64.2-31.8h-261c-0.2 0-0.3 0-0.5 0.1H255s-78.1 0-78.1 78.1l0.1 213.4V774s0 24.7 13.9 46.3c10.8 16.8 30 31.8 64.2 31.8h261.1c0.2 0 0.3 0 0.5-0.1H769s78.1 0 78.1-78.1l-0.1-213.4 0.1-0.1z m-39 213.6c-1.3 38.5-38.9 39-38.9 39h-514c-1.3-0.1-2.5-0.2-3.8-0.3-5.4-1.1-15.7-4.1-23.9-11.7-9-9.7-11.2-22.3-11.7-26.1v-0.7l0.1-524.2c1.3-38.5 38.9-39 38.9-39h514c1.3 0.1 2.5 0.2 3.7 0.3 5.4 1.1 15.7 4.1 23.9 11.7 9 9.7 11.2 22.2 11.7 26 0 0.2 0 0.5 0.1 0.7l-0.1 524.3z","p-id":"4617",fill:"#1890ff"}})])]),r("span",{directives:[{name:"show",rawName:"v-show",value:!e.tocShow,expression:"!tocShow"}],staticClass:"icon-svg",on:{click:function(n){e.tocShow=!e.tocShow}}},[r("svg",{staticClass:"icon",attrs:{t:"1611551476626",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4615",width:"22",height:"22"}},[r("path",{attrs:{d:"M370.1 371.5h-49.6c-3.1 0-5.7-2.5-5.7-5.7v-49.6c0-3.1 2.5-5.7 5.7-5.7h49.6c3.1 0 5.7 2.5 5.7 5.7v49.6c0 3.1-2.6 5.7-5.7 5.7z m333.5-7.6H460.5c-3.1 0-5.7-2.5-5.7-5.7v-34.5c0-3.1 2.5-5.7 5.7-5.7h243.2c3.1 0 5.7 2.5 5.7 5.7v34.5c-0.1 3.2-2.7 5.7-5.8 5.7zM370.1 712.4h-49.6c-3.1 0-5.7-2.5-5.7-5.7v-49.6c0-3.1 2.5-5.7 5.7-5.7h49.6c3.1 0 5.7 2.5 5.7 5.7v49.6c0 3.2-2.6 5.7-5.7 5.7z m333.5-7.5H460.5c-3.1 0-5.7-2.5-5.7-5.7v-34.5c0-3.1 2.5-5.7 5.7-5.7h243.2c3.1 0 5.7 2.5 5.7 5.7v34.5c-0.1 3.1-2.7 5.7-5.8 5.7zM370.1 542.5h-49.6c-3.1 0-5.7-2.5-5.7-5.7v-49.6c0-3.1 2.5-5.7 5.7-5.7h49.6c3.1 0 5.7 2.5 5.7 5.7v49.6c0 3.1-2.6 5.7-5.7 5.7z m333.5-7.6H460.5c-3.1 0-5.7-2.5-5.7-5.7v-34.5c0-3.1 2.5-5.7 5.7-5.7h243.2c3.1 0 5.7 2.5 5.7 5.7v34.5c-0.1 3.2-2.7 5.7-5.8 5.7z","p-id":"4616",fill:"#777777"}}),r("path",{attrs:{d:"M847.1 560.4V250.1s0-24.7-14-46.4c-10.8-16.8-30-31.8-64.2-31.8h-261c-0.2 0-0.3 0-0.5 0.1H255s-78.1 0-78.1 78.1l0.1 213.4V774s0 24.7 13.9 46.3c10.8 16.8 30 31.8 64.2 31.8h261.1c0.2 0 0.3 0 0.5-0.1H769s78.1 0 78.1-78.1l-0.1-213.4 0.1-0.1z m-39 213.6c-1.3 38.5-38.9 39-38.9 39h-514c-1.3-0.1-2.5-0.2-3.8-0.3-5.4-1.1-15.7-4.1-23.9-11.7-9-9.7-11.2-22.3-11.7-26.1v-0.7l0.1-524.2c1.3-38.5 38.9-39 38.9-39h514c1.3 0.1 2.5 0.2 3.7 0.3 5.4 1.1 15.7 4.1 23.9 11.7 9 9.7 11.2 22.2 11.7 26 0 0.2 0 0.5 0.1 0.7l-0.1 524.3z","p-id":"4617",fill:"#777777"}})])])]),e.tools.fullscreen&&!e.fullscreen?r("li",{attrs:{name:e.$L("\u5168\u5C4F")}},[r("span",{staticClass:"iconfont icon-fullscreen",on:{click:function(n){e.fullscreen=!e.fullscreen}}})]):e._e(),e.tools.fullscreen&&e.fullscreen?r("li",{attrs:{name:e.$L("\u9000\u51FA\u5168\u5C4F")}},[r("span",{staticClass:"iconfont icon-quite",on:{click:function(n){e.fullscreen=!e.fullscreen}}})]):e._e(),e.tools.custom_fullscreen&&!e.isCustomFullscreen?r("li",{attrs:{name:e.$L("\u5168\u5C4F")}},[r("span",{staticClass:"iconfont icon-fullscreen",on:{click:function(n){return e.onCustom("fullscreen")}}})]):e._e(),e.tools.custom_fullscreen&&e.isCustomFullscreen?r("li",{attrs:{name:e.$L("\u9000\u51FA\u5168\u5C4F")}},[r("span",{staticClass:"iconfont icon-quite",on:{click:function(n){return e.onCustom("fullscreen")}}})]):e._e()])])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.preview&&!e.isPreview,expression:"preview && !isPreview"}],staticClass:"close-preview",on:{click:function(n){e.preview=!1}}},[r("span",{staticClass:"iconfont icon-close"})]),r("div",{staticClass:"markdown-content",style:{background:e.preview?"#fff":""}},[r("div",{directives:[{name:"show",rawName:"v-show",value:!e.preview,expression:"!preview"}],ref:"codemirror",staticClass:"codemirror",on:{mouseenter:function(n){return e.mousescrollSide("left")}}}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.preview?e.preview:e.split,expression:"preview ? preview : split"}],ref:"preview",class:`markdown-preview ${"markdown-theme-"+e.themeName}`,on:{scroll:e.previewScroll,mouseenter:function(n){return e.mousescrollSide("right")}}},[r("div",{ref:"previewInner",domProps:{innerHTML:e._s(e.html)}})]),r("ul",{directives:[{name:"show",rawName:"v-show",value:e.tocShow,expression:"tocShow"}],staticClass:"toc-anchor"},e._l(e.tocLists,function(n){return r("li",{key:n.anchor,staticClass:"toc-anchor-item",on:{click:function(i){return e.tocClick(n)}}},[r("span",{class:`toc-link-${e.tocLevel(n.level)}${e.tocAction==n.anchor?" toc-link-action":""}`,attrs:{anchor:n.anchor,title:n.text}},[e._v(e._s(n.text))])])}),0)]),r("div",{class:["preview-img",e.previewImgModal?"active":""]},[r("span",{staticClass:"close icon-close iconfont",on:{click:function(n){e.previewImgModal=!1}}}),r("img",{class:[e.previewImgMode],attrs:{src:e.previewImgSrc,alt:""}})])])},lc=[];const ac=ic,pl={};var sc=gl(ac,oc,lc,!1,uc,"566f9802",null,null);function uc(e){for(let t in pl)this[t]=pl[t]}var fc=function(){return sc.exports}(),cc=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"mdeditor-wrapper"},[r("div",{staticClass:"mdeditor-box"},[r("MarkdownPro",{ref:"md1",attrs:{height:e.height,toolbars:e.toolbars,copyBtnText:e.$L("\u590D\u5236\u4EE3\u7801"),"is-custom-fullscreen":e.transfer},on:{"on-custom":e.customClick,"on-upload-image":e.handleUploadImageUpload},model:{value:e.content,callback:function(n){e.content=n},expression:"content"}}),r("ImgUpload",{ref:"myUpload",staticClass:"upload-control",attrs:{type:"callback",uploadIng:e.uploadIng,num:"50"},on:{"update:uploadIng":function(n){e.uploadIng=n},"update:upload-ing":function(n){e.uploadIng=n},"on-callback":e.editorImage}}),r("Upload",{ref:"fileUpload",staticClass:"upload-control",attrs:{name:"files",action:e.actionUrl,headers:e.headers,multiple:"",format:e.uploadFormat,"show-upload-list":!1,"max-size":e.maxSize,"on-progress":e.handleProgress,"on-success":e.handleSuccess,"on-error":e.handleError,"on-format-error":e.handleFormatError,"on-exceeded-size":e.handleMaxSize,"before-upload":e.handleBeforeUpload}})],1),e.uploadIng>0?r("Spin",{attrs:{fix:""}},[r("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}),r("div",[e._v(e._s(e.$L("\u6B63\u5728\u4E0A\u4F20\u6587\u4EF6...")))])],1):e._e(),r("Modal",{staticClass:"mdeditor-transfer",attrs:{"footer-hide":"",fullscreen:"",transfer:"",closable:!1},model:{value:e.transfer,callback:function(n){e.transfer=n},expression:"transfer"}},[r("div",{staticClass:"mdeditor-transfer-body"},[e.transfer?r("MarkdownPro",{ref:"md2",attrs:{toolbars:e.toolbars,copyBtnText:e.$L("\u590D\u5236\u4EE3\u7801"),"is-custom-fullscreen":e.transfer,height:"100%"},on:{"on-custom":e.customClick,"on-upload-image":e.handleUploadImageUpload},model:{value:e.content,callback:function(n){e.content=n},expression:"content"}}):e._e()],1),e.uploadIng>0?r("Spin",{attrs:{fix:""}},[r("Icon",{staticClass:"icon-loading",attrs:{type:"ios-loading"}}),r("div",[e._v(e._s(e.$L("\u6B63\u5728\u4E0A\u4F20\u6587\u4EF6...")))])],1):e._e()],1),r("Modal",{attrs:{title:e.$L("html\u8F6Cmarkdown"),okText:e.$L("\u8F6C\u6362\u6210markdown"),width:"680","class-name":"simple-modal",transfer:""},on:{"on-ok":e.htmlOk},model:{value:e.html2md,callback:function(n){e.html2md=n},expression:"html2md"}},[r("Input",{attrs:{type:"textarea",rows:14,placeholder:e.$L("\u8BF7\u8F93\u5165html\u4EE3\u7801...")},model:{value:e.htmlValue,callback:function(n){e.htmlValue=n},expression:"htmlValue"}})],1)],1)},hc=[];const dc={name:"MDEditor",components:{ImgUpload:Ts,MarkdownPro:fc},props:{value:{default:""},height:{default:380},toolbars:{type:Object,default:()=>({strong:!0,italic:!0,overline:!0,h1:!0,h2:!0,h3:!0,h4:!1,h5:!1,h6:!1,hr:!0,quote:!0,ul:!0,ol:!0,code:!0,link:!0,image:!1,uploadImage:!1,table:!0,checked:!0,notChecked:!0,split:!0,preview:!0,fullscreen:!1,theme:!1,exportmd:!1,importmd:!1,save:!1,clear:!1,custom_image:!0,custom_uploadImage:!0,custom_uploadFile:!0,custom_fullscreen:!0})}},data(){return{content:"",transfer:!1,html2md:!1,htmlValue:"",uploadIng:0,uploadFormat:["jpg","jpeg","png","gif","doc","docx","xls","xlsx","ppt","pptx","txt","esp","pdf","rar","zip","gz","ai","avi","bmp","cdr","eps","mov","mp3","mp4","pr","psd","svg","tif"],actionUrl:$A.apiUrl("system/fileupload"),maxSize:1024e3}},mounted(){this.content=this.value},activated(){this.content=this.value},computed:{headers(){return{fd:$A.getSessionStorageString("userWsFd"),token:this.userToken}}},watch:{value(e){e==null&&(e=""),this.content=e},content(e){this.$emit("input",e)}},methods:{editorImage(e){for(let t=0;t{if(e!==null||typeof toMarkdown!="function"){$A.modalError("\u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01");return}this.transfer?this.$refs.md2.insertContent(` +![image](`+r.url+")"))}},customClick(e){switch(e){case"image-browse":{this.$refs.myUpload.browsePicture();break}case"image-upload":{this.$refs.myUpload.handleClick();break}case"file-upload":{this.$refs.fileUpload.handleClick();break}case"fullscreen":{this.transfer=!this.transfer;break}case"html2md":{this.html2md=!0;break}}},htmlOk(){$A.loadScript("js/html2md.js").then(e=>{this.transfer?this.$refs.md2.insertContent(` `+toMarkdown(this.htmlValue,{gfm:!0})):this.$refs.md1.insertContent(` -`+toMarkdown(this.htmlValue,{gfm:!0})),this.htmlValue=""})},handleUploadImageUpload(e){this.$refs.myUpload.handleManual(e)},handleProgress(e,t){t._uploadIng===void 0&&(t._uploadIng=!0,this.uploadIng++)},handleSuccess(e,t){if(this.uploadIng--,e.ret===1){let r=`[${e.data.name} (${$A.bytesToSize(e.data.size*1024)})](${e.data.url})`;this.transfer?this.$refs.md2.insertContent(r):this.$refs.md1.insertContent(r)}else $A.modalWarning({title:"\u4E0A\u4F20\u5931\u8D25",content:"\u6587\u4EF6 "+t.name+" \u4E0A\u4F20\u5931\u8D25\uFF0C"+e.msg})},handleError(){this.uploadIng--},handleFormatError(e){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+e.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(e){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+e.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleBeforeUpload(){return!0}}},vl={};var pc=gl(dc,cc,hc,!1,vc,"7f240f8c",null,null);function vc(e){for(let t in vl)this[t]=vl[t]}var yc=function(){return pc.exports}();export{yc as default}; +`+toMarkdown(this.htmlValue,{gfm:!0})),this.htmlValue=""}).catch(e=>{$A.modalError("\u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01")})},handleUploadImageUpload(e){this.$refs.myUpload.handleManual(e)},handleProgress(e,t){t._uploadIng===void 0&&(t._uploadIng=!0,this.uploadIng++)},handleSuccess(e,t){if(this.uploadIng--,e.ret===1){let r=`[${e.data.name} (${$A.bytesToSize(e.data.size*1024)})](${e.data.url})`;this.transfer?this.$refs.md2.insertContent(r):this.$refs.md1.insertContent(r)}else $A.modalWarning({title:"\u4E0A\u4F20\u5931\u8D25",content:"\u6587\u4EF6 "+t.name+" \u4E0A\u4F20\u5931\u8D25\uFF0C"+e.msg})},handleError(){this.uploadIng--},handleFormatError(e){$A.modalWarning({title:"\u6587\u4EF6\u683C\u5F0F\u4E0D\u6B63\u786E",content:"\u6587\u4EF6 "+e.name+" \u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20\uFF1A"+this.uploadFormat.join(",")})},handleMaxSize(e){$A.modalWarning({title:"\u8D85\u51FA\u6587\u4EF6\u5927\u5C0F\u9650\u5236",content:"\u6587\u4EF6 "+e.name+" \u592A\u5927\uFF0C\u4E0D\u80FD\u8D85\u8FC7\uFF1A"+$A.bytesToSize(this.maxSize*1024)+"\u3002"})},handleBeforeUpload(){return!0}}},vl={};var pc=gl(dc,cc,hc,!1,vc,"627a0ab2",null,null);function vc(e){for(let t in vl)this[t]=vl[t]}var yc=function(){return pc.exports}();export{yc as default}; diff --git a/public/js/build/index.458f2773.js b/public/js/build/index.f1edfbd3.js similarity index 98% rename from public/js/build/index.458f2773.js rename to public/js/build/index.f1edfbd3.js index 1f5132515..a6915870c 100644 --- a/public/js/build/index.458f2773.js +++ b/public/js/build/index.f1edfbd3.js @@ -1 +1 @@ -import{m as o,d as r,h as l,n as c}from"./app.bd09c684.js";var u=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"page-setting"},[t("PageTitle",{attrs:{title:e.$L(e.titleNameRoute)}}),t("div",{staticClass:"setting-head"},[t("div",{staticClass:"setting-titbox"},[t("div",{staticClass:"setting-title"},[t("h1",[e._v(e._s(e.$L(e.settingTitleName)))]),e.show768Box?e._e():t("div",{staticClass:"setting-more",on:{click:function(a){return e.toggleRoute("index")}}},[t("Icon",{attrs:{type:"md-close"}})],1)])])]),t("div",{staticClass:"setting-box",class:{"show768-box":e.show768Box}},[t("div",{staticClass:"setting-menu"},[t("ul",[e._l(e.menu,function(a,n){return t("li",{key:n,class:e.classNameRoute(a.path,a.divided),on:{click:function(v){return e.toggleRoute(a.path)}}},[e._v(e._s(e.$L(a.name)))])}),e.clientNewVersion?t("li",{staticClass:"flex",class:e.classNameRoute("version",!0),on:{click:function(a){return e.toggleRoute("version")}}},[t("AutoTip",{attrs:{disabled:""}},[e._v(e._s(e.$L("\u7248\u672C"))+": "+e._s(e.version))]),t("Badge",{attrs:{text:e.clientNewVersion}})],1):t("li",{staticClass:"version divided",on:{click:e.onVersion}},[t("AutoTip",[e._v(e._s(e.$L("\u7248\u672C"))+": "+e._s(e.version))])],1)],2)]),t("div",{staticClass:"setting-content"},[t("div",{staticClass:"setting-content-title"},[e._v(e._s(e.$L(e.titleNameRoute)))]),t("div",{staticClass:"setting-content-view"},[t("router-view",{staticClass:"setting-router-view"})],1)])])],1)},m=[];const d={data(){return{version:window.systemInfo.version}},mounted(){},computed:{...o(["userInfo","userIsAdmin","clientNewVersion"]),routeName(){return this.$route.name},show768Box(){return this.routeName==="manage-setting"},menu(){const e=[{path:"personal",name:"\u4E2A\u4EBA\u8BBE\u7F6E"},{path:"checkin",name:"\u7B7E\u5230\u8BBE\u7F6E",desc:" (Beta)"},{path:"language",name:"\u8BED\u8A00\u8BBE\u7F6E"},{path:"theme",name:"\u4E3B\u9898\u8BBE\u7F6E"},{path:"password",name:"\u5BC6\u7801\u8BBE\u7F6E"},{path:"email",name:"\u4FEE\u6539\u90AE\u7BB1"}];return this.$Electron&&e.splice(2,0,{path:"keyboard",name:"\u5FEB\u6377\u952E",desc:" (Beta)"}),$A.isDooServer()&&this.$isEEUiApp&&e.push({path:"privacy",name:"\u9690\u79C1\u653F\u7B56",divided:!0},{path:"delete",name:"\u5220\u9664\u5E10\u53F7"}),this.userIsAdmin&&e.push({path:"system",name:"\u7CFB\u7EDF\u8BBE\u7F6E",divided:!0},{path:"license",name:"License Key"}),e.push({path:"clearCache",name:"\u6E05\u9664\u7F13\u5B58",divided:!0},{path:"logout",name:"\u9000\u51FA\u767B\u5F55"}),e},titleNameRoute(){const{routeName:e,menu:s}=this;let t="";return s.some(a=>{if(e===`manage-setting-${a.path}`)return t=`${a.name}${a.desc||""}`,!0}),t||"\u8BBE\u7F6E"},settingTitleName(){return this.windowSmall?this.titleNameRoute:"\u8BBE\u7F6E"}},watch:{routeName:{handler(e){e==="manage-setting"&&this.windowLarge&&this.goForward({name:"manage-setting-personal"},!0)},immediate:!0}},methods:{toggleRoute(e){switch(e){case"clearCache":$A.IDBSet("clearCache","handle").then(s=>{$A.reloadUrl()});break;case"logout":$A.modalConfirm({title:"\u9000\u51FA\u767B\u5F55",content:"\u4F60\u786E\u5B9A\u8981\u767B\u51FA\u7CFB\u7EDF\uFF1F",onOk:()=>{this.$store.dispatch("logout",!1)}});break;case"version":r.Store.set("updateNotification",null);break;case"privacy":this.openPrivacy();break;case"index":this.goForward({name:"manage-setting"});break;default:this.goForward({name:"manage-setting-"+e});break}},openPrivacy(){const e=$A.apiUrl("privacy");this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:" ",url:"web.js",params:{url:e,browser:!0,showProgress:!0}}):window.open(e)},classNameRoute(e,s){return{active:this.windowLarge&&this.routeName===`manage-setting-${e}`,divided:!!s}},onVersion(){l.get($A.apiUrl("system/version")).then(({status:e,data:s})=>{if(e===200){let t=`${this.$L("\u670D\u52A1\u5668")}: ${$A.getDomain($A.apiUrl("../"))}`;t+=`
    ${this.$L("\u670D\u52A1\u5668\u7248\u672C")}: v${s.version}`,t+=`
    ${this.$L("\u5BA2\u6237\u7AEF\u7248\u672C")}: v${this.version}`,$A.modalInfo({language:!1,title:"\u7248\u672C\u4FE1\u606F",content:t})}}).catch(e=>{})}}},i={};var h=c(d,u,m,!1,p,null,null,null);function p(e){for(let s in i)this[s]=i[s]}var $=function(){return h.exports}();export{$ as default}; +import{m as o,d as r,h as l,n as c}from"./app.139edc4e.js";var u=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"page-setting"},[t("PageTitle",{attrs:{title:e.$L(e.titleNameRoute)}}),t("div",{staticClass:"setting-head"},[t("div",{staticClass:"setting-titbox"},[t("div",{staticClass:"setting-title"},[t("h1",[e._v(e._s(e.$L(e.settingTitleName)))]),e.show768Box?e._e():t("div",{staticClass:"setting-more",on:{click:function(a){return e.toggleRoute("index")}}},[t("Icon",{attrs:{type:"md-close"}})],1)])])]),t("div",{staticClass:"setting-box",class:{"show768-box":e.show768Box}},[t("div",{staticClass:"setting-menu"},[t("ul",[e._l(e.menu,function(a,n){return t("li",{key:n,class:e.classNameRoute(a.path,a.divided),on:{click:function(v){return e.toggleRoute(a.path)}}},[e._v(e._s(e.$L(a.name)))])}),e.clientNewVersion?t("li",{staticClass:"flex",class:e.classNameRoute("version",!0),on:{click:function(a){return e.toggleRoute("version")}}},[t("AutoTip",{attrs:{disabled:""}},[e._v(e._s(e.$L("\u7248\u672C"))+": "+e._s(e.version))]),t("Badge",{attrs:{text:e.clientNewVersion}})],1):t("li",{staticClass:"version divided",on:{click:e.onVersion}},[t("AutoTip",[e._v(e._s(e.$L("\u7248\u672C"))+": "+e._s(e.version))])],1)],2)]),t("div",{staticClass:"setting-content"},[t("div",{staticClass:"setting-content-title"},[e._v(e._s(e.$L(e.titleNameRoute)))]),t("div",{staticClass:"setting-content-view"},[t("router-view",{staticClass:"setting-router-view"})],1)])])],1)},m=[];const d={data(){return{version:window.systemInfo.version}},mounted(){},computed:{...o(["userInfo","userIsAdmin","clientNewVersion"]),routeName(){return this.$route.name},show768Box(){return this.routeName==="manage-setting"},menu(){const e=[{path:"personal",name:"\u4E2A\u4EBA\u8BBE\u7F6E"},{path:"checkin",name:"\u7B7E\u5230\u8BBE\u7F6E",desc:" (Beta)"},{path:"language",name:"\u8BED\u8A00\u8BBE\u7F6E"},{path:"theme",name:"\u4E3B\u9898\u8BBE\u7F6E"},{path:"password",name:"\u5BC6\u7801\u8BBE\u7F6E"},{path:"email",name:"\u4FEE\u6539\u90AE\u7BB1"}];return this.$Electron&&e.splice(2,0,{path:"keyboard",name:"\u5FEB\u6377\u952E",desc:" (Beta)"}),$A.isDooServer()&&this.$isEEUiApp&&e.push({path:"privacy",name:"\u9690\u79C1\u653F\u7B56",divided:!0},{path:"delete",name:"\u5220\u9664\u5E10\u53F7"}),this.userIsAdmin&&e.push({path:"system",name:"\u7CFB\u7EDF\u8BBE\u7F6E",divided:!0},{path:"license",name:"License Key"}),e.push({path:"clearCache",name:"\u6E05\u9664\u7F13\u5B58",divided:!0},{path:"logout",name:"\u9000\u51FA\u767B\u5F55"}),e},titleNameRoute(){const{routeName:e,menu:s}=this;let t="";return s.some(a=>{if(e===`manage-setting-${a.path}`)return t=`${a.name}${a.desc||""}`,!0}),t||"\u8BBE\u7F6E"},settingTitleName(){return this.windowSmall?this.titleNameRoute:"\u8BBE\u7F6E"}},watch:{routeName:{handler(e){e==="manage-setting"&&this.windowLarge&&this.goForward({name:"manage-setting-personal"},!0)},immediate:!0}},methods:{toggleRoute(e){switch(e){case"clearCache":$A.IDBSet("clearCache","handle").then(s=>{$A.reloadUrl()});break;case"logout":$A.modalConfirm({title:"\u9000\u51FA\u767B\u5F55",content:"\u4F60\u786E\u5B9A\u8981\u767B\u51FA\u7CFB\u7EDF\uFF1F",onOk:()=>{this.$store.dispatch("logout",!1)}});break;case"version":r.Store.set("updateNotification",null);break;case"privacy":this.openPrivacy();break;case"index":this.goForward({name:"manage-setting"});break;default:this.goForward({name:"manage-setting-"+e});break}},openPrivacy(){const e=$A.apiUrl("privacy");this.$isEEUiApp?$A.eeuiAppOpenPage({pageType:"app",pageTitle:" ",url:"web.js",params:{url:e,browser:!0,showProgress:!0}}):window.open(e)},classNameRoute(e,s){return{active:this.windowLarge&&this.routeName===`manage-setting-${e}`,divided:!!s}},onVersion(){l.get($A.apiUrl("system/version")).then(({status:e,data:s})=>{if(e===200){let t=`${this.$L("\u670D\u52A1\u5668")}: ${$A.getDomain($A.apiUrl("../"))}`;t+=`
    ${this.$L("\u670D\u52A1\u5668\u7248\u672C")}: v${s.version}`,t+=`
    ${this.$L("\u5BA2\u6237\u7AEF\u7248\u672C")}: v${this.version}`,$A.modalInfo({language:!1,title:"\u7248\u672C\u4FE1\u606F",content:t})}}).catch(e=>{})}}},i={};var h=c(d,u,m,!1,p,null,null,null);function p(e){for(let s in i)this[s]=i[s]}var $=function(){return h.exports}();export{$ as default}; diff --git a/public/js/build/keyboard.1394c96e.js b/public/js/build/keyboard.6fdea8ad.js similarity index 97% rename from public/js/build/keyboard.1394c96e.js rename to public/js/build/keyboard.6fdea8ad.js index 7e2623782..caf7093e2 100644 --- a/public/js/build/keyboard.1394c96e.js +++ b/public/js/build/keyboard.6fdea8ad.js @@ -1 +1 @@ -import{n as r}from"./app.bd09c684.js";var n=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u622A\u56FE\u5FEB\u6377\u952E"),prop:"screenshot"}},[e("div",{staticClass:"input-box"},[e("Checkbox",{model:{value:t.formData.screenshot_mate,callback:function(a){t.$set(t.formData,"screenshot_mate",a)},expression:"formData.screenshot_mate"}},[t._v(t._s(t.mateName))]),e("div",{staticClass:"input-box-push"},[t._v("+")]),e("Checkbox",{model:{value:t.formData.screenshot_shift,callback:function(a){t.$set(t.formData,"screenshot_shift",a)},expression:"formData.screenshot_shift"}},[t._v("Shift")]),e("div",{staticClass:"input-box-push"},[t._v("+")]),e("Input",{staticClass:"input-box-key",attrs:{disabled:t.screenshotDisabled,value:t.formData.screenshot_key,maxlength:1},on:{"on-keydown":t.onKeydown}})],1),t.screenshotDisabled?e("div",{staticClass:"form-tip red"},[t._v(t._s(t.$L("\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u529F\u80FD\u952E\uFF01")))]):t._e()])],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,disabled:t.screenshotDisabled,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u4FDD\u5B58")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},i=[];const c={data(){return{loadIng:0,mateName:/macintosh|mac os x/i.test(navigator.userAgent)?"Command":"Ctrl",formData:{screenshot_mate:!0,screenshot_shift:!0,screenshot_key:""},ruleData:{}}},mounted(){this.initData()},computed:{screenshotDisabled(){return!this.formData.screenshot_mate&&!this.formData.screenshot_shift}},methods:{initData(){this.formData=Object.assign({screenshot_mate:!0,screenshot_shift:!0,screenshot_key:""},$A.jsonParse(window.localStorage.getItem("__keyboard:data__"))||{}),this.formData_bak=$A.cloneJSON(this.formData)},onKeydown({key:t,keyCode:s}){s!==8&&(t=/^[A-Za-z0-9]?$/.test(t)?t.toUpperCase():"",t&&(this.formData.screenshot_key=t))},submitForm(){this.$refs.formData.validate(t=>{t&&(window.localStorage.setItem("__keyboard:data__",$A.jsonStringify(this.formData)),$A.bindScreenshotKey(this.formData),$A.messageSuccess("\u4FDD\u5B58\u6210\u529F"))})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},o={};var m=r(c,n,i,!1,_,"2cfe89b0",null,null);function _(t){for(let s in o)this[s]=o[s]}var h=function(){return m.exports}();export{h as default}; +import{n as r}from"./app.139edc4e.js";var n=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u622A\u56FE\u5FEB\u6377\u952E"),prop:"screenshot"}},[e("div",{staticClass:"input-box"},[e("Checkbox",{model:{value:t.formData.screenshot_mate,callback:function(a){t.$set(t.formData,"screenshot_mate",a)},expression:"formData.screenshot_mate"}},[t._v(t._s(t.mateName))]),e("div",{staticClass:"input-box-push"},[t._v("+")]),e("Checkbox",{model:{value:t.formData.screenshot_shift,callback:function(a){t.$set(t.formData,"screenshot_shift",a)},expression:"formData.screenshot_shift"}},[t._v("Shift")]),e("div",{staticClass:"input-box-push"},[t._v("+")]),e("Input",{staticClass:"input-box-key",attrs:{disabled:t.screenshotDisabled,value:t.formData.screenshot_key,maxlength:1},on:{"on-keydown":t.onKeydown}})],1),t.screenshotDisabled?e("div",{staticClass:"form-tip red"},[t._v(t._s(t.$L("\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u529F\u80FD\u952E\uFF01")))]):t._e()])],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,disabled:t.screenshotDisabled,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u4FDD\u5B58")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},i=[];const c={data(){return{loadIng:0,mateName:/macintosh|mac os x/i.test(navigator.userAgent)?"Command":"Ctrl",formData:{screenshot_mate:!0,screenshot_shift:!0,screenshot_key:""},ruleData:{}}},mounted(){this.initData()},computed:{screenshotDisabled(){return!this.formData.screenshot_mate&&!this.formData.screenshot_shift}},methods:{initData(){this.formData=Object.assign({screenshot_mate:!0,screenshot_shift:!0,screenshot_key:""},$A.jsonParse(window.localStorage.getItem("__keyboard:data__"))||{}),this.formData_bak=$A.cloneJSON(this.formData)},onKeydown({key:t,keyCode:s}){s!==8&&(t=/^[A-Za-z0-9]?$/.test(t)?t.toUpperCase():"",t&&(this.formData.screenshot_key=t))},submitForm(){this.$refs.formData.validate(t=>{t&&(window.localStorage.setItem("__keyboard:data__",$A.jsonStringify(this.formData)),$A.bindScreenshotKey(this.formData),$A.messageSuccess("\u4FDD\u5B58\u6210\u529F"))})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},o={};var m=r(c,n,i,!1,_,"2cfe89b0",null,null);function _(t){for(let s in o)this[s]=o[s]}var h=function(){return m.exports}();export{h as default}; diff --git a/public/js/build/language.a41faf36.js b/public/js/build/language.a3631794.js similarity index 95% rename from public/js/build/language.a41faf36.js rename to public/js/build/language.a3631794.js index 634858fc7..5b5883b8a 100644 --- a/public/js/build/language.a41faf36.js +++ b/public/js/build/language.a3631794.js @@ -1 +1 @@ -import{l as s,m as l,a as i,s as m,n as u}from"./app.bd09c684.js";var f=function(){var t=this,o=t.$createElement,a=t._self._c||o;return a("div",{staticClass:"setting-item submit"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{label:t.$L("\u9009\u62E9\u8BED\u8A00"),prop:"language"}},[a("Select",{attrs:{placeholder:t.$L("\u9009\u9879\u8BED\u8A00")},model:{value:t.formData.language,callback:function(e){t.$set(t.formData,"language",e)},expression:"formData.language"}},t._l(t.languageList,function(e,n){return a("Option",{key:n,attrs:{value:n}},[t._v(t._s(e))])}),1)],1)],1),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},g=[];const c={data(){return{loadIng:0,languageList:s,formData:{language:""},ruleData:{}}},mounted(){this.initData()},computed:{...l(["formLabelPosition","formLabelWidth"])},methods:{initData(){this.$set(this.formData,"language",i),this.formData_bak=$A.cloneJSON(this.formData)},submitForm(){this.$refs.formData.validate(t=>{t&&m(this.formData.language)})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},r={};var _=u(c,f,g,!1,d,null,null,null);function d(t){for(let o in r)this[o]=r[o]}var p=function(){return _.exports}();export{p as default}; +import{l as s,m as l,a as i,s as m,n as u}from"./app.139edc4e.js";var f=function(){var t=this,o=t.$createElement,a=t._self._c||o;return a("div",{staticClass:"setting-item submit"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{label:t.$L("\u9009\u62E9\u8BED\u8A00"),prop:"language"}},[a("Select",{attrs:{placeholder:t.$L("\u9009\u9879\u8BED\u8A00")},model:{value:t.formData.language,callback:function(e){t.$set(t.formData,"language",e)},expression:"formData.language"}},t._l(t.languageList,function(e,n){return a("Option",{key:n,attrs:{value:n}},[t._v(t._s(e))])}),1)],1)],1),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},g=[];const c={data(){return{loadIng:0,languageList:s,formData:{language:""},ruleData:{}}},mounted(){this.initData()},computed:{...l(["formLabelPosition","formLabelWidth"])},methods:{initData(){this.$set(this.formData,"language",i),this.formData_bak=$A.cloneJSON(this.formData)},submitForm(){this.$refs.formData.validate(t=>{t&&m(this.formData.language)})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},r={};var _=u(c,f,g,!1,d,null,null,null);function d(t){for(let o in r)this[o]=r[o]}var p=function(){return _.exports}();export{p as default}; diff --git a/public/js/build/license.edbf6d2b.js b/public/js/build/license.ec7859dd.js similarity index 98% rename from public/js/build/license.edbf6d2b.js rename to public/js/build/license.ec7859dd.js index d83241481..47ea99484 100644 --- a/public/js/build/license.edbf6d2b.js +++ b/public/js/build/license.ec7859dd.js @@ -1 +1 @@ -import{m as i,n}from"./app.bd09c684.js";var r=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("div",{staticClass:"setting-item submit"},[o("Form",{ref:"formData",attrs:{model:t.formData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(e){e.preventDefault()}}},[o("FormItem",{attrs:{label:"License",prop:"license"}},[o("Input",{attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:t.$L("\u8BF7\u8F93\u5165License...")},model:{value:t.formData.license,callback:function(e){t.$set(t.formData,"license",e)},expression:"formData.license"}})],1),o("FormItem",{attrs:{label:t.$L("\u8BE6\u7EC6\u4FE1\u606F")}},[o("div",{staticClass:"license-box"},[o("ul",[o("li",[o("em",[t._v("SN:")]),o("span",[t._v(t._s(t.formData.info.sn))]),o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u5F53\u524D\u73AF\u5883"))+": "+t._s(t.formData.doo_sn))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1)],1),o("li",[o("em",[t._v("IP:")]),o("span",[t._v(t._s(t.infoJoin(t.formData.info.ip)))])]),o("li",[o("em",[t._v(t._s(t.$L("\u57DF\u540D"))+":")]),o("span",[t._v(t._s(t.infoJoin(t.formData.info.domain)))])]),o("li",[o("em",[t._v("MAC:")]),o("span",[t._v(t._s(t.infoJoin(t.formData.info.mac)))]),o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u5F53\u524D\u73AF\u5883"))+": "+t._s(t.infoJoin(t.formData.macs,"-")))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1)],1),o("li",[o("em",[t._v(t._s(t.$L("\u4F7F\u7528\u4EBA\u6570"))+":")]),o("span",[t._v(t._s(t.formData.info.people||t.$L("\u65E0\u9650\u5236"))+" ("+t._s(t.$L("\u5DF2\u4F7F\u7528"))+": "+t._s(t.formData.user_count)+")")]),o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u9650\u5236\u6CE8\u518C\u4EBA\u6570")))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1)],1),o("li",[o("em",[t._v(t._s(t.$L("\u521B\u5EFA\u65F6\u95F4"))+":")]),o("span",[t._v(t._s(t.formData.info.created_at))])]),o("li",[o("em",[t._v(t._s(t.$L("\u5230\u671F\u65F6\u95F4"))+":")]),o("span",[t._v(t._s(t.formData.info.expired_at||t.$L("\u6C38\u4E45")))]),t.formData.info.expired_at?o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u5230\u671F\u540E\u9650\u5236\u6CE8\u518C\u5E10\u53F7")))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1):t._e()],1)])])])],1),o("div",{staticClass:"setting-footer"},[o("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),o("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const m={data(){return{loadIng:0,formData:{license:"",info:{},macs:[],doo_sn:"",user_count:0}}},mounted(){this.systemSetting()},computed:{...i(["userInfo","formLabelPosition","formLabelWidth"])},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/license?type="+(t?"save":"get"),method:"post",data:this.formData}).then(({data:a})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=a,this.formData_bak=$A.cloneJSON(this.formData)}).catch(({msg:a})=>{t&&$A.modalError(a)}).finally(a=>{this.loadIng--})},infoJoin(t,a=null){return $A.isArray(t)&&(t=t.join(",")),t||(a===null?this.$L("\u65E0\u9650\u5236"):a)}}},s={};var c=n(m,r,l,!1,_,"63e2bc07",null,null);function _(t){for(let a in s)this[a]=s[a]}var u=function(){return c.exports}();export{u as default}; +import{m as i,n}from"./app.139edc4e.js";var r=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("div",{staticClass:"setting-item submit"},[o("Form",{ref:"formData",attrs:{model:t.formData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(e){e.preventDefault()}}},[o("FormItem",{attrs:{label:"License",prop:"license"}},[o("Input",{attrs:{type:"textarea",autosize:{minRows:2,maxRows:5},placeholder:t.$L("\u8BF7\u8F93\u5165License...")},model:{value:t.formData.license,callback:function(e){t.$set(t.formData,"license",e)},expression:"formData.license"}})],1),o("FormItem",{attrs:{label:t.$L("\u8BE6\u7EC6\u4FE1\u606F")}},[o("div",{staticClass:"license-box"},[o("ul",[o("li",[o("em",[t._v("SN:")]),o("span",[t._v(t._s(t.formData.info.sn))]),o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u5F53\u524D\u73AF\u5883"))+": "+t._s(t.formData.doo_sn))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1)],1),o("li",[o("em",[t._v("IP:")]),o("span",[t._v(t._s(t.infoJoin(t.formData.info.ip)))])]),o("li",[o("em",[t._v(t._s(t.$L("\u57DF\u540D"))+":")]),o("span",[t._v(t._s(t.infoJoin(t.formData.info.domain)))])]),o("li",[o("em",[t._v("MAC:")]),o("span",[t._v(t._s(t.infoJoin(t.formData.info.mac)))]),o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u5F53\u524D\u73AF\u5883"))+": "+t._s(t.infoJoin(t.formData.macs,"-")))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1)],1),o("li",[o("em",[t._v(t._s(t.$L("\u4F7F\u7528\u4EBA\u6570"))+":")]),o("span",[t._v(t._s(t.formData.info.people||t.$L("\u65E0\u9650\u5236"))+" ("+t._s(t.$L("\u5DF2\u4F7F\u7528"))+": "+t._s(t.formData.user_count)+")")]),o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u9650\u5236\u6CE8\u518C\u4EBA\u6570")))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1)],1),o("li",[o("em",[t._v(t._s(t.$L("\u521B\u5EFA\u65F6\u95F4"))+":")]),o("span",[t._v(t._s(t.formData.info.created_at))])]),o("li",[o("em",[t._v(t._s(t.$L("\u5230\u671F\u65F6\u95F4"))+":")]),o("span",[t._v(t._s(t.formData.info.expired_at||t.$L("\u6C38\u4E45")))]),t.formData.info.expired_at?o("ETooltip",{attrs:{"max-width":"auto",placement:"right"}},[o("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u5230\u671F\u540E\u9650\u5236\u6CE8\u518C\u5E10\u53F7")))]),o("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}})],1):t._e()],1)])])])],1),o("div",{staticClass:"setting-footer"},[o("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),o("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const m={data(){return{loadIng:0,formData:{license:"",info:{},macs:[],doo_sn:"",user_count:0}}},mounted(){this.systemSetting()},computed:{...i(["userInfo","formLabelPosition","formLabelWidth"])},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/license?type="+(t?"save":"get"),method:"post",data:this.formData}).then(({data:a})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=a,this.formData_bak=$A.cloneJSON(this.formData)}).catch(({msg:a})=>{t&&$A.modalError(a)}).finally(a=>{this.loadIng--})},infoJoin(t,a=null){return $A.isArray(t)&&(t=t.join(",")),t||(a===null?this.$L("\u65E0\u9650\u5236"):a)}}},s={};var c=n(m,r,l,!1,_,"63e2bc07",null,null);function _(t){for(let a in s)this[a]=s[a]}var u=function(){return c.exports}();export{u as default}; diff --git a/public/js/build/login.8ccc6e89.js b/public/js/build/login.afc3f999.js similarity index 99% rename from public/js/build/login.8ccc6e89.js rename to public/js/build/login.afc3f999.js index 31e4123bb..7f544e7e6 100644 --- a/public/js/build/login.8ccc6e89.js +++ b/public/js/build/login.afc3f999.js @@ -1,4 +1,4 @@ -import{l as wr,a as yr,d as Br,m as xr,s as Cr,n as Tr}from"./app.bd09c684.js";/*! +import{l as wr,a as yr,d as Br,m as xr,s as Cr,n as Tr}from"./app.139edc4e.js";/*! * vue-qrcode v1.0.2 * https://fengyuanchen.github.io/vue-qrcode * diff --git a/public/js/build/manage.d79a71f6.js b/public/js/build/manage.cf339c66.js similarity index 85% rename from public/js/build/manage.d79a71f6.js rename to public/js/build/manage.cf339c66.js index 10f4adf4e..cea4681d6 100644 --- a/public/js/build/manage.d79a71f6.js +++ b/public/js/build/manage.cf339c66.js @@ -1 +1 @@ -import{n,N,m as d,c as g,d as c}from"./app.bd09c684.js";import{C as O,T as z}from"./CheckinExport.e14dcdab.js";import{D as E}from"./index.f03606a8.js";import F from"./TEditor.4460561b.js";import{U as v}from"./UserInput.d6d4081e.js";import{R as W}from"./ReportEdit.1329be12.js";import{R as H}from"./ReportDetail.2649fc9a.js";import{l as V}from"./DialogSelect.c9796cea.js";import{D as K}from"./DialogWrapper.1815cab6.js";import{T as Y}from"./TaskDetail.32c1f371.js";import"./ImgUpload.6e9513da.js";import"./ProjectLog.bffe06c7.js";import"./TaskMenu.c2c77c47.js";var J=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"project-archived"},[e("div",{staticClass:"archived-title"},[t._v(" "+t._s(t.$L("\u5F52\u6863\u7684\u9879\u76EE"))+" "),e("div",{staticClass:"title-icon"},[t.loadIng>0?e("Loading"):t._e()],1)]),e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u540D"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(s){t.$set(t.keys,"name",s)},expression:"keys.name"}})],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])},q=[];const X={name:"ProjectArchived",data(){return{loadIng:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"id",width:80,render:(t,{row:a,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",a.id)])},{title:this.$L("\u9879\u76EE\u540D\u79F0"),key:"name",minWidth:200,render:(t,{row:a})=>t("AutoTip",a.name)},{title:this.$L("\u5F52\u6863\u65F6\u95F4"),key:"archived_at",width:168},{title:this.$L("\u5F52\u6863\u4EBA\u5458"),key:"archived_userid",minWidth:80,render:(t,{row:a})=>a.archived_userid?t("UserAvatar",{props:{userid:a.archived_userid,size:24,showName:!0}}):t("Tag",this.$L("\u7CFB\u7EDF\u81EA\u52A8"))},{title:this.$L("\u8D1F\u8D23\u4EBA"),minWidth:80,render:(t,{row:a})=>t("UserAvatar",{props:{showName:!0,size:22,userid:a.owner_userid}})},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(t,a)=>{const e=[t("Poptip",{props:{title:this.$L("\u4F60\u786E\u5B9A\u8981\u8FD8\u539F\u5F52\u6863\u5417\uFF1F"),confirm:!0,transfer:!0,placement:"left",okText:this.$L("\u786E\u5B9A"),cancelText:this.$L("\u53D6\u6D88")},style:{fontSize:"13px",cursor:"pointer",color:"#84C56A"},on:{"on-ok":()=>{this.recovery(a.row)}}},this.$L("\u8FD8\u539F")),t("Poptip",{props:{title:this.$L("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u9879\u76EE\u5417\uFF1F"),confirm:!0,transfer:!0,placement:"left",okText:this.$L("\u786E\u5B9A"),cancelText:this.$L("\u53D6\u6D88")},style:{marginLeft:"8px",fontSize:"13px",cursor:"pointer",color:"#f00"},on:{"on-ok":()=>{this.delete(a.row)}}},this.$L("\u5220\u9664"))];return t("TableAction",{props:{column:a.column}},e)}}],list:[],page:1,pageSize:20,total:0,noText:""}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"project/lists",data:{keys:this.keys,archived:"yes",page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:t})=>{this.page=t.current_page,this.total=t.total,this.list=t.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(t=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()},recovery(t){this.list=this.list.filter(({id:a})=>a!=t.id),this.loadIng++,this.$store.dispatch("call",{url:"project/archived",data:{project_id:t.id,type:"recovery"}}).then(()=>{this.getLists(),this.$store.dispatch("getProjectOne",t.id).catch(()=>{})}).catch(({msg:a})=>{$A.modalError(a),this.getLists()}).finally(a=>{this.loadIng--})},delete(t){this.list=this.list.filter(({id:a})=>a!=t.id),this.loadIng++,this.$store.dispatch("removeProject",t.id).then(({msg:a})=>{$A.messageSuccess(a),this.getLists()}).catch(({msg:a})=>{$A.modalError(a),this.getLists()}).finally(a=>{this.loadIng--})}}},b={};var G=n(X,J,q,!1,Q,null,null,null);function Q(t){for(let a in b)this[a]=b[a]}var Z=function(){return G.exports}(),tt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"project-management"},[e("div",{staticClass:"management-title"},[t._v(" "+t._s(t.$L("\u6240\u6709\u9879\u76EE"))+" "),e("div",{staticClass:"title-icon"},[t.loadIng>0?e("Loading"):t._e()],1)]),e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u540D"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(s){t.$set(t.keys,"name",s)},expression:"keys.name"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u7C7B\u578B"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u56E2\u961F\u9879\u76EE")},model:{value:t.keys.type,callback:function(s){t.$set(t.keys,"type",s)},expression:"keys.type"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u56E2\u961F\u9879\u76EE")))]),e("Option",{attrs:{value:"personal"}},[t._v(t._s(t.$L("\u4E2A\u4EBA\u9879\u76EE")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8\u9879\u76EE")))])],1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u72B6\u6001"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u672A\u5F52\u6863")},model:{value:t.keys.status,callback:function(s){t.$set(t.keys,"status",s)},expression:"keys.status"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u672A\u5F52\u6863")))]),e("Option",{attrs:{value:"archived"}},[t._v(t._s(t.$L("\u5DF2\u5F52\u6863")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8")))])],1)],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])},et=[];const at={name:"ProjectManagement",data(){return{loadIng:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"id",width:80,render:(t,{row:a,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",a.id)])},{title:this.$L("\u9879\u76EE\u540D\u79F0"),key:"name",minWidth:100,render:(t,{row:a})=>{const e=[t("AutoTip",a.name)];return a.archived_at&&e.push(t("Tag",{props:{color:"error"}},this.$L("\u5DF2\u5F52\u6863"))),t("div",{class:"project-name"},e)}},{title:this.$L("\u9879\u76EE\u8FDB\u5EA6"),minWidth:100,render:(t,{row:a})=>{const e=[t("AutoTip",a.task_complete+"/"+a.task_num),t("Progress",{props:{percent:a.task_percent,strokeWidth:5}})];return t("div",{class:"project-percent"},e)}},{title:this.$L("\u8D1F\u8D23\u4EBA"),minWidth:80,render:(t,{row:a})=>t("UserAvatar",{props:{showName:!0,size:22,userid:a.owner_userid}})},{title:this.$L("\u521B\u5EFA\u4EBA"),minWidth:80,render:(t,{row:a})=>t("UserAvatar",{props:{showName:!0,size:22,userid:a.userid}})},{title:this.$L("\u521B\u5EFA\u65F6\u95F4"),key:"created_at",width:168}],list:[],page:1,pageSize:20,total:0,noText:""}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){let t="team";this.keys.type=="all"?t="all":this.keys.type=="personal"&&(t="personal");let a="no";this.keys.status=="all"?a="all":this.keys.status=="archived"&&(a="yes"),this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"project/lists",data:{keys:this.keys,all:1,archived:a,type:t,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:e})=>{this.page=e.current_page,this.total=e.total,this.list=e.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(e=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()}}},y={};var st=n(at,tt,et,!1,it,null,null,null);function it(t){for(let a in y)this[a]=y[a]}var ot=function(){return st.exports}(),nt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"mobile-tabbar"},[t.windowSmall?e("NetworkException",{attrs:{type:"alert"}}):t._e(),e("transition",{attrs:{name:"mobile-fade"}},[t.isMore?e("div",{staticClass:"more-mask",on:{click:function(s){return t.toggleRoute("more")}}}):t._e()]),e("transition",{attrs:{name:"mobile-slide"}},[t.isMore?e("div",{staticClass:"more-box"},[e("div",{staticClass:"tabbar-more-title"},[t._v(t._s(t.$L("\u66F4\u591A")))]),t._l(t.navMore,function(s){return e("ul",t._l(s,function(i){return e("li",{class:{active:t.activeName===i.name},on:{click:function(o){return t.toggleRoute(i.name)}}},[e("div",{staticClass:"more-item"},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(i.icon)}}),e("div",{staticClass:"tabbar-title"},[t._v(t._s(t.$L(i.label)))])])])}),0)})],2):t._e()]),e("ul",{staticClass:"tabbar-box"},t._l(t.navList,function(s){return e("li",{class:{active:t.activeName===s.name},on:{click:function(i){return t.toggleRoute(s.name)}}},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(s.icon)}}),e("div",{staticClass:"tabbar-title"},[t._v(t._s(t.$L(s.label)))]),s.name==="dashboard"?[t.dashboardTask.overdue_count>0?e("Badge",{staticClass:"tabbar-badge",attrs:{type:"error","overflow-count":999,count:t.dashboardTask.overdue_count}}):t.dashboardTask.today_count>0?e("Badge",{staticClass:"tabbar-badge",attrs:{type:"info","overflow-count":999,count:t.dashboardTask.today_count}}):t.dashboardTask.all_count>0?e("Badge",{staticClass:"tabbar-badge",attrs:{type:"primary","overflow-count":999,count:t.dashboardTask.all_count}}):t._e()]:s.name==="dialog"?[e("Badge",{staticClass:"tabbar-badge",attrs:{"overflow-count":999,text:t.msgUnreadMention}})]:t._e()],2)}),0),e("Modal",{attrs:{title:t.$L("\u626B\u7801\u767B\u5F55"),"mask-closable":!1},model:{value:t.scanLoginShow,callback:function(s){t.scanLoginShow=s},expression:"scanLoginShow"}},[e("div",{staticClass:"mobile-scan-login-box"},[e("div",{staticClass:"mobile-scan-login-title"},[t._v(t._s(t.$L("\u4F60\u597D\uFF0C\u626B\u7801\u786E\u8BA4\u767B\u5F55")))]),e("div",{staticClass:"mobile-scan-login-subtitle"},[t._v("\u300C"+t._s(t.$L("\u4E3A\u786E\u4FDD\u5E10\u53F7\u5B89\u5168\uFF0C\u8BF7\u786E\u8BA4\u662F\u672C\u4EBA\u64CD\u4F5C"))+"\u300D")])]),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.scanLoginShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u767B\u5F55")))]),e("Button",{attrs:{type:"primary",loading:t.scanLoginLoad},on:{click:t.scanLoginSubmit}},[t._v(t._s(t.$L("\u786E\u8BA4\u767B\u5F55")))])],1)])],1)},rt=[];const lt={name:"MobileTabbar",components:{NetworkException:N},data(){return{isMore:!1,navList:[{icon:"",name:"dashboard",label:"\u4EEA\u8868\u76D8"},{icon:"",name:"project",label:"\u9879\u76EE"},{icon:"",name:"dialog",label:"\u6D88\u606F"},{icon:"",name:"contacts",label:"\u901A\u8BAF\u5F55"},{icon:"",name:"more",label:"\u66F4\u591A"}],navMore:[[{icon:"",name:"calendar",label:"\u65E5\u5386"},{icon:"",name:"file",label:"\u6587\u4EF6"},{icon:"",name:"setting",label:"\u8BBE\u7F6E"}],[{icon:"",name:"addProject",label:"\u521B\u5EFA\u9879\u76EE"},{icon:"",name:"addTask",label:"\u6DFB\u52A0\u4EFB\u52A1"},{icon:"",name:"createMeeting",label:"\u65B0\u4F1A\u8BAE"},{icon:"",name:"joinMeeting",label:"\u52A0\u5165\u4F1A\u8BAE"}]],scanLoginShow:!1,scanLoginLoad:!1,scanLoginCode:""}},created(){$A.isEEUiApp&&this.navMore[0].splice(2,0,{icon:"",name:"scan",label:"\u626B\u4E00\u626B"})},mounted(){},beforeDestroy(){},computed:{...d(["cacheDialogs"]),...g(["dashboardTask"]),routeName(){return this.$route.name},msgUnreadMention(){let t=0,a=0;this.cacheDialogs.some(s=>{t+=$A.getDialogUnread(s,!1),a+=$A.getDialogMention(s)}),t>999&&(t="999+"),a>999&&(a="999+");const e=this.msgTodoTotal;return e?a?`@${a}\xB7${e}`:t?`${t}\xB7${e}`:e:t?a?`${t}\xB7@${a}`:String(t):a?`@${a}`:""},msgAllUnread(){let t=0;return this.cacheDialogs.some(a=>{t+=$A.getDialogNum(a)}),t},msgTodoTotal(){let t=this.cacheDialogs.reduce((a,e)=>a+(e.todo_num||0),0);return t>0?(t>999?t="999+":t===1&&(t=""),`${this.$L("\u5F85\u529E")}${t}`):null},unreadAndOverdue(){return this.userId>0?this.msgAllUnread+this.dashboardTask.overdue_count:0},activeName(){return this.isMore||["manage-calendar","manage-file","manage-setting"].includes(this.routeName)?"more":this.routeName==="manage-dashboard"?"dashboard":this.routeName==="manage-project"&&!/^\d+$/.test(this.$route.params.projectId)?"project":this.routeName==="manage-messenger"?this.$route.params.dialogAction==="contacts"?"contacts":"dialog":""}},watch:{windowActive(t){t||$A.eeuiAppSendMessage({action:"setBdageNotify",bdage:this.unreadAndOverdue})}},methods:{toggleRoute(t){this.$emit("on-click",t),t!="more"&&(this.isMore=!1);let a;switch(t){case"more":this.isMore=!this.isMore;return;case"scan":$A.eeuiAppScan(this.scanResult);return;case"addTask":case"addProject":return;case"createMeeting":c.Store.set("addMeeting",{type:"create",userids:[this.userId]});break;case"joinMeeting":c.Store.set("addMeeting",{type:"join"});break;case"project":a={name:"manage-project",params:{projectId:"all"}};break;case"dialog":a={name:"manage-messenger",params:{dialogAction:"dialog"}},this.routeName==="manage-messenger"&&c.Store.set("clickAgainDialog",!0);break;case"contacts":a={name:"manage-messenger",params:{dialogAction:"contacts"}};break;default:a={name:"manage-"+t};break}this.goForward(a)},scanResult(t){const a=(t+"").match(/^https*:\/\/(.*?)\/login\?qrcode=(.*?)$/);if(a){this.scanLoginCode=a[2],this.scanLoginShow=!0;return}/^https*:\/\//i.test(t)&&$A.eeuiAppOpenPage({pageType:"app",pageTitle:" ",url:"web.js",params:{url:t,browser:!0,showProgress:!0}})},scanLoginSubmit(){this.scanLoginLoad!==!0&&(this.scanLoginLoad=!0,this.$store.dispatch("call",{url:"users/login/qrcode",data:{type:"login",code:this.scanLoginCode}}).then(({msg:t})=>{this.scanLoginShow=!1,$A.messageSuccess(t)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.scanLoginLoad=!1}))}}},w={};var ct=n(lt,nt,rt,!1,dt,null,null,null);function dt(t){for(let a in w)this[a]=w[a]}var ht=function(){return ct.exports}(),ut=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"task-add"},[e("div",{staticClass:"head",class:{empty:t.addData.cascader.length==0,visible:t.cascaderShow}},[e("Cascader",{attrs:{data:t.cascaderData,clearable:!1,placeholder:t.$L("\u8BF7\u9009\u62E9\u9879\u76EE"),"load-data":t.cascaderLoadData,filterable:""},on:{"on-change":t.cascaderChange,"on-input-change":t.cascaderInputChange,"on-visible-change":function(s){t.cascaderShow=!t.cascaderShow}},model:{value:t.addData.cascader,callback:function(s){t.$set(t.addData,"cascader",s)},expression:"addData.cascader"}})],1),e("div",{staticClass:"task-add-form"},[e("div",{staticClass:"title"},[e("Input",{ref:"input",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,placeholder:t.$L("\u4EFB\u52A1\u63CF\u8FF0"),enterkeyhint:"done"},on:{"on-keydown":t.onKeydown},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1),e("div",{staticClass:"desc"},[e("TEditor",{attrs:{plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L(t.windowLarge?"\u8BE6\u7EC6\u63CF\u8FF0\uFF0C\u9009\u586B...\uFF08\u70B9\u51FB\u53F3\u952E\u4F7F\u7528\u5DE5\u5177\u680F\uFF09":"\u8BE6\u7EC6\u63CF\u8FF0\uFF0C\u9009\u586B..."),placeholderFull:t.$L("\u8BE6\u7EC6\u63CF\u8FF0..."),inline:""},model:{value:t.addData.content,callback:function(s){t.$set(t.addData,"content",s)},expression:"addData.content"}})],1),e("div",{staticClass:"advanced-option"},[e("Button",{class:{advanced:t.advanced},on:{click:function(s){t.advanced=!t.advanced}}},[t._v(t._s(t.$L("\u9AD8\u7EA7\u9009\u9879")))]),e("ul",{staticClass:"advanced-priority"},t._l(t.taskPriority,function(s,i){return e("li",{key:i},[e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp,content:t.taskPriorityContent(s)}},[e("i",{staticClass:"taskfont",style:{color:s.color},domProps:{innerHTML:t._s(t.addData.p_name==s.name?"":"")},on:{click:function(o){return t.choosePriority(s)}}})])],1)}),0),t.taskDays>0?e("DatePicker",{attrs:{open:t.taskTimeOpen,options:t.timeOptions,placeholder:t.$L("\u9009\u62E9\u8BA1\u5212\u8303\u56F4"),format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom"},on:{"on-change":function(s){return t.taskTimeChange(t.addData.times)},"on-open-change":t.taskTimeOpenChange},model:{value:t.addData.times,callback:function(s){t.$set(t.addData,"times",s)},expression:"addData.times"}},[e("div",{staticClass:"advanced-time",on:{click:function(s){return t.taskTimeOpenChange(!t.taskTimeOpen)}}},[e("Icon",{attrs:{type:"ios-clock-outline"}}),e("em",{style:t.addData.p_color?{backgroundColor:t.addData.p_color}:{},attrs:{type:"primary"}},[t._v(t._s(t.taskDays))])],1)]):t._e()],1)]),t.advanced?e("Form",{staticClass:"task-add-advanced",attrs:{"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u8BA1\u5212\u65F6\u95F4")}},[e("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("\u9009\u62E9\u8BA1\u5212\u8303\u56F4"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(s){return t.taskTimeChange(t.addData.times)}},model:{value:t.addData.times,callback:function(s){t.$set(t.addData,"times",s)},expression:"addData.times"}})],1),e("FormItem",{attrs:{label:t.$L("\u4EFB\u52A1\u8D1F\u8D23\u4EBA")}},[e("UserInput",{attrs:{"multiple-max":10,placeholder:t.$L("\u9009\u62E9\u4EFB\u52A1\u8D1F\u8D23\u4EBA"),"project-id":t.addData.project_id,transfer:!1},model:{value:t.addData.owner,callback:function(s){t.$set(t.addData,"owner",s)},expression:"addData.owner"}}),t.showAddAssist?e("div",{staticClass:"task-add-assist"},[e("Checkbox",{attrs:{"true-value":1,"false-value":0},model:{value:t.addData.add_assist,callback:function(s){t.$set(t.addData,"add_assist",s)},expression:"addData.add_assist"}},[t._v(t._s(t.$L("\u52A0\u5165\u4EFB\u52A1\u534F\u52A9\u4EBA\u5458\u5217\u8868")))]),e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp,content:t.$L("\u4F60\u4E0D\u662F\u4EFB\u52A1\u8D1F\u8D23\u4EBA\u65F6\u5EFA\u8BAE\u52A0\u5165\u4EFB\u52A1\u534F\u52A9\u4EBA\u5458\u5217\u8868")}},[e("Icon",{attrs:{type:"ios-alert-outline"}})],1)],1):t._e()],1),e("div",{staticClass:"subtasks"},[t.addData.subtasks.length>0?e("div",{staticClass:"sublist"},[e("Row",[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u4EFB\u52A1\u63CF\u8FF0")))]),e("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("\u8BA1\u5212\u65F6\u95F4")))]),e("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("\u8D1F\u8D23\u4EBA")))])],1),t._l(t.addData.subtasks,function(s,i){return e("Row",{key:i},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:255,clearable:""},on:{"on-clear":function(o){return t.addData.subtasks.splice(i,1)}},model:{value:s.name,callback:function(o){t.$set(s,"name",o)},expression:"item.name"}})],1),e("Col",{attrs:{span:"6"}},[e("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("\u9009\u62E9\u65F6\u95F4"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(o){return t.taskTimeChange(s.times)}},model:{value:s.times,callback:function(o){t.$set(s,"times",o)},expression:"item.times"}})],1),e("Col",{attrs:{span:"6"}},[e("UserInput",{attrs:{"multiple-max":1,placeholder:t.$L("\u9009\u62E9\u8D1F\u8D23\u4EBA"),"project-id":t.addData.project_id,transfer:!1,"max-hidden-select":""},model:{value:s.owner,callback:function(o){t.$set(s,"owner",o)},expression:"item.owner"}})],1)],1)})],2):t._e(),e("Input",{class:["enter-input",t.subName==""?"empty":""],attrs:{type:"text",placeholder:t.$L("+ \u8F93\u5165\u5B50\u4EFB\u52A1\uFF0C\u56DE\u8F66\u6DFB\u52A0\u5B50\u4EFB\u52A1")},on:{"on-enter":t.addSubTask},model:{value:t.subName,callback:function(s){t.subName=s},expression:"subName"}})],1)],1):t._e(),e("div",{staticClass:"ivu-modal-footer"},[e("div",{staticClass:"adaption"},[e("Button",{attrs:{type:"default"},on:{click:t.close}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("ButtonGroup",{staticClass:"page-manage-add-task-button-group"},[e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAdd}},[t._v(t._s(t.$L("\u6DFB\u52A0\u4EFB\u52A1")))]),e("Dropdown",{attrs:{transfer:""},on:{"on-click":function(s){return t.onAdd(!0)}}},[e("Button",{attrs:{type:"primary"}},[e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{disabled:t.loadIng>0}},[t._v(t._s(t.$L("\u63D0\u4EA4\u7EE7\u7EED\u6DFB\u52A0")))])],1)],1)],1)],1)])],1)},pt=[];const mt={name:"TaskAdd",components:{UserInput:v,TEditor:F},props:{value:{type:Boolean,default:!1}},data(){return{addData:{cascader:[],name:"",content:"",owner:[],add_assist:1,project_id:0,column_id:0,times:[],subtasks:[],p_level:0,p_name:"",p_color:""},cascaderShow:!1,cascaderData:[],cascaderValue:"",cascaderLoading:0,cascaderAlready:[],advanced:!1,subName:"",taskPlugins:["advlist autolink lists link image charmap print preview hr anchor pagebreak","searchreplace visualblocks visualchars code","insertdatetime media nonbreaking save table directionality","emoticons paste codesample","autoresize"],taskOptions:{statusbar:!1,menubar:!1,autoresize_bottom_margin:2,min_height:200,max_height:380,contextmenu:"bold italic underline forecolor backcolor | codesample | uploadImages imagePreview | preview screenload",valid_elements:"a[href|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",toolbar:!1},taskOptionFull:{menubar:"file edit view",valid_elements:"a[href|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",toolbar:"uploadImages | bold italic underline forecolor backcolor | codesample | preview screenload"},taskTimeOpen:!1,timeOptions:{shortcuts:$A.timeOptionShortcuts()},loadIng:0,isMounted:!1,beforeClose:[]}},async mounted(){this.initCascaderData(),await this.initProjectData(),this.$nextTick(()=>this.$refs.input.focus()),this.isMounted=!0},beforeDestroy(){this.beforeClose.some(t=>{typeof t=="function"&&t()}),this.beforeClose=[]},computed:{...d(["cacheProjects","projectId","cacheColumns","taskPriority"]),taskDays(){const{times:t}=this.addData;let a=$A.date2string(t,"Y-m-d H:i");if(a[0]&&a[1]){let e=Math.ceil(($A.Date(a[1],!0)-$A.Date(a[0],!0))/86400);if(e>0)return e}return 0},showAddAssist(){return!this.addData.owner.includes(this.userId)}},watch:{"addData.project_id"(t){t>0&&$A.IDBSave("cacheAddTaskProjectId",t)},"addData.column_id"(t){t>0&&$A.IDBSave("cacheAddTaskColumnId",t);const{project_id:a}=this.addData;a&&t?this.$set(this.addData,"cascader",[a,t]):this.$set(this.addData,"cascader",[])}},methods:{initCascaderData(){const t=$A.cloneJSON(this.cacheProjects).sort((a,e)=>a.top_at||e.top_at?$A.Date(e.top_at)-$A.Date(a.top_at):e.id-a.id);this.cascaderData=t.map(a=>{const e=this.cacheColumns.filter(({project_id:i})=>i==a.id).map(i=>({value:i.id,label:i.name})),s={value:a.id,label:a.name,children:e};return e.length==0&&(s.loading=!1),s})},async initProjectData(){let t=await $A.IDBInt("cacheAddTaskProjectId"),a=this.cacheProjects.find(({id:e})=>e==this.projectId)||this.cacheProjects.find(({id:e})=>e==t)||this.cacheProjects.find(({id:e})=>e>0);if(a){let e=await $A.IDBInt("cacheAddTaskColumnId"),s=this.cacheColumns.find(({project_id:i,id:o})=>i==a.id&&o==e)||this.cacheColumns.find(({project_id:i})=>i==a.id);s?(this.addData.project_id=s.project_id,this.addData.column_id=s.id):this.$store.dispatch("getColumns",a.id).then(()=>{s=this.cacheColumns.find(({project_id:i,id:o})=>i==a.id&&o==e)||this.cacheColumns.find(({project_id:i})=>i==a.id),s&&(this.addData.project_id=s.project_id,this.addData.column_id=s.id)}).catch(()=>{})}this.taskPriority.length>0&&this.choosePriority(this.taskPriority[0])},taskTimeChange(t){let a=$A.date2string(t,"Y-m-d H:i");a[0]&&a[1]&&$A.rightExists(a[0],"00:00")&&$A.rightExists(a[1],"00:00")&&this.$set(this.addData,"times",[a[0],a[1].replace("00:00","23:59")])},taskTimeOpenChange(t){this.taskTimeOpen=t},onKeydown(t){if(t.keyCode===13){if(t.shiftKey)return;t.preventDefault(),this.onAdd()}},addSubTask(){this.subName.trim()!==""&&(this.addData.subtasks.push({name:this.subName.trim(),owner:[this.userId],times:[]}),this.subName="")},taskPriorityContent(t){let a=$A.runNum(t.days);return a<=0?t.name+" ("+this.$L("\u65E0\u65F6\u95F4\u9650\u5236")+")":t.name+" ("+a+this.$L("\u5929")+")"},choosePriority(t){let a=new Date,e=$A.runNum(t.days);if(e>0){let s=new Date(new Date().setDate(a.getDate()+e));this.$set(this.addData,"times",$A.date2string([a,s]))}else this.$set(this.addData,"times",[]);this.$set(this.addData,"p_level",t.priority),this.$set(this.addData,"p_name",t.name),this.$set(this.addData,"p_color",t.color)},cascaderLoadData(t,a){t.loading=!0,this.$store.dispatch("getColumns",t.value).then(e=>{t.children=e.map(s=>({value:s.id,label:s.name})),t.loading=!1,a()}).catch(()=>{t.loading=!1,a()})},cascaderChange(t){t[1]&&(this.$set(this.addData,"project_id",t[0]),this.$set(this.addData,"column_id",t[1]))},cascaderInputChange(t){this.cascaderValue=t||"",this.cascaderAlready[this.cascaderValue]!==!0&&(this.cascaderAlready[this.cascaderValue]=!0,setTimeout(()=>{this.cascaderLoading++},1e3),this.$store.dispatch("getProjects",{keys:{name:this.cascaderValue},getcolumn:"yes"}).then(()=>{this.cascaderLoading--,this.initCascaderData()}).catch(()=>{this.cascaderLoading--}))},setData(t){if(!this.isMounted){this.__setData&&clearTimeout(this.__setData),this.__setData=setTimeout(a=>this.setData(t),10);return}typeof t.beforeClose!="undefined"&&(this.beforeClose.push(t.beforeClose),delete t.beforeClose),this.addData=Object.assign({},this.addData,t)},onAdd(t){if(!this.addData.name){$A.messageError("\u4EFB\u52A1\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A");return}this.loadIng++,this.$store.dispatch("taskAdd",this.addData).then(({msg:a})=>{this.loadIng--,$A.messageSuccess(a),t===!0?(this.addData=Object.assign({},this.addData,{name:"",content:"",subtasks:[]}),this.$refs.input.focus()):(this.addData={cascader:[],name:"",content:"",owner:[],add_assist:1,column_id:0,times:[],subtasks:[],p_level:0,p_name:"",p_color:""},this.close())}).catch(({msg:a})=>{this.loadIng--,$A.modalError(a)})},close(){this.$emit("input",!this.value)}}},D={};var ft=n(mt,ut,pt,!1,gt,null,null,null);function gt(t){for(let a in D)this[a]=D[a]}var vt=function(){return ft.exports}(),_t=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"report-list-wrap"},[e("div",{staticClass:"search-expand"},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u7C7B\u578B"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.type,callback:function(s){t.$set(t.keys,"type",s)},expression:"keys.type"}},t._l(t.reportTypeList,function(s){return e("Option",{key:s.value,attrs:{value:s.value}},[t._v(t._s(s.label))])}),1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u65F6\u95F4"))+" ")]),e("div",{staticClass:"search-content"},[e("DatePicker",{attrs:{type:"daterange","split-panels":"",placeholder:t.$L("\u8BF7\u9009\u62E9\u65F6\u95F4")},model:{value:t.keys.created_at,callback:function(s){t.$set(t.keys,"created_at",s)},expression:"keys.created_at"}})],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"expand-button-group"},[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.addReport}},[t._v(t._s(t.$L("\u65B0\u589E\u62A5\u544A")))])],1)]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""}}),e("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])},$t=[];const kt={name:"ReportMy",data(){return{loadIng:0,columns:[{title:this.$L("\u540D\u79F0"),key:"title",minWidth:120},{title:this.$L("\u7C7B\u578B"),key:"type",align:"center",width:90},{title:this.$L("\u6C47\u62A5\u65F6\u95F4"),key:"created_at",align:"center",width:180},{title:this.$L("\u6C47\u62A5\u5BF9\u8C61"),key:"receives",align:"center",width:90,render:(t,{row:a})=>{if(a.receives.length===0)return t("div","-");const e=[];return a.receives.length<=2?a.receives.some(s=>{e.push(t("UserAvatar",{props:{size:22,userid:s}}))}):(e.push(t("UserAvatar",{props:{size:22,userid:a.receives[0]}})),e.push(t("div",{class:"more-avatar"},`+${a.receives.length-1}`))),t("div",{class:"report-table-avatar"},e)}},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,minWidth:100,render:(t,{column:a,row:e})=>e.id?t("TableAction",{props:{column:a,menu:[{icon:"md-create",action:"edit"},{icon:"md-eye",action:"view"}]},on:{action:s=>{s==="edit"?this.$emit("on-edit",e.id):s==="view"&&this.$emit("on-view",e)}}}):null}],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"\u6570\u636E\u52A0\u8F7D\u4E2D.....",keys:{},keyIs:!1,reportTypeList:[{value:"",label:this.$L("\u5168\u90E8")},{value:"weekly",label:this.$L("\u5468\u62A5")},{value:"daily",label:this.$L("\u65E5\u62A5")}]}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.listPage=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"report/my",data:{keys:this.keys,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:t})=>{this.lists=t.data,this.listTotal=t.total,this.noDataText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(({msg:t})=>{$A.messageError(t),this.noDataText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(()=>{this.loadIng--})},setPage(t){this.listPage=t,this.getLists()},setPageSize(t){Math.max($A.runNum(this.listPageSize),10)!==t&&(this.listPageSize=t,this.getLists())},addReport(){this.$emit("on-edit",0)}}},L={};var bt=n(kt,_t,$t,!1,yt,null,null,null);function yt(t){for(let a in L)this[a]=L[a]}var wt=function(){return bt.exports}(),Dt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"report-list-wrap"},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5173\u952E\u8BCD"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"),clearable:""},model:{value:t.keys.key,callback:function(s){t.$set(t.keys,"key",s)},expression:"keys.key"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u7C7B\u578B"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.type,callback:function(s){t.$set(t.keys,"type",s)},expression:"keys.type"}},t._l(t.reportTypeList,function(s){return e("Option",{key:s.value,attrs:{value:s.value}},[t._v(t._s(s.label))])}),1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u65F6\u95F4"))+" ")]),e("div",{staticClass:"search-content"},[e("DatePicker",{attrs:{type:"daterange","split-panels":"",placeholder:t.$L("\u8BF7\u9009\u62E9\u65F6\u95F4")},model:{value:t.keys.created_at,callback:function(s){t.$set(t.keys,"created_at",s)},expression:"keys.created_at"}})],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""},on:{"on-selection-change":t.selectChange}}),e("div",{staticClass:"table-attach"},[e("div",{staticClass:"select-box"},[e("Select",{attrs:{disabled:t.selectIds.length==0,placeholder:t.$L("\u8BF7\u9009\u62E9"),transfer:""},on:{"on-change":function(s){t.groupSelect=!0}},model:{value:t.selectAction,callback:function(s){t.selectAction=s},expression:"selectAction"}},[e("Option",{attrs:{value:"read"}},[t._v(t._s(t.$L("\u6807\u8BB0\u5DF2\u8BFB")))]),e("Option",{attrs:{value:"unread"}},[t._v(t._s(t.$L("\u6807\u8BB0\u672A\u8BFB")))])],1),e("Button",{attrs:{loading:t.loadIng>0,type:"primary",disabled:t.selectAction==""||t.selectIds.length==0},on:{click:t.selectClick}},[t._v(t._s(t.$L("\u6267\u884C")))])],1),e("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)],1)])},Lt=[];const Tt={name:"ReportReceive",data(){return{loadIng:0,columns:[{type:"selection",width:50,align:"right"},{title:this.$L("\u6807\u9898"),key:"title",sortable:!0,minWidth:120,render:(t,{row:a})=>{let e=[];const s=a.receives_user.find(({userid:i})=>i==this.userId);return s&&s.pivot.read==0?e.push(t("Tag",{props:{color:"orange"}},this.$L("\u672A\u8BFB")),t("span",a.title)):e.push(t("span",a.title)),t("div",e)}},{title:this.$L("\u7C7B\u578B"),key:"type",sortable:!0,width:90},{title:this.$L("\u63A5\u6536\u65F6\u95F4"),key:"receive_time",align:"center",sortable:!0,width:180},{title:this.$L("\u64CD\u4F5C"),align:"center",width:90,minWidth:90,render:(t,{column:a,row:e})=>e.id?t("TableAction",{props:{column:a,menu:[{icon:"md-eye",action:"view"}]},on:{action:s=>{if(s==="view"){this.$emit("on-view",e);const i=e.receives_user.find(({userid:o})=>o==this.userId);i&&this.$set(i.pivot,"read",1)}}}}):null}],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"\u6570\u636E\u52A0\u8F7D\u4E2D.....",keys:{},keyIs:!1,selectIds:[],selectAction:"",reportTypeList:[{value:"",label:this.$L("\u5168\u90E8")},{value:"weekly",label:this.$L("\u5468\u62A5")},{value:"daily",label:this.$L("\u65E5\u62A5")}]}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.listPage=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"report/receive",data:{keys:this.keys,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:t})=>{this.lists=t.data,this.listTotal=t.total,this.noDataText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(({msg:t})=>{$A.messageError(t),this.noDataText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(()=>{this.loadIng--})},setPage(t){this.listPage=t,this.getLists()},setPageSize(t){Math.max($A.runNum(this.listPageSize),10)!==t&&(this.listPageSize=t,this.getLists())},selectChange(t){this.selectIds=t.map(({id:a})=>a)},selectClick(){if(this.selectIds.length===0){$A.messageWarning("\u8BF7\u9009\u62E9\u7EBF\u8DEF");return}switch(this.selectAction){case"read":case"unread":this.readReport(this.selectIds,this.selectAction);break;default:$A.messageWarning("\u8BF7\u9009\u62E9\u6267\u884C\u65B9\u5F0F");break}},readReport(t,a){const e=a==="read"?"\u6807\u8BB0\u5DF2\u8BFB":"\u6807\u8BB0\u672A\u8BFB";$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u8981\u3010${e}\u3011\u5417\uFF1F`,cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>new Promise((s,i)=>{this.$store.dispatch("call",{url:"report/mark",data:{id:t,action:a}}).then(({msg:o})=>{s(o),this.getLists(),this.$emit("on-read")}).catch(({msg:o})=>{i(o)})})})}}},T={};var Ct=n(Tt,Dt,Lt,!1,xt,null,null,null);function xt(t){for(let a in T)this[a]=T[a]}var St=function(){return Ct.exports}(),It=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"report"},[e("Tabs",{model:{value:t.reportTabs,callback:function(s){t.reportTabs=s},expression:"reportTabs"}},[e("TabPane",{attrs:{label:t.$L("\u6211\u7684\u6C47\u62A5"),name:"my"}},[t.reportTabs==="my"?e("ReportMy",{ref:"report",on:{"on-view":t.onView,"on-edit":t.onEditReport}}):t._e()],1),e("TabPane",{attrs:{label:t.tabRebder(t.reportUnreadNumber),name:"receive"}},[t.reportTabs==="receive"?e("ReportReceive",{on:{"on-view":t.onView,"on-read":t.onRead}}):t._e()],1)],1),e("DrawerOverlay",{attrs:{placement:"right",size:950,transfer:""},model:{value:t.showDetailDrawer,callback:function(s){t.showDetailDrawer=s},expression:"showDetailDrawer"}},[t.showDetailDrawer?e("ReportDetail",{attrs:{data:t.detailData}}):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1e3,transfer:""},model:{value:t.showEditDrawer,callback:function(s){t.showEditDrawer=s},expression:"showEditDrawer"}},[t.showEditDrawer?e("ReportEdit",{attrs:{id:t.reportId},on:{saveSuccess:t.saveSuccess}}):t._e()],1)],1)},At=[];const Mt={name:"Report",components:{DrawerOverlay:E,ReportEdit:W,ReportMy:wt,ReportReceive:St,ReportDetail:H},props:{reportType:{default:"my"}},data(){return{reportTabs:"my",showDetailDrawer:!1,showEditDrawer:!1,detailData:{},reportId:0}},mounted(){this.reportTabs=this.reportType,this.$isMainElectron&&this.$Electron.listenerOnly("reportSaveSuccess",({data:t,msg:a})=>{$A.messageSuccess(a),this.saveSuccess(t)})},computed:{...d(["reportUnreadNumber"])},methods:{tabRebder(t){return a=>t>0?a("div",[a("span",{class:"navbar-item-content"},this.$L("\u6536\u5230\u7684\u6C47\u62A5")),a("Badge",{class:"manage-box-report",props:{count:t}})]):a("div",[a("span",{class:"navbar-item-content"},this.$L("\u6536\u5230\u7684\u6C47\u62A5"))])},onView(t){if(this.detailData=t,this.$emit("on-read"),this.$Electron){let a={title:t.title,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:`report-detail-${t.id}`,path:`/single/report/detail/${t.id}`,force:!1,config:a})}else this.showDetailDrawer=!0},onRead(){this.$emit("on-read",0)},onEditReport(t){if(this.$Electron){let a={title:this.$L(t>0?"\u4FEE\u6539\u62A5\u544A":"\u65B0\u589E\u62A5\u544A"),parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:`report-edit-${t}`,path:`/single/report/edit/${t}`,force:!1,config:a})}else this.reportId=t,this.showEditDrawer=!0},saveSuccess(){this.reportId=0,this.reportTabs="my",this.showEditDrawer=!1,this.$refs.report&&this.$refs.report.getLists()}}},C={};var jt=n(Mt,It,At,!1,Pt,null,null,null);function Pt(t){for(let a in C)this[a]=C[a]}var Ut=function(){return jt.exports}(),Rt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"mobile-back"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.windowScrollY>0,expression:"windowScrollY > 0"}],ref:"bar",staticClass:"back-bar"}),t.show?e("div",{staticClass:"back-semicircle",style:t.style}):t._e()])},Et=[];const Bt={name:"MobileBack",props:{showTabbar:{type:Boolean,default:!1}},data(){return{show:!1,x:0,y:0}},created(){this.appAndroidEvents()},mounted(){this.$refs.bar.addEventListener("touchmove",this.barListener),document.addEventListener("touchstart",this.touchstart),document.addEventListener("touchmove",this.touchmove),document.addEventListener("touchend",this.touchend)},beforeDestroy(){this.$refs.bar.removeEventListener("touchmove",this.barListener),document.removeEventListener("touchstart",this.touchstart),document.removeEventListener("touchmove",this.touchmove),document.removeEventListener("touchend",this.touchend)},computed:{...d(["fileLists","messengerSearchKey"]),style(){const a=Math.max(135,this.y)+this.windowScrollY,e=this.windowHeight-135;return{top:Math.min(a,e)+"px",left:this.x>20?0:"-50px"}},routeName(){return this.$route.name},fileFolderId(){const{folderId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)}},watch:{show(t){t?document.body.classList.add("touch-back"):document.body.classList.remove("touch-back"),this.$store.state.touchBackInProgress=t}},methods:{getXY(t){let a=t.touches[0];this.x=a.clientX,this.y=a.clientY},barListener(t){t.preventDefault()},touchstart(t){this.getXY(t),this.show=this.canBack()&&this.x<20},touchmove(t){this.show&&this.getXY(t)},touchend(){this.x>90&&this.show&&this.onBack(),this.x=0,this.show=!1},canBack(){if(!this.showTabbar||this.$Modal.visibles().length>0||this.fileFolderId>0)return!0;if(this.routeName==="manage-messenger"){if(this.$route.params.dialogAction==="contacts"){if(this.messengerSearchKey.contacts)return!0}else if(this.messengerSearchKey.dialog)return!0}return!1},onBack(){if(!this.$Modal.removeLast()){if(this.fileFolderId>0){const t=this.fileLists.find(({id:a,permission:e})=>a==this.fileFolderId&&e>-1);if(t){const a=this.fileLists.find(({id:e,permission:s})=>e==t.pid&&s>-1);if(a){this.goForward({name:"manage-file",params:{folderId:a.id,fileId:null}});return}}this.goForward({name:"manage-file"});return}if(this.routeName==="manage-messenger"){if(this.$route.params.dialogAction==="contacts"){if(this.messengerSearchKey.contacts){this.$store.state.messengerSearchKey.contacts="";return}}else if(this.messengerSearchKey.dialog){this.$store.state.messengerSearchKey.dialog="";return}}this.goBack()}},appAndroidEvents(){this.$isEEUiApp&&$A.isAndroid()&&$A.eeuiAppSetPageBackPressed({pageName:"firstPage"},t=>{this.canBack()?this.onBack():$A.eeuiAppGoDesktop()})}}},x={};var Nt=n(Bt,Rt,Et,!1,Ot,null,null,null);function Ot(t){for(let a in x)this[a]=x[a]}var zt=function(){return Nt.exports}(),Ft=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.show&&t.userid>0?e("transition",{attrs:{name:"mobile-notify"}},[e("div",{staticClass:"mobile-notification",class:{show:t.show},on:{click:function(s){return s.stopPropagation(),t.onClick.apply(null,arguments)},touchstart:t.onTouchstart,touchmove:t.onTouchmove}},[e("UserAvatar",{attrs:{userid:t.userid,size:40,"show-name":"","name-text":t.title}}),e("div",{staticClass:"notification-desc"},[t._v(t._s(t.desc))])],1)]):t._e()},Wt=[];const Ht={name:"MobileNotification",data(){return{userid:0,title:"",desc:"",duration:6e3,callback:null,show:!1,timer:null,startY:0}},beforeDestroy(){this.timer&&clearTimeout(this.timer),this.show=!1},methods:{open(t){!$A.isJson(t)||(this.userid=t.userid||0,this.title=t.title||"",this.desc=t.desc||"",this.duration=typeof t.duration=="number"?t.duration:6e3,this.callback=typeof t.callback=="function"?t.callback:null,this.show=!0,this.timer&&clearTimeout(this.timer),this.duration>0&&(this.timer=setTimeout(this.close,this.duration)),$A.eeuiAppSendMessage({action:"setVibrate"}))},close(){this.show=!1},onClick(){this.close(),typeof this.callback=="function"&&this.callback()},onTouchstart(t){this.startY=t.touches[0].clientY},onTouchmove(t){this.startY>0&&this.startY-t.touches[0].clientY>10&&(this.startY=0,this.close())}}},S={};var Vt=n(Ht,Ft,Wt,!1,Kt,null,null,null);function Kt(t){for(let a in S)this[a]=S[a]}var Yt=function(){return Vt.exports}(),Jt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.userid?e("div",{staticClass:"meeting-player"},[e("div",{staticClass:"player",style:t.playerStyle,attrs:{id:t.id}}),e("UserAvatar",{attrs:{userid:t.userid,size:36,borderWitdh:2}}),e("div",{staticClass:"player-state"},[t.audio?t._e():e("i",{staticClass:"taskfont"},[t._v("\uE7C7")]),t.video?t._e():e("i",{staticClass:"taskfont"},[t._v("\uE7C8")])])],1):t._e()},qt=[];const Xt={name:"MeetingPlayer",props:{id:{type:String,default:()=>"meeting-player-"+Math.round(Math.random()*1e4)},player:{type:Object,default:()=>({})},isLocal:{type:Boolean,default:!1}},data(){return{timer:null}},mounted(){this.timer=setInterval(t=>{this.audio&&!this.player.audioTrack.isPlaying&&this.play("audio"),this.video&&!this.player.videoTrack.isPlaying&&this.play("video")},3e3)},beforeDestroy(){clearInterval(this.timer)},computed:{...d(["cacheUserBasic"]),userid(){return this.player.uid?parseInt($A.getMiddle(this.player.uid,null,"-")):0},playerStyle(){const t=this.cacheUserBasic.find(({userid:a})=>a==this.userid);return t?{backgroundImage:`url("${t.userimg}")`}:null},audio(){return!!this.player.audioTrack},video(){return!!this.player.videoTrack}},watch:{audio:{handler(t){this.isLocal||!t||this.play("audio")},immediate:!0},video:{handler(t){!t||this.play("video")},immediate:!0}},methods:{play(t){this.$nextTick(a=>{try{t==="audio"?this.player.audioTrack.play():t==="video"&&this.player.videoTrack.play(this.id)}catch(e){console.log("Meeting Player Error",e)}})}}},I={};var Gt=n(Xt,Jt,qt,!1,Qt,null,null,null);function Qt(t){for(let a in I)this[a]=I[a]}var Zt=function(){return Gt.exports}(),te=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{ref:"floatDrag",style:t.dragStyle,on:{mousedown:function(s){return s.stopPropagation(),s.preventDefault(),t.mouseDown.apply(null,arguments)}}},[t._t("default")],2)},ee=[];const ae={name:"DragBallComponent",props:{id:{type:String,default:""},distanceRight:{type:Number,default:0},distanceBottom:{type:Number,default:100},isScrollHidden:{type:Boolean,default:!1},isCanDraggable:{type:Boolean,default:!0},zIndex:{type:Number,default:50}},data(){return{clientWidth:null,clientHeight:null,top:0,left:0,timer:null,currentTop:0,isMoving:!1,record:{}}},created(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight},mounted(){this.id&&($A.isJson(window._DragBallComponent)||(window._DragBallComponent={})),this.isCanDraggable&&this.$nextTick(()=>{this.id&&$A.isJson(window._DragBallComponent[this.id])?(this.left=window._DragBallComponent[this.id].left,this.top=window._DragBallComponent[this.id].top):(this.left=this.clientWidth-this.floatDrag.offsetWidth-this.distanceRight,this.top=this.clientHeight-this.floatDrag.offsetHeight-this.distanceBottom),this.initDraggable()}),this.isScrollHidden&&window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},beforeDestroy(){this.id&&(window._DragBallComponent[this.id]={left:this.left,top:this.top}),window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},computed:{dragStyle(){return{left:this.left+"px",top:this.top+"px",zIndex:this.zIndex,position:"fixed"}},floatDrag(){return this.$refs.floatDrag}},methods:{handleScroll(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.handleScrollEnd()},200),this.currentTop=document.documentElement.scrollTop||document.body.scrollTop,this.left>this.clientWidth/2?this.left=this.clientWidth+this.floatDrag.offsetWidth:this.left=-this.floatDrag.offsetWidth},handleScrollEnd(){(document.documentElement.scrollTop||document.body.scrollTop)===this.currentTop&&(this.left>this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,clearTimeout(this.timer))},handleResize(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.$nextTick(this.checkDraggablePosition)},initDraggable(){this.floatDrag.addEventListener("touchstart",this.toucheStart),this.floatDrag.addEventListener("touchmove",this.touchMove),this.floatDrag.addEventListener("touchend",this.touchEnd)},mouseDown(t){this.record={time:new Date().getTime(),top:this.floatDrag.offsetTop,left:this.floatDrag.offsetLeft,x:t.clientX-this.floatDrag.offsetLeft,y:t.clientY-this.floatDrag.offsetTop},this.floatDrag.style.transition="none",this.canClick=!1,document.onmousemove=a=>{let e=a.clientX-this.record.x,s=a.clientY-this.record.y;e<0?e=0:e>window.innerWidth-this.floatDrag.offsetWidth&&(e=window.innerWidth-this.floatDrag.offsetWidth),s<0?s=0:s>window.innerHeight-this.floatDrag.offsetHeight&&(s=window.innerHeight-this.floatDrag.offsetHeight),this.left=e,this.top=s},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,this.checkDraggablePosition(),this.floatDrag.style.transition="all 0.3s",(Math.abs(this.record.top-this.floatDrag.offsetTop)<5&&Math.abs(this.record.left-this.floatDrag.offsetLeft)<5||new Date().getTime()-this.record.time<200)&&this.$emit("on-click")}},toucheStart(){this.canClick=!1,this.floatDrag.style.transition="none"},touchMove(t){if(this.canClick=!0,t.targetTouches.length===1){let a=event.targetTouches[0],e=a.clientX-this.floatDrag.offsetWidth/2,s=a.clientY-this.floatDrag.offsetHeight/2;e<0?e=0:e>window.innerWidth-this.floatDrag.offsetWidth&&(e=window.innerWidth-this.floatDrag.offsetWidth),s<0?s=0:s>window.innerHeight-this.floatDrag.offsetHeight&&(s=window.innerHeight-this.floatDrag.offsetHeight),this.left=e,this.top=s}},touchEnd(){!this.canClick||(this.floatDrag.style.transition="all 0.3s",this.checkDraggablePosition())},checkDraggablePosition(){this.left+this.floatDrag.offsetWidth/2>=this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,this.top<0&&(this.top=0),this.top+this.floatDrag.offsetHeight>=this.clientHeight&&(this.top=this.clientHeight-this.floatDrag.offsetHeight)}}},A={};var se=n(ae,te,ee,!1,ie,null,null,null);function ie(t){for(let a in A)this[a]=A[a]}var oe=function(){return se.exports}(),ne=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"meeting-warp"},[e("Modal",{attrs:{title:t.$L(t.addData.type==="join"?"\u52A0\u5165\u4F1A\u8BAE":"\u65B0\u4F1A\u8BAE"),"mask-closable":!1},model:{value:t.addShow,callback:function(s){t.addShow=s},expression:"addShow"}},[e("Form",{ref:"addForm",attrs:{model:t.addData,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[t.addData.type==="join"?[t.addData.name?e("FormItem",{attrs:{prop:"userids",label:t.$L("\u4F1A\u8BAE\u4E3B\u9898")}},[e("Input",{attrs:{disabled:""},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1):t._e(),e("FormItem",{attrs:{prop:"meetingid",label:t.$L("\u4F1A\u8BAE\u9891\u9053ID")}},[e("Input",{attrs:{disabled:t.addData.meetingdisabled===!0,placeholder:t.$L("\u8BF7\u8F93\u5165\u4F1A\u8BAE\u9891\u9053ID")},model:{value:t.addData.meetingid,callback:function(s){t.$set(t.addData,"meetingid",s)},expression:"addData.meetingid"}})],1)]:[e("FormItem",{attrs:{prop:"name",label:t.$L("\u4F1A\u8BAE\u4E3B\u9898")}},[e("Input",{attrs:{maxlength:50,placeholder:t.$L("\u9009\u586B")},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1),e("FormItem",{attrs:{prop:"userids",label:t.$L("\u9080\u8BF7\u6210\u5458")}},[e("UserInput",{attrs:{uncancelable:[t.userId],"multiple-max":20,placeholder:t.$L("\u9009\u62E9\u9080\u8BF7\u6210\u5458")},model:{value:t.addData.userids,callback:function(s){t.$set(t.addData,"userids",s)},expression:"addData.userids"}})],1)],e("FormItem",{attrs:{prop:"tracks"}},[e("CheckboxGroup",{model:{value:t.addData.tracks,callback:function(s){t.$set(t.addData,"tracks",s)},expression:"addData.tracks"}},[e("Checkbox",{attrs:{label:"audio"}},[e("span",[t._v(t._s(t.$L("\u9EA6\u514B\u98CE")))])]),e("Checkbox",{attrs:{label:"video"}},[e("span",[t._v(t._s(t.$L("\u6444\u50CF\u5934")))])])],1)],1)],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.addShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onSubmit}},[t._v(t._s(t.$L(t.addData.type==="join"?"\u52A0\u5165\u4F1A\u8BAE":"\u5F00\u59CB\u4F1A\u8BAE")))])],1)],1),e("Modal",{attrs:{title:t.addData.name,mask:!1,"mask-closable":!1,closable:!1,"transition-names":["",""],beforeClose:t.onClose,"class-name":`meeting-manager${t.meetingMini?" meeting-hidden":""}`,fullscreen:""},model:{value:t.meetingShow,callback:function(s){t.meetingShow=s},expression:"meetingShow"}},[e("ul",[t.localUser.uid?e("li",[e("MeetingPlayer",{attrs:{player:t.localUser,isLocal:""}})],1):t._e(),t._l(t.remoteUsers,function(s){return e("li",[e("MeetingPlayer",{attrs:{player:s}})],1)})],2),e("div",{staticClass:"adaption meeting-button-group",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary",loading:t.audioLoad},on:{click:t.onAudio}},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.audioTrack?"":"")}})]),e("Button",{attrs:{type:"primary",loading:t.videoLoad},on:{click:t.onVideo}},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.videoTrack?"":"")}})]),t.windowSmall?[e("Button",{attrs:{type:"primary"},on:{click:function(s){return t.onInvitation("open")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE646")])]),e("Button",{attrs:{type:"primary"},on:{click:function(s){t.meetingMini=!0}}},[e("i",{staticClass:"taskfont"},[t._v("\uE656")])]),e("Button",{attrs:{type:"warning",loading:t.loadIng>0},on:{click:t.onClose}},[e("i",{staticClass:"taskfont"},[t._v("\uE612")])])]:[e("Button",{attrs:{type:"primary"},on:{click:function(s){return t.onInvitation("open")}}},[t._v(t._s(t.$L("\u9080\u8BF7")))]),e("Button",{attrs:{type:"primary"},on:{click:function(s){t.meetingMini=!0}}},[t._v(t._s(t.$L("\u6700\u5C0F\u5316")))]),e("Button",{attrs:{type:"warning",loading:t.loadIng>0},on:{click:t.onClose}},[t._v(t._s(t.$L("\u79BB\u5F00\u4F1A\u8BAE")))])]],2)]),t.meetingMini?e("DragBallComponent",{attrs:{id:"meetingDragBall","z-index":3e3},on:{"on-click":function(s){t.meetingMini=!1}}},[e("div",{staticClass:"meeting-drag-ball"},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.audioTrack?"":"")}}),e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.videoTrack?"":"")}}),e("em",[t._v(t._s(t.$L("\u4F1A\u8BAE\u4E2D")))])])]):t._e(),e("Modal",{attrs:{title:t.$L("\u9080\u8BF7\u52A0\u5165"),"mask-closable":!1},model:{value:t.invitationShow,callback:function(s){t.invitationShow=s},expression:"invitationShow"}},[e("Form",{ref:"invitationForm",attrs:{model:t.invitationData,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{prop:"userids",label:t.$L("\u9080\u8BF7\u6210\u5458")}},[e("UserInput",{attrs:{"multiple-max":20,placeholder:t.$L("\u9009\u62E9\u9080\u8BF7\u6210\u5458")},model:{value:t.invitationData.userids,callback:function(s){t.$set(t.invitationData,"userids",s)},expression:"invitationData.userids"}})],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.invitationShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.invitationLoad},on:{click:function(s){return t.onInvitation("submit")}}},[t._v(t._s(t.$L("\u53D1\u9001\u9080\u8BF7")))])],1)],1)],1)},re=[];const le={name:"MeetingManager",components:{DragBallComponent:oe,MeetingPlayer:Zt,UserInput:v},data(){return{loadIng:0,subscribe:null,addShow:!1,addData:{userids:[],tracks:["audio"]},invitationShow:!1,invitationLoad:!1,invitationData:{userids:[]},meetingShow:!1,meetingMini:!1,audioLoad:!1,videoLoad:!1,agoraClient:null,remoteUsers:[],localUser:{uid:null,audioTrack:null,videoTrack:null}}},mounted(){this.subscribe=c.Store.subscribe("addMeeting",this.onAdd)},beforeDestroy(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},watch:{meetingShow(t){t?$A.eeuiAppKeepScreenOn():$A.eeuiAppKeepScreenOff()}},methods:{onAdd(t){t=$A.isJson(t)?t:{},/^\d+$/.test(t.dialog_id)&&(this.loadIng++,this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:t.dialog_id}}).then(({data:a})=>{this.$set(this.addData,"userids",a.map(e=>e.userid))}).finally(a=>{this.loadIng--}),delete t.dialog_id),$A.isArray(t.userids)?t.userids.includes(this.userId)||t.userids.push(this.userId):t.userids=[this.userId],$A.isArray(t.tracks)?t.tracks.includes("audio")||t.tracks.push("audio"):t.tracks=["audio"],this.addData=t,this.addShow=!0},onSubmit(){this.$refs.addForm.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"users/meeting/open",data:this.addData}).then(({data:a})=>{this.$set(this.addData,"name",a.name),this.$set(this.addData,"meetingid",a.meetingid),this.$store.dispatch("saveDialogMsg",a.msgs),this.$store.dispatch("updateDialogLastMsg",a.msgs),delete a.name,delete a.msgs,$A.loadScript("js/AgoraRTC_N-4.17.0.js",e=>{e!==null||typeof AgoraRTC!="object"?$A.modalError("\u4F1A\u8BAE\u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01"):this.join(a),this.loadIng--})}).catch(({msg:a})=>{this.loadIng--,$A.modalError(a)}))})},onAudio(){this.localUser.audioTrack?this.closeAudio():this.openAudio()},onVideo(){this.localUser.videoTrack?this.closeVideo():this.openVideo()},onInvitation(t){t==="open"?(this.invitationData={userids:[],meetingid:this.addData.meetingid},this.invitationShow=!0):t==="submit"&&(this.invitationLoad=!0,this.$store.dispatch("call",{url:"users/meeting/invitation",data:this.invitationData}).then(({data:a,msg:e})=>{this.invitationShow=!1,this.$store.dispatch("saveDialogMsg",a.msgs),this.$store.dispatch("updateDialogLastMsg",a.msgs),$A.messageSuccess(e)}).catch(({msg:a})=>{$A.modalError(a)}).finally(a=>{this.invitationLoad=!1}))},onClose(){return new Promise(t=>{$A.modalConfirm({content:"\u786E\u5B9A\u8981\u79BB\u5F00\u4F1A\u8BAE\u5417\uFF1F",cancelText:"\u7EE7\u7EED",okText:"\u9000\u51FA",onOk:async a=>{await this.leave(),t()}})})},async join(t){this.loadIng++,AgoraRTC.onMicrophoneChanged=async e=>{if(e.state==="ACTIVE")this.localUser.audioTrack.setDevice(e.device.deviceId);else if(e.device.label===this.localUser.audioTrack.getTrackLabel()){const s=await AgoraRTC.getMicrophones();s[0]&&this.localUser.audioTrack.setDevice(s[0].deviceId)}},AgoraRTC.onCameraChanged=async e=>{if(e.state==="ACTIVE")this.localUser.videoTrack.setDevice(e.device.deviceId);else if(e.device.label===this.localUser.videoTrack.getTrackLabel()){const s=await AgoraRTC.getCameras();s[0]&&this.localUser.videoTrack.setDevice(s[0].deviceId)}},AgoraRTC.onAutoplayFailed=()=>{},this.agoraClient=AgoraRTC.createClient({mode:"rtc",codec:"vp8"}),this.agoraClient.on("user-joined",this.handleUserJoined),this.agoraClient.on("user-left",this.handleUserLeft),this.agoraClient.on("user-published",this.handleUserPublished),this.agoraClient.on("user-unpublished",this.handleUserUnpublished);const a=[];this.localUser.uid=await this.agoraClient.join(t.appid,t.channel,t.token,t.uid),this.addData.tracks.includes("audio")&&a.push(this.localUser.audioTrack=await AgoraRTC.createMicrophoneAudioTrack()),this.addData.tracks.includes("video")&&a.push(this.localUser.videoTrack=await AgoraRTC.createCameraVideoTrack()),a.length>0&&await this.agoraClient.publish(a),this.loadIng--,this.addShow=!1,this.meetingShow=!0},async leave(){this.loadIng++,["audioTrack","videoTrack"].some(t=>{var a,e;(a=this.localUser[t])==null||a.stop(),(e=this.localUser[t])==null||e.close()}),this.localUser={uid:null,audioTrack:null,videoTrack:null},this.remoteUsers=[],await this.agoraClient.leave(),this.loadIng--,this.meetingShow=!1},async openAudio(){this.audioLoad||this.localUser.audioTrack||(this.audioLoad=!0,this.localUser.audioTrack=await AgoraRTC.createMicrophoneAudioTrack(),await this.agoraClient.publish([this.localUser.audioTrack]),this.audioLoad=!1)},async closeAudio(){this.audioLoad||!this.localUser.audioTrack||(this.audioLoad=!0,await this.agoraClient.unpublish([this.localUser.audioTrack]),this.localUser.audioTrack.stop(),this.localUser.audioTrack.close(),this.localUser.audioTrack=null,this.audioLoad=!1)},async openVideo(){this.videoLoad||this.localUser.videoTrack||(this.videoLoad=!0,this.localUser.videoTrack=await AgoraRTC.createCameraVideoTrack(),await this.agoraClient.publish([this.localUser.videoTrack]),this.videoLoad=!1)},async closeVideo(){this.videoLoad||!this.localUser.videoTrack||(this.videoLoad=!0,await this.agoraClient.unpublish([this.localUser.videoTrack]),this.localUser.videoTrack.stop(),this.localUser.videoTrack.close(),this.localUser.videoTrack=null,this.videoLoad=!1)},async handleUserJoined(t){const a=this.remoteUsers.findIndex(e=>e.uid==t.uid);a>-1?this.remoteUsers.splice(a,1,t):this.remoteUsers.push(t)},async handleUserLeft(t){const a=this.remoteUsers.findIndex(e=>e.uid==t.uid);a>-1&&this.remoteUsers.splice(a,1)},async handleUserPublished(t,a){this.remoteUsers.find(s=>s.uid==t.uid)&&await this.agoraClient.subscribe(t,a)},async handleUserUnpublished(t,a){this.remoteUsers.find(s=>s.uid==t.uid)&&await this.agoraClient.unsubscribe(t,a)}}},M={};var ce=n(le,ne,re,!1,de,null,null,null);function de(t){for(let a in M)this[a]=M[a]}var he=function(){return ce.exports}(),ue=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("Modal",{attrs:{value:t.visible,mask:!1,"mask-closable":!1,"footer-hide":!0,"transition-names":["mobile-dialog",""],beforeClose:t.onBeforeClose,"class-name":"dialog-modal",fullscreen:""}},[t.windowSmall&&t.dialogId>0?e("DialogWrapper",{attrs:{dialogId:t.dialogId,beforeBack:t.onBeforeClose}}):t._e()],1)},pe=[];const me={name:"DialogModal",components:{DialogWrapper:K},data(){return{timer:null}},computed:{...d(["dialogId"]),visible(){return this.dialogId>0&&this.windowSmall}},methods:{onBeforeClose(){return new Promise(t=>{this.$store.dispatch("openDialog",0)})}}},j={};var fe=n(me,ue,pe,!1,ge,null,null,null);function ge(t){for(let a in j)this[a]=j[a]}var ve=function(){return fe.exports}(),_e=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("Modal",{attrs:{value:t.show,styles:t.styles,"mask-closable":!1,"footer-hide":!0,beforeClose:t.onBeforeClose,"class-name":"task-modal"}},[e("TaskDetail",{ref:"taskDetail",attrs:{"task-id":t.taskId,"open-task":t.taskData,modalMode:""}})],1)},$e=[];const ke={name:"TaskModal",components:{TaskDetail:Y},computed:{...d(["taskId"]),...g(["taskData"]),show(){return this.taskId>0},styles(){return{width:"90%",maxWidth:this.taskData.dialog_id?"1200px":"700px"}}},methods:{onBeforeClose(){return new Promise(t=>{this.$store.dispatch("openTask",0)})},checkUpdate(){if(this.show)return this.$refs.taskDetail.checkUpdate(!0),!0}}},P={};var be=n(ke,_e,$e,!1,ye,null,null,null);function ye(t){for(let a in P)this[a]=P[a]}var we=function(){return be.exports}(),De=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("Modal",{attrs:{title:t.$L("\u5BFC\u51FA\u4EFB\u52A1\u7EDF\u8BA1"),"mask-closable":!1},model:{value:t.show,callback:function(s){t.show=s},expression:"show"}},[e("Form",{ref:"exportTask",attrs:{model:t.formData,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5BFC\u51FA\u6210\u5458")}},[e("UserInput",{attrs:{"multiple-max":100,placeholder:t.$L("\u8BF7\u9009\u62E9\u6210\u5458")},model:{value:t.formData.userid,callback:function(s){t.$set(t.formData,"userid",s)},expression:"formData.userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6BCF\u6B21\u6700\u591A\u9009\u62E9\u5BFC\u51FA100\u4E2A\u6210\u5458")))])],1),e("FormItem",{attrs:{label:t.$L("\u65F6\u95F4\u8303\u56F4")}},[e("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("\u8BF7\u9009\u62E9\u65F6\u95F4")},model:{value:t.formData.time,callback:function(s){t.$set(t.formData,"time",s)},expression:"formData.time"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(s){t.formData.time=t.dateShortcuts("prev")}}},[t._v(t._s(t.$L("\u4E0A\u4E2A\u6708")))]),e("em",{on:{click:function(s){t.formData.time=t.dateShortcuts("this")}}},[t._v(t._s(t.$L("\u8FD9\u4E2A\u6708")))])])],1),e("FormItem",{attrs:{prop:"type",label:t.$L("\u5BFC\u51FA\u65F6\u95F4\u7C7B\u578B")}},[e("RadioGroup",{model:{value:t.formData.type,callback:function(s){t.$set(t.formData,"type",s)},expression:"formData.type"}},[e("Radio",{attrs:{label:"taskTime"}},[t._v(t._s(t.$L("\u4EFB\u52A1\u65F6\u95F4")))]),e("Radio",{attrs:{label:"createdTime"}},[t._v(t._s(t.$L("\u521B\u5EFA\u65F6\u95F4")))])],1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onExport}},[t._v(t._s(t.$L("\u5BFC\u51FA")))])],1)],1)},Le=[];const Te={name:"TaskExport",components:{UserInput:v},props:{value:{type:Boolean,default:!1}},data(){return{show:this.value,loadIng:0,formData:{userid:[],time:[],type:"taskTime"}}},watch:{value(t){this.show=t},show(t){this.value!==t&&this.$emit("input",t)}},methods:{dateShortcuts(t){if(t==="prev")return[$A.getSpecifyDate("\u4E0A\u4E2A\u6708"),$A.getSpecifyDate("\u4E0A\u4E2A\u6708\u7ED3\u675F")];if(t==="this")return[$A.getSpecifyDate("\u672C\u6708"),$A.getSpecifyDate("\u672C\u6708\u7ED3\u675F")]},onExport(){this.loadIng>0||(this.loadIng++,this.$store.dispatch("call",{url:"project/task/export",data:this.formData}).then(({data:t})=>{this.show=!1,this.$store.dispatch("downUrl",{url:t.url})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))}}},U={};var Ce=n(Te,De,Le,!1,xe,null,null,null);function xe(t){for(let a in U)this[a]=U[a]}var Se=function(){return Ce.exports}();const Ie=(t,a)=>!t||!a?!1:t==="String"?typeof a=="string":t==="Object"?Object.prototype.toString.call(a)==="[object Object]":t==="number"?typeof a=="number":t==="function"?Object.prototype.toString.call(a)==="[object Function]":!1,Ae=(t,a,e)=>t.findIndex(s=>s[a]===e);var l={checkData:Ie,searchArrObj:Ae};class Me{constructor(a="\u9ED8\u8BA4\u6807\u9898",e={}){this.title=a,this.options=e,this.support=!1,this.supportFn()}supportFn(){window.Notification?(this.initStatus(),this.support=!0):this.support=!1}initStatus(){this.notification=null,this.state=Notification.permission,this.msg=null,this.callBackObj={},this.notificationAll=[],this.requireInteractionTimeout=!1,this.timeout=null}initNotification(a){if(!!this.checkStatus("support")){if(!l.checkData("function",a))return console.error("initNotification\u7684\u53C2\u6570\u5FC5\u987B\u4E3A\u51FD\u6570");if(this.state==="granted")this.msg="already granted";else if(this.state==="default"){const e=s=>(this.state=s,s==="granted"?this.msg="granted":s==="default"?this.msg="close":this.msg="denied",a(this.msg));try{Notification.requestPermission().then(e)}catch{Notification.requestPermission(e)}}else this.msg="already denied";if(this.state!=="default")return a(this.msg)}}userAgreed(){if(!!this.checkStatus("userAgreed")){this.notification=new Notification(this.title,this.options),this.notificationWatch();for(const a in this.callBackObj)this.notification[a]=e=>{this.callBackObj[a](e)}}}notificationTimeoutFn(a){a&&l.checkData("number",a)?this.timeout=a:this.timeout=5e3}notificationWatch(){this.notificationAll.push(this.notification),this.notification.requireInteraction?this.everyTimeout():this.autoClose(),this.watchClose()}everyTimeout(){!l.checkData("number",this.timeout)||(this.options.timeOut&&l.checkData("number",this.options.timeOut)?this.timeoutCloseFn(this.options.timeOut):this.timeoutCloseFn(this.timeout))}timeoutCloseFn(a){const e=this.notification.timestamp;setTimeout(()=>{const s=l.searchArrObj(this.notificationAll,"timestamp",e);s!==-1&&this.notificationAll[s].close()},a)}watchClose(){const a=this.notification.timestamp;this.notification.addEventListener("close",e=>{const s=l.searchArrObj(this.notificationAll,"timestamp",a);s!==-1&&this.notificationAll.splice(s,1)})}autoClose(){const a=this.notification.timestamp;setTimeout(()=>{const e=l.searchArrObj(this.notificationAll,"timestamp",a);e!==-1&&this.notificationAll.splice(e,1)},6e3)}notificationEvent(a){if(!!this.checkStatus("support"))if(l.checkData("Object",a)){for(const e in a)if(!l.checkData("function",a[e]))return console.error("callObj\u5BF9\u8C61\u4E2D\u7684\u6BCF\u4E2Avalue\u5FC5\u987B\u4E3A\u51FD\u6570");this.callBackObj=a}else return console.error("callObj\u5FC5\u987B\u4E3A\u5BF9\u8C61")}closeAll(){for(let a of this.notificationAll.values())a.close();this.notificationAll=[]}close(){if(!this.notification)return console.warn("this.notification\u4E3Anull,\u901A\u77E5\u5C1A\u672A\u8C03\u7528/\u7528\u6237\u672A\u540C\u610F\u663E\u793A\u901A\u77E5");this.notification.close()}updateOptions(a){if(a&&l.checkData("Object",a))for(const e in a)this.options[e]=a[e];else console.warn("updateOptions\u53C2\u6570\u9519\u8BEF\uFF1Aoptions\u4E3A\u5FC5\u586B\u5BF9\u8C61")}replaceTitle(a){a&&l.checkData("String",a)?this.title=a:console.warn("replaceTitle: title(\u901A\u77E5\u6807\u9898)\u4E3A\u5FC5\u586B\u5B57\u7B26\u4E32")}replaceOptions(a){a&&l.checkData("Object",a)?this.options=a:console.warn("replaceOptions\u53C2\u6570\u9519\u8BEF\uFF1Aoptions\u4E3A\u5FC5\u586B\u5BF9\u8C61")}checkStatus(a){if(a==="support"){if(!this.support)return console.warn("\u7528\u6237\u6D4F\u89C8\u5668\u4E0D\u652F\u6301"),!1}else if(a==="userAgreed"&&(this.state!=="granted"||!this.checkStatus("support")))return!1;return!0}}var je=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.userId>0,expression:"userId > 0"}],staticClass:"page-manage",class:{"show-tabbar":t.showMobileTabbar}},[e("div",{staticClass:"manage-box-menu",class:{"show768-menu":t.show768Menu}},[e("Dropdown",{staticClass:"page-manage-menu-dropdown main-menu",attrs:{trigger:"click"},on:{"on-click":t.settingRoute,"on-visible-change":t.menuVisibleChange}},[e("div",{class:["manage-box-title",t.visibleMenu?"menu-visible":""]},[e("div",{staticClass:"manage-box-avatar"},[e("UserAvatar",{attrs:{userid:t.userId,size:36,tooltipDisabled:""}})],1),e("span",[t._v(t._s(t.userInfo.nickname))]),t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-box-top-report",attrs:{"overflow-count":999,count:t.reportUnreadNumber}}):t.clientNewVersion?e("Badge",{staticClass:"manage-box-top-report",attrs:{dot:""}}):t._e(),e("div",{staticClass:"manage-box-arrow"},[e("Icon",{attrs:{type:"ios-arrow-up"}}),e("Icon",{attrs:{type:"ios-arrow-down"}})],1)],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t._l(t.menu,function(s){return[s.path==="taskBrowse"?e("Dropdown",{attrs:{transfer:"","transfer-class-name":"page-manage-menu-dropdown",placement:"right-start"}},[e("DropdownItem",{attrs:{divided:!!s.divided}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L(s.name))+" "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t.taskBrowseLists.length>0?e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.taskBrowseLists,function(i,o){return i.id>0&&o<10?e("DropdownItem",{key:o,staticClass:"task-title",attrs:{name:i.name},nativeOn:{click:function(h){return t.openTask(i)}}},[i.flow_item_name?e("span",{class:i.flow_item_status},[t._v(t._s(i.flow_item_name))]):t._e(),e("div",{staticClass:"task-title-text"},[t._v(t._s(i.name))])]):t._e()}),1):e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{staticStyle:{color:"darkgrey"}},[t._v(t._s(t.$L("\u6682\u65E0\u6253\u5F00\u8BB0\u5F55")))])],1)],1):s.path==="team"?e("Dropdown",{attrs:{transfer:"","transfer-class-name":"page-manage-menu-dropdown",placement:"right-start"}},[e("DropdownItem",{attrs:{divided:!!s.divided}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L(s.name))+" "),t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{"overflow-count":999,count:t.reportUnreadNumber}}):e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"allUser"}},[t._v(t._s(t.$L("\u56E2\u961F\u7BA1\u7406")))]),e("DropdownItem",{attrs:{name:"workReport"}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L("\u5DE5\u4F5C\u62A5\u544A"))+" "),t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{"overflow-count":999,count:t.reportUnreadNumber}}):t._e()],1)]),e("DropdownItem",{attrs:{name:"exportTask"}},[t._v(t._s(t.$L("\u5BFC\u51FA\u4EFB\u52A1\u7EDF\u8BA1")))]),e("DropdownItem",{attrs:{name:"exportOverdueTask"}},[t._v(t._s(t.$L("\u5BFC\u51FA\u8D85\u671F\u4EFB\u52A1")))]),e("DropdownItem",{attrs:{name:"exportCheckin"}},[t._v(t._s(t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E")))])],1)],1):s.visible!==!1?e("DropdownItem",{style:s.style||{},attrs:{divided:!!s.divided,name:s.path}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L(s.name))+" "),s.path==="version"?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{text:t.clientNewVersion}}):s.path==="workReport"&&t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):t._e()],1)]):t._e()]})],2)],1),e("ul",{class:t.listClassName,on:{scroll:function(s){t.operateVisible=!1}}},[e("li",{class:t.classNameRoute("dashboard"),on:{click:function(s){return t.toggleRoute("dashboard")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6FB")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u4EEA\u8868\u76D8")))]),t.dashboardTask.overdue_count>0?e("Badge",{staticClass:"menu-badge",attrs:{type:"error","overflow-count":999,count:t.dashboardTask.overdue_count}}):t.dashboardTask.today_count>0?e("Badge",{staticClass:"menu-badge",attrs:{type:"info","overflow-count":999,count:t.dashboardTask.today_count}}):t.dashboardTask.all_count>0?e("Badge",{staticClass:"menu-badge",attrs:{type:"primary","overflow-count":999,count:t.dashboardTask.all_count}}):t._e()],1),e("li",{class:t.classNameRoute("calendar"),on:{click:function(s){return t.toggleRoute("calendar")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F5")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u65E5\u5386")))])]),e("li",{class:t.classNameRoute("messenger"),on:{click:function(s){return t.toggleRoute("messenger")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6EB")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u6D88\u606F")))]),e("Badge",{staticClass:"menu-badge",attrs:{"overflow-count":999,text:t.msgUnreadMention}})],1),e("li",{class:t.classNameRoute("file"),on:{click:function(s){return t.toggleRoute("file")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F3")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u6587\u4EF6")))])]),e("li",{ref:"menuProject",staticClass:"menu-project"},[e("ul",{class:t.listClassName,on:{scroll:function(s){t.operateVisible=!1}}},[t._l(t.projectLists,function(s,i){return e("li",{directives:[{name:"longpress",rawName:"v-longpress",value:t.handleLongpress,expression:"handleLongpress"}],key:i,ref:`project_${s.id}`,refInFor:!0,class:t.classNameProject(s),attrs:{"data-id":s.id},on:{click:function(o){return t.toggleRoute("project",{projectId:s.id})}}},[e("div",{staticClass:"project-h1"},[e("em",{on:{click:function(o){return o.stopPropagation(),t.toggleOpenMenu(s.id)}}}),e("div",{staticClass:"title"},[t._v(t._s(s.name))]),s.top_at?e("div",{staticClass:"icon-top"}):t._e(),s.task_my_num-s.task_my_complete>0?e("div",{staticClass:"num"},[t._v(t._s(s.task_my_num-s.task_my_complete))]):t._e()]),e("div",{staticClass:"project-h2"},[e("p",[e("em",[t._v(t._s(t.$L("\u6211\u7684"))+":")]),e("span",[t._v(t._s(s.task_my_complete)+"/"+t._s(s.task_my_num))]),e("Progress",{attrs:{percent:s.task_my_percent,"stroke-width":6}})],1),e("p",[e("em",[t._v(t._s(t.$L("\u5168\u90E8"))+":")]),e("span",[t._v(t._s(s.task_complete)+"/"+t._s(s.task_num))]),e("Progress",{attrs:{percent:s.task_percent,"stroke-width":6}})],1)])])}),t.projectKeyLoading>0?e("li",{staticClass:"loading"},[e("Loading")],1):t._e()],2)])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.operateVisible,expression:"operateVisible"}],staticClass:"operate-position",style:t.operateStyles},[e("Dropdown",{attrs:{trigger:"custom",placement:t.windowLarge?"bottom":"top",visible:t.operateVisible,transfer:""},on:{"on-clickoutside":function(s){t.operateVisible=!1}}},[e("div",{style:{userSelect:t.operateVisible?"none":"auto",height:t.operateStyles.height}}),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{nativeOn:{click:function(s){return t.handleTopClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.operateItem.top_at?"\u53D6\u6D88\u7F6E\u9876":"\u7F6E\u9876\u8BE5\u9879\u76EE"))+" ")])],1)],1)],1),(t.projectSearchShow||t.projectTotal>20)&&t.windowHeight>600?e("div",{staticClass:"manage-project-search"},[e("Input",{attrs:{placeholder:t.$L(`\u5171${t.projectTotal||t.cacheProjects.length}\u4E2A\u9879\u76EE\uFF0C\u641C\u7D22...`),clearable:""},model:{value:t.projectKeyValue,callback:function(s){t.projectKeyValue=s},expression:"projectKeyValue"}},[e("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[t.projectKeyLoading>0?e("Loading"):e("Icon",{attrs:{type:"ios-search"}})],1)])],1):t._e(),e("ButtonGroup",{staticClass:"manage-box-new-group"},[e("Button",{staticClass:"manage-box-new",attrs:{type:"primary",icon:"md-add"},on:{click:t.onAddShow}},[t._v(t._s(t.$L("\u65B0\u5EFA\u9879\u76EE")))]),e("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.onAddMenu}},[e("Button",{attrs:{type:"primary"}},[e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"task"}},[t._v(t._s(t.$L("\u65B0\u5EFA\u4EFB\u52A1"))+" ("+t._s(t.mateName)+"+K)")]),e("DropdownItem",{attrs:{name:"createMeeting"}},[t._v(t._s(t.$L("\u65B0\u4F1A\u8BAE"))+" ("+t._s(t.mateName)+"+J)")]),e("DropdownItem",{attrs:{name:"joinMeeting"}},[t._v(t._s(t.$L("\u52A0\u5165\u4F1A\u8BAE")))])],1)],1)],1)],1),e("div",{staticClass:"manage-box-main"},[e("keep-alive",[e("router-view",{staticClass:"manage-box-view"})],1)],1),e("Modal",{attrs:{title:t.$L("\u65B0\u5EFA\u9879\u76EE"),"mask-closable":!1},model:{value:t.addShow,callback:function(s){t.addShow=s},expression:"addShow"}},[e("Form",{ref:"addProject",attrs:{model:t.addData,rules:t.addRule,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{prop:"name",label:t.$L("\u9879\u76EE\u540D\u79F0")}},[e("Input",{ref:"projectName",attrs:{type:"text"},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1),t.addData.columns?e("FormItem",{attrs:{label:t.$L("\u4EFB\u52A1\u5217\u8868")}},[e("TagInput",{model:{value:t.addData.columns,callback:function(s){t.$set(t.addData,"columns",s)},expression:"addData.columns"}})],1):e("FormItem",{attrs:{label:t.$L("\u9879\u76EE\u6A21\u677F")}},[e("Select",{attrs:{value:0,placeholder:t.$L("\u8BF7\u9009\u62E9\u6A21\u677F")},on:{"on-change":t.selectChange}},t._l(t.columns,function(s,i){return e("Option",{key:i,attrs:{value:i}},[t._v(t._s(s.name))])}),1)],1),e("FormItem",{attrs:{prop:"flow",label:t.$L("\u5F00\u542F\u5DE5\u4F5C\u6D41")}},[e("RadioGroup",{model:{value:t.addData.flow,callback:function(s){t.$set(t.addData,"flow",s)},expression:"addData.flow"}},[e("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),e("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.addShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAddProject}},[t._v(t._s(t.$L("\u6DFB\u52A0")))])],1)],1),e("Modal",{attrs:{"mask-closable":!1,styles:{width:"90%",maxWidth:"640px"},"footer-hide":""},model:{value:t.addTaskShow,callback:function(s){t.addTaskShow=s},expression:"addTaskShow"}},[e("TaskAdd",{ref:"addTask",model:{value:t.addTaskShow,callback:function(s){t.addTaskShow=s},expression:"addTaskShow"}})],1),e("TaskExport",{model:{value:t.exportTaskShow,callback:function(s){t.exportTaskShow=s},expression:"exportTaskShow"}}),e("CheckinExport",{model:{value:t.exportCheckinShow,callback:function(s){t.exportCheckinShow=s},expression:"exportCheckinShow"}}),e("TaskModal",{ref:"taskModal"}),e("DialogModal",{ref:"dialogModal"}),e("DrawerOverlay",{attrs:{placement:"right",size:1200},model:{value:t.workReportShow,callback:function(s){t.workReportShow=s},expression:"workReportShow"}},[t.workReportShow?e("Report",{attrs:{reportType:t.reportTabs},on:{"on-read":function(s){return t.$store.dispatch("getReportUnread",1e3)}}}):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1380},model:{value:t.allUserShow,callback:function(s){t.allUserShow=s},expression:"allUserShow"}},[t.allUserShow?e("TeamManagement"):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1200},model:{value:t.allProjectShow,callback:function(s){t.allProjectShow=s},expression:"allProjectShow"}},[t.allProjectShow?e("ProjectManagement"):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1200},model:{value:t.archivedProjectShow,callback:function(s){t.archivedProjectShow=s},expression:"archivedProjectShow"}},[t.archivedProjectShow?e("ProjectArchived"):t._e()],1),e("MeetingManager"),e("transition",{attrs:{name:"mobile-slide"}},[t.showMobileTabbar?e("MobileTabbar",{on:{"on-click":t.onTabbarClick}}):t._e()],1),e("MobileBack",{attrs:{showTabbar:t.showMobileTabbar}}),e("MobileNotification",{ref:"mobileNotification"})],1)},Pe=[];const Ue={components:{TaskExport:Se,CheckinExport:O,TaskModal:we,DialogModal:ve,MeetingManager:he,MobileNotification:Yt,MobileBack:zt,MobileTabbar:ht,TaskAdd:vt,Report:Ut,DrawerOverlay:E,ProjectManagement:ot,TeamManagement:z,ProjectArchived:Z},directives:{longpress:V},data(){return{loadIng:0,mateName:/macintosh|mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl",addShow:!1,addData:{name:"",columns:"",flow:"open"},addRule:{name:[{required:!0,message:this.$L("\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0\uFF01"),trigger:"change"},{type:"string",min:2,message:this.$L("\u9879\u76EE\u540D\u79F0\u81F3\u5C112\u4E2A\u5B57\uFF01"),trigger:"change"}]},addTaskShow:!1,addTaskSubscribe:null,exportTaskShow:!1,exportCheckinShow:!1,dialogMsgSubscribe:null,projectKeyValue:"",projectKeyLoading:0,projectSearchShow:!1,openMenu:{},visibleMenu:!1,show768Menu:!1,workReportShow:!1,allUserShow:!1,allProjectShow:!1,archivedProjectShow:!1,natificationReady:!1,notificationManage:null,reportTabs:"my",operateStyles:{},operateVisible:!1,operateItem:{},needStartHome:!1}},mounted(){this.notificationInit(),this.addTaskSubscribe=c.Store.subscribe("addTask",this.onAddTask),this.dialogMsgSubscribe=c.Store.subscribe("dialogMsgPush",this.addDialogMsg),document.addEventListener("keydown",this.shortcutEvent)},activated(){this.$store.dispatch("getUserInfo").catch(t=>{}),this.$store.dispatch("getTaskPriority").catch(t=>{}),this.$store.dispatch("getReportUnread",0),this.$store.dispatch("needHome").then(t=>{this.needStartHome=!0}).catch(t=>{this.needStartHome=!1})},beforeDestroy(){this.addTaskSubscribe&&(this.addTaskSubscribe.unsubscribe(),this.addTaskSubscribe=null),this.dialogMsgSubscribe&&(this.dialogMsgSubscribe.unsubscribe(),this.dialogMsgSubscribe=null),document.removeEventListener("keydown",this.shortcutEvent)},deactivated(){this.addShow=!1},computed:{...d(["userInfo","userIsAdmin","cacheUserBasic","cacheTasks","cacheDialogs","cacheProjects","projectTotal","wsOpenNum","columnTemplate","wsMsg","clientNewVersion","cacheTaskBrowse","dialogIns","reportUnreadNumber"]),...g(["dashboardTask"]),routeName(){return this.$route.name},msgUnreadMention(){let t=0,a=0;this.cacheDialogs.some(s=>{t+=$A.getDialogUnread(s,!1),a+=$A.getDialogMention(s)}),t>999&&(t="999+"),a>999&&(a="999+");const e=this.msgTodoTotal;return e?a?`@${a}\xB7${e}`:t?`${t}\xB7${e}`:e:t?a?`${t}\xB7@${a}`:String(t):a?`@${a}`:""},msgAllUnread(){let t=0;return this.cacheDialogs.some(a=>{t+=$A.getDialogNum(a)}),t},msgTodoTotal(){let t=this.cacheDialogs.reduce((a,e)=>a+(e.todo_num||0),0);return t>0?(t>99?t="99+":t===1&&(t=""),`${this.$L("\u5F85\u529E")}${t}`):null},unreadAndOverdue(){return this.userId>0?this.msgAllUnread+this.dashboardTask.overdue_count:0},menu(){const{userIsAdmin:t,needStartHome:a}=this,e=[{path:"taskBrowse",name:"\u6700\u8FD1\u6253\u5F00\u7684\u4EFB\u52A1"}];return t?e.push({path:"personal",name:"\u4E2A\u4EBA\u8BBE\u7F6E",divided:!0},{path:"system",name:"\u7CFB\u7EDF\u8BBE\u7F6E"},{path:"license",name:"License Key"},{path:"version",name:"\u66F4\u65B0\u7248\u672C",divided:!0,visible:!!this.clientNewVersion},{path:"allProject",name:"\u6240\u6709\u9879\u76EE",divided:!0},{path:"archivedProject",name:"\u5DF2\u5F52\u6863\u7684\u9879\u76EE"},{path:"team",name:"\u56E2\u961F\u7BA1\u7406",divided:!0}):e.push({path:"personal",name:"\u4E2A\u4EBA\u8BBE\u7F6E",divided:!0},{path:"version",name:"\u66F4\u65B0\u7248\u672C",divided:!0,visible:!!this.clientNewVersion},{path:"workReport",name:"\u5DE5\u4F5C\u62A5\u544A",divided:!0},{path:"archivedProject",name:"\u5DF2\u5F52\u6863\u7684\u9879\u76EE"}),a?e.push({path:"goHome",name:"\u6253\u5F00\u9996\u9875",divided:!0},{path:"clearCache",name:"\u6E05\u9664\u7F13\u5B58"},{path:"logout",name:"\u9000\u51FA\u767B\u5F55",style:{color:"#f40"}}):e.push({path:"clearCache",name:"\u6E05\u9664\u7F13\u5B58",divided:!0},{path:"logout",name:"\u9000\u51FA\u767B\u5F55",style:{color:"#f40"}}),e},columns(){const t=$A.cloneJSON(this.columnTemplate);return t.unshift({name:this.$L("\u7A7A\u767D\u6A21\u677F"),columns:[]}),t},projectLists(){const{projectKeyValue:t,cacheProjects:a}=this,e=$A.cloneJSON(a).sort((s,i)=>s.top_at||i.top_at?$A.Date(i.top_at)-$A.Date(s.top_at):i.id-s.id);return t?e.filter(s=>$A.strExists(`${s.name} ${s.desc}`,t)):e},listClassName(){return{"scrollbar-overlay":!0,"scrollbar-hidden":this.operateVisible===!0}},taskBrowseLists(){const{cacheTasks:t,cacheTaskBrowse:a,userId:e}=this;return a.filter(({userid:s})=>s===e).map(({id:s})=>t.find(i=>i.id===s)||{})},showMobileTabbar(){return this.routeName==="manage-project"&&!/^\d+$/.test(this.$route.params.projectId)?!0:["manage-dashboard","manage-calendar","manage-messenger","manage-file","manage-setting"].includes(this.routeName)}},watch:{$route(){this.chackPass()},userInfo(){this.chackPass()},projectKeyValue(t){t!=""&&setTimeout(()=>{this.projectKeyValue==t&&this.searchProject()},600)},wsOpenNum(t){t<=1||this.$store.dispatch("getBasicData",600)},workReportShow(t){t&&this.$store.dispatch("getReportUnread",0)},"cacheProjects.length":{handler(){this.$nextTick(t=>{const a=this.$refs.menuProject,e=$A.last($A.getObject(a,"children.0.children"));if(e){const s=e.getBoundingClientRect(),i=a.getBoundingClientRect();if(s.top>i.top+i.height){this.projectSearchShow=!0;return}}this.projectSearchShow=!1})},immediate:!0},unreadAndOverdue:{handler(t){this.$Electron&&this.$Electron.sendMessage("setDockBadge",t)},immediate:!0},wsMsg:{handler(t){const{type:a,action:e}=t;switch(a){case"report":e=="unreadUpdate"&&this.$store.dispatch("getReportUnread",1e3);break}},deep:!0}},methods:{chackPass(){this.userInfo.changepass===1&&this.goForward({name:"manage-setting-password"})},async toggleRoute(t,a){this.show768Menu=!1;let e={name:"manage-"+t,params:a||{}},s=await $A.IDBInt("fileFolderId");t==="file"&&s>0&&(e.params.folderId=s),this.goForward(e)},toggleOpenMenu(t){this.$set(this.openMenu,t,!this.openMenu[t])},settingRoute(t){switch(t){case"allUser":this.allUserShow=!0;return;case"allProject":this.allProjectShow=!0;return;case"archivedProject":this.archivedProjectShow=!0;return;case"exportTask":this.exportTaskShow=!0;return;case"exportOverdueTask":this.exportOverdueTask();return;case"exportCheckin":this.exportCheckinShow=!0;return;case"workReport":this.reportUnreadNumber>0&&(this.reportTabs="receive"),this.workReportShow=!0;return;case"version":c.Store.set("updateNotification",null);return;case"clearCache":$A.IDBSet("clearCache","handle").then(a=>{$A.reloadUrl()});return;case"goHome":this.needStartHome&&this.goForward("index");return;case"logout":$A.modalConfirm({title:"\u9000\u51FA\u767B\u5F55",content:"\u4F60\u786E\u5B9A\u8981\u767B\u51FA\u7CFB\u7EDF\uFF1F",onOk:()=>{this.$store.dispatch("logout",!1)}});return}this.menu.findIndex(a=>a.path==t)>-1&&this.toggleRoute("setting-"+t)},exportOverdueTask(){$A.modalConfirm({title:"\u5BFC\u51FA\u4EFB\u52A1",content:"\u4F60\u786E\u5B9A\u8981\u5BFC\u51FA\u6240\u6709\u8D85\u671F\u4EFB\u52A1\u5417\uFF1F",loading:!0,onOk:()=>new Promise((t,a)=>{this.$store.dispatch("call",{url:"project/task/exportoverdue"}).then(({data:e})=>{t(),this.$store.dispatch("downUrl",{url:e.url})}).catch(({msg:e})=>{a(e)})})})},menuVisibleChange(t){this.visibleMenu=t},classNameRoute(t){return{active:this.routeName===`manage-${t}`}},classNameProject(t){return{active:this.routeName==="manage-project"&&this.$route.params.projectId==t.id,"open-menu":this.openMenu[t.id]===!0,operate:t.id==this.operateItem.id&&this.operateVisible}},onAddMenu(t){switch(t){case"task":this.onAddTask(0);break;case"createMeeting":c.Store.set("addMeeting",{type:"create",userids:[this.userId]});break;case"joinMeeting":c.Store.set("addMeeting",{type:"join"});break}},onAddShow(){this.$store.dispatch("getColumnTemplate").catch(()=>{}),this.addShow=!0,this.$nextTick(()=>{this.$refs.projectName.focus()})},onAddProject(){this.$refs.addProject.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"project/add",data:this.addData}).then(({data:a,msg:e})=>{$A.messageSuccess(e),this.addShow=!1,this.$refs.addProject.resetFields(),this.$store.dispatch("saveProject",a),this.toggleRoute("project",{projectId:a.id})}).catch(({msg:a})=>{$A.modalError(a)}).finally(a=>{this.loadIng--}))})},searchProject(){setTimeout(()=>{this.projectKeyLoading++},1e3),this.$store.dispatch("getProjects",{keys:{name:this.projectKeyValue}}).finally(t=>{this.projectKeyLoading--})},selectChange(t){this.$nextTick(()=>{this.$set(this.addData,"columns",this.columns[t].columns.join(","))})},shortcutEvent(t){(t.metaKey||t.ctrlKey)&&(t.keyCode===74?(t.preventDefault(),this.onAddMenu("createMeeting")):t.keyCode===75||t.keyCode===78?(t.preventDefault(),this.onAddMenu("task")):t.keyCode===83&&this.$refs.taskModal.checkUpdate()&&t.preventDefault())},onAddTask(t){this.addTaskShow=!0,this.$nextTick(a=>{let e={owner:[this.userId]};$A.isJson(t)?e=t:/^[1-9]\d*$/.test(t)&&(e.column_id=t),this.$refs.addTask.setData(e)})},openTask(t){this.$store.dispatch("openTask",t)},addDialogMsg(t){var k;if(!this.natificationReady&&!this.$isEEUiApp||this.windowActive&&t.dialog_id===((k=$A.last(this.dialogIns))==null?void 0:k.dialog_id))return;const{id:a,dialog_id:e,dialog_type:s,type:i,msg:o,userid:h}=t;if(h==this.userId)return;let u;switch(i){case"text":u=$A.getMsgTextPreview(o.text);break;case"file":u="["+this.$L(o.type=="img"?"\u56FE\u7247\u4FE1\u606F":"\u6587\u4EF6\u4FE1\u606F")+"]";break;default:return}this.__notificationId=a;const _=r=>{if(s==="group"){let p=this.cacheUserBasic.find(f=>f.userid==h);p?m(`${r} (${p.nickname})`):this.$store.dispatch("call",{url:"users/basic",data:{userid:[h]},skipAuthError:!0}).then(({data:f})=>{p=f.find(B=>B.userid==h),p&&m(`${r} (${p.nickname})`)}).catch(f=>{m(r)})}else m(r)},m=r=>{this.__notificationId===a&&(this.$isEEUiApp?this.$refs.mobileNotification.open({userid:h,title:r,desc:u,callback:()=>{this.goForward({name:"manage-messenger"}),this.$store.dispatch("openDialog",e)}}):this.$Electron?this.$Electron.sendMessage("openNotification",{icon:$A.originUrl("images/logo.png"),title:r,body:u,data:t,tag:"dialog",hasReply:!0,replyPlaceholder:this.$L("\u56DE\u590D\u6D88\u606F")}):(this.notificationManage.replaceOptions({icon:$A.originUrl("images/logo.png"),body:u,data:t,tag:"dialog"}),this.notificationManage.replaceTitle(r),this.notificationManage.userAgreed()))},$=this.cacheDialogs.find(r=>r.id==e);$?_($.name):this.$store.dispatch("getDialogOne",e).then(({data:r})=>_(r.name)).catch(()=>{})},handleLongpress(t,a){const e=$A.getAttr(a,"data-id"),s=this.projectLists.find(i=>i.id==e);!s||(this.operateVisible=!1,this.operateItem=$A.isJson(s)?s:{},this.$nextTick(()=>{const i=a.getBoundingClientRect(),o=this.$refs.menuProject.getBoundingClientRect();this.operateStyles={left:`${t.clientX-o.left}px`,top:`${i.top+this.windowScrollY}px`,height:i.height+"px"},this.operateVisible=!0}))},handleTopClick(){this.$store.dispatch("call",{url:"project/top",data:{project_id:this.operateItem.id}}).then(({data:t})=>{this.$store.dispatch("saveProject",t),this.$nextTick(()=>{const a=this.$refs.menuProject.querySelector(".active");a&&$A.scrollIntoViewIfNeeded(a)})}).catch(({msg:t})=>{$A.modalError(t)})},onTabbarClick(t){switch(t){case"addTask":this.onAddTask(0);break;case"addProject":this.onAddShow();break}},notificationInit(){this.notificationManage=new Me(this.$L("\u6253\u5F00\u901A\u77E5\u6210\u529F")),this.notificationManage.support&&(this.notificationManage.notificationEvent({onclick:({target:t})=>{console.log("[Notification] A Click",t),this.notificationManage.close(),this.notificationClick(t),window.focus()}}),this.notificationPermission()),this.$Electron&&(this.$Electron.registerMsgListener("clickNotification",t=>{console.log("[Notification] B Click",t),this.$Electron.sendMessage("mainWindowActive"),this.notificationClick(t)}),this.$Electron.registerMsgListener("replyNotification",t=>{console.log("[Notification] B Reply",t),this.notificationReply(t)}))},notificationPermission(){const t=a=>{switch(a){case"already granted":case"granted":return this.natificationReady=!0;case"close":return this.notificationManage.initNotification(t);case"denied":case"already denied":console.log(a==="denied"?"\u60A8\u521A\u521A\u62D2\u7EDD\u663E\u793A\u901A\u77E5 \u8BF7\u5728\u8BBE\u7F6E\u4E2D\u66F4\u6539\u8BBE\u7F6E":"\u60A8\u66FE\u7EA7\u62D2\u7EDD\u663E\u793A\u901A\u77E5 \u8BF7\u5728\u8BBE\u7F6E\u4E2D\u66F4\u6539\u8BBE\u7F6E");break}};this.notificationManage.initNotification(t)},notificationClick(t){const{tag:a,data:e}=t;if(a=="dialog"){if(!$A.isJson(e))return;this.goForward({name:"manage-messenger"}),this.$nextTick(s=>{this.$store.dispatch("openDialog",e.dialog_id)})}},notificationReply(t){const{tag:a,data:e,reply:s}=t;a=="dialog"&&s&&this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:e.dialog_id,text:s},method:"post"}).then(({data:i})=>{this.$store.dispatch("saveDialogMsg",i),this.$store.dispatch("increaseTaskMsgNum",i),this.$store.dispatch("increaseMsgReplyNum",i),this.$store.dispatch("updateDialogLastMsg",i)}).catch(({msg:i})=>{$A.modalError(i)})}}},R={};var Re=n(Ue,je,Pe,!1,Ee,null,null,null);function Ee(t){for(let a in R)this[a]=R[a]}var Ge=function(){return Re.exports}();export{Ge as default}; +import{n,N,m as d,c as g,d as c}from"./app.139edc4e.js";import{C as O,T as z}from"./CheckinExport.058fd78e.js";import{D as E}from"./index.03956335.js";import F from"./TEditor.28d6de3c.js";import{U as v}from"./UserInput.ca38ea3c.js";import{R as W}from"./ReportEdit.862ac89e.js";import{R as H}from"./ReportDetail.8bf290bc.js";import{l as V}from"./DialogSelect.13f2bf9c.js";import{D as K}from"./DialogWrapper.1ee2083a.js";import{T as Y}from"./TaskDetail.e91c9282.js";import"./ImgUpload.8dae08e9.js";import"./ProjectLog.f97ce9f6.js";import"./TaskMenu.382f8823.js";var J=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"project-archived"},[e("div",{staticClass:"archived-title"},[t._v(" "+t._s(t.$L("\u5F52\u6863\u7684\u9879\u76EE"))+" "),e("div",{staticClass:"title-icon"},[t.loadIng>0?e("Loading"):t._e()],1)]),e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u540D"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(s){t.$set(t.keys,"name",s)},expression:"keys.name"}})],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])},q=[];const X={name:"ProjectArchived",data(){return{loadIng:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"id",width:80,render:(t,{row:a,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",a.id)])},{title:this.$L("\u9879\u76EE\u540D\u79F0"),key:"name",minWidth:200,render:(t,{row:a})=>t("AutoTip",a.name)},{title:this.$L("\u5F52\u6863\u65F6\u95F4"),key:"archived_at",width:168},{title:this.$L("\u5F52\u6863\u4EBA\u5458"),key:"archived_userid",minWidth:80,render:(t,{row:a})=>a.archived_userid?t("UserAvatar",{props:{userid:a.archived_userid,size:24,showName:!0}}):t("Tag",this.$L("\u7CFB\u7EDF\u81EA\u52A8"))},{title:this.$L("\u8D1F\u8D23\u4EBA"),minWidth:80,render:(t,{row:a})=>t("UserAvatar",{props:{showName:!0,size:22,userid:a.owner_userid}})},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,render:(t,a)=>{const e=[t("Poptip",{props:{title:this.$L("\u4F60\u786E\u5B9A\u8981\u8FD8\u539F\u5F52\u6863\u5417\uFF1F"),confirm:!0,transfer:!0,placement:"left",okText:this.$L("\u786E\u5B9A"),cancelText:this.$L("\u53D6\u6D88")},style:{fontSize:"13px",cursor:"pointer",color:"#84C56A"},on:{"on-ok":()=>{this.recovery(a.row)}}},this.$L("\u8FD8\u539F")),t("Poptip",{props:{title:this.$L("\u4F60\u786E\u5B9A\u8981\u5220\u9664\u9879\u76EE\u5417\uFF1F"),confirm:!0,transfer:!0,placement:"left",okText:this.$L("\u786E\u5B9A"),cancelText:this.$L("\u53D6\u6D88")},style:{marginLeft:"8px",fontSize:"13px",cursor:"pointer",color:"#f00"},on:{"on-ok":()=>{this.delete(a.row)}}},this.$L("\u5220\u9664"))];return t("TableAction",{props:{column:a.column}},e)}}],list:[],page:1,pageSize:20,total:0,noText:""}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"project/lists",data:{keys:this.keys,archived:"yes",page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:t})=>{this.page=t.current_page,this.total=t.total,this.list=t.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(t=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()},recovery(t){this.list=this.list.filter(({id:a})=>a!=t.id),this.loadIng++,this.$store.dispatch("call",{url:"project/archived",data:{project_id:t.id,type:"recovery"}}).then(()=>{this.getLists(),this.$store.dispatch("getProjectOne",t.id).catch(()=>{})}).catch(({msg:a})=>{$A.modalError(a),this.getLists()}).finally(a=>{this.loadIng--})},delete(t){this.list=this.list.filter(({id:a})=>a!=t.id),this.loadIng++,this.$store.dispatch("removeProject",t.id).then(({msg:a})=>{$A.messageSuccess(a),this.getLists()}).catch(({msg:a})=>{$A.modalError(a),this.getLists()}).finally(a=>{this.loadIng--})}}},b={};var G=n(X,J,q,!1,Q,null,null,null);function Q(t){for(let a in b)this[a]=b[a]}var Z=function(){return G.exports}(),tt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"project-management"},[e("div",{staticClass:"management-title"},[t._v(" "+t._s(t.$L("\u6240\u6709\u9879\u76EE"))+" "),e("div",{staticClass:"title-icon"},[t.loadIng>0?e("Loading"):t._e()],1)]),e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u540D"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{clearable:""},model:{value:t.keys.name,callback:function(s){t.$set(t.keys,"name",s)},expression:"keys.name"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u7C7B\u578B"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u56E2\u961F\u9879\u76EE")},model:{value:t.keys.type,callback:function(s){t.$set(t.keys,"type",s)},expression:"keys.type"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u56E2\u961F\u9879\u76EE")))]),e("Option",{attrs:{value:"personal"}},[t._v(t._s(t.$L("\u4E2A\u4EBA\u9879\u76EE")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8\u9879\u76EE")))])],1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u9879\u76EE\u72B6\u6001"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u672A\u5F52\u6863")},model:{value:t.keys.status,callback:function(s){t.$set(t.keys,"status",s)},expression:"keys.status"}},[e("Option",{attrs:{value:""}},[t._v(t._s(t.$L("\u672A\u5F52\u6863")))]),e("Option",{attrs:{value:"archived"}},[t._v(t._s(t.$L("\u5DF2\u5F52\u6863")))]),e("Option",{attrs:{value:"all"}},[t._v(t._s(t.$L("\u5168\u90E8")))])],1)],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.list,loading:t.loadIng>0,"no-data-text":t.$L(t.noText),stripe:""}}),e("Page",{attrs:{total:t.total,current:t.page,"page-size":t.pageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])},et=[];const at={name:"ProjectManagement",data(){return{loadIng:0,keys:{},keyIs:!1,columns:[{title:"ID",key:"id",width:80,render:(t,{row:a,column:e})=>t("TableAction",{props:{column:e,align:"left"}},[t("div",a.id)])},{title:this.$L("\u9879\u76EE\u540D\u79F0"),key:"name",minWidth:100,render:(t,{row:a})=>{const e=[t("AutoTip",a.name)];return a.archived_at&&e.push(t("Tag",{props:{color:"error"}},this.$L("\u5DF2\u5F52\u6863"))),t("div",{class:"project-name"},e)}},{title:this.$L("\u9879\u76EE\u8FDB\u5EA6"),minWidth:100,render:(t,{row:a})=>{const e=[t("AutoTip",a.task_complete+"/"+a.task_num),t("Progress",{props:{percent:a.task_percent,strokeWidth:5}})];return t("div",{class:"project-percent"},e)}},{title:this.$L("\u8D1F\u8D23\u4EBA"),minWidth:80,render:(t,{row:a})=>t("UserAvatar",{props:{showName:!0,size:22,userid:a.owner_userid}})},{title:this.$L("\u521B\u5EFA\u4EBA"),minWidth:80,render:(t,{row:a})=>t("UserAvatar",{props:{showName:!0,size:22,userid:a.userid}})},{title:this.$L("\u521B\u5EFA\u65F6\u95F4"),key:"created_at",width:168}],list:[],page:1,pageSize:20,total:0,noText:""}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.page=1,this.getLists()},getLists(){let t="team";this.keys.type=="all"?t="all":this.keys.type=="personal"&&(t="personal");let a="no";this.keys.status=="all"?a="all":this.keys.status=="archived"&&(a="yes"),this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"project/lists",data:{keys:this.keys,all:1,archived:a,type:t,page:Math.max(this.page,1),pagesize:Math.max($A.runNum(this.pageSize),10)}}).then(({data:e})=>{this.page=e.current_page,this.total=e.total,this.list=e.data,this.noText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(()=>{this.noText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(e=>{this.loadIng--})},setPage(t){this.page=t,this.getLists()},setPageSize(t){this.page=1,this.pageSize=t,this.getLists()}}},y={};var st=n(at,tt,et,!1,it,null,null,null);function it(t){for(let a in y)this[a]=y[a]}var ot=function(){return st.exports}(),nt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"mobile-tabbar"},[t.windowSmall?e("NetworkException",{attrs:{type:"alert"}}):t._e(),e("transition",{attrs:{name:"mobile-fade"}},[t.isMore?e("div",{staticClass:"more-mask",on:{click:function(s){return t.toggleRoute("more")}}}):t._e()]),e("transition",{attrs:{name:"mobile-slide"}},[t.isMore?e("div",{staticClass:"more-box"},[e("div",{staticClass:"tabbar-more-title"},[t._v(t._s(t.$L("\u66F4\u591A")))]),t._l(t.navMore,function(s){return e("ul",t._l(s,function(i){return e("li",{class:{active:t.activeName===i.name},on:{click:function(o){return t.toggleRoute(i.name)}}},[e("div",{staticClass:"more-item"},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(i.icon)}}),e("div",{staticClass:"tabbar-title"},[t._v(t._s(t.$L(i.label)))])])])}),0)})],2):t._e()]),e("ul",{staticClass:"tabbar-box"},t._l(t.navList,function(s){return e("li",{class:{active:t.activeName===s.name},on:{click:function(i){return t.toggleRoute(s.name)}}},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(s.icon)}}),e("div",{staticClass:"tabbar-title"},[t._v(t._s(t.$L(s.label)))]),s.name==="dashboard"?[t.dashboardTask.overdue_count>0?e("Badge",{staticClass:"tabbar-badge",attrs:{type:"error","overflow-count":999,count:t.dashboardTask.overdue_count}}):t.dashboardTask.today_count>0?e("Badge",{staticClass:"tabbar-badge",attrs:{type:"info","overflow-count":999,count:t.dashboardTask.today_count}}):t.dashboardTask.all_count>0?e("Badge",{staticClass:"tabbar-badge",attrs:{type:"primary","overflow-count":999,count:t.dashboardTask.all_count}}):t._e()]:s.name==="dialog"?[e("Badge",{staticClass:"tabbar-badge",attrs:{"overflow-count":999,text:t.msgUnreadMention}})]:t._e()],2)}),0),e("Modal",{attrs:{title:t.$L("\u626B\u7801\u767B\u5F55"),"mask-closable":!1},model:{value:t.scanLoginShow,callback:function(s){t.scanLoginShow=s},expression:"scanLoginShow"}},[e("div",{staticClass:"mobile-scan-login-box"},[e("div",{staticClass:"mobile-scan-login-title"},[t._v(t._s(t.$L("\u4F60\u597D\uFF0C\u626B\u7801\u786E\u8BA4\u767B\u5F55")))]),e("div",{staticClass:"mobile-scan-login-subtitle"},[t._v("\u300C"+t._s(t.$L("\u4E3A\u786E\u4FDD\u5E10\u53F7\u5B89\u5168\uFF0C\u8BF7\u786E\u8BA4\u662F\u672C\u4EBA\u64CD\u4F5C"))+"\u300D")])]),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.scanLoginShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u767B\u5F55")))]),e("Button",{attrs:{type:"primary",loading:t.scanLoginLoad},on:{click:t.scanLoginSubmit}},[t._v(t._s(t.$L("\u786E\u8BA4\u767B\u5F55")))])],1)])],1)},rt=[];const lt={name:"MobileTabbar",components:{NetworkException:N},data(){return{isMore:!1,navList:[{icon:"",name:"dashboard",label:"\u4EEA\u8868\u76D8"},{icon:"",name:"project",label:"\u9879\u76EE"},{icon:"",name:"dialog",label:"\u6D88\u606F"},{icon:"",name:"contacts",label:"\u901A\u8BAF\u5F55"},{icon:"",name:"more",label:"\u66F4\u591A"}],navMore:[[{icon:"",name:"calendar",label:"\u65E5\u5386"},{icon:"",name:"file",label:"\u6587\u4EF6"},{icon:"",name:"setting",label:"\u8BBE\u7F6E"}],[{icon:"",name:"addProject",label:"\u521B\u5EFA\u9879\u76EE"},{icon:"",name:"addTask",label:"\u6DFB\u52A0\u4EFB\u52A1"},{icon:"",name:"createMeeting",label:"\u65B0\u4F1A\u8BAE"},{icon:"",name:"joinMeeting",label:"\u52A0\u5165\u4F1A\u8BAE"}]],scanLoginShow:!1,scanLoginLoad:!1,scanLoginCode:""}},created(){$A.isEEUiApp&&this.navMore[0].splice(2,0,{icon:"",name:"scan",label:"\u626B\u4E00\u626B"})},mounted(){},beforeDestroy(){},computed:{...d(["cacheDialogs"]),...g(["dashboardTask"]),routeName(){return this.$route.name},msgUnreadMention(){let t=0,a=0;this.cacheDialogs.some(s=>{t+=$A.getDialogUnread(s,!1),a+=$A.getDialogMention(s)}),t>999&&(t="999+"),a>999&&(a="999+");const e=this.msgTodoTotal;return e?a?`@${a}\xB7${e}`:t?`${t}\xB7${e}`:e:t?a?`${t}\xB7@${a}`:String(t):a?`@${a}`:""},msgAllUnread(){let t=0;return this.cacheDialogs.some(a=>{t+=$A.getDialogNum(a)}),t},msgTodoTotal(){let t=this.cacheDialogs.reduce((a,e)=>a+(e.todo_num||0),0);return t>0?(t>999?t="999+":t===1&&(t=""),`${this.$L("\u5F85\u529E")}${t}`):null},unreadAndOverdue(){return this.userId>0?this.msgAllUnread+this.dashboardTask.overdue_count:0},activeName(){return this.isMore||["manage-calendar","manage-file","manage-setting"].includes(this.routeName)?"more":this.routeName==="manage-dashboard"?"dashboard":this.routeName==="manage-project"&&!/^\d+$/.test(this.$route.params.projectId)?"project":this.routeName==="manage-messenger"?this.$route.params.dialogAction==="contacts"?"contacts":"dialog":""}},watch:{windowActive(t){t||$A.eeuiAppSendMessage({action:"setBdageNotify",bdage:this.unreadAndOverdue})}},methods:{toggleRoute(t){this.$emit("on-click",t),t!="more"&&(this.isMore=!1);let a;switch(t){case"more":this.isMore=!this.isMore;return;case"scan":$A.eeuiAppScan(this.scanResult);return;case"addTask":case"addProject":return;case"createMeeting":c.Store.set("addMeeting",{type:"create",userids:[this.userId]});break;case"joinMeeting":c.Store.set("addMeeting",{type:"join"});break;case"project":a={name:"manage-project",params:{projectId:"all"}};break;case"dialog":a={name:"manage-messenger",params:{dialogAction:"dialog"}},this.routeName==="manage-messenger"&&c.Store.set("clickAgainDialog",!0);break;case"contacts":a={name:"manage-messenger",params:{dialogAction:"contacts"}};break;default:a={name:"manage-"+t};break}this.goForward(a)},scanResult(t){const a=(t+"").match(/^https*:\/\/(.*?)\/login\?qrcode=(.*?)$/);if(a){this.scanLoginCode=a[2],this.scanLoginShow=!0;return}/^https*:\/\//i.test(t)&&$A.eeuiAppOpenPage({pageType:"app",pageTitle:" ",url:"web.js",params:{url:t,browser:!0,showProgress:!0}})},scanLoginSubmit(){this.scanLoginLoad!==!0&&(this.scanLoginLoad=!0,this.$store.dispatch("call",{url:"users/login/qrcode",data:{type:"login",code:this.scanLoginCode}}).then(({msg:t})=>{this.scanLoginShow=!1,$A.messageSuccess(t)}).catch(({msg:t})=>{$A.messageError(t)}).finally(t=>{this.scanLoginLoad=!1}))}}},w={};var ct=n(lt,nt,rt,!1,dt,null,null,null);function dt(t){for(let a in w)this[a]=w[a]}var ht=function(){return ct.exports}(),ut=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"task-add"},[e("div",{staticClass:"head",class:{empty:t.addData.cascader.length==0,visible:t.cascaderShow}},[e("Cascader",{attrs:{data:t.cascaderData,clearable:!1,placeholder:t.$L("\u8BF7\u9009\u62E9\u9879\u76EE"),"load-data":t.cascaderLoadData,filterable:""},on:{"on-change":t.cascaderChange,"on-input-change":t.cascaderInputChange,"on-visible-change":function(s){t.cascaderShow=!t.cascaderShow}},model:{value:t.addData.cascader,callback:function(s){t.$set(t.addData,"cascader",s)},expression:"addData.cascader"}})],1),e("div",{staticClass:"task-add-form"},[e("div",{staticClass:"title"},[e("Input",{ref:"input",attrs:{type:"textarea",rows:1,autosize:{minRows:1,maxRows:8},maxlength:255,placeholder:t.$L("\u4EFB\u52A1\u63CF\u8FF0"),enterkeyhint:"done"},on:{"on-keydown":t.onKeydown},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1),e("div",{staticClass:"desc"},[e("TEditor",{attrs:{plugins:t.taskPlugins,options:t.taskOptions,"option-full":t.taskOptionFull,placeholder:t.$L(t.windowLarge?"\u8BE6\u7EC6\u63CF\u8FF0\uFF0C\u9009\u586B...\uFF08\u70B9\u51FB\u53F3\u952E\u4F7F\u7528\u5DE5\u5177\u680F\uFF09":"\u8BE6\u7EC6\u63CF\u8FF0\uFF0C\u9009\u586B..."),placeholderFull:t.$L("\u8BE6\u7EC6\u63CF\u8FF0..."),inline:""},model:{value:t.addData.content,callback:function(s){t.$set(t.addData,"content",s)},expression:"addData.content"}})],1),e("div",{staticClass:"advanced-option"},[e("Button",{class:{advanced:t.advanced},on:{click:function(s){t.advanced=!t.advanced}}},[t._v(t._s(t.$L("\u9AD8\u7EA7\u9009\u9879")))]),e("ul",{staticClass:"advanced-priority"},t._l(t.taskPriority,function(s,i){return e("li",{key:i},[e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp,content:t.taskPriorityContent(s)}},[e("i",{staticClass:"taskfont",style:{color:s.color},domProps:{innerHTML:t._s(t.addData.p_name==s.name?"":"")},on:{click:function(o){return t.choosePriority(s)}}})])],1)}),0),t.taskDays>0?e("DatePicker",{attrs:{open:t.taskTimeOpen,options:t.timeOptions,placeholder:t.$L("\u9009\u62E9\u8BA1\u5212\u8303\u56F4"),format:"yyyy/MM/dd HH:mm",type:"datetimerange",placement:"bottom"},on:{"on-change":function(s){return t.taskTimeChange(t.addData.times)},"on-open-change":t.taskTimeOpenChange},model:{value:t.addData.times,callback:function(s){t.$set(t.addData,"times",s)},expression:"addData.times"}},[e("div",{staticClass:"advanced-time",on:{click:function(s){return t.taskTimeOpenChange(!t.taskTimeOpen)}}},[e("Icon",{attrs:{type:"ios-clock-outline"}}),e("em",{style:t.addData.p_color?{backgroundColor:t.addData.p_color}:{},attrs:{type:"primary"}},[t._v(t._s(t.taskDays))])],1)]):t._e()],1)]),t.advanced?e("Form",{staticClass:"task-add-advanced",attrs:{"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u8BA1\u5212\u65F6\u95F4")}},[e("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("\u9009\u62E9\u8BA1\u5212\u8303\u56F4"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(s){return t.taskTimeChange(t.addData.times)}},model:{value:t.addData.times,callback:function(s){t.$set(t.addData,"times",s)},expression:"addData.times"}})],1),e("FormItem",{attrs:{label:t.$L("\u4EFB\u52A1\u8D1F\u8D23\u4EBA")}},[e("UserInput",{attrs:{"multiple-max":10,placeholder:t.$L("\u9009\u62E9\u4EFB\u52A1\u8D1F\u8D23\u4EBA"),"project-id":t.addData.project_id,transfer:!1},model:{value:t.addData.owner,callback:function(s){t.$set(t.addData,"owner",s)},expression:"addData.owner"}}),t.showAddAssist?e("div",{staticClass:"task-add-assist"},[e("Checkbox",{attrs:{"true-value":1,"false-value":0},model:{value:t.addData.add_assist,callback:function(s){t.$set(t.addData,"add_assist",s)},expression:"addData.add_assist"}},[t._v(t._s(t.$L("\u52A0\u5165\u4EFB\u52A1\u534F\u52A9\u4EBA\u5458\u5217\u8868")))]),e("ETooltip",{attrs:{disabled:t.windowSmall||t.$isEEUiApp,content:t.$L("\u4F60\u4E0D\u662F\u4EFB\u52A1\u8D1F\u8D23\u4EBA\u65F6\u5EFA\u8BAE\u52A0\u5165\u4EFB\u52A1\u534F\u52A9\u4EBA\u5458\u5217\u8868")}},[e("Icon",{attrs:{type:"ios-alert-outline"}})],1)],1):t._e()],1),e("div",{staticClass:"subtasks"},[t.addData.subtasks.length>0?e("div",{staticClass:"sublist"},[e("Row",[e("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u4EFB\u52A1\u63CF\u8FF0")))]),e("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("\u8BA1\u5212\u65F6\u95F4")))]),e("Col",{attrs:{span:"6"}},[t._v(t._s(t.$L("\u8D1F\u8D23\u4EBA")))])],1),t._l(t.addData.subtasks,function(s,i){return e("Row",{key:i},[e("Col",{attrs:{span:"12"}},[e("Input",{attrs:{maxlength:255,clearable:""},on:{"on-clear":function(o){return t.addData.subtasks.splice(i,1)}},model:{value:s.name,callback:function(o){t.$set(s,"name",o)},expression:"item.name"}})],1),e("Col",{attrs:{span:"6"}},[e("DatePicker",{attrs:{options:t.timeOptions,editable:!1,placeholder:t.$L("\u9009\u62E9\u65F6\u95F4"),format:"yyyy/MM/dd HH:mm",type:"datetimerange"},on:{"on-change":function(o){return t.taskTimeChange(s.times)}},model:{value:s.times,callback:function(o){t.$set(s,"times",o)},expression:"item.times"}})],1),e("Col",{attrs:{span:"6"}},[e("UserInput",{attrs:{"multiple-max":1,placeholder:t.$L("\u9009\u62E9\u8D1F\u8D23\u4EBA"),"project-id":t.addData.project_id,transfer:!1,"max-hidden-select":""},model:{value:s.owner,callback:function(o){t.$set(s,"owner",o)},expression:"item.owner"}})],1)],1)})],2):t._e(),e("Input",{class:["enter-input",t.subName==""?"empty":""],attrs:{type:"text",placeholder:t.$L("+ \u8F93\u5165\u5B50\u4EFB\u52A1\uFF0C\u56DE\u8F66\u6DFB\u52A0\u5B50\u4EFB\u52A1")},on:{"on-enter":t.addSubTask},model:{value:t.subName,callback:function(s){t.subName=s},expression:"subName"}})],1)],1):t._e(),e("div",{staticClass:"ivu-modal-footer"},[e("div",{staticClass:"adaption"},[e("Button",{attrs:{type:"default"},on:{click:t.close}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("ButtonGroup",{staticClass:"page-manage-add-task-button-group"},[e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAdd}},[t._v(t._s(t.$L("\u6DFB\u52A0\u4EFB\u52A1")))]),e("Dropdown",{attrs:{transfer:""},on:{"on-click":function(s){return t.onAdd(!0)}}},[e("Button",{attrs:{type:"primary"}},[e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{disabled:t.loadIng>0}},[t._v(t._s(t.$L("\u63D0\u4EA4\u7EE7\u7EED\u6DFB\u52A0")))])],1)],1)],1)],1)])],1)},pt=[];const mt={name:"TaskAdd",components:{UserInput:v,TEditor:F},props:{value:{type:Boolean,default:!1}},data(){return{addData:{cascader:[],name:"",content:"",owner:[],add_assist:1,project_id:0,column_id:0,times:[],subtasks:[],p_level:0,p_name:"",p_color:""},cascaderShow:!1,cascaderData:[],cascaderValue:"",cascaderLoading:0,cascaderAlready:[],advanced:!1,subName:"",taskPlugins:["advlist autolink lists link image charmap print preview hr anchor pagebreak","searchreplace visualblocks visualchars code","insertdatetime media nonbreaking save table directionality","emoticons paste codesample","autoresize"],taskOptions:{statusbar:!1,menubar:!1,autoresize_bottom_margin:2,min_height:200,max_height:380,contextmenu:"bold italic underline forecolor backcolor | codesample | uploadImages imagePreview | preview screenload",valid_elements:"a[href|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",toolbar:!1},taskOptionFull:{menubar:"file edit view",valid_elements:"a[href|target=_blank],em,strong/b,div[align],span[style],a,br,p,img[src|alt|witdh|height],pre[class],code",toolbar:"uploadImages | bold italic underline forecolor backcolor | codesample | preview screenload"},taskTimeOpen:!1,timeOptions:{shortcuts:$A.timeOptionShortcuts()},loadIng:0,isMounted:!1,beforeClose:[]}},async mounted(){this.initCascaderData(),await this.initProjectData(),this.$nextTick(()=>this.$refs.input.focus()),this.isMounted=!0},beforeDestroy(){this.beforeClose.some(t=>{typeof t=="function"&&t()}),this.beforeClose=[]},computed:{...d(["cacheProjects","projectId","cacheColumns","taskPriority"]),taskDays(){const{times:t}=this.addData;let a=$A.date2string(t,"Y-m-d H:i");if(a[0]&&a[1]){let e=Math.ceil(($A.Date(a[1],!0)-$A.Date(a[0],!0))/86400);if(e>0)return e}return 0},showAddAssist(){return!this.addData.owner.includes(this.userId)}},watch:{"addData.project_id"(t){t>0&&$A.IDBSave("cacheAddTaskProjectId",t)},"addData.column_id"(t){t>0&&$A.IDBSave("cacheAddTaskColumnId",t);const{project_id:a}=this.addData;a&&t?this.$set(this.addData,"cascader",[a,t]):this.$set(this.addData,"cascader",[])}},methods:{initCascaderData(){const t=$A.cloneJSON(this.cacheProjects).sort((a,e)=>a.top_at||e.top_at?$A.Date(e.top_at)-$A.Date(a.top_at):e.id-a.id);this.cascaderData=t.map(a=>{const e=this.cacheColumns.filter(({project_id:i})=>i==a.id).map(i=>({value:i.id,label:i.name})),s={value:a.id,label:a.name,children:e};return e.length==0&&(s.loading=!1),s})},async initProjectData(){let t=await $A.IDBInt("cacheAddTaskProjectId"),a=this.cacheProjects.find(({id:e})=>e==this.projectId)||this.cacheProjects.find(({id:e})=>e==t)||this.cacheProjects.find(({id:e})=>e>0);if(a){let e=await $A.IDBInt("cacheAddTaskColumnId"),s=this.cacheColumns.find(({project_id:i,id:o})=>i==a.id&&o==e)||this.cacheColumns.find(({project_id:i})=>i==a.id);s?(this.addData.project_id=s.project_id,this.addData.column_id=s.id):this.$store.dispatch("getColumns",a.id).then(()=>{s=this.cacheColumns.find(({project_id:i,id:o})=>i==a.id&&o==e)||this.cacheColumns.find(({project_id:i})=>i==a.id),s&&(this.addData.project_id=s.project_id,this.addData.column_id=s.id)}).catch(()=>{})}this.taskPriority.length>0&&this.choosePriority(this.taskPriority[0])},taskTimeChange(t){let a=$A.date2string(t,"Y-m-d H:i");a[0]&&a[1]&&$A.rightExists(a[0],"00:00")&&$A.rightExists(a[1],"00:00")&&this.$set(this.addData,"times",[a[0],a[1].replace("00:00","23:59")])},taskTimeOpenChange(t){this.taskTimeOpen=t},onKeydown(t){if(t.keyCode===13){if(t.shiftKey)return;t.preventDefault(),this.onAdd()}},addSubTask(){this.subName.trim()!==""&&(this.addData.subtasks.push({name:this.subName.trim(),owner:[this.userId],times:[]}),this.subName="")},taskPriorityContent(t){let a=$A.runNum(t.days);return a<=0?t.name+" ("+this.$L("\u65E0\u65F6\u95F4\u9650\u5236")+")":t.name+" ("+a+this.$L("\u5929")+")"},choosePriority(t){let a=new Date,e=$A.runNum(t.days);if(e>0){let s=new Date(new Date().setDate(a.getDate()+e));this.$set(this.addData,"times",$A.date2string([a,s]))}else this.$set(this.addData,"times",[]);this.$set(this.addData,"p_level",t.priority),this.$set(this.addData,"p_name",t.name),this.$set(this.addData,"p_color",t.color)},cascaderLoadData(t,a){t.loading=!0,this.$store.dispatch("getColumns",t.value).then(e=>{t.children=e.map(s=>({value:s.id,label:s.name})),t.loading=!1,a()}).catch(()=>{t.loading=!1,a()})},cascaderChange(t){t[1]&&(this.$set(this.addData,"project_id",t[0]),this.$set(this.addData,"column_id",t[1]))},cascaderInputChange(t){this.cascaderValue=t||"",this.cascaderAlready[this.cascaderValue]!==!0&&(this.cascaderAlready[this.cascaderValue]=!0,setTimeout(()=>{this.cascaderLoading++},1e3),this.$store.dispatch("getProjects",{keys:{name:this.cascaderValue},getcolumn:"yes"}).then(()=>{this.cascaderLoading--,this.initCascaderData()}).catch(()=>{this.cascaderLoading--}))},setData(t){if(!this.isMounted){this.__setData&&clearTimeout(this.__setData),this.__setData=setTimeout(a=>this.setData(t),10);return}typeof t.beforeClose!="undefined"&&(this.beforeClose.push(t.beforeClose),delete t.beforeClose),this.addData=Object.assign({},this.addData,t)},onAdd(t){if(!this.addData.name){$A.messageError("\u4EFB\u52A1\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A");return}this.loadIng++,this.$store.dispatch("taskAdd",this.addData).then(({msg:a})=>{this.loadIng--,$A.messageSuccess(a),t===!0?(this.addData=Object.assign({},this.addData,{name:"",content:"",subtasks:[]}),this.$refs.input.focus()):(this.addData={cascader:[],name:"",content:"",owner:[],add_assist:1,column_id:0,times:[],subtasks:[],p_level:0,p_name:"",p_color:""},this.close())}).catch(({msg:a})=>{this.loadIng--,$A.modalError(a)})},close(){this.$emit("input",!this.value)}}},D={};var ft=n(mt,ut,pt,!1,gt,null,null,null);function gt(t){for(let a in D)this[a]=D[a]}var vt=function(){return ft.exports}(),_t=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"report-list-wrap"},[e("div",{staticClass:"search-expand"},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u7C7B\u578B"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.type,callback:function(s){t.$set(t.keys,"type",s)},expression:"keys.type"}},t._l(t.reportTypeList,function(s){return e("Option",{key:s.value,attrs:{value:s.value}},[t._v(t._s(s.label))])}),1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u65F6\u95F4"))+" ")]),e("div",{staticClass:"search-content"},[e("DatePicker",{attrs:{type:"daterange","split-panels":"",placeholder:t.$L("\u8BF7\u9009\u62E9\u65F6\u95F4")},model:{value:t.keys.created_at,callback:function(s){t.$set(t.keys,"created_at",s)},expression:"keys.created_at"}})],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"expand-button-group"},[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:t.addReport}},[t._v(t._s(t.$L("\u65B0\u589E\u62A5\u544A")))])],1)]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""}}),e("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)])},$t=[];const kt={name:"ReportMy",data(){return{loadIng:0,columns:[{title:this.$L("\u540D\u79F0"),key:"title",minWidth:120},{title:this.$L("\u7C7B\u578B"),key:"type",align:"center",width:90},{title:this.$L("\u6C47\u62A5\u65F6\u95F4"),key:"created_at",align:"center",width:180},{title:this.$L("\u6C47\u62A5\u5BF9\u8C61"),key:"receives",align:"center",width:90,render:(t,{row:a})=>{if(a.receives.length===0)return t("div","-");const e=[];return a.receives.length<=2?a.receives.some(s=>{e.push(t("UserAvatar",{props:{size:22,userid:s}}))}):(e.push(t("UserAvatar",{props:{size:22,userid:a.receives[0]}})),e.push(t("div",{class:"more-avatar"},`+${a.receives.length-1}`))),t("div",{class:"report-table-avatar"},e)}},{title:this.$L("\u64CD\u4F5C"),align:"center",width:100,minWidth:100,render:(t,{column:a,row:e})=>e.id?t("TableAction",{props:{column:a,menu:[{icon:"md-create",action:"edit"},{icon:"md-eye",action:"view"}]},on:{action:s=>{s==="edit"?this.$emit("on-edit",e.id):s==="view"&&this.$emit("on-view",e)}}}):null}],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"\u6570\u636E\u52A0\u8F7D\u4E2D.....",keys:{},keyIs:!1,reportTypeList:[{value:"",label:this.$L("\u5168\u90E8")},{value:"weekly",label:this.$L("\u5468\u62A5")},{value:"daily",label:this.$L("\u65E5\u62A5")}]}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.listPage=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"report/my",data:{keys:this.keys,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:t})=>{this.lists=t.data,this.listTotal=t.total,this.noDataText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(({msg:t})=>{$A.messageError(t),this.noDataText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(()=>{this.loadIng--})},setPage(t){this.listPage=t,this.getLists()},setPageSize(t){Math.max($A.runNum(this.listPageSize),10)!==t&&(this.listPageSize=t,this.getLists())},addReport(){this.$emit("on-edit",0)}}},L={};var bt=n(kt,_t,$t,!1,yt,null,null,null);function yt(t){for(let a in L)this[a]=L[a]}var wt=function(){return bt.exports}(),Dt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"report-list-wrap"},[e("div",{staticClass:"search-container lr"},[e("ul",[e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u5173\u952E\u8BCD"))+" ")]),e("div",{staticClass:"search-content"},[e("Input",{attrs:{placeholder:t.$L("\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22"),clearable:""},model:{value:t.keys.key,callback:function(s){t.$set(t.keys,"key",s)},expression:"keys.key"}})],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u7C7B\u578B"))+" ")]),e("div",{staticClass:"search-content"},[e("Select",{attrs:{placeholder:t.$L("\u5168\u90E8")},model:{value:t.keys.type,callback:function(s){t.$set(t.keys,"type",s)},expression:"keys.type"}},t._l(t.reportTypeList,function(s){return e("Option",{key:s.value,attrs:{value:s.value}},[t._v(t._s(s.label))])}),1)],1)]),e("li",[e("div",{staticClass:"search-label"},[t._v(" "+t._s(t.$L("\u6C47\u62A5\u65F6\u95F4"))+" ")]),e("div",{staticClass:"search-content"},[e("DatePicker",{attrs:{type:"daterange","split-panels":"",placeholder:t.$L("\u8BF7\u9009\u62E9\u65F6\u95F4")},model:{value:t.keys.created_at,callback:function(s){t.$set(t.keys,"created_at",s)},expression:"keys.created_at"}})],1)]),e("li",{staticClass:"search-button"},[e("Tooltip",{attrs:{theme:"light",placement:"right","transfer-class-name":"search-button-clear",transfer:""}},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary",icon:"ios-search"},on:{click:t.onSearch}},[t._v(t._s(t.$L("\u641C\u7D22")))]),e("div",{attrs:{slot:"content"},slot:"content"},[t.keyIs?e("Button",{attrs:{type:"text"},on:{click:function(s){t.keyIs=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88\u7B5B\u9009")))]):e("Button",{attrs:{loading:t.loadIng>0,type:"text"},on:{click:t.getLists}},[t._v(t._s(t.$L("\u5237\u65B0")))])],1)],1)],1)])]),e("div",{staticClass:"table-page-box"},[e("Table",{attrs:{columns:t.columns,data:t.lists,loading:t.loadIng>0,"no-data-text":t.$L(t.noDataText),stripe:""},on:{"on-selection-change":t.selectChange}}),e("div",{staticClass:"table-attach"},[e("div",{staticClass:"select-box"},[e("Select",{attrs:{disabled:t.selectIds.length==0,placeholder:t.$L("\u8BF7\u9009\u62E9"),transfer:""},on:{"on-change":function(s){t.groupSelect=!0}},model:{value:t.selectAction,callback:function(s){t.selectAction=s},expression:"selectAction"}},[e("Option",{attrs:{value:"read"}},[t._v(t._s(t.$L("\u6807\u8BB0\u5DF2\u8BFB")))]),e("Option",{attrs:{value:"unread"}},[t._v(t._s(t.$L("\u6807\u8BB0\u672A\u8BFB")))])],1),e("Button",{attrs:{loading:t.loadIng>0,type:"primary",disabled:t.selectAction==""||t.selectIds.length==0},on:{click:t.selectClick}},[t._v(t._s(t.$L("\u6267\u884C")))])],1),e("Page",{attrs:{total:t.listTotal,current:t.listPage,"page-size":t.listPageSize,disabled:t.loadIng>0,simple:t.windowSmall,"page-size-opts":[10,20,30,50,100],"show-elevator":"","show-sizer":"","show-total":""},on:{"on-change":t.setPage,"on-page-size-change":t.setPageSize}})],1)],1)])},Lt=[];const Tt={name:"ReportReceive",data(){return{loadIng:0,columns:[{type:"selection",width:50,align:"right"},{title:this.$L("\u6807\u9898"),key:"title",sortable:!0,minWidth:120,render:(t,{row:a})=>{let e=[];const s=a.receives_user.find(({userid:i})=>i==this.userId);return s&&s.pivot.read==0?e.push(t("Tag",{props:{color:"orange"}},this.$L("\u672A\u8BFB")),t("span",a.title)):e.push(t("span",a.title)),t("div",e)}},{title:this.$L("\u7C7B\u578B"),key:"type",sortable:!0,width:90},{title:this.$L("\u63A5\u6536\u65F6\u95F4"),key:"receive_time",align:"center",sortable:!0,width:180},{title:this.$L("\u64CD\u4F5C"),align:"center",width:90,minWidth:90,render:(t,{column:a,row:e})=>e.id?t("TableAction",{props:{column:a,menu:[{icon:"md-eye",action:"view"}]},on:{action:s=>{if(s==="view"){this.$emit("on-view",e);const i=e.receives_user.find(({userid:o})=>o==this.userId);i&&this.$set(i.pivot,"read",1)}}}}):null}],lists:[],listPage:1,listTotal:0,listPageSize:20,noDataText:"\u6570\u636E\u52A0\u8F7D\u4E2D.....",keys:{},keyIs:!1,selectIds:[],selectAction:"",reportTypeList:[{value:"",label:this.$L("\u5168\u90E8")},{value:"weekly",label:this.$L("\u5468\u62A5")},{value:"daily",label:this.$L("\u65E5\u62A5")}]}},mounted(){this.getLists()},watch:{keyIs(t){t||(this.keys={},this.setPage(1))}},methods:{onSearch(){this.listPage=1,this.getLists()},getLists(){this.loadIng++,this.keyIs=$A.objImplode(this.keys)!="",this.$store.dispatch("call",{url:"report/receive",data:{keys:this.keys,page:Math.max(this.listPage,1),pagesize:Math.max($A.runNum(this.listPageSize),10)}}).then(({data:t})=>{this.lists=t.data,this.listTotal=t.total,this.noDataText="\u6CA1\u6709\u76F8\u5173\u7684\u6570\u636E"}).catch(({msg:t})=>{$A.messageError(t),this.noDataText="\u6570\u636E\u52A0\u8F7D\u5931\u8D25"}).finally(()=>{this.loadIng--})},setPage(t){this.listPage=t,this.getLists()},setPageSize(t){Math.max($A.runNum(this.listPageSize),10)!==t&&(this.listPageSize=t,this.getLists())},selectChange(t){this.selectIds=t.map(({id:a})=>a)},selectClick(){if(this.selectIds.length===0){$A.messageWarning("\u8BF7\u9009\u62E9\u7EBF\u8DEF");return}switch(this.selectAction){case"read":case"unread":this.readReport(this.selectIds,this.selectAction);break;default:$A.messageWarning("\u8BF7\u9009\u62E9\u6267\u884C\u65B9\u5F0F");break}},readReport(t,a){const e=a==="read"?"\u6807\u8BB0\u5DF2\u8BFB":"\u6807\u8BB0\u672A\u8BFB";$A.modalConfirm({content:`\u4F60\u786E\u5B9A\u8981\u3010${e}\u3011\u5417\uFF1F`,cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A",loading:!0,onOk:()=>new Promise((s,i)=>{this.$store.dispatch("call",{url:"report/mark",data:{id:t,action:a}}).then(({msg:o})=>{s(o),this.getLists(),this.$emit("on-read")}).catch(({msg:o})=>{i(o)})})})}}},T={};var Ct=n(Tt,Dt,Lt,!1,xt,null,null,null);function xt(t){for(let a in T)this[a]=T[a]}var St=function(){return Ct.exports}(),It=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"report"},[e("Tabs",{model:{value:t.reportTabs,callback:function(s){t.reportTabs=s},expression:"reportTabs"}},[e("TabPane",{attrs:{label:t.$L("\u6211\u7684\u6C47\u62A5"),name:"my"}},[t.reportTabs==="my"?e("ReportMy",{ref:"report",on:{"on-view":t.onView,"on-edit":t.onEditReport}}):t._e()],1),e("TabPane",{attrs:{label:t.tabRebder(t.reportUnreadNumber),name:"receive"}},[t.reportTabs==="receive"?e("ReportReceive",{on:{"on-view":t.onView,"on-read":t.onRead}}):t._e()],1)],1),e("DrawerOverlay",{attrs:{placement:"right",size:950,transfer:""},model:{value:t.showDetailDrawer,callback:function(s){t.showDetailDrawer=s},expression:"showDetailDrawer"}},[t.showDetailDrawer?e("ReportDetail",{attrs:{data:t.detailData}}):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1e3,transfer:""},model:{value:t.showEditDrawer,callback:function(s){t.showEditDrawer=s},expression:"showEditDrawer"}},[t.showEditDrawer?e("ReportEdit",{attrs:{id:t.reportId},on:{saveSuccess:t.saveSuccess}}):t._e()],1)],1)},At=[];const Mt={name:"Report",components:{DrawerOverlay:E,ReportEdit:W,ReportMy:wt,ReportReceive:St,ReportDetail:H},props:{reportType:{default:"my"}},data(){return{reportTabs:"my",showDetailDrawer:!1,showEditDrawer:!1,detailData:{},reportId:0}},mounted(){this.reportTabs=this.reportType,this.$isMainElectron&&this.$Electron.listenerOnly("reportSaveSuccess",({data:t,msg:a})=>{$A.messageSuccess(a),this.saveSuccess(t)})},computed:{...d(["reportUnreadNumber"])},methods:{tabRebder(t){return a=>t>0?a("div",[a("span",{class:"navbar-item-content"},this.$L("\u6536\u5230\u7684\u6C47\u62A5")),a("Badge",{class:"manage-box-report",props:{count:t}})]):a("div",[a("span",{class:"navbar-item-content"},this.$L("\u6536\u5230\u7684\u6C47\u62A5"))])},onView(t){if(this.detailData=t,this.$emit("on-read"),this.$Electron){let a={title:t.title,titleFixed:!0,parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:`report-detail-${t.id}`,path:`/single/report/detail/${t.id}`,force:!1,config:a})}else this.showDetailDrawer=!0},onRead(){this.$emit("on-read",0)},onEditReport(t){if(this.$Electron){let a={title:this.$L(t>0?"\u4FEE\u6539\u62A5\u544A":"\u65B0\u589E\u62A5\u544A"),parent:null,width:Math.min(window.screen.availWidth,1440),height:Math.min(window.screen.availHeight,900)};this.$Electron.sendMessage("windowRouter",{name:`report-edit-${t}`,path:`/single/report/edit/${t}`,force:!1,config:a})}else this.reportId=t,this.showEditDrawer=!0},saveSuccess(){this.reportId=0,this.reportTabs="my",this.showEditDrawer=!1,this.$refs.report&&this.$refs.report.getLists()}}},C={};var jt=n(Mt,It,At,!1,Pt,null,null,null);function Pt(t){for(let a in C)this[a]=C[a]}var Ut=function(){return jt.exports}(),Rt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"mobile-back"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.windowScrollY>0,expression:"windowScrollY > 0"}],ref:"bar",staticClass:"back-bar"}),t.show?e("div",{staticClass:"back-semicircle",style:t.style}):t._e()])},Et=[];const Bt={name:"MobileBack",props:{showTabbar:{type:Boolean,default:!1}},data(){return{show:!1,x:0,y:0}},created(){this.appAndroidEvents()},mounted(){this.$refs.bar.addEventListener("touchmove",this.barListener),document.addEventListener("touchstart",this.touchstart),document.addEventListener("touchmove",this.touchmove),document.addEventListener("touchend",this.touchend)},beforeDestroy(){this.$refs.bar.removeEventListener("touchmove",this.barListener),document.removeEventListener("touchstart",this.touchstart),document.removeEventListener("touchmove",this.touchmove),document.removeEventListener("touchend",this.touchend)},computed:{...d(["fileLists","messengerSearchKey"]),style(){const a=Math.max(135,this.y)+this.windowScrollY,e=this.windowHeight-135;return{top:Math.min(a,e)+"px",left:this.x>20?0:"-50px"}},routeName(){return this.$route.name},fileFolderId(){const{folderId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)}},watch:{show(t){t?document.body.classList.add("touch-back"):document.body.classList.remove("touch-back"),this.$store.state.touchBackInProgress=t}},methods:{getXY(t){let a=t.touches[0];this.x=a.clientX,this.y=a.clientY},barListener(t){t.preventDefault()},touchstart(t){this.getXY(t),this.show=this.canBack()&&this.x<20},touchmove(t){this.show&&this.getXY(t)},touchend(){this.x>90&&this.show&&this.onBack(),this.x=0,this.show=!1},canBack(){if(!this.showTabbar||this.$Modal.visibles().length>0||this.fileFolderId>0)return!0;if(this.routeName==="manage-messenger"){if(this.$route.params.dialogAction==="contacts"){if(this.messengerSearchKey.contacts)return!0}else if(this.messengerSearchKey.dialog)return!0}return!1},onBack(){if(!this.$Modal.removeLast()){if(this.fileFolderId>0){const t=this.fileLists.find(({id:a,permission:e})=>a==this.fileFolderId&&e>-1);if(t){const a=this.fileLists.find(({id:e,permission:s})=>e==t.pid&&s>-1);if(a){this.goForward({name:"manage-file",params:{folderId:a.id,fileId:null}});return}}this.goForward({name:"manage-file"});return}if(this.routeName==="manage-messenger"){if(this.$route.params.dialogAction==="contacts"){if(this.messengerSearchKey.contacts){this.$store.state.messengerSearchKey.contacts="";return}}else if(this.messengerSearchKey.dialog){this.$store.state.messengerSearchKey.dialog="";return}}this.goBack()}},appAndroidEvents(){this.$isEEUiApp&&$A.isAndroid()&&$A.eeuiAppSetPageBackPressed({pageName:"firstPage"},t=>{this.canBack()?this.onBack():$A.eeuiAppGoDesktop()})}}},x={};var Nt=n(Bt,Rt,Et,!1,Ot,null,null,null);function Ot(t){for(let a in x)this[a]=x[a]}var zt=function(){return Nt.exports}(),Ft=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.show&&t.userid>0?e("transition",{attrs:{name:"mobile-notify"}},[e("div",{staticClass:"mobile-notification",class:{show:t.show},on:{click:function(s){return s.stopPropagation(),t.onClick.apply(null,arguments)},touchstart:t.onTouchstart,touchmove:t.onTouchmove}},[e("UserAvatar",{attrs:{userid:t.userid,size:40,"show-name":"","name-text":t.title}}),e("div",{staticClass:"notification-desc"},[t._v(t._s(t.desc))])],1)]):t._e()},Wt=[];const Ht={name:"MobileNotification",data(){return{userid:0,title:"",desc:"",duration:6e3,callback:null,show:!1,timer:null,startY:0}},beforeDestroy(){this.timer&&clearTimeout(this.timer),this.show=!1},methods:{open(t){!$A.isJson(t)||(this.userid=t.userid||0,this.title=t.title||"",this.desc=t.desc||"",this.duration=typeof t.duration=="number"?t.duration:6e3,this.callback=typeof t.callback=="function"?t.callback:null,this.show=!0,this.timer&&clearTimeout(this.timer),this.duration>0&&(this.timer=setTimeout(this.close,this.duration)),$A.eeuiAppSendMessage({action:"setVibrate"}))},close(){this.show=!1},onClick(){this.close(),typeof this.callback=="function"&&this.callback()},onTouchstart(t){this.startY=t.touches[0].clientY},onTouchmove(t){this.startY>0&&this.startY-t.touches[0].clientY>10&&(this.startY=0,this.close())}}},S={};var Vt=n(Ht,Ft,Wt,!1,Kt,null,null,null);function Kt(t){for(let a in S)this[a]=S[a]}var Yt=function(){return Vt.exports}(),Jt=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.userid?e("div",{staticClass:"meeting-player"},[e("div",{staticClass:"player",style:t.playerStyle,attrs:{id:t.id}}),e("UserAvatar",{attrs:{userid:t.userid,size:36,borderWitdh:2}}),e("div",{staticClass:"player-state"},[t.audio?t._e():e("i",{staticClass:"taskfont"},[t._v("\uE7C7")]),t.video?t._e():e("i",{staticClass:"taskfont"},[t._v("\uE7C8")])])],1):t._e()},qt=[];const Xt={name:"MeetingPlayer",props:{id:{type:String,default:()=>"meeting-player-"+Math.round(Math.random()*1e4)},player:{type:Object,default:()=>({})},isLocal:{type:Boolean,default:!1}},data(){return{timer:null}},mounted(){this.timer=setInterval(t=>{this.audio&&!this.player.audioTrack.isPlaying&&this.play("audio"),this.video&&!this.player.videoTrack.isPlaying&&this.play("video")},3e3)},beforeDestroy(){clearInterval(this.timer)},computed:{...d(["cacheUserBasic"]),userid(){return this.player.uid?parseInt($A.getMiddle(this.player.uid,null,"-")):0},playerStyle(){const t=this.cacheUserBasic.find(({userid:a})=>a==this.userid);return t?{backgroundImage:`url("${t.userimg}")`}:null},audio(){return!!this.player.audioTrack},video(){return!!this.player.videoTrack}},watch:{audio:{handler(t){t&&this.play("audio")},immediate:!0},video:{handler(t){t&&this.play("video")},immediate:!0}},methods:{play(t){this.$nextTick(a=>{try{t==="audio"?!this.isLocal&&this.player.audioTrack.play():t==="video"&&this.player.videoTrack.play(this.id)}catch(e){console.log("Meeting Player Error",e)}})}}},I={};var Gt=n(Xt,Jt,qt,!1,Qt,null,null,null);function Qt(t){for(let a in I)this[a]=I[a]}var Zt=function(){return Gt.exports}(),te=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{ref:"floatDrag",style:t.dragStyle,on:{mousedown:function(s){return s.stopPropagation(),s.preventDefault(),t.mouseDown.apply(null,arguments)}}},[t._t("default")],2)},ee=[];const ae={name:"DragBallComponent",props:{id:{type:String,default:""},distanceRight:{type:Number,default:0},distanceBottom:{type:Number,default:100},isScrollHidden:{type:Boolean,default:!1},isCanDraggable:{type:Boolean,default:!0},zIndex:{type:Number,default:50}},data(){return{clientWidth:null,clientHeight:null,top:0,left:0,timer:null,currentTop:0,isMoving:!1,record:{}}},created(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight},mounted(){this.id&&($A.isJson(window._DragBallComponent)||(window._DragBallComponent={})),this.isCanDraggable&&this.$nextTick(()=>{this.id&&$A.isJson(window._DragBallComponent[this.id])?(this.left=window._DragBallComponent[this.id].left,this.top=window._DragBallComponent[this.id].top):(this.left=this.clientWidth-this.floatDrag.offsetWidth-this.distanceRight,this.top=this.clientHeight-this.floatDrag.offsetHeight-this.distanceBottom),this.initDraggable()}),this.isScrollHidden&&window.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize)},beforeDestroy(){this.id&&(window._DragBallComponent[this.id]={left:this.left,top:this.top}),window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize)},computed:{dragStyle(){return{left:this.left+"px",top:this.top+"px",zIndex:this.zIndex,position:"fixed"}},floatDrag(){return this.$refs.floatDrag}},methods:{handleScroll(){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.handleScrollEnd()},200),this.currentTop=document.documentElement.scrollTop||document.body.scrollTop,this.left>this.clientWidth/2?this.left=this.clientWidth+this.floatDrag.offsetWidth:this.left=-this.floatDrag.offsetWidth},handleScrollEnd(){(document.documentElement.scrollTop||document.body.scrollTop)===this.currentTop&&(this.left>this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,clearTimeout(this.timer))},handleResize(){this.clientWidth=document.documentElement.clientWidth,this.clientHeight=document.documentElement.clientHeight,this.$nextTick(this.checkDraggablePosition)},initDraggable(){this.floatDrag.addEventListener("touchstart",this.toucheStart),this.floatDrag.addEventListener("touchmove",this.touchMove),this.floatDrag.addEventListener("touchend",this.touchEnd)},mouseDown(t){this.record={time:new Date().getTime(),top:this.floatDrag.offsetTop,left:this.floatDrag.offsetLeft,x:t.clientX-this.floatDrag.offsetLeft,y:t.clientY-this.floatDrag.offsetTop},this.floatDrag.style.transition="none",this.canClick=!1,document.onmousemove=a=>{let e=a.clientX-this.record.x,s=a.clientY-this.record.y;e<0?e=0:e>window.innerWidth-this.floatDrag.offsetWidth&&(e=window.innerWidth-this.floatDrag.offsetWidth),s<0?s=0:s>window.innerHeight-this.floatDrag.offsetHeight&&(s=window.innerHeight-this.floatDrag.offsetHeight),this.left=e,this.top=s},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,this.checkDraggablePosition(),this.floatDrag.style.transition="all 0.3s",(Math.abs(this.record.top-this.floatDrag.offsetTop)<5&&Math.abs(this.record.left-this.floatDrag.offsetLeft)<5||new Date().getTime()-this.record.time<200)&&this.$emit("on-click")}},toucheStart(){this.canClick=!1,this.floatDrag.style.transition="none"},touchMove(t){if(this.canClick=!0,t.targetTouches.length===1){let a=event.targetTouches[0],e=a.clientX-this.floatDrag.offsetWidth/2,s=a.clientY-this.floatDrag.offsetHeight/2;e<0?e=0:e>window.innerWidth-this.floatDrag.offsetWidth&&(e=window.innerWidth-this.floatDrag.offsetWidth),s<0?s=0:s>window.innerHeight-this.floatDrag.offsetHeight&&(s=window.innerHeight-this.floatDrag.offsetHeight),this.left=e,this.top=s}},touchEnd(){!this.canClick||(this.floatDrag.style.transition="all 0.3s",this.checkDraggablePosition())},checkDraggablePosition(){this.left+this.floatDrag.offsetWidth/2>=this.clientWidth/2?this.left=this.clientWidth-this.floatDrag.offsetWidth:this.left=0,this.top<0&&(this.top=0),this.top+this.floatDrag.offsetHeight>=this.clientHeight&&(this.top=this.clientHeight-this.floatDrag.offsetHeight)}}},A={};var se=n(ae,te,ee,!1,ie,null,null,null);function ie(t){for(let a in A)this[a]=A[a]}var oe=function(){return se.exports}(),ne=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"meeting-warp"},[e("Modal",{attrs:{title:t.$L(t.addData.type==="join"?"\u52A0\u5165\u4F1A\u8BAE":"\u65B0\u4F1A\u8BAE"),"mask-closable":!1},model:{value:t.addShow,callback:function(s){t.addShow=s},expression:"addShow"}},[e("Form",{ref:"addForm",attrs:{model:t.addData,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[t.addData.type==="join"?[t.addData.name?e("FormItem",{attrs:{prop:"userids",label:t.$L("\u4F1A\u8BAE\u4E3B\u9898")}},[e("Input",{attrs:{disabled:""},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1):t._e(),e("FormItem",{attrs:{prop:"meetingid",label:t.$L("\u4F1A\u8BAE\u9891\u9053ID")}},[e("Input",{attrs:{disabled:t.addData.meetingdisabled===!0,placeholder:t.$L("\u8BF7\u8F93\u5165\u4F1A\u8BAE\u9891\u9053ID")},model:{value:t.addData.meetingid,callback:function(s){t.$set(t.addData,"meetingid",s)},expression:"addData.meetingid"}})],1)]:[e("FormItem",{attrs:{prop:"name",label:t.$L("\u4F1A\u8BAE\u4E3B\u9898")}},[e("Input",{attrs:{maxlength:50,placeholder:t.$L("\u9009\u586B")},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1),e("FormItem",{attrs:{prop:"userids",label:t.$L("\u9080\u8BF7\u6210\u5458")}},[e("UserInput",{attrs:{uncancelable:[t.userId],"multiple-max":20,placeholder:t.$L("\u9009\u62E9\u9080\u8BF7\u6210\u5458")},model:{value:t.addData.userids,callback:function(s){t.$set(t.addData,"userids",s)},expression:"addData.userids"}})],1)],e("FormItem",{attrs:{prop:"tracks"}},[e("CheckboxGroup",{model:{value:t.addData.tracks,callback:function(s){t.$set(t.addData,"tracks",s)},expression:"addData.tracks"}},[e("Checkbox",{attrs:{label:"audio"}},[e("span",[t._v(t._s(t.$L("\u9EA6\u514B\u98CE")))])]),e("Checkbox",{attrs:{label:"video"}},[e("span",[t._v(t._s(t.$L("\u6444\u50CF\u5934")))])])],1)],1)],2),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.addShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onSubmit}},[t._v(t._s(t.$L(t.addData.type==="join"?"\u52A0\u5165\u4F1A\u8BAE":"\u5F00\u59CB\u4F1A\u8BAE")))])],1)],1),e("Modal",{attrs:{title:t.addData.name,mask:!1,"mask-closable":!1,closable:!1,"transition-names":["",""],beforeClose:t.onClose,"class-name":`meeting-manager${t.meetingMini?" meeting-hidden":""}`,fullscreen:""},model:{value:t.meetingShow,callback:function(s){t.meetingShow=s},expression:"meetingShow"}},[e("ul",[t.localUser.uid?e("li",[e("MeetingPlayer",{attrs:{player:t.localUser,isLocal:""}})],1):t._e(),t._l(t.remoteUsers,function(s){return e("li",[e("MeetingPlayer",{attrs:{player:s}})],1)})],2),e("div",{staticClass:"adaption meeting-button-group",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary",loading:t.audioLoad},on:{click:t.onAudio}},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.audioTrack?"":"")}})]),e("Button",{attrs:{type:"primary",loading:t.videoLoad},on:{click:t.onVideo}},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.videoTrack?"":"")}})]),t.windowSmall?[e("Button",{attrs:{type:"primary"},on:{click:function(s){return t.onInvitation("open")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE646")])]),e("Button",{attrs:{type:"primary"},on:{click:function(s){t.meetingMini=!0}}},[e("i",{staticClass:"taskfont"},[t._v("\uE656")])]),e("Button",{attrs:{type:"warning",loading:t.loadIng>0},on:{click:t.onClose}},[e("i",{staticClass:"taskfont"},[t._v("\uE612")])])]:[e("Button",{attrs:{type:"primary"},on:{click:function(s){return t.onInvitation("open")}}},[t._v(t._s(t.$L("\u9080\u8BF7")))]),e("Button",{attrs:{type:"primary"},on:{click:function(s){t.meetingMini=!0}}},[t._v(t._s(t.$L("\u6700\u5C0F\u5316")))]),e("Button",{attrs:{type:"warning",loading:t.loadIng>0},on:{click:t.onClose}},[t._v(t._s(t.$L("\u79BB\u5F00\u4F1A\u8BAE")))])]],2)]),t.meetingMini?e("DragBallComponent",{attrs:{id:"meetingDragBall","z-index":3e3},on:{"on-click":function(s){t.meetingMini=!1}}},[e("div",{staticClass:"meeting-drag-ball"},[e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.audioTrack?"":"")}}),e("i",{staticClass:"taskfont",domProps:{innerHTML:t._s(t.localUser.videoTrack?"":"")}}),e("em",[t._v(t._s(t.$L("\u4F1A\u8BAE\u4E2D")))])])]):t._e(),e("Modal",{attrs:{title:t.$L("\u9080\u8BF7\u52A0\u5165"),"mask-closable":!1},model:{value:t.invitationShow,callback:function(s){t.invitationShow=s},expression:"invitationShow"}},[e("Form",{ref:"invitationForm",attrs:{model:t.invitationData,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{prop:"userids",label:t.$L("\u9080\u8BF7\u6210\u5458")}},[e("UserInput",{attrs:{"multiple-max":20,placeholder:t.$L("\u9009\u62E9\u9080\u8BF7\u6210\u5458")},model:{value:t.invitationData.userids,callback:function(s){t.$set(t.invitationData,"userids",s)},expression:"invitationData.userids"}})],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.invitationShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.invitationLoad},on:{click:function(s){return t.onInvitation("submit")}}},[t._v(t._s(t.$L("\u53D1\u9001\u9080\u8BF7")))])],1)],1)],1)},re=[];const le={name:"MeetingManager",components:{DragBallComponent:oe,MeetingPlayer:Zt,UserInput:v},data(){return{loadIng:0,subscribe:null,addShow:!1,addData:{userids:[],tracks:["audio"]},invitationShow:!1,invitationLoad:!1,invitationData:{userids:[]},meetingShow:!1,meetingMini:!1,audioLoad:!1,videoLoad:!1,agoraClient:null,remoteUsers:[],localUser:{uid:null,audioTrack:null,videoTrack:null}}},mounted(){this.subscribe=c.Store.subscribe("addMeeting",this.onAdd)},beforeDestroy(){this.subscribe&&(this.subscribe.unsubscribe(),this.subscribe=null)},watch:{meetingShow(t){t?$A.eeuiAppKeepScreenOn():$A.eeuiAppKeepScreenOff()}},methods:{onAdd(t){t=$A.isJson(t)?t:{},/^\d+$/.test(t.dialog_id)&&(this.loadIng++,this.$store.dispatch("call",{url:"dialog/user",data:{dialog_id:t.dialog_id}}).then(({data:a})=>{this.$set(this.addData,"userids",a.map(e=>e.userid))}).finally(a=>{this.loadIng--}),delete t.dialog_id),$A.isArray(t.userids)?t.userids.includes(this.userId)||t.userids.push(this.userId):t.userids=[this.userId],$A.isArray(t.tracks)?t.tracks.includes("audio")||t.tracks.push("audio"):t.tracks=["audio"],this.addData=t,this.addShow=!0},onSubmit(){this.$refs.addForm.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"users/meeting/open",data:this.addData}).then(({data:a})=>{this.$set(this.addData,"name",a.name),this.$set(this.addData,"meetingid",a.meetingid),this.$store.dispatch("saveDialogMsg",a.msgs),this.$store.dispatch("updateDialogLastMsg",a.msgs),delete a.name,delete a.msgs,$A.loadScript("js/AgoraRTC_N-4.17.0.js").then(e=>{this.join(a)}).catch(e=>{$A.modalError("\u4F1A\u8BAE\u7EC4\u4EF6\u52A0\u8F7D\u5931\u8D25\uFF01")}).finally(e=>{this.loadIng--})}).catch(({msg:a})=>{this.loadIng--,$A.modalError(a)}))})},onAudio(){this.localUser.audioTrack?this.closeAudio():this.openAudio()},onVideo(){this.localUser.videoTrack?this.closeVideo():this.openVideo()},onInvitation(t){t==="open"?(this.invitationData={userids:[],meetingid:this.addData.meetingid},this.invitationShow=!0):t==="submit"&&(this.invitationLoad=!0,this.$store.dispatch("call",{url:"users/meeting/invitation",data:this.invitationData}).then(({data:a,msg:e})=>{this.invitationShow=!1,this.$store.dispatch("saveDialogMsg",a.msgs),this.$store.dispatch("updateDialogLastMsg",a.msgs),$A.messageSuccess(e)}).catch(({msg:a})=>{$A.modalError(a)}).finally(a=>{this.invitationLoad=!1}))},onClose(){return new Promise(t=>{$A.modalConfirm({content:"\u786E\u5B9A\u8981\u79BB\u5F00\u4F1A\u8BAE\u5417\uFF1F",cancelText:"\u7EE7\u7EED",okText:"\u9000\u51FA",onOk:async a=>{await this.leave(),t()}})})},async join(t){this.loadIng++,AgoraRTC.onMicrophoneChanged=async e=>{if(e.state==="ACTIVE")this.localUser.audioTrack.setDevice(e.device.deviceId);else if(e.device.label===this.localUser.audioTrack.getTrackLabel()){const s=await AgoraRTC.getMicrophones();s[0]&&this.localUser.audioTrack.setDevice(s[0].deviceId)}},AgoraRTC.onCameraChanged=async e=>{if(e.state==="ACTIVE")this.localUser.videoTrack.setDevice(e.device.deviceId);else if(e.device.label===this.localUser.videoTrack.getTrackLabel()){const s=await AgoraRTC.getCameras();s[0]&&this.localUser.videoTrack.setDevice(s[0].deviceId)}},AgoraRTC.onAutoplayFailed=()=>{$A.messageWarning("\u70B9\u51FB\u5C4F\u5E55\u5F00\u59CB\u4F1A\u8BAE")},this.agoraClient=AgoraRTC.createClient({mode:"rtc",codec:"vp8"}),this.agoraClient.on("user-joined",this.handleUserJoined),this.agoraClient.on("user-left",this.handleUserLeft),this.agoraClient.on("user-published",this.handleUserPublished),this.agoraClient.on("user-unpublished",this.handleUserUnpublished);const a=[];this.localUser.uid=await this.agoraClient.join(t.appid,t.channel,t.token,t.uid),this.addData.tracks.includes("audio")&&a.push(this.localUser.audioTrack=await AgoraRTC.createMicrophoneAudioTrack()),this.addData.tracks.includes("video")&&a.push(this.localUser.videoTrack=await AgoraRTC.createCameraVideoTrack()),a.length>0&&await this.agoraClient.publish(a),this.loadIng--,this.addShow=!1,this.meetingShow=!0},async leave(){this.loadIng++,["audioTrack","videoTrack"].some(t=>{var a,e;(a=this.localUser[t])==null||a.stop(),(e=this.localUser[t])==null||e.close()}),this.localUser={uid:null,audioTrack:null,videoTrack:null},this.remoteUsers=[],await this.agoraClient.leave(),this.loadIng--,this.meetingShow=!1},async openAudio(){this.audioLoad||this.localUser.audioTrack||(this.audioLoad=!0,this.localUser.audioTrack=await AgoraRTC.createMicrophoneAudioTrack(),await this.agoraClient.publish([this.localUser.audioTrack]),this.audioLoad=!1)},async closeAudio(){this.audioLoad||!this.localUser.audioTrack||(this.audioLoad=!0,await this.agoraClient.unpublish([this.localUser.audioTrack]),this.localUser.audioTrack.stop(),this.localUser.audioTrack.close(),this.localUser.audioTrack=null,this.audioLoad=!1)},async openVideo(){this.videoLoad||this.localUser.videoTrack||(this.videoLoad=!0,this.localUser.videoTrack=await AgoraRTC.createCameraVideoTrack(),await this.agoraClient.publish([this.localUser.videoTrack]),this.videoLoad=!1)},async closeVideo(){this.videoLoad||!this.localUser.videoTrack||(this.videoLoad=!0,await this.agoraClient.unpublish([this.localUser.videoTrack]),this.localUser.videoTrack.stop(),this.localUser.videoTrack.close(),this.localUser.videoTrack=null,this.videoLoad=!1)},async handleUserJoined(t){const a=this.remoteUsers.findIndex(e=>e.uid==t.uid);a>-1?this.remoteUsers.splice(a,1,t):this.remoteUsers.push(t)},async handleUserLeft(t){const a=this.remoteUsers.findIndex(e=>e.uid==t.uid);a>-1&&this.remoteUsers.splice(a,1)},async handleUserPublished(t,a){this.remoteUsers.find(s=>s.uid==t.uid)&&await this.agoraClient.subscribe(t,a)},async handleUserUnpublished(t,a){this.remoteUsers.find(s=>s.uid==t.uid)&&await this.agoraClient.unsubscribe(t,a)}}},M={};var ce=n(le,ne,re,!1,de,null,null,null);function de(t){for(let a in M)this[a]=M[a]}var he=function(){return ce.exports}(),ue=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("Modal",{attrs:{value:t.visible,mask:!1,"mask-closable":!1,"footer-hide":!0,"transition-names":["mobile-dialog",""],beforeClose:t.onBeforeClose,"class-name":"dialog-modal",fullscreen:""}},[t.windowSmall&&t.dialogId>0?e("DialogWrapper",{attrs:{dialogId:t.dialogId,beforeBack:t.onBeforeClose}}):t._e()],1)},pe=[];const me={name:"DialogModal",components:{DialogWrapper:K},data(){return{timer:null}},computed:{...d(["dialogId"]),visible(){return this.dialogId>0&&this.windowSmall}},methods:{onBeforeClose(){return new Promise(t=>{this.$store.dispatch("openDialog",0)})}}},j={};var fe=n(me,ue,pe,!1,ge,null,null,null);function ge(t){for(let a in j)this[a]=j[a]}var ve=function(){return fe.exports}(),_e=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("Modal",{attrs:{value:t.show,styles:t.styles,"mask-closable":!1,"footer-hide":!0,beforeClose:t.onBeforeClose,"class-name":"task-modal"}},[e("TaskDetail",{ref:"taskDetail",attrs:{"task-id":t.taskId,"open-task":t.taskData,modalMode:""}})],1)},$e=[];const ke={name:"TaskModal",components:{TaskDetail:Y},computed:{...d(["taskId"]),...g(["taskData"]),show(){return this.taskId>0},styles(){return{width:"90%",maxWidth:this.taskData.dialog_id?"1200px":"700px"}}},methods:{onBeforeClose(){return new Promise(t=>{this.$store.dispatch("openTask",0)})},checkUpdate(){if(this.show)return this.$refs.taskDetail.checkUpdate(!0),!0}}},P={};var be=n(ke,_e,$e,!1,ye,null,null,null);function ye(t){for(let a in P)this[a]=P[a]}var we=function(){return be.exports}(),De=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("Modal",{attrs:{title:t.$L("\u5BFC\u51FA\u4EFB\u52A1\u7EDF\u8BA1"),"mask-closable":!1},model:{value:t.show,callback:function(s){t.show=s},expression:"show"}},[e("Form",{ref:"exportTask",attrs:{model:t.formData,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5BFC\u51FA\u6210\u5458")}},[e("UserInput",{attrs:{"multiple-max":100,placeholder:t.$L("\u8BF7\u9009\u62E9\u6210\u5458")},model:{value:t.formData.userid,callback:function(s){t.$set(t.formData,"userid",s)},expression:"formData.userid"}}),e("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6BCF\u6B21\u6700\u591A\u9009\u62E9\u5BFC\u51FA100\u4E2A\u6210\u5458")))])],1),e("FormItem",{attrs:{label:t.$L("\u65F6\u95F4\u8303\u56F4")}},[e("DatePicker",{staticStyle:{width:"100%"},attrs:{type:"daterange",format:"yyyy/MM/dd",placeholder:t.$L("\u8BF7\u9009\u62E9\u65F6\u95F4")},model:{value:t.formData.time,callback:function(s){t.$set(t.formData,"time",s)},expression:"formData.time"}}),e("div",{staticClass:"form-tip checkin-export-quick-select"},[e("span",[t._v(t._s(t.$L("\u5FEB\u6377\u9009\u62E9"))+":")]),e("em",{on:{click:function(s){t.formData.time=t.dateShortcuts("prev")}}},[t._v(t._s(t.$L("\u4E0A\u4E2A\u6708")))]),e("em",{on:{click:function(s){t.formData.time=t.dateShortcuts("this")}}},[t._v(t._s(t.$L("\u8FD9\u4E2A\u6708")))])])],1),e("FormItem",{attrs:{prop:"type",label:t.$L("\u5BFC\u51FA\u65F6\u95F4\u7C7B\u578B")}},[e("RadioGroup",{model:{value:t.formData.type,callback:function(s){t.$set(t.formData,"type",s)},expression:"formData.type"}},[e("Radio",{attrs:{label:"taskTime"}},[t._v(t._s(t.$L("\u4EFB\u52A1\u65F6\u95F4")))]),e("Radio",{attrs:{label:"createdTime"}},[t._v(t._s(t.$L("\u521B\u5EFA\u65F6\u95F4")))])],1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.show=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onExport}},[t._v(t._s(t.$L("\u5BFC\u51FA")))])],1)],1)},Le=[];const Te={name:"TaskExport",components:{UserInput:v},props:{value:{type:Boolean,default:!1}},data(){return{show:this.value,loadIng:0,formData:{userid:[],time:[],type:"taskTime"}}},watch:{value(t){this.show=t},show(t){this.value!==t&&this.$emit("input",t)}},methods:{dateShortcuts(t){if(t==="prev")return[$A.getSpecifyDate("\u4E0A\u4E2A\u6708"),$A.getSpecifyDate("\u4E0A\u4E2A\u6708\u7ED3\u675F")];if(t==="this")return[$A.getSpecifyDate("\u672C\u6708"),$A.getSpecifyDate("\u672C\u6708\u7ED3\u675F")]},onExport(){this.loadIng>0||(this.loadIng++,this.$store.dispatch("call",{url:"project/task/export",data:this.formData}).then(({data:t})=>{this.show=!1,this.$store.dispatch("downUrl",{url:t.url})}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.loadIng--}))}}},U={};var Ce=n(Te,De,Le,!1,xe,null,null,null);function xe(t){for(let a in U)this[a]=U[a]}var Se=function(){return Ce.exports}();const Ie=(t,a)=>!t||!a?!1:t==="String"?typeof a=="string":t==="Object"?Object.prototype.toString.call(a)==="[object Object]":t==="number"?typeof a=="number":t==="function"?Object.prototype.toString.call(a)==="[object Function]":!1,Ae=(t,a,e)=>t.findIndex(s=>s[a]===e);var l={checkData:Ie,searchArrObj:Ae};class Me{constructor(a="\u9ED8\u8BA4\u6807\u9898",e={}){this.title=a,this.options=e,this.support=!1,this.supportFn()}supportFn(){window.Notification?(this.initStatus(),this.support=!0):this.support=!1}initStatus(){this.notification=null,this.state=Notification.permission,this.msg=null,this.callBackObj={},this.notificationAll=[],this.requireInteractionTimeout=!1,this.timeout=null}initNotification(a){if(!!this.checkStatus("support")){if(!l.checkData("function",a))return console.error("initNotification\u7684\u53C2\u6570\u5FC5\u987B\u4E3A\u51FD\u6570");if(this.state==="granted")this.msg="already granted";else if(this.state==="default"){const e=s=>(this.state=s,s==="granted"?this.msg="granted":s==="default"?this.msg="close":this.msg="denied",a(this.msg));try{Notification.requestPermission().then(e)}catch{Notification.requestPermission(e)}}else this.msg="already denied";if(this.state!=="default")return a(this.msg)}}userAgreed(){if(!!this.checkStatus("userAgreed")){this.notification=new Notification(this.title,this.options),this.notificationWatch();for(const a in this.callBackObj)this.notification[a]=e=>{this.callBackObj[a](e)}}}notificationTimeoutFn(a){a&&l.checkData("number",a)?this.timeout=a:this.timeout=5e3}notificationWatch(){this.notificationAll.push(this.notification),this.notification.requireInteraction?this.everyTimeout():this.autoClose(),this.watchClose()}everyTimeout(){!l.checkData("number",this.timeout)||(this.options.timeOut&&l.checkData("number",this.options.timeOut)?this.timeoutCloseFn(this.options.timeOut):this.timeoutCloseFn(this.timeout))}timeoutCloseFn(a){const e=this.notification.timestamp;setTimeout(()=>{const s=l.searchArrObj(this.notificationAll,"timestamp",e);s!==-1&&this.notificationAll[s].close()},a)}watchClose(){const a=this.notification.timestamp;this.notification.addEventListener("close",e=>{const s=l.searchArrObj(this.notificationAll,"timestamp",a);s!==-1&&this.notificationAll.splice(s,1)})}autoClose(){const a=this.notification.timestamp;setTimeout(()=>{const e=l.searchArrObj(this.notificationAll,"timestamp",a);e!==-1&&this.notificationAll.splice(e,1)},6e3)}notificationEvent(a){if(!!this.checkStatus("support"))if(l.checkData("Object",a)){for(const e in a)if(!l.checkData("function",a[e]))return console.error("callObj\u5BF9\u8C61\u4E2D\u7684\u6BCF\u4E2Avalue\u5FC5\u987B\u4E3A\u51FD\u6570");this.callBackObj=a}else return console.error("callObj\u5FC5\u987B\u4E3A\u5BF9\u8C61")}closeAll(){for(let a of this.notificationAll.values())a.close();this.notificationAll=[]}close(){if(!this.notification)return console.warn("this.notification\u4E3Anull,\u901A\u77E5\u5C1A\u672A\u8C03\u7528/\u7528\u6237\u672A\u540C\u610F\u663E\u793A\u901A\u77E5");this.notification.close()}updateOptions(a){if(a&&l.checkData("Object",a))for(const e in a)this.options[e]=a[e];else console.warn("updateOptions\u53C2\u6570\u9519\u8BEF\uFF1Aoptions\u4E3A\u5FC5\u586B\u5BF9\u8C61")}replaceTitle(a){a&&l.checkData("String",a)?this.title=a:console.warn("replaceTitle: title(\u901A\u77E5\u6807\u9898)\u4E3A\u5FC5\u586B\u5B57\u7B26\u4E32")}replaceOptions(a){a&&l.checkData("Object",a)?this.options=a:console.warn("replaceOptions\u53C2\u6570\u9519\u8BEF\uFF1Aoptions\u4E3A\u5FC5\u586B\u5BF9\u8C61")}checkStatus(a){if(a==="support"){if(!this.support)return console.warn("\u7528\u6237\u6D4F\u89C8\u5668\u4E0D\u652F\u6301"),!1}else if(a==="userAgreed"&&(this.state!=="granted"||!this.checkStatus("support")))return!1;return!0}}var je=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.userId>0,expression:"userId > 0"}],staticClass:"page-manage",class:{"show-tabbar":t.showMobileTabbar}},[e("div",{staticClass:"manage-box-menu",class:{"show768-menu":t.show768Menu}},[e("Dropdown",{staticClass:"page-manage-menu-dropdown main-menu",attrs:{trigger:"click"},on:{"on-click":t.settingRoute,"on-visible-change":t.menuVisibleChange}},[e("div",{class:["manage-box-title",t.visibleMenu?"menu-visible":""]},[e("div",{staticClass:"manage-box-avatar"},[e("UserAvatar",{attrs:{userid:t.userId,size:36,tooltipDisabled:""}})],1),e("span",[t._v(t._s(t.userInfo.nickname))]),t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-box-top-report",attrs:{"overflow-count":999,count:t.reportUnreadNumber}}):t.clientNewVersion?e("Badge",{staticClass:"manage-box-top-report",attrs:{dot:""}}):t._e(),e("div",{staticClass:"manage-box-arrow"},[e("Icon",{attrs:{type:"ios-arrow-up"}}),e("Icon",{attrs:{type:"ios-arrow-down"}})],1)],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[t._l(t.menu,function(s){return[s.path==="taskBrowse"?e("Dropdown",{attrs:{transfer:"","transfer-class-name":"page-manage-menu-dropdown",placement:"right-start"}},[e("DropdownItem",{attrs:{divided:!!s.divided}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L(s.name))+" "),e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),t.taskBrowseLists.length>0?e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.taskBrowseLists,function(i,o){return i.id>0&&o<10?e("DropdownItem",{key:o,staticClass:"task-title",attrs:{name:i.name},nativeOn:{click:function(h){return t.openTask(i)}}},[i.flow_item_name?e("span",{class:i.flow_item_status},[t._v(t._s(i.flow_item_name))]):t._e(),e("div",{staticClass:"task-title-text"},[t._v(t._s(i.name))])]):t._e()}),1):e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{staticStyle:{color:"darkgrey"}},[t._v(t._s(t.$L("\u6682\u65E0\u6253\u5F00\u8BB0\u5F55")))])],1)],1):s.path==="team"?e("Dropdown",{attrs:{transfer:"","transfer-class-name":"page-manage-menu-dropdown",placement:"right-start"}},[e("DropdownItem",{attrs:{divided:!!s.divided}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L(s.name))+" "),t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{"overflow-count":999,count:t.reportUnreadNumber}}):e("Icon",{attrs:{type:"ios-arrow-forward"}})],1)]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"allUser"}},[t._v(t._s(t.$L("\u56E2\u961F\u7BA1\u7406")))]),e("DropdownItem",{attrs:{name:"workReport"}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L("\u5DE5\u4F5C\u62A5\u544A"))+" "),t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{"overflow-count":999,count:t.reportUnreadNumber}}):t._e()],1)]),e("DropdownItem",{attrs:{name:"exportTask"}},[t._v(t._s(t.$L("\u5BFC\u51FA\u4EFB\u52A1\u7EDF\u8BA1")))]),e("DropdownItem",{attrs:{name:"exportOverdueTask"}},[t._v(t._s(t.$L("\u5BFC\u51FA\u8D85\u671F\u4EFB\u52A1")))]),e("DropdownItem",{attrs:{name:"exportCheckin"}},[t._v(t._s(t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E")))])],1)],1):s.visible!==!1?e("DropdownItem",{style:s.style||{},attrs:{divided:!!s.divided,name:s.path}},[e("div",{staticClass:"manage-menu-flex"},[t._v(" "+t._s(t.$L(s.name))+" "),s.path==="version"?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{text:t.clientNewVersion}}):s.path==="workReport"&&t.reportUnreadNumber>0?e("Badge",{staticClass:"manage-menu-report-badge",attrs:{count:t.reportUnreadNumber}}):t._e()],1)]):t._e()]})],2)],1),e("ul",{class:t.listClassName,on:{scroll:function(s){t.operateVisible=!1}}},[e("li",{class:t.classNameRoute("dashboard"),on:{click:function(s){return t.toggleRoute("dashboard")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6FB")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u4EEA\u8868\u76D8")))]),t.dashboardTask.overdue_count>0?e("Badge",{staticClass:"menu-badge",attrs:{type:"error","overflow-count":999,count:t.dashboardTask.overdue_count}}):t.dashboardTask.today_count>0?e("Badge",{staticClass:"menu-badge",attrs:{type:"info","overflow-count":999,count:t.dashboardTask.today_count}}):t.dashboardTask.all_count>0?e("Badge",{staticClass:"menu-badge",attrs:{type:"primary","overflow-count":999,count:t.dashboardTask.all_count}}):t._e()],1),e("li",{class:t.classNameRoute("calendar"),on:{click:function(s){return t.toggleRoute("calendar")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F5")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u65E5\u5386")))])]),e("li",{class:t.classNameRoute("messenger"),on:{click:function(s){return t.toggleRoute("messenger")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6EB")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u6D88\u606F")))]),e("Badge",{staticClass:"menu-badge",attrs:{"overflow-count":999,text:t.msgUnreadMention}})],1),e("li",{class:t.classNameRoute("file"),on:{click:function(s){return t.toggleRoute("file")}}},[e("i",{staticClass:"taskfont"},[t._v("\uE6F3")]),e("div",{staticClass:"menu-title"},[t._v(t._s(t.$L("\u6587\u4EF6")))])]),e("li",{ref:"menuProject",staticClass:"menu-project"},[e("ul",{class:t.listClassName,on:{scroll:function(s){t.operateVisible=!1}}},[t._l(t.projectLists,function(s,i){return e("li",{directives:[{name:"longpress",rawName:"v-longpress",value:t.handleLongpress,expression:"handleLongpress"}],key:i,ref:`project_${s.id}`,refInFor:!0,class:t.classNameProject(s),attrs:{"data-id":s.id},on:{click:function(o){return t.toggleRoute("project",{projectId:s.id})}}},[e("div",{staticClass:"project-h1"},[e("em",{on:{click:function(o){return o.stopPropagation(),t.toggleOpenMenu(s.id)}}}),e("div",{staticClass:"title"},[t._v(t._s(s.name))]),s.top_at?e("div",{staticClass:"icon-top"}):t._e(),s.task_my_num-s.task_my_complete>0?e("div",{staticClass:"num"},[t._v(t._s(s.task_my_num-s.task_my_complete))]):t._e()]),e("div",{staticClass:"project-h2"},[e("p",[e("em",[t._v(t._s(t.$L("\u6211\u7684"))+":")]),e("span",[t._v(t._s(s.task_my_complete)+"/"+t._s(s.task_my_num))]),e("Progress",{attrs:{percent:s.task_my_percent,"stroke-width":6}})],1),e("p",[e("em",[t._v(t._s(t.$L("\u5168\u90E8"))+":")]),e("span",[t._v(t._s(s.task_complete)+"/"+t._s(s.task_num))]),e("Progress",{attrs:{percent:s.task_percent,"stroke-width":6}})],1)])])}),t.projectKeyLoading>0?e("li",{staticClass:"loading"},[e("Loading")],1):t._e()],2)])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.operateVisible,expression:"operateVisible"}],staticClass:"operate-position",style:t.operateStyles},[e("Dropdown",{attrs:{trigger:"custom",placement:t.windowLarge?"bottom":"top",visible:t.operateVisible,transfer:""},on:{"on-clickoutside":function(s){t.operateVisible=!1}}},[e("div",{style:{userSelect:t.operateVisible?"none":"auto",height:t.operateStyles.height}}),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{nativeOn:{click:function(s){return t.handleTopClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.operateItem.top_at?"\u53D6\u6D88\u7F6E\u9876":"\u7F6E\u9876\u8BE5\u9879\u76EE"))+" ")])],1)],1)],1),(t.projectSearchShow||t.projectTotal>20)&&t.windowHeight>600?e("div",{staticClass:"manage-project-search"},[e("Input",{attrs:{placeholder:t.$L(`\u5171${t.projectTotal||t.cacheProjects.length}\u4E2A\u9879\u76EE\uFF0C\u641C\u7D22...`),clearable:""},model:{value:t.projectKeyValue,callback:function(s){t.projectKeyValue=s},expression:"projectKeyValue"}},[e("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[t.projectKeyLoading>0?e("Loading"):e("Icon",{attrs:{type:"ios-search"}})],1)])],1):t._e(),e("ButtonGroup",{staticClass:"manage-box-new-group"},[e("Button",{staticClass:"manage-box-new",attrs:{type:"primary",icon:"md-add"},on:{click:t.onAddShow}},[t._v(t._s(t.$L("\u65B0\u5EFA\u9879\u76EE")))]),e("Dropdown",{attrs:{trigger:"click"},on:{"on-click":t.onAddMenu}},[e("Button",{attrs:{type:"primary"}},[e("Icon",{attrs:{type:"ios-arrow-down"}})],1),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"task"}},[t._v(t._s(t.$L("\u65B0\u5EFA\u4EFB\u52A1"))+" ("+t._s(t.mateName)+"+K)")]),e("DropdownItem",{attrs:{name:"createMeeting"}},[t._v(t._s(t.$L("\u65B0\u4F1A\u8BAE"))+" ("+t._s(t.mateName)+"+J)")]),e("DropdownItem",{attrs:{name:"joinMeeting"}},[t._v(t._s(t.$L("\u52A0\u5165\u4F1A\u8BAE")))])],1)],1)],1)],1),e("div",{staticClass:"manage-box-main"},[e("keep-alive",[e("router-view",{staticClass:"manage-box-view"})],1)],1),e("Modal",{attrs:{title:t.$L("\u65B0\u5EFA\u9879\u76EE"),"mask-closable":!1},model:{value:t.addShow,callback:function(s){t.addShow=s},expression:"addShow"}},[e("Form",{ref:"addProject",attrs:{model:t.addData,rules:t.addRule,"label-width":"auto"},nativeOn:{submit:function(s){s.preventDefault()}}},[e("FormItem",{attrs:{prop:"name",label:t.$L("\u9879\u76EE\u540D\u79F0")}},[e("Input",{ref:"projectName",attrs:{type:"text"},model:{value:t.addData.name,callback:function(s){t.$set(t.addData,"name",s)},expression:"addData.name"}})],1),t.addData.columns?e("FormItem",{attrs:{label:t.$L("\u4EFB\u52A1\u5217\u8868")}},[e("TagInput",{model:{value:t.addData.columns,callback:function(s){t.$set(t.addData,"columns",s)},expression:"addData.columns"}})],1):e("FormItem",{attrs:{label:t.$L("\u9879\u76EE\u6A21\u677F")}},[e("Select",{attrs:{value:0,placeholder:t.$L("\u8BF7\u9009\u62E9\u6A21\u677F")},on:{"on-change":t.selectChange}},t._l(t.columns,function(s,i){return e("Option",{key:i,attrs:{value:i}},[t._v(t._s(s.name))])}),1)],1),e("FormItem",{attrs:{prop:"flow",label:t.$L("\u5F00\u542F\u5DE5\u4F5C\u6D41")}},[e("RadioGroup",{model:{value:t.addData.flow,callback:function(s){t.$set(t.addData,"flow",s)},expression:"addData.flow"}},[e("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),e("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1)],1)],1),e("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"default"},on:{click:function(s){t.addShow=!1}}},[t._v(t._s(t.$L("\u53D6\u6D88")))]),e("Button",{attrs:{type:"primary",loading:t.loadIng>0},on:{click:t.onAddProject}},[t._v(t._s(t.$L("\u6DFB\u52A0")))])],1)],1),e("Modal",{attrs:{"mask-closable":!1,styles:{width:"90%",maxWidth:"640px"},"footer-hide":""},model:{value:t.addTaskShow,callback:function(s){t.addTaskShow=s},expression:"addTaskShow"}},[e("TaskAdd",{ref:"addTask",model:{value:t.addTaskShow,callback:function(s){t.addTaskShow=s},expression:"addTaskShow"}})],1),e("TaskExport",{model:{value:t.exportTaskShow,callback:function(s){t.exportTaskShow=s},expression:"exportTaskShow"}}),e("CheckinExport",{model:{value:t.exportCheckinShow,callback:function(s){t.exportCheckinShow=s},expression:"exportCheckinShow"}}),e("TaskModal",{ref:"taskModal"}),e("DialogModal",{ref:"dialogModal"}),e("DrawerOverlay",{attrs:{placement:"right",size:1200},model:{value:t.workReportShow,callback:function(s){t.workReportShow=s},expression:"workReportShow"}},[t.workReportShow?e("Report",{attrs:{reportType:t.reportTabs},on:{"on-read":function(s){return t.$store.dispatch("getReportUnread",1e3)}}}):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1380},model:{value:t.allUserShow,callback:function(s){t.allUserShow=s},expression:"allUserShow"}},[t.allUserShow?e("TeamManagement"):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1200},model:{value:t.allProjectShow,callback:function(s){t.allProjectShow=s},expression:"allProjectShow"}},[t.allProjectShow?e("ProjectManagement"):t._e()],1),e("DrawerOverlay",{attrs:{placement:"right",size:1200},model:{value:t.archivedProjectShow,callback:function(s){t.archivedProjectShow=s},expression:"archivedProjectShow"}},[t.archivedProjectShow?e("ProjectArchived"):t._e()],1),e("MeetingManager"),e("transition",{attrs:{name:"mobile-slide"}},[t.showMobileTabbar?e("MobileTabbar",{on:{"on-click":t.onTabbarClick}}):t._e()],1),e("MobileBack",{attrs:{showTabbar:t.showMobileTabbar}}),e("MobileNotification",{ref:"mobileNotification"})],1)},Pe=[];const Ue={components:{TaskExport:Se,CheckinExport:O,TaskModal:we,DialogModal:ve,MeetingManager:he,MobileNotification:Yt,MobileBack:zt,MobileTabbar:ht,TaskAdd:vt,Report:Ut,DrawerOverlay:E,ProjectManagement:ot,TeamManagement:z,ProjectArchived:Z},directives:{longpress:V},data(){return{loadIng:0,mateName:/macintosh|mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl",addShow:!1,addData:{name:"",columns:"",flow:"open"},addRule:{name:[{required:!0,message:this.$L("\u8BF7\u586B\u5199\u9879\u76EE\u540D\u79F0\uFF01"),trigger:"change"},{type:"string",min:2,message:this.$L("\u9879\u76EE\u540D\u79F0\u81F3\u5C112\u4E2A\u5B57\uFF01"),trigger:"change"}]},addTaskShow:!1,addTaskSubscribe:null,exportTaskShow:!1,exportCheckinShow:!1,dialogMsgSubscribe:null,projectKeyValue:"",projectKeyLoading:0,projectSearchShow:!1,openMenu:{},visibleMenu:!1,show768Menu:!1,workReportShow:!1,allUserShow:!1,allProjectShow:!1,archivedProjectShow:!1,natificationReady:!1,notificationManage:null,reportTabs:"my",operateStyles:{},operateVisible:!1,operateItem:{},needStartHome:!1}},mounted(){this.notificationInit(),this.addTaskSubscribe=c.Store.subscribe("addTask",this.onAddTask),this.dialogMsgSubscribe=c.Store.subscribe("dialogMsgPush",this.addDialogMsg),document.addEventListener("keydown",this.shortcutEvent)},activated(){this.$store.dispatch("getUserInfo").catch(t=>{}),this.$store.dispatch("getTaskPriority").catch(t=>{}),this.$store.dispatch("getReportUnread",0),this.$store.dispatch("needHome").then(t=>{this.needStartHome=!0}).catch(t=>{this.needStartHome=!1})},beforeDestroy(){this.addTaskSubscribe&&(this.addTaskSubscribe.unsubscribe(),this.addTaskSubscribe=null),this.dialogMsgSubscribe&&(this.dialogMsgSubscribe.unsubscribe(),this.dialogMsgSubscribe=null),document.removeEventListener("keydown",this.shortcutEvent)},deactivated(){this.addShow=!1},computed:{...d(["userInfo","userIsAdmin","cacheUserBasic","cacheTasks","cacheDialogs","cacheProjects","projectTotal","wsOpenNum","columnTemplate","wsMsg","clientNewVersion","cacheTaskBrowse","dialogIns","reportUnreadNumber"]),...g(["dashboardTask"]),routeName(){return this.$route.name},msgUnreadMention(){let t=0,a=0;this.cacheDialogs.some(s=>{t+=$A.getDialogUnread(s,!1),a+=$A.getDialogMention(s)}),t>999&&(t="999+"),a>999&&(a="999+");const e=this.msgTodoTotal;return e?a?`@${a}\xB7${e}`:t?`${t}\xB7${e}`:e:t?a?`${t}\xB7@${a}`:String(t):a?`@${a}`:""},msgAllUnread(){let t=0;return this.cacheDialogs.some(a=>{t+=$A.getDialogNum(a)}),t},msgTodoTotal(){let t=this.cacheDialogs.reduce((a,e)=>a+(e.todo_num||0),0);return t>0?(t>99?t="99+":t===1&&(t=""),`${this.$L("\u5F85\u529E")}${t}`):null},unreadAndOverdue(){return this.userId>0?this.msgAllUnread+this.dashboardTask.overdue_count:0},menu(){const{userIsAdmin:t,needStartHome:a}=this,e=[{path:"taskBrowse",name:"\u6700\u8FD1\u6253\u5F00\u7684\u4EFB\u52A1"}];return t?e.push({path:"personal",name:"\u4E2A\u4EBA\u8BBE\u7F6E",divided:!0},{path:"system",name:"\u7CFB\u7EDF\u8BBE\u7F6E"},{path:"license",name:"License Key"},{path:"version",name:"\u66F4\u65B0\u7248\u672C",divided:!0,visible:!!this.clientNewVersion},{path:"allProject",name:"\u6240\u6709\u9879\u76EE",divided:!0},{path:"archivedProject",name:"\u5DF2\u5F52\u6863\u7684\u9879\u76EE"},{path:"team",name:"\u56E2\u961F\u7BA1\u7406",divided:!0}):e.push({path:"personal",name:"\u4E2A\u4EBA\u8BBE\u7F6E",divided:!0},{path:"version",name:"\u66F4\u65B0\u7248\u672C",divided:!0,visible:!!this.clientNewVersion},{path:"workReport",name:"\u5DE5\u4F5C\u62A5\u544A",divided:!0},{path:"archivedProject",name:"\u5DF2\u5F52\u6863\u7684\u9879\u76EE"}),a?e.push({path:"goHome",name:"\u6253\u5F00\u9996\u9875",divided:!0},{path:"clearCache",name:"\u6E05\u9664\u7F13\u5B58"},{path:"logout",name:"\u9000\u51FA\u767B\u5F55",style:{color:"#f40"}}):e.push({path:"clearCache",name:"\u6E05\u9664\u7F13\u5B58",divided:!0},{path:"logout",name:"\u9000\u51FA\u767B\u5F55",style:{color:"#f40"}}),e},columns(){const t=$A.cloneJSON(this.columnTemplate);return t.unshift({name:this.$L("\u7A7A\u767D\u6A21\u677F"),columns:[]}),t},projectLists(){const{projectKeyValue:t,cacheProjects:a}=this,e=$A.cloneJSON(a).sort((s,i)=>s.top_at||i.top_at?$A.Date(i.top_at)-$A.Date(s.top_at):i.id-s.id);return t?e.filter(s=>$A.strExists(`${s.name} ${s.desc}`,t)):e},listClassName(){return{"scrollbar-overlay":!0,"scrollbar-hidden":this.operateVisible===!0}},taskBrowseLists(){const{cacheTasks:t,cacheTaskBrowse:a,userId:e}=this;return a.filter(({userid:s})=>s===e).map(({id:s})=>t.find(i=>i.id===s)||{})},showMobileTabbar(){return this.routeName==="manage-project"&&!/^\d+$/.test(this.$route.params.projectId)?!0:["manage-dashboard","manage-calendar","manage-messenger","manage-file","manage-setting"].includes(this.routeName)}},watch:{$route(){this.chackPass()},userInfo(){this.chackPass()},projectKeyValue(t){t!=""&&setTimeout(()=>{this.projectKeyValue==t&&this.searchProject()},600)},wsOpenNum(t){t<=1||this.$store.dispatch("getBasicData",600)},workReportShow(t){t&&this.$store.dispatch("getReportUnread",0)},"cacheProjects.length":{handler(){this.$nextTick(t=>{const a=this.$refs.menuProject,e=$A.last($A.getObject(a,"children.0.children"));if(e){const s=e.getBoundingClientRect(),i=a.getBoundingClientRect();if(s.top>i.top+i.height){this.projectSearchShow=!0;return}}this.projectSearchShow=!1})},immediate:!0},unreadAndOverdue:{handler(t){this.$Electron&&this.$Electron.sendMessage("setDockBadge",t)},immediate:!0},wsMsg:{handler(t){const{type:a,action:e}=t;switch(a){case"report":e=="unreadUpdate"&&this.$store.dispatch("getReportUnread",1e3);break}},deep:!0}},methods:{chackPass(){this.userInfo.changepass===1&&this.goForward({name:"manage-setting-password"})},async toggleRoute(t,a){this.show768Menu=!1;let e={name:"manage-"+t,params:a||{}},s=await $A.IDBInt("fileFolderId");t==="file"&&s>0&&(e.params.folderId=s),this.goForward(e)},toggleOpenMenu(t){this.$set(this.openMenu,t,!this.openMenu[t])},settingRoute(t){switch(t){case"allUser":this.allUserShow=!0;return;case"allProject":this.allProjectShow=!0;return;case"archivedProject":this.archivedProjectShow=!0;return;case"exportTask":this.exportTaskShow=!0;return;case"exportOverdueTask":this.exportOverdueTask();return;case"exportCheckin":this.exportCheckinShow=!0;return;case"workReport":this.reportUnreadNumber>0&&(this.reportTabs="receive"),this.workReportShow=!0;return;case"version":c.Store.set("updateNotification",null);return;case"clearCache":$A.IDBSet("clearCache","handle").then(a=>{$A.reloadUrl()});return;case"goHome":this.needStartHome&&this.goForward("index");return;case"logout":$A.modalConfirm({title:"\u9000\u51FA\u767B\u5F55",content:"\u4F60\u786E\u5B9A\u8981\u767B\u51FA\u7CFB\u7EDF\uFF1F",onOk:()=>{this.$store.dispatch("logout",!1)}});return}this.menu.findIndex(a=>a.path==t)>-1&&this.toggleRoute("setting-"+t)},exportOverdueTask(){$A.modalConfirm({title:"\u5BFC\u51FA\u4EFB\u52A1",content:"\u4F60\u786E\u5B9A\u8981\u5BFC\u51FA\u6240\u6709\u8D85\u671F\u4EFB\u52A1\u5417\uFF1F",loading:!0,onOk:()=>new Promise((t,a)=>{this.$store.dispatch("call",{url:"project/task/exportoverdue"}).then(({data:e})=>{t(),this.$store.dispatch("downUrl",{url:e.url})}).catch(({msg:e})=>{a(e)})})})},menuVisibleChange(t){this.visibleMenu=t},classNameRoute(t){return{active:this.routeName===`manage-${t}`}},classNameProject(t){return{active:this.routeName==="manage-project"&&this.$route.params.projectId==t.id,"open-menu":this.openMenu[t.id]===!0,operate:t.id==this.operateItem.id&&this.operateVisible}},onAddMenu(t){switch(t){case"task":this.onAddTask(0);break;case"createMeeting":c.Store.set("addMeeting",{type:"create",userids:[this.userId]});break;case"joinMeeting":c.Store.set("addMeeting",{type:"join"});break}},onAddShow(){this.$store.dispatch("getColumnTemplate").catch(()=>{}),this.addShow=!0,this.$nextTick(()=>{this.$refs.projectName.focus()})},onAddProject(){this.$refs.addProject.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"project/add",data:this.addData}).then(({data:a,msg:e})=>{$A.messageSuccess(e),this.addShow=!1,this.$refs.addProject.resetFields(),this.$store.dispatch("saveProject",a),this.toggleRoute("project",{projectId:a.id})}).catch(({msg:a})=>{$A.modalError(a)}).finally(a=>{this.loadIng--}))})},searchProject(){setTimeout(()=>{this.projectKeyLoading++},1e3),this.$store.dispatch("getProjects",{keys:{name:this.projectKeyValue}}).finally(t=>{this.projectKeyLoading--})},selectChange(t){this.$nextTick(()=>{this.$set(this.addData,"columns",this.columns[t].columns.join(","))})},shortcutEvent(t){(t.metaKey||t.ctrlKey)&&(t.keyCode===74?(t.preventDefault(),this.onAddMenu("createMeeting")):t.keyCode===75||t.keyCode===78?(t.preventDefault(),this.onAddMenu("task")):t.keyCode===83&&this.$refs.taskModal.checkUpdate()&&t.preventDefault())},onAddTask(t){this.addTaskShow=!0,this.$nextTick(a=>{let e={owner:[this.userId]};$A.isJson(t)?e=t:/^[1-9]\d*$/.test(t)&&(e.column_id=t),this.$refs.addTask.setData(e)})},openTask(t){this.$store.dispatch("openTask",t)},addDialogMsg(t){var k;if(!this.natificationReady&&!this.$isEEUiApp||this.windowActive&&t.dialog_id===((k=$A.last(this.dialogIns))==null?void 0:k.dialog_id))return;const{id:a,dialog_id:e,dialog_type:s,type:i,msg:o,userid:h}=t;if(h==this.userId)return;let u;switch(i){case"text":u=$A.getMsgTextPreview(o.text);break;case"file":u="["+this.$L(o.type=="img"?"\u56FE\u7247\u4FE1\u606F":"\u6587\u4EF6\u4FE1\u606F")+"]";break;default:return}this.__notificationId=a;const _=r=>{if(s==="group"){let p=this.cacheUserBasic.find(f=>f.userid==h);p?m(`${r} (${p.nickname})`):this.$store.dispatch("call",{url:"users/basic",data:{userid:[h]},skipAuthError:!0}).then(({data:f})=>{p=f.find(B=>B.userid==h),p&&m(`${r} (${p.nickname})`)}).catch(f=>{m(r)})}else m(r)},m=r=>{this.__notificationId===a&&(this.$isEEUiApp?this.$refs.mobileNotification.open({userid:h,title:r,desc:u,callback:()=>{this.goForward({name:"manage-messenger"}),this.$store.dispatch("openDialog",e)}}):this.$Electron?this.$Electron.sendMessage("openNotification",{icon:$A.originUrl("images/logo.png"),title:r,body:u,data:t,tag:"dialog",hasReply:!0,replyPlaceholder:this.$L("\u56DE\u590D\u6D88\u606F")}):(this.notificationManage.replaceOptions({icon:$A.originUrl("images/logo.png"),body:u,data:t,tag:"dialog"}),this.notificationManage.replaceTitle(r),this.notificationManage.userAgreed()))},$=this.cacheDialogs.find(r=>r.id==e);$?_($.name):this.$store.dispatch("getDialogOne",e).then(({data:r})=>_(r.name)).catch(()=>{})},handleLongpress(t,a){const e=$A.getAttr(a,"data-id"),s=this.projectLists.find(i=>i.id==e);!s||(this.operateVisible=!1,this.operateItem=$A.isJson(s)?s:{},this.$nextTick(()=>{const i=a.getBoundingClientRect(),o=this.$refs.menuProject.getBoundingClientRect();this.operateStyles={left:`${t.clientX-o.left}px`,top:`${i.top+this.windowScrollY}px`,height:i.height+"px"},this.operateVisible=!0}))},handleTopClick(){this.$store.dispatch("call",{url:"project/top",data:{project_id:this.operateItem.id}}).then(({data:t})=>{this.$store.dispatch("saveProject",t),this.$nextTick(()=>{const a=this.$refs.menuProject.querySelector(".active");a&&$A.scrollIntoViewIfNeeded(a)})}).catch(({msg:t})=>{$A.modalError(t)})},onTabbarClick(t){switch(t){case"addTask":this.onAddTask(0);break;case"addProject":this.onAddShow();break}},notificationInit(){this.notificationManage=new Me(this.$L("\u6253\u5F00\u901A\u77E5\u6210\u529F")),this.notificationManage.support&&(this.notificationManage.notificationEvent({onclick:({target:t})=>{console.log("[Notification] A Click",t),this.notificationManage.close(),this.notificationClick(t),window.focus()}}),this.notificationPermission()),this.$Electron&&(this.$Electron.registerMsgListener("clickNotification",t=>{console.log("[Notification] B Click",t),this.$Electron.sendMessage("mainWindowActive"),this.notificationClick(t)}),this.$Electron.registerMsgListener("replyNotification",t=>{console.log("[Notification] B Reply",t),this.notificationReply(t)}))},notificationPermission(){const t=a=>{switch(a){case"already granted":case"granted":return this.natificationReady=!0;case"close":return this.notificationManage.initNotification(t);case"denied":case"already denied":console.log(a==="denied"?"\u60A8\u521A\u521A\u62D2\u7EDD\u663E\u793A\u901A\u77E5 \u8BF7\u5728\u8BBE\u7F6E\u4E2D\u66F4\u6539\u8BBE\u7F6E":"\u60A8\u66FE\u7EA7\u62D2\u7EDD\u663E\u793A\u901A\u77E5 \u8BF7\u5728\u8BBE\u7F6E\u4E2D\u66F4\u6539\u8BBE\u7F6E");break}};this.notificationManage.initNotification(t)},notificationClick(t){const{tag:a,data:e}=t;if(a=="dialog"){if(!$A.isJson(e))return;this.goForward({name:"manage-messenger"}),this.$nextTick(s=>{this.$store.dispatch("openDialog",e.dialog_id)})}},notificationReply(t){const{tag:a,data:e,reply:s}=t;a=="dialog"&&s&&this.$store.dispatch("call",{url:"dialog/msg/sendtext",data:{dialog_id:e.dialog_id,text:s},method:"post"}).then(({data:i})=>{this.$store.dispatch("saveDialogMsg",i),this.$store.dispatch("increaseTaskMsgNum",i),this.$store.dispatch("increaseMsgReplyNum",i),this.$store.dispatch("updateDialogLastMsg",i)}).catch(({msg:i})=>{$A.modalError(i)})}}},R={};var Re=n(Ue,je,Pe,!1,Ee,null,null,null);function Ee(t){for(let a in R)this[a]=R[a]}var Ge=function(){return Re.exports}();export{Ge as default}; diff --git a/public/js/build/messenger.794ab91e.js b/public/js/build/messenger.fe5c226c.js similarity index 98% rename from public/js/build/messenger.794ab91e.js rename to public/js/build/messenger.fe5c226c.js index e26fa4af9..095270584 100644 --- a/public/js/build/messenger.794ab91e.js +++ b/public/js/build/messenger.fe5c226c.js @@ -1 +1 @@ -import{n as h,d as p,m as f}from"./app.bd09c684.js";import{D as g}from"./DialogWrapper.1815cab6.js";import{l as m}from"./DialogSelect.c9796cea.js";import"./UserInput.d6d4081e.js";import"./index.f03606a8.js";import"./ImgUpload.6e9513da.js";var _=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{ref:"scrollerView",staticClass:"app-scroller-y",class:[t.static?"static":""]},[t._t("default"),e("div",{ref:"bottom",staticClass:"app-scroller-bottom"})],2)},v=[];const $={name:"ScrollerY",props:{static:{type:Boolean,default:!1},autoBottom:{type:Boolean,default:!1},autoRecovery:{type:Boolean,default:!0},autoRecoveryAnimate:{type:Boolean,default:!1}},data(){return{scrollY:0,scrollDiff:0,autoInterval:null}},mounted(){this.openInterval(),this.$nextTick(this.initScroll)},activated(){this.openInterval(),this.recoveryScroll()},destroyed(){this.closeInterval()},deactivated(){this.closeInterval()},methods:{initScroll(){this.autoToBottom();let t=typeof this.$listeners["on-scroll"]=="function",i=$A(this.$refs.scrollerView);i.scroll(()=>{let e=Math.round(i.innerHeight()),s=i.scrollTop(),a=this.$refs.scrollerView.scrollHeight;if(this.scrollY=s,t){let o="static",r="static";this.scrollDiff-s>50?(this.scrollDiff=s,o="down"):this.scrollDiff-s<-100&&(this.scrollDiff=s,o="up"),this.scrollDiff-s>1?(this.scrollDiff=s,r="down"):this.scrollDiff-s<-1&&(this.scrollDiff=s,r="up"),this.$emit("on-scroll",{scale:s/(a-e),scrollY:s,scrollE:a-e-s,direction:o,directionreal:r})}})},recoveryScroll(){this.autoRecovery&&(this.scrollY>0||this.autoBottom)&&this.$nextTick(()=>{this.autoBottom?this.autoToBottom():this.scrollTo(this.scrollY,this.autoRecoveryAnimate)})},openInterval(){this.autoToBottom(),this.autoInterval&&clearInterval(this.autoInterval),this.autoInterval=setInterval(this.autoToBottom,300)},closeInterval(){clearInterval(this.autoInterval),this.autoInterval=null},scrollTo(t,i){i===!1?$A(this.$refs.scrollerView).stop().scrollTop(t):$A(this.$refs.scrollerView).stop().animate({scrollTop:t})},autoToBottom(){this.autoBottom&&$A.scrollToView(this.$refs.bottom,{behavior:"instant",inline:"end"})},scrollInfo(){let t=$A(this.$refs.scrollerView),i=Math.round(t.innerHeight()),e=t.scrollTop(),s=this.$refs.scrollerView.scrollHeight;return this.scrollY=e,{scale:e/(s-i),scrollY:e,scrollE:s-i-e}},querySelector(t){return this.$refs.scrollerView&&this.$refs.scrollerView.querySelector(t)}}},c={};var y=h($,_,v,!1,A,null,null,null);function A(t){for(let i in c)this[i]=c[i]}var D=function(){return y.exports}(),b=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"page-messenger"},[e("PageTitle",{attrs:{title:t.$L(t.tabActive==="dialog"?"\u6D88\u606F":"\u901A\u8BAF\u5F55")}}),e("div",{staticClass:"messenger-wrapper"},[e("div",{staticClass:"messenger-select"},[e("div",{staticClass:"messenger-search"},[e("div",{staticClass:"search-wrapper"},[t.tabActive==="dialog"?e("Input",{attrs:{placeholder:t.$L(t.loadDialogs?"\u66F4\u65B0\u4E2D...":"\u641C\u7D22\u6D88\u606F"),clearable:""},model:{value:t.dialogSearchKey,callback:function(s){t.dialogSearchKey=s},expression:"dialogSearchKey"}},[e("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[t.loadDialogs||t.dialogSearchLoad>0?e("Loading"):e("Icon",{attrs:{type:"ios-search"}})],1)]):e("Input",{attrs:{prefix:"ios-search",placeholder:t.$L("\u641C\u7D22\u8054\u7CFB\u4EBA"),clearable:""},model:{value:t.contactsKey,callback:function(s){t.contactsKey=s},expression:"contactsKey"}})],1)]),t.tabActive==="dialog"&&!t.dialogSearchKey?e("div",{staticClass:"messenger-nav"},[e("EDropdown",{ref:"navMenu",staticClass:"nav-menu",attrs:{trigger:"click",placement:"bottom-start"},on:{command:t.onActive}},[e("div",{staticClass:"nav-icon"},[e("i",{staticClass:"taskfont"},[t._v("\uE634")])]),e("EDropdownMenu",{staticClass:"messenger-nav-menu",attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.dialogMenus,function(s,a){return e("EDropdownItem",{key:a,attrs:{command:s.type}},[e("div",{staticClass:"messenger-nav-item",class:{active:t.dialogActive==s.type}},[e("div",{staticClass:"nav-title"},[t._v(t._s(t.$L(s.name)))]),e("Badge",{staticClass:"nav-num",attrs:{"overflow-count":999,count:t.msgUnread(s.type)}})],1)])}),1)],1),t._l(t.typeItems,function(s,a){return e("div",{key:a,class:{active:t.dialogActive==s.type},on:{click:function(o){return t.onActive(s.type)}}},[e("div",{staticClass:"nav-title"},[e("em",[t._v(t._s(t.$L(s.name)))]),e("Badge",{staticClass:"nav-num",attrs:{"overflow-count":999,count:t.msgUnread(s.type)}})],1)])})],2):t._e(),t.$isEEUiApp&&!t.appNotificationPermission?e("div",{staticClass:"messenger-notify-permission",on:{click:t.onOpenAppSetting}},[t._v(" "+t._s(t.$L("\u672A\u5F00\u542F\u901A\u77E5\u6743\u9650"))),e("i",{staticClass:"taskfont"},[t._v("\uE733")])]):t._e(),e("ScrollerY",{ref:"list",staticClass:"messenger-list",class:t.listClassName,attrs:{static:""},on:{"on-scroll":t.listScroll},nativeOn:{touchstart:function(s){return t.listTouch.apply(null,arguments)}}},[t.tabActive==="dialog"?e("ul",{staticClass:"dialog"},t._l(t.dialogList,function(s,a){return t.dialogList.length>0?e("li",{directives:[{name:"longpress",rawName:"v-longpress",value:t.handleLongpress,expression:"handleLongpress"}],key:a,ref:`dialog_${s.id}`,refInFor:!0,class:t.dialogClass(s),attrs:{"data-id":s.id},on:{click:function(o){return t.openDialog({dialog_id:s.id,search_msg_id:s.search_msg_id})}}},[s.type=="group"?[s.avatar?e("EAvatar",{staticClass:"img-avatar",attrs:{src:s.avatar,size:42}}):s.group_type=="department"?e("i",{staticClass:"taskfont icon-avatar department"},[t._v("\uE75C")]):s.group_type=="project"?e("i",{staticClass:"taskfont icon-avatar project"},[t._v("\uE6F9")]):s.group_type=="task"?e("i",{staticClass:"taskfont icon-avatar task"},[t._v("\uE6F4")]):e("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:s.dialog_user?e("div",{staticClass:"user-avatar"},[e("UserAvatar",{attrs:{userid:s.dialog_user.userid,size:42}})],1):e("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}}),e("div",{staticClass:"dialog-box"},[e("div",{staticClass:"dialog-title"},[s.todo_num?e("div",{staticClass:"todo"},[t._v("["+t._s(t.$L("\u5F85\u529E"))+t._s(t.formatTodoNum(s.todo_num))+"]")]):t._e(),t.$A.getDialogMention(s)>0?e("div",{staticClass:"mention"},[t._v("[@"+t._s(t.$A.getDialogMention(s))+"]")]):t._e(),s.bot?e("div",{staticClass:"taskfont bot"},[t._v("\uE68C")]):t._e(),t._l(t.$A.dialogTags(s),function(o){return o.color!="success"?[e("Tag",{attrs:{color:o.color,fade:!1},on:{"on-click":function(r){return t.openDialog(s.id)}}},[t._v(t._s(t.$L(o.text)))])]:t._e()}),e("span",[t._v(t._s(s.name))]),s.type=="user"&&t.lastMsgReadDone(s.last_msg)&&s.dialog_user.userid!=t.userId?e("Icon",{attrs:{type:t.lastMsgReadDone(s.last_msg)}}):t._e(),s.last_at?e("em",[t._v(t._s(t.$A.formatTime(s.last_at)))]):t._e()],2),e("div",{staticClass:"dialog-text no-dark-content"},[s.extra_draft_has&&s.id!=t.dialogId?[e("div",{staticClass:"last-draft"},[t._v("["+t._s(t.$L("\u8349\u7A3F"))+"]")]),e("div",{staticClass:"last-text"},[e("span",[t._v(t._s(t.formatDraft(s.extra_draft_content)))])])]:[s.type=="group"&&s.last_msg&&s.last_msg.userid?[s.last_msg.userid==t.userId?e("div",{staticClass:"last-self"},[t._v(t._s(t.$L("\u4F60")))]):e("UserAvatar",{attrs:{userid:s.last_msg.userid,"show-name":!0,"show-icon":!1,"tooltip-disabled":""}})]:t._e(),e("div",{staticClass:"last-text"},[t.formatMsgEmojiDesc(s.last_msg)?e("em",[t._v(t._s(t.formatMsgEmojiDesc(s.last_msg)))]):t._e(),e("span",[t._v(t._s(t.$A.getMsgSimpleDesc(s.last_msg)))])])],s.silence?e("div",{staticClass:"taskfont last-silence"},[t._v("\uE7D7")]):t._e()],2)]),e("Badge",{staticClass:"dialog-num",attrs:{type:s.silence?"normal":"error","overflow-count":999,count:t.$A.getDialogUnread(s,!0)}}),e("div",{staticClass:"dialog-line"})],2):t.dialogSearchLoad===0?e("li",{staticClass:"nothing"},[t._v(" "+t._s(t.$L(t.dialogSearchKey?`\u6CA1\u6709\u4EFB\u4F55\u4E0E"${t.dialogSearchKey}"\u76F8\u5173\u7684\u4F1A\u8BDD`:"\u6CA1\u6709\u4EFB\u4F55\u4F1A\u8BDD"))+" ")]):t._e()}),0):e("ul",{staticClass:"contacts"},[t.contactsFilter.length===0?[t.contactsLoad>0?e("li",{staticClass:"loading"},[e("Loading")],1):e("li",{staticClass:"nothing"},[t._v(" "+t._s(t.$L(t.contactsKey?`\u6CA1\u6709\u4EFB\u4F55\u4E0E"${t.contactsKey}"\u76F8\u5173\u7684\u8054\u7CFB\u4EBA`:"\u6CA1\u6709\u4EFB\u4F55\u8054\u7CFB\u4EBA"))+" ")])]:[t._l(t.contactsList,function(s){return e("li",[e("div",{staticClass:"label"},[t._v(t._s(s.az))]),e("ul",t._l(s.list,function(a,o){return e("li",{key:o,on:{click:function(r){return t.openContacts(a)}}},[e("div",{staticClass:"avatar"},[e("UserAvatar",{attrs:{userid:a.userid,size:30}})],1),e("div",{staticClass:"nickname"},[e("em",[t._v(t._s(a.nickname))]),a.tags?e("div",{staticClass:"tags"},t._l(a.tags,function(r){return e("span",{style:t.tagField(r,"style")},[t._v(t._s(t.tagField(r,"label")))])}),0):t._e()]),a.loading?e("div",{staticClass:"loading"},[e("Loading")],1):t._e()])}),0)])}),e("li",{staticClass:"loaded"},[t.contactsKey?[t._v(t._s(t.$L("\u641C\u7D22\u5230"+t.contactsFilter.length+"\u4F4D\u8054\u7CFB\u4EBA")))]:[t._v(t._s(t.$L("\u5171"+t.contactsTotal+"\u4F4D\u8054\u7CFB\u4EBA")))]],2)]],2),e("div",{directives:[{name:"show",rawName:"v-show",value:t.operateVisible,expression:"operateVisible"}],staticClass:"operate-position",style:t.operateStyles},[e("Dropdown",{attrs:{trigger:"custom",placement:t.windowLarge?"bottom":"top",visible:t.operateVisible,transfer:""},on:{"on-clickoutside":function(s){t.operateVisible=!1}}},[e("div",{style:{userSelect:t.operateVisible?"none":"auto",height:t.operateStyles.height}}),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{nativeOn:{click:function(s){return t.handleTopClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.operateItem.top_at?"\u53D6\u6D88\u7F6E\u9876":"\u7F6E\u9876"))+" ")]),e("DropdownItem",{nativeOn:{click:function(s){return t.handleReadClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.$A.getDialogUnread(t.operateItem,!0)>0?"\u6807\u8BB0\u5DF2\u8BFB":"\u6807\u8BB0\u672A\u8BFB"))+" ")]),e("DropdownItem",{attrs:{disabled:t.silenceDisabled(t.operateItem)},nativeOn:{click:function(s){return t.handleSilenceClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.operateItem.silence?"\u5141\u8BB8\u6D88\u606F\u901A\u77E5":"\u6D88\u606F\u514D\u6253\u6270"))+" ")])],1)],1)],1)]),e("div",{staticClass:"messenger-menu"},[e("div",{staticClass:"menu-icon"},[e("Icon",{class:{active:t.tabActive==="dialog"},attrs:{type:"ios-chatbubbles"},on:{click:function(s){return t.onActive(null)}}}),e("Badge",{staticClass:"menu-num",attrs:{"overflow-count":999,count:t.msgUnread("all")}})],1),e("div",{staticClass:"menu-icon"},[e("Icon",{class:{active:t.tabActive==="contacts"},attrs:{type:"md-person"},on:{click:function(s){t.tabActive="contacts"}}})],1)])],1),t.activeNum>0&&t.routeName==="manage-messenger"?e("div",{staticClass:"messenger-msg"},[e("div",{staticClass:"msg-dialog-bg"},[e("div",{staticClass:"msg-dialog-bg-icon"},[e("Icon",{attrs:{type:"ios-chatbubbles"}})],1),e("div",{staticClass:"msg-dialog-bg-text"},[t._v(t._s(t.$L("\u9009\u62E9\u4E00\u4E2A\u4F1A\u8BDD\u5F00\u59CB\u804A\u5929")))])]),t.windowLarge&&t.dialogId>0?e("DialogWrapper",{attrs:{dialogId:t.dialogId,"auto-focus":t.$A.isDesktop()},on:{"on-active":t.scrollIntoActive}}):t._e()],1):t._e()])],1)},C=[];const u={menuHistory:[]},k={components:{ScrollerY:D,DialogWrapper:g},directives:{longpress:m},data(){return{activeNum:0,tabActive:"dialog",dialogSearchLoad:0,dialogSearchKey:"",dialogSearchList:[],dialogActive:"",dialogMenus:[{type:"",name:"\u5168\u90E8"},{type:"project",name:"\u9879\u76EE"},{type:"task",name:"\u4EFB\u52A1"},{type:"user",name:"\u5355\u804A"},{type:"group",name:"\u7FA4\u804A"},{type:"bot",name:"\u673A\u5668\u4EBA"}],dialogHistory:u.menuHistory,contactsKey:"",contactsLoad:0,contactsData:null,contactsTotal:0,contactsCurrentPage:1,contactsHasMorePages:!1,contactsLastTime:0,operateItem:{},operateStyles:{},operateVisible:!1,clickAgainSubscribe:null}},async beforeRouteEnter(t,i,e){u.menuHistory=await $A.IDBArray("dialogMenuHistory"),e()},mounted(){const t=$A.runNum(this.$route.query.dialog_id);t>0&&this.openDialog(t),this.clickAgainSubscribe=p.Store.subscribe("clickAgainDialog",this.shakeUnread)},beforeDestroy(){this.clickAgainSubscribe&&(this.clickAgainSubscribe.unsubscribe(),this.clickAgainSubscribe=null),document.removeEventListener("keydown",this.shortcutEvent)},activated(){this.updateDialogs(1e3),this.$nextTick(t=>this.activeNum++),$A.isEEUiApp&&$A.eeuiAppSendMessage({action:"getNotificationPermission"})},deactivated(){this.updateDialogs(-1),this.$nextTick(t=>this.activeNum--)},computed:{...f(["cacheDialogs","loadDialogs","dialogId","messengerSearchKey","appNotificationPermission"]),routeName(){return this.$route.name},typeItems(){const{dialogActive:t,dialogMenus:i,dialogHistory:e}=this,s=[];return this.dialogHistory.includes(t)?s.push(...this.dialogHistory):(s.push(""),t&&s.push(t),e.some(a=>{s.includes(a)||s.push(a)}),["project","task","user"].some(a=>{s.includes(a)||s.push(a)}),this.dialogHistory=s.slice(0,4),$A.IDBSave("dialogMenuHistory",this.dialogHistory)),this.dialogHistory.map(a=>i.find(o=>o.type==a))},dialogList(){const{dialogActive:t,dialogSearchKey:i,dialogSearchList:e}=this;return e.length>0?e.sort((a,o)=>(a.is_search===!0?1:0)-(o.is_search===!0?1:0)):t==""&&i==""?this.cacheDialogs.filter(a=>this.filterDialog(a)).sort(this.dialogSort):this.cacheDialogs.filter(a=>{if(!this.filterDialog(a))return!1;if(i){const{name:o,pinyin:r,last_msg:l}=a;let n=`${o} ${r}`;if(l)switch(l.type){case"text":n+=` ${l.msg.text.replace(/<[^>]+>/g,"")}`;break;case"meeting":case"file":n+=` ${l.msg.name}`;break}if(!$A.strExists(n,i))return!1}else if(t)switch(t){case"project":case"task":if(t!=a.group_type)return!1;break;case"user":if(t!=a.type||a.bot)return!1;break;case"group":if(t!=a.type||["project","task"].includes(a.group_type))return!1;break;case"bot":if(!a.bot)return!1;break;default:return!1}return!0}).sort(this.dialogSort)},contactsFilter(){const{contactsData:t,contactsKey:i}=this;return t===null?[]:i?t.filter(e=>$A.strExists(`${e.email} ${e.nickname} ${e.profession} ${e.pinyin}`,i)):t},contactsList(){const t=[];return this.contactsFilter.some(i=>{let e=i.az?i.az.toUpperCase():"#",s=t.find(a=>a.az==e);s?s.list.findIndex(({userid:a})=>a==i.userid)===-1&&s.list.push(i):t.push({az:e,list:[i]})}),t},msgUnread(){return function(t){let i=0;return this.cacheDialogs.some(e=>{switch(t){case"project":case"task":if(t!=e.group_type)return!1;break;case"user":if(t!=e.type||e.bot)return!1;break;case"group":if(t!=e.type||["project","task"].includes(e.group_type))return!1;break;case"bot":if(!e.bot)return!1;break}i+=$A.getDialogNum(e)}),i}},listClassName(){return{"scrollbar-overlay":!0,"scrollbar-hidden":this.operateVisible===!0}}},watch:{$route:{handler({params:t}){["dialog","contacts"].includes(t.dialogAction)&&(this.tabActive=t.dialogAction)},immediate:!0},messengerSearchKey:{handler(t){this.$nextTick(i=>{this.dialogSearchKey=t.dialog,this.contactsKey=t.contacts})},deep:!0},dialogSearchKey(t){switch(this.$store.state.messengerSearchKey.dialog=t,t){case"log.o":$A.IDBSet("logOpen","open").then($A.reloadUrl);break;case"log.c":$A.IDBSet("logOpen","close").then($A.reloadUrl);break}this.dialogSearchList=[],t!=""&&(this.__searchTimer&&clearTimeout(this.__searchTimer),this.__searchTimer=setTimeout(this.searchDialog,600),this.dialogSearchLoad++,setTimeout(i=>this.dialogSearchLoad--,600))},contactsKey(t){this.$store.state.messengerSearchKey.contacts=t,t!=""&&(this.contactsLoad++,setTimeout(()=>{this.contactsKey==t&&this.getContactsList(1),this.contactsLoad--},600))},tabActive:{handler(t){t=="contacts"?($A.Time()-this.contactsLastTime>24*3600&&(this.contactsData=null),this.contactsData===null?this.getContactsList(1):this.updateContactsList(1e3)):this.updateDialogs(1e3)},immediate:!0},dialogId:{handler(t){t>0&&this.scrollIntoActive()},immediate:!0}},methods:{listTouch(){this.$refs.navMenu.visible&&this.$refs.navMenu.hide()},listScroll(t){t.scrollE<10&&this.getContactsNextPage(),this.operateVisible=!1},onActive(t){if(t===null){if(this.tabActive!=="dialog"){this.tabActive="dialog";return}t=this.dialogActive}this.dialogActive==t?this.shakeUnread():this.dialogActive=t},shakeUnread(){var i;let t=this.dialogList.findIndex(e=>$A.getDialogNum(e)>0);if(t===-1&&(t=this.dialogList.findIndex(e=>$A.getDialogUnread(e,!0)>0)),t>-1){const e=this.$refs[`dialog_${(i=this.dialogList[t])==null?void 0:i.id}`];if(e&&e[0]){if(e[0].classList.contains("common-shake"))return;$A.scrollIntoViewIfNeeded(e[0]),requestAnimationFrame(s=>{e[0].classList.add("common-shake"),setTimeout(a=>{e[0].classList.remove("common-shake")},600)})}}},dialogClass(t){return this.dialogSearchKey?null:{top:t.top_at,active:t.id==this.dialogId,operate:this.operateVisible&&t.id==this.operateItem.id,completed:$A.dialogCompleted(t)}},dialogSort(t,i){return t.top_at||i.top_at?$A.Date(i.top_at)-$A.Date(t.top_at):t.todo_num>0||i.todo_num>0?i.todo_num-t.todo_num:t.extra_draft_has||i.extra_draft_has?i.extra_draft_has-t.extra_draft_has:$A.Date(i.last_at)-$A.Date(t.last_at)},openDialog(t){this.operateVisible||($A.isJson(t)&&$A.leftExists(t.dialog_id,"u:")?this.$store.dispatch("openDialogUserid",$A.leftDelete(t.dialog_id,"u:")).catch(({msg:i})=>{$A.modalError(i)}):this.$store.dispatch("openDialog",t))},openContacts(t){t.loading||(this.$set(t,"loading",!0),this.$store.dispatch("openDialogUserid",t.userid).then(i=>{this.windowLarge&&(this.tabActive="dialog")}).catch(({msg:i})=>{$A.modalError(i)}).finally(i=>{this.$set(t,"loading",!1)}))},tagField(t,i){switch($A.isJson(t)||(t={label:t}),i){case"style":return t.style||null;case"label":return t.label}return null},filterDialog(t){if($A.getDialogNum(t)>0||t.id==this.dialogId||t.top_at||t.todo_num>0)return!0;if(t.name===void 0||t.dialog_delete===1||!t.last_at)return!1;if(t.type=="group"&&["project","task"].includes(t.group_type)&&$A.isJson(t.group_info)){if(t.group_type=="task"&&t.group_info.complete_at){let i=Math.max($A.Date(t.last_at,!0),$A.Date(t.group_info.complete_at,!0));if(5*86400+i<$A.Time())return!1}if(t.group_info.deleted_at){let i=Math.max($A.Date(t.last_at,!0),$A.Date(t.group_info.deleted_at,!0));if(2*86400+i<$A.Time())return!1}if(t.group_info.archived_at){let i=Math.max($A.Date(t.last_at,!0),$A.Date(t.group_info.archived_at,!0));if(3*86400+i<$A.Time())return!1}}return!0},searchDialog(){const t=this.dialogSearchKey;t!=""&&(this.dialogSearchLoad++,this.$store.dispatch("call",{url:"dialog/search",data:{key:t}}).then(({data:i})=>{if(t!==this.dialogSearchKey)return;const e=$A.cloneJSON(this.dialogList),s=[],a=[];e.forEach(o=>{o.last_msg&&!s.includes(o.last_msg.id)&&s.push(o.last_msg.id),o.dialog_user&&!a.includes(o.dialog_user.userid)&&a.push(o.dialog_user.userid)}),i.some(o=>{$A.leftExists(o.id,"u:")?a.includes(o.dialog_user.userid)||e.push(Object.assign(o,{is_search:!0})):(!o.last_msg||!s.includes(o.last_msg.id))&&e.push(Object.assign(o,{is_search:!0}))}),this.dialogSearchList=e}).finally(i=>{this.dialogSearchLoad--}))},getContactsList(t){this.contactsLoad++;const i=this.contactsKey;this.$store.dispatch("call",{url:"users/search",data:{keys:{key:i},sorts:{az:"asc"},page:t,pagesize:50}}).then(({data:e})=>{i==""&&(this.contactsTotal=e.total),this.contactsData===null&&(this.contactsData=[]),e.data.some(s=>{this.contactsData.findIndex(a=>a.userid==s.userid)===-1&&this.contactsData.push(s)}),this.contactsCurrentPage=e.current_page,this.contactsHasMorePages=e.current_page{i==""&&(this.contactsTotal=0),this.contactsHasMorePages=!1}).finally(e=>{this.contactsLoad--,this.contactsLastTime=$A.Time()})},getContactsNextPage(){const{scrollE:t}=this.$refs.list.scrollInfo();t<10&&this.tabActive==="contacts"&&this.contactsLoad===0&&this.contactsHasMorePages&&this.getContactsList(this.contactsCurrentPage+1)},updateContactsList(t){this.__updateContactsList&&clearTimeout(this.__updateContactsList),t>-1&&(this.__updateContactsList=setTimeout(i=>{this.tabActive==="contacts"&&this.$store.dispatch("call",{url:"users/search",data:{updated_time:this.contactsLastTime,take:100}}).then(({data:e})=>{e.some(s=>{const a=this.contactsData.findIndex(o=>o.userid==s.userid);a>-1?this.contactsData.splice(a,1,s):this.contactsData.push(s)})}).finally(e=>{this.contactsLastTime=$A.Time()})},t))},formatDraft(t){return(t==null?void 0:t.replace(/]*>/gi,`[${$A.L("\u56FE\u7247")}]`).replace(/<[^>]*>/g,""))||null},formatTodoNum(t){return t>999?"999+":t>1?t:""},formatMsgEmojiDesc(t){return $A.isJson(t)&&$A.arrayLength(t.emoji)>0?t.emoji[0].symbol:null},lastMsgReadDone(t){if($A.isJson(t)){const{userid:i,percentage:e}=t;if(i===this.userId)return e===100?"md-done-all":"md-checkmark"}return null},scrollIntoActive(){this.$nextTick(()=>{if(this.windowLarge&&this.$refs.list){const t=this.$refs.list.querySelector(".active");t?$A.scrollIntoViewIfNeeded(t):this.cacheDialogs.find(({id:e})=>e==this.dialogId)&&this.dialogActive&&(this.dialogActive="",this.$nextTick(()=>{const e=this.$refs.list.querySelector(".active");e&&$A.scrollIntoViewIfNeeded(e)}))}})},handleLongpress(t,i){if(this.dialogSearchKey)return;const e=$A.getAttr(i,"data-id"),s=this.dialogList.find(a=>a.id==e);!s||(this.operateVisible=!1,this.operateItem=$A.isJson(s)?s:{},this.$nextTick(()=>{const a=i.getBoundingClientRect(),o=this.$refs.list.$el.getBoundingClientRect();this.operateStyles={left:`${t.clientX-o.left}px`,top:`${a.top+this.windowScrollY}px`,height:a.height+"px"},this.operateVisible=!0}))},handleTopClick(){this.$store.dispatch("call",{url:"dialog/top",data:{dialog_id:this.operateItem.id}}).then(({data:t})=>{this.$store.dispatch("saveDialog",t),this.$nextTick(this.scrollIntoActive)}).catch(({msg:t})=>{$A.modalError(t)})},handleReadClick(){this.$store.dispatch("dialogMsgMark",{dialog_id:this.operateItem.id,type:$A.getDialogUnread(this.operateItem,!0)>0?"read":"unread"}).catch(({msg:t})=>{$A.modalError(t)})},handleSilenceClick(){this.silenceDisabled(this.operateItem)||this.$store.dispatch("call",{url:"dialog/msg/silence",data:{dialog_id:this.operateItem.id,type:this.operateItem.silence?"cancel":"set"}}).then(({data:t})=>{this.$store.dispatch("saveDialog",t)}).catch(({msg:t})=>{$A.modalError(t)})},updateDialogs(t){this.__updateDialogs&&clearTimeout(this.__updateDialogs),t>-1&&(this.__updateDialogs=setTimeout(i=>{this.tabActive==="dialog"&&this.$store.dispatch("getDialogs",{hideload:!0}).catch(()=>{})},t))},onOpenAppSetting(){$A.eeuiAppSendMessage({action:"gotoSetting"})},silenceDisabled(t){const{type:i,group_type:e}=t;return i==="group"&&e!=="user"}}},d={};var I=h(k,b,C,!1,S,null,null,null);function S(t){for(let i in d)this[i]=d[i]}var K=function(){return I.exports}();export{K as default}; +import{n as h,d as p,m as f}from"./app.139edc4e.js";import{D as g}from"./DialogWrapper.1ee2083a.js";import{l as m}from"./DialogSelect.13f2bf9c.js";import"./UserInput.ca38ea3c.js";import"./index.03956335.js";import"./ImgUpload.8dae08e9.js";var _=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{ref:"scrollerView",staticClass:"app-scroller-y",class:[t.static?"static":""]},[t._t("default"),e("div",{ref:"bottom",staticClass:"app-scroller-bottom"})],2)},v=[];const $={name:"ScrollerY",props:{static:{type:Boolean,default:!1},autoBottom:{type:Boolean,default:!1},autoRecovery:{type:Boolean,default:!0},autoRecoveryAnimate:{type:Boolean,default:!1}},data(){return{scrollY:0,scrollDiff:0,autoInterval:null}},mounted(){this.openInterval(),this.$nextTick(this.initScroll)},activated(){this.openInterval(),this.recoveryScroll()},destroyed(){this.closeInterval()},deactivated(){this.closeInterval()},methods:{initScroll(){this.autoToBottom();let t=typeof this.$listeners["on-scroll"]=="function",i=$A(this.$refs.scrollerView);i.scroll(()=>{let e=Math.round(i.innerHeight()),s=i.scrollTop(),a=this.$refs.scrollerView.scrollHeight;if(this.scrollY=s,t){let o="static",r="static";this.scrollDiff-s>50?(this.scrollDiff=s,o="down"):this.scrollDiff-s<-100&&(this.scrollDiff=s,o="up"),this.scrollDiff-s>1?(this.scrollDiff=s,r="down"):this.scrollDiff-s<-1&&(this.scrollDiff=s,r="up"),this.$emit("on-scroll",{scale:s/(a-e),scrollY:s,scrollE:a-e-s,direction:o,directionreal:r})}})},recoveryScroll(){this.autoRecovery&&(this.scrollY>0||this.autoBottom)&&this.$nextTick(()=>{this.autoBottom?this.autoToBottom():this.scrollTo(this.scrollY,this.autoRecoveryAnimate)})},openInterval(){this.autoToBottom(),this.autoInterval&&clearInterval(this.autoInterval),this.autoInterval=setInterval(this.autoToBottom,300)},closeInterval(){clearInterval(this.autoInterval),this.autoInterval=null},scrollTo(t,i){i===!1?$A(this.$refs.scrollerView).stop().scrollTop(t):$A(this.$refs.scrollerView).stop().animate({scrollTop:t})},autoToBottom(){this.autoBottom&&$A.scrollToView(this.$refs.bottom,{behavior:"instant",inline:"end"})},scrollInfo(){let t=$A(this.$refs.scrollerView),i=Math.round(t.innerHeight()),e=t.scrollTop(),s=this.$refs.scrollerView.scrollHeight;return this.scrollY=e,{scale:e/(s-i),scrollY:e,scrollE:s-i-e}},querySelector(t){return this.$refs.scrollerView&&this.$refs.scrollerView.querySelector(t)}}},c={};var y=h($,_,v,!1,A,null,null,null);function A(t){for(let i in c)this[i]=c[i]}var D=function(){return y.exports}(),b=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"page-messenger"},[e("PageTitle",{attrs:{title:t.$L(t.tabActive==="dialog"?"\u6D88\u606F":"\u901A\u8BAF\u5F55")}}),e("div",{staticClass:"messenger-wrapper"},[e("div",{staticClass:"messenger-select"},[e("div",{staticClass:"messenger-search"},[e("div",{staticClass:"search-wrapper"},[t.tabActive==="dialog"?e("Input",{attrs:{placeholder:t.$L(t.loadDialogs?"\u66F4\u65B0\u4E2D...":"\u641C\u7D22\u6D88\u606F"),clearable:""},model:{value:t.dialogSearchKey,callback:function(s){t.dialogSearchKey=s},expression:"dialogSearchKey"}},[e("div",{staticClass:"search-pre",attrs:{slot:"prefix"},slot:"prefix"},[t.loadDialogs||t.dialogSearchLoad>0?e("Loading"):e("Icon",{attrs:{type:"ios-search"}})],1)]):e("Input",{attrs:{prefix:"ios-search",placeholder:t.$L("\u641C\u7D22\u8054\u7CFB\u4EBA"),clearable:""},model:{value:t.contactsKey,callback:function(s){t.contactsKey=s},expression:"contactsKey"}})],1)]),t.tabActive==="dialog"&&!t.dialogSearchKey?e("div",{staticClass:"messenger-nav"},[e("EDropdown",{ref:"navMenu",staticClass:"nav-menu",attrs:{trigger:"click",placement:"bottom-start"},on:{command:t.onActive}},[e("div",{staticClass:"nav-icon"},[e("i",{staticClass:"taskfont"},[t._v("\uE634")])]),e("EDropdownMenu",{staticClass:"messenger-nav-menu",attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.dialogMenus,function(s,a){return e("EDropdownItem",{key:a,attrs:{command:s.type}},[e("div",{staticClass:"messenger-nav-item",class:{active:t.dialogActive==s.type}},[e("div",{staticClass:"nav-title"},[t._v(t._s(t.$L(s.name)))]),e("Badge",{staticClass:"nav-num",attrs:{"overflow-count":999,count:t.msgUnread(s.type)}})],1)])}),1)],1),t._l(t.typeItems,function(s,a){return e("div",{key:a,class:{active:t.dialogActive==s.type},on:{click:function(o){return t.onActive(s.type)}}},[e("div",{staticClass:"nav-title"},[e("em",[t._v(t._s(t.$L(s.name)))]),e("Badge",{staticClass:"nav-num",attrs:{"overflow-count":999,count:t.msgUnread(s.type)}})],1)])})],2):t._e(),t.$isEEUiApp&&!t.appNotificationPermission?e("div",{staticClass:"messenger-notify-permission",on:{click:t.onOpenAppSetting}},[t._v(" "+t._s(t.$L("\u672A\u5F00\u542F\u901A\u77E5\u6743\u9650"))),e("i",{staticClass:"taskfont"},[t._v("\uE733")])]):t._e(),e("ScrollerY",{ref:"list",staticClass:"messenger-list",class:t.listClassName,attrs:{static:""},on:{"on-scroll":t.listScroll},nativeOn:{touchstart:function(s){return t.listTouch.apply(null,arguments)}}},[t.tabActive==="dialog"?e("ul",{staticClass:"dialog"},t._l(t.dialogList,function(s,a){return t.dialogList.length>0?e("li",{directives:[{name:"longpress",rawName:"v-longpress",value:t.handleLongpress,expression:"handleLongpress"}],key:a,ref:`dialog_${s.id}`,refInFor:!0,class:t.dialogClass(s),attrs:{"data-id":s.id},on:{click:function(o){return t.openDialog({dialog_id:s.id,search_msg_id:s.search_msg_id})}}},[s.type=="group"?[s.avatar?e("EAvatar",{staticClass:"img-avatar",attrs:{src:s.avatar,size:42}}):s.group_type=="department"?e("i",{staticClass:"taskfont icon-avatar department"},[t._v("\uE75C")]):s.group_type=="project"?e("i",{staticClass:"taskfont icon-avatar project"},[t._v("\uE6F9")]):s.group_type=="task"?e("i",{staticClass:"taskfont icon-avatar task"},[t._v("\uE6F4")]):e("Icon",{staticClass:"icon-avatar",attrs:{type:"ios-people"}})]:s.dialog_user?e("div",{staticClass:"user-avatar"},[e("UserAvatar",{attrs:{userid:s.dialog_user.userid,size:42}})],1):e("Icon",{staticClass:"icon-avatar",attrs:{type:"md-person"}}),e("div",{staticClass:"dialog-box"},[e("div",{staticClass:"dialog-title"},[s.todo_num?e("div",{staticClass:"todo"},[t._v("["+t._s(t.$L("\u5F85\u529E"))+t._s(t.formatTodoNum(s.todo_num))+"]")]):t._e(),t.$A.getDialogMention(s)>0?e("div",{staticClass:"mention"},[t._v("[@"+t._s(t.$A.getDialogMention(s))+"]")]):t._e(),s.bot?e("div",{staticClass:"taskfont bot"},[t._v("\uE68C")]):t._e(),t._l(t.$A.dialogTags(s),function(o){return o.color!="success"?[e("Tag",{attrs:{color:o.color,fade:!1},on:{"on-click":function(r){return t.openDialog(s.id)}}},[t._v(t._s(t.$L(o.text)))])]:t._e()}),e("span",[t._v(t._s(s.name))]),s.type=="user"&&t.lastMsgReadDone(s.last_msg)&&s.dialog_user.userid!=t.userId?e("Icon",{attrs:{type:t.lastMsgReadDone(s.last_msg)}}):t._e(),s.last_at?e("em",[t._v(t._s(t.$A.formatTime(s.last_at)))]):t._e()],2),e("div",{staticClass:"dialog-text no-dark-content"},[s.extra_draft_has&&s.id!=t.dialogId?[e("div",{staticClass:"last-draft"},[t._v("["+t._s(t.$L("\u8349\u7A3F"))+"]")]),e("div",{staticClass:"last-text"},[e("span",[t._v(t._s(t.formatDraft(s.extra_draft_content)))])])]:[s.type=="group"&&s.last_msg&&s.last_msg.userid?[s.last_msg.userid==t.userId?e("div",{staticClass:"last-self"},[t._v(t._s(t.$L("\u4F60")))]):e("UserAvatar",{attrs:{userid:s.last_msg.userid,"show-name":!0,"show-icon":!1,"tooltip-disabled":""}})]:t._e(),e("div",{staticClass:"last-text"},[t.formatMsgEmojiDesc(s.last_msg)?e("em",[t._v(t._s(t.formatMsgEmojiDesc(s.last_msg)))]):t._e(),e("span",[t._v(t._s(t.$A.getMsgSimpleDesc(s.last_msg)))])])],s.silence?e("div",{staticClass:"taskfont last-silence"},[t._v("\uE7D7")]):t._e()],2)]),e("Badge",{staticClass:"dialog-num",attrs:{type:s.silence?"normal":"error","overflow-count":999,count:t.$A.getDialogUnread(s,!0)}}),e("div",{staticClass:"dialog-line"})],2):t.dialogSearchLoad===0?e("li",{staticClass:"nothing"},[t._v(" "+t._s(t.$L(t.dialogSearchKey?`\u6CA1\u6709\u4EFB\u4F55\u4E0E"${t.dialogSearchKey}"\u76F8\u5173\u7684\u4F1A\u8BDD`:"\u6CA1\u6709\u4EFB\u4F55\u4F1A\u8BDD"))+" ")]):t._e()}),0):e("ul",{staticClass:"contacts"},[t.contactsFilter.length===0?[t.contactsLoad>0?e("li",{staticClass:"loading"},[e("Loading")],1):e("li",{staticClass:"nothing"},[t._v(" "+t._s(t.$L(t.contactsKey?`\u6CA1\u6709\u4EFB\u4F55\u4E0E"${t.contactsKey}"\u76F8\u5173\u7684\u8054\u7CFB\u4EBA`:"\u6CA1\u6709\u4EFB\u4F55\u8054\u7CFB\u4EBA"))+" ")])]:[t._l(t.contactsList,function(s){return e("li",[e("div",{staticClass:"label"},[t._v(t._s(s.az))]),e("ul",t._l(s.list,function(a,o){return e("li",{key:o,on:{click:function(r){return t.openContacts(a)}}},[e("div",{staticClass:"avatar"},[e("UserAvatar",{attrs:{userid:a.userid,size:30}})],1),e("div",{staticClass:"nickname"},[e("em",[t._v(t._s(a.nickname))]),a.tags?e("div",{staticClass:"tags"},t._l(a.tags,function(r){return e("span",{style:t.tagField(r,"style")},[t._v(t._s(t.tagField(r,"label")))])}),0):t._e()]),a.loading?e("div",{staticClass:"loading"},[e("Loading")],1):t._e()])}),0)])}),e("li",{staticClass:"loaded"},[t.contactsKey?[t._v(t._s(t.$L("\u641C\u7D22\u5230"+t.contactsFilter.length+"\u4F4D\u8054\u7CFB\u4EBA")))]:[t._v(t._s(t.$L("\u5171"+t.contactsTotal+"\u4F4D\u8054\u7CFB\u4EBA")))]],2)]],2),e("div",{directives:[{name:"show",rawName:"v-show",value:t.operateVisible,expression:"operateVisible"}],staticClass:"operate-position",style:t.operateStyles},[e("Dropdown",{attrs:{trigger:"custom",placement:t.windowLarge?"bottom":"top",visible:t.operateVisible,transfer:""},on:{"on-clickoutside":function(s){t.operateVisible=!1}}},[e("div",{style:{userSelect:t.operateVisible?"none":"auto",height:t.operateStyles.height}}),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{nativeOn:{click:function(s){return t.handleTopClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.operateItem.top_at?"\u53D6\u6D88\u7F6E\u9876":"\u7F6E\u9876"))+" ")]),e("DropdownItem",{nativeOn:{click:function(s){return t.handleReadClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.$A.getDialogUnread(t.operateItem,!0)>0?"\u6807\u8BB0\u5DF2\u8BFB":"\u6807\u8BB0\u672A\u8BFB"))+" ")]),e("DropdownItem",{attrs:{disabled:t.silenceDisabled(t.operateItem)},nativeOn:{click:function(s){return t.handleSilenceClick.apply(null,arguments)}}},[t._v(" "+t._s(t.$L(t.operateItem.silence?"\u5141\u8BB8\u6D88\u606F\u901A\u77E5":"\u6D88\u606F\u514D\u6253\u6270"))+" ")])],1)],1)],1)]),e("div",{staticClass:"messenger-menu"},[e("div",{staticClass:"menu-icon"},[e("Icon",{class:{active:t.tabActive==="dialog"},attrs:{type:"ios-chatbubbles"},on:{click:function(s){return t.onActive(null)}}}),e("Badge",{staticClass:"menu-num",attrs:{"overflow-count":999,count:t.msgUnread("all")}})],1),e("div",{staticClass:"menu-icon"},[e("Icon",{class:{active:t.tabActive==="contacts"},attrs:{type:"md-person"},on:{click:function(s){t.tabActive="contacts"}}})],1)])],1),t.activeNum>0&&t.routeName==="manage-messenger"?e("div",{staticClass:"messenger-msg"},[e("div",{staticClass:"msg-dialog-bg"},[e("div",{staticClass:"msg-dialog-bg-icon"},[e("Icon",{attrs:{type:"ios-chatbubbles"}})],1),e("div",{staticClass:"msg-dialog-bg-text"},[t._v(t._s(t.$L("\u9009\u62E9\u4E00\u4E2A\u4F1A\u8BDD\u5F00\u59CB\u804A\u5929")))])]),t.windowLarge&&t.dialogId>0?e("DialogWrapper",{attrs:{dialogId:t.dialogId,"auto-focus":t.$A.isDesktop()},on:{"on-active":t.scrollIntoActive}}):t._e()],1):t._e()])],1)},C=[];const u={menuHistory:[]},k={components:{ScrollerY:D,DialogWrapper:g},directives:{longpress:m},data(){return{activeNum:0,tabActive:"dialog",dialogSearchLoad:0,dialogSearchKey:"",dialogSearchList:[],dialogActive:"",dialogMenus:[{type:"",name:"\u5168\u90E8"},{type:"project",name:"\u9879\u76EE"},{type:"task",name:"\u4EFB\u52A1"},{type:"user",name:"\u5355\u804A"},{type:"group",name:"\u7FA4\u804A"},{type:"bot",name:"\u673A\u5668\u4EBA"}],dialogHistory:u.menuHistory,contactsKey:"",contactsLoad:0,contactsData:null,contactsTotal:0,contactsCurrentPage:1,contactsHasMorePages:!1,contactsLastTime:0,operateItem:{},operateStyles:{},operateVisible:!1,clickAgainSubscribe:null}},async beforeRouteEnter(t,i,e){u.menuHistory=await $A.IDBArray("dialogMenuHistory"),e()},mounted(){const t=$A.runNum(this.$route.query.dialog_id);t>0&&this.openDialog(t),this.clickAgainSubscribe=p.Store.subscribe("clickAgainDialog",this.shakeUnread)},beforeDestroy(){this.clickAgainSubscribe&&(this.clickAgainSubscribe.unsubscribe(),this.clickAgainSubscribe=null),document.removeEventListener("keydown",this.shortcutEvent)},activated(){this.updateDialogs(1e3),this.$nextTick(t=>this.activeNum++),$A.isEEUiApp&&$A.eeuiAppSendMessage({action:"getNotificationPermission"})},deactivated(){this.updateDialogs(-1),this.$nextTick(t=>this.activeNum--)},computed:{...f(["cacheDialogs","loadDialogs","dialogId","messengerSearchKey","appNotificationPermission"]),routeName(){return this.$route.name},typeItems(){const{dialogActive:t,dialogMenus:i,dialogHistory:e}=this,s=[];return this.dialogHistory.includes(t)?s.push(...this.dialogHistory):(s.push(""),t&&s.push(t),e.some(a=>{s.includes(a)||s.push(a)}),["project","task","user"].some(a=>{s.includes(a)||s.push(a)}),this.dialogHistory=s.slice(0,4),$A.IDBSave("dialogMenuHistory",this.dialogHistory)),this.dialogHistory.map(a=>i.find(o=>o.type==a))},dialogList(){const{dialogActive:t,dialogSearchKey:i,dialogSearchList:e}=this;return e.length>0?e.sort((a,o)=>(a.is_search===!0?1:0)-(o.is_search===!0?1:0)):t==""&&i==""?this.cacheDialogs.filter(a=>this.filterDialog(a)).sort(this.dialogSort):this.cacheDialogs.filter(a=>{if(!this.filterDialog(a))return!1;if(i){const{name:o,pinyin:r,last_msg:l}=a;let n=`${o} ${r}`;if(l)switch(l.type){case"text":n+=` ${l.msg.text.replace(/<[^>]+>/g,"")}`;break;case"meeting":case"file":n+=` ${l.msg.name}`;break}if(!$A.strExists(n,i))return!1}else if(t)switch(t){case"project":case"task":if(t!=a.group_type)return!1;break;case"user":if(t!=a.type||a.bot)return!1;break;case"group":if(t!=a.type||["project","task"].includes(a.group_type))return!1;break;case"bot":if(!a.bot)return!1;break;default:return!1}return!0}).sort(this.dialogSort)},contactsFilter(){const{contactsData:t,contactsKey:i}=this;return t===null?[]:i?t.filter(e=>$A.strExists(`${e.email} ${e.nickname} ${e.profession} ${e.pinyin}`,i)):t},contactsList(){const t=[];return this.contactsFilter.some(i=>{let e=i.az?i.az.toUpperCase():"#",s=t.find(a=>a.az==e);s?s.list.findIndex(({userid:a})=>a==i.userid)===-1&&s.list.push(i):t.push({az:e,list:[i]})}),t},msgUnread(){return function(t){let i=0;return this.cacheDialogs.some(e=>{switch(t){case"project":case"task":if(t!=e.group_type)return!1;break;case"user":if(t!=e.type||e.bot)return!1;break;case"group":if(t!=e.type||["project","task"].includes(e.group_type))return!1;break;case"bot":if(!e.bot)return!1;break}i+=$A.getDialogNum(e)}),i}},listClassName(){return{"scrollbar-overlay":!0,"scrollbar-hidden":this.operateVisible===!0}}},watch:{$route:{handler({params:t}){["dialog","contacts"].includes(t.dialogAction)&&(this.tabActive=t.dialogAction)},immediate:!0},messengerSearchKey:{handler(t){this.$nextTick(i=>{this.dialogSearchKey=t.dialog,this.contactsKey=t.contacts})},deep:!0},dialogSearchKey(t){switch(this.$store.state.messengerSearchKey.dialog=t,t){case"log.o":$A.IDBSet("logOpen","open").then($A.reloadUrl);break;case"log.c":$A.IDBSet("logOpen","close").then($A.reloadUrl);break}this.dialogSearchList=[],t!=""&&(this.__searchTimer&&clearTimeout(this.__searchTimer),this.__searchTimer=setTimeout(this.searchDialog,600),this.dialogSearchLoad++,setTimeout(i=>this.dialogSearchLoad--,600))},contactsKey(t){this.$store.state.messengerSearchKey.contacts=t,t!=""&&(this.contactsLoad++,setTimeout(()=>{this.contactsKey==t&&this.getContactsList(1),this.contactsLoad--},600))},tabActive:{handler(t){t=="contacts"?($A.Time()-this.contactsLastTime>24*3600&&(this.contactsData=null),this.contactsData===null?this.getContactsList(1):this.updateContactsList(1e3)):this.updateDialogs(1e3)},immediate:!0},dialogId:{handler(t){t>0&&this.scrollIntoActive()},immediate:!0}},methods:{listTouch(){this.$refs.navMenu.visible&&this.$refs.navMenu.hide()},listScroll(t){t.scrollE<10&&this.getContactsNextPage(),this.operateVisible=!1},onActive(t){if(t===null){if(this.tabActive!=="dialog"){this.tabActive="dialog";return}t=this.dialogActive}this.dialogActive==t?this.shakeUnread():this.dialogActive=t},shakeUnread(){var i;let t=this.dialogList.findIndex(e=>$A.getDialogNum(e)>0);if(t===-1&&(t=this.dialogList.findIndex(e=>$A.getDialogUnread(e,!0)>0)),t>-1){const e=this.$refs[`dialog_${(i=this.dialogList[t])==null?void 0:i.id}`];if(e&&e[0]){if(e[0].classList.contains("common-shake"))return;$A.scrollIntoViewIfNeeded(e[0]),requestAnimationFrame(s=>{e[0].classList.add("common-shake"),setTimeout(a=>{e[0].classList.remove("common-shake")},600)})}}},dialogClass(t){return this.dialogSearchKey?null:{top:t.top_at,active:t.id==this.dialogId,operate:this.operateVisible&&t.id==this.operateItem.id,completed:$A.dialogCompleted(t)}},dialogSort(t,i){return t.top_at||i.top_at?$A.Date(i.top_at)-$A.Date(t.top_at):t.todo_num>0||i.todo_num>0?i.todo_num-t.todo_num:t.extra_draft_has||i.extra_draft_has?i.extra_draft_has-t.extra_draft_has:$A.Date(i.last_at)-$A.Date(t.last_at)},openDialog(t){this.operateVisible||($A.isJson(t)&&$A.leftExists(t.dialog_id,"u:")?this.$store.dispatch("openDialogUserid",$A.leftDelete(t.dialog_id,"u:")).catch(({msg:i})=>{$A.modalError(i)}):this.$store.dispatch("openDialog",t))},openContacts(t){t.loading||(this.$set(t,"loading",!0),this.$store.dispatch("openDialogUserid",t.userid).then(i=>{this.windowLarge&&(this.tabActive="dialog")}).catch(({msg:i})=>{$A.modalError(i)}).finally(i=>{this.$set(t,"loading",!1)}))},tagField(t,i){switch($A.isJson(t)||(t={label:t}),i){case"style":return t.style||null;case"label":return t.label}return null},filterDialog(t){if($A.getDialogNum(t)>0||t.id==this.dialogId||t.top_at||t.todo_num>0)return!0;if(t.name===void 0||t.dialog_delete===1||!t.last_at)return!1;if(t.type=="group"&&["project","task"].includes(t.group_type)&&$A.isJson(t.group_info)){if(t.group_type=="task"&&t.group_info.complete_at){let i=Math.max($A.Date(t.last_at,!0),$A.Date(t.group_info.complete_at,!0));if(5*86400+i<$A.Time())return!1}if(t.group_info.deleted_at){let i=Math.max($A.Date(t.last_at,!0),$A.Date(t.group_info.deleted_at,!0));if(2*86400+i<$A.Time())return!1}if(t.group_info.archived_at){let i=Math.max($A.Date(t.last_at,!0),$A.Date(t.group_info.archived_at,!0));if(3*86400+i<$A.Time())return!1}}return!0},searchDialog(){const t=this.dialogSearchKey;t!=""&&(this.dialogSearchLoad++,this.$store.dispatch("call",{url:"dialog/search",data:{key:t}}).then(({data:i})=>{if(t!==this.dialogSearchKey)return;const e=$A.cloneJSON(this.dialogList),s=[],a=[];e.forEach(o=>{o.last_msg&&!s.includes(o.last_msg.id)&&s.push(o.last_msg.id),o.dialog_user&&!a.includes(o.dialog_user.userid)&&a.push(o.dialog_user.userid)}),i.some(o=>{$A.leftExists(o.id,"u:")?a.includes(o.dialog_user.userid)||e.push(Object.assign(o,{is_search:!0})):(!o.last_msg||!s.includes(o.last_msg.id))&&e.push(Object.assign(o,{is_search:!0}))}),this.dialogSearchList=e}).finally(i=>{this.dialogSearchLoad--}))},getContactsList(t){this.contactsLoad++;const i=this.contactsKey;this.$store.dispatch("call",{url:"users/search",data:{keys:{key:i},sorts:{az:"asc"},page:t,pagesize:50}}).then(({data:e})=>{i==""&&(this.contactsTotal=e.total),this.contactsData===null&&(this.contactsData=[]),e.data.some(s=>{this.contactsData.findIndex(a=>a.userid==s.userid)===-1&&this.contactsData.push(s)}),this.contactsCurrentPage=e.current_page,this.contactsHasMorePages=e.current_page{i==""&&(this.contactsTotal=0),this.contactsHasMorePages=!1}).finally(e=>{this.contactsLoad--,this.contactsLastTime=$A.Time()})},getContactsNextPage(){const{scrollE:t}=this.$refs.list.scrollInfo();t<10&&this.tabActive==="contacts"&&this.contactsLoad===0&&this.contactsHasMorePages&&this.getContactsList(this.contactsCurrentPage+1)},updateContactsList(t){this.__updateContactsList&&clearTimeout(this.__updateContactsList),t>-1&&(this.__updateContactsList=setTimeout(i=>{this.tabActive==="contacts"&&this.$store.dispatch("call",{url:"users/search",data:{updated_time:this.contactsLastTime,take:100}}).then(({data:e})=>{e.some(s=>{const a=this.contactsData.findIndex(o=>o.userid==s.userid);a>-1?this.contactsData.splice(a,1,s):this.contactsData.push(s)})}).finally(e=>{this.contactsLastTime=$A.Time()})},t))},formatDraft(t){return(t==null?void 0:t.replace(/]*>/gi,`[${$A.L("\u56FE\u7247")}]`).replace(/<[^>]*>/g,""))||null},formatTodoNum(t){return t>999?"999+":t>1?t:""},formatMsgEmojiDesc(t){return $A.isJson(t)&&$A.arrayLength(t.emoji)>0?t.emoji[0].symbol:null},lastMsgReadDone(t){if($A.isJson(t)){const{userid:i,percentage:e}=t;if(i===this.userId)return e===100?"md-done-all":"md-checkmark"}return null},scrollIntoActive(){this.$nextTick(()=>{if(this.windowLarge&&this.$refs.list){const t=this.$refs.list.querySelector(".active");t?$A.scrollIntoViewIfNeeded(t):this.cacheDialogs.find(({id:e})=>e==this.dialogId)&&this.dialogActive&&(this.dialogActive="",this.$nextTick(()=>{const e=this.$refs.list.querySelector(".active");e&&$A.scrollIntoViewIfNeeded(e)}))}})},handleLongpress(t,i){if(this.dialogSearchKey)return;const e=$A.getAttr(i,"data-id"),s=this.dialogList.find(a=>a.id==e);!s||(this.operateVisible=!1,this.operateItem=$A.isJson(s)?s:{},this.$nextTick(()=>{const a=i.getBoundingClientRect(),o=this.$refs.list.$el.getBoundingClientRect();this.operateStyles={left:`${t.clientX-o.left}px`,top:`${a.top+this.windowScrollY}px`,height:a.height+"px"},this.operateVisible=!0}))},handleTopClick(){this.$store.dispatch("call",{url:"dialog/top",data:{dialog_id:this.operateItem.id}}).then(({data:t})=>{this.$store.dispatch("saveDialog",t),this.$nextTick(this.scrollIntoActive)}).catch(({msg:t})=>{$A.modalError(t)})},handleReadClick(){this.$store.dispatch("dialogMsgMark",{dialog_id:this.operateItem.id,type:$A.getDialogUnread(this.operateItem,!0)>0?"read":"unread"}).catch(({msg:t})=>{$A.modalError(t)})},handleSilenceClick(){this.silenceDisabled(this.operateItem)||this.$store.dispatch("call",{url:"dialog/msg/silence",data:{dialog_id:this.operateItem.id,type:this.operateItem.silence?"cancel":"set"}}).then(({data:t})=>{this.$store.dispatch("saveDialog",t)}).catch(({msg:t})=>{$A.modalError(t)})},updateDialogs(t){this.__updateDialogs&&clearTimeout(this.__updateDialogs),t>-1&&(this.__updateDialogs=setTimeout(i=>{this.tabActive==="dialog"&&this.$store.dispatch("getDialogs",{hideload:!0}).catch(()=>{})},t))},onOpenAppSetting(){$A.eeuiAppSendMessage({action:"gotoSetting"})},silenceDisabled(t){const{type:i,group_type:e}=t;return i==="group"&&e!=="user"}}},d={};var I=h(k,b,C,!1,S,null,null,null);function S(t){for(let i in d)this[i]=d[i]}var K=function(){return I.exports}();export{K as default}; diff --git a/public/js/build/password.2e1e77d4.js b/public/js/build/password.6b370885.js similarity index 97% rename from public/js/build/password.2e1e77d4.js rename to public/js/build/password.6b370885.js index 6e5cf364d..b6f7a448c 100644 --- a/public/js/build/password.2e1e77d4.js +++ b/public/js/build/password.6b370885.js @@ -1 +1 @@ -import{m as o,n as i}from"./app.bd09c684.js";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"setting-item submit"},[s("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(r){r.preventDefault()}}},[t.userInfo.changepass?s("Alert",{staticStyle:{"margin-bottom":"32px"},attrs:{type:"warning",showIcon:""}},[t._v(t._s(t.$L("\u8BF7\u5148\u4FEE\u6539\u767B\u5F55\u5BC6\u7801\uFF01")))]):t._e(),s("FormItem",{attrs:{label:t.$L("\u65E7\u5BC6\u7801"),prop:"oldpass"}},[s("Input",{attrs:{type:"password"},model:{value:t.formDatum.oldpass,callback:function(r){t.$set(t.formDatum,"oldpass",r)},expression:"formDatum.oldpass"}})],1),s("FormItem",{attrs:{label:t.$L("\u65B0\u5BC6\u7801"),prop:"newpass"}},[s("Input",{attrs:{type:"password"},model:{value:t.formDatum.newpass,callback:function(r){t.$set(t.formDatum,"newpass",r)},expression:"formDatum.newpass"}})],1),s("FormItem",{attrs:{label:t.$L("\u786E\u8BA4\u65B0\u5BC6\u7801"),prop:"checkpass"}},[s("Input",{attrs:{type:"password"},model:{value:t.formDatum.checkpass,callback:function(r){t.$set(t.formDatum,"checkpass",r)},expression:"formDatum.checkpass"}})],1)],1),s("div",{staticClass:"setting-footer"},[s("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),s("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},m=[];const l={data(){return{loadIng:0,formDatum:{oldpass:"",newpass:"",checkpass:""},ruleDatum:{oldpass:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u65E7\u5BC6\u7801\uFF01"),trigger:"change"},{type:"string",min:6,message:this.$L("\u5BC6\u7801\u957F\u5EA6\u81F3\u5C116\u4F4D\uFF01"),trigger:"change"}],newpass:[{validator:(t,e,s)=>{e===""?s(new Error(this.$L("\u8BF7\u8F93\u5165\u65B0\u5BC6\u7801\uFF01"))):(this.formDatum.checkpass!==""&&this.$refs.formDatum.validateField("checkpass"),s())},required:!0,trigger:"change"},{type:"string",min:6,message:this.$L("\u5BC6\u7801\u957F\u5EA6\u81F3\u5C116\u4F4D\uFF01"),trigger:"change"}],checkpass:[{validator:(t,e,s)=>{e===""?s(new Error(this.$L("\u8BF7\u91CD\u65B0\u8F93\u5165\u65B0\u5BC6\u7801\uFF01"))):e!==this.formDatum.newpass?s(new Error(this.$L("\u4E24\u6B21\u5BC6\u7801\u8F93\u5165\u4E0D\u4E00\u81F4\uFF01"))):s()},required:!0,trigger:"change"}]}}},computed:{...o(["userInfo","formLabelPosition","formLabelWidth"])},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"users/editpass",data:this.formDatum}).then(({data:e})=>{$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.dispatch("saveUserInfo",e),this.$refs.formDatum.resetFields()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--}))})},resetForm(){this.$refs.formDatum.resetFields()}}},a={};var u=i(l,n,m,!1,p,null,null,null);function p(t){for(let e in a)this[e]=a[e]}var f=function(){return u.exports}();export{f as default}; +import{m as o,n as i}from"./app.139edc4e.js";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"setting-item submit"},[s("Form",{ref:"formDatum",attrs:{model:t.formDatum,rules:t.ruleDatum,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(r){r.preventDefault()}}},[t.userInfo.changepass?s("Alert",{staticStyle:{"margin-bottom":"32px"},attrs:{type:"warning",showIcon:""}},[t._v(t._s(t.$L("\u8BF7\u5148\u4FEE\u6539\u767B\u5F55\u5BC6\u7801\uFF01")))]):t._e(),s("FormItem",{attrs:{label:t.$L("\u65E7\u5BC6\u7801"),prop:"oldpass"}},[s("Input",{attrs:{type:"password"},model:{value:t.formDatum.oldpass,callback:function(r){t.$set(t.formDatum,"oldpass",r)},expression:"formDatum.oldpass"}})],1),s("FormItem",{attrs:{label:t.$L("\u65B0\u5BC6\u7801"),prop:"newpass"}},[s("Input",{attrs:{type:"password"},model:{value:t.formDatum.newpass,callback:function(r){t.$set(t.formDatum,"newpass",r)},expression:"formDatum.newpass"}})],1),s("FormItem",{attrs:{label:t.$L("\u786E\u8BA4\u65B0\u5BC6\u7801"),prop:"checkpass"}},[s("Input",{attrs:{type:"password"},model:{value:t.formDatum.checkpass,callback:function(r){t.$set(t.formDatum,"checkpass",r)},expression:"formDatum.checkpass"}})],1)],1),s("div",{staticClass:"setting-footer"},[s("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),s("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},m=[];const l={data(){return{loadIng:0,formDatum:{oldpass:"",newpass:"",checkpass:""},ruleDatum:{oldpass:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u65E7\u5BC6\u7801\uFF01"),trigger:"change"},{type:"string",min:6,message:this.$L("\u5BC6\u7801\u957F\u5EA6\u81F3\u5C116\u4F4D\uFF01"),trigger:"change"}],newpass:[{validator:(t,e,s)=>{e===""?s(new Error(this.$L("\u8BF7\u8F93\u5165\u65B0\u5BC6\u7801\uFF01"))):(this.formDatum.checkpass!==""&&this.$refs.formDatum.validateField("checkpass"),s())},required:!0,trigger:"change"},{type:"string",min:6,message:this.$L("\u5BC6\u7801\u957F\u5EA6\u81F3\u5C116\u4F4D\uFF01"),trigger:"change"}],checkpass:[{validator:(t,e,s)=>{e===""?s(new Error(this.$L("\u8BF7\u91CD\u65B0\u8F93\u5165\u65B0\u5BC6\u7801\uFF01"))):e!==this.formDatum.newpass?s(new Error(this.$L("\u4E24\u6B21\u5BC6\u7801\u8F93\u5165\u4E0D\u4E00\u81F4\uFF01"))):s()},required:!0,trigger:"change"}]}}},computed:{...o(["userInfo","formLabelPosition","formLabelWidth"])},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&(this.loadIng++,this.$store.dispatch("call",{url:"users/editpass",data:this.formDatum}).then(({data:e})=>{$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.dispatch("saveUserInfo",e),this.$refs.formDatum.resetFields()}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--}))})},resetForm(){this.$refs.formDatum.resetFields()}}},a={};var u=i(l,n,m,!1,p,null,null,null);function p(t){for(let e in a)this[e]=a[e]}var f=function(){return u.exports}();export{f as default}; diff --git a/public/js/build/personal.b664ab75.js b/public/js/build/personal.ca33ed1a.js similarity index 96% rename from public/js/build/personal.b664ab75.js rename to public/js/build/personal.ca33ed1a.js index 2c65494a5..90369021e 100644 --- a/public/js/build/personal.b664ab75.js +++ b/public/js/build/personal.ca33ed1a.js @@ -1 +1 @@ -import{I as i}from"./ImgUpload.6e9513da.js";import{m as o,n}from"./app.bd09c684.js";var m=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5934\u50CF"),prop:"userimg"}},[e("ImgUpload",{attrs:{num:1,width:512,height:512,whcut:1},model:{value:t.formData.userimg,callback:function(a){t.$set(t.formData,"userimg",a)},expression:"formData.userimg"}}),e("span",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A200x200")))])],1),e("FormItem",{attrs:{label:t.$L("\u90AE\u7BB1"),prop:"email"}},[e("Input",{attrs:{disabled:""},model:{value:t.userInfo.email,callback:function(a){t.$set(t.userInfo,"email",a)},expression:"userInfo.email"}})],1),e("FormItem",{attrs:{label:t.$L("\u7535\u8BDD"),prop:"tel"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD")},model:{value:t.formData.tel,callback:function(a){t.$set(t.formData,"tel",a)},expression:"formData.tel"}})],1),e("FormItem",{attrs:{label:t.$L("\u6635\u79F0"),prop:"nickname"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u6635\u79F0")},model:{value:t.formData.nickname,callback:function(a){t.$set(t.formData,"nickname",a)},expression:"formData.nickname"}})],1),e("FormItem",{attrs:{label:t.$L("\u804C\u4F4D/\u804C\u79F0"),prop:"profession"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u804C\u4F4D/\u804C\u79F0")},model:{value:t.formData.profession,callback:function(a){t.$set(t.formData,"profession",a)},expression:"formData.profession"}})],1)],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const f={components:{ImgUpload:i},data(){return{loadIng:0,formData:{userimg:"",email:"",tel:"",nickname:"",profession:""},ruleData:{email:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740\uFF01"),trigger:"change"}],tel:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD\uFF01"),trigger:"change"},{type:"string",min:6,message:this.$L("\u7535\u8BDD\u957F\u5EA6\u81F3\u5C116\u4F4D\uFF01"),trigger:"change"}],nickname:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u6635\u79F0\uFF01"),trigger:"change"},{type:"string",min:2,message:this.$L("\u6635\u79F0\u957F\u5EA6\u81F3\u5C112\u4F4D\uFF01"),trigger:"change"}]}}},mounted(){this.initData()},computed:{...o(["userInfo","formLabelPosition","formLabelWidth"])},watch:{userInfo(){this.initData()}},methods:{initData(){this.$set(this.formData,"userimg",$A.strExists(this.userInfo.userimg,"/avatar")?"":this.userInfo.userimg),this.$set(this.formData,"email",this.userInfo.email),this.$set(this.formData,"tel",this.userInfo.tel),this.$set(this.formData,"nickname",typeof this.userInfo.nickname_original!="undefined"?this.userInfo.nickname_original:this.userInfo.nickname),this.$set(this.formData,"profession",this.userInfo.profession),this.formData_bak=$A.cloneJSON(this.formData)},submitForm(){this.$refs.formData.validate(t=>{if(t){let s=$A.cloneJSON(this.formData);$A.count(s.userimg)==0&&(s.userimg=""),this.loadIng++,this.$store.dispatch("call",{url:"users/editdata",data:s}).then(()=>{$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.dispatch("getUserInfo").catch(()=>{})}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--})}})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},r={};var u=n(f,m,l,!1,c,null,null,null);function c(t){for(let s in r)this[s]=r[s]}var g=function(){return u.exports}();export{g as default}; +import{I as i}from"./ImgUpload.8dae08e9.js";import{m as o,n}from"./app.139edc4e.js";var m=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(a){a.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u5934\u50CF"),prop:"userimg"}},[e("ImgUpload",{attrs:{num:1,width:512,height:512,whcut:1},model:{value:t.formData.userimg,callback:function(a){t.$set(t.formData,"userimg",a)},expression:"formData.userimg"}}),e("span",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A200x200")))])],1),e("FormItem",{attrs:{label:t.$L("\u90AE\u7BB1"),prop:"email"}},[e("Input",{attrs:{disabled:""},model:{value:t.userInfo.email,callback:function(a){t.$set(t.userInfo,"email",a)},expression:"userInfo.email"}})],1),e("FormItem",{attrs:{label:t.$L("\u7535\u8BDD"),prop:"tel"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD")},model:{value:t.formData.tel,callback:function(a){t.$set(t.formData,"tel",a)},expression:"formData.tel"}})],1),e("FormItem",{attrs:{label:t.$L("\u6635\u79F0"),prop:"nickname"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u6635\u79F0")},model:{value:t.formData.nickname,callback:function(a){t.$set(t.formData,"nickname",a)},expression:"formData.nickname"}})],1),e("FormItem",{attrs:{label:t.$L("\u804C\u4F4D/\u804C\u79F0"),prop:"profession"}},[e("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u804C\u4F4D/\u804C\u79F0")},model:{value:t.formData.profession,callback:function(a){t.$set(t.formData,"profession",a)},expression:"formData.profession"}})],1)],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const f={components:{ImgUpload:i},data(){return{loadIng:0,formData:{userimg:"",email:"",tel:"",nickname:"",profession:""},ruleData:{email:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u90AE\u7BB1\u5730\u5740\uFF01"),trigger:"change"}],tel:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u8054\u7CFB\u7535\u8BDD\uFF01"),trigger:"change"},{type:"string",min:6,message:this.$L("\u7535\u8BDD\u957F\u5EA6\u81F3\u5C116\u4F4D\uFF01"),trigger:"change"}],nickname:[{required:!0,message:this.$L("\u8BF7\u8F93\u5165\u6635\u79F0\uFF01"),trigger:"change"},{type:"string",min:2,message:this.$L("\u6635\u79F0\u957F\u5EA6\u81F3\u5C112\u4F4D\uFF01"),trigger:"change"}]}}},mounted(){this.initData()},computed:{...o(["userInfo","formLabelPosition","formLabelWidth"])},watch:{userInfo(){this.initData()}},methods:{initData(){this.$set(this.formData,"userimg",$A.strExists(this.userInfo.userimg,"/avatar")?"":this.userInfo.userimg),this.$set(this.formData,"email",this.userInfo.email),this.$set(this.formData,"tel",this.userInfo.tel),this.$set(this.formData,"nickname",typeof this.userInfo.nickname_original!="undefined"?this.userInfo.nickname_original:this.userInfo.nickname),this.$set(this.formData,"profession",this.userInfo.profession),this.formData_bak=$A.cloneJSON(this.formData)},submitForm(){this.$refs.formData.validate(t=>{if(t){let s=$A.cloneJSON(this.formData);$A.count(s.userimg)==0&&(s.userimg=""),this.loadIng++,this.$store.dispatch("call",{url:"users/editdata",data:s}).then(()=>{$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.dispatch("getUserInfo").catch(()=>{})}).catch(({msg:e})=>{$A.modalError(e)}).finally(e=>{this.loadIng--})}})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},r={};var u=n(f,m,l,!1,c,null,null,null);function c(t){for(let s in r)this[s]=r[s]}var g=function(){return u.exports}();export{g as default}; diff --git a/public/js/build/preview.b5a0d740.js b/public/js/build/preview.b5a0d740.js new file mode 100644 index 000000000..d02749e67 --- /dev/null +++ b/public/js/build/preview.b5a0d740.js @@ -0,0 +1 @@ +import"./app.139edc4e.js";import{p as a}from"./app.139edc4e.js";export{a as default}; diff --git a/public/js/build/preview.d4c536ab.js b/public/js/build/preview.d4c536ab.js deleted file mode 100644 index d54fafcaa..000000000 --- a/public/js/build/preview.d4c536ab.js +++ /dev/null @@ -1 +0,0 @@ -import"./app.bd09c684.js";import{p as a}from"./app.bd09c684.js";export{a as default}; diff --git a/public/js/build/pro.8a3b5ca3.js b/public/js/build/pro.413ec6f5.js similarity index 99% rename from public/js/build/pro.8a3b5ca3.js rename to public/js/build/pro.413ec6f5.js index dc5b628ff..1218c47f5 100644 --- a/public/js/build/pro.8a3b5ca3.js +++ b/public/js/build/pro.413ec6f5.js @@ -1 +1 @@ -import{n as o,l as r,a as l,b as d,s as c}from"./app.bd09c684.js";import{U as u}from"./UpdateLog.cb948ed8.js";var p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-plans no-dark-content"},[a("PageTitle",{attrs:{title:e.appTitle}}),a("div",{staticClass:"top-bg"}),a("div",{staticClass:"top-menu"},[a("div",{staticClass:"header"},[a("div",{staticClass:"z-row"},[a("div",{staticClass:"header-col-sub"},[a("div",{staticClass:"logo",on:{click:e.goHome}})]),a("div",{staticClass:"z-1"},[a("dl",[a("dd",[a("div",{staticClass:"right-info",on:{click:e.goHome}},[e._v(e._s(e.$L("\u8FD4\u56DE\u9996\u9875")))]),e.showItem.updateLog?a("div",{staticClass:"right-info",on:{click:function(s){e.uplogShow=!0}}},[e._v(e._s(e.$L("\u66F4\u65B0\u65E5\u5FD7")))]):e._e(),a("a",{staticClass:"right-info item-center",attrs:{target:"_blank",href:"https://github.com/kuaifan/dootask"}},[a("Icon",{staticClass:"right-icon",attrs:{type:"logo-github"}})],1),a("Dropdown",{staticClass:"right-info",attrs:{trigger:"click"},on:{"on-click":e.onLanguage}},[a("div",{staticClass:"item-center"},[a("Icon",{staticClass:"right-icon",attrs:{type:"md-globe"}}),a("Icon",{attrs:{type:"md-arrow-dropdown"}})],1),a("Dropdown-menu",{attrs:{slot:"list"},slot:"list"},e._l(e.languageList,function(s,n){return a("Dropdown-item",{key:n,attrs:{name:n,selected:e.languageType===n}},[e._v(e._s(s))])}),1)],1)],1)])])])])]),a("div",{staticClass:"banner"},[a("div",{staticClass:"banner-title"},[e._v(" "+e._s(e.$L("\u9009\u62E9\u9002\u5408\u60A8\u7684\u7248\u672C"))+" ")]),a("div",{staticClass:"banner-desc"},[e._v(" "+e._s(e.$L("DooTask \u662F\u65B0\u4E00\u4EE3\u56E2\u961F\u534F\u4F5C\u5E73\u53F0\uFF0C\u60A8\u53EF\u4EE5\u6839\u636E\u60A8\u56E2\u961F\u7684\u9700\u6C42\uFF0C\u9009\u62E9\u5408\u9002\u7684\u4EA7\u54C1\u529F\u80FD\u3002"))+" "),a("br"),e._v(" "+e._s(e.$L("\u4ECE\u73B0\u5728\u5F00\u59CB\uFF0CDooTask \u4E3A\u4E16\u754C\u5404\u5730\u7684\u56E2\u961F\u63D0\u4F9B\u652F\u6301\uFF0C\u63A2\u7D22\u9002\u5408\u60A8\u7684\u9009\u9879\u3002"))+" ")]),a("div",{staticClass:"plans-table"},[a("div",{staticClass:"plans-table-bd plans-table-info"},[a("div",{staticClass:"plans-table-item first"},[a("div",{staticClass:"plans-table-info-th"}),a("div",{staticClass:"plans-table-info-price"},[a("em",[e._v(e._s(e.$L("\u4EF7\u683C")))])]),a("div",{staticClass:"plans-table-info-desc"},[a("em",[e._v(e._s(e.$L("\u6982\u8FF0")))])]),a("div",{staticClass:"plans-table-info-desc"},[a("em",[e._v(e._s(e.$L("\u4EBA\u6570")))])]),a("div",{staticClass:"plans-table-info-desc"},[a("em",[e._v(e._s(e.$L("\u6388\u6743\u65B9\u5F0F")))])]),a("div",{staticClass:"plans-table-info-btn"})]),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("\u666E\u901A\u7248")))]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/free.png"}}),e._m(0)],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u529F\u80FD\u8F83\u5C11\u53EF\u80FD\u4F1A\u505C\u66F4")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u9650\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u987B\u6388\u6743")))]),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/v0.13.0",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("Pro\u514D\u8D39\u7248")))]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/free.png"}}),e._m(1)],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u62E5\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("3\u4EBA")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v("License")]),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("Pro\u8BA2\u9605\u7248"))+" "),a("span",[e._v(e._s(e.$L("\u63A8\u8350")))])]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/pro.png"}}),e._m(2)],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u62E5\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u9650\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v("License")]),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1),a("ETooltip",{attrs:{content:e.$L("\u5E10\u53F7\uFF1Aadmin\u3001\u5BC6\u7801\uFF1A123456")}},[a("a",{staticClass:"btn mini",attrs:{href:"https://www.dootask.com",target:"_blank"}},[e._v(e._s(e.$L("\u4F53\u9A8CDEMO")))])])],1)])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("\u5B9A\u5236\u7248")))]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/custom.png"}}),a("div",{staticClass:"currency"},[a("em",{staticClass:"custom"},[e._v(e._s(e.$L("\u81EA\u5B9A\u4E49")))])])],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u6839\u636E\u60A8\u7684\u9700\u6C42\u91CF\u8EAB\u5B9A\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u9650\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v("License")]),a("div",{staticClass:"plans-table-info-btn"},[a("a",{staticClass:"btn btn-contact",attrs:{href:"javascript:void(0)"},on:{click:function(s){e.contactShow=!0}}},[e._v(e._s(e.$L("\u8054\u7CFB\u6211\u4EEC")))])])])]),a("div",{staticClass:"plans-accordion-head",class:{"plans-accordion-close":!e.body1},on:{click:function(s){e.body1=!e.body1}}},[a("div",{staticClass:"first"},[a("span",[e._v(e._s(e.$L("\u5E94\u7528\u652F\u6301")))])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}}),a("span",[a("Icon",{attrs:{type:"ios-arrow-down"}})],1)]),e.body1?a("div",{staticClass:"plans-accordion-body"},[a("div",{staticClass:"plans-table-bd plans-table-app"},[a("div",{staticClass:"plans-table-item first"},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[e._v(e._s(e.$L(s.label)))])}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[0]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[1]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[2]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[3]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0)])]):e._e(),a("div",{staticClass:"plans-accordion-head",class:{"plans-accordion-close":!e.body2},on:{click:function(s){e.body2=!e.body2}}},[a("div",{staticClass:"first"},[a("span",[e._v(e._s(e.$L("\u670D\u52A1\u652F\u6301")))])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}}),a("span",[a("Icon",{attrs:{type:"ios-arrow-down"}})],1)]),e.body2?a("div",{staticClass:"plans-accordion-body"},[a("div",{staticClass:"plans-table-bd plans-table-app plans-table-service"},[a("div",{staticClass:"plans-table-item first"},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[e._v(" "+e._s(e.$L(s.label))+" "),s.sublabel?a("span",[e._v(e._s(e.$L(s.sublabel)))]):e._e()])}),a("div",{staticClass:"plans-table-info-btn"})],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[0]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/v0.13.0",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[1]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[2]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1),a("ETooltip",{attrs:{content:e.$L("\u5E10\u53F7\uFF1Aadmin\u3001\u5BC6\u7801\uFF1A123456")}},[a("a",{staticClass:"btn mini",attrs:{href:"https://www.dootask.com",target:"_blank"}},[e._v(e._s(e.$L("\u4F53\u9A8CDEMO")))])])],1)])],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[3]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("a",{staticClass:"btn btn-contact",attrs:{href:"javascript:void(0)"},on:{click:function(s){e.contactShow=!0}}},[e._v(e._s(e.$L("\u8054\u7CFB\u6211\u4EEC")))])])],2)])]):e._e()])]),a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"fluid-info fluid-info-1"},[a("div",{staticClass:"fluid-info-item"},[a("div",{staticClass:"info-title"},[e._v(" "+e._s(e.$L("\u591A\u79CD\u90E8\u7F72\u65B9\u5F0F\u968F\u5FC3\u9009\u62E9"))+" ")]),a("div",{staticClass:"info-function"},[a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/1.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u516C\u6709\u4E91"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u65E0\u9700\u672C\u5730\u73AF\u5883\u51C6\u5907\uFF0C\u6309\u9700\u8D2D\u4E70\u5E10\u6237\uFF0C\u4E13\u4E1A\u56E2\u961F\u63D0\u4F9B\u8FD0\u7EF4\u4FDD\u969C\u670D\u52A1\uFF0C\u4E24\u5468\u4E00\u6B21\u7684\u7248\u672C\u8FED\u4EE3"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/2.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u79C1\u6709\u4E91"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u4F01\u4E1A\u9694\u79BB\u7684\u4E91\u670D\u52A1\u5668\u73AF\u5883\uFF0C\u9AD8\u53EF\u7528\u6027\uFF0C\u7F51\u7EDC\u53CA\u5E94\u7528\u5C42\u5B8C\u6574\u9694\u79BB\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-80"},[a("ImgView",{attrs:{src:"images/pro/3.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u672C\u5730\u670D\u52A1\u5668"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u57FA\u4E8E Docker \u7684\u5BB9\u5668\u5316\u90E8\u7F72\uFF0C\u652F\u6301\u9AD8\u53EF\u7528\u96C6\u7FA4\uFF0C\u5FEB\u901F\u5F39\u6027\u6269\u5C55\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7"))+" ")])])])])])]),a("div",{staticClass:"fluid-info"},[a("div",{staticClass:"fluid-info-item"},[a("div",{staticClass:"info-title"},[e._v(" "+e._s(e.$L("\u5B8C\u5584\u7684\u670D\u52A1\u652F\u6301\u4F53\u7CFB"))+" ")]),a("div",{staticClass:"info-function"},[a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/4.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("1:1\u5BA2\u6237\u6210\u529F\u987E\u95EE"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u8D44\u6DF1\u5BA2\u6237\u6210\u529F\u987E\u95EE\u5BF9\u4F01\u4E1A\u8FDB\u884C\u8C03\u7814\u3001\u6C9F\u901A\u9700\u6C42\u3001\u5236\u5B9A\u4E2A\u6027\u5316\u7684\u89E3\u51B3\u65B9\u6848\uFF0C\u5E2E\u52A9\u4F01\u4E1A\u843D\u5730"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-80"},[a("ImgView",{attrs:{src:"images/pro/5.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u5B8C\u5584\u7684\u57F9\u8BAD\u4F53\u7CFB"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u6839\u636E\u9700\u6C42\u5B9A\u5236\u57F9\u8BAD\u5185\u5BB9\uFF0C\u4E3A\u4E0D\u540C\u89D2\u8272\u7ED9\u51FA\u4E13\u5C5E\u57F9\u8BAD\u65B9\u6848\uFF0C\u7EBF\u4E0A\u7EBF\u4E0B\u57F9\u8BAD\u6E20\u9053\u5168\u8986\u76D6"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/6.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u5168\u9762\u7684\u652F\u6301\u670D\u52A1"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u79CD\u652F\u6301\u670D\u52A1\u8BA9\u4F01\u4E1A\u65E0\u540E\u987E\u4E4B\u5FE7\uFF0C7x24 \u7EBF\u4E0A\u652F\u6301\u3001\u5728\u7EBF\u5DE5\u5355\u3001\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301\u3001\u4E0A\u95E8\u652F\u6301"))+" ")])])])])])]),a("div",{staticClass:"fluid-info fluid-info-3"},[a("div",{staticClass:"fluid-info-item"},[a("div",{staticClass:"info-title"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u5B89\u5168\u7B56\u7565\u4FDD\u62A4\u6570\u636E"))+" ")]),a("div",{staticClass:"info-function"},[a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/7.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u9AD8\u53EF\u7528\u6027\u4FDD\u8BC1"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u4E22\u5931\uFF0C\u9AD8\u53EF\u7528\u6545\u969C\u8F6C\u79FB\uFF0C\u5F02\u5730\u5BB9\u707E\u5907\u4EFD\uFF0C99.99%\u53EF\u7528\u6027\u4FDD\u8BC1"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-80"},[a("ImgView",{attrs:{src:"images/pro/8.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u6570\u636E\u52A0\u5BC6"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u6CC4\u6F0F\uFF0C\u57FA\u4E8E TLS \u7684\u6570\u636E\u52A0\u5BC6\u4F20\u8F93\uFF0CDDOS \u9632\u5FA1\u548C\u5165\u4FB5\u68C0\u6D4B"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-50"},[a("ImgView",{attrs:{src:"images/pro/9.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u5E10\u6237\u5B89\u5168"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u5E10\u6237\u5B89\u5168\uFF0C\u8FDC\u7A0B\u4F1A\u8BDD\u63A7\u5236\uFF0C\u8BBE\u5907\u7ED1\u5B9A\uFF0C\u5B89\u5168\u65E5\u5FD7\u4EE5\u53CA\u624B\u52BF\u5BC6\u7801"))+" ")])])])])])])]),e.systemConfig.home_footer?a("div",{staticClass:"contact-footer"},[a("span",{domProps:{innerHTML:e._s(e.systemConfig.home_footer)}})]):e._e(),a("Modal",{attrs:{title:e.$L("\u8054\u7CFB\u6211\u4EEC"),width:"430"},model:{value:e.contactShow,callback:function(s){e.contactShow=s},expression:"contactShow"}},[a("p",[e._v(e._s(e.$L("\u5982\u6709\u4EFB\u4F55\u95EE\u9898\uFF0C\u6B22\u8FCE\u4F7F\u7528\u90AE\u7BB1\u4E0E\u6211\u4EEC\u8054\u7CFB\u3002")))]),a("p",[e._v(e._s(e.$L("\u90AE\u7BB1\u5730\u5740\uFF1Aaipaw@live.cn")))]),a("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:function(s){e.contactShow=!1}}},[e._v(e._s(e.$L("\u786E\u5B9A")))])],1)]),a("UpdateLog",{attrs:{"update-log":e.showItem.updateLog,"update-ver":e.showItem.updateVer},model:{value:e.uplogShow,callback:function(s){e.uplogShow=s},expression:"uplogShow"}})],1)},h=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"currency"},[a("em",[e._v("0")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"currency"},[a("em",[e._v("0")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"currency"},[a("em",[e._v("18800")])])}];const v={components:{UpdateLog:u},data(){return{languageList:r,languageType:l,active:3,body1:!0,body2:!0,contactShow:!1,systemConfig:{},showItem:{pro:!1,github:"",updateLog:"",updateVer:""},uplogShow:!1,functions:[{label:"\u9879\u76EE\u7BA1\u7406",supports:[1,1,1,1]},{label:"\u6587\u4EF6\u7BA1\u7406",supports:[1,1,1,1]},{label:"\u56E2\u961F\u7BA1\u7406",supports:[1,1,1,1]},{label:"\u5373\u65F6\u804A\u5929",supports:[1,1,1,1]},{label:"\u5B50\u4EFB\u52A1",supports:[1,1,1,1]},{label:"\u56FD\u9645\u5316",supports:[1,1,1,1]},{label:"\u7518\u7279\u56FE",supports:[1,1,1,1]},{label:"\u4EFB\u52A1\u52A8\u6001",supports:[1,1,1,1]},{label:"\u5BFC\u51FA\u4EFB\u52A1",supports:[1,1,1,1]},{label:"\u65E5\u7A0B",supports:[1,1,1,1]},{label:"\u5468\u62A5/\u65E5\u62A5",supports:[1,1,1,1]},{label:"\u521B\u5EFA\u7FA4\u804A",supports:[1,1,1,1]},{label:"\u9879\u76EE\u7FA4\u804A",supports:[1,1,1,1]},{label:"\u9879\u76EE\u641C\u7D22",supports:[1,1,1,1]},{label:"\u4EFB\u52A1\u7C7B\u578B",supports:[1,1,1,1]},{label:"\u6587\u4EF6\u641C\u7D22",supports:[1,1,1,1]},{label:"\u4E8C\u7EF4\u7801\u767B\u5F55",supports:[0,1,1,1]},{label:"\u804A\u5929\u673A\u5668\u4EBA",supports:[0,1,1,1]},{label:"\u6D88\u606F\u514D\u6253\u6270",supports:[0,1,1,1]},{label:"\u6D88\u606F\u6807\u6CE8",supports:[0,1,1,1]},{label:"\u53D1\u9001\u8BED\u97F3\u6D88\u606F",supports:[0,1,1,1]},{label:"\u4F1A\u8BAE\u529F\u80FD",supports:[0,1,1,1]},{label:"\u90E8\u95E8\u529F\u80FD",supports:[0,1,1,1]},{label:"\u7B7E\u5230\u529F\u80FD",supports:[0,1,1,1]},{label:"LDAP\u767B\u5F55",supports:[0,1,1,1]},{label:"\u4E34\u65F6\u5E10\u53F7",supports:[0,1,1,1]},{label:"\u533F\u540D\u6D88\u606F",supports:[0,1,1,1]},{label:"\u56DE\u590D\u6D88\u606F",supports:[0,1,1,1]},{label:"\u8868\u60C5\u56DE\u590D",supports:[0,1,1,1]},{label:"\u641C\u7D22\u6D88\u606F",supports:[0,1,1,1]},{label:"\u4EFB\u52A1\u91CD\u590D\u5468\u671F",supports:[0,1,1,1]},{label:"Mac/PC\u5BA2\u6237\u7AEF",supports:[0,1,1,1]},{label:"iOS/Android\u5BA2\u6237\u7AEF",supports:[0,1,1,1]}],services:[{label:"\u81EA\u52A9\u652F\u6301",sublabel:"\uFF08Issues/\u793E\u7FA4\uFF09",supports:[1,1,1,1]},{label:"\u652F\u6301\u79C1\u6709\u5316\u90E8\u7F72",supports:[1,1,1,1]},{label:"\u7ED1\u5B9A\u81EA\u6709\u57DF\u540D",supports:[1,1,1,1]},{label:"\u4E8C\u6B21\u5F00\u53D1",supports:[1,1,1,1]},{label:"\u4E8C\u6B21\u5F00\u53D1\u54A8\u8BE2\u670D\u52A1",supports:[0,0,1,1]},{label:"\u5141\u8BB8\u9690\u85CF\u6216\u5B9A\u5236\u4EA7\u54C1\u540D",supports:[0,0,1,1]},{label:"\u5728\u7EBF\u54A8\u8BE2\u652F\u6301",supports:[0,0,1,1]},{label:"\u7535\u8BDD\u54A8\u8BE2\u652F\u6301",supports:[0,0,1,1]},{label:"\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301",supports:[0,0,1,1]},{label:"\u4E00\u5BF9\u4E00\u5BA2\u6237\u987E\u95EE",supports:[0,0,1,1]},{label:"\u4EA7\u54C1\u57F9\u8BAD",supports:[0,0,1,1]},{label:"\u4E0A\u95E8\u652F\u6301",supports:[0,0,1,1]},{label:"\u4E13\u5C5E\u5BA2\u6237\u6210\u529F\u7ECF\u7406",supports:[0,0,1,1]},{label:"\u514D\u8D39\u63D0\u4F9B\u4E00\u6B21\u5185\u8BAD",supports:[0,0,1,1]},{label:"\u660E\u661F\u5BA2\u6237\u6848\u4F8B",supports:[0,0,1,1]}]}},created(){d([{key:"\u591A\u79CD\u652F\u6301\u670D\u52A1\u8BA9\u4F01\u4E1A\u65E0\u540E\u987E\u4E4B\u5FE7\uFF0C7x24 \u7EBF\u4E0A\u652F\u6301\u3001\u5728\u7EBF\u5DE5\u5355\u3001\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301\u3001\u4E0A\u95E8\u652F\u6301",zh:"","zh-CHT":"\u591A\u7A2E\u652F\u6301\u670D\u52D9\u8B93\u4F01\u696D\u7121\u5F8C\u9867\u4E4B\u6182\uFF0C7x24 \u7DDA\u4E0A\u652F\u6301\u3001\u5728\u7DDA\u5DE5\u55AE\u3001\u4E2D\u82F1\u6587\u90F5\u4EF6\u652F\u6301\u3001\u4E0A\u9580\u652F\u6301",en:"A variety of support services let the enterprise no worries, 7x24 online support, online work order, English and Chinese email support, door-to-door support",ko:"\uB2E4\uC591\uD55C \uC9C0\uC6D0 \uC11C\uBE44\uC2A4, 7x24 \uC628\uB77C\uC778 \uC9C0\uC6D0, \uC628\uB77C\uC778 \uC5C5\uBB34 \uC8FC\uBB38, \uC911\uC601\uBB38 \uC774\uBA54\uC77C \uC9C0\uC6D0, \uBC29\uBB38 \uC9C0\uC6D0 \uB4F1 \uAE30\uC5C5\uC774 \uADFC\uC2EC\uAC71\uC815\uC774 \uC5C6\uB3C4\uB85D \uD569\uB2C8\uB2E4",ja:"7x24\u30AA\u30F3\u30E9\u30A4\u30F3\u30B5\u30DD\u30FC\u30C8\u3001\u30AA\u30F3\u30E9\u30A4\u30F3\u30DE\u30CB\u30E5\u30A2\u30EB\u3001\u4E2D\u56FD\u8A9E\u3068\u82F1\u8A9E\u306E\u30E1\u30FC\u30EB\u30B5\u30DD\u30FC\u30C8\u3001\u8A2A\u554F\u30B5\u30DD\u30FC\u30C8\u306A\u3069\u3001\u69D8\u3005\u306A\u30B5\u30DD\u30FC\u30C8\u30B5\u30FC\u30D3\u30B9\u304C\u3042\u308A\u307E\u3059\u3002",de:"Eine reihe Von unterst\xFCtzungsdiensten hat dieses unternehmen unerreichbar gemacht: online-unterst\xFCtzung auf der 7x24 online-seite, online-unterst\xFCtzung, chinesische und englische mails sowie unterst\xFCtzung zu hause",fr:"Une vari\xE9t\xE9 de services de soutien pour les entreprises sans soucis, 7x24 support en ligne, ordres de travail en ligne, chinois et anglais soutien par courrier \xE9lectronique, soutien \xE0 la porte",id:"Berbagai layanan dukungan telah membantu usaha mereka"},{key:"\u65E0\u9700\u672C\u5730\u73AF\u5883\u51C6\u5907\uFF0C\u6309\u9700\u8D2D\u4E70\u5E10\u6237\uFF0C\u4E13\u4E1A\u56E2\u961F\u63D0\u4F9B\u8FD0\u7EF4\u4FDD\u969C\u670D\u52A1\uFF0C\u4E24\u5468\u4E00\u6B21\u7684\u7248\u672C\u8FED\u4EE3",zh:"","zh-CHT":"\u7121\u9700\u672C\u5730\u74B0\u5883\u6E96\u5099\uFF0C\u6309\u9700\u8CFC\u8CB7\u5E33\u6236\uFF0C\u5C08\u696D\u5718\u968A\u63D0\u4F9B\u904B\u7DAD\u4FDD\u969C\u670D\u52D9\uFF0C\u5169\u9031\u4E00\u6B21\u7684\u7248\u672C\u8FED\u4EE3",en:"No need for local environment preparation, purchase accounts on demand, professional team to provide operation and maintenance services, biweekly version iteration",ko:"\uC9C0\uC5ED \uD658\uACBD\uC5D0 \uB300\uD55C \uC900\uBE44 \uC5C6\uC774 \uC8FC\uBB38\uD615 \uACC4\uC815\uC744 \uAD6C\uC785\uD558\uBA70 \uC804\uBB38 \uD300\uC5D0 \uC758\uD574 \uC6B4\uC601 \uAD00\uB9AC \uC11C\uBE44\uC2A4\uAC00 \uC81C\uACF5\uB418\uBA70 2\uC8FC\uC5D0 \uD55C \uBC88\uC529 \uBC84\uC804\uC744 \uBC18\uBCF5\uD569\uB2C8\uB2E4",ja:"\u30ED\u30FC\u30AB\u30EB\u74B0\u5883\u306E\u6E96\u5099\u306F\u5FC5\u8981\u3042\u308A\u307E\u305B\u3093\u3001\u30AA\u30F3\u30C7\u30DE\u30F3\u30C9\u3067\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u8CFC\u5165\u3001\u5C02\u9580\u30C1\u30FC\u30E0\u306B\u3088\u308B\u904B\u7528\u30FB\u4FDD\u5B88\u4FDD\u8A3C\u30B5\u30FC\u30D3\u30B9\u30012\u9031\u9593\u306B1\u56DE\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u53CD\u5FA9",de:"Fachgruppen liefern personensicherungsdienste, ohne dass die \xF6rtlichen gegebenheiten ber\xFCcksichtigt werden m\xFCssen, und liefern zweiw\xF6chige versionen Von isps",fr:"Aucune pr\xE9paration de l\u2019environnement local, achat de compte \xE0 la demande, service de garantie o&e par une \xE9quipe sp\xE9cialis\xE9e, it\xE9ration de la version bi-hebdomadaire",id:"Tak perlu persiapan lingkungan lokal, membeli rekening yang diperlukan, dan tim profesional menyediakan layanan pengamanan transportasi, dan iterasi versi dua minggu"},{key:"\u8D44\u6DF1\u5BA2\u6237\u6210\u529F\u987E\u95EE\u5BF9\u4F01\u4E1A\u8FDB\u884C\u8C03\u7814\u3001\u6C9F\u901A\u9700\u6C42\u3001\u5236\u5B9A\u4E2A\u6027\u5316\u7684\u89E3\u51B3\u65B9\u6848\uFF0C\u5E2E\u52A9\u4F01\u4E1A\u843D\u5730",zh:"","zh-CHT":"\u8CC7\u6DF1\u5BA2\u6236\u6210\u529F\u9867\u554F\u5C0D\u4F01\u696D\u9032\u884C\u8ABF\u7814\u3001\u6E9D\u901A\u9700\u6C42\u3001\u5236\u5B9A\u500B\u6027\u5316\u7684\u89E3\u6C7A\u65B9\u6848\uFF0C\u5E6B\u52A9\u4F01\u696D\u843D\u5730",en:"Senior customer success consultant to the enterprise research, communication needs, develop personalized solutions, to help the enterprise landing",ko:"\uBCA0\uD14C\uB791 \uACE0\uAC1D \uC131\uACF5 \uACE0\uBB38\uC740 \uAE30\uC5C5\uC5D0 \uB300\uD574 \uC870\uC0AC \uC5F0\uAD6C\uB97C \uC9C4\uD589\uD558\uACE0, \uC694\uAD6C\uB97C \uC18C\uD1B5\uD558\uBA70, \uAC1C\uC131\uD654\uB41C \uD574\uACB0 \uBC29\uC548\uC744 \uC81C\uC815\uD558\uC5EC \uAE30\uC5C5\uC758 \uC815\uCC29\uC744 \uB3D5\uC2B5\uB2C8\uB2E4",ja:"\u30D9\u30C6\u30E9\u30F3\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u6210\u529F\u30B3\u30F3\u30B5\u30EB\u30BF\u30F3\u30C8\u306F\u3001\u4F01\u696D\u306E\u30CB\u30FC\u30BA\u3092\u8ABF\u67FB\u3057\u3001\u30B3\u30DF\u30E5\u30CB\u30B1\u30FC\u30B7\u30E7\u30F3\u3057\u3001\u7B87\u6027\u5316\u3055\u308C\u305F\u89E3\u6C7A\u6848\u3092\u4F5C\u6210\u3057\u3066\u3001\u4F01\u696D\u306E\u5B9A\u7740\u3092\u652F\u63F4\u3057\u307E\u3059\u3002",de:"Erfahrene berater berater recherchieren, kommunizieren und individuelle l\xF6sungen erarbeiten, die das unternehmen zum scheitern bringen",fr:"Le conseiller senior de succ\xE8s de client effectue des recherches sur les entreprises, communique les besoins, \xE9labore des solutions personnalis\xE9es, aide les entreprises \xE0 atterrir",id:"Konsultan senior yang berhasil melakukan riset, kebutuhan komunikasi, dan resolusi pribadi untuk membantu bisnis ini mendarat"},{key:"\u4F01\u4E1A\u9694\u79BB\u7684\u4E91\u670D\u52A1\u5668\u73AF\u5883\uFF0C\u9AD8\u53EF\u7528\u6027\uFF0C\u7F51\u7EDC\u53CA\u5E94\u7528\u5C42\u5B8C\u6574\u9694\u79BB\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",zh:"","zh-CHT":"\u4F01\u696D\u9694\u96E2\u7684\u96F2\u670D\u52D9\u5668\u74B0\u5883\uFF0C\u9AD8\u53EF\u7528\u6027\uFF0C\u7DB2\u7D61\u53CA\u61C9\u7528\u5C64\u5B8C\u6574\u9694\u96E2\uFF0C\u6578\u64DA\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",en:"Enterprise isolated cloud server environment, high availability, complete isolation of network and application layer, highly autonomous and controllable data",ko:"\uAE30\uC5C5\uC5D0\uC11C \uACA9\uB9AC\uB41C \uD074\uB77C\uC6B0\uB4DC \uC11C\uBC84 \uD658\uACBD\uC740 \uAC00\uC6A9\uC131\uC774 \uB192\uC544 \uB124\uD2B8\uC6CC\uD06C\uC640 \uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uACC4\uCE35\uC774 \uC644\uC804\uD788 \uACA9\uB9AC\uB418\uACE0 \uB370\uC774\uD130\uAC00 \uACE0\uB3C4\uB85C \uC790\uC728\uC801\uC774\uACE0 \uC81C\uC5B4\uAC00 \uAC00\uB2A5\uD558\uB2E4",ja:"\u4F01\u696D\u304B\u3089\u5206\u96E2\u3055\u308C\u305F\u30AF\u30E9\u30A6\u30C9\u30B5\u30FC\u30D0\u30FC\u74B0\u5883\u3001\u9AD8\u53EF\u7528\u6027\u3001\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u304A\u3088\u3073\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u5C64\u306E\u5B8C\u5168\u306A\u5206\u96E2\u3001\u30C7\u30FC\u30BF\u306E\u9AD8\u5EA6\u306A\u81EA\u5F8B\u5236\u5FA1\u304C\u53EF\u80FD\u3067\u3059\u3002",de:"Cloud-server-umfeld zur unternehmensquaranting, hohe verf\xFCgbarkeit, vollst\xE4ndige cyber-isolation und vorhersehbare daten",fr:"Environnement de serveur cloud isol\xE9 pour les entreprises, haute disponibilit\xE9, isolation compl\xE8te des couches r\xE9seau et application, haute autonomie et contr\xF4le des donn\xE9es",id:"Lingkungan server awan yang terisolasi dari bisnis, sangat tersedia, jaringan dan lapisan aplikasi aman, dan data sangat otonom"},{key:"\u6839\u636E\u9700\u6C42\u5B9A\u5236\u57F9\u8BAD\u5185\u5BB9\uFF0C\u4E3A\u4E0D\u540C\u89D2\u8272\u7ED9\u51FA\u4E13\u5C5E\u57F9\u8BAD\u65B9\u6848\uFF0C\u7EBF\u4E0A\u7EBF\u4E0B\u57F9\u8BAD\u6E20\u9053\u5168\u8986\u76D6",zh:"","zh-CHT":"\u6839\u64DA\u9700\u6C42\u5B9A\u88FD\u57F9\u8A13\u5167\u5BB9\uFF0C\u7232\u4E0D\u540C\u89D2\u8272\u7D66\u51FA\u5C08\u5C6C\u57F9\u8A13\u65B9\u6848\uFF0C\u7DDA\u4E0A\u7DDA\u4E0B\u57F9\u8A13\u6E20\u9053\u5168\u8986\u84CB",en:"Training content is customized according to the needs, and exclusive training programs are provided for different roles, with full coverage of online and offline training channels",ko:"\uC218\uC694\uC5D0 \uB530\uB77C \uD6C8\uB828\uB0B4\uC6A9\uC744 \uB9DE\uCDA4\uD654\uD558\uACE0 \uBD80\uB3D9\uD55C \uC5ED\uD560\uC744 \uC704\uD574 \uC804\uC18D\uC801\uC778 \uAD50\uC721\uBC29\uC548\uC744 \uB0B4\uB193\uC73C\uBA70 \uC628\uB77C\uC778\uACFC \uC624\uD504\uB77C\uC778\uC758 \uAD50\uC721\uACBD\uB85C\uB97C \uC804\uBA74\uC801\uC73C\uB85C \uCEE4\uBC84\uD55C\uB2E4",ja:"\u30CB\u30FC\u30BA\u306B\u5408\u308F\u305B\u3066\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u5185\u5BB9\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u3001\u305D\u308C\u305E\u308C\u306E\u30AD\u30E3\u30E9\u30AF\u30BF\u30FC\u306B\u5408\u3063\u305F\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u30D7\u30E9\u30F3\u3092\u63D0\u4F9B\u3057\u3066\u3044\u307E\u3059\u3002\u30AA\u30F3\u30E9\u30A4\u30F3\u3068\u30AA\u30D5\u30E9\u30A4\u30F3\u306E\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u3092\u3059\u3079\u3066\u30AB\u30D0\u30FC\u3057\u3066\u3044\u307E\u3059\u3002",de:"Weicht man Von den anforderungen ab, werden spezielle ausbildungsprogramme f\xFCr die unterschiedlichen rollen bereitgestellt und \xFCber alle online-kan\xE4le bereitgestellt",fr:"Personnaliser le contenu de la formation en fonction de la demande, donner des programmes de formation exclusifs pour diff\xE9rents r\xF4les, couverture compl\xE8te des canaux de formation en ligne et hors ligne",id:"Program pelatihan eksklusif untuk berbagai peran diberikan, sesuai dengan kebutuhan, dan saluran pelatihan via telepon yang disesuaikan"},{key:"DooTask \u662F\u65B0\u4E00\u4EE3\u56E2\u961F\u534F\u4F5C\u5E73\u53F0\uFF0C\u60A8\u53EF\u4EE5\u6839\u636E\u60A8\u56E2\u961F\u7684\u9700\u6C42\uFF0C\u9009\u62E9\u5408\u9002\u7684\u4EA7\u54C1\u529F\u80FD\u3002",zh:"","zh-CHT":"DooTask \u662F\u65B0\u4E00\u4EE3\u5718\u968A\u5354\u4F5C\u5E73\u81FA\uFF0C\u60A8\u53EF\u4EE5\u6839\u64DA\u60A8\u5718\u968A\u7684\u9700\u6C42\uFF0C\u9078\u64C7\u5408\u9069\u7684\u7522\u54C1\u529F\u80FD\u3002",en:"DooTask is a next-generation team collaboration platform that allows you to select the right product features for your team's needs.",ko:"'\uB450\uD0DC\uC2A4\uD06C'\uB294 \uD300\uC758 \uD544\uC694\uC5D0 \uB530\uB77C \uC81C\uD488\uC5D0 \uB9DE\uB294 \uAE30\uB2A5\uC744 \uC120\uD0DD\uD560 \uC218 \uC788\uB294 \uCC28\uC138\uB300 \uD300\uC6CC\uD06C \uD50C\uB7AB\uD3FC\uC785\uB2C8\uB2E4.",ja:"DooTask\u306F\u6B21\u4E16\u4EE3\u306E\u30C1\u30FC\u30E0\u30EF\u30FC\u30AF\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u3067\u3059\u3002\u30C1\u30FC\u30E0\u306E\u30CB\u30FC\u30BA\u306B\u5FDC\u3058\u3066\u3001\u9069\u5207\u306A\u88FD\u54C1\u6A5F\u80FD\u3092\u9078\u3076\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002",de:"Die dingsda ist die h\xE4rtere arbeitsplatte, mit der sie die produktfunktion nach den bed\xFCrfnissen ihrer gruppe ausw\xE4hlen k\xF6nnen.",fr:"DooTask est une plateforme de collaboration d\u2019\xE9quipe de nouvelle g\xE9n\xE9ration. En fonction des besoins de votre \xE9quipe, vous pouvez choisir les fonctionnalit\xE9s de produit appropri\xE9es.",id:"Penugasan adalah platform kerjasama tim generasi baru. Anda dapat memilih fitur produk yang sesuai sesuai kebutuhan tim anda."},{key:"\u57FA\u4E8E Docker \u7684\u5BB9\u5668\u5316\u90E8\u7F72\uFF0C\u652F\u6301\u9AD8\u53EF\u7528\u96C6\u7FA4\uFF0C\u5FEB\u901F\u5F39\u6027\u6269\u5C55\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",zh:"","zh-CHT":"\u57FA\u65BC Docker \u7684\u5BB9\u5668\u5316\u90E8\u7F72\uFF0C\u652F\u6301\u9AD8\u53EF\u7528\u96C6\u7FA3\uFF0C\u5FEB\u901F\u5F48\u6027\u64F4\u5C55\uFF0C\u6578\u64DA\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",en:"Containerized deployment based on Docker supports high availability cluster, fast and elastic expansion, and highly autonomous and controllable data",ko:"Docker \uAE30\uBC18\uC758 \uCEE8\uD14C\uC774\uB108\uD654 \uBC30\uD3EC\uB97C \uD1B5\uD574 \uACE0\uAC00\uC6A9\uC131 \uD074\uB7EC\uC2A4\uD130, \uBE60\uB978 \uD0C4\uB825\uC131, \uB192\uC740 \uC790\uC728\uC801 \uB370\uC774\uD130 \uC81C\uC5B4\uAC00 \uAC00\uB2A5\uD558\uB2E4",ja:"Docker\u30D9\u30FC\u30B9\u306E\u30B3\u30F3\u30C6\u30CA\u5316\u914D\u7F6E\u3001\u9AD8\u5229\u7528\u53EF\u80FD\u306A\u30AF\u30E9\u30B9\u30BF\u306E\u30B5\u30DD\u30FC\u30C8\u3001\u8FC5\u901F\u3067\u67D4\u8EDF\u306A\u62E1\u5F35\u3001\u9AD8\u5EA6\u306B\u81EA\u5F8B\u7684\u306A\u30C7\u30FC\u30BF\u5236\u5FA1\u304C\u53EF\u80FD\u3067\u3059\u3002",de:"Basierend auf dockers containern ist es m\xF6glich, starke agglomerationen zu bilden, die eine hohe elastizit\xE4t und kontrollierbare daten erm\xF6glichen",fr:"D\xE9ploiement container bas\xE9 sur Docker, prise en charge de clusters hautement disponibles, expansion rapide et \xE9lastique, donn\xE9es hautement autonomes et contr\xF4lables",id:"Penyebaran penahanan berbasis Docker, mendukung cluster yang sangat tersedia, perpanjangan cepat lentur, dan data sangat otonom"},{key:"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u4E22\u5931\uFF0C\u9AD8\u53EF\u7528\u6545\u969C\u8F6C\u79FB\uFF0C\u5F02\u5730\u5BB9\u707E\u5907\u4EFD\uFF0C99.99%\u53EF\u7528\u6027\u4FDD\u8BC1",zh:"","zh-CHT":"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8B49\u6578\u64DA\u4E0D\u4E1F\u5931\uFF0C\u9AD8\u53EF\u7528\u6545\u969C\u8F49\u79FB\uFF0C\u7570\u5730\u5BB9\u707D\u5099\u4EFD\uFF0C99.99%\u53EF\u7528\u6027\u4FDD\u8B49",en:"Multiple modes guarantee data loss, high availability failover, remote disaster recovery backup, and 99.99% availability",ko:"\uB2E4\uC911\uBC29\uC2DD\uC73C\uB85C \uB370\uC774\uD0C0\uAC00 \uBD84\uC2E4\uB418\uC9C0 \uC54A\uB3C4\uB85D \uB2F4\uBCF4\uD558\uACE0 \uACE0\uAC00\uC6A9\uC131 \uACE0\uC7A5\uC804\uC774, \uD0C0\uC9C0\uC5ED\uC7AC\uD574\uD5C8\uC6A9\uBC31\uC5C5\uD558\uC5EC 99.99%\uC758 \uAC00\uC6A9\uC131\uC744 \uBCF4\uC7A5\uD55C\uB2E4",ja:"\u591A\u91CD\u306E\u65B9\u5F0F\u306F\u30C7\u30FC\u30BF\u304C\u5931\u308F\u306A\u3044\u3053\u3068\u3092\u4FDD\u8A3C\u3057\u3066\u3001\u9AD8\u5229\u7528\u53EF\u80FD\u306A\u6545\u969C\u306E\u8EE2\u79FB\u3001\u7570\u5730\u306B\u707D\u5BB3\u3092\u8A31\u5BB9\u3059\u308B\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u300199.99%\u5229\u7528\u53EF\u80FD\u6027\u306E\u4FDD\u8A3C\u3067\u3059",de:"Mehrere wege, um sicherzustellen, dass keine daten verloren gehen, st\xF6rungen werden hoch gelagert, eine externe erdbebensicherung: 999%",fr:"Plusieurs fa\xE7ons de garantir que les donn\xE9es ne sont pas perdues, failover haute disponibilit\xE9, sauvegarde hors site Dr, garantie de disponibilit\xE9 \xE0 99,99%",id:"Beberapa cara memastikan data tidak hilang, transfer macet yang tinggi, cadangan bencana jarak jauh, dijamin 99,99%"},{key:"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u5E10\u6237\u5B89\u5168\uFF0C\u8FDC\u7A0B\u4F1A\u8BDD\u63A7\u5236\uFF0C\u8BBE\u5907\u7ED1\u5B9A\uFF0C\u5B89\u5168\u65E5\u5FD7\u4EE5\u53CA\u624B\u52BF\u5BC6\u7801",zh:"","zh-CHT":"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8B49\u5E33\u6236\u5B89\u5168\uFF0C\u9060\u7A0B\u6703\u8A71\u63A7\u5236\uFF0C\u8A2D\u5099\u7D81\u5B9A\uFF0C\u5B89\u5168\u65E5\u8A8C\u4EE5\u53CA\u624B\u52E2\u5BC6\u78BC",en:"Multiple ways to ensure account security, remote session control, device binding, security logging, and gesture passwords",ko:"\uC5EC\uB7EC \uAC00\uC9C0 \uBC29\uBC95\uC73C\uB85C \uACC4\uC815 \uBCF4\uC548, \uC6D0\uACA9 \uC138\uC158 \uC81C\uC5B4, \uC7A5\uCE58 \uBC14\uC778\uB529, \uBCF4\uC548 \uB85C\uADF8 \uBC0F \uC81C\uC2A4\uCC98 \uBE44\uBC00\uBC88\uD638\uB97C \uBCF4\uC7A5\uD569\uB2C8\uB2E4",ja:"\u5FA9\u6570\u306E\u65B9\u6CD5\u3067\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5B89\u5168\u3092\u4FDD\u8A3C\u3057\u3066\u3001\u9060\u9694\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u5236\u5FA1\u3001\u88C5\u7F6E\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3001\u5B89\u5168\u306A\u30ED\u30B0\u3068\u30B8\u30A7\u30B9\u30C1\u30E3\u30FC\u306E\u6697\u53F7\u5316\u3067\u3059",de:"Sie verschiedene systeme, um das konto sicherer zu machen, die sitzungskontrolle aus der ferne zu sichern, das programm zu programmieren, das sicherheitsprotokoll und das gesten passwort",fr:"Plusieurs fa\xE7ons de garantir la s\xE9curit\xE9 du compte, le contr\xF4le de session \xE0 distance, la liaison des appareils, les journaux de s\xE9curit\xE9 ainsi que les mots de passe gestuels",id:"Beberapa cara untuk menjamin keamanan akun, kontrol sesi jarak jauh, pengikat perangkat, log keamanan, dan password gerak"},{key:"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u6CC4\u6F0F\uFF0C\u57FA\u4E8E TLS \u7684\u6570\u636E\u52A0\u5BC6\u4F20\u8F93\uFF0CDDOS \u9632\u5FA1\u548C\u5165\u4FB5\u68C0\u6D4B",zh:"","zh-CHT":"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8B49\u6578\u64DA\u4E0D\u6CC4\u6F0F\uFF0C\u57FA\u65BC TLS \u7684\u6578\u64DA\u52A0\u5BC6\u50B3\u8F38\uFF0CDDOS \u9632\u79A6\u548C\u5165\u4FB5\u6AA2\u6E2C",en:"Multiple methods to ensure data leakage, TLS based data encryption transmission, DDOS defense and intrusion detection",ko:"\uB2E4\uC911 \uBCF4\uC548 \uB370\uC774\uD130 \uC720\uCD9C \uBC29\uC9C0, tls \uAE30\uBC18 \uC554\uD638\uD654 \uC804\uC1A1, ddos \uBC29\uC5B4 \uBC0F \uCE68\uC785 \uD0D0\uC9C0",ja:"\u30C7\u30FC\u30BF\u6F0F\u6D29\u9632\u6B62\u3001TLS\u306B\u3088\u308B\u30C7\u30FC\u30BF\u306E\u6697\u53F7\u5316\u3001DDOS\u306E\u9632\u5FA1\u3001\u4FB5\u5165\u691C\u77E5\u3092\u8907\u6570\u3067\u884C\u3044\u307E\u3059\u3002",de:"Dies stellt sicher, dass die daten nicht kompromittiert sind, und es gibt einige l\xFCcken bei den TLS, verschl\xFCsselte \xFCbertragungen, die verteidigung f\xFCr DDOS und die erkennung Von l\xFCcken",fr:"Plusieurs fa\xE7ons de garantir aucune fuite de donn\xE9es, transmission crypt\xE9e des donn\xE9es bas\xE9e sur TLS, protection contre les DDOS et d\xE9tection d\u2019intrusion",id:"Beberapa cara memastikan data tidak bocor, transmisi data terenkripsi berdasarkan TLS, DDOS pertahanan dan deteksi penyusup"},{key:"\u4ECE\u73B0\u5728\u5F00\u59CB\uFF0CDooTask \u4E3A\u4E16\u754C\u5404\u5730\u7684\u56E2\u961F\u63D0\u4F9B\u652F\u6301\uFF0C\u63A2\u7D22\u9002\u5408\u60A8\u7684\u9009\u9879\u3002",zh:"","zh-CHT":"\u5F9E\u73FE\u5728\u958B\u59CB\uFF0CDooTask \u7232\u4E16\u754C\u5404\u5730\u7684\u5718\u968A\u63D0\u4F9B\u652F\u6301\uFF0C\u63A2\u7D22\u9069\u5408\u60A8\u7684\u9078\u9805\u3002",en:"From now on, DooTask supports teams around the world to explore options that are right for you.",ko:"\uC9C0\uAE08\uBD80\uD130 dootask \uC5D0\uC11C\uB294 \uC804\uC138\uACC4\uC758 \uD300\uB4E4\uC744 \uC9C0\uC6D0\uD558\uBA74\uC11C \uC5B4\uB5A4 \uC635\uC158\uC744 \uC120\uD0DD\uD558\uC2E4 \uC218 \uC788\uB294\uC9C0 \uC54C\uC544\uBCF4\uC2ED\uC2DC\uC624.",ja:"\u3053\u308C\u304B\u3089DooTask\u306F\u4E16\u754C\u4E2D\u306E\u30C1\u30FC\u30E0\u3092\u30B5\u30DD\u30FC\u30C8\u3057\u3001\u3042\u306A\u305F\u306B\u5408\u3063\u305F\u9078\u629E\u80A2\u3092\u6A21\u7D22\u3057\u3066\u3044\u304D\u307E\u3059\u3002",de:"Von jetzt an steht die h\xE4rteste welle jedem team auf der ganzen welt zur verf\xFCgung und sonnt auch mal die ganz speziellen einstellungen f\xFCr sie.",fr:"D\xE9sormais, DooTask offre une assistance aux \xE9quipes du monde entier. Explorez les options qui vous conviennent.",id:"Mulai sekarang, tugasmu tugaskan tugaskan tim di seluruh dunia, temukan berbagai pilihan yang cocok untukmu."},{key:"\u5982\u6709\u4EFB\u4F55\u95EE\u9898\uFF0C\u6B22\u8FCE\u4F7F\u7528\u90AE\u7BB1\u4E0E\u6211\u4EEC\u8054\u7CFB\u3002",zh:"","zh-CHT":"\u5982\u6709\u4EFB\u4F55\u554F\u984C\uFF0C\u6B61\u8FCE\u4F7F\u7528\u90F5\u7BB1\u8207\u6211\u5011\u806F\u7E6B\u3002",en:"If you have any questions, please feel free to contact us by email.",ko:"\uB9CC\uC57D \uBB38\uC81C\uAC00 \uC788\uB294 \uACBD\uC6B0\uC5D0, \uD658\uC601 \uBA54\uC77C\uD568\uC73C\uB85C \uC800\uD76C\uC5D0\uAC8C \uC5F0\uB77D\uD55C\uB2E4.",ja:"\u4F55\u304B\u554F\u984C\u304C\u3042\u308C\u3070\u3001\u30E1\u30FC\u30EB\u30DC\u30C3\u30AF\u30B9\u3092\u4F7F\u3063\u3066\u79C1\u9054\u306B\u9023\u7D61\u3059\u308B\u3053\u3068\u3092\u6B53\u8FCE\u3057\u307E\u3059\u3002",de:"Bei weiteren fragen k\xF6nnen wir uns mit dem briefkasten melden.",fr:"Toute question, bienvenue \xE0 nous contacter \xE0 l\u2019aide de l\u2019email.",id:"Jika ada pertanyaan, silakan hubungi kami lewat email."},{key:"\u5141\u8BB8\u9690\u85CF\u6216\u5B9A\u5236\u4EA7\u54C1\u540D",zh:"","zh-CHT":"\u5141\u8A31\u96B1\u85CF\u6216\u5B9A\u88FD\u7522\u54C1\u540D",en:"Allows you to hide or customize product names",ko:"\uC81C\uD488 \uC774\uB984\uC744 \uC228\uAE30\uAC70\uB098 \uC0AC\uC6A9\uC790 \uC815\uC758\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",ja:"\u88FD\u54C1\u540D\u3092\u96A0\u3059\u3053\u3068\u3082\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059",de:"Ein system erlaubt es, anonym Oder individuell festzulegen",fr:"Permet de cacher ou personnaliser les noms de produits",id:"Memungkinkan untuk menyembunyikan atau menyesuaikan nama produk"},{key:"\u591A\u79CD\u90E8\u7F72\u65B9\u5F0F\u968F\u5FC3\u9009\u62E9",zh:"","zh-CHT":"\u591A\u7A2E\u90E8\u7F72\u65B9\u5F0F\u96A8\u5FC3\u9078\u64C7",en:"Multiple deployment modes are optional",ko:"\uC5EC\uB7EC\uAC00\uC9C0 \uD3EC\uCE58\uBC29\uC2DD\uC744 \uB9C8\uC74C\uB300\uB85C \uC120\uD0DD\uD55C\uB2E4",ja:"\u69D8\u3005\u306A\u914D\u7F6E\u65B9\u6CD5\u3092\u9078\u629E\u3067\u304D\u307E\u3059",de:"Verschiedene dislozierungsmodalit\xE4ten. Individuelle eins\xE4tze",fr:"Plusieurs modes de d\xE9ploiement au choix",id:"Dalam berbagai cara"},{key:"\u591A\u91CD\u5B89\u5168\u7B56\u7565\u4FDD\u62A4\u6570\u636E",zh:"","zh-CHT":"\u591A\u91CD\u5B89\u5168\u7B56\u7565\u4FDD\u8B77\u6578\u64DA",en:"Multiple security policies protect data",ko:"\uC5EC\uB7EC \uBCF4\uC548 \uC815\uCC45\uC73C\uB85C \uB370\uC774\uD130\uB97C \uBCF4\uD638\uD569\uB2C8\uB2E4",ja:"\u8907\u6570\u306E\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u30DD\u30EA\u30B7\u30FC\u3067\u30C7\u30FC\u30BF\u3092\u4FDD\u8B77\u3057\u307E\u3059",de:"Verschiedene sicherheitsstrategien sch\xFCtzen daten",fr:"Plusieurs politiques de s\xE9curit\xE9 prot\xE8gent les donn\xE9es",id:"Strategi keamanan ganda untuk melindungi data"},{key:"\u62E5\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD",zh:"","zh-CHT":"\u64C1\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD",en:"Has all the features of the latest version",ko:"\uCD5C\uC2E0 \uBC84\uC804\uC758 \uBAA8\uB4E0 \uAE30\uB2A5\uC744 \uAC16\uCD94\uACE0 \uC788\uB2E4",ja:"\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u306E\u3059\u3079\u3066\u306E\u6A5F\u80FD\u3092\u5099\u3048\u3066\u3044\u307E\u3059",de:"Mit allen neusten funktionen",fr:"Avec toutes les fonctionnalit\xE9s de la derni\xE8re version",id:"Dengan versi terbaru dari semua fitur"},{key:"\u6839\u636E\u60A8\u7684\u9700\u6C42\u91CF\u8EAB\u5B9A\u5236",zh:"","zh-CHT":"\u6839\u64DA\u60A8\u7684\u9700\u6C42\u91CF\u8EAB\u5B9A\u88FD",en:"Tailored to your needs",ko:"\uB2F9\uC2E0\uC758 \uC694\uAD6C\uC5D0 \uB9DE\uCD94\uC5B4 \uB9CC\uB4E4\uB2E4",ja:"\u3042\u306A\u305F\u306E\u30CB\u30FC\u30BA\u306B\u5408\u308F\u305B\u3066\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u307E\u3059",de:"Ihren bed\xFCrfnissen anpassen",fr:"Adapt\xE9 \xE0 vos besoins",id:"Disesuaikan dengan kebutuhan anda"},{key:"\u5B8C\u5584\u7684\u670D\u52A1\u652F\u6301\u4F53\u7CFB",zh:"","zh-CHT":"\u5B8C\u5584\u7684\u670D\u52D9\u652F\u6301\u9AD4\u7CFB",en:"Perfect service support system",ko:"\uC644\uBCBD\uD55C \uC11C\uBE44\uC2A4 \uC9C0\uC6D0 \uCCB4\uACC4",ja:"\u5145\u5B9F\u3057\u305F\u30B5\u30FC\u30D3\u30B9\u30B5\u30DD\u30FC\u30C8\u4F53\u5236\u3067\u3059",de:"Bevor sie ihren dienst fortsetzen",fr:"Syst\xE8me de support de service parfait",id:"Layanan pendukung yang sempurna"},{key:"\u4E13\u5C5E\u5BA2\u6237\u6210\u529F\u7ECF\u7406",zh:"","zh-CHT":"\u5C08\u5C6C\u5BA2\u6236\u6210\u529F\u7D93\u7406",en:"Dedicated customer success manager",ko:"\uC804\uC18D \uACE0\uAC1D \uC131\uACF5 \uAD00\uB9AC\uC790",ja:"\u5C02\u5C5E\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30AF\u30BB\u30B9\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u3067\u3059",de:"Hat einen erfolgreichen kunden",fr:"Gestionnaire exclusif de la r\xE9ussite client",id:"Manajer sukses untuk pelanggan"},{key:"\u4E8C\u6B21\u5F00\u53D1\u54A8\u8BE2\u670D\u52A1",zh:"","zh-CHT":"\u4E8C\u6B21\u958B\u767C\u8AEE\u8A62\u670D\u52D9",en:"Secondary development consulting services",ko:"\uC7AC\uAC1C\uBC1C \uC790\uBB38\uC5ED",ja:"\u4E8C\u6B21\u958B\u767A\u30B3\u30F3\u30B5\u30EB\u30C6\u30A3\u30F3\u30B0\u30B5\u30FC\u30D3\u30B9\u3067\u3059",de:"Die wirtschaftsberatung in reo",fr:"Services de consultation en d\xE9veloppement secondaire",id:"Konsultan pengembangan kedua"},{key:"\u514D\u8D39\u63D0\u4F9B\u4E00\u6B21\u5185\u8BAD",zh:"","zh-CHT":"\u514D\u8CBB\u63D0\u4F9B\u4E00\u6B21\u5167\u8A13",en:"Provide a free internal training",ko:"\uB0B4\uC2E0\uC744 1\uD68C \uBB34\uB8CC\uB85C \uC81C\uACF5\uD55C\uB2E4",ja:"\u5185\u8A13\u30921\u56DE\u7121\u6599\u3067\u63D0\u4F9B\u3057\u307E\u3059",de:"Kostenlos ein fachstudium anbieten",fr:"Une formation interne offerte gratuitement",id:"Dapat satu pelatihan gratis"},{key:"\u9009\u62E9\u9002\u5408\u60A8\u7684\u7248\u672C",zh:"","zh-CHT":"\u9078\u64C7\u9069\u5408\u60A8\u7684\u7248\u672C",en:"Choose the version that works for you",ko:"\uB2F9\uC2E0\uC5D0\uAC8C \uB9DE\uB294 \uBC84\uC804\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624",ja:"\u3042\u306A\u305F\u306B\u5408\u3063\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u9078\u3073\u307E\u3059\u3002",de:"W\xE4hlen sie ihre version aus",fr:"Choisissez la version qui vous convient",id:"Pilih versi yang cocok untukmu"},{key:"1:1\u5BA2\u6237\u6210\u529F\u987E\u95EE",zh:"","zh-CHT":"1:1\u5BA2\u6236\u6210\u529F\u9867\u554F",en:"1:1 Customer success consultant",ko:"1:1 \uACE0\uAC1D \uC131\uACF5 \uCEE8\uC124\uD134\uD2B8",ja:"1:1\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30AF\u30BB\u30B9\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3067\u3059",de:"1:1, ein erfolgreicher berater",fr:"1:1 conseiller de r\xE9ussite client",id:"1:1, penasihat sukses pelanggan"},{key:"\u4E00\u5BF9\u4E00\u5BA2\u6237\u987E\u95EE",zh:"","zh-CHT":"\u4E00\u5C0D\u4E00\u5BA2\u6236\u9867\u554F",en:"One-to-one client consultant",ko:"\uC77C\uB300\uC77C \uACE0\uAC1D\uC0C1\uB2F4\uC0AC",ja:"1\u5BFE1\u306E\u30B3\u30F3\u30B5\u30EB\u30BF\u30F3\u30C8\u3067\u3059",de:"Ein pers\xF6nlicher berater.",fr:"Conseiller client one to one",id:"Konsultan pelanggan satu lawan satu"},{key:"\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301",zh:"","zh-CHT":"\u4E2D\u82F1\u6587\u90F5\u4EF6\u652F\u6301",en:"English and Chinese email support",ko:"\uC911\uAD6D\uC5B4 \uC601\uBB38 \uC774\uBA54\uC77C \uC9C0\uC6D0",ja:"\u82F1\u8A9E\u3068\u4E2D\u56FD\u8A9E\u306E\u30E1\u30FC\u30EB\u306E\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Unterst\xFCtzung durch chinesische mails",fr:"Support par email en anglais et chinois",id:"Dukungan surat inggris"},{key:"\u5168\u9762\u7684\u652F\u6301\u670D\u52A1",zh:"","zh-CHT":"\u5168\u9762\u7684\u652F\u6301\u670D\u52D9",en:"Full support services",ko:"\uC804\uD3ED\uC801\uC778 \uC9C0\uC6D0 \uC11C\uBE44\uC2A4",ja:"\u5168\u9762\u7684\u306A\u30B5\u30DD\u30FC\u30C8\u30B5\u30FC\u30D3\u30B9\u3067\u3059",de:"Ich will eine komplette unterst\xFCtzung",fr:"Services de support complets",id:"Layanan dukungan penuh"},{key:"\u5B8C\u5584\u7684\u57F9\u8BAD\u4F53\u7CFB",zh:"","zh-CHT":"\u5B8C\u5584\u7684\u57F9\u8A13\u9AD4\u7CFB",en:"Perfect training system",ko:"\uC644\uBCBD\uD55C \uD6C8\uB828 \uC2DC\uC2A4\uD15C",ja:"\u5145\u5B9F\u3057\u305F\u6559\u80B2\u30B7\u30B9\u30C6\u30E0\u3067\u3059",de:"Aber die weiterbildung ist gut",fr:"Un syst\xE8me de formation complet",id:"Sistem pelatihan yang sempurna"},{key:"\u652F\u6301\u79C1\u6709\u5316\u90E8\u7F72",zh:"","zh-CHT":"\u652F\u6301\u79C1\u6709\u5316\u90E8\u7F72",en:"Support privatization deployment",ko:"\uBBFC\uC601\uD654 \uBC30\uCE58 \uC9C0\uC9C0",ja:"\u6C11\u55B6\u5316\u3092\u652F\u63F4\u3057\u307E\u3059",de:"Unterst\xFCtzung f\xFCr privatisierung",fr:"Soutien au d\xE9ploiement privatis\xE9",id:"Penyebaran privatisasi didukung"},{key:"iOS/Android\u5BA2\u6237\u7AEF",zh:"","zh-CHT":"IOS/Android\u5BA2\u6236\u7AEF",en:"IOS/Android client",ko:"Ios/\uC548\uB4DC\uB85C\uC774\uB4DC \uD074\uB77C\uC774\uC5B8\uD2B8",ja:"IOS/Android\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u3067\u3059",de:"Ein Android ist auf den markt gegangen",fr:"Client iOS/Android",id:"Pelanggan iOS/Android"},{key:"\uFF08Issues/\u793E\u7FA4\uFF09",zh:"","zh-CHT":"\uFF08Issues/\u793E\u7FA3\uFF09",en:"(Issues/ Community)",ko:"(issues/\uCEE4\uBBA4\uB2C8\uD2F0)",ja:"(Issues/\u30B3\u30DF\u30E5\u30CB\u30C6\u30A3\u3067\u3059)",de:"Eskips (herzen)",fr:"(Issues/ communaut\xE9)",id:"(Issues/ social)"},{key:"\u5728\u7EBF\u54A8\u8BE2\u652F\u6301",zh:"","zh-CHT":"\u5728\u7DDA\u8AEE\u8A62\u652F\u6301",en:"Online consultation support",ko:"\uC628\uB77C\uC778 \uCEE8\uC124\uD305 \uC9C0\uC6D0",ja:"\u30AA\u30F3\u30E9\u30A4\u30F3\u76F8\u8AC7\u652F\u63F4\u3067\u3059",de:"Unterst\xFCtzung f\xFCr online-beratung",fr:"Soutien de consultation en ligne",id:"Dukungan konseling online"},{key:"\u660E\u661F\u5BA2\u6237\u6848\u4F8B",zh:"","zh-CHT":"\u660E\u661F\u5BA2\u6236\u6848\u4F8B",en:"Star customer case",ko:"\uC2A4\uD0C0 \uACE0\uAC1D \uC0AC\uB840",ja:"\u30B9\u30BF\u30FC\u9867\u5BA2\u4E8B\u4F8B\u3067\u3059",de:"Der fall der star-klienten",fr:"Cas clients star",id:"Kasus klien bintang"},{key:"\u7535\u8BDD\u54A8\u8BE2\u652F\u6301",zh:"","zh-CHT":"\u96FB\u8A71\u8AEE\u8A62\u652F\u6301",en:"Telephone consultation support",ko:"\uC804\uD654 \uC0C1\uB2F4 \uC9C0\uC6D0",ja:"\u304A\u96FB\u8A71\u30B5\u30DD\u30FC\u30C8\u3067\u3059\u3002",de:"Telefonberatung, verst\xE4rkung.",fr:"Soutien de consultation t\xE9l\xE9phonique",id:"Dukungan konsultasi telepon"},{key:"\u7ED1\u5B9A\u81EA\u6709\u57DF\u540D",zh:"","zh-CHT":"\u7D81\u5B9A\u81EA\u6709\u57DF\u540D",en:"Bind own domain name",ko:"\uC790\uCCB4 \uB3C4\uBA54\uC778 \uBC14\uC778\uB529",ja:"\u30C9\u30E1\u30A4\u30F3\u540D\u3092\u4ED8\u3051\u3066\u3044\u307E\u3059",de:"Einen main-namen habe ich auch",fr:"Domaine propre li\xE9",id:"Terikat punya nama domain"},{key:"\u9009\u62E9\u9002\u5408\u4F60\u7684",zh:"","zh-CHT":"\u9078\u64C7\u9069\u5408\u4F60\u7684",en:"Choose what works for you",ko:"\uB124\uAC8C \uB9DE\uB294 \uAC83\uC744 \uACE8\uB77C\uB77C",ja:"\u3042\u306A\u305F\u306B\u5408\u3063\u305F\u3082\u306E\u3092\u9078\u3073\u307E\u3059",de:"W\xE4hlen sie, was ihnen passt",fr:"Choisissez ce qui vous convient",id:"Pilih apa yang cocok untukmu"},{key:"\u9AD8\u53EF\u7528\u6027\u4FDD\u8BC1",zh:"","zh-CHT":"\u9AD8\u53EF\u7528\u6027\u4FDD\u8B49",en:"High availability assurance",ko:"\uACE0\uAC00\uC6A9\uC131 \uBCF4\uC7A5",ja:"\u9AD8\u53EF\u7528\u6027\u4FDD\u8A3C\u3067\u3059",de:"Hohe verf\xFCgbarkeit garantiert",fr:"Garantie de haute disponibilit\xE9",id:"Jaminan ketersediaan yang tinggi"},{key:"Mac/PC\u5BA2\u6237\u7AEF",zh:"","zh-CHT":"Mac/PC\u5BA2\u6236\u7AEF",en:"Mac/PC client",ko:"Mac/pc \uD074\uB77C\uC774\uC5B8\uD2B8",ja:"Mac/PC\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u3067\u3059",de:"Mac/PC sind am apparat",fr:"Client pour Mac/PC",id:"Klien Mac/PC"},{key:"\u672C\u5730\u670D\u52A1\u5668",zh:"","zh-CHT":"\u672C\u5730\u670D\u52D9\u5668",en:"Local server",ko:"\uB85C\uCEEC \uC11C\uBC84",ja:"\u30ED\u30FC\u30AB\u30EB\u30B5\u30FC\u30D0\u30FC\u3067\u3059",de:"Dem lokalen server.",fr:"Un serveur local",id:"Server lokal"},{key:"\u5468\u62A5/\u65E5\u62A5",zh:"","zh-CHT":"\u9031\u5831/\u65E5\u5831",en:"Weekly/daily newspaper",ko:"\uC8FC\uAC04 \uC2E0\uBB38",ja:"\u9031\u5831/\u65E5\u520A\u7D19\u3067\u3059",de:"Aber mein leben ver\xE4ndert sich",fr:"Rapport hebdomadaire/quotidien",id:"Mingguan/harian"},{key:"\u4E0A\u95E8\u652F\u6301",zh:"","zh-CHT":"\u4E0A\u9580\u652F\u6301",en:"Door-to-door support",ko:"\uBC29\uBB38\uD558\uC5EC \uC9C0\uC6D0\uD558\uB2E4.",ja:"\u8A2A\u554F\u652F\u63F4\u3067\u3059",de:"T\xFCrunterst\xFCtzung",fr:"Soutien \xE0 domicile",id:"Gerbang untuk mendukung"},{key:"\u4E8C\u6B21\u5F00\u53D1",zh:"","zh-CHT":"\u4E8C\u6B21\u958B\u767C",en:"Secondary development",ko:"\uC774\uCC28 \uAC1C\uBC1C",ja:"\u4E8C\u6B21\u958B\u767A\u3067\u3059",de:"Eine zweite entwicklung.",fr:"Le d\xE9veloppement secondaire",id:"Pengembangan kedua"},{key:"\u4EA7\u54C1\u57F9\u8BAD",zh:"","zh-CHT":"\u7522\u54C1\u57F9\u8A13",en:"Product training",ko:"\uC81C\uD488 \uAD50\uC721",ja:"\u88FD\u54C1\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u3067\u3059",de:"1. Weiterbildung",fr:"Formation aux produits",id:"Pelatihan produk"},{key:"\u4EFB\u52A1\u52A8\u6001",zh:"","zh-CHT":"\u4EFB\u52D9\u52D5\u614B",en:"Task dynamics",ko:"\uC791\uC5C5 \uB3D9\uD5A5",ja:"\u30DF\u30C3\u30B7\u30E7\u30F3\u30FB\u30C0\u30A4\u30CA\u30DF\u30AF\u30B9\u3067\u3059",de:"Missionsdynamik.",fr:"Dynamique des t\xE2ches",id:"Dinamika tugas"},{key:"\u4EFB\u52A1\u7C7B\u578B",zh:"","zh-CHT":"\u4EFB\u52D9\u985E\u578B",en:"Task type",ko:"\uC791\uC5C5 \uD615\uC2DD",ja:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30D7\u3067\u3059",de:"Typ des auftrags?",fr:"Types de missions",id:"Jenis tugas"},{key:"\u521B\u5EFA\u7FA4\u804A",zh:"","zh-CHT":"\u5275\u5EFA\u7FA3\u804A",en:"Create a group chat",ko:"\uADF8\uB8F9 \uCC44\uD305 \uB9CC\uB4E4\uAE30",ja:"\u30B0\u30EB\u30FC\u30D7\u30C1\u30E3\u30C3\u30C8\u3092\u4F5C\u6210\u3057\u307E\u3059",de:"Gruppengespr\xE4ch kreieren.",fr:"Cr\xE9er un chat de groupe",id:"Buat grup chat"},{key:"\u5E10\u6237\u5B89\u5168",zh:"","zh-CHT":"\u5E33\u6236\u5B89\u5168",en:"Account security",ko:"\uACC4\uC815 \uBCF4\uC548",ja:"\u53E3\u5EA7\u306F\u5B89\u5168\u3067\u3059",de:"Sichere konten.",fr:"S\xE9curit\xE9 du compte",id:"Keamanan akun"},{key:"\u5E94\u7528\u652F\u6301",zh:"","zh-CHT":"\u61C9\u7528\u652F\u6301",en:"Application support",ko:"\uC9C0\uC6D0 \uC801\uC6A9",ja:"\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Unterst\xFCtzung durch anwendung.",fr:"Soutien \xE0 l\u2019application",id:"Menerapkan dukungan"},{key:"\u6570\u636E\u52A0\u5BC6",zh:"","zh-CHT":"\u6578\u64DA\u52A0\u5BC6",en:"Data encryption",ko:"\uB370\uC774\uD130 \uC554\uD638\uD654",ja:"\u30C7\u30FC\u30BF\u6697\u53F7\u5316\u3067\u3059",de:"Datenverschl\xFCsselung",fr:"Cryptage des donn\xE9es",id:"Enkripsi data"},{key:"\u6587\u4EF6\u641C\u7D22",zh:"","zh-CHT":"\u6587\u4EF6\u641C\u7D22",en:"File search",ko:"\uD30C\uC77C \uAC80\uC0C9",ja:"\u30D5\u30A1\u30A4\u30EB\u691C\u7D22\u3067\u3059",de:"Suche nach dateien",fr:"Recherche de documents",id:"Pencarian berkas"},{key:"\u6587\u4EF6\u7BA1\u7406",zh:"","zh-CHT":"\u6587\u4EF6\u7BA1\u7406",en:"Document management",ko:"\uD30C\uC77C \uAD00\uB9AC",ja:"\u30D5\u30A1\u30A4\u30EB\u7BA1\u7406\u3067\u3059",de:"Halte die dokumentation auf.",fr:"Gestion des documents",id:"Manajemen berkascomment"},{key:"\u670D\u52A1\u652F\u6301",zh:"","zh-CHT":"\u670D\u52D9\u652F\u6301",en:"Service support",ko:"\uC11C\uBE44\uC2A4 \uC9C0\uC6D0",ja:"\u30B5\u30FC\u30D3\u30B9\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Service-support.",fr:"Service et support",id:"Dukungan layanan"},{key:"\u81EA\u52A9\u652F\u6301",zh:"","zh-CHT":"\u81EA\u52A9\u652F\u6301",en:"Self-help support",ko:"\uC140\uD504 \uC9C0\uC6D0",ja:"\u30BB\u30EB\u30D5\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Unterst\xFCtzung. Unterst\xFCtzen.",fr:"Assistance en auto-assistance",id:"Dukungan diri"},{key:"\u8FD4\u56DE\u9996\u9875",zh:"","zh-CHT":"\u8FD4\u56DE\u9996\u9801",en:"Return to home page",ko:"\uD648 \uD398\uC774\uC9C0\uB85C \uB3CC\uC544\uAC00\uAE30",ja:"\u30C8\u30C3\u30D7\u30DA\u30FC\u30B8\u306B\u623B\u308A\u307E\u3059",de:"Mach die titelseite auf.",fr:"Retour \xE0 l\u2019accueil",id:"Kembali ke rumah"},{key:"\u9879\u76EE\u641C\u7D22",zh:"","zh-CHT":"\u9805\u76EE\u641C\u7D22",en:"Item search",ko:"\uD56D\uBAA9 \uAC80\uC0C9",ja:"\u9805\u76EE\u691C\u7D22\u3067\u3059",de:"Suche nach projekten.",fr:"Recherche de projets",id:"Pencarian proyek"},{key:"\u9879\u76EE\u7BA1\u7406",zh:"","zh-CHT":"\u9805\u76EE\u7BA1\u7406",en:"Project management",ko:"\uD504\uB85C\uC81D\uD2B8 \uAD00\uB9AC",ja:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30DE\u30CD\u30B8\u30E1\u30F3\u30C8\u3067\u3059",de:"Projektmanagement. - projektmanagement?",fr:"Gestion du projet",id:"Manajemen proyek"},{key:"\u9879\u76EE\u7FA4\u804A",zh:"","zh-CHT":"\u9805\u76EE\u7FA3\u804A",en:"Project group chat",ko:"\uD504\uB85C\uC81D\uD2B8 \uADF8\uB8F9 \uCC44\uD305",ja:"\u30B0\u30EB\u30FC\u30D7\u30C8\u30FC\u30AF\u3067\u3059",de:"Kleine projektgruppe.",fr:"Projet chat de groupe",id:"Obrolan kelompok proyek"},{key:"\u4F53\u9A8CDEMO",zh:"","zh-CHT":"\u9AD4\u9A57DEMO",en:"DEMO",ko:"\uB370\uBAA8 \uCCB4\uD5D8",ja:"\u30C7\u30E2\u3092\u4F53\u9A13\u3057\u307E\u3059",de:"DEMO",fr:"DEMO",id:"DEMO"},{key:"\u516C\u6709\u4E91",zh:"","zh-CHT":"\u516C\u6709\u4E91",en:"Public cloud",ko:"\uD37C\uBE14\uB9AD \uD074\uB77C\uC6B0\uB4DC",ja:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30AF\u30E9\u30A6\u30C9\u3067\u3059",de:"Flying corp!",fr:"Cloud public disponible",id:"Publik tahu."},{key:"\u56FD\u9645\u5316",zh:"","zh-CHT":"\u570B\u969B\u5316",en:"Internationalization",ko:"\uAD6D\uC81C\uD654",ja:"\u56FD\u969B\u5316\u3067\u3059",de:"International.",fr:"Internationalisation",id:"Kosmopolitan"},{key:"\u5B9A\u5236\u7248",zh:"","zh-CHT":"\u5B9A\u88FD\u7248",en:"Custom version",ko:"\uC8FC\uBB38 \uC81C\uC791\uD310",ja:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u7248\u3067\u3059",de:"Etwas ma\xDFgeschneidert?",fr:"\xC9dition sur mesure",id:"Edisi khusus"},{key:"\u7518\u7279\u56FE",zh:"","zh-CHT":"\u7518\u7279\u5716",en:"Gantt chart",ko:"\uAC04\uD130\uD22C",ja:"\u30AC\u30F3\u30C8\u30C1\u30E3\u30FC\u30C8\u3067\u3059",de:"La gant.",fr:"Gantt en chiffres",id:"Gant."},{key:"\u793E\u533A\u7248",zh:"","zh-CHT":"\u793E\u5340\u7248",en:"Community edition",ko:"\uCEE4\uBBA4\uB2C8\uD2F0 \uBC84\uC804",ja:"\u30B3\u30DF\u30E5\u30CB\u30C6\u30A3\u7248\u3067\u3059",de:"In der gemeinde.",fr:"La version communautaire",id:"Halaman masyarakat"},{key:"\u79C1\u6709\u4E91",zh:"","zh-CHT":"\u79C1\u6709\u4E91",en:"Private cloud",ko:"\uAC1C\uC778 \uD074\uB77C\uC6B0\uB4DC",ja:"\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8\u30AF\u30E9\u30A6\u30C9\u3067\u3059",de:"Private wolke.",fr:"Un cloud priv\xE9",id:"Awan pribadi"},{key:"\u81EA\u5B9A\u4E49",zh:"","zh-CHT":"\u81EA\u5B9A\u7FA9",en:"Customize",ko:"\uC0AC\uC6A9\uC790 \uC815\uC758",ja:"\u30AB\u30B9\u30BF\u30E0\u3067\u3059",de:"Selbstdefiniert.",fr:"Personnalis\xE9 et personnalis\xE9",id:"Khusus"},{key:"\u4EBA\u6570",zh:"","zh-CHT":"\u4EBA\u6578",en:"Number of people",ko:"\uC218\uAC00",ja:"\u4EBA\u6570\u3067\u3059",de:"Eine anzahl.",fr:"Le nombre de",id:"Jumlah"},{key:"\u4EF7\u683C",zh:"","zh-CHT":"\u50F9\u683C",en:"Price",ko:"\uAC00\uACA9",ja:"\u5024\u6BB5\u3067\u3059",de:"Dem preis?",fr:"Prix",id:"Harga"},{key:"\u63A8\u8350",zh:"","zh-CHT":"\u63A8\u85A6",en:"Recommend",ko:"\uCD94\uCC9C",ja:"\u63A8\u85A6\u3057\u307E\u3059",de:"Eine empfehlung?",fr:"Recommand\xE9e",id:"Merekomendasikan"},{key:"\u65E5\u7A0B",zh:"","zh-CHT":"\u65E5\u7A0B",en:"Schedule",ko:"\uC77C\uC815",ja:"\u30B9\u30B1\u30B8\u30E5\u30FC\u30EB\u3067\u3059",de:"Plan?",fr:"Le calendrier",id:"Jadwal"},{key:"\u6982\u8FF0",zh:"","zh-CHT":"\u6982\u8FF0",en:"Overview",ko:"\uC694\uC57D",ja:"\u6982\u8AAC\u3057\u307E\u3059",de:"Erkl\xE4re es.",fr:"R\xE9sum\xE9",id:"Ikhtisar"},{key:"\u6388\u6743\u65B9\u5F0F",zh:"","zh-CHT":"\u6388\u6B0A\u65B9\u5F0F",en:"Authorization mode",ko:"\uC778\uC99D \uBC29\uC2DD",ja:"\u6388\u6A29\u65B9\u6CD5\u3067\u3059",de:"Nicht autorisiert.",fr:"Modalit\xE9s de mandat",id:"Cara memberdayakan"},{key:"\u666E\u901A\u7248",zh:"","zh-CHT":"\u666E\u901A\u7248",en:"Ordinary edition",ko:"\uC77C\uBC18\uD310",ja:"\u901A\u5E38\u7248\u3067\u3059",de:"Normale ausgabe.",fr:"La version normale",id:"Versi biasa"},{key:"\u529F\u80FD\u8F83\u5C11\u53EF\u80FD\u4F1A\u505C\u66F4",zh:"","zh-CHT":"\u529F\u80FD\u8F03\u5C11\u53EF\u80FD\u6703\u505C\u66F4",en:"Less function may stop",ko:"\uAE30\uB2A5\uC774 \uBD80\uC871\uD558\uBA74 \uB354 \uB2A6\uC744 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4",ja:"\u6A5F\u80FD\u304C\u5C11\u306A\u3044\u305F\u3081\u505C\u6B62\u3059\u308B\u3053\u3068\u3082\u3042\u308A\u307E\u3059",de:"Eine unmenge an funktionen ist wahrscheinlich nicht mehr moglich",fr:"Moins de fonctions peut s\u2019arr\xEAter plus",id:"Sedikit fungsi mungkin akan berhenti lebih"},{key:"\u65E0\u987B\u6388\u6743",zh:"","zh-CHT":"\u7121\u9808\u6388\u6B0A",en:"Without authorization",ko:"\uC778\uC99D \uD544\uC694 \uC5C6\uC74C",ja:"\u8A31\u53EF\u306F\u4E0D\u8981\u3067\u3059",de:"Daf\xFCr ist keine genehmigung n\xF6tig.",fr:"Aucune autorisation requise",id:"Tidak perlu perintah."},{key:"Pro\u514D\u8D39\u7248",zh:"","zh-CHT":"Pro\u514D\u8CBB\u7248",en:"Pro Free Edition",ko:"Pro \uBB34\uB8CC\uBC84\uC804",ja:"\u30D7\u30ED\u7121\u6599\u7248\u3067\u3059",de:"Pro publikum kostenlos.",fr:"Version gratuite Pro",id:"Versi Pro gratis"},{key:"\u5373\u65F6\u804A\u5929",zh:"","zh-CHT":"\u5373\u6642\u804A\u5929",en:"Instant chat",ko:"\uC778\uC2A4\uD134\uD2B8 \uCC44\uD305",ja:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u30C1\u30E3\u30C3\u30C8\u3067\u3059",de:"In echtzeit.",fr:"Chat en direct",id:"Ngobrol langsung"},{key:"Pro\u8BA2\u9605\u7248",zh:"","zh-CHT":"Pro\u8A02\u95B1\u7248",en:"Pro subscription",ko:"Pro \uAD6C\uB3C5\uD310",ja:"\u30D7\u30ED\u8CFC\u8AAD\u7248\u3067\u3059",de:"Pro abonnement",fr:"Version abonnement Pro",id:"Edisi Pro"},{key:"\u4E8C\u7EF4\u7801\u767B\u5F55",zh:"","zh-CHT":"\u4E8C\u7DAD\u78BC\u767B\u9304",en:"Qr code login",ko:"Qr \uCF54\uB4DC \uB4F1\uB85D",ja:"Qr\u30B3\u30FC\u30C9\u767B\u9332\u3067\u3059",de:"Computer mit code zwei",fr:"Connexion qr code",id:"Kode qr masuk"},{key:"\u804A\u5929\u673A\u5668\u4EBA",zh:"","zh-CHT":"\u804A\u5929\u6A5F\u5668\u4EBA",en:"Chatbot",ko:"\uCC44\uD305 \uB85C\uBD07",ja:"\u30C1\u30E3\u30C3\u30C8\u30DC\u30C3\u30C8\u3067\u3059",de:"Die roboter.",fr:"Le chatbot",id:"Ngobrol robot"},{key:"\u6D88\u606F\u6807\u6CE8",zh:"","zh-CHT":"\u6D88\u606F\u6A19\u8A3B",en:"Message annotation",ko:"\uBA54\uC2DC\uC9C0 \uB808\uC774\uBE14",ja:"\u30E1\u30C3\u30BB\u30FC\u30B8\u8868\u8A18\u3067\u3059",de:"Die nachricht markiert.",fr:"\xC9tiquetage des messages",id:"Label pesan"},{key:"\u53D1\u9001\u8BED\u97F3\u6D88\u606F",zh:"","zh-CHT":"\u767C\u9001\u8A9E\u97F3\u6D88\u606F",en:"Send voice message",ko:"\uC74C\uC131 \uBA54\uC2DC\uC9C0 \uBCF4\uB0B4\uAE30",ja:"\u97F3\u58F0\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u308A\u307E\u3059",de:"Senden sie eine nachricht.",fr:"Envoyer un message vocal",id:"Kirim pesan suara"},{key:"\u90E8\u95E8\u529F\u80FD",zh:"","zh-CHT":"\u90E8\u9580\u529F\u80FD",en:"Departmental function",ko:"\uBD80\uC11C \uAE30\uB2A5",ja:"\u90E8\u7F72\u6A5F\u80FD\u3067\u3059",de:"Funktion ab abteilung",fr:"Fonction du d\xE9partement",id:"Fungsi departemen"},{key:"LDAP\u767B\u5F55",zh:"","zh-CHT":"LDAP\u767B\u9304",en:"LDAP login",ko:"Ldap \uB85C\uADF8\uC778",ja:"LDAP\u30ED\u30B0\u30A4\u30F3\u3067\u3059",de:"LDAP loggt sich ein",fr:"Connexion avec LDAP",id:"Log masuk LDAP"},{key:"\u8868\u60C5\u56DE\u590D",zh:"","zh-CHT":"\u8868\u60C5\u56DE\u8986",en:"Expression response",ko:"\uC774\uBAA8\uD2F0\uCF58 \uB2F5\uC7A5",ja:"\u30B9\u30BF\u30F3\u30D7\u30EC\u30B9\u3067\u3059",de:"Emoticon-antworten antworten.",fr:"Emoji r\xE9pondre \xE0",id:"Balas ekspresi"},{key:"\u4EFB\u52A1\u91CD\u590D\u5468\u671F",zh:"","zh-CHT":"\u4EFB\u52D9\u91CD\u8907\u9031\u671F",en:"Task repetition cycle",ko:"\uC791\uC5C5 \uBC18\uBCF5 \uC8FC\uAE30",ja:"\u7E70\u308A\u8FD4\u3057\u306E\u30B5\u30A4\u30AF\u30EB\u3067\u3059",de:"Mission dupliziert sich.",fr:"Cycle de r\xE9p\xE9tition des t\xE2ches",id:"Siklus tugas berulang"},{key:"\u5E10\u53F7\uFF1A(*)\u3001\u5BC6\u7801\uFF1A(*)",zh:"","zh-CHT":"\u5E33\u865F\uFF1A(*)\u3001\u5BC6\u78BC\uFF1A(*)",en:"Account number: (*), Password: (*)",ko:"\uACC4\uC815 \uBC88\uD638:(*), \uBE44\uBC00\uBC88\uD638:(*)",ja:"\u30A2\u30AB\u30A6\u30F3\u30C8\u756A\u53F7:(*)\u3001\u30D1\u30B9\u30EF\u30FC\u30C9:(*)\u3067\u3059\u3002",de:"Kontonummer (*), passwort (*)",fr:"Num\xE9ro de compte :(*), mot de passe :(*)",id:"Akun :(*), kata sandi: *"},{key:"\u90AE\u7BB1\u5730\u5740\uFF1A(*)",zh:"","zh-CHT":"\u90F5\u7BB1\u5730\u5740\uFF1A(*)",en:"Email Address: (*)",ko:"\uC804\uC790\uC6B0\uD3B8 \uC8FC\uC18C:(*)",ja:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9:(*)\u3067\u3059\u3002",de:"Posteingang :(*)",fr:"Adresse e-mail :(*)",id:"Alamat surat :(*)"},{key:"(*)\u4EBA",zh:"","zh-CHT":"(*)\u4EBA",en:"(*) people",ko:"(*)",ja:"(*)\u4EBA\u3067\u3059",de:"(*) menschen",fr:"(*)",id:"(*) orang"}])},mounted(){this.getSetting(),this.getShowItem()},computed:{appTitle(){return`${this.$L("\u9009\u62E9\u9002\u5408\u4F60\u7684")} ${window.systemInfo.title||"DooTask"}`}},methods:{onLanguage(e){c(e)},goHome(){this.goForward({name:"index",query:{action:"index"}})},getSetting(){this.$store.dispatch("call",{url:"system/setting"}).then(({data:e})=>{this.systemConfig=e})},getShowItem(){this.$store.dispatch("call",{url:"system/get/showitem"}).then(({data:e})=>{this.showItem=e}).catch(e=>{this.showItem={}})}}},i={};var m=o(v,p,h,!1,k,"5604dc11",null,null);function k(e){for(let t in i)this[t]=i[t]}var b=function(){return m.exports}();export{b as default}; +import{n as o,l as r,a as l,b as d,s as c}from"./app.139edc4e.js";import{U as u}from"./UpdateLog.3dc5cd8a.js";var p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-plans no-dark-content"},[a("PageTitle",{attrs:{title:e.appTitle}}),a("div",{staticClass:"top-bg"}),a("div",{staticClass:"top-menu"},[a("div",{staticClass:"header"},[a("div",{staticClass:"z-row"},[a("div",{staticClass:"header-col-sub"},[a("div",{staticClass:"logo",on:{click:e.goHome}})]),a("div",{staticClass:"z-1"},[a("dl",[a("dd",[a("div",{staticClass:"right-info",on:{click:e.goHome}},[e._v(e._s(e.$L("\u8FD4\u56DE\u9996\u9875")))]),e.showItem.updateLog?a("div",{staticClass:"right-info",on:{click:function(s){e.uplogShow=!0}}},[e._v(e._s(e.$L("\u66F4\u65B0\u65E5\u5FD7")))]):e._e(),a("a",{staticClass:"right-info item-center",attrs:{target:"_blank",href:"https://github.com/kuaifan/dootask"}},[a("Icon",{staticClass:"right-icon",attrs:{type:"logo-github"}})],1),a("Dropdown",{staticClass:"right-info",attrs:{trigger:"click"},on:{"on-click":e.onLanguage}},[a("div",{staticClass:"item-center"},[a("Icon",{staticClass:"right-icon",attrs:{type:"md-globe"}}),a("Icon",{attrs:{type:"md-arrow-dropdown"}})],1),a("Dropdown-menu",{attrs:{slot:"list"},slot:"list"},e._l(e.languageList,function(s,n){return a("Dropdown-item",{key:n,attrs:{name:n,selected:e.languageType===n}},[e._v(e._s(s))])}),1)],1)],1)])])])])]),a("div",{staticClass:"banner"},[a("div",{staticClass:"banner-title"},[e._v(" "+e._s(e.$L("\u9009\u62E9\u9002\u5408\u60A8\u7684\u7248\u672C"))+" ")]),a("div",{staticClass:"banner-desc"},[e._v(" "+e._s(e.$L("DooTask \u662F\u65B0\u4E00\u4EE3\u56E2\u961F\u534F\u4F5C\u5E73\u53F0\uFF0C\u60A8\u53EF\u4EE5\u6839\u636E\u60A8\u56E2\u961F\u7684\u9700\u6C42\uFF0C\u9009\u62E9\u5408\u9002\u7684\u4EA7\u54C1\u529F\u80FD\u3002"))+" "),a("br"),e._v(" "+e._s(e.$L("\u4ECE\u73B0\u5728\u5F00\u59CB\uFF0CDooTask \u4E3A\u4E16\u754C\u5404\u5730\u7684\u56E2\u961F\u63D0\u4F9B\u652F\u6301\uFF0C\u63A2\u7D22\u9002\u5408\u60A8\u7684\u9009\u9879\u3002"))+" ")]),a("div",{staticClass:"plans-table"},[a("div",{staticClass:"plans-table-bd plans-table-info"},[a("div",{staticClass:"plans-table-item first"},[a("div",{staticClass:"plans-table-info-th"}),a("div",{staticClass:"plans-table-info-price"},[a("em",[e._v(e._s(e.$L("\u4EF7\u683C")))])]),a("div",{staticClass:"plans-table-info-desc"},[a("em",[e._v(e._s(e.$L("\u6982\u8FF0")))])]),a("div",{staticClass:"plans-table-info-desc"},[a("em",[e._v(e._s(e.$L("\u4EBA\u6570")))])]),a("div",{staticClass:"plans-table-info-desc"},[a("em",[e._v(e._s(e.$L("\u6388\u6743\u65B9\u5F0F")))])]),a("div",{staticClass:"plans-table-info-btn"})]),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("\u666E\u901A\u7248")))]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/free.png"}}),e._m(0)],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u529F\u80FD\u8F83\u5C11\u53EF\u80FD\u4F1A\u505C\u66F4")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u9650\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u987B\u6388\u6743")))]),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/v0.13.0",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("Pro\u514D\u8D39\u7248")))]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/free.png"}}),e._m(1)],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u62E5\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("3\u4EBA")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v("License")]),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("Pro\u8BA2\u9605\u7248"))+" "),a("span",[e._v(e._s(e.$L("\u63A8\u8350")))])]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/pro.png"}}),e._m(2)],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u62E5\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u9650\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v("License")]),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1),a("ETooltip",{attrs:{content:e.$L("\u5E10\u53F7\uFF1Aadmin\u3001\u5BC6\u7801\uFF1A123456")}},[a("a",{staticClass:"btn mini",attrs:{href:"https://www.dootask.com",target:"_blank"}},[e._v(e._s(e.$L("\u4F53\u9A8CDEMO")))])])],1)])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}},[a("div",{staticClass:"plans-table-info-th"},[e._v(e._s(e.$L("\u5B9A\u5236\u7248")))]),a("div",{staticClass:"plans-table-info-price"},[a("ImgView",{staticClass:"plans-version",attrs:{src:"images/pro/custom.png"}}),a("div",{staticClass:"currency"},[a("em",{staticClass:"custom"},[e._v(e._s(e.$L("\u81EA\u5B9A\u4E49")))])])],1),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u6839\u636E\u60A8\u7684\u9700\u6C42\u91CF\u8EAB\u5B9A\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v(e._s(e.$L("\u65E0\u9650\u5236")))]),a("div",{staticClass:"plans-table-info-desc"},[e._v("License")]),a("div",{staticClass:"plans-table-info-btn"},[a("a",{staticClass:"btn btn-contact",attrs:{href:"javascript:void(0)"},on:{click:function(s){e.contactShow=!0}}},[e._v(e._s(e.$L("\u8054\u7CFB\u6211\u4EEC")))])])])]),a("div",{staticClass:"plans-accordion-head",class:{"plans-accordion-close":!e.body1},on:{click:function(s){e.body1=!e.body1}}},[a("div",{staticClass:"first"},[a("span",[e._v(e._s(e.$L("\u5E94\u7528\u652F\u6301")))])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}}),a("span",[a("Icon",{attrs:{type:"ios-arrow-down"}})],1)]),e.body1?a("div",{staticClass:"plans-accordion-body"},[a("div",{staticClass:"plans-table-bd plans-table-app"},[a("div",{staticClass:"plans-table-item first"},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[e._v(e._s(e.$L(s.label)))])}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[0]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[1]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[2]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}},e._l(e.functions,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[3]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),0)])]):e._e(),a("div",{staticClass:"plans-accordion-head",class:{"plans-accordion-close":!e.body2},on:{click:function(s){e.body2=!e.body2}}},[a("div",{staticClass:"first"},[a("span",[e._v(e._s(e.$L("\u670D\u52A1\u652F\u6301")))])]),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}}),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}}),a("span",[a("Icon",{attrs:{type:"ios-arrow-down"}})],1)]),e.body2?a("div",{staticClass:"plans-accordion-body"},[a("div",{staticClass:"plans-table-bd plans-table-app plans-table-service"},[a("div",{staticClass:"plans-table-item first"},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[e._v(" "+e._s(e.$L(s.label))+" "),s.sublabel?a("span",[e._v(e._s(e.$L(s.sublabel)))]):e._e()])}),a("div",{staticClass:"plans-table-info-btn"})],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==1},on:{mouseenter:function(s){e.active=1}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[0]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/v0.13.0",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==2},on:{mouseenter:function(s){e.active=2}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[1]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1)])])],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==3},on:{mouseenter:function(s){e.active=3}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[2]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("div",{staticClass:"plans-info-btns"},[a("a",{staticClass:"github",attrs:{href:"https://github.com/kuaifan/dootask/tree/pro",target:"_blank"}},[a("Icon",{attrs:{type:"logo-github"}})],1),a("ETooltip",{attrs:{content:e.$L("\u5E10\u53F7\uFF1Aadmin\u3001\u5BC6\u7801\uFF1A123456")}},[a("a",{staticClass:"btn mini",attrs:{href:"https://www.dootask.com",target:"_blank"}},[e._v(e._s(e.$L("\u4F53\u9A8CDEMO")))])])],1)])],2),a("div",{staticClass:"plans-table-item",class:{active:e.active==4},on:{mouseenter:function(s){e.active=4}}},[e._l(e.services,function(s){return a("div",{staticClass:"plans-table-td"},[s.supports[3]?a("Icon",{attrs:{type:"md-checkmark"}}):a("span",[e._v(" - ")])],1)}),a("div",{staticClass:"plans-table-info-btn"},[a("a",{staticClass:"btn btn-contact",attrs:{href:"javascript:void(0)"},on:{click:function(s){e.contactShow=!0}}},[e._v(e._s(e.$L("\u8054\u7CFB\u6211\u4EEC")))])])],2)])]):e._e()])]),a("div",{staticClass:"container-fluid"},[a("div",{staticClass:"fluid-info fluid-info-1"},[a("div",{staticClass:"fluid-info-item"},[a("div",{staticClass:"info-title"},[e._v(" "+e._s(e.$L("\u591A\u79CD\u90E8\u7F72\u65B9\u5F0F\u968F\u5FC3\u9009\u62E9"))+" ")]),a("div",{staticClass:"info-function"},[a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/1.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u516C\u6709\u4E91"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u65E0\u9700\u672C\u5730\u73AF\u5883\u51C6\u5907\uFF0C\u6309\u9700\u8D2D\u4E70\u5E10\u6237\uFF0C\u4E13\u4E1A\u56E2\u961F\u63D0\u4F9B\u8FD0\u7EF4\u4FDD\u969C\u670D\u52A1\uFF0C\u4E24\u5468\u4E00\u6B21\u7684\u7248\u672C\u8FED\u4EE3"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/2.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u79C1\u6709\u4E91"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u4F01\u4E1A\u9694\u79BB\u7684\u4E91\u670D\u52A1\u5668\u73AF\u5883\uFF0C\u9AD8\u53EF\u7528\u6027\uFF0C\u7F51\u7EDC\u53CA\u5E94\u7528\u5C42\u5B8C\u6574\u9694\u79BB\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-80"},[a("ImgView",{attrs:{src:"images/pro/3.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u672C\u5730\u670D\u52A1\u5668"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u57FA\u4E8E Docker \u7684\u5BB9\u5668\u5316\u90E8\u7F72\uFF0C\u652F\u6301\u9AD8\u53EF\u7528\u96C6\u7FA4\uFF0C\u5FEB\u901F\u5F39\u6027\u6269\u5C55\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7"))+" ")])])])])])]),a("div",{staticClass:"fluid-info"},[a("div",{staticClass:"fluid-info-item"},[a("div",{staticClass:"info-title"},[e._v(" "+e._s(e.$L("\u5B8C\u5584\u7684\u670D\u52A1\u652F\u6301\u4F53\u7CFB"))+" ")]),a("div",{staticClass:"info-function"},[a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/4.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("1:1\u5BA2\u6237\u6210\u529F\u987E\u95EE"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u8D44\u6DF1\u5BA2\u6237\u6210\u529F\u987E\u95EE\u5BF9\u4F01\u4E1A\u8FDB\u884C\u8C03\u7814\u3001\u6C9F\u901A\u9700\u6C42\u3001\u5236\u5B9A\u4E2A\u6027\u5316\u7684\u89E3\u51B3\u65B9\u6848\uFF0C\u5E2E\u52A9\u4F01\u4E1A\u843D\u5730"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-80"},[a("ImgView",{attrs:{src:"images/pro/5.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u5B8C\u5584\u7684\u57F9\u8BAD\u4F53\u7CFB"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u6839\u636E\u9700\u6C42\u5B9A\u5236\u57F9\u8BAD\u5185\u5BB9\uFF0C\u4E3A\u4E0D\u540C\u89D2\u8272\u7ED9\u51FA\u4E13\u5C5E\u57F9\u8BAD\u65B9\u6848\uFF0C\u7EBF\u4E0A\u7EBF\u4E0B\u57F9\u8BAD\u6E20\u9053\u5168\u8986\u76D6"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/6.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u5168\u9762\u7684\u652F\u6301\u670D\u52A1"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u79CD\u652F\u6301\u670D\u52A1\u8BA9\u4F01\u4E1A\u65E0\u540E\u987E\u4E4B\u5FE7\uFF0C7x24 \u7EBF\u4E0A\u652F\u6301\u3001\u5728\u7EBF\u5DE5\u5355\u3001\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301\u3001\u4E0A\u95E8\u652F\u6301"))+" ")])])])])])]),a("div",{staticClass:"fluid-info fluid-info-3"},[a("div",{staticClass:"fluid-info-item"},[a("div",{staticClass:"info-title"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u5B89\u5168\u7B56\u7565\u4FDD\u62A4\u6570\u636E"))+" ")]),a("div",{staticClass:"info-function"},[a("div",{staticClass:"func-item"},[a("div",{staticClass:"image"},[a("ImgView",{attrs:{src:"images/pro/7.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u9AD8\u53EF\u7528\u6027\u4FDD\u8BC1"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u4E22\u5931\uFF0C\u9AD8\u53EF\u7528\u6545\u969C\u8F6C\u79FB\uFF0C\u5F02\u5730\u5BB9\u707E\u5907\u4EFD\uFF0C99.99%\u53EF\u7528\u6027\u4FDD\u8BC1"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-80"},[a("ImgView",{attrs:{src:"images/pro/8.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u6570\u636E\u52A0\u5BC6"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u6CC4\u6F0F\uFF0C\u57FA\u4E8E TLS \u7684\u6570\u636E\u52A0\u5BC6\u4F20\u8F93\uFF0CDDOS \u9632\u5FA1\u548C\u5165\u4FB5\u68C0\u6D4B"))+" ")])])]),a("div",{staticClass:"func-item"},[a("div",{staticClass:"image image-50"},[a("ImgView",{attrs:{src:"images/pro/9.svg"}})],1),a("div",{staticClass:"func-desc"},[a("div",{staticClass:"desc-title"},[e._v(" "+e._s(e.$L("\u5E10\u6237\u5B89\u5168"))+" ")]),a("div",{staticClass:"desc-text"},[e._v(" "+e._s(e.$L("\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u5E10\u6237\u5B89\u5168\uFF0C\u8FDC\u7A0B\u4F1A\u8BDD\u63A7\u5236\uFF0C\u8BBE\u5907\u7ED1\u5B9A\uFF0C\u5B89\u5168\u65E5\u5FD7\u4EE5\u53CA\u624B\u52BF\u5BC6\u7801"))+" ")])])])])])])]),e.systemConfig.home_footer?a("div",{staticClass:"contact-footer"},[a("span",{domProps:{innerHTML:e._s(e.systemConfig.home_footer)}})]):e._e(),a("Modal",{attrs:{title:e.$L("\u8054\u7CFB\u6211\u4EEC"),width:"430"},model:{value:e.contactShow,callback:function(s){e.contactShow=s},expression:"contactShow"}},[a("p",[e._v(e._s(e.$L("\u5982\u6709\u4EFB\u4F55\u95EE\u9898\uFF0C\u6B22\u8FCE\u4F7F\u7528\u90AE\u7BB1\u4E0E\u6211\u4EEC\u8054\u7CFB\u3002")))]),a("p",[e._v(e._s(e.$L("\u90AE\u7BB1\u5730\u5740\uFF1Aaipaw@live.cn")))]),a("div",{staticClass:"adaption",attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{type:"primary"},on:{click:function(s){e.contactShow=!1}}},[e._v(e._s(e.$L("\u786E\u5B9A")))])],1)]),a("UpdateLog",{attrs:{"update-log":e.showItem.updateLog,"update-ver":e.showItem.updateVer},model:{value:e.uplogShow,callback:function(s){e.uplogShow=s},expression:"uplogShow"}})],1)},h=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"currency"},[a("em",[e._v("0")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"currency"},[a("em",[e._v("0")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"currency"},[a("em",[e._v("18800")])])}];const v={components:{UpdateLog:u},data(){return{languageList:r,languageType:l,active:3,body1:!0,body2:!0,contactShow:!1,systemConfig:{},showItem:{pro:!1,github:"",updateLog:"",updateVer:""},uplogShow:!1,functions:[{label:"\u9879\u76EE\u7BA1\u7406",supports:[1,1,1,1]},{label:"\u6587\u4EF6\u7BA1\u7406",supports:[1,1,1,1]},{label:"\u56E2\u961F\u7BA1\u7406",supports:[1,1,1,1]},{label:"\u5373\u65F6\u804A\u5929",supports:[1,1,1,1]},{label:"\u5B50\u4EFB\u52A1",supports:[1,1,1,1]},{label:"\u56FD\u9645\u5316",supports:[1,1,1,1]},{label:"\u7518\u7279\u56FE",supports:[1,1,1,1]},{label:"\u4EFB\u52A1\u52A8\u6001",supports:[1,1,1,1]},{label:"\u5BFC\u51FA\u4EFB\u52A1",supports:[1,1,1,1]},{label:"\u65E5\u7A0B",supports:[1,1,1,1]},{label:"\u5468\u62A5/\u65E5\u62A5",supports:[1,1,1,1]},{label:"\u521B\u5EFA\u7FA4\u804A",supports:[1,1,1,1]},{label:"\u9879\u76EE\u7FA4\u804A",supports:[1,1,1,1]},{label:"\u9879\u76EE\u641C\u7D22",supports:[1,1,1,1]},{label:"\u4EFB\u52A1\u7C7B\u578B",supports:[1,1,1,1]},{label:"\u6587\u4EF6\u641C\u7D22",supports:[1,1,1,1]},{label:"\u4E8C\u7EF4\u7801\u767B\u5F55",supports:[0,1,1,1]},{label:"\u804A\u5929\u673A\u5668\u4EBA",supports:[0,1,1,1]},{label:"\u6D88\u606F\u514D\u6253\u6270",supports:[0,1,1,1]},{label:"\u6D88\u606F\u6807\u6CE8",supports:[0,1,1,1]},{label:"\u53D1\u9001\u8BED\u97F3\u6D88\u606F",supports:[0,1,1,1]},{label:"\u4F1A\u8BAE\u529F\u80FD",supports:[0,1,1,1]},{label:"\u90E8\u95E8\u529F\u80FD",supports:[0,1,1,1]},{label:"\u7B7E\u5230\u529F\u80FD",supports:[0,1,1,1]},{label:"LDAP\u767B\u5F55",supports:[0,1,1,1]},{label:"\u4E34\u65F6\u5E10\u53F7",supports:[0,1,1,1]},{label:"\u533F\u540D\u6D88\u606F",supports:[0,1,1,1]},{label:"\u56DE\u590D\u6D88\u606F",supports:[0,1,1,1]},{label:"\u8868\u60C5\u56DE\u590D",supports:[0,1,1,1]},{label:"\u641C\u7D22\u6D88\u606F",supports:[0,1,1,1]},{label:"\u4EFB\u52A1\u91CD\u590D\u5468\u671F",supports:[0,1,1,1]},{label:"Mac/PC\u5BA2\u6237\u7AEF",supports:[0,1,1,1]},{label:"iOS/Android\u5BA2\u6237\u7AEF",supports:[0,1,1,1]}],services:[{label:"\u81EA\u52A9\u652F\u6301",sublabel:"\uFF08Issues/\u793E\u7FA4\uFF09",supports:[1,1,1,1]},{label:"\u652F\u6301\u79C1\u6709\u5316\u90E8\u7F72",supports:[1,1,1,1]},{label:"\u7ED1\u5B9A\u81EA\u6709\u57DF\u540D",supports:[1,1,1,1]},{label:"\u4E8C\u6B21\u5F00\u53D1",supports:[1,1,1,1]},{label:"\u4E8C\u6B21\u5F00\u53D1\u54A8\u8BE2\u670D\u52A1",supports:[0,0,1,1]},{label:"\u5141\u8BB8\u9690\u85CF\u6216\u5B9A\u5236\u4EA7\u54C1\u540D",supports:[0,0,1,1]},{label:"\u5728\u7EBF\u54A8\u8BE2\u652F\u6301",supports:[0,0,1,1]},{label:"\u7535\u8BDD\u54A8\u8BE2\u652F\u6301",supports:[0,0,1,1]},{label:"\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301",supports:[0,0,1,1]},{label:"\u4E00\u5BF9\u4E00\u5BA2\u6237\u987E\u95EE",supports:[0,0,1,1]},{label:"\u4EA7\u54C1\u57F9\u8BAD",supports:[0,0,1,1]},{label:"\u4E0A\u95E8\u652F\u6301",supports:[0,0,1,1]},{label:"\u4E13\u5C5E\u5BA2\u6237\u6210\u529F\u7ECF\u7406",supports:[0,0,1,1]},{label:"\u514D\u8D39\u63D0\u4F9B\u4E00\u6B21\u5185\u8BAD",supports:[0,0,1,1]},{label:"\u660E\u661F\u5BA2\u6237\u6848\u4F8B",supports:[0,0,1,1]}]}},created(){d([{key:"\u591A\u79CD\u652F\u6301\u670D\u52A1\u8BA9\u4F01\u4E1A\u65E0\u540E\u987E\u4E4B\u5FE7\uFF0C7x24 \u7EBF\u4E0A\u652F\u6301\u3001\u5728\u7EBF\u5DE5\u5355\u3001\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301\u3001\u4E0A\u95E8\u652F\u6301",zh:"","zh-CHT":"\u591A\u7A2E\u652F\u6301\u670D\u52D9\u8B93\u4F01\u696D\u7121\u5F8C\u9867\u4E4B\u6182\uFF0C7x24 \u7DDA\u4E0A\u652F\u6301\u3001\u5728\u7DDA\u5DE5\u55AE\u3001\u4E2D\u82F1\u6587\u90F5\u4EF6\u652F\u6301\u3001\u4E0A\u9580\u652F\u6301",en:"A variety of support services let the enterprise no worries, 7x24 online support, online work order, English and Chinese email support, door-to-door support",ko:"\uB2E4\uC591\uD55C \uC9C0\uC6D0 \uC11C\uBE44\uC2A4, 7x24 \uC628\uB77C\uC778 \uC9C0\uC6D0, \uC628\uB77C\uC778 \uC5C5\uBB34 \uC8FC\uBB38, \uC911\uC601\uBB38 \uC774\uBA54\uC77C \uC9C0\uC6D0, \uBC29\uBB38 \uC9C0\uC6D0 \uB4F1 \uAE30\uC5C5\uC774 \uADFC\uC2EC\uAC71\uC815\uC774 \uC5C6\uB3C4\uB85D \uD569\uB2C8\uB2E4",ja:"7x24\u30AA\u30F3\u30E9\u30A4\u30F3\u30B5\u30DD\u30FC\u30C8\u3001\u30AA\u30F3\u30E9\u30A4\u30F3\u30DE\u30CB\u30E5\u30A2\u30EB\u3001\u4E2D\u56FD\u8A9E\u3068\u82F1\u8A9E\u306E\u30E1\u30FC\u30EB\u30B5\u30DD\u30FC\u30C8\u3001\u8A2A\u554F\u30B5\u30DD\u30FC\u30C8\u306A\u3069\u3001\u69D8\u3005\u306A\u30B5\u30DD\u30FC\u30C8\u30B5\u30FC\u30D3\u30B9\u304C\u3042\u308A\u307E\u3059\u3002",de:"Eine reihe Von unterst\xFCtzungsdiensten hat dieses unternehmen unerreichbar gemacht: online-unterst\xFCtzung auf der 7x24 online-seite, online-unterst\xFCtzung, chinesische und englische mails sowie unterst\xFCtzung zu hause",fr:"Une vari\xE9t\xE9 de services de soutien pour les entreprises sans soucis, 7x24 support en ligne, ordres de travail en ligne, chinois et anglais soutien par courrier \xE9lectronique, soutien \xE0 la porte",id:"Berbagai layanan dukungan telah membantu usaha mereka"},{key:"\u65E0\u9700\u672C\u5730\u73AF\u5883\u51C6\u5907\uFF0C\u6309\u9700\u8D2D\u4E70\u5E10\u6237\uFF0C\u4E13\u4E1A\u56E2\u961F\u63D0\u4F9B\u8FD0\u7EF4\u4FDD\u969C\u670D\u52A1\uFF0C\u4E24\u5468\u4E00\u6B21\u7684\u7248\u672C\u8FED\u4EE3",zh:"","zh-CHT":"\u7121\u9700\u672C\u5730\u74B0\u5883\u6E96\u5099\uFF0C\u6309\u9700\u8CFC\u8CB7\u5E33\u6236\uFF0C\u5C08\u696D\u5718\u968A\u63D0\u4F9B\u904B\u7DAD\u4FDD\u969C\u670D\u52D9\uFF0C\u5169\u9031\u4E00\u6B21\u7684\u7248\u672C\u8FED\u4EE3",en:"No need for local environment preparation, purchase accounts on demand, professional team to provide operation and maintenance services, biweekly version iteration",ko:"\uC9C0\uC5ED \uD658\uACBD\uC5D0 \uB300\uD55C \uC900\uBE44 \uC5C6\uC774 \uC8FC\uBB38\uD615 \uACC4\uC815\uC744 \uAD6C\uC785\uD558\uBA70 \uC804\uBB38 \uD300\uC5D0 \uC758\uD574 \uC6B4\uC601 \uAD00\uB9AC \uC11C\uBE44\uC2A4\uAC00 \uC81C\uACF5\uB418\uBA70 2\uC8FC\uC5D0 \uD55C \uBC88\uC529 \uBC84\uC804\uC744 \uBC18\uBCF5\uD569\uB2C8\uB2E4",ja:"\u30ED\u30FC\u30AB\u30EB\u74B0\u5883\u306E\u6E96\u5099\u306F\u5FC5\u8981\u3042\u308A\u307E\u305B\u3093\u3001\u30AA\u30F3\u30C7\u30DE\u30F3\u30C9\u3067\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u8CFC\u5165\u3001\u5C02\u9580\u30C1\u30FC\u30E0\u306B\u3088\u308B\u904B\u7528\u30FB\u4FDD\u5B88\u4FDD\u8A3C\u30B5\u30FC\u30D3\u30B9\u30012\u9031\u9593\u306B1\u56DE\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\u53CD\u5FA9",de:"Fachgruppen liefern personensicherungsdienste, ohne dass die \xF6rtlichen gegebenheiten ber\xFCcksichtigt werden m\xFCssen, und liefern zweiw\xF6chige versionen Von isps",fr:"Aucune pr\xE9paration de l\u2019environnement local, achat de compte \xE0 la demande, service de garantie o&e par une \xE9quipe sp\xE9cialis\xE9e, it\xE9ration de la version bi-hebdomadaire",id:"Tak perlu persiapan lingkungan lokal, membeli rekening yang diperlukan, dan tim profesional menyediakan layanan pengamanan transportasi, dan iterasi versi dua minggu"},{key:"\u8D44\u6DF1\u5BA2\u6237\u6210\u529F\u987E\u95EE\u5BF9\u4F01\u4E1A\u8FDB\u884C\u8C03\u7814\u3001\u6C9F\u901A\u9700\u6C42\u3001\u5236\u5B9A\u4E2A\u6027\u5316\u7684\u89E3\u51B3\u65B9\u6848\uFF0C\u5E2E\u52A9\u4F01\u4E1A\u843D\u5730",zh:"","zh-CHT":"\u8CC7\u6DF1\u5BA2\u6236\u6210\u529F\u9867\u554F\u5C0D\u4F01\u696D\u9032\u884C\u8ABF\u7814\u3001\u6E9D\u901A\u9700\u6C42\u3001\u5236\u5B9A\u500B\u6027\u5316\u7684\u89E3\u6C7A\u65B9\u6848\uFF0C\u5E6B\u52A9\u4F01\u696D\u843D\u5730",en:"Senior customer success consultant to the enterprise research, communication needs, develop personalized solutions, to help the enterprise landing",ko:"\uBCA0\uD14C\uB791 \uACE0\uAC1D \uC131\uACF5 \uACE0\uBB38\uC740 \uAE30\uC5C5\uC5D0 \uB300\uD574 \uC870\uC0AC \uC5F0\uAD6C\uB97C \uC9C4\uD589\uD558\uACE0, \uC694\uAD6C\uB97C \uC18C\uD1B5\uD558\uBA70, \uAC1C\uC131\uD654\uB41C \uD574\uACB0 \uBC29\uC548\uC744 \uC81C\uC815\uD558\uC5EC \uAE30\uC5C5\uC758 \uC815\uCC29\uC744 \uB3D5\uC2B5\uB2C8\uB2E4",ja:"\u30D9\u30C6\u30E9\u30F3\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u6210\u529F\u30B3\u30F3\u30B5\u30EB\u30BF\u30F3\u30C8\u306F\u3001\u4F01\u696D\u306E\u30CB\u30FC\u30BA\u3092\u8ABF\u67FB\u3057\u3001\u30B3\u30DF\u30E5\u30CB\u30B1\u30FC\u30B7\u30E7\u30F3\u3057\u3001\u7B87\u6027\u5316\u3055\u308C\u305F\u89E3\u6C7A\u6848\u3092\u4F5C\u6210\u3057\u3066\u3001\u4F01\u696D\u306E\u5B9A\u7740\u3092\u652F\u63F4\u3057\u307E\u3059\u3002",de:"Erfahrene berater berater recherchieren, kommunizieren und individuelle l\xF6sungen erarbeiten, die das unternehmen zum scheitern bringen",fr:"Le conseiller senior de succ\xE8s de client effectue des recherches sur les entreprises, communique les besoins, \xE9labore des solutions personnalis\xE9es, aide les entreprises \xE0 atterrir",id:"Konsultan senior yang berhasil melakukan riset, kebutuhan komunikasi, dan resolusi pribadi untuk membantu bisnis ini mendarat"},{key:"\u4F01\u4E1A\u9694\u79BB\u7684\u4E91\u670D\u52A1\u5668\u73AF\u5883\uFF0C\u9AD8\u53EF\u7528\u6027\uFF0C\u7F51\u7EDC\u53CA\u5E94\u7528\u5C42\u5B8C\u6574\u9694\u79BB\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",zh:"","zh-CHT":"\u4F01\u696D\u9694\u96E2\u7684\u96F2\u670D\u52D9\u5668\u74B0\u5883\uFF0C\u9AD8\u53EF\u7528\u6027\uFF0C\u7DB2\u7D61\u53CA\u61C9\u7528\u5C64\u5B8C\u6574\u9694\u96E2\uFF0C\u6578\u64DA\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",en:"Enterprise isolated cloud server environment, high availability, complete isolation of network and application layer, highly autonomous and controllable data",ko:"\uAE30\uC5C5\uC5D0\uC11C \uACA9\uB9AC\uB41C \uD074\uB77C\uC6B0\uB4DC \uC11C\uBC84 \uD658\uACBD\uC740 \uAC00\uC6A9\uC131\uC774 \uB192\uC544 \uB124\uD2B8\uC6CC\uD06C\uC640 \uC560\uD50C\uB9AC\uCF00\uC774\uC158 \uACC4\uCE35\uC774 \uC644\uC804\uD788 \uACA9\uB9AC\uB418\uACE0 \uB370\uC774\uD130\uAC00 \uACE0\uB3C4\uB85C \uC790\uC728\uC801\uC774\uACE0 \uC81C\uC5B4\uAC00 \uAC00\uB2A5\uD558\uB2E4",ja:"\u4F01\u696D\u304B\u3089\u5206\u96E2\u3055\u308C\u305F\u30AF\u30E9\u30A6\u30C9\u30B5\u30FC\u30D0\u30FC\u74B0\u5883\u3001\u9AD8\u53EF\u7528\u6027\u3001\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u304A\u3088\u3073\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u5C64\u306E\u5B8C\u5168\u306A\u5206\u96E2\u3001\u30C7\u30FC\u30BF\u306E\u9AD8\u5EA6\u306A\u81EA\u5F8B\u5236\u5FA1\u304C\u53EF\u80FD\u3067\u3059\u3002",de:"Cloud-server-umfeld zur unternehmensquaranting, hohe verf\xFCgbarkeit, vollst\xE4ndige cyber-isolation und vorhersehbare daten",fr:"Environnement de serveur cloud isol\xE9 pour les entreprises, haute disponibilit\xE9, isolation compl\xE8te des couches r\xE9seau et application, haute autonomie et contr\xF4le des donn\xE9es",id:"Lingkungan server awan yang terisolasi dari bisnis, sangat tersedia, jaringan dan lapisan aplikasi aman, dan data sangat otonom"},{key:"\u6839\u636E\u9700\u6C42\u5B9A\u5236\u57F9\u8BAD\u5185\u5BB9\uFF0C\u4E3A\u4E0D\u540C\u89D2\u8272\u7ED9\u51FA\u4E13\u5C5E\u57F9\u8BAD\u65B9\u6848\uFF0C\u7EBF\u4E0A\u7EBF\u4E0B\u57F9\u8BAD\u6E20\u9053\u5168\u8986\u76D6",zh:"","zh-CHT":"\u6839\u64DA\u9700\u6C42\u5B9A\u88FD\u57F9\u8A13\u5167\u5BB9\uFF0C\u7232\u4E0D\u540C\u89D2\u8272\u7D66\u51FA\u5C08\u5C6C\u57F9\u8A13\u65B9\u6848\uFF0C\u7DDA\u4E0A\u7DDA\u4E0B\u57F9\u8A13\u6E20\u9053\u5168\u8986\u84CB",en:"Training content is customized according to the needs, and exclusive training programs are provided for different roles, with full coverage of online and offline training channels",ko:"\uC218\uC694\uC5D0 \uB530\uB77C \uD6C8\uB828\uB0B4\uC6A9\uC744 \uB9DE\uCDA4\uD654\uD558\uACE0 \uBD80\uB3D9\uD55C \uC5ED\uD560\uC744 \uC704\uD574 \uC804\uC18D\uC801\uC778 \uAD50\uC721\uBC29\uC548\uC744 \uB0B4\uB193\uC73C\uBA70 \uC628\uB77C\uC778\uACFC \uC624\uD504\uB77C\uC778\uC758 \uAD50\uC721\uACBD\uB85C\uB97C \uC804\uBA74\uC801\uC73C\uB85C \uCEE4\uBC84\uD55C\uB2E4",ja:"\u30CB\u30FC\u30BA\u306B\u5408\u308F\u305B\u3066\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u5185\u5BB9\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u3001\u305D\u308C\u305E\u308C\u306E\u30AD\u30E3\u30E9\u30AF\u30BF\u30FC\u306B\u5408\u3063\u305F\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u30D7\u30E9\u30F3\u3092\u63D0\u4F9B\u3057\u3066\u3044\u307E\u3059\u3002\u30AA\u30F3\u30E9\u30A4\u30F3\u3068\u30AA\u30D5\u30E9\u30A4\u30F3\u306E\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u3092\u3059\u3079\u3066\u30AB\u30D0\u30FC\u3057\u3066\u3044\u307E\u3059\u3002",de:"Weicht man Von den anforderungen ab, werden spezielle ausbildungsprogramme f\xFCr die unterschiedlichen rollen bereitgestellt und \xFCber alle online-kan\xE4le bereitgestellt",fr:"Personnaliser le contenu de la formation en fonction de la demande, donner des programmes de formation exclusifs pour diff\xE9rents r\xF4les, couverture compl\xE8te des canaux de formation en ligne et hors ligne",id:"Program pelatihan eksklusif untuk berbagai peran diberikan, sesuai dengan kebutuhan, dan saluran pelatihan via telepon yang disesuaikan"},{key:"DooTask \u662F\u65B0\u4E00\u4EE3\u56E2\u961F\u534F\u4F5C\u5E73\u53F0\uFF0C\u60A8\u53EF\u4EE5\u6839\u636E\u60A8\u56E2\u961F\u7684\u9700\u6C42\uFF0C\u9009\u62E9\u5408\u9002\u7684\u4EA7\u54C1\u529F\u80FD\u3002",zh:"","zh-CHT":"DooTask \u662F\u65B0\u4E00\u4EE3\u5718\u968A\u5354\u4F5C\u5E73\u81FA\uFF0C\u60A8\u53EF\u4EE5\u6839\u64DA\u60A8\u5718\u968A\u7684\u9700\u6C42\uFF0C\u9078\u64C7\u5408\u9069\u7684\u7522\u54C1\u529F\u80FD\u3002",en:"DooTask is a next-generation team collaboration platform that allows you to select the right product features for your team's needs.",ko:"'\uB450\uD0DC\uC2A4\uD06C'\uB294 \uD300\uC758 \uD544\uC694\uC5D0 \uB530\uB77C \uC81C\uD488\uC5D0 \uB9DE\uB294 \uAE30\uB2A5\uC744 \uC120\uD0DD\uD560 \uC218 \uC788\uB294 \uCC28\uC138\uB300 \uD300\uC6CC\uD06C \uD50C\uB7AB\uD3FC\uC785\uB2C8\uB2E4.",ja:"DooTask\u306F\u6B21\u4E16\u4EE3\u306E\u30C1\u30FC\u30E0\u30EF\u30FC\u30AF\u30D7\u30E9\u30C3\u30C8\u30D5\u30A9\u30FC\u30E0\u3067\u3059\u3002\u30C1\u30FC\u30E0\u306E\u30CB\u30FC\u30BA\u306B\u5FDC\u3058\u3066\u3001\u9069\u5207\u306A\u88FD\u54C1\u6A5F\u80FD\u3092\u9078\u3076\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002",de:"Die dingsda ist die h\xE4rtere arbeitsplatte, mit der sie die produktfunktion nach den bed\xFCrfnissen ihrer gruppe ausw\xE4hlen k\xF6nnen.",fr:"DooTask est une plateforme de collaboration d\u2019\xE9quipe de nouvelle g\xE9n\xE9ration. En fonction des besoins de votre \xE9quipe, vous pouvez choisir les fonctionnalit\xE9s de produit appropri\xE9es.",id:"Penugasan adalah platform kerjasama tim generasi baru. Anda dapat memilih fitur produk yang sesuai sesuai kebutuhan tim anda."},{key:"\u57FA\u4E8E Docker \u7684\u5BB9\u5668\u5316\u90E8\u7F72\uFF0C\u652F\u6301\u9AD8\u53EF\u7528\u96C6\u7FA4\uFF0C\u5FEB\u901F\u5F39\u6027\u6269\u5C55\uFF0C\u6570\u636E\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",zh:"","zh-CHT":"\u57FA\u65BC Docker \u7684\u5BB9\u5668\u5316\u90E8\u7F72\uFF0C\u652F\u6301\u9AD8\u53EF\u7528\u96C6\u7FA3\uFF0C\u5FEB\u901F\u5F48\u6027\u64F4\u5C55\uFF0C\u6578\u64DA\u9AD8\u5EA6\u81EA\u4E3B\u53EF\u63A7",en:"Containerized deployment based on Docker supports high availability cluster, fast and elastic expansion, and highly autonomous and controllable data",ko:"Docker \uAE30\uBC18\uC758 \uCEE8\uD14C\uC774\uB108\uD654 \uBC30\uD3EC\uB97C \uD1B5\uD574 \uACE0\uAC00\uC6A9\uC131 \uD074\uB7EC\uC2A4\uD130, \uBE60\uB978 \uD0C4\uB825\uC131, \uB192\uC740 \uC790\uC728\uC801 \uB370\uC774\uD130 \uC81C\uC5B4\uAC00 \uAC00\uB2A5\uD558\uB2E4",ja:"Docker\u30D9\u30FC\u30B9\u306E\u30B3\u30F3\u30C6\u30CA\u5316\u914D\u7F6E\u3001\u9AD8\u5229\u7528\u53EF\u80FD\u306A\u30AF\u30E9\u30B9\u30BF\u306E\u30B5\u30DD\u30FC\u30C8\u3001\u8FC5\u901F\u3067\u67D4\u8EDF\u306A\u62E1\u5F35\u3001\u9AD8\u5EA6\u306B\u81EA\u5F8B\u7684\u306A\u30C7\u30FC\u30BF\u5236\u5FA1\u304C\u53EF\u80FD\u3067\u3059\u3002",de:"Basierend auf dockers containern ist es m\xF6glich, starke agglomerationen zu bilden, die eine hohe elastizit\xE4t und kontrollierbare daten erm\xF6glichen",fr:"D\xE9ploiement container bas\xE9 sur Docker, prise en charge de clusters hautement disponibles, expansion rapide et \xE9lastique, donn\xE9es hautement autonomes et contr\xF4lables",id:"Penyebaran penahanan berbasis Docker, mendukung cluster yang sangat tersedia, perpanjangan cepat lentur, dan data sangat otonom"},{key:"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u4E22\u5931\uFF0C\u9AD8\u53EF\u7528\u6545\u969C\u8F6C\u79FB\uFF0C\u5F02\u5730\u5BB9\u707E\u5907\u4EFD\uFF0C99.99%\u53EF\u7528\u6027\u4FDD\u8BC1",zh:"","zh-CHT":"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8B49\u6578\u64DA\u4E0D\u4E1F\u5931\uFF0C\u9AD8\u53EF\u7528\u6545\u969C\u8F49\u79FB\uFF0C\u7570\u5730\u5BB9\u707D\u5099\u4EFD\uFF0C99.99%\u53EF\u7528\u6027\u4FDD\u8B49",en:"Multiple modes guarantee data loss, high availability failover, remote disaster recovery backup, and 99.99% availability",ko:"\uB2E4\uC911\uBC29\uC2DD\uC73C\uB85C \uB370\uC774\uD0C0\uAC00 \uBD84\uC2E4\uB418\uC9C0 \uC54A\uB3C4\uB85D \uB2F4\uBCF4\uD558\uACE0 \uACE0\uAC00\uC6A9\uC131 \uACE0\uC7A5\uC804\uC774, \uD0C0\uC9C0\uC5ED\uC7AC\uD574\uD5C8\uC6A9\uBC31\uC5C5\uD558\uC5EC 99.99%\uC758 \uAC00\uC6A9\uC131\uC744 \uBCF4\uC7A5\uD55C\uB2E4",ja:"\u591A\u91CD\u306E\u65B9\u5F0F\u306F\u30C7\u30FC\u30BF\u304C\u5931\u308F\u306A\u3044\u3053\u3068\u3092\u4FDD\u8A3C\u3057\u3066\u3001\u9AD8\u5229\u7528\u53EF\u80FD\u306A\u6545\u969C\u306E\u8EE2\u79FB\u3001\u7570\u5730\u306B\u707D\u5BB3\u3092\u8A31\u5BB9\u3059\u308B\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u300199.99%\u5229\u7528\u53EF\u80FD\u6027\u306E\u4FDD\u8A3C\u3067\u3059",de:"Mehrere wege, um sicherzustellen, dass keine daten verloren gehen, st\xF6rungen werden hoch gelagert, eine externe erdbebensicherung: 999%",fr:"Plusieurs fa\xE7ons de garantir que les donn\xE9es ne sont pas perdues, failover haute disponibilit\xE9, sauvegarde hors site Dr, garantie de disponibilit\xE9 \xE0 99,99%",id:"Beberapa cara memastikan data tidak hilang, transfer macet yang tinggi, cadangan bencana jarak jauh, dijamin 99,99%"},{key:"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u5E10\u6237\u5B89\u5168\uFF0C\u8FDC\u7A0B\u4F1A\u8BDD\u63A7\u5236\uFF0C\u8BBE\u5907\u7ED1\u5B9A\uFF0C\u5B89\u5168\u65E5\u5FD7\u4EE5\u53CA\u624B\u52BF\u5BC6\u7801",zh:"","zh-CHT":"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8B49\u5E33\u6236\u5B89\u5168\uFF0C\u9060\u7A0B\u6703\u8A71\u63A7\u5236\uFF0C\u8A2D\u5099\u7D81\u5B9A\uFF0C\u5B89\u5168\u65E5\u8A8C\u4EE5\u53CA\u624B\u52E2\u5BC6\u78BC",en:"Multiple ways to ensure account security, remote session control, device binding, security logging, and gesture passwords",ko:"\uC5EC\uB7EC \uAC00\uC9C0 \uBC29\uBC95\uC73C\uB85C \uACC4\uC815 \uBCF4\uC548, \uC6D0\uACA9 \uC138\uC158 \uC81C\uC5B4, \uC7A5\uCE58 \uBC14\uC778\uB529, \uBCF4\uC548 \uB85C\uADF8 \uBC0F \uC81C\uC2A4\uCC98 \uBE44\uBC00\uBC88\uD638\uB97C \uBCF4\uC7A5\uD569\uB2C8\uB2E4",ja:"\u5FA9\u6570\u306E\u65B9\u6CD5\u3067\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5B89\u5168\u3092\u4FDD\u8A3C\u3057\u3066\u3001\u9060\u9694\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u5236\u5FA1\u3001\u88C5\u7F6E\u306E\u30D0\u30A4\u30F3\u30C7\u30A3\u30F3\u30B0\u3001\u5B89\u5168\u306A\u30ED\u30B0\u3068\u30B8\u30A7\u30B9\u30C1\u30E3\u30FC\u306E\u6697\u53F7\u5316\u3067\u3059",de:"Sie verschiedene systeme, um das konto sicherer zu machen, die sitzungskontrolle aus der ferne zu sichern, das programm zu programmieren, das sicherheitsprotokoll und das gesten passwort",fr:"Plusieurs fa\xE7ons de garantir la s\xE9curit\xE9 du compte, le contr\xF4le de session \xE0 distance, la liaison des appareils, les journaux de s\xE9curit\xE9 ainsi que les mots de passe gestuels",id:"Beberapa cara untuk menjamin keamanan akun, kontrol sesi jarak jauh, pengikat perangkat, log keamanan, dan password gerak"},{key:"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8BC1\u6570\u636E\u4E0D\u6CC4\u6F0F\uFF0C\u57FA\u4E8E TLS \u7684\u6570\u636E\u52A0\u5BC6\u4F20\u8F93\uFF0CDDOS \u9632\u5FA1\u548C\u5165\u4FB5\u68C0\u6D4B",zh:"","zh-CHT":"\u591A\u91CD\u65B9\u5F0F\u4FDD\u8B49\u6578\u64DA\u4E0D\u6CC4\u6F0F\uFF0C\u57FA\u65BC TLS \u7684\u6578\u64DA\u52A0\u5BC6\u50B3\u8F38\uFF0CDDOS \u9632\u79A6\u548C\u5165\u4FB5\u6AA2\u6E2C",en:"Multiple methods to ensure data leakage, TLS based data encryption transmission, DDOS defense and intrusion detection",ko:"\uB2E4\uC911 \uBCF4\uC548 \uB370\uC774\uD130 \uC720\uCD9C \uBC29\uC9C0, tls \uAE30\uBC18 \uC554\uD638\uD654 \uC804\uC1A1, ddos \uBC29\uC5B4 \uBC0F \uCE68\uC785 \uD0D0\uC9C0",ja:"\u30C7\u30FC\u30BF\u6F0F\u6D29\u9632\u6B62\u3001TLS\u306B\u3088\u308B\u30C7\u30FC\u30BF\u306E\u6697\u53F7\u5316\u3001DDOS\u306E\u9632\u5FA1\u3001\u4FB5\u5165\u691C\u77E5\u3092\u8907\u6570\u3067\u884C\u3044\u307E\u3059\u3002",de:"Dies stellt sicher, dass die daten nicht kompromittiert sind, und es gibt einige l\xFCcken bei den TLS, verschl\xFCsselte \xFCbertragungen, die verteidigung f\xFCr DDOS und die erkennung Von l\xFCcken",fr:"Plusieurs fa\xE7ons de garantir aucune fuite de donn\xE9es, transmission crypt\xE9e des donn\xE9es bas\xE9e sur TLS, protection contre les DDOS et d\xE9tection d\u2019intrusion",id:"Beberapa cara memastikan data tidak bocor, transmisi data terenkripsi berdasarkan TLS, DDOS pertahanan dan deteksi penyusup"},{key:"\u4ECE\u73B0\u5728\u5F00\u59CB\uFF0CDooTask \u4E3A\u4E16\u754C\u5404\u5730\u7684\u56E2\u961F\u63D0\u4F9B\u652F\u6301\uFF0C\u63A2\u7D22\u9002\u5408\u60A8\u7684\u9009\u9879\u3002",zh:"","zh-CHT":"\u5F9E\u73FE\u5728\u958B\u59CB\uFF0CDooTask \u7232\u4E16\u754C\u5404\u5730\u7684\u5718\u968A\u63D0\u4F9B\u652F\u6301\uFF0C\u63A2\u7D22\u9069\u5408\u60A8\u7684\u9078\u9805\u3002",en:"From now on, DooTask supports teams around the world to explore options that are right for you.",ko:"\uC9C0\uAE08\uBD80\uD130 dootask \uC5D0\uC11C\uB294 \uC804\uC138\uACC4\uC758 \uD300\uB4E4\uC744 \uC9C0\uC6D0\uD558\uBA74\uC11C \uC5B4\uB5A4 \uC635\uC158\uC744 \uC120\uD0DD\uD558\uC2E4 \uC218 \uC788\uB294\uC9C0 \uC54C\uC544\uBCF4\uC2ED\uC2DC\uC624.",ja:"\u3053\u308C\u304B\u3089DooTask\u306F\u4E16\u754C\u4E2D\u306E\u30C1\u30FC\u30E0\u3092\u30B5\u30DD\u30FC\u30C8\u3057\u3001\u3042\u306A\u305F\u306B\u5408\u3063\u305F\u9078\u629E\u80A2\u3092\u6A21\u7D22\u3057\u3066\u3044\u304D\u307E\u3059\u3002",de:"Von jetzt an steht die h\xE4rteste welle jedem team auf der ganzen welt zur verf\xFCgung und sonnt auch mal die ganz speziellen einstellungen f\xFCr sie.",fr:"D\xE9sormais, DooTask offre une assistance aux \xE9quipes du monde entier. Explorez les options qui vous conviennent.",id:"Mulai sekarang, tugasmu tugaskan tugaskan tim di seluruh dunia, temukan berbagai pilihan yang cocok untukmu."},{key:"\u5982\u6709\u4EFB\u4F55\u95EE\u9898\uFF0C\u6B22\u8FCE\u4F7F\u7528\u90AE\u7BB1\u4E0E\u6211\u4EEC\u8054\u7CFB\u3002",zh:"","zh-CHT":"\u5982\u6709\u4EFB\u4F55\u554F\u984C\uFF0C\u6B61\u8FCE\u4F7F\u7528\u90F5\u7BB1\u8207\u6211\u5011\u806F\u7E6B\u3002",en:"If you have any questions, please feel free to contact us by email.",ko:"\uB9CC\uC57D \uBB38\uC81C\uAC00 \uC788\uB294 \uACBD\uC6B0\uC5D0, \uD658\uC601 \uBA54\uC77C\uD568\uC73C\uB85C \uC800\uD76C\uC5D0\uAC8C \uC5F0\uB77D\uD55C\uB2E4.",ja:"\u4F55\u304B\u554F\u984C\u304C\u3042\u308C\u3070\u3001\u30E1\u30FC\u30EB\u30DC\u30C3\u30AF\u30B9\u3092\u4F7F\u3063\u3066\u79C1\u9054\u306B\u9023\u7D61\u3059\u308B\u3053\u3068\u3092\u6B53\u8FCE\u3057\u307E\u3059\u3002",de:"Bei weiteren fragen k\xF6nnen wir uns mit dem briefkasten melden.",fr:"Toute question, bienvenue \xE0 nous contacter \xE0 l\u2019aide de l\u2019email.",id:"Jika ada pertanyaan, silakan hubungi kami lewat email."},{key:"\u5141\u8BB8\u9690\u85CF\u6216\u5B9A\u5236\u4EA7\u54C1\u540D",zh:"","zh-CHT":"\u5141\u8A31\u96B1\u85CF\u6216\u5B9A\u88FD\u7522\u54C1\u540D",en:"Allows you to hide or customize product names",ko:"\uC81C\uD488 \uC774\uB984\uC744 \uC228\uAE30\uAC70\uB098 \uC0AC\uC6A9\uC790 \uC815\uC758\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",ja:"\u88FD\u54C1\u540D\u3092\u96A0\u3059\u3053\u3068\u3082\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059",de:"Ein system erlaubt es, anonym Oder individuell festzulegen",fr:"Permet de cacher ou personnaliser les noms de produits",id:"Memungkinkan untuk menyembunyikan atau menyesuaikan nama produk"},{key:"\u591A\u79CD\u90E8\u7F72\u65B9\u5F0F\u968F\u5FC3\u9009\u62E9",zh:"","zh-CHT":"\u591A\u7A2E\u90E8\u7F72\u65B9\u5F0F\u96A8\u5FC3\u9078\u64C7",en:"Multiple deployment modes are optional",ko:"\uC5EC\uB7EC\uAC00\uC9C0 \uD3EC\uCE58\uBC29\uC2DD\uC744 \uB9C8\uC74C\uB300\uB85C \uC120\uD0DD\uD55C\uB2E4",ja:"\u69D8\u3005\u306A\u914D\u7F6E\u65B9\u6CD5\u3092\u9078\u629E\u3067\u304D\u307E\u3059",de:"Verschiedene dislozierungsmodalit\xE4ten. Individuelle eins\xE4tze",fr:"Plusieurs modes de d\xE9ploiement au choix",id:"Dalam berbagai cara"},{key:"\u591A\u91CD\u5B89\u5168\u7B56\u7565\u4FDD\u62A4\u6570\u636E",zh:"","zh-CHT":"\u591A\u91CD\u5B89\u5168\u7B56\u7565\u4FDD\u8B77\u6578\u64DA",en:"Multiple security policies protect data",ko:"\uC5EC\uB7EC \uBCF4\uC548 \uC815\uCC45\uC73C\uB85C \uB370\uC774\uD130\uB97C \uBCF4\uD638\uD569\uB2C8\uB2E4",ja:"\u8907\u6570\u306E\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u30DD\u30EA\u30B7\u30FC\u3067\u30C7\u30FC\u30BF\u3092\u4FDD\u8B77\u3057\u307E\u3059",de:"Verschiedene sicherheitsstrategien sch\xFCtzen daten",fr:"Plusieurs politiques de s\xE9curit\xE9 prot\xE8gent les donn\xE9es",id:"Strategi keamanan ganda untuk melindungi data"},{key:"\u62E5\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD",zh:"","zh-CHT":"\u64C1\u6709\u6700\u65B0\u7248\u672C\u6240\u6709\u529F\u80FD",en:"Has all the features of the latest version",ko:"\uCD5C\uC2E0 \uBC84\uC804\uC758 \uBAA8\uB4E0 \uAE30\uB2A5\uC744 \uAC16\uCD94\uACE0 \uC788\uB2E4",ja:"\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u306E\u3059\u3079\u3066\u306E\u6A5F\u80FD\u3092\u5099\u3048\u3066\u3044\u307E\u3059",de:"Mit allen neusten funktionen",fr:"Avec toutes les fonctionnalit\xE9s de la derni\xE8re version",id:"Dengan versi terbaru dari semua fitur"},{key:"\u6839\u636E\u60A8\u7684\u9700\u6C42\u91CF\u8EAB\u5B9A\u5236",zh:"","zh-CHT":"\u6839\u64DA\u60A8\u7684\u9700\u6C42\u91CF\u8EAB\u5B9A\u88FD",en:"Tailored to your needs",ko:"\uB2F9\uC2E0\uC758 \uC694\uAD6C\uC5D0 \uB9DE\uCD94\uC5B4 \uB9CC\uB4E4\uB2E4",ja:"\u3042\u306A\u305F\u306E\u30CB\u30FC\u30BA\u306B\u5408\u308F\u305B\u3066\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u307E\u3059",de:"Ihren bed\xFCrfnissen anpassen",fr:"Adapt\xE9 \xE0 vos besoins",id:"Disesuaikan dengan kebutuhan anda"},{key:"\u5B8C\u5584\u7684\u670D\u52A1\u652F\u6301\u4F53\u7CFB",zh:"","zh-CHT":"\u5B8C\u5584\u7684\u670D\u52D9\u652F\u6301\u9AD4\u7CFB",en:"Perfect service support system",ko:"\uC644\uBCBD\uD55C \uC11C\uBE44\uC2A4 \uC9C0\uC6D0 \uCCB4\uACC4",ja:"\u5145\u5B9F\u3057\u305F\u30B5\u30FC\u30D3\u30B9\u30B5\u30DD\u30FC\u30C8\u4F53\u5236\u3067\u3059",de:"Bevor sie ihren dienst fortsetzen",fr:"Syst\xE8me de support de service parfait",id:"Layanan pendukung yang sempurna"},{key:"\u4E13\u5C5E\u5BA2\u6237\u6210\u529F\u7ECF\u7406",zh:"","zh-CHT":"\u5C08\u5C6C\u5BA2\u6236\u6210\u529F\u7D93\u7406",en:"Dedicated customer success manager",ko:"\uC804\uC18D \uACE0\uAC1D \uC131\uACF5 \uAD00\uB9AC\uC790",ja:"\u5C02\u5C5E\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30AF\u30BB\u30B9\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC\u3067\u3059",de:"Hat einen erfolgreichen kunden",fr:"Gestionnaire exclusif de la r\xE9ussite client",id:"Manajer sukses untuk pelanggan"},{key:"\u4E8C\u6B21\u5F00\u53D1\u54A8\u8BE2\u670D\u52A1",zh:"","zh-CHT":"\u4E8C\u6B21\u958B\u767C\u8AEE\u8A62\u670D\u52D9",en:"Secondary development consulting services",ko:"\uC7AC\uAC1C\uBC1C \uC790\uBB38\uC5ED",ja:"\u4E8C\u6B21\u958B\u767A\u30B3\u30F3\u30B5\u30EB\u30C6\u30A3\u30F3\u30B0\u30B5\u30FC\u30D3\u30B9\u3067\u3059",de:"Die wirtschaftsberatung in reo",fr:"Services de consultation en d\xE9veloppement secondaire",id:"Konsultan pengembangan kedua"},{key:"\u514D\u8D39\u63D0\u4F9B\u4E00\u6B21\u5185\u8BAD",zh:"","zh-CHT":"\u514D\u8CBB\u63D0\u4F9B\u4E00\u6B21\u5167\u8A13",en:"Provide a free internal training",ko:"\uB0B4\uC2E0\uC744 1\uD68C \uBB34\uB8CC\uB85C \uC81C\uACF5\uD55C\uB2E4",ja:"\u5185\u8A13\u30921\u56DE\u7121\u6599\u3067\u63D0\u4F9B\u3057\u307E\u3059",de:"Kostenlos ein fachstudium anbieten",fr:"Une formation interne offerte gratuitement",id:"Dapat satu pelatihan gratis"},{key:"\u9009\u62E9\u9002\u5408\u60A8\u7684\u7248\u672C",zh:"","zh-CHT":"\u9078\u64C7\u9069\u5408\u60A8\u7684\u7248\u672C",en:"Choose the version that works for you",ko:"\uB2F9\uC2E0\uC5D0\uAC8C \uB9DE\uB294 \uBC84\uC804\uC744 \uC120\uD0DD\uD558\uC2ED\uC2DC\uC624",ja:"\u3042\u306A\u305F\u306B\u5408\u3063\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u9078\u3073\u307E\u3059\u3002",de:"W\xE4hlen sie ihre version aus",fr:"Choisissez la version qui vous convient",id:"Pilih versi yang cocok untukmu"},{key:"1:1\u5BA2\u6237\u6210\u529F\u987E\u95EE",zh:"","zh-CHT":"1:1\u5BA2\u6236\u6210\u529F\u9867\u554F",en:"1:1 Customer success consultant",ko:"1:1 \uACE0\uAC1D \uC131\uACF5 \uCEE8\uC124\uD134\uD2B8",ja:"1:1\u30AB\u30B9\u30BF\u30DE\u30FC\u30B5\u30AF\u30BB\u30B9\u30A2\u30C9\u30D0\u30A4\u30B6\u30FC\u3067\u3059",de:"1:1, ein erfolgreicher berater",fr:"1:1 conseiller de r\xE9ussite client",id:"1:1, penasihat sukses pelanggan"},{key:"\u4E00\u5BF9\u4E00\u5BA2\u6237\u987E\u95EE",zh:"","zh-CHT":"\u4E00\u5C0D\u4E00\u5BA2\u6236\u9867\u554F",en:"One-to-one client consultant",ko:"\uC77C\uB300\uC77C \uACE0\uAC1D\uC0C1\uB2F4\uC0AC",ja:"1\u5BFE1\u306E\u30B3\u30F3\u30B5\u30EB\u30BF\u30F3\u30C8\u3067\u3059",de:"Ein pers\xF6nlicher berater.",fr:"Conseiller client one to one",id:"Konsultan pelanggan satu lawan satu"},{key:"\u4E2D\u82F1\u6587\u90AE\u4EF6\u652F\u6301",zh:"","zh-CHT":"\u4E2D\u82F1\u6587\u90F5\u4EF6\u652F\u6301",en:"English and Chinese email support",ko:"\uC911\uAD6D\uC5B4 \uC601\uBB38 \uC774\uBA54\uC77C \uC9C0\uC6D0",ja:"\u82F1\u8A9E\u3068\u4E2D\u56FD\u8A9E\u306E\u30E1\u30FC\u30EB\u306E\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Unterst\xFCtzung durch chinesische mails",fr:"Support par email en anglais et chinois",id:"Dukungan surat inggris"},{key:"\u5168\u9762\u7684\u652F\u6301\u670D\u52A1",zh:"","zh-CHT":"\u5168\u9762\u7684\u652F\u6301\u670D\u52D9",en:"Full support services",ko:"\uC804\uD3ED\uC801\uC778 \uC9C0\uC6D0 \uC11C\uBE44\uC2A4",ja:"\u5168\u9762\u7684\u306A\u30B5\u30DD\u30FC\u30C8\u30B5\u30FC\u30D3\u30B9\u3067\u3059",de:"Ich will eine komplette unterst\xFCtzung",fr:"Services de support complets",id:"Layanan dukungan penuh"},{key:"\u5B8C\u5584\u7684\u57F9\u8BAD\u4F53\u7CFB",zh:"","zh-CHT":"\u5B8C\u5584\u7684\u57F9\u8A13\u9AD4\u7CFB",en:"Perfect training system",ko:"\uC644\uBCBD\uD55C \uD6C8\uB828 \uC2DC\uC2A4\uD15C",ja:"\u5145\u5B9F\u3057\u305F\u6559\u80B2\u30B7\u30B9\u30C6\u30E0\u3067\u3059",de:"Aber die weiterbildung ist gut",fr:"Un syst\xE8me de formation complet",id:"Sistem pelatihan yang sempurna"},{key:"\u652F\u6301\u79C1\u6709\u5316\u90E8\u7F72",zh:"","zh-CHT":"\u652F\u6301\u79C1\u6709\u5316\u90E8\u7F72",en:"Support privatization deployment",ko:"\uBBFC\uC601\uD654 \uBC30\uCE58 \uC9C0\uC9C0",ja:"\u6C11\u55B6\u5316\u3092\u652F\u63F4\u3057\u307E\u3059",de:"Unterst\xFCtzung f\xFCr privatisierung",fr:"Soutien au d\xE9ploiement privatis\xE9",id:"Penyebaran privatisasi didukung"},{key:"iOS/Android\u5BA2\u6237\u7AEF",zh:"","zh-CHT":"IOS/Android\u5BA2\u6236\u7AEF",en:"IOS/Android client",ko:"Ios/\uC548\uB4DC\uB85C\uC774\uB4DC \uD074\uB77C\uC774\uC5B8\uD2B8",ja:"IOS/Android\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u3067\u3059",de:"Ein Android ist auf den markt gegangen",fr:"Client iOS/Android",id:"Pelanggan iOS/Android"},{key:"\uFF08Issues/\u793E\u7FA4\uFF09",zh:"","zh-CHT":"\uFF08Issues/\u793E\u7FA3\uFF09",en:"(Issues/ Community)",ko:"(issues/\uCEE4\uBBA4\uB2C8\uD2F0)",ja:"(Issues/\u30B3\u30DF\u30E5\u30CB\u30C6\u30A3\u3067\u3059)",de:"Eskips (herzen)",fr:"(Issues/ communaut\xE9)",id:"(Issues/ social)"},{key:"\u5728\u7EBF\u54A8\u8BE2\u652F\u6301",zh:"","zh-CHT":"\u5728\u7DDA\u8AEE\u8A62\u652F\u6301",en:"Online consultation support",ko:"\uC628\uB77C\uC778 \uCEE8\uC124\uD305 \uC9C0\uC6D0",ja:"\u30AA\u30F3\u30E9\u30A4\u30F3\u76F8\u8AC7\u652F\u63F4\u3067\u3059",de:"Unterst\xFCtzung f\xFCr online-beratung",fr:"Soutien de consultation en ligne",id:"Dukungan konseling online"},{key:"\u660E\u661F\u5BA2\u6237\u6848\u4F8B",zh:"","zh-CHT":"\u660E\u661F\u5BA2\u6236\u6848\u4F8B",en:"Star customer case",ko:"\uC2A4\uD0C0 \uACE0\uAC1D \uC0AC\uB840",ja:"\u30B9\u30BF\u30FC\u9867\u5BA2\u4E8B\u4F8B\u3067\u3059",de:"Der fall der star-klienten",fr:"Cas clients star",id:"Kasus klien bintang"},{key:"\u7535\u8BDD\u54A8\u8BE2\u652F\u6301",zh:"","zh-CHT":"\u96FB\u8A71\u8AEE\u8A62\u652F\u6301",en:"Telephone consultation support",ko:"\uC804\uD654 \uC0C1\uB2F4 \uC9C0\uC6D0",ja:"\u304A\u96FB\u8A71\u30B5\u30DD\u30FC\u30C8\u3067\u3059\u3002",de:"Telefonberatung, verst\xE4rkung.",fr:"Soutien de consultation t\xE9l\xE9phonique",id:"Dukungan konsultasi telepon"},{key:"\u7ED1\u5B9A\u81EA\u6709\u57DF\u540D",zh:"","zh-CHT":"\u7D81\u5B9A\u81EA\u6709\u57DF\u540D",en:"Bind own domain name",ko:"\uC790\uCCB4 \uB3C4\uBA54\uC778 \uBC14\uC778\uB529",ja:"\u30C9\u30E1\u30A4\u30F3\u540D\u3092\u4ED8\u3051\u3066\u3044\u307E\u3059",de:"Einen main-namen habe ich auch",fr:"Domaine propre li\xE9",id:"Terikat punya nama domain"},{key:"\u9009\u62E9\u9002\u5408\u4F60\u7684",zh:"","zh-CHT":"\u9078\u64C7\u9069\u5408\u4F60\u7684",en:"Choose what works for you",ko:"\uB124\uAC8C \uB9DE\uB294 \uAC83\uC744 \uACE8\uB77C\uB77C",ja:"\u3042\u306A\u305F\u306B\u5408\u3063\u305F\u3082\u306E\u3092\u9078\u3073\u307E\u3059",de:"W\xE4hlen sie, was ihnen passt",fr:"Choisissez ce qui vous convient",id:"Pilih apa yang cocok untukmu"},{key:"\u9AD8\u53EF\u7528\u6027\u4FDD\u8BC1",zh:"","zh-CHT":"\u9AD8\u53EF\u7528\u6027\u4FDD\u8B49",en:"High availability assurance",ko:"\uACE0\uAC00\uC6A9\uC131 \uBCF4\uC7A5",ja:"\u9AD8\u53EF\u7528\u6027\u4FDD\u8A3C\u3067\u3059",de:"Hohe verf\xFCgbarkeit garantiert",fr:"Garantie de haute disponibilit\xE9",id:"Jaminan ketersediaan yang tinggi"},{key:"Mac/PC\u5BA2\u6237\u7AEF",zh:"","zh-CHT":"Mac/PC\u5BA2\u6236\u7AEF",en:"Mac/PC client",ko:"Mac/pc \uD074\uB77C\uC774\uC5B8\uD2B8",ja:"Mac/PC\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u3067\u3059",de:"Mac/PC sind am apparat",fr:"Client pour Mac/PC",id:"Klien Mac/PC"},{key:"\u672C\u5730\u670D\u52A1\u5668",zh:"","zh-CHT":"\u672C\u5730\u670D\u52D9\u5668",en:"Local server",ko:"\uB85C\uCEEC \uC11C\uBC84",ja:"\u30ED\u30FC\u30AB\u30EB\u30B5\u30FC\u30D0\u30FC\u3067\u3059",de:"Dem lokalen server.",fr:"Un serveur local",id:"Server lokal"},{key:"\u5468\u62A5/\u65E5\u62A5",zh:"","zh-CHT":"\u9031\u5831/\u65E5\u5831",en:"Weekly/daily newspaper",ko:"\uC8FC\uAC04 \uC2E0\uBB38",ja:"\u9031\u5831/\u65E5\u520A\u7D19\u3067\u3059",de:"Aber mein leben ver\xE4ndert sich",fr:"Rapport hebdomadaire/quotidien",id:"Mingguan/harian"},{key:"\u4E0A\u95E8\u652F\u6301",zh:"","zh-CHT":"\u4E0A\u9580\u652F\u6301",en:"Door-to-door support",ko:"\uBC29\uBB38\uD558\uC5EC \uC9C0\uC6D0\uD558\uB2E4.",ja:"\u8A2A\u554F\u652F\u63F4\u3067\u3059",de:"T\xFCrunterst\xFCtzung",fr:"Soutien \xE0 domicile",id:"Gerbang untuk mendukung"},{key:"\u4E8C\u6B21\u5F00\u53D1",zh:"","zh-CHT":"\u4E8C\u6B21\u958B\u767C",en:"Secondary development",ko:"\uC774\uCC28 \uAC1C\uBC1C",ja:"\u4E8C\u6B21\u958B\u767A\u3067\u3059",de:"Eine zweite entwicklung.",fr:"Le d\xE9veloppement secondaire",id:"Pengembangan kedua"},{key:"\u4EA7\u54C1\u57F9\u8BAD",zh:"","zh-CHT":"\u7522\u54C1\u57F9\u8A13",en:"Product training",ko:"\uC81C\uD488 \uAD50\uC721",ja:"\u88FD\u54C1\u30C8\u30EC\u30FC\u30CB\u30F3\u30B0\u3067\u3059",de:"1. Weiterbildung",fr:"Formation aux produits",id:"Pelatihan produk"},{key:"\u4EFB\u52A1\u52A8\u6001",zh:"","zh-CHT":"\u4EFB\u52D9\u52D5\u614B",en:"Task dynamics",ko:"\uC791\uC5C5 \uB3D9\uD5A5",ja:"\u30DF\u30C3\u30B7\u30E7\u30F3\u30FB\u30C0\u30A4\u30CA\u30DF\u30AF\u30B9\u3067\u3059",de:"Missionsdynamik.",fr:"Dynamique des t\xE2ches",id:"Dinamika tugas"},{key:"\u4EFB\u52A1\u7C7B\u578B",zh:"","zh-CHT":"\u4EFB\u52D9\u985E\u578B",en:"Task type",ko:"\uC791\uC5C5 \uD615\uC2DD",ja:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30D7\u3067\u3059",de:"Typ des auftrags?",fr:"Types de missions",id:"Jenis tugas"},{key:"\u521B\u5EFA\u7FA4\u804A",zh:"","zh-CHT":"\u5275\u5EFA\u7FA3\u804A",en:"Create a group chat",ko:"\uADF8\uB8F9 \uCC44\uD305 \uB9CC\uB4E4\uAE30",ja:"\u30B0\u30EB\u30FC\u30D7\u30C1\u30E3\u30C3\u30C8\u3092\u4F5C\u6210\u3057\u307E\u3059",de:"Gruppengespr\xE4ch kreieren.",fr:"Cr\xE9er un chat de groupe",id:"Buat grup chat"},{key:"\u5E10\u6237\u5B89\u5168",zh:"","zh-CHT":"\u5E33\u6236\u5B89\u5168",en:"Account security",ko:"\uACC4\uC815 \uBCF4\uC548",ja:"\u53E3\u5EA7\u306F\u5B89\u5168\u3067\u3059",de:"Sichere konten.",fr:"S\xE9curit\xE9 du compte",id:"Keamanan akun"},{key:"\u5E94\u7528\u652F\u6301",zh:"","zh-CHT":"\u61C9\u7528\u652F\u6301",en:"Application support",ko:"\uC9C0\uC6D0 \uC801\uC6A9",ja:"\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Unterst\xFCtzung durch anwendung.",fr:"Soutien \xE0 l\u2019application",id:"Menerapkan dukungan"},{key:"\u6570\u636E\u52A0\u5BC6",zh:"","zh-CHT":"\u6578\u64DA\u52A0\u5BC6",en:"Data encryption",ko:"\uB370\uC774\uD130 \uC554\uD638\uD654",ja:"\u30C7\u30FC\u30BF\u6697\u53F7\u5316\u3067\u3059",de:"Datenverschl\xFCsselung",fr:"Cryptage des donn\xE9es",id:"Enkripsi data"},{key:"\u6587\u4EF6\u641C\u7D22",zh:"","zh-CHT":"\u6587\u4EF6\u641C\u7D22",en:"File search",ko:"\uD30C\uC77C \uAC80\uC0C9",ja:"\u30D5\u30A1\u30A4\u30EB\u691C\u7D22\u3067\u3059",de:"Suche nach dateien",fr:"Recherche de documents",id:"Pencarian berkas"},{key:"\u6587\u4EF6\u7BA1\u7406",zh:"","zh-CHT":"\u6587\u4EF6\u7BA1\u7406",en:"Document management",ko:"\uD30C\uC77C \uAD00\uB9AC",ja:"\u30D5\u30A1\u30A4\u30EB\u7BA1\u7406\u3067\u3059",de:"Halte die dokumentation auf.",fr:"Gestion des documents",id:"Manajemen berkascomment"},{key:"\u670D\u52A1\u652F\u6301",zh:"","zh-CHT":"\u670D\u52D9\u652F\u6301",en:"Service support",ko:"\uC11C\uBE44\uC2A4 \uC9C0\uC6D0",ja:"\u30B5\u30FC\u30D3\u30B9\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Service-support.",fr:"Service et support",id:"Dukungan layanan"},{key:"\u81EA\u52A9\u652F\u6301",zh:"","zh-CHT":"\u81EA\u52A9\u652F\u6301",en:"Self-help support",ko:"\uC140\uD504 \uC9C0\uC6D0",ja:"\u30BB\u30EB\u30D5\u30B5\u30DD\u30FC\u30C8\u3067\u3059",de:"Unterst\xFCtzung. Unterst\xFCtzen.",fr:"Assistance en auto-assistance",id:"Dukungan diri"},{key:"\u8FD4\u56DE\u9996\u9875",zh:"","zh-CHT":"\u8FD4\u56DE\u9996\u9801",en:"Return to home page",ko:"\uD648 \uD398\uC774\uC9C0\uB85C \uB3CC\uC544\uAC00\uAE30",ja:"\u30C8\u30C3\u30D7\u30DA\u30FC\u30B8\u306B\u623B\u308A\u307E\u3059",de:"Mach die titelseite auf.",fr:"Retour \xE0 l\u2019accueil",id:"Kembali ke rumah"},{key:"\u9879\u76EE\u641C\u7D22",zh:"","zh-CHT":"\u9805\u76EE\u641C\u7D22",en:"Item search",ko:"\uD56D\uBAA9 \uAC80\uC0C9",ja:"\u9805\u76EE\u691C\u7D22\u3067\u3059",de:"Suche nach projekten.",fr:"Recherche de projets",id:"Pencarian proyek"},{key:"\u9879\u76EE\u7BA1\u7406",zh:"","zh-CHT":"\u9805\u76EE\u7BA1\u7406",en:"Project management",ko:"\uD504\uB85C\uC81D\uD2B8 \uAD00\uB9AC",ja:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30DE\u30CD\u30B8\u30E1\u30F3\u30C8\u3067\u3059",de:"Projektmanagement. - projektmanagement?",fr:"Gestion du projet",id:"Manajemen proyek"},{key:"\u9879\u76EE\u7FA4\u804A",zh:"","zh-CHT":"\u9805\u76EE\u7FA3\u804A",en:"Project group chat",ko:"\uD504\uB85C\uC81D\uD2B8 \uADF8\uB8F9 \uCC44\uD305",ja:"\u30B0\u30EB\u30FC\u30D7\u30C8\u30FC\u30AF\u3067\u3059",de:"Kleine projektgruppe.",fr:"Projet chat de groupe",id:"Obrolan kelompok proyek"},{key:"\u4F53\u9A8CDEMO",zh:"","zh-CHT":"\u9AD4\u9A57DEMO",en:"DEMO",ko:"\uB370\uBAA8 \uCCB4\uD5D8",ja:"\u30C7\u30E2\u3092\u4F53\u9A13\u3057\u307E\u3059",de:"DEMO",fr:"DEMO",id:"DEMO"},{key:"\u516C\u6709\u4E91",zh:"","zh-CHT":"\u516C\u6709\u4E91",en:"Public cloud",ko:"\uD37C\uBE14\uB9AD \uD074\uB77C\uC6B0\uB4DC",ja:"\u30D1\u30D6\u30EA\u30C3\u30AF\u30AF\u30E9\u30A6\u30C9\u3067\u3059",de:"Flying corp!",fr:"Cloud public disponible",id:"Publik tahu."},{key:"\u56FD\u9645\u5316",zh:"","zh-CHT":"\u570B\u969B\u5316",en:"Internationalization",ko:"\uAD6D\uC81C\uD654",ja:"\u56FD\u969B\u5316\u3067\u3059",de:"International.",fr:"Internationalisation",id:"Kosmopolitan"},{key:"\u5B9A\u5236\u7248",zh:"","zh-CHT":"\u5B9A\u88FD\u7248",en:"Custom version",ko:"\uC8FC\uBB38 \uC81C\uC791\uD310",ja:"\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u7248\u3067\u3059",de:"Etwas ma\xDFgeschneidert?",fr:"\xC9dition sur mesure",id:"Edisi khusus"},{key:"\u7518\u7279\u56FE",zh:"","zh-CHT":"\u7518\u7279\u5716",en:"Gantt chart",ko:"\uAC04\uD130\uD22C",ja:"\u30AC\u30F3\u30C8\u30C1\u30E3\u30FC\u30C8\u3067\u3059",de:"La gant.",fr:"Gantt en chiffres",id:"Gant."},{key:"\u793E\u533A\u7248",zh:"","zh-CHT":"\u793E\u5340\u7248",en:"Community edition",ko:"\uCEE4\uBBA4\uB2C8\uD2F0 \uBC84\uC804",ja:"\u30B3\u30DF\u30E5\u30CB\u30C6\u30A3\u7248\u3067\u3059",de:"In der gemeinde.",fr:"La version communautaire",id:"Halaman masyarakat"},{key:"\u79C1\u6709\u4E91",zh:"","zh-CHT":"\u79C1\u6709\u4E91",en:"Private cloud",ko:"\uAC1C\uC778 \uD074\uB77C\uC6B0\uB4DC",ja:"\u30D7\u30E9\u30A4\u30D9\u30FC\u30C8\u30AF\u30E9\u30A6\u30C9\u3067\u3059",de:"Private wolke.",fr:"Un cloud priv\xE9",id:"Awan pribadi"},{key:"\u81EA\u5B9A\u4E49",zh:"","zh-CHT":"\u81EA\u5B9A\u7FA9",en:"Customize",ko:"\uC0AC\uC6A9\uC790 \uC815\uC758",ja:"\u30AB\u30B9\u30BF\u30E0\u3067\u3059",de:"Selbstdefiniert.",fr:"Personnalis\xE9 et personnalis\xE9",id:"Khusus"},{key:"\u4EBA\u6570",zh:"","zh-CHT":"\u4EBA\u6578",en:"Number of people",ko:"\uC218\uAC00",ja:"\u4EBA\u6570\u3067\u3059",de:"Eine anzahl.",fr:"Le nombre de",id:"Jumlah"},{key:"\u4EF7\u683C",zh:"","zh-CHT":"\u50F9\u683C",en:"Price",ko:"\uAC00\uACA9",ja:"\u5024\u6BB5\u3067\u3059",de:"Dem preis?",fr:"Prix",id:"Harga"},{key:"\u63A8\u8350",zh:"","zh-CHT":"\u63A8\u85A6",en:"Recommend",ko:"\uCD94\uCC9C",ja:"\u63A8\u85A6\u3057\u307E\u3059",de:"Eine empfehlung?",fr:"Recommand\xE9e",id:"Merekomendasikan"},{key:"\u65E5\u7A0B",zh:"","zh-CHT":"\u65E5\u7A0B",en:"Schedule",ko:"\uC77C\uC815",ja:"\u30B9\u30B1\u30B8\u30E5\u30FC\u30EB\u3067\u3059",de:"Plan?",fr:"Le calendrier",id:"Jadwal"},{key:"\u6982\u8FF0",zh:"","zh-CHT":"\u6982\u8FF0",en:"Overview",ko:"\uC694\uC57D",ja:"\u6982\u8AAC\u3057\u307E\u3059",de:"Erkl\xE4re es.",fr:"R\xE9sum\xE9",id:"Ikhtisar"},{key:"\u6388\u6743\u65B9\u5F0F",zh:"","zh-CHT":"\u6388\u6B0A\u65B9\u5F0F",en:"Authorization mode",ko:"\uC778\uC99D \uBC29\uC2DD",ja:"\u6388\u6A29\u65B9\u6CD5\u3067\u3059",de:"Nicht autorisiert.",fr:"Modalit\xE9s de mandat",id:"Cara memberdayakan"},{key:"\u666E\u901A\u7248",zh:"","zh-CHT":"\u666E\u901A\u7248",en:"Ordinary edition",ko:"\uC77C\uBC18\uD310",ja:"\u901A\u5E38\u7248\u3067\u3059",de:"Normale ausgabe.",fr:"La version normale",id:"Versi biasa"},{key:"\u529F\u80FD\u8F83\u5C11\u53EF\u80FD\u4F1A\u505C\u66F4",zh:"","zh-CHT":"\u529F\u80FD\u8F03\u5C11\u53EF\u80FD\u6703\u505C\u66F4",en:"Less function may stop",ko:"\uAE30\uB2A5\uC774 \uBD80\uC871\uD558\uBA74 \uB354 \uB2A6\uC744 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4",ja:"\u6A5F\u80FD\u304C\u5C11\u306A\u3044\u305F\u3081\u505C\u6B62\u3059\u308B\u3053\u3068\u3082\u3042\u308A\u307E\u3059",de:"Eine unmenge an funktionen ist wahrscheinlich nicht mehr moglich",fr:"Moins de fonctions peut s\u2019arr\xEAter plus",id:"Sedikit fungsi mungkin akan berhenti lebih"},{key:"\u65E0\u987B\u6388\u6743",zh:"","zh-CHT":"\u7121\u9808\u6388\u6B0A",en:"Without authorization",ko:"\uC778\uC99D \uD544\uC694 \uC5C6\uC74C",ja:"\u8A31\u53EF\u306F\u4E0D\u8981\u3067\u3059",de:"Daf\xFCr ist keine genehmigung n\xF6tig.",fr:"Aucune autorisation requise",id:"Tidak perlu perintah."},{key:"Pro\u514D\u8D39\u7248",zh:"","zh-CHT":"Pro\u514D\u8CBB\u7248",en:"Pro Free Edition",ko:"Pro \uBB34\uB8CC\uBC84\uC804",ja:"\u30D7\u30ED\u7121\u6599\u7248\u3067\u3059",de:"Pro publikum kostenlos.",fr:"Version gratuite Pro",id:"Versi Pro gratis"},{key:"\u5373\u65F6\u804A\u5929",zh:"","zh-CHT":"\u5373\u6642\u804A\u5929",en:"Instant chat",ko:"\uC778\uC2A4\uD134\uD2B8 \uCC44\uD305",ja:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u30C1\u30E3\u30C3\u30C8\u3067\u3059",de:"In echtzeit.",fr:"Chat en direct",id:"Ngobrol langsung"},{key:"Pro\u8BA2\u9605\u7248",zh:"","zh-CHT":"Pro\u8A02\u95B1\u7248",en:"Pro subscription",ko:"Pro \uAD6C\uB3C5\uD310",ja:"\u30D7\u30ED\u8CFC\u8AAD\u7248\u3067\u3059",de:"Pro abonnement",fr:"Version abonnement Pro",id:"Edisi Pro"},{key:"\u4E8C\u7EF4\u7801\u767B\u5F55",zh:"","zh-CHT":"\u4E8C\u7DAD\u78BC\u767B\u9304",en:"Qr code login",ko:"Qr \uCF54\uB4DC \uB4F1\uB85D",ja:"Qr\u30B3\u30FC\u30C9\u767B\u9332\u3067\u3059",de:"Computer mit code zwei",fr:"Connexion qr code",id:"Kode qr masuk"},{key:"\u804A\u5929\u673A\u5668\u4EBA",zh:"","zh-CHT":"\u804A\u5929\u6A5F\u5668\u4EBA",en:"Chatbot",ko:"\uCC44\uD305 \uB85C\uBD07",ja:"\u30C1\u30E3\u30C3\u30C8\u30DC\u30C3\u30C8\u3067\u3059",de:"Die roboter.",fr:"Le chatbot",id:"Ngobrol robot"},{key:"\u6D88\u606F\u6807\u6CE8",zh:"","zh-CHT":"\u6D88\u606F\u6A19\u8A3B",en:"Message annotation",ko:"\uBA54\uC2DC\uC9C0 \uB808\uC774\uBE14",ja:"\u30E1\u30C3\u30BB\u30FC\u30B8\u8868\u8A18\u3067\u3059",de:"Die nachricht markiert.",fr:"\xC9tiquetage des messages",id:"Label pesan"},{key:"\u53D1\u9001\u8BED\u97F3\u6D88\u606F",zh:"","zh-CHT":"\u767C\u9001\u8A9E\u97F3\u6D88\u606F",en:"Send voice message",ko:"\uC74C\uC131 \uBA54\uC2DC\uC9C0 \uBCF4\uB0B4\uAE30",ja:"\u97F3\u58F0\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u9001\u308A\u307E\u3059",de:"Senden sie eine nachricht.",fr:"Envoyer un message vocal",id:"Kirim pesan suara"},{key:"\u90E8\u95E8\u529F\u80FD",zh:"","zh-CHT":"\u90E8\u9580\u529F\u80FD",en:"Departmental function",ko:"\uBD80\uC11C \uAE30\uB2A5",ja:"\u90E8\u7F72\u6A5F\u80FD\u3067\u3059",de:"Funktion ab abteilung",fr:"Fonction du d\xE9partement",id:"Fungsi departemen"},{key:"LDAP\u767B\u5F55",zh:"","zh-CHT":"LDAP\u767B\u9304",en:"LDAP login",ko:"Ldap \uB85C\uADF8\uC778",ja:"LDAP\u30ED\u30B0\u30A4\u30F3\u3067\u3059",de:"LDAP loggt sich ein",fr:"Connexion avec LDAP",id:"Log masuk LDAP"},{key:"\u8868\u60C5\u56DE\u590D",zh:"","zh-CHT":"\u8868\u60C5\u56DE\u8986",en:"Expression response",ko:"\uC774\uBAA8\uD2F0\uCF58 \uB2F5\uC7A5",ja:"\u30B9\u30BF\u30F3\u30D7\u30EC\u30B9\u3067\u3059",de:"Emoticon-antworten antworten.",fr:"Emoji r\xE9pondre \xE0",id:"Balas ekspresi"},{key:"\u4EFB\u52A1\u91CD\u590D\u5468\u671F",zh:"","zh-CHT":"\u4EFB\u52D9\u91CD\u8907\u9031\u671F",en:"Task repetition cycle",ko:"\uC791\uC5C5 \uBC18\uBCF5 \uC8FC\uAE30",ja:"\u7E70\u308A\u8FD4\u3057\u306E\u30B5\u30A4\u30AF\u30EB\u3067\u3059",de:"Mission dupliziert sich.",fr:"Cycle de r\xE9p\xE9tition des t\xE2ches",id:"Siklus tugas berulang"},{key:"\u5E10\u53F7\uFF1A(*)\u3001\u5BC6\u7801\uFF1A(*)",zh:"","zh-CHT":"\u5E33\u865F\uFF1A(*)\u3001\u5BC6\u78BC\uFF1A(*)",en:"Account number: (*), Password: (*)",ko:"\uACC4\uC815 \uBC88\uD638:(*), \uBE44\uBC00\uBC88\uD638:(*)",ja:"\u30A2\u30AB\u30A6\u30F3\u30C8\u756A\u53F7:(*)\u3001\u30D1\u30B9\u30EF\u30FC\u30C9:(*)\u3067\u3059\u3002",de:"Kontonummer (*), passwort (*)",fr:"Num\xE9ro de compte :(*), mot de passe :(*)",id:"Akun :(*), kata sandi: *"},{key:"\u90AE\u7BB1\u5730\u5740\uFF1A(*)",zh:"","zh-CHT":"\u90F5\u7BB1\u5730\u5740\uFF1A(*)",en:"Email Address: (*)",ko:"\uC804\uC790\uC6B0\uD3B8 \uC8FC\uC18C:(*)",ja:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9:(*)\u3067\u3059\u3002",de:"Posteingang :(*)",fr:"Adresse e-mail :(*)",id:"Alamat surat :(*)"},{key:"(*)\u4EBA",zh:"","zh-CHT":"(*)\u4EBA",en:"(*) people",ko:"(*)",ja:"(*)\u4EBA\u3067\u3059",de:"(*) menschen",fr:"(*)",id:"(*) orang"}])},mounted(){this.getSetting(),this.getShowItem()},computed:{appTitle(){return`${this.$L("\u9009\u62E9\u9002\u5408\u4F60\u7684")} ${window.systemInfo.title||"DooTask"}`}},methods:{onLanguage(e){c(e)},goHome(){this.goForward({name:"index",query:{action:"index"}})},getSetting(){this.$store.dispatch("call",{url:"system/setting"}).then(({data:e})=>{this.systemConfig=e})},getShowItem(){this.$store.dispatch("call",{url:"system/get/showitem"}).then(({data:e})=>{this.showItem=e}).catch(e=>{this.showItem={}})}}},i={};var m=o(v,p,h,!1,k,"5604dc11",null,null);function k(e){for(let t in i)this[t]=i[t]}var b=function(){return m.exports}();export{b as default}; diff --git a/public/js/build/project.cdb0a3eb.js b/public/js/build/project.99d93326.js similarity index 99% rename from public/js/build/project.cdb0a3eb.js rename to public/js/build/project.99d93326.js index dd5fe210a..08697d154 100644 --- a/public/js/build/project.cdb0a3eb.js +++ b/public/js/build/project.99d93326.js @@ -1,4 +1,4 @@ -import{j as Dn,e as xn,g as Tn,m as kt,n as wt,d as Se,c as Ae}from"./app.bd09c684.js";import{T as an,P as Sn}from"./ProjectLog.bffe06c7.js";import{U as sn}from"./UserInput.d6d4081e.js";import{T as ln}from"./TaskMenu.c2c77c47.js";import{D as In}from"./index.f03606a8.js";import{D as kn}from"./DialogWrapper.1815cab6.js";import{l as jn}from"./DialogSelect.c9796cea.js";import"./ImgUpload.6e9513da.js";var cn={exports:{}};/**! +import{j as Dn,e as xn,g as Tn,m as kt,n as wt,d as Se,c as Ae}from"./app.139edc4e.js";import{T as an,P as Sn}from"./ProjectLog.f97ce9f6.js";import{U as sn}from"./UserInput.ca38ea3c.js";import{T as ln}from"./TaskMenu.382f8823.js";import{D as In}from"./index.03956335.js";import{D as kn}from"./DialogWrapper.1ee2083a.js";import{l as jn}from"./DialogSelect.13f2bf9c.js";import"./ImgUpload.8dae08e9.js";var cn={exports:{}};/**! * Sortable 1.10.2 * @author RubaXa * @author owenm diff --git a/public/js/build/projectInvite.72ab7a65.js b/public/js/build/projectInvite.fd2d96df.js similarity index 96% rename from public/js/build/projectInvite.72ab7a65.js rename to public/js/build/projectInvite.fd2d96df.js index 14e41d859..b5fe587da 100644 --- a/public/js/build/projectInvite.72ab7a65.js +++ b/public/js/build/projectInvite.fd2d96df.js @@ -1 +1 @@ -import{n as a}from"./app.bd09c684.js";var r=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"page-invite"},[e("PageTitle",{attrs:{title:t.$L("\u52A0\u5165\u9879\u76EE")}}),t.loadIng>0?e("div",{staticClass:"invite-load"},[e("Loading")],1):e("div",{staticClass:"invite-warp"},[t.project.id>0?e("Card",[e("p",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.project.name))]),t.project.desc?e("div",{staticClass:"invite-desc"},[t._v(t._s(t.project.desc))]):e("div",[t._v(t._s(t.$L("\u6682\u65E0\u4ECB\u7ECD")))]),e("div",{staticClass:"invite-footer"},[t.already?e("Button",{attrs:{type:"success",icon:"ios-checkmark-circle-outline"},on:{click:t.goProject}},[t._v(t._s(t.$L("\u5DF2\u52A0\u5165")))]):e("Button",{attrs:{type:"primary",loading:t.joinLoad>0},on:{click:t.joinProject}},[t._v(t._s(t.$L("\u52A0\u5165\u9879\u76EE")))])],1)]):e("Card",[e("p",[t._v(t._s(t.$L("\u9080\u8BF7\u5730\u5740\u4E0D\u5B58\u5728\u6216\u5DF2\u88AB\u5220\u9664\uFF01")))])])],1)],1)},s=[];const c={data(){return{loadIng:0,joinLoad:0,already:!1,project:{}}},watch:{$route:{handler(t){this.code=t.query?t.query.code:"",this.getData()},immediate:!0}},methods:{getData(){this.loadIng++,this.$store.dispatch("call",{url:"project/invite/info",data:{code:this.code}}).then(({data:t})=>{this.already=t.already,this.project=t.project}).catch(()=>{this.project={}}).finally(t=>{this.loadIng--})},joinProject(){this.joinLoad++,this.$store.dispatch("call",{url:"project/invite/join",data:{code:this.code}}).then(({data:t})=>{this.already=t.already,this.project=t.project,this.goProject()}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.joinLoad--})},goProject(){this.$nextTick(()=>{$A.goForward({name:"manage-project",params:{projectId:this.project.id}})})}}},o={};var n=a(c,r,s,!1,l,"2305dec0",null,null);function l(t){for(let i in o)this[i]=o[i]}var _=function(){return n.exports}();export{_ as default}; +import{n as a}from"./app.139edc4e.js";var r=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"page-invite"},[e("PageTitle",{attrs:{title:t.$L("\u52A0\u5165\u9879\u76EE")}}),t.loadIng>0?e("div",{staticClass:"invite-load"},[e("Loading")],1):e("div",{staticClass:"invite-warp"},[t.project.id>0?e("Card",[e("p",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.project.name))]),t.project.desc?e("div",{staticClass:"invite-desc"},[t._v(t._s(t.project.desc))]):e("div",[t._v(t._s(t.$L("\u6682\u65E0\u4ECB\u7ECD")))]),e("div",{staticClass:"invite-footer"},[t.already?e("Button",{attrs:{type:"success",icon:"ios-checkmark-circle-outline"},on:{click:t.goProject}},[t._v(t._s(t.$L("\u5DF2\u52A0\u5165")))]):e("Button",{attrs:{type:"primary",loading:t.joinLoad>0},on:{click:t.joinProject}},[t._v(t._s(t.$L("\u52A0\u5165\u9879\u76EE")))])],1)]):e("Card",[e("p",[t._v(t._s(t.$L("\u9080\u8BF7\u5730\u5740\u4E0D\u5B58\u5728\u6216\u5DF2\u88AB\u5220\u9664\uFF01")))])])],1)],1)},s=[];const c={data(){return{loadIng:0,joinLoad:0,already:!1,project:{}}},watch:{$route:{handler(t){this.code=t.query?t.query.code:"",this.getData()},immediate:!0}},methods:{getData(){this.loadIng++,this.$store.dispatch("call",{url:"project/invite/info",data:{code:this.code}}).then(({data:t})=>{this.already=t.already,this.project=t.project}).catch(()=>{this.project={}}).finally(t=>{this.loadIng--})},joinProject(){this.joinLoad++,this.$store.dispatch("call",{url:"project/invite/join",data:{code:this.code}}).then(({data:t})=>{this.already=t.already,this.project=t.project,this.goProject()}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.joinLoad--})},goProject(){this.$nextTick(()=>{$A.goForward({name:"manage-project",params:{projectId:this.project.id}})})}}},o={};var n=a(c,r,s,!1,l,"2305dec0",null,null);function l(t){for(let i in o)this[i]=o[i]}var _=function(){return n.exports}();export{_ as default}; diff --git a/public/js/build/reportDetail.2fdd49c5.js b/public/js/build/reportDetail.2c03059f.js similarity index 85% rename from public/js/build/reportDetail.2fdd49c5.js rename to public/js/build/reportDetail.2c03059f.js index 251a54834..cbdfb77eb 100644 --- a/public/js/build/reportDetail.2fdd49c5.js +++ b/public/js/build/reportDetail.2c03059f.js @@ -1 +1 @@ -import{R as i}from"./ReportDetail.2649fc9a.js";import{n as o}from"./app.bd09c684.js";var s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"electron-report"},[r("PageTitle",{attrs:{title:t.$L("\u62A5\u544A\u8BE6\u60C5")}}),r("ReportDetail",{attrs:{data:t.detailData}})],1)},l=[];const n={components:{ReportDetail:i},data(){return{detailData:{}}},computed:{reportDetailId(){const{reportDetailId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)}},watch:{reportDetailId:{handler(){this.getDetail()},immediate:!0}},methods:{getDetail(){this.reportDetailId<=0||this.$store.dispatch("call",{url:"report/detail",data:{id:this.reportDetailId}}).then(({data:t})=>{this.detailData=t}).catch(({msg:t})=>{$A.messageError(t)})}}},a={};var c=o(n,s,l,!1,d,"76126c11",null,null);function d(t){for(let e in a)this[e]=a[e]}var u=function(){return c.exports}();export{u as default}; +import{R as i}from"./ReportDetail.8bf290bc.js";import{n as o}from"./app.139edc4e.js";var s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"electron-report"},[r("PageTitle",{attrs:{title:t.$L("\u62A5\u544A\u8BE6\u60C5")}}),r("ReportDetail",{attrs:{data:t.detailData}})],1)},l=[];const n={components:{ReportDetail:i},data(){return{detailData:{}}},computed:{reportDetailId(){const{reportDetailId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)}},watch:{reportDetailId:{handler(){this.getDetail()},immediate:!0}},methods:{getDetail(){this.reportDetailId<=0||this.$store.dispatch("call",{url:"report/detail",data:{id:this.reportDetailId}}).then(({data:t})=>{this.detailData=t}).catch(({msg:t})=>{$A.messageError(t)})}}},a={};var c=o(n,s,l,!1,d,"76126c11",null,null);function d(t){for(let e in a)this[e]=a[e]}var u=function(){return c.exports}();export{u as default}; diff --git a/public/js/build/reportEdit.2224e869.js b/public/js/build/reportEdit.e3b4e1c0.js similarity index 86% rename from public/js/build/reportEdit.2224e869.js rename to public/js/build/reportEdit.e3b4e1c0.js index f9fedb6f9..c375d8f52 100644 --- a/public/js/build/reportEdit.2224e869.js +++ b/public/js/build/reportEdit.e3b4e1c0.js @@ -1 +1 @@ -import{R as i}from"./ReportEdit.1329be12.js";import{n}from"./app.bd09c684.js";import"./UserInput.d6d4081e.js";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"electron-report"},[r("PageTitle",{attrs:{title:t.title}}),r("ReportEdit",{attrs:{id:t.reportEditId},on:{saveSuccess:t.saveSuccess}})],1)},a=[];const d={components:{ReportEdit:i},data(){return{detail:{}}},computed:{reportEditId(){if(/^\d+$/.test(this.detail.id))return parseInt(this.detail.id);const{reportEditId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)},title(){return this.$L(this.reportEditId>0?"\u4FEE\u6539\u62A5\u544A":"\u65B0\u589E\u62A5\u544A")}},methods:{saveSuccess(t){this.detail=t,this.$isSubElectron&&($A.Electron.sendMessage("sendForwardMain",{channel:"reportSaveSuccess",data:t}),window.close())}}},s={};var c=n(d,o,a,!1,l,"807ce0ea",null,null);function l(t){for(let e in s)this[e]=s[e]}var v=function(){return c.exports}();export{v as default}; +import{R as i}from"./ReportEdit.862ac89e.js";import{n}from"./app.139edc4e.js";import"./UserInput.ca38ea3c.js";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"electron-report"},[r("PageTitle",{attrs:{title:t.title}}),r("ReportEdit",{attrs:{id:t.reportEditId},on:{saveSuccess:t.saveSuccess}})],1)},a=[];const d={components:{ReportEdit:i},data(){return{detail:{}}},computed:{reportEditId(){if(/^\d+$/.test(this.detail.id))return parseInt(this.detail.id);const{reportEditId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)},title(){return this.$L(this.reportEditId>0?"\u4FEE\u6539\u62A5\u544A":"\u65B0\u589E\u62A5\u544A")}},methods:{saveSuccess(t){this.detail=t,this.$isSubElectron&&($A.Electron.sendMessage("sendForwardMain",{channel:"reportSaveSuccess",data:t}),window.close())}}},s={};var c=n(d,o,a,!1,l,"807ce0ea",null,null);function l(t){for(let e in s)this[e]=s[e]}var v=function(){return c.exports}();export{v as default}; diff --git a/public/js/build/swipe.d5e59444.js b/public/js/build/swipe.03138fa2.js similarity index 82% rename from public/js/build/swipe.d5e59444.js rename to public/js/build/swipe.03138fa2.js index 5fbdf4f6e..7df64abac 100644 --- a/public/js/build/swipe.d5e59444.js +++ b/public/js/build/swipe.03138fa2.js @@ -1,4 +1,4 @@ -import{n as _,_ as w}from"./app.bd09c684.js";/*! +import{n as w,_ as v}from"./app.139edc4e.js";/*! * PhotoSwipe Lightbox 5.3.7 - https://photoswipe.com * (c) 2023 Dmytro Semenov - */function d(s,t,e){const i=document.createElement(t);return s&&(i.className=s),e&&e.appendChild(i),i}function v(s,t,e){let i=`translate3d(${s}px,${t||0}px,0)`;return e!==void 0&&(i+=` scale3d(${e},${e},1)`),i}function u(s,t,e){s.style.width=typeof t=="number"?`${t}px`:t,s.style.height=typeof e=="number"?`${e}px`:e}const a={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function S(s){return"button"in s&&s.button===1||s.ctrlKey||s.metaKey||s.altKey||s.shiftKey}function c(s,t,e=document){let i=[];if(s instanceof Element)i=[s];else if(s instanceof NodeList||Array.isArray(s))i=Array.from(s);else{const n=typeof s=="string"?s:t;n&&(i=Array.from(e.querySelectorAll(n)))}return i}function E(s){return typeof s=="function"&&s.prototype&&s.prototype.goTo}function f(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class I{constructor(t,e){this.type=t,this.defaultPrevented=!1,e&&Object.assign(this,e)}preventDefault(){this.defaultPrevented=!0}}class A{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,e,i=100){var n,r,l;this._filters[t]||(this._filters[t]=[]),(n=this._filters[t])==null||n.push({fn:e,priority:i}),(r=this._filters[t])==null||r.sort((h,o)=>h.priority-o.priority),(l=this.pswp)==null||l.addFilter(t,e,i)}removeFilter(t,e){this._filters[t]&&(this._filters[t]=this._filters[t].filter(i=>i.fn!==e)),this.pswp&&this.pswp.removeFilter(t,e)}applyFilters(t,...e){var i;return(i=this._filters[t])==null||i.forEach(n=>{e[0]=n.fn.apply(this,e)}),e[0]}on(t,e){var i,n;this._listeners[t]||(this._listeners[t]=[]),(i=this._listeners[t])==null||i.push(e),(n=this.pswp)==null||n.on(t,e)}off(t,e){var i;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(n=>e!==n)),(i=this.pswp)==null||i.off(t,e)}dispatch(t,e){var n;if(this.pswp)return this.pswp.dispatch(t,e);const i=new I(t,e);return(n=this._listeners[t])==null||n.forEach(r=>{r.call(this,i)}),i}}class D{constructor(t,e){if(this.element=d("pswp__img pswp__img--placeholder",t?"img":"div",e),t){const i=this.element;i.decoding="async",i.alt="",i.src=t,i.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,e){!this.element||(this.element.tagName==="IMG"?(u(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=v(0,0,t/250)):u(this.element,t,e))}destroy(){var t;(t=this.element)!=null&&t.parentNode&&this.element.remove(),this.element=null}}class b{constructor(t,e,i){this.instance=e,this.data=t,this.index=i,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=a.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,e){if(this.slide&&this.usePlaceholder())if(this.placeholder){const i=this.placeholder.element;i&&!i.parentElement&&this.slide.container.prepend(i)}else{const i=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new D(i,this.slide.container)}this.element&&!e||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=d("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=d("pswp__content","div"),this.element.innerHTML=this.data.html||""),e&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var i,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const e=this.element;this.updateSrcsetSizes(),this.data.srcset&&(e.srcset=this.data.srcset),e.src=(i=this.data.src)!=null?i:"",e.alt=(n=this.data.alt)!=null?n:"",this.state=a.LOADING,e.complete?this.onLoaded():(e.onload=()=>{this.onLoaded()},e.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=a.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===a.LOADED||this.state===a.ERROR)&&this.removePlaceholder())}onError(){this.state=a.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===a.LOADING,this)}isError(){return this.state===a.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,e){if(!!this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,e),!this.instance.dispatch("contentResize",{content:this,width:t,height:e}).defaultPrevented&&(u(this.element,t,e),this.isImageContent()&&!this.isError()))){const i=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=e,i?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:e,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==a.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,e=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||e>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=e+"px",t.dataset.largestUsedSize=String(e))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){var t,e;if(this.slide){let i=d("pswp__error-msg","div");i.innerText=(e=(t=this.instance.options)==null?void 0:t.errorMsg)!=null?e:"",i=this.instance.applyFilters("contentErrorElement",i,this),this.element=d("pswp__content pswp__error-msg-container","div"),this.element.appendChild(i),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===a.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||f())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!f()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){!this.isAttached||this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===a.LOADED||this.state===a.ERROR)&&this.removePlaceholder())}}function C(s,t){if(s.getViewportSizeFn){const e=s.getViewportSizeFn(s,t);if(e)return e}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function p(s,t,e,i,n){let r=0;if(t.paddingFn)r=t.paddingFn(e,i,n)[s];else if(t.padding)r=t.padding[s];else{const l="padding"+s[0].toUpperCase()+s.slice(1);t[l]&&(r=t[l])}return Number(r)||0}function L(s,t,e,i){return{x:t.x-p("left",s,t,e,i)-p("right",s,t,e,i),y:t.y-p("top",s,t,e,i)-p("bottom",s,t,e,i)}}const m=4e3;class x{constructor(t,e,i,n){this.pswp=n,this.options=t,this.itemData=e,this.index=i,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,e,i){const n={x:t,y:e};this.elementSize=n,this.panAreaSize=i;const r=i.x/n.x,l=i.y/n.y;this.fit=Math.min(1,rl?r:l),this.vFill=Math.min(1,l),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const e=t+"ZoomLevel",i=this.options[e];if(!!i)return typeof i=="function"?i(this):i==="fill"?this.fill:i==="fit"?this.fit:Number(i)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>m&&(t=m/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}function y(s,t,e){const i=t.createContentFromData(s,e);let n;const{options:r}=t;if(r){n=new x(r,s,-1);let l;t.pswp?l=t.pswp.viewportSize:l=C(r,t);const h=L(r,l,s,e);n.update(i.width,i.height,h)}return i.lazyLoad(),n&&i.setDisplayedSize(Math.ceil(i.width*n.initial),Math.ceil(i.height*n.initial)),i}function P(s,t){const e=t.getItemData(s);if(!t.dispatch("lazyLoadSlide",{index:s,itemData:e}).defaultPrevented)return y(e,t,s)}class z extends A{getNumItems(){var n;let t=0;const e=(n=this.options)==null?void 0:n.dataSource;e&&"length"in e?t=e.length:e&&"gallery"in e&&(e.items||(e.items=this._getGalleryDOMElements(e.gallery)),e.items&&(t=e.items.length));const i=this.dispatch("numItems",{dataSource:e,numItems:t});return this.applyFilters("numItems",i.numItems,e)}createContentFromData(t,e){return new b(t,this,e)}getItemData(t){var l;const e=(l=this.options)==null?void 0:l.dataSource;let i={};Array.isArray(e)?i=e[t]:e&&"gallery"in e&&(e.items||(e.items=this._getGalleryDOMElements(e.gallery)),i=e.items[t]);let n=i;n instanceof Element&&(n=this._domElementToItemData(n));const r=this.dispatch("itemData",{itemData:n||{},index:t});return this.applyFilters("itemData",r.itemData,t)}_getGalleryDOMElements(t){var e,i;return((e=this.options)==null?void 0:e.children)||((i=this.options)==null?void 0:i.childSelector)?c(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){var n;const e={element:t},i=t.tagName==="A"?t:t.querySelector("a");if(i){e.src=i.dataset.pswpSrc||i.href,i.dataset.pswpSrcset&&(e.srcset=i.dataset.pswpSrcset),e.width=i.dataset.pswpWidth?parseInt(i.dataset.pswpWidth,10):0,e.height=i.dataset.pswpHeight?parseInt(i.dataset.pswpHeight,10):0,e.w=e.width,e.h=e.height,i.dataset.pswpType&&(e.type=i.dataset.pswpType);const r=t.querySelector("img");r&&(e.msrc=r.currentSrc||r.src,e.alt=(n=r.getAttribute("alt"))!=null?n:""),(i.dataset.pswpCropped||i.dataset.cropped)&&(e.thumbCropped=!0)}return this.applyFilters("domItemData",e,t,i)}lazyLoadData(t,e){return y(t,this,e)}}class O extends z{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){c(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(S(t)||window.pswp||window.navigator.onLine===!1)return;let e={x:t.clientX,y:t.clientY};!e.x&&!e.y&&(e=null);let i=this.getClickedIndex(t);i=this.applyFilters("clickedIndex",i,t,this);const n={gallery:t.currentTarget};i>=0&&(t.preventDefault(),this.loadAndOpen(i,n,e))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const e=t.target,n=c(this.options.children,this.options.childSelector,t.currentTarget).findIndex(r=>r===e||r.contains(e));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,e,i){return window.pswp?!1:(this.options.index=t,this.options.initialPointerPos=i,this.shouldOpen=!0,this.preload(t,e),!0)}preload(t,e){const{options:i}=this;e&&(i.dataSource=e);const n=[],r=typeof i.pswpModule;if(E(i.pswpModule))n.push(Promise.resolve(i.pswpModule));else{if(r==="string")throw new Error("pswpModule as string is no longer supported");if(r==="function")n.push(i.pswpModule());else throw new Error("pswpModule is not valid")}typeof i.openPromise=="function"&&n.push(i.openPromise()),i.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=P(t,this));const l=++this._uid;Promise.all(n).then(h=>{if(this.shouldOpen){const o=h[0];this._openPhotoswipe(o,l)}})}_openPhotoswipe(t,e){if(e!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const i=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=i,window.pswp=i,Object.keys(this._listeners).forEach(n=>{var r;(r=this._listeners[n])==null||r.forEach(l=>{i.on(n,l)})}),Object.keys(this._filters).forEach(n=>{var r;(r=this._filters[n])==null||r.forEach(l=>{i.addFilter(n,l.fn,l.priority)})}),this._preloadedContent&&(i.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),i.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),i.init()}destroy(){var t;(t=this.pswp)==null||t.destroy(),this.shouldOpen=!1,this._listeners={},c(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.removeEventListener("click",this.onThumbnailsClick,!1)})}}var M=function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div")},F=[];const R={props:{className:{type:String,default:()=>"preview-image-swipe-"+Math.round(Math.random()*1e4)},urlList:{type:Array,default:()=>[]},initialIndex:{type:Number,default:0}},data(){return{lightbox:null}},beforeDestroy(){var s;(s=this.lightbox)==null||s.destroy()},watch:{urlList:{handler(s){var n;let t=!1,e=!1;(n=this.lightbox)==null||n.destroy();const i=s.map(r=>{if($A.isJson(r)){if(r.src&&(r.src=$A.rightDelete(r.src,"_thumb.jpg")),parseInt(r.width)>0&&parseInt(r.height)>0)return r;r=r.src}return e=!0,{html:`
    `}});this.lightbox=new O({dataSource:i,escKey:!1,mainClass:this.className,showHideAnimationType:"none",pswpModule:()=>w(()=>import("./photoswipe.esm.f2ba98d2.js"),[])}),this.lightbox.on("change",()=>{e&&$A.loadScript("js/pinch-zoom.umd.min.js",r=>{PinchZoom!=="object"&&document.querySelector(`.${this.className}`).querySelectorAll(".preview-image-swipe").forEach(h=>{h.getAttribute("data-init-pinch-zoom")!=="init"&&(h.setAttribute("data-init-pinch-zoom","init"),h.querySelector("img").addEventListener("pointermove",o=>{t&&o.stopPropagation()}),new PinchZoom.default(h,{draggableUnzoomed:!1,onDragStart:()=>{t=!0},onDragEnd:()=>{t=!1}}))})})}),this.lightbox.on("close",()=>{this.$emit("on-close")}),this.lightbox.on("destroy",()=>{this.$emit("on-destroy")}),this.lightbox.init(),this.lightbox.loadAndOpen(this.initialIndex)},immediate:!0},initialIndex(s){var t;(t=this.lightbox)==null||t.loadAndOpen(s)}}},g={};var N=_(R,M,F,!1,T,null,null,null);function T(s){for(let t in g)this[t]=g[t]}var $=function(){return N.exports}();export{$ as default}; + */function d(s,t,e){const i=document.createElement(t);return s&&(i.className=s),e&&e.appendChild(i),i}function S(s,t,e){let i=`translate3d(${s}px,${t||0}px,0)`;return e!==void 0&&(i+=` scale3d(${e},${e},1)`),i}function u(s,t,e){s.style.width=typeof t=="number"?`${t}px`:t,s.style.height=typeof e=="number"?`${e}px`:e}const a={IDLE:"idle",LOADING:"loading",LOADED:"loaded",ERROR:"error"};function E(s){return"button"in s&&s.button===1||s.ctrlKey||s.metaKey||s.altKey||s.shiftKey}function c(s,t,e=document){let i=[];if(s instanceof Element)i=[s];else if(s instanceof NodeList||Array.isArray(s))i=Array.from(s);else{const n=typeof s=="string"?s:t;n&&(i=Array.from(e.querySelectorAll(n)))}return i}function I(s){return typeof s=="function"&&s.prototype&&s.prototype.goTo}function f(){return!!(navigator.vendor&&navigator.vendor.match(/apple/i))}class A{constructor(t,e){this.type=t,this.defaultPrevented=!1,e&&Object.assign(this,e)}preventDefault(){this.defaultPrevented=!0}}class D{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,e,i=100){var n,r,l;this._filters[t]||(this._filters[t]=[]),(n=this._filters[t])==null||n.push({fn:e,priority:i}),(r=this._filters[t])==null||r.sort((o,h)=>o.priority-h.priority),(l=this.pswp)==null||l.addFilter(t,e,i)}removeFilter(t,e){this._filters[t]&&(this._filters[t]=this._filters[t].filter(i=>i.fn!==e)),this.pswp&&this.pswp.removeFilter(t,e)}applyFilters(t,...e){var i;return(i=this._filters[t])==null||i.forEach(n=>{e[0]=n.fn.apply(this,e)}),e[0]}on(t,e){var i,n;this._listeners[t]||(this._listeners[t]=[]),(i=this._listeners[t])==null||i.push(e),(n=this.pswp)==null||n.on(t,e)}off(t,e){var i;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter(n=>e!==n)),(i=this.pswp)==null||i.off(t,e)}dispatch(t,e){var n;if(this.pswp)return this.pswp.dispatch(t,e);const i=new A(t,e);return(n=this._listeners[t])==null||n.forEach(r=>{r.call(this,i)}),i}}class b{constructor(t,e){if(this.element=d("pswp__img pswp__img--placeholder",t?"img":"div",e),t){const i=this.element;i.decoding="async",i.alt="",i.src=t,i.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,e){!this.element||(this.element.tagName==="IMG"?(u(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=S(0,0,t/250)):u(this.element,t,e))}destroy(){var t;(t=this.element)!=null&&t.parentNode&&this.element.remove(),this.element=null}}class C{constructor(t,e,i){this.instance=e,this.data=t,this.index=i,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=a.IDLE,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout(()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)},1e3)}load(t,e){if(this.slide&&this.usePlaceholder())if(this.placeholder){const i=this.placeholder.element;i&&!i.parentElement&&this.slide.container.prepend(i)}else{const i=this.instance.applyFilters("placeholderSrc",this.data.msrc&&this.slide.isFirstSlide?this.data.msrc:!1,this);this.placeholder=new b(i,this.slide.container)}this.element&&!e||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=d("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=d("pswp__content","div"),this.element.innerHTML=this.data.html||""),e&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var i,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const e=this.element;this.updateSrcsetSizes(),this.data.srcset&&(e.srcset=this.data.srcset),e.src=(i=this.data.src)!=null?i:"",e.alt=(n=this.data.alt)!=null?n:"",this.state=a.LOADING,e.complete?this.onLoaded():(e.onload=()=>{this.onLoaded()},e.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=a.LOADED,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),(this.state===a.LOADED||this.state===a.ERROR)&&this.removePlaceholder())}onError(){this.state=a.ERROR,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===a.LOADING,this)}isError(){return this.state===a.ERROR}isImageContent(){return this.type==="image"}setDisplayedSize(t,e){if(!!this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,e),!this.instance.dispatch("contentResize",{content:this,width:t,height:e}).defaultPrevented&&(u(this.element,t,e),this.isImageContent()&&!this.isError()))){const i=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=e,i?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:e,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==a.ERROR,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,e=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||e>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=e+"px",t.dataset.largestUsedSize=String(e))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,!this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented&&(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){var t,e;if(this.slide){let i=d("pswp__error-msg","div");i.innerText=(e=(t=this.instance.options)==null?void 0:t.errorMsg)!=null?e:"",i=this.instance.applyFilters("contentErrorElement",i,this),this.element=d("pswp__content pswp__error-msg-container","div"),this.element.appendChild(i),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===a.ERROR){this.displayError();return}if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||f())?(this.isDecoding=!0,this.element.decode().catch(()=>{}).finally(()=>{this.isDecoding=!1,this.appendImage()})):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){this.instance.dispatch("contentActivate",{content:this}).defaultPrevented||!this.slide||(this.isImageContent()&&this.isDecoding&&!f()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,!this.instance.dispatch("contentRemove",{content:this}).defaultPrevented&&(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){!this.isAttached||this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),(this.state===a.LOADED||this.state===a.ERROR)&&this.removePlaceholder())}}function L(s,t){if(s.getViewportSizeFn){const e=s.getViewportSizeFn(s,t);if(e)return e}return{x:document.documentElement.clientWidth,y:window.innerHeight}}function p(s,t,e,i,n){let r=0;if(t.paddingFn)r=t.paddingFn(e,i,n)[s];else if(t.padding)r=t.padding[s];else{const l="padding"+s[0].toUpperCase()+s.slice(1);t[l]&&(r=t[l])}return Number(r)||0}function x(s,t,e,i){return{x:t.x-p("left",s,t,e,i)-p("right",s,t,e,i),y:t.y-p("top",s,t,e,i)-p("bottom",s,t,e,i)}}const m=4e3;class P{constructor(t,e,i,n){this.pswp=n,this.options=t,this.itemData=e,this.index=i,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,e,i){const n={x:t,y:e};this.elementSize=n,this.panAreaSize=i;const r=i.x/n.x,l=i.y/n.y;this.fit=Math.min(1,rl?r:l),this.vFill=Math.min(1,l),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const e=t+"ZoomLevel",i=this.options[e];if(!!i)return typeof i=="function"?i(this):i==="fill"?this.fill:i==="fit"?this.fit:Number(i)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,this.fit*3),this.elementSize&&t*this.elementSize.x>m&&(t=m/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,this.fit*4)}}function y(s,t,e){const i=t.createContentFromData(s,e);let n;const{options:r}=t;if(r){n=new P(r,s,-1);let l;t.pswp?l=t.pswp.viewportSize:l=L(r,t);const o=x(r,l,s,e);n.update(i.width,i.height,o)}return i.lazyLoad(),n&&i.setDisplayedSize(Math.ceil(i.width*n.initial),Math.ceil(i.height*n.initial)),i}function z(s,t){const e=t.getItemData(s);if(!t.dispatch("lazyLoadSlide",{index:s,itemData:e}).defaultPrevented)return y(e,t,s)}class O extends D{getNumItems(){var n;let t=0;const e=(n=this.options)==null?void 0:n.dataSource;e&&"length"in e?t=e.length:e&&"gallery"in e&&(e.items||(e.items=this._getGalleryDOMElements(e.gallery)),e.items&&(t=e.items.length));const i=this.dispatch("numItems",{dataSource:e,numItems:t});return this.applyFilters("numItems",i.numItems,e)}createContentFromData(t,e){return new C(t,this,e)}getItemData(t){var l;const e=(l=this.options)==null?void 0:l.dataSource;let i={};Array.isArray(e)?i=e[t]:e&&"gallery"in e&&(e.items||(e.items=this._getGalleryDOMElements(e.gallery)),i=e.items[t]);let n=i;n instanceof Element&&(n=this._domElementToItemData(n));const r=this.dispatch("itemData",{itemData:n||{},index:t});return this.applyFilters("itemData",r.itemData,t)}_getGalleryDOMElements(t){var e,i;return((e=this.options)==null?void 0:e.children)||((i=this.options)==null?void 0:i.childSelector)?c(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){var n;const e={element:t},i=t.tagName==="A"?t:t.querySelector("a");if(i){e.src=i.dataset.pswpSrc||i.href,i.dataset.pswpSrcset&&(e.srcset=i.dataset.pswpSrcset),e.width=i.dataset.pswpWidth?parseInt(i.dataset.pswpWidth,10):0,e.height=i.dataset.pswpHeight?parseInt(i.dataset.pswpHeight,10):0,e.w=e.width,e.h=e.height,i.dataset.pswpType&&(e.type=i.dataset.pswpType);const r=t.querySelector("img");r&&(e.msrc=r.currentSrc||r.src,e.alt=(n=r.getAttribute("alt"))!=null?n:""),(i.dataset.pswpCropped||i.dataset.cropped)&&(e.thumbCropped=!0)}return this.applyFilters("domItemData",e,t,i)}lazyLoadData(t,e){return y(t,this,e)}}class M extends O{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){c(this.options.gallery,this.options.gallerySelector).forEach(t=>{t.addEventListener("click",this.onThumbnailsClick,!1)})}onThumbnailsClick(t){if(E(t)||window.pswp||window.navigator.onLine===!1)return;let e={x:t.clientX,y:t.clientY};!e.x&&!e.y&&(e=null);let i=this.getClickedIndex(t);i=this.applyFilters("clickedIndex",i,t,this);const n={gallery:t.currentTarget};i>=0&&(t.preventDefault(),this.loadAndOpen(i,n,e))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const e=t.target,n=c(this.options.children,this.options.childSelector,t.currentTarget).findIndex(r=>r===e||r.contains(e));return n!==-1?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,e,i){return window.pswp?!1:(this.options.index=t,this.options.initialPointerPos=i,this.shouldOpen=!0,this.preload(t,e),!0)}preload(t,e){const{options:i}=this;e&&(i.dataSource=e);const n=[],r=typeof i.pswpModule;if(I(i.pswpModule))n.push(Promise.resolve(i.pswpModule));else{if(r==="string")throw new Error("pswpModule as string is no longer supported");if(r==="function")n.push(i.pswpModule());else throw new Error("pswpModule is not valid")}typeof i.openPromise=="function"&&n.push(i.openPromise()),i.preloadFirstSlide!==!1&&t>=0&&(this._preloadedContent=z(t,this));const l=++this._uid;Promise.all(n).then(o=>{if(this.shouldOpen){const h=o[0];this._openPhotoswipe(h,l)}})}_openPhotoswipe(t,e){if(e!==this._uid&&this.shouldOpen||(this.shouldOpen=!1,window.pswp))return;const i=typeof t=="object"?new t.default(this.options):new t(this.options);this.pswp=i,window.pswp=i,Object.keys(this._listeners).forEach(n=>{var r;(r=this._listeners[n])==null||r.forEach(l=>{i.on(n,l)})}),Object.keys(this._filters).forEach(n=>{var r;(r=this._filters[n])==null||r.forEach(l=>{i.addFilter(n,l.fn,l.priority)})}),this._preloadedContent&&(i.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),i.on("destroy",()=>{this.pswp=void 0,delete window.pswp}),i.init()}destroy(){var t;(t=this.pswp)==null||t.destroy(),this.shouldOpen=!1,this._listeners={},c(this.options.gallery,this.options.gallerySelector).forEach(e=>{e.removeEventListener("click",this.onThumbnailsClick,!1)})}}var F=function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div")},R=[];const N={props:{className:{type:String,default:()=>"preview-image-swipe-"+Math.round(Math.random()*1e4)},urlList:{type:Array,default:()=>[]},initialIndex:{type:Number,default:0}},data(){return{lightbox:null}},beforeDestroy(){var s;(s=this.lightbox)==null||s.destroy()},watch:{urlList:{handler(s){var n;let t=!1,e=!1;(n=this.lightbox)==null||n.destroy();const i=s.map(r=>{if($A.isJson(r)){if(r.src&&(r.src=$A.rightDelete(r.src,"_thumb.jpg")),parseInt(r.width)>0&&parseInt(r.height)>0)return r;r=r.src}return e=!0,{html:`
    `}});this.lightbox=new M({dataSource:i,escKey:!1,mainClass:this.className,showHideAnimationType:"none",pswpModule:()=>v(()=>import("./photoswipe.esm.f2ba98d2.js"),[])}),this.lightbox.on("change",r=>{!e||$A.loadScript("js/pinch-zoom.umd.min.js").then(l=>{document.querySelector(`.${this.className}`).querySelectorAll(".preview-image-swipe").forEach(h=>{h.getAttribute("data-init-pinch-zoom")!=="init"&&(h.setAttribute("data-init-pinch-zoom","init"),h.querySelector("img").addEventListener("pointermove",_=>{t&&_.stopPropagation()}),new PinchZoom.default(h,{draggableUnzoomed:!1,onDragStart:()=>{t=!0},onDragEnd:()=>{t=!1}}))})})}),this.lightbox.on("close",()=>{this.$emit("on-close")}),this.lightbox.on("destroy",()=>{this.$emit("on-destroy")}),this.lightbox.init(),this.lightbox.loadAndOpen(this.initialIndex)},immediate:!0},initialIndex(s){var t;(t=this.lightbox)==null||t.loadAndOpen(s)}}},g={};var T=w(N,F,R,!1,k,null,null,null);function k(s){for(let t in g)this[t]=g[t]}var W=function(){return T.exports}();export{W as default}; diff --git a/public/js/build/system.fcb52847.js b/public/js/build/system.bc6e0444.js similarity index 99% rename from public/js/build/system.fcb52847.js rename to public/js/build/system.bc6e0444.js index 34c609c7a..3fcc460b0 100644 --- a/public/js/build/system.fcb52847.js +++ b/public/js/build/system.bc6e0444.js @@ -1 +1 @@ -import{n as r,m as v}from"./app.bd09c684.js";import{D as $}from"./index.f03606a8.js";import{C as h,T as D}from"./CheckinExport.e14dcdab.js";import"./UserInput.d6d4081e.js";var b=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formDatum",attrs:{model:t.formDatum,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u5E10\u53F7\u76F8\u5173")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5141\u8BB8\u6CE8\u518C"),prop:"reg"}},[a("RadioGroup",{model:{value:t.formDatum.reg,callback:function(e){t.$set(t.formDatum,"reg",e)},expression:"formDatum.reg"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5141\u8BB8")))]),a("Radio",{attrs:{label:"invite"}},[t._v(t._s(t.$L("\u9080\u8BF7\u7801")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u7981\u6B62")))])],1),t.formDatum.reg=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5141\u8BB8\uFF1A\u5F00\u653E\u6CE8\u518C\u529F\u80FD\u3002")))]):t.formDatum.reg=="invite"?[a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u9080\u8BF7\u7801\uFF1A\u6CE8\u518C\u65F6\u9700\u586B\u5199\u4E0B\u65B9\u9080\u8BF7\u7801\u3002")))]),a("Input",{staticStyle:{width:"200px","margin-top":"6px"},model:{value:t.formDatum.reg_invite,callback:function(e){t.$set(t.formDatum,"reg_invite",e)},expression:"formDatum.reg_invite"}},[a("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v(t._s(t.$L("\u9080\u8BF7\u7801")))])])]:t._e()],2),["open","invite"].includes(t.formDatum.reg)?a("FormItem",{attrs:{label:t.$L("\u6CE8\u518C\u8EAB\u4EFD"),prop:"reg_identity"}},[a("RadioGroup",{model:{value:t.formDatum.reg_identity,callback:function(e){t.$set(t.formDatum,"reg_identity",e)},expression:"formDatum.reg_identity"}},[a("Radio",{attrs:{label:"normal"}},[t._v(t._s(t.$L("\u6B63\u5E38\u5E10\u53F7")))]),a("Radio",{attrs:{label:"temp"}},[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7")))])],1),a("div",{staticClass:"form-tip form-list"},[a("p",[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7"))+"\uFF1A")]),a("ol",[a("li",[t._v(t._s(t.$L("\u7981\u6B62\u67E5\u770B\u5171\u4EAB\u6240\u6709\u4EBA\u7684\u6587\u4EF6\u3002")))]),a("li",[t._v(t._s(t.$L("\u7981\u6B62\u53D1\u8D77\u4F1A\u8BDD\u3002")))]),a("li",[t._v(t._s(t.$L("\u7981\u6B62\u521B\u5EFA\u7FA4\u804A\u3002")))]),a("li",[t._v(t._s(t.$L("\u7981\u6B62\u62E8\u6253\u7535\u8BDD\u3002")))])])])],1):t._e(),a("FormItem",{attrs:{label:t.$L("\u767B\u5F55\u9A8C\u8BC1\u7801"),prop:"loginCode"}},[a("RadioGroup",{model:{value:t.formDatum.login_code,callback:function(e){t.$set(t.formDatum,"login_code",e)},expression:"formDatum.login_code"}},[a("Radio",{attrs:{label:"auto"}},[t._v(t._s(t.$L("\u81EA\u52A8")))]),a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.login_code=="auto"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u81EA\u52A8\uFF1A\u5BC6\u7801\u8F93\u5165\u9519\u8BEF\u540E\u5FC5\u987B\u6DFB\u52A0\u9A8C\u8BC1\u7801\u3002")))]):t.formDatum.login_code=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\uFF1A\u6BCF\u6B21\u767B\u5F55\u90FD\u9700\u8981\u56FE\u5F62\u9A8C\u8BC1\u7801\u3002")))]):t.formDatum.login_code=="close"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5173\u95ED\uFF1A\u4E0D\u9700\u8981\u8F93\u5165\u56FE\u5F62\u9A8C\u8BC1\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u5BC6\u7801\u7B56\u7565"),prop:"passwordPolicy"}},[a("RadioGroup",{model:{value:t.formDatum.password_policy,callback:function(e){t.$set(t.formDatum,"password_policy",e)},expression:"formDatum.password_policy"}},[a("Radio",{attrs:{label:"simple"}},[t._v(t._s(t.$L("\u7B80\u5355")))]),a("Radio",{attrs:{label:"complex"}},[t._v(t._s(t.$L("\u590D\u6742")))])],1),t.formDatum.password_policy=="simple"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7B80\u5355\uFF1A\u5927\u4E8E\u6216\u7B49\u4E8E6\u4E2A\u5B57\u7B26\u3002")))]):t.formDatum.password_policy=="complex"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u590D\u6742\uFF1A\u5927\u4E8E\u6216\u7B49\u4E8E6\u4E2A\u5B57\u7B26\uFF0C\u5305\u542B\u6570\u5B57\u3001\u5B57\u6BCD\u5927\u5C0F\u5199\u6216\u8005\u7279\u6B8A\u5B57\u7B26\u3002")))]):t._e()],1)],1)]),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u9879\u76EE\u76F8\u5173")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u9080\u8BF7\u9879\u76EE"),prop:"projectInvite"}},[a("RadioGroup",{model:{value:t.formDatum.project_invite,callback:function(e){t.$set(t.formDatum,"project_invite",e)},expression:"formDatum.project_invite"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.project_invite=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\uFF1A\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u751F\u6210\u94FE\u63A5\u9080\u8BF7\u6210\u5458\u52A0\u5165\u9879\u76EE\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u81EA\u52A8\u5F52\u6863\u4EFB\u52A1"),prop:"autoArchived"}},[a("RadioGroup",{attrs:{value:t.formDatum.auto_archived},on:{"on-change":t.formArchived}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EFB\u52A1\u5B8C\u6210\u540E\u81EA\u52A8\u5F52\u6863\u3002")))]),t.formDatum.auto_archived=="open"?a("ETooltip",{attrs:{placement:"right",disabled:t.windowSmall||t.$isEEUiApp}},[a("div",{staticClass:"setting-auto-day"},[a("Input",{attrs:{type:"number"},model:{value:t.formDatum.archived_day,callback:function(e){t.$set(t.formDatum,"archived_day",e)},expression:"formDatum.archived_day"}},[a("span",{attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.$L("\u5929")))])])],1),a("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u4EFB\u52A1\u5B8C\u6210 (*) \u5929\u540E\u81EA\u52A8\u5F52\u6863\u3002",t.formDatum.archived_day)))])]):t._e()],1)],1)]),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u6D88\u606F\u76F8\u5173")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5168\u5458\u7FA4\u7EC4\u7981\u8A00"),prop:"allGroupMute"}},[a("RadioGroup",{model:{value:t.formDatum.all_group_mute,callback:function(e){t.$set(t.formDatum,"all_group_mute",e)},expression:"formDatum.all_group_mute"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u653E")))]),a("Radio",{attrs:{label:"user"}},[t._v(t._s(t.$L("\u6210\u5458\u7981\u8A00")))]),a("Radio",{attrs:{label:"all"}},[t._v(t._s(t.$L("\u5168\u90E8\u7981\u8A00")))])],1),t.formDatum.all_group_mute=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u653E\uFF1A\u6240\u6709\u4EBA\u90FD\u53EF\u4EE5\u53D1\u8A00\u3002")))]):t.formDatum.all_group_mute=="user"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6210\u5458\u7981\u8A00\uFF1A\u4EC5\u7BA1\u7406\u5458\u53EF\u4EE5\u53D1\u8A00\u3002")))]):t.formDatum.all_group_mute=="all"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5168\u90E8\u7981\u8A00\uFF1A\u6240\u6709\u4EBA\u90FD\u7981\u6B62\u53D1\u8A00\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u81EA\u52A8\u8FDB\u5165\u5168\u5458\u7FA4"),prop:"allGroupAutoin"}},[a("RadioGroup",{model:{value:t.formDatum.all_group_autoin,callback:function(e){t.$set(t.formDatum,"all_group_autoin",e)},expression:"formDatum.all_group_autoin"}},[a("Radio",{attrs:{label:"yes"}},[t._v(t._s(t.$L("\u81EA\u52A8")))]),a("Radio",{attrs:{label:"no"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.all_group_autoin=="yes"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u81EA\u52A8\uFF1A\u6CE8\u518C\u6210\u529F\u540E\u81EA\u52A8\u8FDB\u5165\u5168\u5458\u7FA4\u3002")))]):t.formDatum.all_group_autoin=="no"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5173\u95ED\uFF1A\u5176\u4ED6\u6210\u5458\u901A\u8FC7@\u9080\u8BF7\u8FDB\u5165\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u804A\u5929\u8D44\u6599"),prop:"chatInformation"}},[a("RadioGroup",{model:{value:t.formDatum.chat_information,callback:function(e){t.$set(t.formDatum,"chat_information",e)},expression:"formDatum.chat_information"}},[a("Radio",{attrs:{label:"optional"}},[t._v(t._s(t.$L("\u53EF\u9009")))]),a("Radio",{attrs:{label:"required"}},[t._v(t._s(t.$L("\u5FC5\u586B")))])],1),t.formDatum.chat_information=="required"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5FC5\u586B\uFF1A\u53D1\u9001\u804A\u5929\u5185\u5BB9\u524D\u5FC5\u987B\u8BBE\u7F6E\u6635\u79F0\u3001\u7535\u8BDD\u3002")))]):a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5982\u679C\u5FC5\u586B\uFF0C\u53D1\u9001\u804A\u5929\u524D\u5FC5\u987B\u8BBE\u7F6E\u6635\u79F0\u3001\u7535\u8BDD\u3002")))])],1),a("FormItem",{attrs:{label:t.$L("\u533F\u540D\u6D88\u606F"),prop:"anonMessage"}},[a("RadioGroup",{model:{value:t.formDatum.anon_message,callback:function(e){t.$set(t.formDatum,"anon_message",e)},expression:"formDatum.anon_message"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.anon_message=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5141\u8BB8\u533F\u540D\u53D1\u9001\u6D88\u606F\u7ED9\u5176\u4ED6\u6210\u5458\u3002")))]):a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7981\u6B62\u533F\u540D\u53D1\u9001\u6D88\u606F\u3002")))])],1)],1)]),t.$A.isDooServer()?a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u5176\u4ED6\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u662F\u5426\u542F\u52A8\u9996\u9875"),prop:"startHome"}},[a("RadioGroup",{model:{value:t.formDatum.start_home,callback:function(e){t.$set(t.formDatum,"start_home",e)},expression:"formDatum.start_home"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EC5\u652F\u6301\u7F51\u9875\u7248\u3002")))]),t.formDatum.start_home=="open"?a("Input",{staticStyle:{margin:"8px 0 -8px"},attrs:{type:"textarea",rows:2,autosize:{minRows:2,maxRows:8},placeholder:t.$L("\u9996\u9875\u5E95\u90E8\uFF1A\u9996\u9875\u5E95\u90E8\u7F51\u7AD9\u5907\u6848\u53F7\u7B49\u4FE1\u606F")},model:{value:t.formDatum.home_footer,callback:function(e){t.$set(t.formDatum,"home_footer",e)},expression:"formDatum.home_footer"}}):t._e()],1)],1)]):t._e()]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},g=[];const y={name:"SystemSetting",data(){return{loadIng:0,formDatum:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formDatum=$A.cloneJSON(this.formDatum_bak)},formArchived(t){this.formDatum={...this.formDatum,auto_archived:t}},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting?type="+(t?"save":"all"),data:this.formDatum}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formDatum=s,this.formDatum_bak=$A.cloneJSON(this.formDatum)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},i={};var L=r(y,b,g,!1,x,null,null,null);function x(t){for(let s in i)this[s]=i[s]}var k=function(){return L.exports}(),S=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formDatum",attrs:{"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("Row",{staticClass:"setting-color color-label-box"},[a("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u540D\u79F0")))]),a("Col",{attrs:{span:"4"}},[a("ETooltip",{attrs:{content:t.$L("\u6570\u503C\u8D8A\u5C0F\u7EA7\u522B\u8D8A\u9AD8"),"max-width":"auto",placement:"top",transfer:""}},[a("div",[a("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}}),t._v(" "+t._s(t.$L("\u7EA7\u522B")))],1)])],1),a("Col",{attrs:{span:"4"}},[a("ETooltip",{attrs:{content:t.$L("\u4EFB\u52A1\u5B8C\u6210\u65F6\u95F4"),"max-width":"auto",placement:"top",transfer:""}},[a("div",[a("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}}),t._v(" "+t._s(t.$L("\u5929\u6570")))],1)])],1),a("Col",{attrs:{span:"4"}},[t._v(t._s(t.$L("\u989C\u8272")))])],1),t._l(t.formDatum,function(e,l){return a("Row",{key:l,staticClass:"setting-color"},[a("Col",{attrs:{span:"12"}},[a("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u540D\u79F0"),clearable:""},on:{"on-clear":function(o){return t.delDatum(l)}},model:{value:e.name,callback:function(o){t.$set(e,"name",o)},expression:"item.name"}})],1),a("Col",{attrs:{span:"4"}},[a("Input",{attrs:{type:"number"},model:{value:e.priority,callback:function(o){t.$set(e,"priority",o)},expression:"item.priority"}})],1),a("Col",{attrs:{span:"4"}},[a("Input",{attrs:{type:"number"},model:{value:e.days,callback:function(o){t.$set(e,"days",o)},expression:"item.days"}})],1),a("Col",{attrs:{span:"4"}},[a("ColorPicker",{attrs:{recommend:"",transfer:""},model:{value:e.color,callback:function(o){t.$set(e,"color",o)},expression:"item.color"}})],1)],1)}),a("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u4F18\u5148\u7EA7")))])],2),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},I=[];const C={name:"SystemTaskPriority",data(){return{loadIng:0,formDatum:[],nullDatum:{name:"",priority:1,days:1,color:"#84C56A"}}},mounted(){this.systemSetting()},computed:{...v(["taskPriority"])},watch:{taskPriority:{handler(t){this.formDatum=$A.cloneJSON(t),this.formDatum.length===0&&this.addDatum()},immediate:!0}},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formDatum=$A.cloneJSON(this.taskPriority)},addDatum(){this.formDatum.push($A.cloneJSON(this.nullDatum))},delDatum(t){this.formDatum.splice(t,1),this.formDatum.length===0&&this.addDatum()},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/priority?type="+(t?"save":"get"),method:"post",data:{list:this.formDatum}}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.state.taskPriority=$A.cloneJSON(s)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},n={};var F=r(C,S,I,!1,A,null,null,null);function A(t){for(let s in n)this[s]=n[s]}var R=function(){return F.exports}(),w=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formDatum",attrs:{"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("Row",{staticClass:"setting-template"},[a("Col",{attrs:{span:"8"}},[t._v(t._s(t.$L("\u540D\u79F0")))]),a("Col",{attrs:{span:"16"}},[t._v(t._s(t.$L("\u9879\u76EE\u6A21\u677F")))])],1),t._l(t.formDatum,function(e,l){return a("Row",{key:l,staticClass:"setting-template"},[a("Col",{attrs:{span:"8"}},[a("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u540D\u79F0"),clearable:""},on:{"on-clear":function(o){return t.delDatum(l)}},model:{value:e.name,callback:function(o){t.$set(e,"name",o)},expression:"item.name"}})],1),a("Col",{attrs:{span:"16"}},[a("TagInput",{model:{value:e.columns,callback:function(o){t.$set(e,"columns",o)},expression:"item.columns"}})],1)],1)}),a("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u6A21\u677F")))])],2),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},O=[];const T={name:"SystemColumnTemplate",data(){return{loadIng:0,formDatum:[],nullDatum:{name:"",columns:""}}},mounted(){this.systemSetting()},computed:{...v(["columnTemplate"])},watch:{columnTemplate:{handler(t){this.formDatum=$A.cloneJSON(t),this.formDatum.length===0&&this.addDatum()},immediate:!0}},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formDatum=$A.cloneJSON(this.columnTemplate)},addDatum(){this.formDatum.push($A.cloneJSON(this.nullDatum))},delDatum(t){this.formDatum.splice(t,1),this.formDatum.length===0&&this.addDatum()},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/column/template?type="+(t?"save":"get"),method:"post",data:{list:this.formDatum}}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.state.columnTemplate=$A.cloneJSON(s).map(a=>($A.isArray(a.columns)&&(a.columns=a.columns.join(",")),a))}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},m={};var P=r(T,w,O,!1,E,null,null,null);function E(t){for(let s in m)this[s]=m[s]}var N=function(){return P.exports}(),B=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u90AE\u7BB1\u670D\u52A1\u5668\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("SMTP\u670D\u52A1\u5668"),prop:"smtp_server"}},[a("Input",{model:{value:t.formData.smtp_server,callback:function(e){t.$set(t.formData,"smtp_server",e)},expression:"formData.smtp_server"}})],1),a("FormItem",{attrs:{label:t.$L("\u7AEF\u53E3"),prop:"port"}},[a("Input",{attrs:{maxlength:20},model:{value:t.formData.port,callback:function(e){t.$set(t.formData,"port",e)},expression:"formData.port"}})],1),a("FormItem",{attrs:{label:t.$L("\u5E10\u53F7"),prop:"account"}},[a("Input",{attrs:{maxlength:128},model:{value:t.formData.account,callback:function(e){t.$set(t.formData,"account",e)},expression:"formData.account"}})],1),a("FormItem",{attrs:{label:t.$L("\u5BC6\u7801"),prop:"password"}},[a("Input",{attrs:{maxlength:128,type:"password"},model:{value:t.formData.password,callback:function(e){t.$set(t.formData,"password",e)},expression:"formData.password"}})],1),a("FormItem",[a("Button",{on:{click:t.checkEmailSend}},[t._v(t._s(t.$L("\u90AE\u4EF6\u53D1\u9001\u6D4B\u8BD5")))])],1)],1)]),a("div",{staticClass:"block-setting-placeholder"}),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u90AE\u4EF6\u901A\u77E5\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5F00\u542F\u6CE8\u518C\u9A8C\u8BC1"),prop:"reg_verify"}},[a("RadioGroup",{model:{value:t.formData.reg_verify,callback:function(e){t.$set(t.formData,"reg_verify",e)},expression:"formData.reg_verify"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formData.reg_verify=="open"?a("div",{staticClass:"form-tip"},[t._v(" "+t._s(t.$L("\u5F00\u542F\u540E\uFF1A"))),a("br"),t._v(" \u2460 "+t._s(t.$L("\u5E10\u53F7\u9700\u9A8C\u8BC1\u901A\u8FC7\u624D\u53EF\u767B\u5F55"))),a("br"),t._v(" \u2461 "+t._s(t.$L("\u4FEE\u6539\u90AE\u7BB1\u548C\u5220\u9664\u5E10\u53F7\u9700\u8981\u90AE\u7BB1\u9A8C\u8BC1\u7801"))+" ")]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u6D88\u606F\u63D0\u9192"),prop:"notice_msg"}},[a("RadioGroup",{model:{value:t.formData.notice_msg,callback:function(e){t.$set(t.formData,"notice_msg",e)},expression:"formData.notice_msg"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formData.notice_msg=="open"?a("Form",{nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{label:t.$L("\u672A\u8BFB\u4E2A\u4EBA\u6D88\u606F"),prop:"msg_unread_user_minute"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.msg_unread_user_minute,callback:function(e){t.$set(t.formData,"msg_unread_user_minute",e)},expression:"formData.msg_unread_user_minute"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F"))+"(m)")])],1)]),a("FormItem",{attrs:{label:t.$L("\u672A\u8BFB\u7FA4\u804A\u6D88\u606F"),prop:"msg_unread_group_minute"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.msg_unread_group_minute,callback:function(e){t.$set(t.formData,"msg_unread_group_minute",e)},expression:"formData.msg_unread_group_minute"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F"))+"(m)")])],1)]),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u586B\u5199-1\u5219\u4E0D\u901A\u77E5\uFF0C\u8BEF\u5DEE\xB110\u5206\u949F")))])],1):t._e()],1)],1)]),a("div",{staticClass:"block-setting-placeholder"}),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u5FFD\u7565\u90AE\u7BB1\u5730\u5740")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5FFD\u7565\u90AE\u7BB1"),prop:"ignore_addr"}},[a("Input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:50}},model:{value:t.formData.ignore_addr,callback:function(e){t.$set(t.formData,"ignore_addr",e)},expression:"formData.ignore_addr"}}),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4E0D\u4F1A\u5411\u5FFD\u7565\u7684\u90AE\u7BB1\u5730\u5740\u53D1\u9001\u90AE\u4EF6\uFF0C\u53EF\u4F7F\u7528\u6362\u884C\u5206\u5272\u591A\u4E2A\u5730\u5740\u3002")))])],1)],1)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},G=[];const M={name:"SystemEmailSetting",data(){return{loadIng:0,formData:{smtp_server:"",port:"",account:"",password:"",reg_verify:"colse",notice_msg:"open",msg_unread_user_minute:-1,msg_unread_group_minute:-1,ignore_addr:""},ruleData:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/email?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})},checkEmailSend(){$A.modalInput({title:"\u6D4B\u8BD5\u90AE\u4EF6",placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u5730\u5740",onOk:t=>t?$A.isEmail(t)?new Promise((s,a)=>{this.$store.dispatch("call",{url:"system/email/check",data:Object.assign(this.formData,{to:t})}).then(({msg:e})=>{s(e)}).catch(({msg:e})=>{a(e)})}):"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6536\u4EF6\u4EBA\u5730\u5740":"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u5730\u5740"})}}},c={};var J=r(M,B,G,!1,j,null,null,null);function j(t){for(let s in c)this[s]=c[s]}var U=function(){return J.exports}(),z=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u53CB\u76DF\u63A8\u9001")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5F00\u542F\u63A8\u9001"),prop:"push"}},[a("RadioGroup",{model:{value:t.formData.push,callback:function(e){t.$set(t.formData,"push",e)},expression:"formData.push"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1)],1),t.formData.push==="open"?[a("Divider",{attrs:{orientation:"left"}},[t._v("iOS "+t._s(t.$L("\u53C2\u6570\u914D\u7F6E")))]),a("FormItem",{attrs:{label:"Appkey",prop:"ios_appkey"}},[a("Input",{attrs:{maxlength:255},model:{value:t.formData.ios_key,callback:function(e){t.$set(t.formData,"ios_key",e)},expression:"formData.ios_key"}})],1),a("FormItem",{attrs:{label:"App Master Secret",prop:"secret"}},[a("Input",{attrs:{maxlength:255,type:"password"},model:{value:t.formData.ios_secret,callback:function(e){t.$set(t.formData,"ios_secret",e)},expression:"formData.ios_secret"}})],1),a("Divider",{attrs:{orientation:"left"}},[t._v("Android "+t._s(t.$L("\u53C2\u6570\u914D\u7F6E")))]),a("FormItem",{attrs:{label:"Appkey",prop:"android_appkey"}},[a("Input",{attrs:{maxlength:255},model:{value:t.formData.android_key,callback:function(e){t.$set(t.formData,"android_key",e)},expression:"formData.android_key"}})],1),a("FormItem",{attrs:{label:"App Master Secret",prop:"secret"}},[a("Input",{attrs:{maxlength:255,type:"password"},model:{value:t.formData.android_secret,callback:function(e){t.$set(t.formData,"android_secret",e)},expression:"formData.android_secret"}})],1)]:t._e()],2)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},H=[];const q={name:"SystemAppPush",data(){return{loadIng:0,formData:{push:"",ios_key:"",ios_secret:"",android_key:"",android_secret:""},ruleData:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/apppush?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},u={};var W=r(q,z,H,!1,K,null,null,null);function K(t){for(let s in u)this[s]=u[s]}var Q=function(){return W.exports}(),V=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("AgoraIO")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u4F1A\u8BAE\u529F\u80FD"),prop:"open"}},[a("RadioGroup",{model:{value:t.formData.open,callback:function(e){t.$set(t.formData,"open",e)},expression:"formData.open"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1)],1),t.formData.open==="open"?[a("FormItem",{attrs:{label:"App ID ",prop:"appid"}},[a("Input",{attrs:{maxlength:255},model:{value:t.formData.appid,callback:function(e){t.$set(t.formData,"appid",e)},expression:"formData.appid"}})],1),a("FormItem",{attrs:{label:"App certificate",prop:"app_certificate"}},[a("Input",{attrs:{maxlength:255,type:"password"},model:{value:t.formData.app_certificate,callback:function(e){t.$set(t.formData,"app_certificate",e)},expression:"formData.app_certificate"}})],1)]:t._e()],2)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},X=[];const Y={name:"SystemMeeting",data(){return{loadIng:0,formData:{open:"",appid:"",app_certificate:""},ruleData:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/meeting?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},_={};var Z=r(Y,V,X,!1,tt,null,null,null);function tt(t){for(let s in _)this[s]=_[s]}var at=function(){return Z.exports}(),et=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u7B7E\u5230\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u529F\u80FD\u5F00\u542F"),prop:"open"}},[a("RadioGroup",{model:{value:t.formData.open,callback:function(e){t.$set(t.formData,"open",e)},expression:"formData.open"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"export-data"},[a("p",{on:{click:function(e){t.allUserShow=!0}}},[t._v(t._s(t.$L("\u7BA1\u7406\u6210\u5458MAC\u5730\u5740")))]),a("p",{on:{click:function(e){t.exportShow=!0}}},[t._v(t._s(t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E")))])])],1),t.formData.open==="open"?[a("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u65F6\u95F4"),prop:"time"}},[a("TimePicker",{attrs:{type:"timerange",format:"HH:mm",placeholder:t.$L("\u8BF7\u9009\u62E9\u7B7E\u5230\u65F6\u95F4")},model:{value:t.formData.time,callback:function(e){t.$set(t.formData,"time",e)},expression:"formData.time"}}),a("Form",{nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{label:t.$L("\u6700\u65E9\u53EF\u63D0\u524D"),prop:"advance"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.advance,callback:function(e){t.$set(t.formData,"advance",e)},expression:"formData.advance"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("FormItem",{attrs:{label:t.$L("\u6700\u665A\u53EF\u5EF6\u540E"),prop:"delay"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.delay,callback:function(e){t.$set(t.formData,"delay",e)},expression:"formData.delay"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7B7E\u5230\u524D\u540E\u65F6\u95F4\u6536\u5230\u6D88\u606F\u901A\u77E5")))]),a("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u6253\u5361\u63D0\u9192"),prop:"remindin"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.remindin,callback:function(e){t.$set(t.formData,"remindin",e)},expression:"formData.remindin"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u7F3A\u5361\u63D0\u9192"),prop:"remindexceed"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.remindexceed,callback:function(e){t.$set(t.formData,"remindexceed",e)},expression:"formData.remindexceed"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7B7E\u5230\u63D0\u9192\u5BF9\u8C61\uFF1A3\u5929\u5185\u6709\u7B7E\u5230\u7684\u6210\u5458\uFF08\u6CD5\u5B9A\u5DE5\u4F5C\u65E5\uFF09")))])],1)],1),a("FormItem",{attrs:{label:t.$L("\u5141\u8BB8\u4FEE\u6539"),prop:"edit"}},[a("RadioGroup",{model:{value:t.formData.edit,callback:function(e){t.$set(t.formData,"edit",e)},expression:"formData.edit"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5141\u8BB8")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u7981\u6B62")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5141\u8BB8\u6210\u5458\u81EA\u5DF1\u4FEE\u6539MAC\u5730\u5740")))])],1)]:t._e()],2)]),t.formData.open==="open"?[a("div",{staticClass:"block-setting-placeholder"}),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u81EA\u52A8\u7B7E\u5230")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5B89\u88C5\u8BF4\u660E"),prop:"explain"}},[a("p",[t._v("1. "+t._s(t.$L("\u81EA\u52A8\u7B7E\u5230\u5EF6\u8FDF\u65F6\u957F\u4E3A\xB11\u5206\u949F\u3002")))]),a("p",[t._v("2. "+t._s(t.$L("\u8BBE\u5907\u8FDE\u63A5\u4E0A\u6307\u5B9A\u8DEF\u7531\u5668\uFF08WiFi\uFF09\u540E\u81EA\u52A8\u7B7E\u5230\u3002")))]),a("p",[t._v("3. "+t._s(t.$L("\u4EC5\u652F\u6301Openwrt\u7CFB\u7EDF\u7684\u8DEF\u7531\u5668\u3002")))]),a("p",[t._v("4. "+t._s(t.$L("\u5173\u95ED\u7B7E\u5230\u529F\u80FD\u518D\u5F00\u542F\u9700\u8981\u91CD\u65B0\u5B89\u88C5\u3002")))]),a("p",[t._v("5. "+t._s(t.$L("\u8FDB\u5165\u8DEF\u7531\u5668\u7EC8\u7AEF\u6267\u884C\u4EE5\u4E0B\u547D\u4EE4\u5373\u53EF\u5B8C\u6210\u5B89\u88C5\uFF1A")))]),a("Input",{ref:"cmd",staticStyle:{"margin-top":"6px"},attrs:{type:"textarea",readonly:"",value:t.formData.cmd},on:{"on-focus":t.clickCmd}})],1)],1)])]:t._e()],2),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1),a("CheckinExport",{model:{value:t.exportShow,callback:function(e){t.exportShow=e},expression:"exportShow"}}),a("DrawerOverlay",{attrs:{placement:"right",size:1380},model:{value:t.allUserShow,callback:function(e){t.allUserShow=e},expression:"allUserShow"}},[t.allUserShow?a("TeamManagement",{attrs:{"checkin-mac":""}}):t._e()],1)],1)},st=[];const ot={name:"SystemCheckin",components:{CheckinExport:h,TeamManagement:D,DrawerOverlay:$},data(){return{loadIng:0,formData:{open:"",edit:"",cmd:""},ruleData:{},allUserShow:!1,exportShow:!1}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/checkin?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})},clickCmd(){this.$nextTick(t=>{this.$refs.cmd.focus({cursor:"all"})})}}},p={};var rt=r(ot,et,st,!1,lt,null,null,null);function lt(t){for(let s in p)this[s]=p[s]}var it=function(){return rt.exports}(),nt=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("LDAP")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u542F\u7528 LDAP \u8BA4\u8BC1"),prop:"ldap_open"}},[a("RadioGroup",{model:{value:t.formData.ldap_open,callback:function(e){t.$set(t.formData,"ldap_open",e)},expression:"formData.ldap_open"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\u540E\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 LDAP \u5E10\u53F7\u5BC6\u7801\u767B\u5F55")))])],1),t.formData.ldap_open==="open"?[a("FormItem",{attrs:{label:t.$L("LDAP \u5730\u5740"),prop:"ldap_host"}},[a("Input",{model:{value:t.formData.ldap_host,callback:function(e){t.$set(t.formData,"ldap_host",e)},expression:"formData.ldap_host"}}),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4F8B\u5982"))+": 192.168.1.200\u3001www.ldap.com")])],1),a("FormItem",{attrs:{label:t.$L("LDAP \u7AEF\u53E3"),prop:"ldap_port"}},[a("Input",{attrs:{type:"number",placeholder:`${t.$L("\u9ED8\u8BA4")}: 389`},model:{value:t.formData.ldap_port,callback:function(e){t.$set(t.formData,"ldap_port",e)},expression:"formData.ldap_port"}})],1),a("FormItem",{attrs:{label:"Base DN",prop:"ldap_base_dn"}},[a("Input",{model:{value:t.formData.ldap_base_dn,callback:function(e){t.$set(t.formData,"ldap_base_dn",e)},expression:"formData.ldap_base_dn"}})],1),a("FormItem",{attrs:{label:"User DN",prop:"ldap_user_dn"}},[a("Input",{model:{value:t.formData.ldap_user_dn,callback:function(e){t.$set(t.formData,"ldap_user_dn",e)},expression:"formData.ldap_user_dn"}})],1),a("FormItem",{attrs:{label:t.$L("\u5BC6\u7801"),prop:"ldap_password"}},[a("Input",{attrs:{type:"password"},model:{value:t.formData.ldap_password,callback:function(e){t.$set(t.formData,"ldap_password",e)},expression:"formData.ldap_password"}})],1),a("FormItem",{attrs:{label:t.$L("\u540C\u6B65\u672C\u5730\u5E10\u53F7"),prop:"ldap_sync_local"}},[a("RadioGroup",{model:{value:t.formData.ldap_sync_local,callback:function(e){t.$set(t.formData,"ldap_sync_local",e)},expression:"formData.ldap_sync_local"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\u540C\u6B65\u672C\u5730\u5E10\u53F7\u767B\u5F55\u540E\u5C06\u540C\u6B65\u5230 LDAP \u670D\u52A1\u5668")))])],1),a("FormItem",[a("Button",{attrs:{loading:t.testLoad},on:{click:t.checkTest}},[t._v(t._s(t.$L("\u6D4B\u8BD5\u94FE\u63A5")))])],1)]:t._e()],2)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},mt=[];const ct={name:"SystemThirdAccess",data(){return{loadIng:0,formData:{},ruleData:{},testLoad:!1}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/thirdaccess?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})},checkTest(){this.testLoad||(this.testLoad=!0,this.$store.dispatch("call",{url:"system/setting/thirdaccess?type=testldap",data:this.formData}).then(({msg:t})=>{$A.messageSuccess(t)}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.testLoad=!1}))}}},d={};var ut=r(ct,nt,mt,!1,_t,null,null,null);function _t(t){for(let s in d)this[s]=d[s]}var pt=function(){return ut.exports}(),dt=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-item submit"},[a("Tabs",{model:{value:t.tabAction,callback:function(e){t.tabAction=e},expression:"tabAction"}},[a("TabPane",{attrs:{label:t.$L("\u7CFB\u7EDF\u8BBE\u7F6E"),name:"setting"}},[a("SystemSetting")],1),a("TabPane",{attrs:{label:t.$L("\u4EFB\u52A1\u4F18\u5148\u7EA7"),name:"taskPriority"}},[a("SystemTaskPriority")],1),a("TabPane",{attrs:{label:t.$L("\u9879\u76EE\u6A21\u677F"),name:"columnTemplate"}},[a("SystemColumnTemplate")],1),a("TabPane",{attrs:{label:t.$L("\u4F1A\u8BAE\u529F\u80FD"),name:"meeting"}},[a("SystemMeeting")],1),a("TabPane",{attrs:{label:t.$L("\u7B7E\u5230\u529F\u80FD"),name:"checkin"}},[a("SystemCheckin")],1),a("TabPane",{attrs:{label:t.$L("\u90AE\u4EF6\u8BBE\u7F6E"),name:"emailSetting"}},[a("SystemEmailSetting")],1),a("TabPane",{attrs:{label:t.$L("\u8BA4\u8BC1\u8BBE\u7F6E"),name:"thirdAccess"}},[a("SystemThirdAccess")],1),t.$A.isDooServer()?a("TabPane",{attrs:{label:t.$L("APP\u63A8\u9001"),name:"appPush"}},[a("SystemAppPush")],1):t._e()],1)],1)},ft=[];const vt={components:{SystemThirdAccess:pt,SystemCheckin:it,SystemMeeting:at,SystemAppPush:Q,SystemColumnTemplate:N,SystemTaskPriority:R,SystemSetting:k,SystemEmailSetting:U},data(){return{tabAction:"setting"}}},f={};var $t=r(vt,dt,ft,!1,ht,null,null,null);function ht(t){for(let s in f)this[s]=f[s]}var Lt=function(){return $t.exports}();export{Lt as default}; +import{n as r,m as v}from"./app.139edc4e.js";import{D as $}from"./index.03956335.js";import{C as h,T as D}from"./CheckinExport.058fd78e.js";import"./UserInput.ca38ea3c.js";var b=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formDatum",attrs:{model:t.formDatum,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u5E10\u53F7\u76F8\u5173")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5141\u8BB8\u6CE8\u518C"),prop:"reg"}},[a("RadioGroup",{model:{value:t.formDatum.reg,callback:function(e){t.$set(t.formDatum,"reg",e)},expression:"formDatum.reg"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5141\u8BB8")))]),a("Radio",{attrs:{label:"invite"}},[t._v(t._s(t.$L("\u9080\u8BF7\u7801")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u7981\u6B62")))])],1),t.formDatum.reg=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5141\u8BB8\uFF1A\u5F00\u653E\u6CE8\u518C\u529F\u80FD\u3002")))]):t.formDatum.reg=="invite"?[a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u9080\u8BF7\u7801\uFF1A\u6CE8\u518C\u65F6\u9700\u586B\u5199\u4E0B\u65B9\u9080\u8BF7\u7801\u3002")))]),a("Input",{staticStyle:{width:"200px","margin-top":"6px"},model:{value:t.formDatum.reg_invite,callback:function(e){t.$set(t.formDatum,"reg_invite",e)},expression:"formDatum.reg_invite"}},[a("span",{attrs:{slot:"prepend"},slot:"prepend"},[t._v(t._s(t.$L("\u9080\u8BF7\u7801")))])])]:t._e()],2),["open","invite"].includes(t.formDatum.reg)?a("FormItem",{attrs:{label:t.$L("\u6CE8\u518C\u8EAB\u4EFD"),prop:"reg_identity"}},[a("RadioGroup",{model:{value:t.formDatum.reg_identity,callback:function(e){t.$set(t.formDatum,"reg_identity",e)},expression:"formDatum.reg_identity"}},[a("Radio",{attrs:{label:"normal"}},[t._v(t._s(t.$L("\u6B63\u5E38\u5E10\u53F7")))]),a("Radio",{attrs:{label:"temp"}},[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7")))])],1),a("div",{staticClass:"form-tip form-list"},[a("p",[t._v(t._s(t.$L("\u4E34\u65F6\u5E10\u53F7"))+"\uFF1A")]),a("ol",[a("li",[t._v(t._s(t.$L("\u7981\u6B62\u67E5\u770B\u5171\u4EAB\u6240\u6709\u4EBA\u7684\u6587\u4EF6\u3002")))]),a("li",[t._v(t._s(t.$L("\u7981\u6B62\u53D1\u8D77\u4F1A\u8BDD\u3002")))]),a("li",[t._v(t._s(t.$L("\u7981\u6B62\u521B\u5EFA\u7FA4\u804A\u3002")))]),a("li",[t._v(t._s(t.$L("\u7981\u6B62\u62E8\u6253\u7535\u8BDD\u3002")))])])])],1):t._e(),a("FormItem",{attrs:{label:t.$L("\u767B\u5F55\u9A8C\u8BC1\u7801"),prop:"loginCode"}},[a("RadioGroup",{model:{value:t.formDatum.login_code,callback:function(e){t.$set(t.formDatum,"login_code",e)},expression:"formDatum.login_code"}},[a("Radio",{attrs:{label:"auto"}},[t._v(t._s(t.$L("\u81EA\u52A8")))]),a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.login_code=="auto"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u81EA\u52A8\uFF1A\u5BC6\u7801\u8F93\u5165\u9519\u8BEF\u540E\u5FC5\u987B\u6DFB\u52A0\u9A8C\u8BC1\u7801\u3002")))]):t.formDatum.login_code=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\uFF1A\u6BCF\u6B21\u767B\u5F55\u90FD\u9700\u8981\u56FE\u5F62\u9A8C\u8BC1\u7801\u3002")))]):t.formDatum.login_code=="close"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5173\u95ED\uFF1A\u4E0D\u9700\u8981\u8F93\u5165\u56FE\u5F62\u9A8C\u8BC1\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u5BC6\u7801\u7B56\u7565"),prop:"passwordPolicy"}},[a("RadioGroup",{model:{value:t.formDatum.password_policy,callback:function(e){t.$set(t.formDatum,"password_policy",e)},expression:"formDatum.password_policy"}},[a("Radio",{attrs:{label:"simple"}},[t._v(t._s(t.$L("\u7B80\u5355")))]),a("Radio",{attrs:{label:"complex"}},[t._v(t._s(t.$L("\u590D\u6742")))])],1),t.formDatum.password_policy=="simple"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7B80\u5355\uFF1A\u5927\u4E8E\u6216\u7B49\u4E8E6\u4E2A\u5B57\u7B26\u3002")))]):t.formDatum.password_policy=="complex"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u590D\u6742\uFF1A\u5927\u4E8E\u6216\u7B49\u4E8E6\u4E2A\u5B57\u7B26\uFF0C\u5305\u542B\u6570\u5B57\u3001\u5B57\u6BCD\u5927\u5C0F\u5199\u6216\u8005\u7279\u6B8A\u5B57\u7B26\u3002")))]):t._e()],1)],1)]),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u9879\u76EE\u76F8\u5173")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u9080\u8BF7\u9879\u76EE"),prop:"projectInvite"}},[a("RadioGroup",{model:{value:t.formDatum.project_invite,callback:function(e){t.$set(t.formDatum,"project_invite",e)},expression:"formDatum.project_invite"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.project_invite=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\uFF1A\u9879\u76EE\u7BA1\u7406\u5458\u53EF\u751F\u6210\u94FE\u63A5\u9080\u8BF7\u6210\u5458\u52A0\u5165\u9879\u76EE\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u81EA\u52A8\u5F52\u6863\u4EFB\u52A1"),prop:"autoArchived"}},[a("RadioGroup",{attrs:{value:t.formDatum.auto_archived},on:{"on-change":t.formArchived}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EFB\u52A1\u5B8C\u6210\u540E\u81EA\u52A8\u5F52\u6863\u3002")))]),t.formDatum.auto_archived=="open"?a("ETooltip",{attrs:{placement:"right",disabled:t.windowSmall||t.$isEEUiApp}},[a("div",{staticClass:"setting-auto-day"},[a("Input",{attrs:{type:"number"},model:{value:t.formDatum.archived_day,callback:function(e){t.$set(t.formDatum,"archived_day",e)},expression:"formDatum.archived_day"}},[a("span",{attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.$L("\u5929")))])])],1),a("div",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.$L("\u4EFB\u52A1\u5B8C\u6210 (*) \u5929\u540E\u81EA\u52A8\u5F52\u6863\u3002",t.formDatum.archived_day)))])]):t._e()],1)],1)]),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u6D88\u606F\u76F8\u5173")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5168\u5458\u7FA4\u7EC4\u7981\u8A00"),prop:"allGroupMute"}},[a("RadioGroup",{model:{value:t.formDatum.all_group_mute,callback:function(e){t.$set(t.formDatum,"all_group_mute",e)},expression:"formDatum.all_group_mute"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u653E")))]),a("Radio",{attrs:{label:"user"}},[t._v(t._s(t.$L("\u6210\u5458\u7981\u8A00")))]),a("Radio",{attrs:{label:"all"}},[t._v(t._s(t.$L("\u5168\u90E8\u7981\u8A00")))])],1),t.formDatum.all_group_mute=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u653E\uFF1A\u6240\u6709\u4EBA\u90FD\u53EF\u4EE5\u53D1\u8A00\u3002")))]):t.formDatum.all_group_mute=="user"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u6210\u5458\u7981\u8A00\uFF1A\u4EC5\u7BA1\u7406\u5458\u53EF\u4EE5\u53D1\u8A00\u3002")))]):t.formDatum.all_group_mute=="all"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5168\u90E8\u7981\u8A00\uFF1A\u6240\u6709\u4EBA\u90FD\u7981\u6B62\u53D1\u8A00\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u81EA\u52A8\u8FDB\u5165\u5168\u5458\u7FA4"),prop:"allGroupAutoin"}},[a("RadioGroup",{model:{value:t.formDatum.all_group_autoin,callback:function(e){t.$set(t.formDatum,"all_group_autoin",e)},expression:"formDatum.all_group_autoin"}},[a("Radio",{attrs:{label:"yes"}},[t._v(t._s(t.$L("\u81EA\u52A8")))]),a("Radio",{attrs:{label:"no"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.all_group_autoin=="yes"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u81EA\u52A8\uFF1A\u6CE8\u518C\u6210\u529F\u540E\u81EA\u52A8\u8FDB\u5165\u5168\u5458\u7FA4\u3002")))]):t.formDatum.all_group_autoin=="no"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5173\u95ED\uFF1A\u5176\u4ED6\u6210\u5458\u901A\u8FC7@\u9080\u8BF7\u8FDB\u5165\u3002")))]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u804A\u5929\u8D44\u6599"),prop:"chatInformation"}},[a("RadioGroup",{model:{value:t.formDatum.chat_information,callback:function(e){t.$set(t.formDatum,"chat_information",e)},expression:"formDatum.chat_information"}},[a("Radio",{attrs:{label:"optional"}},[t._v(t._s(t.$L("\u53EF\u9009")))]),a("Radio",{attrs:{label:"required"}},[t._v(t._s(t.$L("\u5FC5\u586B")))])],1),t.formDatum.chat_information=="required"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5FC5\u586B\uFF1A\u53D1\u9001\u804A\u5929\u5185\u5BB9\u524D\u5FC5\u987B\u8BBE\u7F6E\u6635\u79F0\u3001\u7535\u8BDD\u3002")))]):a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5982\u679C\u5FC5\u586B\uFF0C\u53D1\u9001\u804A\u5929\u524D\u5FC5\u987B\u8BBE\u7F6E\u6635\u79F0\u3001\u7535\u8BDD\u3002")))])],1),a("FormItem",{attrs:{label:t.$L("\u533F\u540D\u6D88\u606F"),prop:"anonMessage"}},[a("RadioGroup",{model:{value:t.formDatum.anon_message,callback:function(e){t.$set(t.formDatum,"anon_message",e)},expression:"formDatum.anon_message"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formDatum.anon_message=="open"?a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5141\u8BB8\u533F\u540D\u53D1\u9001\u6D88\u606F\u7ED9\u5176\u4ED6\u6210\u5458\u3002")))]):a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7981\u6B62\u533F\u540D\u53D1\u9001\u6D88\u606F\u3002")))])],1)],1)]),t.$A.isDooServer()?a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u5176\u4ED6\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u662F\u5426\u542F\u52A8\u9996\u9875"),prop:"startHome"}},[a("RadioGroup",{model:{value:t.formDatum.start_home,callback:function(e){t.$set(t.formDatum,"start_home",e)},expression:"formDatum.start_home"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4EC5\u652F\u6301\u7F51\u9875\u7248\u3002")))]),t.formDatum.start_home=="open"?a("Input",{staticStyle:{margin:"8px 0 -8px"},attrs:{type:"textarea",rows:2,autosize:{minRows:2,maxRows:8},placeholder:t.$L("\u9996\u9875\u5E95\u90E8\uFF1A\u9996\u9875\u5E95\u90E8\u7F51\u7AD9\u5907\u6848\u53F7\u7B49\u4FE1\u606F")},model:{value:t.formDatum.home_footer,callback:function(e){t.$set(t.formDatum,"home_footer",e)},expression:"formDatum.home_footer"}}):t._e()],1)],1)]):t._e()]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},g=[];const y={name:"SystemSetting",data(){return{loadIng:0,formDatum:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formDatum=$A.cloneJSON(this.formDatum_bak)},formArchived(t){this.formDatum={...this.formDatum,auto_archived:t}},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting?type="+(t?"save":"all"),data:this.formDatum}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formDatum=s,this.formDatum_bak=$A.cloneJSON(this.formDatum)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},i={};var L=r(y,b,g,!1,x,null,null,null);function x(t){for(let s in i)this[s]=i[s]}var k=function(){return L.exports}(),S=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formDatum",attrs:{"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("Row",{staticClass:"setting-color color-label-box"},[a("Col",{attrs:{span:"12"}},[t._v(t._s(t.$L("\u540D\u79F0")))]),a("Col",{attrs:{span:"4"}},[a("ETooltip",{attrs:{content:t.$L("\u6570\u503C\u8D8A\u5C0F\u7EA7\u522B\u8D8A\u9AD8"),"max-width":"auto",placement:"top",transfer:""}},[a("div",[a("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}}),t._v(" "+t._s(t.$L("\u7EA7\u522B")))],1)])],1),a("Col",{attrs:{span:"4"}},[a("ETooltip",{attrs:{content:t.$L("\u4EFB\u52A1\u5B8C\u6210\u65F6\u95F4"),"max-width":"auto",placement:"top",transfer:""}},[a("div",[a("Icon",{staticClass:"information",attrs:{type:"ios-information-circle-outline"}}),t._v(" "+t._s(t.$L("\u5929\u6570")))],1)])],1),a("Col",{attrs:{span:"4"}},[t._v(t._s(t.$L("\u989C\u8272")))])],1),t._l(t.formDatum,function(e,l){return a("Row",{key:l,staticClass:"setting-color"},[a("Col",{attrs:{span:"12"}},[a("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u540D\u79F0"),clearable:""},on:{"on-clear":function(o){return t.delDatum(l)}},model:{value:e.name,callback:function(o){t.$set(e,"name",o)},expression:"item.name"}})],1),a("Col",{attrs:{span:"4"}},[a("Input",{attrs:{type:"number"},model:{value:e.priority,callback:function(o){t.$set(e,"priority",o)},expression:"item.priority"}})],1),a("Col",{attrs:{span:"4"}},[a("Input",{attrs:{type:"number"},model:{value:e.days,callback:function(o){t.$set(e,"days",o)},expression:"item.days"}})],1),a("Col",{attrs:{span:"4"}},[a("ColorPicker",{attrs:{recommend:"",transfer:""},model:{value:e.color,callback:function(o){t.$set(e,"color",o)},expression:"item.color"}})],1)],1)}),a("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u4F18\u5148\u7EA7")))])],2),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},I=[];const C={name:"SystemTaskPriority",data(){return{loadIng:0,formDatum:[],nullDatum:{name:"",priority:1,days:1,color:"#84C56A"}}},mounted(){this.systemSetting()},computed:{...v(["taskPriority"])},watch:{taskPriority:{handler(t){this.formDatum=$A.cloneJSON(t),this.formDatum.length===0&&this.addDatum()},immediate:!0}},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formDatum=$A.cloneJSON(this.taskPriority)},addDatum(){this.formDatum.push($A.cloneJSON(this.nullDatum))},delDatum(t){this.formDatum.splice(t,1),this.formDatum.length===0&&this.addDatum()},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/priority?type="+(t?"save":"get"),method:"post",data:{list:this.formDatum}}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.state.taskPriority=$A.cloneJSON(s)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},n={};var F=r(C,S,I,!1,A,null,null,null);function A(t){for(let s in n)this[s]=n[s]}var R=function(){return F.exports}(),w=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formDatum",attrs:{"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("Row",{staticClass:"setting-template"},[a("Col",{attrs:{span:"8"}},[t._v(t._s(t.$L("\u540D\u79F0")))]),a("Col",{attrs:{span:"16"}},[t._v(t._s(t.$L("\u9879\u76EE\u6A21\u677F")))])],1),t._l(t.formDatum,function(e,l){return a("Row",{key:l,staticClass:"setting-template"},[a("Col",{attrs:{span:"8"}},[a("Input",{attrs:{maxlength:20,placeholder:t.$L("\u8BF7\u8F93\u5165\u540D\u79F0"),clearable:""},on:{"on-clear":function(o){return t.delDatum(l)}},model:{value:e.name,callback:function(o){t.$set(e,"name",o)},expression:"item.name"}})],1),a("Col",{attrs:{span:"16"}},[a("TagInput",{model:{value:e.columns,callback:function(o){t.$set(e,"columns",o)},expression:"item.columns"}})],1)],1)}),a("Button",{attrs:{type:"default",icon:"md-add"},on:{click:t.addDatum}},[t._v(t._s(t.$L("\u6DFB\u52A0\u6A21\u677F")))])],2),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},O=[];const T={name:"SystemColumnTemplate",data(){return{loadIng:0,formDatum:[],nullDatum:{name:"",columns:""}}},mounted(){this.systemSetting()},computed:{...v(["columnTemplate"])},watch:{columnTemplate:{handler(t){this.formDatum=$A.cloneJSON(t),this.formDatum.length===0&&this.addDatum()},immediate:!0}},methods:{submitForm(){this.$refs.formDatum.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formDatum=$A.cloneJSON(this.columnTemplate)},addDatum(){this.formDatum.push($A.cloneJSON(this.nullDatum))},delDatum(t){this.formDatum.splice(t,1),this.formDatum.length===0&&this.addDatum()},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/column/template?type="+(t?"save":"get"),method:"post",data:{list:this.formDatum}}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.$store.state.columnTemplate=$A.cloneJSON(s).map(a=>($A.isArray(a.columns)&&(a.columns=a.columns.join(",")),a))}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},m={};var P=r(T,w,O,!1,E,null,null,null);function E(t){for(let s in m)this[s]=m[s]}var N=function(){return P.exports}(),B=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u90AE\u7BB1\u670D\u52A1\u5668\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("SMTP\u670D\u52A1\u5668"),prop:"smtp_server"}},[a("Input",{model:{value:t.formData.smtp_server,callback:function(e){t.$set(t.formData,"smtp_server",e)},expression:"formData.smtp_server"}})],1),a("FormItem",{attrs:{label:t.$L("\u7AEF\u53E3"),prop:"port"}},[a("Input",{attrs:{maxlength:20},model:{value:t.formData.port,callback:function(e){t.$set(t.formData,"port",e)},expression:"formData.port"}})],1),a("FormItem",{attrs:{label:t.$L("\u5E10\u53F7"),prop:"account"}},[a("Input",{attrs:{maxlength:128},model:{value:t.formData.account,callback:function(e){t.$set(t.formData,"account",e)},expression:"formData.account"}})],1),a("FormItem",{attrs:{label:t.$L("\u5BC6\u7801"),prop:"password"}},[a("Input",{attrs:{maxlength:128,type:"password"},model:{value:t.formData.password,callback:function(e){t.$set(t.formData,"password",e)},expression:"formData.password"}})],1),a("FormItem",[a("Button",{on:{click:t.checkEmailSend}},[t._v(t._s(t.$L("\u90AE\u4EF6\u53D1\u9001\u6D4B\u8BD5")))])],1)],1)]),a("div",{staticClass:"block-setting-placeholder"}),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u90AE\u4EF6\u901A\u77E5\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5F00\u542F\u6CE8\u518C\u9A8C\u8BC1"),prop:"reg_verify"}},[a("RadioGroup",{model:{value:t.formData.reg_verify,callback:function(e){t.$set(t.formData,"reg_verify",e)},expression:"formData.reg_verify"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formData.reg_verify=="open"?a("div",{staticClass:"form-tip"},[t._v(" "+t._s(t.$L("\u5F00\u542F\u540E\uFF1A"))),a("br"),t._v(" \u2460 "+t._s(t.$L("\u5E10\u53F7\u9700\u9A8C\u8BC1\u901A\u8FC7\u624D\u53EF\u767B\u5F55"))),a("br"),t._v(" \u2461 "+t._s(t.$L("\u4FEE\u6539\u90AE\u7BB1\u548C\u5220\u9664\u5E10\u53F7\u9700\u8981\u90AE\u7BB1\u9A8C\u8BC1\u7801"))+" ")]):t._e()],1),a("FormItem",{attrs:{label:t.$L("\u6D88\u606F\u63D0\u9192"),prop:"notice_msg"}},[a("RadioGroup",{model:{value:t.formData.notice_msg,callback:function(e){t.$set(t.formData,"notice_msg",e)},expression:"formData.notice_msg"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),t.formData.notice_msg=="open"?a("Form",{nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{label:t.$L("\u672A\u8BFB\u4E2A\u4EBA\u6D88\u606F"),prop:"msg_unread_user_minute"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.msg_unread_user_minute,callback:function(e){t.$set(t.formData,"msg_unread_user_minute",e)},expression:"formData.msg_unread_user_minute"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F"))+"(m)")])],1)]),a("FormItem",{attrs:{label:t.$L("\u672A\u8BFB\u7FA4\u804A\u6D88\u606F"),prop:"msg_unread_group_minute"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.msg_unread_group_minute,callback:function(e){t.$set(t.formData,"msg_unread_group_minute",e)},expression:"formData.msg_unread_group_minute"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F"))+"(m)")])],1)]),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u586B\u5199-1\u5219\u4E0D\u901A\u77E5\uFF0C\u8BEF\u5DEE\xB110\u5206\u949F")))])],1):t._e()],1)],1)]),a("div",{staticClass:"block-setting-placeholder"}),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u5FFD\u7565\u90AE\u7BB1\u5730\u5740")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5FFD\u7565\u90AE\u7BB1"),prop:"ignore_addr"}},[a("Input",{attrs:{type:"textarea",autosize:{minRows:3,maxRows:50}},model:{value:t.formData.ignore_addr,callback:function(e){t.$set(t.formData,"ignore_addr",e)},expression:"formData.ignore_addr"}}),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4E0D\u4F1A\u5411\u5FFD\u7565\u7684\u90AE\u7BB1\u5730\u5740\u53D1\u9001\u90AE\u4EF6\uFF0C\u53EF\u4F7F\u7528\u6362\u884C\u5206\u5272\u591A\u4E2A\u5730\u5740\u3002")))])],1)],1)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},G=[];const M={name:"SystemEmailSetting",data(){return{loadIng:0,formData:{smtp_server:"",port:"",account:"",password:"",reg_verify:"colse",notice_msg:"open",msg_unread_user_minute:-1,msg_unread_group_minute:-1,ignore_addr:""},ruleData:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/email?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})},checkEmailSend(){$A.modalInput({title:"\u6D4B\u8BD5\u90AE\u4EF6",placeholder:"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u5730\u5740",onOk:t=>t?$A.isEmail(t)?new Promise((s,a)=>{this.$store.dispatch("call",{url:"system/email/check",data:Object.assign(this.formData,{to:t})}).then(({msg:e})=>{s(e)}).catch(({msg:e})=>{a(e)})}):"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6536\u4EF6\u4EBA\u5730\u5740":"\u8BF7\u8F93\u5165\u6536\u4EF6\u4EBA\u5730\u5740"})}}},c={};var J=r(M,B,G,!1,j,null,null,null);function j(t){for(let s in c)this[s]=c[s]}var U=function(){return J.exports}(),z=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u53CB\u76DF\u63A8\u9001")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5F00\u542F\u63A8\u9001"),prop:"push"}},[a("RadioGroup",{model:{value:t.formData.push,callback:function(e){t.$set(t.formData,"push",e)},expression:"formData.push"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1)],1),t.formData.push==="open"?[a("Divider",{attrs:{orientation:"left"}},[t._v("iOS "+t._s(t.$L("\u53C2\u6570\u914D\u7F6E")))]),a("FormItem",{attrs:{label:"Appkey",prop:"ios_appkey"}},[a("Input",{attrs:{maxlength:255},model:{value:t.formData.ios_key,callback:function(e){t.$set(t.formData,"ios_key",e)},expression:"formData.ios_key"}})],1),a("FormItem",{attrs:{label:"App Master Secret",prop:"secret"}},[a("Input",{attrs:{maxlength:255,type:"password"},model:{value:t.formData.ios_secret,callback:function(e){t.$set(t.formData,"ios_secret",e)},expression:"formData.ios_secret"}})],1),a("Divider",{attrs:{orientation:"left"}},[t._v("Android "+t._s(t.$L("\u53C2\u6570\u914D\u7F6E")))]),a("FormItem",{attrs:{label:"Appkey",prop:"android_appkey"}},[a("Input",{attrs:{maxlength:255},model:{value:t.formData.android_key,callback:function(e){t.$set(t.formData,"android_key",e)},expression:"formData.android_key"}})],1),a("FormItem",{attrs:{label:"App Master Secret",prop:"secret"}},[a("Input",{attrs:{maxlength:255,type:"password"},model:{value:t.formData.android_secret,callback:function(e){t.$set(t.formData,"android_secret",e)},expression:"formData.android_secret"}})],1)]:t._e()],2)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},H=[];const q={name:"SystemAppPush",data(){return{loadIng:0,formData:{push:"",ios_key:"",ios_secret:"",android_key:"",android_secret:""},ruleData:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/apppush?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},u={};var W=r(q,z,H,!1,K,null,null,null);function K(t){for(let s in u)this[s]=u[s]}var Q=function(){return W.exports}(),V=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("AgoraIO")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u4F1A\u8BAE\u529F\u80FD"),prop:"open"}},[a("RadioGroup",{model:{value:t.formData.open,callback:function(e){t.$set(t.formData,"open",e)},expression:"formData.open"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1)],1),t.formData.open==="open"?[a("FormItem",{attrs:{label:"App ID ",prop:"appid"}},[a("Input",{attrs:{maxlength:255},model:{value:t.formData.appid,callback:function(e){t.$set(t.formData,"appid",e)},expression:"formData.appid"}})],1),a("FormItem",{attrs:{label:"App certificate",prop:"app_certificate"}},[a("Input",{attrs:{maxlength:255,type:"password"},model:{value:t.formData.app_certificate,callback:function(e){t.$set(t.formData,"app_certificate",e)},expression:"formData.app_certificate"}})],1)]:t._e()],2)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},X=[];const Y={name:"SystemMeeting",data(){return{loadIng:0,formData:{open:"",appid:"",app_certificate:""},ruleData:{}}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/meeting?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})}}},_={};var Z=r(Y,V,X,!1,tt,null,null,null);function tt(t){for(let s in _)this[s]=_[s]}var at=function(){return Z.exports}(),et=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u7B7E\u5230\u8BBE\u7F6E")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u529F\u80FD\u5F00\u542F"),prop:"open"}},[a("RadioGroup",{model:{value:t.formData.open,callback:function(e){t.$set(t.formData,"open",e)},expression:"formData.open"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"export-data"},[a("p",{on:{click:function(e){t.allUserShow=!0}}},[t._v(t._s(t.$L("\u7BA1\u7406\u6210\u5458MAC\u5730\u5740")))]),a("p",{on:{click:function(e){t.exportShow=!0}}},[t._v(t._s(t.$L("\u5BFC\u51FA\u7B7E\u5230\u6570\u636E")))])])],1),t.formData.open==="open"?[a("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u65F6\u95F4"),prop:"time"}},[a("TimePicker",{attrs:{type:"timerange",format:"HH:mm",placeholder:t.$L("\u8BF7\u9009\u62E9\u7B7E\u5230\u65F6\u95F4")},model:{value:t.formData.time,callback:function(e){t.$set(t.formData,"time",e)},expression:"formData.time"}}),a("Form",{nativeOn:{submit:function(e){e.preventDefault()}}},[a("FormItem",{attrs:{label:t.$L("\u6700\u65E9\u53EF\u63D0\u524D"),prop:"advance"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.advance,callback:function(e){t.$set(t.formData,"advance",e)},expression:"formData.advance"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("FormItem",{attrs:{label:t.$L("\u6700\u665A\u53EF\u5EF6\u540E"),prop:"delay"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.delay,callback:function(e){t.$set(t.formData,"delay",e)},expression:"formData.delay"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7B7E\u5230\u524D\u540E\u65F6\u95F4\u6536\u5230\u6D88\u606F\u901A\u77E5")))]),a("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u6253\u5361\u63D0\u9192"),prop:"remindin"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.remindin,callback:function(e){t.$set(t.formData,"remindin",e)},expression:"formData.remindin"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("FormItem",{attrs:{label:t.$L("\u7B7E\u5230\u7F3A\u5361\u63D0\u9192"),prop:"remindexceed"}},[a("div",{staticClass:"input-number-box"},[a("InputNumber",{attrs:{min:0,step:1},model:{value:t.formData.remindexceed,callback:function(e){t.$set(t.formData,"remindexceed",e)},expression:"formData.remindexceed"}}),a("label",[t._v(t._s(t.$L("\u5206\u949F")))])],1)]),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u7B7E\u5230\u63D0\u9192\u5BF9\u8C61\uFF1A3\u5929\u5185\u6709\u7B7E\u5230\u7684\u6210\u5458\uFF08\u6CD5\u5B9A\u5DE5\u4F5C\u65E5\uFF09")))])],1)],1),a("FormItem",{attrs:{label:t.$L("\u5141\u8BB8\u4FEE\u6539"),prop:"edit"}},[a("RadioGroup",{model:{value:t.formData.edit,callback:function(e){t.$set(t.formData,"edit",e)},expression:"formData.edit"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5141\u8BB8")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u7981\u6B62")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5141\u8BB8\u6210\u5458\u81EA\u5DF1\u4FEE\u6539MAC\u5730\u5740")))])],1)]:t._e()],2)]),t.formData.open==="open"?[a("div",{staticClass:"block-setting-placeholder"}),a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("\u81EA\u52A8\u7B7E\u5230")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u5B89\u88C5\u8BF4\u660E"),prop:"explain"}},[a("p",[t._v("1. "+t._s(t.$L("\u81EA\u52A8\u7B7E\u5230\u5EF6\u8FDF\u65F6\u957F\u4E3A\xB11\u5206\u949F\u3002")))]),a("p",[t._v("2. "+t._s(t.$L("\u8BBE\u5907\u8FDE\u63A5\u4E0A\u6307\u5B9A\u8DEF\u7531\u5668\uFF08WiFi\uFF09\u540E\u81EA\u52A8\u7B7E\u5230\u3002")))]),a("p",[t._v("3. "+t._s(t.$L("\u4EC5\u652F\u6301Openwrt\u7CFB\u7EDF\u7684\u8DEF\u7531\u5668\u3002")))]),a("p",[t._v("4. "+t._s(t.$L("\u5173\u95ED\u7B7E\u5230\u529F\u80FD\u518D\u5F00\u542F\u9700\u8981\u91CD\u65B0\u5B89\u88C5\u3002")))]),a("p",[t._v("5. "+t._s(t.$L("\u8FDB\u5165\u8DEF\u7531\u5668\u7EC8\u7AEF\u6267\u884C\u4EE5\u4E0B\u547D\u4EE4\u5373\u53EF\u5B8C\u6210\u5B89\u88C5\uFF1A")))]),a("Input",{ref:"cmd",staticStyle:{"margin-top":"6px"},attrs:{type:"textarea",readonly:"",value:t.formData.cmd},on:{"on-focus":t.clickCmd}})],1)],1)])]:t._e()],2),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1),a("CheckinExport",{model:{value:t.exportShow,callback:function(e){t.exportShow=e},expression:"exportShow"}}),a("DrawerOverlay",{attrs:{placement:"right",size:1380},model:{value:t.allUserShow,callback:function(e){t.allUserShow=e},expression:"allUserShow"}},[t.allUserShow?a("TeamManagement",{attrs:{"checkin-mac":""}}):t._e()],1)],1)},st=[];const ot={name:"SystemCheckin",components:{CheckinExport:h,TeamManagement:D,DrawerOverlay:$},data(){return{loadIng:0,formData:{open:"",edit:"",cmd:""},ruleData:{},allUserShow:!1,exportShow:!1}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/checkin?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})},clickCmd(){this.$nextTick(t=>{this.$refs.cmd.focus({cursor:"all"})})}}},p={};var rt=r(ot,et,st,!1,lt,null,null,null);function lt(t){for(let s in p)this[s]=p[s]}var it=function(){return rt.exports}(),nt=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-component-item"},[a("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,"label-width":"auto"},nativeOn:{submit:function(e){e.preventDefault()}}},[a("div",{staticClass:"block-setting-box"},[a("h3",[t._v(t._s(t.$L("LDAP")))]),a("div",{staticClass:"form-box"},[a("FormItem",{attrs:{label:t.$L("\u542F\u7528 LDAP \u8BA4\u8BC1"),prop:"ldap_open"}},[a("RadioGroup",{model:{value:t.formData.ldap_open,callback:function(e){t.$set(t.formData,"ldap_open",e)},expression:"formData.ldap_open"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\u540E\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528 LDAP \u5E10\u53F7\u5BC6\u7801\u767B\u5F55")))])],1),t.formData.ldap_open==="open"?[a("FormItem",{attrs:{label:t.$L("LDAP \u5730\u5740"),prop:"ldap_host"}},[a("Input",{model:{value:t.formData.ldap_host,callback:function(e){t.$set(t.formData,"ldap_host",e)},expression:"formData.ldap_host"}}),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u4F8B\u5982"))+": 192.168.1.200\u3001www.ldap.com")])],1),a("FormItem",{attrs:{label:t.$L("LDAP \u7AEF\u53E3"),prop:"ldap_port"}},[a("Input",{attrs:{type:"number",placeholder:`${t.$L("\u9ED8\u8BA4")}: 389`},model:{value:t.formData.ldap_port,callback:function(e){t.$set(t.formData,"ldap_port",e)},expression:"formData.ldap_port"}})],1),a("FormItem",{attrs:{label:"Base DN",prop:"ldap_base_dn"}},[a("Input",{model:{value:t.formData.ldap_base_dn,callback:function(e){t.$set(t.formData,"ldap_base_dn",e)},expression:"formData.ldap_base_dn"}})],1),a("FormItem",{attrs:{label:"User DN",prop:"ldap_user_dn"}},[a("Input",{model:{value:t.formData.ldap_user_dn,callback:function(e){t.$set(t.formData,"ldap_user_dn",e)},expression:"formData.ldap_user_dn"}})],1),a("FormItem",{attrs:{label:t.$L("\u5BC6\u7801"),prop:"ldap_password"}},[a("Input",{attrs:{type:"password"},model:{value:t.formData.ldap_password,callback:function(e){t.$set(t.formData,"ldap_password",e)},expression:"formData.ldap_password"}})],1),a("FormItem",{attrs:{label:t.$L("\u540C\u6B65\u672C\u5730\u5E10\u53F7"),prop:"ldap_sync_local"}},[a("RadioGroup",{model:{value:t.formData.ldap_sync_local,callback:function(e){t.$set(t.formData,"ldap_sync_local",e)},expression:"formData.ldap_sync_local"}},[a("Radio",{attrs:{label:"open"}},[t._v(t._s(t.$L("\u5F00\u542F")))]),a("Radio",{attrs:{label:"close"}},[t._v(t._s(t.$L("\u5173\u95ED")))])],1),a("div",{staticClass:"form-tip"},[t._v(t._s(t.$L("\u5F00\u542F\u540C\u6B65\u672C\u5730\u5E10\u53F7\u767B\u5F55\u540E\u5C06\u540C\u6B65\u5230 LDAP \u670D\u52A1\u5668")))])],1),a("FormItem",[a("Button",{attrs:{loading:t.testLoad},on:{click:t.checkTest}},[t._v(t._s(t.$L("\u6D4B\u8BD5\u94FE\u63A5")))])],1)]:t._e()],2)])]),a("div",{staticClass:"setting-footer"},[a("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),a("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},mt=[];const ct={name:"SystemThirdAccess",data(){return{loadIng:0,formData:{},ruleData:{},testLoad:!1}},mounted(){this.systemSetting()},methods:{submitForm(){this.$refs.formData.validate(t=>{t&&this.systemSetting(!0)})},resetForm(){this.formData=$A.cloneJSON(this.formDatum_bak)},systemSetting(t){this.loadIng++,this.$store.dispatch("call",{url:"system/setting/thirdaccess?type="+(t?"save":"all"),data:this.formData}).then(({data:s})=>{t&&$A.messageSuccess("\u4FEE\u6539\u6210\u529F"),this.formData=s,this.formDatum_bak=$A.cloneJSON(this.formData)}).catch(({msg:s})=>{t&&$A.modalError(s)}).finally(s=>{this.loadIng--})},checkTest(){this.testLoad||(this.testLoad=!0,this.$store.dispatch("call",{url:"system/setting/thirdaccess?type=testldap",data:this.formData}).then(({msg:t})=>{$A.messageSuccess(t)}).catch(({msg:t})=>{$A.modalError(t)}).finally(t=>{this.testLoad=!1}))}}},d={};var ut=r(ct,nt,mt,!1,_t,null,null,null);function _t(t){for(let s in d)this[s]=d[s]}var pt=function(){return ut.exports}(),dt=function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"setting-item submit"},[a("Tabs",{model:{value:t.tabAction,callback:function(e){t.tabAction=e},expression:"tabAction"}},[a("TabPane",{attrs:{label:t.$L("\u7CFB\u7EDF\u8BBE\u7F6E"),name:"setting"}},[a("SystemSetting")],1),a("TabPane",{attrs:{label:t.$L("\u4EFB\u52A1\u4F18\u5148\u7EA7"),name:"taskPriority"}},[a("SystemTaskPriority")],1),a("TabPane",{attrs:{label:t.$L("\u9879\u76EE\u6A21\u677F"),name:"columnTemplate"}},[a("SystemColumnTemplate")],1),a("TabPane",{attrs:{label:t.$L("\u4F1A\u8BAE\u529F\u80FD"),name:"meeting"}},[a("SystemMeeting")],1),a("TabPane",{attrs:{label:t.$L("\u7B7E\u5230\u529F\u80FD"),name:"checkin"}},[a("SystemCheckin")],1),a("TabPane",{attrs:{label:t.$L("\u90AE\u4EF6\u8BBE\u7F6E"),name:"emailSetting"}},[a("SystemEmailSetting")],1),a("TabPane",{attrs:{label:t.$L("\u8BA4\u8BC1\u8BBE\u7F6E"),name:"thirdAccess"}},[a("SystemThirdAccess")],1),t.$A.isDooServer()?a("TabPane",{attrs:{label:t.$L("APP\u63A8\u9001"),name:"appPush"}},[a("SystemAppPush")],1):t._e()],1)],1)},ft=[];const vt={components:{SystemThirdAccess:pt,SystemCheckin:it,SystemMeeting:at,SystemAppPush:Q,SystemColumnTemplate:N,SystemTaskPriority:R,SystemSetting:k,SystemEmailSetting:U},data(){return{tabAction:"setting"}}},f={};var $t=r(vt,dt,ft,!1,ht,null,null,null);function ht(t){for(let s in f)this[s]=f[s]}var Lt=function(){return $t.exports}();export{Lt as default}; diff --git a/public/js/build/task.dd3b0ed0.js b/public/js/build/task.ea1e90d1.js similarity index 83% rename from public/js/build/task.dd3b0ed0.js rename to public/js/build/task.ea1e90d1.js index cf503393a..2309a3357 100644 --- a/public/js/build/task.dd3b0ed0.js +++ b/public/js/build/task.ea1e90d1.js @@ -1 +1 @@ -import{T as n}from"./TaskDetail.32c1f371.js";import{m as r,n as o}from"./app.bd09c684.js";import"./TEditor.4460561b.js";import"./ImgUpload.6e9513da.js";import"./ProjectLog.bffe06c7.js";import"./UserInput.d6d4081e.js";import"./DialogWrapper.1815cab6.js";import"./DialogSelect.c9796cea.js";import"./index.f03606a8.js";import"./TaskMenu.c2c77c47.js";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"electron-task"},[s("PageTitle",{attrs:{title:t.taskInfo.name}}),t.loadIng>0?s("Loading"):s("TaskDetail",{ref:"taskDetail",attrs:{"task-id":t.taskInfo.id,"open-task":t.taskInfo,"can-update-blur":t.canUpdateBlur}})],1)},c=[];const d={components:{TaskDetail:n},data(){return{loadIng:0,canUpdateBlur:!0}},mounted(){document.addEventListener("keydown",this.shortcutEvent),this.$isSubElectron&&(window.__onBeforeUnload=()=>{if(this.$refs.taskDetail.checkUpdate())return this.canUpdateBlur=!1,$A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u771F\u7684\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{this.$Electron.sendMessage("windowDestroy")},onCancel:()=>{this.$refs.taskDetail.checkUpdate(!1),this.canUpdateBlur=!0}}),!0})},beforeDestroy(){document.removeEventListener("keydown",this.shortcutEvent)},computed:{...r(["cacheTasks"]),taskId(){const{taskId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)},taskInfo(){return this.cacheTasks.find(({id:t})=>t===this.taskId)||{}}},watch:{taskId:{handler(){this.getInfo()},immediate:!0}},methods:{getInfo(){this.taskId<=0||(this.loadIng++,this.$store.dispatch("getTaskOne",{task_id:this.taskId,archived:"all"}).then(()=>{this.$store.dispatch("getTaskContent",this.taskId),this.$store.dispatch("getTaskFiles",this.taskId),this.$store.dispatch("getTaskForParent",this.taskId).catch(()=>{}),this.$store.dispatch("getTaskPriority").catch(()=>{})}).catch(({msg:t})=>{$A.modalError({content:t,onOk:()=>{this.$Electron&&window.close()}})}).finally(t=>{this.loadIng--}))},shortcutEvent(t){(t.metaKey||t.ctrlKey)&&t.keyCode===83&&(t.preventDefault(),this.$refs.taskDetail.checkUpdate(!0))}}},a={};var l=o(d,i,c,!1,h,"7af6ba13",null,null);function h(t){for(let e in a)this[e]=a[e]}var y=function(){return l.exports}();export{y as default}; +import{T as n}from"./TaskDetail.e91c9282.js";import{m as r,n as o}from"./app.139edc4e.js";import"./TEditor.28d6de3c.js";import"./ImgUpload.8dae08e9.js";import"./ProjectLog.f97ce9f6.js";import"./UserInput.ca38ea3c.js";import"./DialogWrapper.1ee2083a.js";import"./DialogSelect.13f2bf9c.js";import"./index.03956335.js";import"./TaskMenu.382f8823.js";var i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"electron-task"},[s("PageTitle",{attrs:{title:t.taskInfo.name}}),t.loadIng>0?s("Loading"):s("TaskDetail",{ref:"taskDetail",attrs:{"task-id":t.taskInfo.id,"open-task":t.taskInfo,"can-update-blur":t.canUpdateBlur}})],1)},c=[];const d={components:{TaskDetail:n},data(){return{loadIng:0,canUpdateBlur:!0}},mounted(){document.addEventListener("keydown",this.shortcutEvent),this.$isSubElectron&&(window.__onBeforeUnload=()=>{if(this.$refs.taskDetail.checkUpdate())return this.canUpdateBlur=!1,$A.modalConfirm({content:"\u4FEE\u6539\u7684\u5185\u5BB9\u5C1A\u672A\u4FDD\u5B58\uFF0C\u771F\u7684\u8981\u653E\u5F03\u4FEE\u6539\u5417\uFF1F",cancelText:"\u53D6\u6D88",okText:"\u653E\u5F03",onOk:()=>{this.$Electron.sendMessage("windowDestroy")},onCancel:()=>{this.$refs.taskDetail.checkUpdate(!1),this.canUpdateBlur=!0}}),!0})},beforeDestroy(){document.removeEventListener("keydown",this.shortcutEvent)},computed:{...r(["cacheTasks"]),taskId(){const{taskId:t}=this.$route.params;return parseInt(/^\d+$/.test(t)?t:0)},taskInfo(){return this.cacheTasks.find(({id:t})=>t===this.taskId)||{}}},watch:{taskId:{handler(){this.getInfo()},immediate:!0}},methods:{getInfo(){this.taskId<=0||(this.loadIng++,this.$store.dispatch("getTaskOne",{task_id:this.taskId,archived:"all"}).then(()=>{this.$store.dispatch("getTaskContent",this.taskId),this.$store.dispatch("getTaskFiles",this.taskId),this.$store.dispatch("getTaskForParent",this.taskId).catch(()=>{}),this.$store.dispatch("getTaskPriority").catch(()=>{})}).catch(({msg:t})=>{$A.modalError({content:t,onOk:()=>{this.$Electron&&window.close()}})}).finally(t=>{this.loadIng--}))},shortcutEvent(t){(t.metaKey||t.ctrlKey)&&t.keyCode===83&&(t.preventDefault(),this.$refs.taskDetail.checkUpdate(!0))}}},a={};var l=o(d,i,c,!1,h,"7af6ba13",null,null);function h(t){for(let e in a)this[e]=a[e]}var y=function(){return l.exports}();export{y as default}; diff --git a/public/js/build/theme.85634171.js b/public/js/build/theme.f1f699eb.js similarity index 96% rename from public/js/build/theme.85634171.js rename to public/js/build/theme.f1f699eb.js index d176869c7..dac5c4353 100644 --- a/public/js/build/theme.85634171.js +++ b/public/js/build/theme.f1f699eb.js @@ -1 +1 @@ -import{m as i,n}from"./app.bd09c684.js";var m=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(o){o.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u9009\u62E9\u4E3B\u9898"),prop:"theme"}},[e("Select",{attrs:{placeholder:t.$L("\u9009\u9879\u4E3B\u9898")},model:{value:t.formData.theme,callback:function(o){t.$set(t.formData,"theme",o)},expression:"formData.theme"}},t._l(t.themeList,function(o,s){return e("Option",{key:s,attrs:{value:o.value}},[t._v(t._s(t.$L(o.name)))])}),1)],1)],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const c={data(){return{loadIng:0,formData:{theme:""},ruleData:{}}},mounted(){this.initData()},computed:{...i(["themeMode","themeList","formLabelPosition","formLabelWidth"])},methods:{initData(){this.$set(this.formData,"theme",this.themeMode),this.formData_bak=$A.cloneJSON(this.formData)},submitForm(){this.$refs.formData.validate(t=>{t&&this.$store.dispatch("setTheme",this.formData.theme).then(a=>{a&&$A.messageSuccess("\u4FDD\u5B58\u6210\u529F")})})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},r={};var f=n(c,m,l,!1,h,null,null,null);function h(t){for(let a in r)this[a]=r[a]}var _=function(){return f.exports}();export{_ as default}; +import{m as i,n}from"./app.139edc4e.js";var m=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"setting-item submit"},[e("Form",{ref:"formData",attrs:{model:t.formData,rules:t.ruleData,labelPosition:t.formLabelPosition,labelWidth:t.formLabelWidth},nativeOn:{submit:function(o){o.preventDefault()}}},[e("FormItem",{attrs:{label:t.$L("\u9009\u62E9\u4E3B\u9898"),prop:"theme"}},[e("Select",{attrs:{placeholder:t.$L("\u9009\u9879\u4E3B\u9898")},model:{value:t.formData.theme,callback:function(o){t.$set(t.formData,"theme",o)},expression:"formData.theme"}},t._l(t.themeList,function(o,s){return e("Option",{key:s,attrs:{value:o.value}},[t._v(t._s(t.$L(o.name)))])}),1)],1)],1),e("div",{staticClass:"setting-footer"},[e("Button",{attrs:{loading:t.loadIng>0,type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$L("\u63D0\u4EA4")))]),e("Button",{staticStyle:{"margin-left":"8px"},attrs:{loading:t.loadIng>0},on:{click:t.resetForm}},[t._v(t._s(t.$L("\u91CD\u7F6E")))])],1)],1)},l=[];const c={data(){return{loadIng:0,formData:{theme:""},ruleData:{}}},mounted(){this.initData()},computed:{...i(["themeMode","themeList","formLabelPosition","formLabelWidth"])},methods:{initData(){this.$set(this.formData,"theme",this.themeMode),this.formData_bak=$A.cloneJSON(this.formData)},submitForm(){this.$refs.formData.validate(t=>{t&&this.$store.dispatch("setTheme",this.formData.theme).then(a=>{a&&$A.messageSuccess("\u4FDD\u5B58\u6210\u529F")})})},resetForm(){this.formData=$A.cloneJSON(this.formData_bak)}}},r={};var f=n(c,m,l,!1,h,null,null,null);function h(t){for(let a in r)this[a]=r[a]}var _=function(){return f.exports}();export{_ as default}; diff --git a/public/js/build/token.01d28a9f.js b/public/js/build/token.92606108.js similarity index 91% rename from public/js/build/token.01d28a9f.js rename to public/js/build/token.92606108.js index 421ae1720..ed3327f07 100644 --- a/public/js/build/token.01d28a9f.js +++ b/public/js/build/token.92606108.js @@ -1 +1 @@ -import{n}from"./app.bd09c684.js";var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"token-transfer"},[o("Loading")],1)},s=[];const i={mounted(){this.goNext1()},methods:{goNext1(){const e=$A.urlParameterAll();e.token&&this.$store.dispatch("call",{url:"users/info",header:{token:e.token}}).then(t=>{this.$store.dispatch("saveUserInfo",t.data),this.goNext2()}).catch(t=>{this.goForward({name:"login"},!0)})},goNext2(){let e=decodeURIComponent($A.getObject(this.$route.query,"from"));e?window.location.replace(e):this.goForward({name:"manage-dashboard"},!0)}}},r={};var c=n(i,a,s,!1,l,"5df16c44",null,null);function l(e){for(let t in r)this[t]=r[t]}var d=function(){return c.exports}();export{d as default}; +import{n}from"./app.139edc4e.js";var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"token-transfer"},[o("Loading")],1)},s=[];const i={mounted(){this.goNext1()},methods:{goNext1(){const e=$A.urlParameterAll();e.token&&this.$store.dispatch("call",{url:"users/info",header:{token:e.token}}).then(t=>{this.$store.dispatch("saveUserInfo",t.data),this.goNext2()}).catch(t=>{this.goForward({name:"login"},!0)})},goNext2(){let e=decodeURIComponent($A.getObject(this.$route.query,"from"));e?window.location.replace(e):this.goForward({name:"manage-dashboard"},!0)}}},r={};var c=n(i,a,s,!1,l,"5df16c44",null,null);function l(e){for(let t in r)this[t]=r[t]}var d=function(){return c.exports}();export{d as default}; diff --git a/public/js/build/validEmail.53202fb3.js b/public/js/build/validEmail.f33be862.js similarity index 95% rename from public/js/build/validEmail.53202fb3.js rename to public/js/build/validEmail.f33be862.js index 33779d988..d1ee7a1c2 100644 --- a/public/js/build/validEmail.53202fb3.js +++ b/public/js/build/validEmail.f33be862.js @@ -1 +1 @@ -import{n as i}from"./app.bd09c684.js";var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"valid-wrap"},[e("div",{staticClass:"valid-box"},[e("div",{staticClass:"valid-title"},[t._v(t._s(t.$L("\u9A8C\u8BC1\u90AE\u7BB1")))]),!t.success&&!t.error?e("Spin",{attrs:{size:"large"}}):t._e(),t.success?e("div",{staticClass:"validation-text"},[e("p",[t._v(t._s(t.$L("\u60A8\u7684\u90AE\u7BB1\u5DF2\u901A\u8FC7\u9A8C\u8BC1")))]),e("p",[t._v(t._s(t.$L("\u4ECA\u540E\u60A8\u53EF\u4EE5\u901A\u8FC7\u6B64\u90AE\u7BB1\u91CD\u7F6E\u60A8\u7684\u5E10\u53F7\u5BC6\u7801")))])]):t._e(),t.error?e("div",{staticClass:"validation-text"},[e("div",[t._v(t._s(t.errorText))])]):t._e(),t.success?e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary",long:""},on:{click:t.userLogout}},[t._v(t._s(t.$L("\u8FD4\u56DE\u9996\u9875")))])],1):t._e()],1)])},o=[];const c={data(){return{success:!1,error:!1,errorText:this.$L("\u94FE\u63A5\u5DF2\u8FC7\u671F\uFF0C\u5DF2\u91CD\u65B0\u53D1\u9001")}},mounted(){this.verificationEmail()},methods:{verificationEmail(){this.$store.dispatch("call",{url:"users/email/verification",data:{code:this.$route.query.code}}).then(()=>{this.success=!0,this.error=!1}).catch(({data:t,msg:s})=>{t.code===2?this.goForward({name:"index",query:{action:"index"}},!0):(this.success=!1,this.error=!0,this.errorText=this.$L(s))})},userLogout(){this.$store.dispatch("logout",!1)}}},r={};var l=i(c,a,o,!1,n,"763444c4",null,null);function n(t){for(let s in r)this[s]=r[s]}var u=function(){return l.exports}();export{u as default}; +import{n as i}from"./app.139edc4e.js";var a=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"valid-wrap"},[e("div",{staticClass:"valid-box"},[e("div",{staticClass:"valid-title"},[t._v(t._s(t.$L("\u9A8C\u8BC1\u90AE\u7BB1")))]),!t.success&&!t.error?e("Spin",{attrs:{size:"large"}}):t._e(),t.success?e("div",{staticClass:"validation-text"},[e("p",[t._v(t._s(t.$L("\u60A8\u7684\u90AE\u7BB1\u5DF2\u901A\u8FC7\u9A8C\u8BC1")))]),e("p",[t._v(t._s(t.$L("\u4ECA\u540E\u60A8\u53EF\u4EE5\u901A\u8FC7\u6B64\u90AE\u7BB1\u91CD\u7F6E\u60A8\u7684\u5E10\u53F7\u5BC6\u7801")))])]):t._e(),t.error?e("div",{staticClass:"validation-text"},[e("div",[t._v(t._s(t.errorText))])]):t._e(),t.success?e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{attrs:{type:"primary",long:""},on:{click:t.userLogout}},[t._v(t._s(t.$L("\u8FD4\u56DE\u9996\u9875")))])],1):t._e()],1)])},o=[];const c={data(){return{success:!1,error:!1,errorText:this.$L("\u94FE\u63A5\u5DF2\u8FC7\u671F\uFF0C\u5DF2\u91CD\u65B0\u53D1\u9001")}},mounted(){this.verificationEmail()},methods:{verificationEmail(){this.$store.dispatch("call",{url:"users/email/verification",data:{code:this.$route.query.code}}).then(()=>{this.success=!0,this.error=!1}).catch(({data:t,msg:s})=>{t.code===2?this.goForward({name:"index",query:{action:"index"}},!0):(this.success=!1,this.error=!0,this.errorText=this.$L(s))})},userLogout(){this.$store.dispatch("logout",!1)}}},r={};var l=i(c,a,o,!1,n,"763444c4",null,null);function n(t){for(let s in r)this[s]=r[s]}var u=function(){return l.exports}();export{u as default}; diff --git a/public/js/build/view.fb31d396.js b/public/js/build/view.d0be2e7e.js similarity index 98% rename from public/js/build/view.fb31d396.js rename to public/js/build/view.d0be2e7e.js index 7d57a640f..f969852f4 100644 --- a/public/js/build/view.fb31d396.js +++ b/public/js/build/view.d0be2e7e.js @@ -1 +1 @@ -import{V as c,n as m}from"./app.bd09c684.js";typeof/./!="function"&&typeof Int8Array!="object"&&(c.prototype.$isServer||document.childNodes);const v=function(){return!c.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)};function d(e){let i=!1;return function(...t){i||(i=!0,window.requestAnimationFrame(s=>{e.apply(this,t),i=!1}))}}const h=c.prototype.$isServer,r=function(){return!h&&document.addEventListener?function(e,i,t){e&&i&&t&&e.addEventListener(i,t,!1)}:function(e,i,t){e&&i&&t&&e.attachEvent("on"+i,t)}}(),l=function(){return!h&&document.removeEventListener?function(e,i,t){e&&i&&e.removeEventListener(i,t,!1)}:function(e,i,t){e&&i&&e.detachEvent("on"+i,t)}}();var g=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{ref:"view",staticClass:"common-preview-image"},[t("div",{staticClass:"common-preview-view no-dark-content"},[e.isSingle?e._e():[t("div",{staticClass:"preview-view-prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[t("i",{staticClass:"taskfont"},[e._v("\uE72D")])]),t("div",{staticClass:"preview-view-next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[t("i",{staticClass:"taskfont"},[e._v("\uE733")])])],t("div",{staticClass:"preview-view-actions"},[t("div",{staticClass:"actions-inner"},[t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("zoomOut")}}},[e._v("\uE7A2")]),t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("zoomIn")}}},[e._v("\uE79F")]),t("i",{staticClass:"actions-divider"}),t("i",{staticClass:"taskfont",domProps:{innerHTML:e._s(e.mode.icon)},on:{click:e.toggleMode}}),t("i",{staticClass:"actions-divider"}),t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("anticlocelise")}}},[e._v("\uE7A7")]),t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("clocelise")}}},[e._v("\uE7A6")])])]),t("div",{staticClass:"preview-view-canvas"},e._l(e.urlList,function(s,o){return o===e.index?t("img",{key:o,ref:"img",refInFor:!0,staticClass:"preview-view-img",style:e.imgStyle,attrs:{src:e.currentImg},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()}),0)],2)])},p=[];const a={CONTAIN:{name:"contain",icon:""},ORIGINAL:{name:"original",icon:""}},u=v()?"DOMMouseScroll":"mousewheel",_={props:{urlList:{type:Array,default:()=>[]},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!1},onSwitch:{type:Function,default:()=>{}}},data(){return{index:this.initialIndex,loading:!1,mode:a.CONTAIN,transform:{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}},mounted(){this.deviceSupportInstall(),this.$refs.view.focus()},beforeDestroy(){this.deviceSupportUninstall()},computed:{isSingle(){return this.urlList.length<=1},isFirst(){return this.index===0},isLast(){return this.index===this.urlList.length-1},currentImg(){let e=this.urlList[this.index];return $A.isJson(e)&&(e=e.src),$A.rightDelete(e,"_thumb.jpg")},imgStyle(){const{scale:e,deg:i,offsetX:t,offsetY:s,enableTransition:o}=this.transform,n={transform:`scale(${e}) rotate(${i}deg)`,transition:o?"transform .3s":"","margin-left":`${t}px`,"margin-top":`${s}px`};return this.mode===a.CONTAIN&&(n.maxWidth=n.maxHeight="100%"),n}},watch:{index:{handler:function(e){this.reset(),this.onSwitch(e)}},initialIndex(e){this.index=e},currentImg(){this.$nextTick(e=>{this.$refs.img[0].complete||(this.loading=!0)})}},methods:{deviceSupportInstall(){this._keyDownHandler=e=>{switch(e.stopPropagation(),e.keyCode){case 32:this.toggleMode();break;case 37:this.prev();break;case 38:this.handleActions("zoomIn");break;case 39:this.next();break;case 40:this.handleActions("zoomOut");break}},this._mouseWheelHandler=d(e=>{(e.wheelDelta?e.wheelDelta:-e.detail)>0?this.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):this.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})}),r(document,"keydown",this._keyDownHandler),r(document,u,this._mouseWheelHandler)},deviceSupportUninstall(){l(document,"keydown",this._keyDownHandler),l(document,u,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad(e){this.loading=!1},handleImgError(e){this.loading=!1,e.target.alt="\u52A0\u8F7D\u5931\u8D25"},handleMouseDown(e){if(this.loading||e.button!==0)return;const{offsetX:i,offsetY:t}=this.transform,s=e.pageX,o=e.pageY;this._dragHandler=d(n=>{this.transform.offsetX=i+n.pageX-s,this.transform.offsetY=t+n.pageY-o}),r(document,"mousemove",this._dragHandler),r(document,"mouseup",n=>{l(document,"mousemove",this._dragHandler)}),e.preventDefault()},reset(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode(){if(this.loading)return;const e=Object.keys(a),s=(Object.values(a).indexOf(this.mode)+1)%e.length;this.mode=a[e[s]],this.reset()},prev(){if(this.isFirst&&!this.infinite)return;const e=this.urlList.length;this.index=(this.index-1+e)%e},next(){if(this.isLast&&!this.infinite)return;const e=this.urlList.length;this.index=(this.index+1)%e},handleActions(e,i={}){if(this.loading)return;const{zoomRate:t,rotateDeg:s,enableTransition:o}={zoomRate:.2,rotateDeg:90,enableTransition:!0,...i},{transform:n}=this;switch(e){case"zoomOut":n.scale>.2&&(n.scale=parseFloat((n.scale-t).toFixed(3)));break;case"zoomIn":n.scale=parseFloat((n.scale+t).toFixed(3));break;case"clocelise":n.deg+=s;break;case"anticlocelise":n.deg-=s;break}n.enableTransition=o}}},f={};var w=m(_,g,p,!1,x,"124de060",null,null);function x(e){for(let i in f)this[i]=f[i]}var y=function(){return w.exports}();export{y as default}; +import{V as c,n as m}from"./app.139edc4e.js";typeof/./!="function"&&typeof Int8Array!="object"&&(c.prototype.$isServer||document.childNodes);const v=function(){return!c.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)};function d(e){let i=!1;return function(...t){i||(i=!0,window.requestAnimationFrame(s=>{e.apply(this,t),i=!1}))}}const h=c.prototype.$isServer,r=function(){return!h&&document.addEventListener?function(e,i,t){e&&i&&t&&e.addEventListener(i,t,!1)}:function(e,i,t){e&&i&&t&&e.attachEvent("on"+i,t)}}(),l=function(){return!h&&document.removeEventListener?function(e,i,t){e&&i&&e.removeEventListener(i,t,!1)}:function(e,i,t){e&&i&&e.detachEvent("on"+i,t)}}();var g=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{ref:"view",staticClass:"common-preview-image"},[t("div",{staticClass:"common-preview-view no-dark-content"},[e.isSingle?e._e():[t("div",{staticClass:"preview-view-prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[t("i",{staticClass:"taskfont"},[e._v("\uE72D")])]),t("div",{staticClass:"preview-view-next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[t("i",{staticClass:"taskfont"},[e._v("\uE733")])])],t("div",{staticClass:"preview-view-actions"},[t("div",{staticClass:"actions-inner"},[t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("zoomOut")}}},[e._v("\uE7A2")]),t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("zoomIn")}}},[e._v("\uE79F")]),t("i",{staticClass:"actions-divider"}),t("i",{staticClass:"taskfont",domProps:{innerHTML:e._s(e.mode.icon)},on:{click:e.toggleMode}}),t("i",{staticClass:"actions-divider"}),t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("anticlocelise")}}},[e._v("\uE7A7")]),t("i",{staticClass:"taskfont",on:{click:function(s){return e.handleActions("clocelise")}}},[e._v("\uE7A6")])])]),t("div",{staticClass:"preview-view-canvas"},e._l(e.urlList,function(s,o){return o===e.index?t("img",{key:o,ref:"img",refInFor:!0,staticClass:"preview-view-img",style:e.imgStyle,attrs:{src:e.currentImg},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()}),0)],2)])},p=[];const a={CONTAIN:{name:"contain",icon:""},ORIGINAL:{name:"original",icon:""}},u=v()?"DOMMouseScroll":"mousewheel",_={props:{urlList:{type:Array,default:()=>[]},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!1},onSwitch:{type:Function,default:()=>{}}},data(){return{index:this.initialIndex,loading:!1,mode:a.CONTAIN,transform:{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}},mounted(){this.deviceSupportInstall(),this.$refs.view.focus()},beforeDestroy(){this.deviceSupportUninstall()},computed:{isSingle(){return this.urlList.length<=1},isFirst(){return this.index===0},isLast(){return this.index===this.urlList.length-1},currentImg(){let e=this.urlList[this.index];return $A.isJson(e)&&(e=e.src),$A.rightDelete(e,"_thumb.jpg")},imgStyle(){const{scale:e,deg:i,offsetX:t,offsetY:s,enableTransition:o}=this.transform,n={transform:`scale(${e}) rotate(${i}deg)`,transition:o?"transform .3s":"","margin-left":`${t}px`,"margin-top":`${s}px`};return this.mode===a.CONTAIN&&(n.maxWidth=n.maxHeight="100%"),n}},watch:{index:{handler:function(e){this.reset(),this.onSwitch(e)}},initialIndex(e){this.index=e},currentImg(){this.$nextTick(e=>{this.$refs.img[0].complete||(this.loading=!0)})}},methods:{deviceSupportInstall(){this._keyDownHandler=e=>{switch(e.stopPropagation(),e.keyCode){case 32:this.toggleMode();break;case 37:this.prev();break;case 38:this.handleActions("zoomIn");break;case 39:this.next();break;case 40:this.handleActions("zoomOut");break}},this._mouseWheelHandler=d(e=>{(e.wheelDelta?e.wheelDelta:-e.detail)>0?this.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):this.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})}),r(document,"keydown",this._keyDownHandler),r(document,u,this._mouseWheelHandler)},deviceSupportUninstall(){l(document,"keydown",this._keyDownHandler),l(document,u,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad(e){this.loading=!1},handleImgError(e){this.loading=!1,e.target.alt="\u52A0\u8F7D\u5931\u8D25"},handleMouseDown(e){if(this.loading||e.button!==0)return;const{offsetX:i,offsetY:t}=this.transform,s=e.pageX,o=e.pageY;this._dragHandler=d(n=>{this.transform.offsetX=i+n.pageX-s,this.transform.offsetY=t+n.pageY-o}),r(document,"mousemove",this._dragHandler),r(document,"mouseup",n=>{l(document,"mousemove",this._dragHandler)}),e.preventDefault()},reset(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode(){if(this.loading)return;const e=Object.keys(a),s=(Object.values(a).indexOf(this.mode)+1)%e.length;this.mode=a[e[s]],this.reset()},prev(){if(this.isFirst&&!this.infinite)return;const e=this.urlList.length;this.index=(this.index-1+e)%e},next(){if(this.isLast&&!this.infinite)return;const e=this.urlList.length;this.index=(this.index+1)%e},handleActions(e,i={}){if(this.loading)return;const{zoomRate:t,rotateDeg:s,enableTransition:o}={zoomRate:.2,rotateDeg:90,enableTransition:!0,...i},{transform:n}=this;switch(e){case"zoomOut":n.scale>.2&&(n.scale=parseFloat((n.scale-t).toFixed(3)));break;case"zoomIn":n.scale=parseFloat((n.scale+t).toFixed(3));break;case"clocelise":n.deg+=s;break;case"anticlocelise":n.deg-=s;break}n.enableTransition=o}}},f={};var w=m(_,g,p,!1,x,"124de060",null,null);function x(e){for(let i in f)this[i]=f[i]}var y=function(){return w.exports}();export{y as default}; diff --git a/public/language/api/de.json b/public/language/api/de.json index d16bafddc..f0cc6a231 100644 --- a/public/language/api/de.json +++ b/public/language/api/de.json @@ -1 +1 @@ -["Sie können nicht alle ziffern haben. Sie beinhalten zahlen, groß - und kleinbuchstaben Oder zeichen","Sie können nicht nur zahlen sein; sie enthalten zahlen, groß - und kleinbuchstaben Oder zeichen","Es darf nur vom projektleiter, träger, mitarbeiter Oder gründer durchgeführt werden","Die codes dürfen nicht alle buchstaben sein. Enthalten sie zahlen, groß - und kleinbuchstaben Oder zeichen","Die ziffern können nicht alle sein. Bitte nehmen sie zahlen, großbuchstaben Oder zeichen ein","Sie haben noch nicht die e-mail bestätigt. Bitte loggen sie sich an die e-mail durch die authentifizierung der e-mail ein","Die e-mail wird abgelehnt, bitte prüfen sie, ob der postfach die funktion empfangsfunktion geöffnet hat","Das system erstellt automatisch beim einschreibung die einträge. Sie können sie löschen","Der anfang der mission kann nicht kleiner als die erste mission sein","Die zeit eines teiles kann nicht größer sein als die des hauptauftrags","Die hauptemission ist erfüllt, es ist nicht möglich, den status der teilaufgaben zu ändern","\/ d der\/die\/die nicht mehr im dienst sind, sollten sie einen anderen kontaktmann wählen","Nur wenn der gegenstand Oder der leiter den status der mission ändert","Konferenz kann nicht geöffnet werden. Bitte rufen sie den administrator an","Es kann nicht geschlossen werden, um dateien Oder ordner aller persönlich auszutauschen","Diese funktion ist nicht aktiviert. Bitte gehen sie zu den systemeinstellungen","Fehler bei der systemverwaltung. Rufen sie den systemverwalter an","Diese funktion ist nicht eingeschaltet. Bitte rufen sie den administrator an","Persönliche projekte gibt es schon, sie müssen nicht ständig neu erstellt werden","Nur der herr Oder die einladenden dürfen aus dem mitglied entfernt werden","Ihre kontonummer ist registriert und bitte überprüfen sie ihr postfach","Öffnen sie die zugriffsrechte zum bearbeiten nicht. Bitte kontaktieren sie den administrator","Die verknüpfung ist ungültig. Bitte loggen sie sich erneut ein\/anmelden","Die primäraufgabe konnte keinen teilauftrag mehr ausführen","Änderungen durch die vorgesetzten sind auch nicht möglich","Erfolgreich einloggen sie sich bitte durch ihren posteingang ein","Einträge existieren nicht Oder stehen nicht in der mitgliederliste","Kein kontakt zu vorgesetzten existiert Oder gelöscht wurde","Eine liste Von aufgaben existiert nicht Oder wurde gelöscht","Anonyme nachrichten dürfen nur an einzelpersonen verschickt werden","Die historischen daten existieren nicht Oder wurden gelöscht","In diesem ordner gibt es bereits einen freigegebenen ordner","Bitte wählen sie die gelöschte datei Oder ordner","Wählen sie eine datei Oder einen ordner, der entfernt wurde","Die branchennamen dürfen keine besonderen symbole enthalten","Die eigenen, ausgeteilten dateien können nicht aufgelöst werden","Sie haben nicht gewählt, die datei hochzuladen","Das einpacken ist fehlgeschlagen. Bitte versuchen sie es später noch mal.","Diese sitzung ist nicht ohne eine unterbrechung unterbrochen","Bitte geben sie die richtige adresse ein","Bitte wählen sie die die richtige person aus","Geben sie bitte ihre Id ein","Bitte lenke die einstellung im umfeld deines PHP zu","Der ausweis ist ungültig. Bitte loggen sie sich wieder ein","Die nicht mit der aktuellen e-mail-adresse übereinstimmt","Ich kann nur meine nachrichten ändern","Die sitzung existiert nicht Oder wird gelöscht","Scheitern. Bitte versuchen sie es später noch einmal","Die gespräche der anonymen roboter existieren nicht","Anonymität ist keine option","Dialoge existieren nicht Oder sind gelöscht","Mitglieder existieren nicht Oder sind gelöscht worden","Die datei existiert nicht Oder wurde gelöscht","Das verfahren existiert nicht Oder ist gelöscht","Die nachricht existiert nicht Oder wurde gelöscht","Bitte führen sie keine wiederholung Von arbeitsberichten durch","Bitte geben sie die richtige e-mail-adresse ein","Bitte wählen sie den dialog Oder die mitglieder aus","Der ausweis und die zugangskodes sind ungültig","Suchen sie sich einen bestehenden chat nicht aus","Lade jemanden zu dem projekt ein","Sektoren existieren nicht Oder gelöscht","Einträge existieren nicht Oder gelöscht","Ein idap-benutzer darf sein postfach nicht ändern","Nur für die projektverantwortlichen","Das mandat ist unverändert","Ändern der teilfunktionen des nächsten zyklus","Änderungen an submission assisstent","Einzelheiten der unteraufgaben ändern","Sekundäraufgaben in zyklen ändern","Wovon träume existieren. Erstens","Zensierte hilfsbeamte der mission entfernen","Synchronisieren sie die extraaufgaben","Die unteraufgabe unterstützt diese funktion nicht","Es gibt keinen kontakteintrag","Dies ist unter den aktuellen umständen verboten","Fehler in der art der operation: gruppen-typ","Die nachricht unterstützt diese operation nicht","Diese nachricht unterstützt die aufnahme nicht","Aktion für die projektleitung wurde eingestellt","Füllen sie bitte das richtige alte passwort aus","Bitte geben sie das richtige einladungsverzeichnis ein","Bitte geben sie das korrekte authentifizierungscode ein","Bitte wählen sie einen gültigen neuen anführer","Wählen sie bitte den richtigen zugriffspunkt aus","Fehler auf höherer ebene","Die kopien nicht unterstützen","Es kann nicht mit dem alten briefkasten übereinstimmen","Geh nicht selber","Die beschreibung der mission kann nicht Leer sein","Die besprechung fehlschlug","Ändern sie die aufgaben des nächsten zyklus","Ändere mission support","Ändern sie die aufgabenbeschreibung","Überarbeiten sie mission duplikation","Bearbeiten sie unteraufgaben -prioritäten","Ändert die hintergrundfarbe für die teilaufgabe","Fragt die leiterin des projekts","Der name dieser liste kann nicht frei sein","Entfernt den helfer für die mission","Entfernt die leiterin des projekts","Anonyme roboter gibt es nicht","Synchronisieren und synchronisieren","Die antwort darauf existiert nicht","Die aktuelle sitzung ist für alle mitglieder gesperrt","Änderungen der gegenwärtigen umgebung sind verboten","Ordner unterstützen keine weitergabe","Die nummer ist nicht zurückverfolgt","Marker: die aufgabe ist erfüllt","Die aufgabe ist nicht ausgeführt","Diese nachricht unterstützt die markierung nicht","Die nachricht kann nicht Leer sein","Nachricht kann nicht gespeichert werden","Falsche anrede","Wählen sie einen suchbegriff ein","Bitte geben sie eine neue e - mail -adresse ein","Wählen sie die richtige liste aus","Die e-mail-adresse ist falsch geschrieben","Fehler beim wiederkehrenden zyklus","Diese mitglieder stehen nicht auf der liste","Sie gehen nicht auf sich selbst","Nur vom eigentümer bedient","Der zustand der mission existiert nicht","Die sitzung existiert nicht","Ändert die priorität der mission","Ändern sie die hintergrundfarbe der mission","Änderungen der mandatsträger.","Ändert die liste der unteraufgaben","Ändern sie die teilaufgabe","Teiltitel ändern","Status der teilaufgaben ändern","Die umgebende abteilung existiert nicht","Das geht niemals verloren","Erstellen des ordners fehlgeschlagen","Verantwortlicher entfernt","Zweitbesetzung ist verboten","Die entstanden entstanden ist","Fehler beim passwort - Oder kontonummer","Die anzahl der kontonummern wurde begrenzt","Datenbankzugriff fehlgeschlagen","Eine verknüpfung gibt es nicht","Den einsatz nicht unterstützen","Die markierung ist fertig","Die aufgabe ist nicht ausgeführt","Enthülle die identität der kinder","Die kontaktdaten existieren","Bitte füllen sie die ursache aus","Bitte loggen sie sich ein und fahren sie fort","Bitte legen sie eine telefonnummer fest","Bitte geben sie ihr passwort ein","Bitte wählen sie die gemeinsamen objekt","Die e-mail-adresse gibt es schon","Den status des mission zurücksetzen","Der link ist auch schon genutzt","Fehler der typ typ","Der schisma hat abgebrochen","Das format ist fehlerhaft","Die zuordnung wird nicht vorgenommen","Ich kann mich nicht selbst löschen.","Nur gruppenflüge","Von gruft zu gruppe","Abgeblasen. Archivierung.","Fehler in der sitzung","Du bist ein anführer","Die liste der aufgaben ändern","Ändern sie mission ändern.","Ich schlage vor, dass","Wir müssen den status der mission ändern.","Ich ändere das projekt","Name des projekts ändern.","Ich ändere das programm.","Das erstellen Von gruppen ist ein versagen","Es hat keinen zweck einen chat zu kreieren.","Lade die einladung aus.","Bild verloren.","Foto ist falsch","Die aufgabe ist nicht erfüllt","Das konto ist gesperrt","Die aktuelle sitzung ist gesperrt","Sitzung abbrechen","Weitergabe Von fehlern","Der neue code ist identisch","Gruppen können nicht gebildet werden","Sitzung kann nicht gestartet werden","Schlechtes datum.","Falsche zeit.","Die arbeit ist noch nicht beendet","Ich habe diese funktion nicht geöffnet","Da gab es keine daten.","Übertragung der identitäten.","Identität des projekts übertragen.","Falsche bewegung.","Entführt den briefkasten erfolgreich","Archivierung automatischer missionen","Sitzung abbrechen","Eingebaute steuerung fehler","Spracherhaltung ist fehlgeschlagen","Fehler in der sprachausgabe","Nicht viel reden","Bitte empfangen sie die aufgabe zuerst","Bitte geben sie die authentifizierungscodes ein","Bitte wählt die gruppe als mitglied","Trimmt die mission.","Liste anpassen","Wählt das ausgewählte mitglied","Falsche e-mail-adresse.","Mission zurück setzen.","Projekt annulliert archivierung","Die authentifizierungscodes sind deaktiviert","Der maßstab ist ververfallen","Einen kanal gibt es nicht","A.p.i-dokumentation. - wann ist es soweit","Das war kein absender.","Es gibt keine mission.","Auftrag ausgeführt.","Die mission wurde archiviert.","Es wurde noch nicht aufgeklärt.","Die sitzung existiert nicht.","Die liste existiert nicht.","Ein teil der arbeit kreieren.","Submission löschen","Der andere name existiert schon","Feind in sicht.","Arbeit erledigt.","Die aufgaben sind erledigt","Mitglieder existieren nicht.","Mein roboter","Die akte existiert nicht.","Mission nicht abgeschlossen.","Es ist nicht angemeldet.","Die nachricht existiert nicht.","Sie existiert nicht.","Verlegung des projekts an","Der systemverwalter","Empfange den auftrag","Die unterlagen existieren nicht.","Bitte geben sie mir einen spitznamen","Identität gelöscht.","Gebt mir atomare aufträge.","Falscher dialog!","Wir haben kein programm.","Akten wurden abgelegt.","Einträge werden nicht abgelegt","Authentifizierungsfehler bestätigt","University of the mathe.","Fehlende identifizierungsparameter","Der mich darauf schreibt","Ja, käse und milch","Download fehlgeschlagen","Eine person.","Das vorläufige konto.","Nur für die missionen.","Die gebrauchsanleitung","Erhaltung erfolgreich","Modifikation erfolgreich.","Mitglieder des ausschusses:","Eine mission erstellen.","Erfolgreicher aufbau.","Projekte entwickeln.","Auftrag löschen.","Löschen fehlgeschlagen","Löschen erfolgreich.","Eintrag gelöscht.","Beitritt erfolgreich.","Anonymer tipp.","Parameter sind Leer.","Fehlerhafte parameter","Abwurf erfolgreich.","Absagen. - habe ich.","Kopie erfolgreich.","Falsches passwort Julius cäsar","Helfen sie mir!","Ein witzbold.","Hühnersuppe.","Werden erfolgreich gesendet.","Ich muss mich anmelden","Scan abgeschlossen.","Operation erfolgreich.","Neuer erfolg","Keine verbindung.","Begrenzter zugang.","Markierung erfolgreich.","Mit erfolg.","Abbruch. Abbruch.","Fehler hinzufügen","Erfolgreich im logbuch.","Transfer erfolgreich.","Zieh es weg.","Einfalls-typ nicht korrekt","Auflösung erfolgreich.","Übernehme den auftrag.","Copy down.","Gesuch erfolgreich.","Ja, gute anpassung.","Schicken erfolgreich.","Erfolgreich abgeschlossen.","Auftrag rückgängig machen.","Rückwandlung erfolgreich.","Ausstieg abgeschlossen.","Ich versuche, das projekt zu verlassen.","Umschalten.","Es ist privat.","Dokumentierte einträge.","Hat bestätigung nicht.","Authentifizierung bestätigt.","Sie haben sich angeschlossen.","Ein neues konto.","Verantwortlichen.","IT input!","Success","~ am morgen. ~","Jetzt ist es nachmittag.","Zu mittag.","Vorübergehend.","Abends","Heute nacht.","Am montag.","Mittwoch - 9:15 uhr","Dienstag","Freitag","Samstag","Donnerstag - 12:05 uhr","Sonntag","Morgen.","Am abend.","Nachtmahr","Er hat etwas überzogen.","36 krypton.","Error","In diesem fall ist der für die einschränkung verantwortliche offizier verpflichtet, diesen status zu erfüllen","Bei der einstellung des minus ist der status der mitarbeiter erforderlich","Bei der festlegung des sabbermodus muss die für den modus zuständige stelle voll gefüllt sein","(*) die genossen dateien enthalten, die nicht in einen anderen freigelegten ordner gelangen können","* die aktuelle freigabe kann nicht in einen anderen freigegebenen ordner verschoben werden","Ordner freigeben bereits (*); diese funktion kann nicht zweimal verwendet werden","G) es ist nur zulässig, dass der verantwortliche Oder projektleiter den derzeitigen status [*] ändert","In jedem ordner kann eine datei Oder einen ordner nicht mehr erstellt werden","Der neue zyklus des mandats wurde erstellt :(*) die funktion beenden","Eine liste darf maximal eine aufgabe erfüllen","Die aktuelle version (*) ist zu niedrig, die mindestauflage (*) ist zu niedrig","Nicht Von hauptabteilungsmitgliedern, projektmitarbeitern Oder mandatsträgern (*)","In einem fall können sie (*) eine datei Oder einen ordner nicht mehr löschen","Dateien Oder ordner gleichzeitig nicht mehr bewegen","Die meisten einzelaufgaben dürfen die summe (*) eines mandats nicht überschreiten","Die liste der aufgaben, die im rahmen eines projekts nicht erledigt werden dürfen, darf nicht höher als die zahl (*) eines projekts sein","Um für jedes ministerium nur zweige zu schaffen (*)","Unterstützung nur für angehende mitarbeiter (*) absagen","Die zahl der helfer darf die zahl * nicht überschreiten","Diese nachricht kann nicht mehr als eine stunde dauern","Dateiname kann diese zeichen nicht enthalten :(*)","Kein titel nein, nur ein wort","Eine aufgabenbeschreibung kann höchstens ein wort (*) festlegen","Die vorsitzende darf die summe (*) nicht überschreiten","Dateiname kann nur ein einziges wort festlegen","Dateigröße überschritten, maximale grenze gesetzt :(*)","Dateiformat fehlerhaft (sperrtyp) :(*) dateiformat fehlerhaft","Groß genug für ein automatisches archiv","Ein automatisches archiv sollte nicht kleiner als # -tag sein","Einleitung eines projekts kann nur ein wort (*) festlegen","Der name eines eintrags kann maximal einen buchstaben (*) eingeben","Erstellung einer aufgabe aus dem zyklus der aufgaben (#) :","[g] dies [g] kann nicht verfolgt werden [g]","Nicht weniger als (*) den status","(*) die beschreibung kann höchstens (*) zeichen gesetzt werden","Dass die daten einmal nur gemeinsam gesammelt werden können","Nur ein dokument zu unserer aufgabe als erledigt betrachten","Die verfasserzeile (bemerkungen)","Der name der datei darf nicht weniger als (*) zeichen sein","Dass die verletzten nicht mehr als","Die nachricht darf keinesfalls größer als (*) zeichen sein","Die liste der einträge darf nicht höher als # (!) sein","Der name des eintrags darf nicht geringer sein als (*","Dass sie nicht mehr als # -ziffern eingeben dürfen","Die verschlüsselung darf nicht kleiner als (*) ziffern sein","Spitznamen können nur ein wort wählen","Nur eine adresse bitte hinzufügen (*)","Das wort länge dieser abteilung ist auf die länge begrenzt","Der main-link existiert nicht (*","Maximale anzahl an mitgliedern geteilt (*","Die obergrenze für die lead-line ist bei (*) höchstens","Max. - Max. D","Max. - Max. - Max","Die spitznamen sind nicht weniger als ein wort","Nur zu (*) sektoren hinzufügen","Nur ein ministerium gründen (*)","Nicht mehr als ein datenklon bearbeiten","Erzeugen dualer aufgaben fehlgeschlagen (*)","Die gruppe darf maximal einen namen tragen (*","Es muss nur ein anfang sein","Es muss ihnen mindestens (*) ein ende gesetzt werden","Die abteilungsnamen dürfen nicht enthalten (*)","(*) wurde Von anderen mitgliedern festgelegt","(*) die verantwortlichen erledigen einen fehler","Name der liste ändern :(*)","Farbe für die liste ändern (*)","Eine gruppe wird mindestens (*) genannt","Die größte anzahl Von projekten (*)","(*) die beschreibung kann nicht Leer sein","Exportiert fehlgeschlagen. (*) export-verlust","Mit mindestens (*) mitgliedern der gruppe zusammen","Auftrag erstellen :(*)","Eine liste erstellen :(*)","Liste wird gelöscht (*)","Eine aufgabe markieren (*)","(*) erfolgreicher hochladen","Job markieren (*)","Dies kann nicht geschehen."] \ No newline at end of file +["Sie können nicht alle ziffern haben. Sie beinhalten zahlen, groß - und kleinbuchstaben Oder zeichen","Sie können nicht nur zahlen sein; sie enthalten zahlen, groß - und kleinbuchstaben Oder zeichen","Es darf nur vom projektleiter, träger, mitarbeiter Oder gründer durchgeführt werden","Die codes dürfen nicht alle buchstaben sein. Enthalten sie zahlen, groß - und kleinbuchstaben Oder zeichen","Die ziffern können nicht alle sein. Bitte nehmen sie zahlen, großbuchstaben Oder zeichen ein","Sie haben noch nicht die e-mail bestätigt. Bitte loggen sie sich an die e-mail durch die authentifizierung der e-mail ein","Die e-mail wird abgelehnt, bitte prüfen sie, ob der postfach die funktion empfangsfunktion geöffnet hat","Das system erstellt automatisch beim einschreibung die einträge. Sie können sie löschen","Der anfang der mission kann nicht kleiner als die erste mission sein","Die zeit eines teiles kann nicht größer sein als die des hauptauftrags","Die hauptemission ist erfüllt, es ist nicht möglich, den status der teilaufgaben zu ändern","\/ d der\/die\/die nicht mehr im dienst sind, sollten sie einen anderen kontaktmann wählen","Nur wenn der gegenstand Oder der leiter den status der mission ändert","Konferenz kann nicht geöffnet werden. Bitte rufen sie den administrator an","Es kann nicht geschlossen werden, um dateien Oder ordner aller persönlich auszutauschen","Diese funktion ist nicht aktiviert. Bitte gehen sie zu den systemeinstellungen","Fehler bei der systemverwaltung. Rufen sie den systemverwalter an","Diese funktion ist nicht eingeschaltet. Bitte rufen sie den administrator an","Persönliche projekte gibt es schon, sie müssen nicht ständig neu erstellt werden","Nur der herr Oder die einladenden dürfen aus dem mitglied entfernt werden","Ihre kontonummer ist registriert und bitte überprüfen sie ihr postfach","Öffnen sie die zugriffsrechte zum bearbeiten nicht. Bitte kontaktieren sie den administrator","Die verknüpfung ist ungültig. Bitte loggen sie sich erneut ein\/anmelden","Die primäraufgabe konnte keinen teilauftrag mehr ausführen","Änderungen durch die vorgesetzten sind auch nicht möglich","Erfolgreich einloggen sie sich bitte durch ihren posteingang ein","Einträge existieren nicht Oder stehen nicht in der mitgliederliste","Kein kontakt zu vorgesetzten existiert Oder gelöscht wurde","Eine liste Von aufgaben existiert nicht Oder wurde gelöscht","Anonyme nachrichten dürfen nur an einzelpersonen verschickt werden","Die historischen daten existieren nicht Oder wurden gelöscht","In diesem ordner gibt es bereits einen freigegebenen ordner","Bitte wählen sie die gelöschte datei Oder ordner","Wählen sie eine datei Oder einen ordner, der entfernt wurde","Die branchennamen dürfen keine besonderen symbole enthalten","Die eigenen, ausgeteilten dateien können nicht aufgelöst werden","Sie haben nicht gewählt, die datei hochzuladen","Das einpacken ist fehlgeschlagen. Bitte versuchen sie es später noch mal.","Diese sitzung ist nicht ohne eine unterbrechung unterbrochen","Bitte geben sie die richtige adresse ein","Bitte wählen sie die die richtige person aus","Geben sie bitte ihre Id ein","Bitte lenke die einstellung im umfeld deines PHP zu","Der ausweis ist ungültig. Bitte loggen sie sich wieder ein","Die nicht mit der aktuellen e-mail-adresse übereinstimmt","Ich kann nur meine nachrichten ändern","Die sitzung existiert nicht Oder wird gelöscht","Scheitern. Bitte versuchen sie es später noch einmal","Die gespräche der anonymen roboter existieren nicht","Anonymität ist keine option","Dialoge existieren nicht Oder sind gelöscht","Mitglieder existieren nicht Oder sind gelöscht worden","Die datei existiert nicht Oder wurde gelöscht","Das verfahren existiert nicht Oder ist gelöscht","Die nachricht existiert nicht Oder wurde gelöscht","Bitte führen sie keine wiederholung Von arbeitsberichten durch","Bitte geben sie die richtige e-mail-adresse ein","Bitte wählen sie den dialog Oder die mitglieder aus","Der ausweis und die zugangskodes sind ungültig","Suchen sie sich einen bestehenden chat nicht aus","Lade jemanden zu dem projekt ein","Sektoren existieren nicht Oder gelöscht","Einträge existieren nicht Oder gelöscht","Ein idap-benutzer darf sein postfach nicht ändern","Nur für die projektverantwortlichen","Das mandat ist unverändert","Ändern der teilfunktionen des nächsten zyklus","Änderungen an submission assisstent","Einzelheiten der unteraufgaben ändern","Sekundäraufgaben in zyklen ändern","Wovon träume existieren. Erstens","Zensierte hilfsbeamte der mission entfernen","Synchronisieren sie die extraaufgaben","Die unteraufgabe unterstützt diese funktion nicht","Es gibt keinen kontakteintrag","Dies ist unter den aktuellen umständen verboten","Fehler in der art der operation: gruppen-typ","Die nachricht unterstützt diese operation nicht","Diese nachricht unterstützt die aufnahme nicht","Aktion für die projektleitung wurde eingestellt","Füllen sie bitte das richtige alte passwort aus","Bitte geben sie das richtige einladungsverzeichnis ein","Bitte geben sie das korrekte authentifizierungscode ein","Bitte wählen sie einen gültigen neuen anführer","Wählen sie bitte den richtigen zugriffspunkt aus","Fehler auf höherer ebene","Die kopien nicht unterstützen","Es kann nicht mit dem alten briefkasten übereinstimmen","Geh nicht selber","Die beschreibung der mission kann nicht Leer sein","Die besprechung fehlschlug","Ändern sie die aufgaben des nächsten zyklus","Ändere mission support","Ändern sie die aufgabenbeschreibung","Überarbeiten sie mission duplikation","Bearbeiten sie unteraufgaben -prioritäten","Ändert die hintergrundfarbe für die teilaufgabe","Fragt die leiterin des projekts","Der name dieser liste kann nicht frei sein","Entfernt den helfer für die mission","Entfernt die leiterin des projekts","Anonyme roboter gibt es nicht","Synchronisieren und synchronisieren","Die antwort darauf existiert nicht","Die aktuelle sitzung ist für alle mitglieder gesperrt","Änderungen der gegenwärtigen umgebung sind verboten","Ordner unterstützen keine weitergabe","Die nummer ist nicht zurückverfolgt","Marker: die aufgabe ist erfüllt","Die aufgabe ist nicht ausgeführt","Diese nachricht unterstützt die markierung nicht","Die nachricht kann nicht Leer sein","Nachricht kann nicht gespeichert werden","Falsche anrede","Füllen sie bitte die vollständige parameter aus","Wählen sie einen suchbegriff ein","Bitte geben sie eine neue e - mail -adresse ein","Wählen sie die richtige liste aus","Die e-mail-adresse ist falsch geschrieben","Fehler beim wiederkehrenden zyklus","Diese mitglieder stehen nicht auf der liste","Sie gehen nicht auf sich selbst","Nur vom eigentümer bedient","Der zustand der mission existiert nicht","Die sitzung existiert nicht","Ändert die priorität der mission","Ändern sie die hintergrundfarbe der mission","Änderungen der mandatsträger.","Ändert die liste der unteraufgaben","Ändern sie die teilaufgabe","Teiltitel ändern","Status der teilaufgaben ändern","Die umgebende abteilung existiert nicht","Das geht niemals verloren","Erstellen des ordners fehlgeschlagen","Verantwortlicher entfernt","Zweitbesetzung ist verboten","Die entstanden entstanden ist","Fehler beim passwort - Oder kontonummer","Die anzahl der kontonummern wurde begrenzt","Datenbankzugriff fehlgeschlagen","Eine verknüpfung gibt es nicht","Den einsatz nicht unterstützen","Die markierung ist fertig","Die aufgabe ist nicht ausgeführt","Enthülle die identität der kinder","Die kontaktdaten existieren","Bitte füllen sie die ursache aus","Bitte loggen sie sich ein und fahren sie fort","Bitte legen sie eine telefonnummer fest","Bitte geben sie ihr passwort ein","Bitte wählen sie die gemeinsamen objekt","Die e-mail-adresse gibt es schon","Den status des mission zurücksetzen","Der link ist auch schon genutzt","Fehler der typ typ","Der schisma hat abgebrochen","Das format ist fehlerhaft","Die zuordnung wird nicht vorgenommen","Ich kann mich nicht selbst löschen.","Nur gruppenflüge","Von gruft zu gruppe","Abgeblasen. Archivierung.","Fehler in der sitzung","Du bist ein anführer","Die liste der aufgaben ändern","Ändern sie mission ändern.","Ich schlage vor, dass","Wir müssen den status der mission ändern.","Ich ändere das projekt","Name des projekts ändern.","Ich ändere das programm.","Das erstellen Von gruppen ist ein versagen","Es hat keinen zweck einen chat zu kreieren.","Lade die einladung aus.","Bild verloren.","Foto ist falsch","Die aufgabe ist nicht erfüllt","Das konto ist gesperrt","Die aktuelle sitzung ist gesperrt","Sitzung abbrechen","Weitergabe Von fehlern","Der neue code ist identisch","Gruppen können nicht gebildet werden","Sitzung kann nicht gestartet werden","Schlechtes datum.","Falsche zeit.","Die arbeit ist noch nicht beendet","Ich habe diese funktion nicht geöffnet","Da gab es keine daten.","Übertragung der identitäten.","Identität des projekts übertragen.","Falsche bewegung.","Entführt den briefkasten erfolgreich","Archivierung automatischer missionen","Sitzung abbrechen","Eingebaute steuerung fehler","Spracherhaltung ist fehlgeschlagen","Fehler in der sprachausgabe","Nicht viel reden","Bitte empfangen sie die aufgabe zuerst","Bitte geben sie die authentifizierungscodes ein","Bitte wählt die gruppe als mitglied","Trimmt die mission.","Liste anpassen","Wählt das ausgewählte mitglied","Falsche e-mail-adresse.","Mission zurück setzen.","Projekt annulliert archivierung","Die authentifizierungscodes sind deaktiviert","Der maßstab ist ververfallen","Einen kanal gibt es nicht","A.p.i-dokumentation. - wann ist es soweit","Das war kein absender.","Es gibt keine mission.","Auftrag ausgeführt.","Die mission wurde archiviert.","Es wurde noch nicht aufgeklärt.","Die sitzung existiert nicht.","Die liste existiert nicht.","Ein teil der arbeit kreieren.","Submission löschen","Der andere name existiert schon","Feind in sicht.","Arbeit erledigt.","Die aufgaben sind erledigt","Mitglieder existieren nicht.","Mein roboter","Die akte existiert nicht.","Mission nicht abgeschlossen.","Es ist nicht angemeldet.","Die nachricht existiert nicht.","Sie existiert nicht.","Verlegung des projekts an","Der systemverwalter","Empfange den auftrag","Die unterlagen existieren nicht.","Bitte geben sie mir einen spitznamen","Identität gelöscht.","Gebt mir atomare aufträge.","Falscher dialog!","Wir haben kein programm.","Akten wurden abgelegt.","Einträge werden nicht abgelegt","Authentifizierungsfehler bestätigt","University of the mathe.","Fehlende identifizierungsparameter","Der mich darauf schreibt","Ja, käse und milch","Download fehlgeschlagen","Eine person.","Das vorläufige konto.","Nur für die missionen.","Die gebrauchsanleitung","Erhaltung erfolgreich","Modifikation erfolgreich.","Mitglieder des ausschusses:","Eine mission erstellen.","Erfolgreicher aufbau.","Projekte entwickeln.","Auftrag löschen.","Löschen fehlgeschlagen","Löschen erfolgreich.","Eintrag gelöscht.","Beitritt erfolgreich.","Anonymer tipp.","Parameter sind Leer.","Fehlerhafte parameter","Abwurf erfolgreich.","Absagen. - habe ich.","Kopie erfolgreich.","Falsches passwort Julius cäsar","Helfen sie mir!","Ein witzbold.","Hühnersuppe.","Werden erfolgreich gesendet.","Ich muss mich anmelden","Scan abgeschlossen.","Operation erfolgreich.","Neuer erfolg","Keine verbindung.","Begrenzter zugang.","Markierung erfolgreich.","Mit erfolg.","Abbruch. Abbruch.","Fehler hinzufügen","Erfolgreich im logbuch.","Transfer erfolgreich.","Zieh es weg.","Einfalls-typ nicht korrekt","Auflösung erfolgreich.","Übernehme den auftrag.","Copy down.","Gesuch erfolgreich.","Ja, gute anpassung.","Schicken erfolgreich.","Erfolgreich abgeschlossen.","Auftrag rückgängig machen.","Rückwandlung erfolgreich.","Ausstieg abgeschlossen.","Ich versuche, das projekt zu verlassen.","Umschalten.","Es ist privat.","Dokumentierte einträge.","Hat bestätigung nicht.","Authentifizierung bestätigt.","Sie haben sich angeschlossen.","Ein neues konto.","Verantwortlichen.","IT input!","Success","~ am morgen. ~","Jetzt ist es nachmittag.","Zu mittag.","Vorübergehend.","Abends","Heute nacht.","Am montag.","Mittwoch - 9:15 uhr","Dienstag","Freitag","Samstag","Donnerstag - 12:05 uhr","Sonntag","Morgen.","Am abend.","Nachtmahr","Er hat etwas überzogen.","36 krypton.","Error","In diesem fall ist der für die einschränkung verantwortliche offizier verpflichtet, diesen status zu erfüllen","Bei der einstellung des minus ist der status der mitarbeiter erforderlich","Bei der festlegung des sabbermodus muss die für den modus zuständige stelle voll gefüllt sein","(*) die genossen dateien enthalten, die nicht in einen anderen freigelegten ordner gelangen können","* die aktuelle freigabe kann nicht in einen anderen freigegebenen ordner verschoben werden","Ordner freigeben bereits (*); diese funktion kann nicht zweimal verwendet werden","G) es ist nur zulässig, dass der verantwortliche Oder projektleiter den derzeitigen status [*] ändert","In jedem ordner kann eine datei Oder einen ordner nicht mehr erstellt werden","Der neue zyklus des mandats wurde erstellt :(*) die funktion beenden","Eine liste darf maximal eine aufgabe erfüllen","Die aktuelle version (*) ist zu niedrig, die mindestauflage (*) ist zu niedrig","Nicht Von hauptabteilungsmitgliedern, projektmitarbeitern Oder mandatsträgern (*)","In einem fall können sie (*) eine datei Oder einen ordner nicht mehr löschen","Dateien Oder ordner gleichzeitig nicht mehr bewegen","Die meisten einzelaufgaben dürfen die summe (*) eines mandats nicht überschreiten","Die liste der aufgaben, die im rahmen eines projekts nicht erledigt werden dürfen, darf nicht höher als die zahl (*) eines projekts sein","Um für jedes ministerium nur zweige zu schaffen (*)","Unterstützung nur für angehende mitarbeiter (*) absagen","Die zahl der helfer darf die zahl * nicht überschreiten","Diese nachricht kann nicht mehr als eine stunde dauern","Dateiname kann diese zeichen nicht enthalten :(*)","Kein titel nein, nur ein wort","Eine aufgabenbeschreibung kann höchstens ein wort (*) festlegen","Die vorsitzende darf die summe (*) nicht überschreiten","Dateiname kann nur ein einziges wort festlegen","Dateigröße überschritten, maximale grenze gesetzt :(*)","Dateiformat fehlerhaft (sperrtyp) :(*) dateiformat fehlerhaft","Groß genug für ein automatisches archiv","Ein automatisches archiv sollte nicht kleiner als # -tag sein","Einleitung eines projekts kann nur ein wort (*) festlegen","Der name eines eintrags kann maximal einen buchstaben (*) eingeben","Erstellung einer aufgabe aus dem zyklus der aufgaben (#) :","[g] dies [g] kann nicht verfolgt werden [g]","Nicht weniger als (*) den status","(*) die beschreibung kann höchstens (*) zeichen gesetzt werden","Dass die daten einmal nur gemeinsam gesammelt werden können","Nur ein dokument zu unserer aufgabe als erledigt betrachten","Die verfasserzeile (bemerkungen)","Der name der datei darf nicht weniger als (*) zeichen sein","Dass die verletzten nicht mehr als","Die nachricht darf keinesfalls größer als (*) zeichen sein","Die liste der einträge darf nicht höher als # (!) sein","Der name des eintrags darf nicht geringer sein als (*","Dass sie nicht mehr als # -ziffern eingeben dürfen","Die verschlüsselung darf nicht kleiner als (*) ziffern sein","Spitznamen können nur ein wort wählen","Nur eine adresse bitte hinzufügen (*)","Das wort länge dieser abteilung ist auf die länge begrenzt","Der main-link existiert nicht (*","Maximale anzahl an mitgliedern geteilt (*","Die obergrenze für die lead-line ist bei (*) höchstens","Max. - Max. D","Max. - Max. - Max","Die spitznamen sind nicht weniger als ein wort","Nur zu (*) sektoren hinzufügen","Nur ein ministerium gründen (*)","Nicht mehr als ein datenklon bearbeiten","Erzeugen dualer aufgaben fehlgeschlagen (*)","Die gruppe darf maximal einen namen tragen (*","Es muss nur ein anfang sein","Es muss ihnen mindestens (*) ein ende gesetzt werden","Die abteilungsnamen dürfen nicht enthalten (*)","(*) wurde Von anderen mitgliedern festgelegt","(*) die verantwortlichen erledigen einen fehler","Name der liste ändern :(*)","Farbe für die liste ändern (*)","Eine gruppe wird mindestens (*) genannt","Die größte anzahl Von projekten (*)","(*) die beschreibung kann nicht Leer sein","Exportiert fehlgeschlagen. (*) export-verlust","Mit mindestens (*) mitgliedern der gruppe zusammen","Auftrag erstellen :(*)","Eine liste erstellen :(*)","Liste wird gelöscht (*)","Eine aufgabe markieren (*)","(*) erfolgreicher hochladen","Job markieren (*)","Dies kann nicht geschehen."] \ No newline at end of file diff --git a/public/language/api/en.json b/public/language/api/en.json index c355a5c0e..3c76110ac 100644 --- a/public/language/api/en.json +++ b/public/language/api/en.json @@ -1 +1 @@ -["The password cannot contain all digits and uppercase letters. The password contains digits, case letters, or special characters","The password cannot contain all lowercase letters and digits. The password contains digits, uppercase and lowercase letters, or special characters","Only the project leader, task leader, facilitator, or task creator can operate","The password cannot be full of letters. Please include numbers, case letters, or special characters","The password cannot contain all numbers. Please include numbers, uppercase and lowercase letters, or special characters","You have not verified the email address. Please log in to the email address to verify the email address","The email content is rejected. Please check whether the receiving function is enabled","The system automatically creates items during registration and you are free to delete them.","The start time of the subtask cannot be later than the start time of the main task","The end time of the subtask cannot be later than the end time of the main task","The main task has been completed, and the subtask status cannot be changed","The transition person has left. Please select another transition person","Only the project or task leader can modify the task status","The conference function is not enabled. Contact the administrator to enable it","Unable to exit the shared owner's files or folders","This function is not enabled, please go to the system Settings to enable","The meeting function is incorrectly configured. Contact the administrator","This function is not enabled. Contact the administrator to enable it","Personal projects already exist and do not need to be re-created","Only the host or inviter can remove members","Your account has been registered. Please verify your email","If the modification permission is not granted, contact the administrator","The link is no longer available, please log in\/register again","The primary task has been completed. The subtask cannot be added","The upper department cannot be modified if it contains subdepartments","Registration is successful. Please verify your email address and log in","The project does not exist or is not in the member list","The superior department does not exist or has been deleted","The task list does not exist or has been deleted","Anonymous messages are only allowed to be sent to individuals","Historical data does not exist or has been deleted","There are already shared folders in this folder","Please select a file or folder to delete","Please select the file or folder to move","The department name cannot contain special symbols","You cannot exit a shared file","You did not select a file to upload","Packaging failed, please try again later...","Do not allow to set DND for this session","Please enter the correct recipient address","Please select the correct department head","Please pass in the correct job report Id","Please enable openssl for your PHP environment","Your identity has expired. Please log in again","Inconsistent with the current login email address","Only your own messages can be modified","The session does not exist or has been deleted","Join failed, please try again later","Anonymous bot session does not exist","The anonymous message function is disabled","The dialog does not exist or has been deleted","The member does not exist or has been deleted","The file does not exist or has been deleted","The process does not exist or has been deleted","The message does not exist or has been deleted","Do not submit work reports repeatedly","Please enter the correct email address","Please select forward session or member","Identity expired, wait to log in again","Select existing chat group does not exist","Join the project via the invite link","The department does not exist or has been deleted","The item does not exist or has been deleted","LDAP users cannot modify their email addresses","Operation by project leader only","The task status has not changed","Modify the next period of a subtask","Modify subtask assistance personnel","Example Modify the detailed description of a subtask","Example Modify the subtask repetition period","Failed to create the project chat room","Delete subtask assistance personnel","Change the subtask time synchronously","Subtasks do not support this function","No contact number is set for the other party","This operation is prohibited in the current environment","The group type of the operation is incorrect. Procedure","This message does not support this operation","This message does not support a to-do list","Prohibit the project leader from operating","Please fill in the correct old password","Please enter the correct invitation code","Please enter the correct verification code","Select a valid new group host","Please select the correct transition person","An error occurs at the upper department level","Copying folders is not supported","Not consistent with the old mailbox","Can not operate their own exit","The task description cannot be empty","Description Failed to create the conference token","Modify the task next period","Modify task assistance personnel","Modify the detailed description of a task","Example Modify the task repetition period","Change the subtask priority","Change the subtask background color","Modify the subtask owner","The list name cannot be empty","Delete task assistance personnel","Remove the subtask leader","Anonymous bots don't exist","Modify the task time synchronously","The reply message does not exist","The current session is completely silent","The current environment cannot be modified","The folder cannot be shared","Unable to view contact number","Mark that the subtask is complete","Flag that the subtask is not complete","This message does not support annotations","The message content cannot be empty","Failed to save message sending","The length of the contact number is incorrect","Please enter your search term","Please enter your new email address","Please select the correct list","The email address format is incorrect","Repeat cycle selection error","Not in the member list","You can't hand it over to yourself","Owner only","The task status does not exist","The session object does not exist","Change the task priority","Change the task background color","Modify task leader","Modify the subtask list","Change the subtask time","Modify the subtask title","Change the subtask status","The modification department does not exist","Keywords cannot be empty","Failed to create a folder","Remove task leader","Replication is prohibited for subtasks","Workflow creation failure","The account or password is incorrect","The number of accounts reached the upper limit. Procedure","Database connection failure","The file link does not exist","This operation is not supported yet","Mark that the task is complete","Mark that the task is not complete","Transfer subtask identity","A contact number already exists","Please fill in the deletion reason","Please login to continue...","Please set a contact number","Please enter your login password","Select a shared object","The email address already exists","Reset the subtask status","Links have already been used","Incorrect type parameter","LICENSE saving failure","LICENSE format error","Invitation code does not exist","Cannot delete oneself","Group master operation only","Group operation only","Task cancellation archive","Session type error","You are already the host of the group","Modify the task list","Modify task time","Modify task title","Modify task status","Modify project description","Modify project name","Modify project member","Group creation failure","Chat creation failure","Invitation sent successfully","Image saving failure","Picture format error","The subtask is not completed","Account has been deactivated...","Current session gag","Failed to open session","File sharing error","The old and new passwords are the same.","Unable to create a group","Unable to initiate a session","Date selection error","Timing error","Unfinished business","This feature is not enabled","Without any data","Transfer duty identity","Transfer project identity","Moving position error","Binding the mailbox succeeded","Automatic task archiving","Session acquisition failure","Device type error","Voice saving failure","Speech formatting error","Talk too short","Please get the task first","Please enter the verification code","Please select a group member","Adjust task ordering","Adjust list sort","Select specified member","Email address error","Reset task status","Project cancellation archiving","The verification code is invalid. Procedure","LICENSE has expired","The channel ID does not exist","Api interface document","Not the sender","Task does not exist","Task completed","Task has been filed","Task not archived","Session nonexistence","List does not exist","Create subtask","Delete subtask","Alias already exists","The other party has left","Completed work","The to-do list has been completed","Member does not exist","My robot","File does not exist","Unfinished task","Not open registration","Message does not exist","User does not exist","Hand over the project to","System administrator","Claim the subtask","Record does not exist","Please set a nickname","Identity has expired","Atomization task","Wrong session","Item does not exist","Project has been filed","Item not filed","Verification code error","Invalid LICENSE","Missing ID parameter","@my message","60s Read the world","Upload failure","Personal project","Temporary account","Task archiving","Instructions for use","Save successfully","Modified successfully","All members","Create task","Successfully created","Create project","Delete task","Deletion failure","Deleted successfully","Delete project","Join successfully","Anonymous message","Parameter null","Parameter error","Sent successfully","Cancel successfully","Successful replication","Password error","Help instruction","Happy joke","Chicken soup for the soul","Successfully sent","I'd like to sign in","Successful code scanning","Successful operation","Successful creation","Invalid connection","Lack of authority","Mark success","Successful registration","Add successfully","Add error","Login success","Successful handover","Removal success","Type error","Successful dissolution","Claim task","Successful setting","Request successful","Successful adjustment","Successful forwarding","Transfer success","Restore task","Restore successfully","Exit successfully","Exit project","Reset successfully","Privacy specification","Project filing","Validation failure","Pass the verification","Have joined","New account","Owner","IT information","Success","Morning","Afternoon","Noon","Temporary","Evening","Early morning","Monday","Wednesday","Tuesday","Friday","Saturday","Thursday","Sunday","Morning","Evening","Late night","Overdue","36 krypton","Error","The status [(*)] setting is incorrect. You must enter the status principal when setting the limit principal","The status [(*)] setting is incorrect. You must enter the status responsible person when setting the culling mode","The status [(*)] setting is incorrect. You must enter the status responsible person when setting the flow mode","(*) contains shared files and cannot be moved to another shared folder","(*) currently sharing and cannot be moved to another shared folder","This (*) is already in the [(*)] shared folder and cannot be shared again","Current Status [(*)] Can only be modified by the Status owner or project owner","A maximum of (*) files or folders can be created in each folder","A new cycle task ID has been created: (*). This task closes the cycle","The number of unfinished tasks in a single list cannot exceed (*)","The current version (*) is too early. The minimum version requirement is (*).","Not for department members, project personnel or task personnel (*)","A maximum of (*) files or folders can be deleted at a time","You can only move a maximum of (*) files or folders at a time","Each task has a maximum of (*) subtasks","The number of unfinished tasks in a project cannot exceed (*)","Each department can create a maximum of (*) sub-departments","Only this person [(*)] can be cancelled","The number of task assistance personnel cannot exceed (*)","This message cannot be withdrawn after (*) hours have passed","The file name cannot contain these characters: (*)","The position\/title can be no more than (*) characters","The task description can contain a maximum of (*) characters","The number of task leaders cannot exceed (*)","The file name can be set to a maximum of (*) characters","File size overrun, maximum limit: (*)","Incorrect file format, restricted type: (*)","Automatic archiving time cannot be longer than (*) days!","Automatic archiving time shall not be less than (*) days!","Item description can be set to a maximum of (*) characters","The project name can be set to a maximum of (*) characters","Create task from periodic task ID: (*)","Current state [(*)] not transferable to [(*)]","The position\/title should not be less than (*) words","The description can contain a maximum of (*) characters","A maximum of (*) pieces of data can be obtained at a time","Task archiving in [(*)] state only","Modify task time (Remarks: (*))","The file name cannot be less than (*) characters","The number of process states cannot exceed (*)","The message contains a maximum of (*) characters","A maximum of (*) items can be listed","The project name cannot be less than (*) characters","The password can be a maximum of (*) digits","The password cannot be smaller than (*) digits","A nickname can be a maximum of (*) characters","A maximum of (*) MAC addresses can be added","The department name is limited to (*) characters in length","[(*)] File link does not exist","Maximum number of members to share (*)","The maximum number of exported members is (*)","The date range is limited to a maximum (*) days","The maximum time range is (*) days","A nickname cannot be less than (*) words","You can join a maximum of (*) departments","You can create a maximum of (*) departments","You can operate a maximum of (*) pieces of data","Failed to generate duplicate task: (*)","Group names are limited to a maximum of (*) characters","At least (*) starting states are required","At least (*) end states are required","The department name cannot contain: (*)","(*) has been set by another member","(*) the person in charge filled in the error","Modify list name: (*)","Modify list color: (*)","The group name is at least (*) characters long","Maximum number of project members (*)","The description cannot be empty","Export failed, (*)!","Group members at least (*) people","Create Task: (*)","Create a list: (*)","Delete list: (*)","Tag subtask (*)","(*) the upload succeeds","Tag task (*)","Group master cannot (*)"] \ No newline at end of file +["The password cannot contain all digits and uppercase letters. The password contains digits, case letters, or special characters","The password cannot contain all lowercase letters and digits. The password contains digits, uppercase and lowercase letters, or special characters","Only the project leader, task leader, facilitator, or task creator can operate","The password cannot be full of letters. Please include numbers, case letters, or special characters","The password cannot contain all numbers. Please include numbers, uppercase and lowercase letters, or special characters","You have not verified the email address. Please log in to the email address to verify the email address","The email content is rejected. Please check whether the receiving function is enabled","The system automatically creates items during registration and you are free to delete them.","The start time of the subtask cannot be later than the start time of the main task","The end time of the subtask cannot be later than the end time of the main task","The main task has been completed, and the subtask status cannot be changed","The transition person has left. Please select another transition person","Only the project or task leader can modify the task status","The conference function is not enabled. Contact the administrator to enable it","Unable to exit the shared owner's files or folders","This function is not enabled, please go to the system Settings to enable","The meeting function is incorrectly configured. Contact the administrator","This function is not enabled. Contact the administrator to enable it","Personal projects already exist and do not need to be re-created","Only the host or inviter can remove members","Your account has been registered. Please verify your email","If the modification permission is not granted, contact the administrator","The link is no longer available, please log in\/register again","The primary task has been completed. The subtask cannot be added","The upper department cannot be modified if it contains subdepartments","Registration is successful. Please verify your email address and log in","The project does not exist or is not in the member list","The superior department does not exist or has been deleted","The task list does not exist or has been deleted","Anonymous messages are only allowed to be sent to individuals","Historical data does not exist or has been deleted","There are already shared folders in this folder","Please select a file or folder to delete","Please select the file or folder to move","The department name cannot contain special symbols","You cannot exit a shared file","You did not select a file to upload","Packaging failed, please try again later...","Do not allow to set DND for this session","Please enter the correct recipient address","Please select the correct department head","Please pass in the correct job report Id","Please enable openssl for your PHP environment","Your identity has expired. Please log in again","Inconsistent with the current login email address","Only your own messages can be modified","The session does not exist or has been deleted","Join failed, please try again later","Anonymous bot session does not exist","The anonymous message function is disabled","The dialog does not exist or has been deleted","The member does not exist or has been deleted","The file does not exist or has been deleted","The process does not exist or has been deleted","The message does not exist or has been deleted","Do not submit work reports repeatedly","Please enter the correct email address","Please select forward session or member","Identity expired, wait to log in again","Select existing chat group does not exist","Join the project via the invite link","The department does not exist or has been deleted","The item does not exist or has been deleted","LDAP users cannot modify their email addresses","Operation by project leader only","The task status has not changed","Modify the next period of a subtask","Modify subtask assistance personnel","Example Modify the detailed description of a subtask","Example Modify the subtask repetition period","Failed to create the project chat room","Delete subtask assistance personnel","Change the subtask time synchronously","Subtasks do not support this function","No contact number is set for the other party","This operation is prohibited in the current environment","The group type of the operation is incorrect. Procedure","This message does not support this operation","This message does not support a to-do list","Prohibit the project leader from operating","Please fill in the correct old password","Please enter the correct invitation code","Please enter the correct verification code","Select a valid new group host","Please select the correct transition person","An error occurs at the upper department level","Copying folders is not supported","Not consistent with the old mailbox","Can not operate their own exit","The task description cannot be empty","Description Failed to create the conference token","Modify the task next period","Modify task assistance personnel","Modify the detailed description of a task","Example Modify the task repetition period","Change the subtask priority","Change the subtask background color","Modify the subtask owner","The list name cannot be empty","Delete task assistance personnel","Remove the subtask leader","Anonymous bots don't exist","Modify the task time synchronously","The reply message does not exist","The current session is completely silent","The current environment cannot be modified","The folder cannot be shared","Unable to view contact number","Mark that the subtask is complete","Flag that the subtask is not complete","This message does not support annotations","The message content cannot be empty","Failed to save message sending","The length of the contact number is incorrect","Please fill in the complete parameters","Please enter your search term","Please enter your new email address","Please select the correct list","The email address format is incorrect","Repeat cycle selection error","Not in the member list","You can't hand it over to yourself","Owner only","The task status does not exist","The session object does not exist","Change the task priority","Change the task background color","Modify task leader","Modify the subtask list","Change the subtask time","Modify the subtask title","Change the subtask status","The modification department does not exist","Keywords cannot be empty","Failed to create a folder","Remove task leader","Replication is prohibited for subtasks","Workflow creation failure","The account or password is incorrect","The number of accounts reached the upper limit. Procedure","Database connection failure","The file link does not exist","This operation is not supported yet","Mark that the task is complete","Mark that the task is not complete","Transfer subtask identity","A contact number already exists","Please fill in the deletion reason","Please login to continue...","Please set a contact number","Please enter your login password","Select a shared object","The email address already exists","Reset the subtask status","Links have already been used","Incorrect type parameter","LICENSE saving failure","LICENSE format error","Invitation code does not exist","Cannot delete oneself","Group master operation only","Group operation only","Task cancellation archive","Session type error","You are already the host of the group","Modify the task list","Modify task time","Modify task title","Modify task status","Modify project description","Modify project name","Modify project member","Group creation failure","Chat creation failure","Invitation sent successfully","Image saving failure","Picture format error","The subtask is not completed","Account has been deactivated...","Current session gag","Failed to open session","File sharing error","The old and new passwords are the same.","Unable to create a group","Unable to initiate a session","Date selection error","Timing error","Unfinished business","This feature is not enabled","Without any data","Transfer duty identity","Transfer project identity","Moving position error","Binding the mailbox succeeded","Automatic task archiving","Session acquisition failure","Device type error","Voice saving failure","Speech formatting error","Talk too short","Please get the task first","Please enter the verification code","Please select a group member","Adjust task ordering","Adjust list sort","Select specified member","Email address error","Reset task status","Project cancellation archiving","The verification code is invalid. Procedure","LICENSE has expired","The channel ID does not exist","Api interface document","Not the sender","Task does not exist","Task completed","Task has been filed","Task not archived","Session nonexistence","List does not exist","Create subtask","Delete subtask","Alias already exists","The other party has left","Completed work","The to-do list has been completed","Member does not exist","My robot","File does not exist","Unfinished task","Not open registration","Message does not exist","User does not exist","Hand over the project to","System administrator","Claim the subtask","Record does not exist","Please set a nickname","Identity has expired","Atomization task","Wrong session","Item does not exist","Project has been filed","Item not filed","Verification code error","Invalid LICENSE","Missing ID parameter","@my message","60s Read the world","Upload failure","Personal project","Temporary account","Task archiving","Instructions for use","Save successfully","Modified successfully","All members","Create task","Successfully created","Create project","Delete task","Deletion failure","Deleted successfully","Delete project","Join successfully","Anonymous message","Parameter null","Parameter error","Sent successfully","Cancel successfully","Successful replication","Password error","Help instruction","Happy joke","Chicken soup for the soul","Successfully sent","I'd like to sign in","Successful code scanning","Successful operation","Successful creation","Invalid connection","Lack of authority","Mark success","Successful registration","Add successfully","Add error","Login success","Successful handover","Removal success","Type error","Successful dissolution","Claim task","Successful setting","Request successful","Successful adjustment","Successful forwarding","Transfer success","Restore task","Restore successfully","Exit successfully","Exit project","Reset successfully","Privacy specification","Project filing","Validation failure","Pass the verification","Have joined","New account","Owner","IT information","Success","Morning","Afternoon","Noon","Temporary","Evening","Early morning","Monday","Wednesday","Tuesday","Friday","Saturday","Thursday","Sunday","Morning","Evening","Late night","Overdue","36 krypton","Error","The status [(*)] setting is incorrect. You must enter the status principal when setting the limit principal","The status [(*)] setting is incorrect. You must enter the status responsible person when setting the culling mode","The status [(*)] setting is incorrect. You must enter the status responsible person when setting the flow mode","(*) contains shared files and cannot be moved to another shared folder","(*) currently sharing and cannot be moved to another shared folder","This (*) is already in the [(*)] shared folder and cannot be shared again","Current Status [(*)] Can only be modified by the Status owner or project owner","A maximum of (*) files or folders can be created in each folder","A new cycle task ID has been created: (*). This task closes the cycle","The number of unfinished tasks in a single list cannot exceed (*)","The current version (*) is too early. The minimum version requirement is (*).","Not for department members, project personnel or task personnel (*)","A maximum of (*) files or folders can be deleted at a time","You can only move a maximum of (*) files or folders at a time","Each task has a maximum of (*) subtasks","The number of unfinished tasks in a project cannot exceed (*)","Each department can create a maximum of (*) sub-departments","Only this person [(*)] can be cancelled","The number of task assistance personnel cannot exceed (*)","This message cannot be withdrawn after (*) hours have passed","The file name cannot contain these characters: (*)","The position\/title can be no more than (*) characters","The task description can contain a maximum of (*) characters","The number of task leaders cannot exceed (*)","The file name can be set to a maximum of (*) characters","File size overrun, maximum limit: (*)","Incorrect file format, restricted type: (*)","Automatic archiving time cannot be longer than (*) days!","Automatic archiving time shall not be less than (*) days!","Item description can be set to a maximum of (*) characters","The project name can be set to a maximum of (*) characters","Create task from periodic task ID: (*)","Current state [(*)] not transferable to [(*)]","The position\/title should not be less than (*) words","The description can contain a maximum of (*) characters","A maximum of (*) pieces of data can be obtained at a time","Task archiving in [(*)] state only","Modify task time (Remarks: (*))","The file name cannot be less than (*) characters","The number of process states cannot exceed (*)","The message contains a maximum of (*) characters","A maximum of (*) items can be listed","The project name cannot be less than (*) characters","The password can be a maximum of (*) digits","The password cannot be smaller than (*) digits","A nickname can be a maximum of (*) characters","A maximum of (*) MAC addresses can be added","The department name is limited to (*) characters in length","[(*)] File link does not exist","Maximum number of members to share (*)","The maximum number of exported members is (*)","The date range is limited to a maximum (*) days","The maximum time range is (*) days","A nickname cannot be less than (*) words","You can join a maximum of (*) departments","You can create a maximum of (*) departments","You can operate a maximum of (*) pieces of data","Failed to generate duplicate task: (*)","Group names are limited to a maximum of (*) characters","At least (*) starting states are required","At least (*) end states are required","The department name cannot contain: (*)","(*) has been set by another member","(*) the person in charge filled in the error","Modify list name: (*)","Modify list color: (*)","The group name is at least (*) characters long","Maximum number of project members (*)","The description cannot be empty","Export failed, (*)!","Group members at least (*) people","Create Task: (*)","Create a list: (*)","Delete list: (*)","Tag subtask (*)","(*) the upload succeeds","Tag task (*)","Group master cannot (*)"] \ No newline at end of file diff --git a/public/language/api/fr.json b/public/language/api/fr.json index 08bd43ad5..e14ee82cf 100644 --- a/public/language/api/fr.json +++ b/public/language/api/fr.json @@ -1 +1 @@ -["Le mot de passe ne doit pas être tous chiffres + majuscules. Le mot de passe contient des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Le mot de passe ne doit pas être tous chiffres + lettres minuscules. Le mot de passe contient des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Opération réservée aux chefs de projet, chefs de mission, collaborateurs ou créateurs de mission","Le mot de passe ne doit pas être toutes lettres. Veuillez inclure des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Le mot de passe ne doit pas être entièrement numérique. Veuillez inclure des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Vous n’avez pas encore vérifié l’email. Veuillez d’abord vous connecter à l’email vérifier l’email","Le contenu du message a été refusé, vérifiez que votre boîte aux lettres est active pour recevoir","Lors de l’inscription, le système crée automatiquement des projets que vous pouvez supprimer librement.","L’heure de début d’une sous-tâche ne peut pas être inférieure à l’heure de début de la tâche principale","L’heure de fin de la sous-tâche ne peut pas être plus grande que l’heure de fin de la tâche principale","La tâche principale est terminée et le statut de la sous-tâche ne peut pas être modifié","Le remplaçant a quitté, veuillez choisir un autre remplaçant","Modification du statut de la tâche uniquement par le chef de projet ou de tâche","La fonction conférence n’est pas activée, veuillez contacter l’administrateur pour l’activer","Impossible de quitter le partage de tous les fichiers ou dossiers","Cette fonction n’est pas activée. Veuillez aller aux paramètres du système pour activer","La fonction de conférence est mal configurée, veuillez contacter l’administrateur","Cette fonction n’est pas activée, veuillez contacter l’administrateur pour l’activer","Les projets personnels existent déjà, pas besoin de les créer en double","Seul le propriétaire ou l’invitateur du groupe peut déplacer un membre","Votre compte a déjà été enregistré, veuillez vérifier l’email","Pas ouvert modifier les droits, s’il vous plaît contacter l’administrateur","Le lien n’est plus valide, veuillez vous connecter\/vous inscrire à nouveau","La tâche principale est terminée impossible d’ajouter une sous-tâche","Contient un sous-département ne peut pas modifier le département supérieur","Inscription réussie. Veuillez vérifier votre adresse e-mail avant de vous connecter","L’article n’existe pas ou n’est pas dans la liste des membres","Le service supérieur n’existe pas ou a été supprimé","La liste des tâches n’existe pas ou a été supprimée","Les messages anonymes ne sont autorisés à être envoyés qu’aux particuliers","Les données historiques n’existent pas ou ont été supprimées","Un dossier partagé existe déjà dans ce dossier","Veuillez sélectionner les fichiers ou dossiers supprimés","Veuillez sélectionner un fichier ou un dossier à déplacer","Le nom du ministère ne doit pas contenir de symboles spéciaux","Ne peut pas quitter les fichiers que vous partagez","Vous n’avez pas sélectionné de fichier à télécharger","Échec de l’emballage, veuillez réessayer plus tard...","Cette session ne permet pas de définir le DND","Veuillez entrer l’adresse correcte du destinataire","Veuillez sélectionner le bon chef de département","Veuillez entrer le bon job debriefing Id","Veuillez activer openssl pour votre environnement PHP","L’identité n’est plus valide, veuillez vous reconnecter","Ne correspond pas à l’email de connexion actuel","Ne prend en charge que la modification de ses propres messages","La session n’existe pas ou a été supprimée","Échec de l’inscription, veuillez réessayer plus tard","Anonyme bot session n’existe pas","La fonction de messagerie anonyme est suspendue","La conversation n’existe pas ou a été supprimée","Le membre n’existe pas ou a été supprimé","Le fichier n’existe pas ou a été supprimé","Le processus n’existe pas ou a été supprimé","Le message n’existe pas ou a été supprimé","Ne pas soumettre de débriefing de travail en double","Veuillez entrer une adresse e-mail correcte","Veuillez sélectionner une conversation ou un membre","Identification désactivée, etc reconnecter","Sélectionner le groupe de chat existant n’existe pas","Rejoignez le projet via le lien d’invitation","Le ministère n’existe pas ou a été supprimé","L’article n’existe pas ou a été supprimé","Les utilisateurs LDAP ne peuvent pas modifier leur boîte aux lettres","Opération du chef de projet seulement","Le statut de la tâche n’a pas changé","Modifier la sous-tâche prochaine période","Modification du personnel assistant de sous-tâche","Modifier la description détaillée des sous-tâches","Modifier la période de répétition des sous-tâches","Échec de la création d’un projet chat room","Suppression de la sous-tâche assistant personnel","Modification synchronisée de l’heure des sous-tâches","Cette fonction n’est pas supportée par les sous-tâches","L’autre partie n’a pas défini le numéro de contact","L’environnement actuel interdit cette opération","Type de groupe incorrect pour l’opération","Cette action n’est pas supportée par ce message","Ce message n’est pas supporté par le setup to","Interdire les opérations du chef de projet","Veuillez remplir l’ancien mot de passe correct","Veuillez entrer le code d’invitation correct","Veuillez entrer le captcha correct","Veuillez sélectionner un nouveau propriétaire de groupe valide","Veuillez choisir la bonne personne de transfert","Erreur hiérarchique du département supérieur","Copier des dossiers n’est pas pris en charge","Ne fonctionne pas avec l’ancienne boîte aux lettres","Incapacité à opérer son propre départ","Description de tâche ne peut pas être vide","Échec de la création du token de Réunion","Modifier la tâche prochaine période","Modification du personnel assistant de mission","Modifier la description détaillée de la tâche","Modifier la période de répétition des tâches","Modifier la priorité des sous-tâches","Modifier la couleur de fond des sous-tâches","Modifier le chef de sous-tâche","Le nom de la liste ne peut pas être vide","Suppression du personnel d’assistance aux tâches","Supprimer un chef de sous-tâche","Le bot anonyme n’existe pas","Modification synchronisée du temps de tâche","Le message répondu n’existe pas","Session actuelle tout le personnel mots interdits","Les circonstances actuelles interdisent la modification","Le dossier ne prend pas en charge le partage","Impossible de voir le numéro de contact","Marquer une sous-tâche terminée","Marquer une sous-tâche inachevée","Les annotations ne sont pas supportées par ce message","Le contenu du message ne peut pas être vide","Échec de l’envoi du message sauvegardé","Longueur du téléphone de contact incorrecte","Veuillez entrer un mot-clé de recherche","Veuillez entrer une nouvelle adresse e-mail","Veuillez sélectionner la bonne liste","Adresse e-mail format incorrect","Mauvaise sélection de la période de répétition","Pas dans la liste des membres","Ne peut pas être livré à lui-même","Opération réservée au propriétaire","Statut de la tâche n’existe pas","L’objet de session n’existe pas","Modifier les priorités des tâches","Modifier la couleur de fond de la tâche","Modifier le chef de tâche","Modifier la liste des sous-tâches","Modifier le temps des sous-tâches","Modifier le titre de la sous-tâche","Modifier l’état des sous-tâches","Le département de modification n’existe pas","Les mots-clés ne peuvent pas être vides","Échec de la création du dossier","Supprimer un chef de tâche","Sous-tâche copie interdite","Échec de la création de workflow","Compte ou mot de passe incorrect","Nombre de comptes limité","Connexion base de données échouée","Le lien de fichier n’existe pas","Cette action n’est pas supportée pour l’instant","Marquer la tâche terminée","Marquer une tâche inachevée","Transfert de l’identité des sous-tâches","Téléphone de contact existe déjà","Veuillez remplir la raison de la suppression","Veuillez vous connecter pour continuer...","Veuillez définir un numéro de contact","Veuillez entrer le code d’accès","Veuillez sélectionner un objet partagé","L’adresse e-mail existe déjà","Réinitialiser l’état des sous-tâches","Liens déjà utilisés","Type de paramètre incorrect","Échec de l’enregistrement de la licence","Format de licence incorrect","Le code d’invitation n’existe pas","Ne peut pas se supprimer","Opération Maître De groupe seulement","Opération de groupe seulement","Tâche annuler l’archive","Type de session incorrect","Vous êtes déjà propriétaire du groupe","Modifier la liste des tâches","Modifier le temps de tâche","Modifier le titre de la tâche","Modifier l’état de la tâche","Modification de la présentation du projet","Modifier le nom du projet","Modifier les membres du projet","Échec de la création du groupe","Échec de la création du chat","Invitation envoyée avec succès","Échec de l’enregistrement de l’image","Format d’image incorrect","Sous-tâche non terminée","Le compte est désactivé...","Mots interdits pour la session actuelle","Échec de l’ouverture de la session","Erreur de partage de fichier","Ancien et nouveau mot de passe","Impossible de créer un groupe","Impossible d’initier une session","Mauvais choix de date","Mauvais choix du temps","Le travail inachevé","Cette fonction n’est pas ouverte","Aucune donnée disponible","Transfert de l’identité des tâches","Transfert de l’identité du projet","Position de déplacement incorrecte","Email lié avec succès","Archivage automatique des tâches","Échec de l’obtention de la session","Type d’appareil incorrect","Échec de l’enregistrement vocal","Format de parole incorrect","Temps de parole trop court","S’il vous plaît obtenir la mission d’abord","Veuillez entrer le captcha","Veuillez sélectionner un membre du groupe","Ajuster le tri des tâches","Ajuster le tri des listes","Sélectionner un membre désigné","Adresse e-mail incorrecte","Réinitialiser l’état de la tâche","Projet annulé archivé","Le captcha n’est plus valide","La licence a expiré","L’id du canal n’existe pas","Documentation de l’interface Api","N’est pas l’expéditeur","La tâche n’existe pas","La mission est terminée","La tâche a été archivée","Tâches non archivées","La session n’existe pas","La liste n’existe pas","Créer une sous-tâche","Supprimer une sous-tâche","L’alias existe déjà","L’autre partie a quitté","Travaux déjà réalisés","Tout est fait","Le membre n’existe pas","Pour mon robot","Le fichier n’existe pas","Une tâche inachevée","Inscription non ouverte","Le message n’existe pas","L’utilisateur n’existe pas","Remettre le projet à","Administrateur du système","Réclamer une sous-tâche","L’enregistrement n’existe pas","Veuillez définir un pseudo","L’identité n’est plus valide","Mission atomique de retour","La mauvaise session","Le projet n’existe pas","Le projet a été archivé","Projet non classé","Code de vérification incorrect","La licence est invalide","Paramètre ID manquant","@mon message","60s lire le monde","Le téléchargement a échoué","Personal project","Un compte temporaire","Archivage des tâches","Instructions pour l’utilisation","Sauvé avec succès","Modifié avec succès","Tous les membres","Créer une tâche","Créer le succès","Créer un projet","Supprimer une tâche","Suppression échouée","Supprimé avec succès","Supprimer un élément","Rejoignez le succès","Un message anonyme","L’argument est vide","Paramètres incorrects","Envoyé avec succès","Annulé avec succès","Copiez avec succès","Mot de passe incorrect","Instructions pour aider","Plaisirs et blagues","Soupe de poulet pour l’esprit","Envoyé avec succès","Je veux Me Connecter","Code de balayage réussi","Succès de l’opération","Nouveau succès construit","Connexion non valide","Manque de pouvoirs","Étiqueté avec succès","Inscription réussie avec","Ajouté avec succès","Ajouter une erreur","Connexion réussie","Un transfert réussi","Sortir avec succès","Erreur de type","Succès de dissolution","Revendiquer une mission","Défini avec succès","Demande réussie","Succès de l’ajustement","Envoyé avec succès","Succès du transfert","Restaurer la tâche","Succès de réduction","Succès de sortie","Sortie du projet","Réinitialiser avec succès","Note de confidentialité","Archives des projets","Échec de vérification","Vérifié et passé","A été ajouté","Créer un compte","Responsable de","Informations sur IT","Success","Dans la matinée","Après-midi","Midi","Provisoire","Le soir","Le matin","Lundi","Mercredi","Mardi","Vendredi","Samedi","Jeudi","Dimanche","Matin","Le soir","La nuit","Prolongée","36 le krypton","Error","Statut [(*)] erreur de réglage, le statut de la personne responsable doit être renseigné lors de la définition des restrictions","Statut [(*)] réglage incorrect, le responsable du statut doit être renseigné lors du réglage du mode rejet","Statut [(*)] réglage incorrect, le responsable du statut doit être renseigné lors du réglage du mode flow","(*) contient des fichiers partagés qui ne peuvent pas être déplacés dans un autre dossier partagé","(*) le partage est en cours et ne peut pas être déplacé dans un autre dossier partagé","Ce (*) est déjà dans le dossier partagé [(*)]. Le partage ne peut pas être répété","Statut actuel [(*)] seul responsable du statut ou chef de projet modifié","Un maximum de (*) fichiers ou dossiers peuvent être créés dans chaque dossier","Un nouvel identifiant de tâche périodique a été créé :(*), cette tâche ferme la période","Pas plus de (*) tâches inachevées dans une seule liste","La version actuelle (*) est trop basse. Version minimale requise (*).","Les membres du ministère, le personnel de projet ou le personnel de mission ne peuvent pas (*)","Un maximum de (*) fichiers ou dossiers peuvent être supprimés à la fois","Un maximum de (*) fichiers ou dossiers peuvent être déplacés à la fois","Vous ne pouvez pas avoir plus de (*) sous-tâches par tâche","Il ne peut y avoir plus de (*) tâches inachevées dans le projet","Un maximum de (*) sous-départements peuvent être créés par département","Seules les personnes chargées de cette tâche sont prises en charge [(*)] annuler","Un maximum de (*) assistants à la mission","Ce message ne peut pas être retiré après (*) heures","Le nom du fichier ne doit pas contenir ces caractères :(*)","Le poste\/titre ne peut être défini que (*) mots maximum","La description de la tâche ne peut être définie que (*) mots au maximum","Il ne peut y avoir plus de (*) responsables de mission","Le nom du fichier peut être défini en (*) mots au maximum","Taille du fichier dépassée. Limite maximale :(*)","Format de fichier incorrect, type de restriction :(*)","Le dépôt automatique ne doit pas durer plus de (*) jours!","Le dépôt automatique ne doit pas durer moins de (*) jours!","La présentation du projet ne peut être définie que (*) mots maximum","Le nom du projet ne peut être défini que (*) mots maximum","Créer une tâche à partir de l’id de la tâche périodique :(*)","État actuel [(*)] non transférable à [(*)]","Le poste\/titre ne peut pas être inférieur à (*) mots","(*) la description ne peut être définie que (*) mots au maximum","Vous ne pouvez obtenir qu’un maximum de (*) données à la fois","Archives uniquement pour les tâches avec le statut [(*)]","Modifier la durée de la tâche (remarques :(*))","Le nom du fichier ne peut pas être inférieur à (*) mots","Pas plus de (*) états de processus","Le contenu du message ne doit pas dépasser le mot (*) maximum","La liste des projets ne doit pas excéder (*)","Le nom du projet ne peut pas être inférieur à (*) mots","Le mot de passe ne peut être défini qu’en (*) chiffres","Le mot de passe ne doit pas être inférieur à (*) chiffres","Le surnom ne peut être défini que (*) mots maximum","Vous pouvez ajouter jusqu’à (*) une adresse MAC","Nom du département longueur limite (*) mots","[(*)] le lien vers le fichier n’existe pas","Nombre maximum de personnes à partager (*)","Membres exportés limités à (*) maximum","Limite de dates max (*) jours","Délai limite max (*) jours","Le surnom ne peut pas être inférieur à (*) mots","Un maximum de (*) départements peuvent être ajoutés","Un maximum de (*) départements peut être créé","Seul un maximum (*) de données peut être manipulé","Échec de la génération de tâches répétitives :(*)","Nom du groupe maximum (*) mots","Au moins (*) statut de départ requis","Au moins (*) état final requis","Le nom du ministère ne doit pas contenir :(*)","(*) déjà défini par un autre membre","(*) erreur de saisie par le responsable","Modifier le nom de la liste :(*)","Modifier les couleurs de la liste :(*)","Nom du groupe au moins (*) mots","Nombre maximum de personnes pour le projet (*)","(*) la description ne peut pas être vide","L’exportation a échoué, (*)!","Groupe d’au moins (*) personnes","Créer une tâche :(*)","Créer une liste :(*)","Supprimer la liste :(*)","Marquer une sous-tâche (*)","(*) téléchargement réussi","Tâches marquées (*)","Non disponible pour les propriétaires de groupe (*)"] \ No newline at end of file +["Le mot de passe ne doit pas être tous chiffres + majuscules. Le mot de passe contient des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Le mot de passe ne doit pas être tous chiffres + lettres minuscules. Le mot de passe contient des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Opération réservée aux chefs de projet, chefs de mission, collaborateurs ou créateurs de mission","Le mot de passe ne doit pas être toutes lettres. Veuillez inclure des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Le mot de passe ne doit pas être entièrement numérique. Veuillez inclure des chiffres, des lettres majuscules et minuscules ou des caractères spéciaux","Vous n’avez pas encore vérifié l’email. Veuillez d’abord vous connecter à l’email vérifier l’email","Le contenu du message a été refusé, vérifiez que votre boîte aux lettres est active pour recevoir","Lors de l’inscription, le système crée automatiquement des projets que vous pouvez supprimer librement.","L’heure de début d’une sous-tâche ne peut pas être inférieure à l’heure de début de la tâche principale","L’heure de fin de la sous-tâche ne peut pas être plus grande que l’heure de fin de la tâche principale","La tâche principale est terminée et le statut de la sous-tâche ne peut pas être modifié","Le remplaçant a quitté, veuillez choisir un autre remplaçant","Modification du statut de la tâche uniquement par le chef de projet ou de tâche","La fonction conférence n’est pas activée, veuillez contacter l’administrateur pour l’activer","Impossible de quitter le partage de tous les fichiers ou dossiers","Cette fonction n’est pas activée. Veuillez aller aux paramètres du système pour activer","La fonction de conférence est mal configurée, veuillez contacter l’administrateur","Cette fonction n’est pas activée, veuillez contacter l’administrateur pour l’activer","Les projets personnels existent déjà, pas besoin de les créer en double","Seul le propriétaire ou l’invitateur du groupe peut déplacer un membre","Votre compte a déjà été enregistré, veuillez vérifier l’email","Pas ouvert modifier les droits, s’il vous plaît contacter l’administrateur","Le lien n’est plus valide, veuillez vous connecter\/vous inscrire à nouveau","La tâche principale est terminée impossible d’ajouter une sous-tâche","Contient un sous-département ne peut pas modifier le département supérieur","Inscription réussie. Veuillez vérifier votre adresse e-mail avant de vous connecter","L’article n’existe pas ou n’est pas dans la liste des membres","Le service supérieur n’existe pas ou a été supprimé","La liste des tâches n’existe pas ou a été supprimée","Les messages anonymes ne sont autorisés à être envoyés qu’aux particuliers","Les données historiques n’existent pas ou ont été supprimées","Un dossier partagé existe déjà dans ce dossier","Veuillez sélectionner les fichiers ou dossiers supprimés","Veuillez sélectionner un fichier ou un dossier à déplacer","Le nom du ministère ne doit pas contenir de symboles spéciaux","Ne peut pas quitter les fichiers que vous partagez","Vous n’avez pas sélectionné de fichier à télécharger","Échec de l’emballage, veuillez réessayer plus tard...","Cette session ne permet pas de définir le DND","Veuillez entrer l’adresse correcte du destinataire","Veuillez sélectionner le bon chef de département","Veuillez entrer le bon job debriefing Id","Veuillez activer openssl pour votre environnement PHP","L’identité n’est plus valide, veuillez vous reconnecter","Ne correspond pas à l’email de connexion actuel","Ne prend en charge que la modification de ses propres messages","La session n’existe pas ou a été supprimée","Échec de l’inscription, veuillez réessayer plus tard","Anonyme bot session n’existe pas","La fonction de messagerie anonyme est suspendue","La conversation n’existe pas ou a été supprimée","Le membre n’existe pas ou a été supprimé","Le fichier n’existe pas ou a été supprimé","Le processus n’existe pas ou a été supprimé","Le message n’existe pas ou a été supprimé","Ne pas soumettre de débriefing de travail en double","Veuillez entrer une adresse e-mail correcte","Veuillez sélectionner une conversation ou un membre","Identification désactivée, etc reconnecter","Sélectionner le groupe de chat existant n’existe pas","Rejoignez le projet via le lien d’invitation","Le ministère n’existe pas ou a été supprimé","L’article n’existe pas ou a été supprimé","Les utilisateurs LDAP ne peuvent pas modifier leur boîte aux lettres","Opération du chef de projet seulement","Le statut de la tâche n’a pas changé","Modifier la sous-tâche prochaine période","Modification du personnel assistant de sous-tâche","Modifier la description détaillée des sous-tâches","Modifier la période de répétition des sous-tâches","Échec de la création d’un projet chat room","Suppression de la sous-tâche assistant personnel","Modification synchronisée de l’heure des sous-tâches","Cette fonction n’est pas supportée par les sous-tâches","L’autre partie n’a pas défini le numéro de contact","L’environnement actuel interdit cette opération","Type de groupe incorrect pour l’opération","Cette action n’est pas supportée par ce message","Ce message n’est pas supporté par le setup to","Interdire les opérations du chef de projet","Veuillez remplir l’ancien mot de passe correct","Veuillez entrer le code d’invitation correct","Veuillez entrer le captcha correct","Veuillez sélectionner un nouveau propriétaire de groupe valide","Veuillez choisir la bonne personne de transfert","Erreur hiérarchique du département supérieur","Copier des dossiers n’est pas pris en charge","Ne fonctionne pas avec l’ancienne boîte aux lettres","Incapacité à opérer son propre départ","Description de tâche ne peut pas être vide","Échec de la création du token de Réunion","Modifier la tâche prochaine période","Modification du personnel assistant de mission","Modifier la description détaillée de la tâche","Modifier la période de répétition des tâches","Modifier la priorité des sous-tâches","Modifier la couleur de fond des sous-tâches","Modifier le chef de sous-tâche","Le nom de la liste ne peut pas être vide","Suppression du personnel d’assistance aux tâches","Supprimer un chef de sous-tâche","Le bot anonyme n’existe pas","Modification synchronisée du temps de tâche","Le message répondu n’existe pas","Session actuelle tout le personnel mots interdits","Les circonstances actuelles interdisent la modification","Le dossier ne prend pas en charge le partage","Impossible de voir le numéro de contact","Marquer une sous-tâche terminée","Marquer une sous-tâche inachevée","Les annotations ne sont pas supportées par ce message","Le contenu du message ne peut pas être vide","Échec de l’envoi du message sauvegardé","Longueur du téléphone de contact incorrecte","Veuillez remplir tous les paramètres","Veuillez entrer un mot-clé de recherche","Veuillez entrer une nouvelle adresse e-mail","Veuillez sélectionner la bonne liste","Adresse e-mail format incorrect","Mauvaise sélection de la période de répétition","Pas dans la liste des membres","Ne peut pas être livré à lui-même","Opération réservée au propriétaire","Statut de la tâche n’existe pas","L’objet de session n’existe pas","Modifier les priorités des tâches","Modifier la couleur de fond de la tâche","Modifier le chef de tâche","Modifier la liste des sous-tâches","Modifier le temps des sous-tâches","Modifier le titre de la sous-tâche","Modifier l’état des sous-tâches","Le département de modification n’existe pas","Les mots-clés ne peuvent pas être vides","Échec de la création du dossier","Supprimer un chef de tâche","Sous-tâche copie interdite","Échec de la création de workflow","Compte ou mot de passe incorrect","Nombre de comptes limité","Connexion base de données échouée","Le lien de fichier n’existe pas","Cette action n’est pas supportée pour l’instant","Marquer la tâche terminée","Marquer une tâche inachevée","Transfert de l’identité des sous-tâches","Téléphone de contact existe déjà","Veuillez remplir la raison de la suppression","Veuillez vous connecter pour continuer...","Veuillez définir un numéro de contact","Veuillez entrer le code d’accès","Veuillez sélectionner un objet partagé","L’adresse e-mail existe déjà","Réinitialiser l’état des sous-tâches","Liens déjà utilisés","Type de paramètre incorrect","Échec de l’enregistrement de la licence","Format de licence incorrect","Le code d’invitation n’existe pas","Ne peut pas se supprimer","Opération Maître De groupe seulement","Opération de groupe seulement","Tâche annuler l’archive","Type de session incorrect","Vous êtes déjà propriétaire du groupe","Modifier la liste des tâches","Modifier le temps de tâche","Modifier le titre de la tâche","Modifier l’état de la tâche","Modification de la présentation du projet","Modifier le nom du projet","Modifier les membres du projet","Échec de la création du groupe","Échec de la création du chat","Invitation envoyée avec succès","Échec de l’enregistrement de l’image","Format d’image incorrect","Sous-tâche non terminée","Le compte est désactivé...","Mots interdits pour la session actuelle","Échec de l’ouverture de la session","Erreur de partage de fichier","Ancien et nouveau mot de passe","Impossible de créer un groupe","Impossible d’initier une session","Mauvais choix de date","Mauvais choix du temps","Le travail inachevé","Cette fonction n’est pas ouverte","Aucune donnée disponible","Transfert de l’identité des tâches","Transfert de l’identité du projet","Position de déplacement incorrecte","Email lié avec succès","Archivage automatique des tâches","Échec de l’obtention de la session","Type d’appareil incorrect","Échec de l’enregistrement vocal","Format de parole incorrect","Temps de parole trop court","S’il vous plaît obtenir la mission d’abord","Veuillez entrer le captcha","Veuillez sélectionner un membre du groupe","Ajuster le tri des tâches","Ajuster le tri des listes","Sélectionner un membre désigné","Adresse e-mail incorrecte","Réinitialiser l’état de la tâche","Projet annulé archivé","Le captcha n’est plus valide","La licence a expiré","L’id du canal n’existe pas","Documentation de l’interface Api","N’est pas l’expéditeur","La tâche n’existe pas","La mission est terminée","La tâche a été archivée","Tâches non archivées","La session n’existe pas","La liste n’existe pas","Créer une sous-tâche","Supprimer une sous-tâche","L’alias existe déjà","L’autre partie a quitté","Travaux déjà réalisés","Tout est fait","Le membre n’existe pas","Pour mon robot","Le fichier n’existe pas","Une tâche inachevée","Inscription non ouverte","Le message n’existe pas","L’utilisateur n’existe pas","Remettre le projet à","Administrateur du système","Réclamer une sous-tâche","L’enregistrement n’existe pas","Veuillez définir un pseudo","L’identité n’est plus valide","Mission atomique de retour","La mauvaise session","Le projet n’existe pas","Le projet a été archivé","Projet non classé","Code de vérification incorrect","La licence est invalide","Paramètre ID manquant","@mon message","60s lire le monde","Le téléchargement a échoué","Personal project","Un compte temporaire","Archivage des tâches","Instructions pour l’utilisation","Sauvé avec succès","Modifié avec succès","Tous les membres","Créer une tâche","Créer le succès","Créer un projet","Supprimer une tâche","Suppression échouée","Supprimé avec succès","Supprimer un élément","Rejoignez le succès","Un message anonyme","L’argument est vide","Paramètres incorrects","Envoyé avec succès","Annulé avec succès","Copiez avec succès","Mot de passe incorrect","Instructions pour aider","Plaisirs et blagues","Soupe de poulet pour l’esprit","Envoyé avec succès","Je veux Me Connecter","Code de balayage réussi","Succès de l’opération","Nouveau succès construit","Connexion non valide","Manque de pouvoirs","Étiqueté avec succès","Inscription réussie avec","Ajouté avec succès","Ajouter une erreur","Connexion réussie","Un transfert réussi","Sortir avec succès","Erreur de type","Succès de dissolution","Revendiquer une mission","Défini avec succès","Demande réussie","Succès de l’ajustement","Envoyé avec succès","Succès du transfert","Restaurer la tâche","Succès de réduction","Succès de sortie","Sortie du projet","Réinitialiser avec succès","Note de confidentialité","Archives des projets","Échec de vérification","Vérifié et passé","A été ajouté","Créer un compte","Responsable de","Informations sur IT","Success","Dans la matinée","Après-midi","Midi","Provisoire","Le soir","Le matin","Lundi","Mercredi","Mardi","Vendredi","Samedi","Jeudi","Dimanche","Matin","Le soir","La nuit","Prolongée","36 le krypton","Error","Statut [(*)] erreur de réglage, le statut de la personne responsable doit être renseigné lors de la définition des restrictions","Statut [(*)] réglage incorrect, le responsable du statut doit être renseigné lors du réglage du mode rejet","Statut [(*)] réglage incorrect, le responsable du statut doit être renseigné lors du réglage du mode flow","(*) contient des fichiers partagés qui ne peuvent pas être déplacés dans un autre dossier partagé","(*) le partage est en cours et ne peut pas être déplacé dans un autre dossier partagé","Ce (*) est déjà dans le dossier partagé [(*)]. Le partage ne peut pas être répété","Statut actuel [(*)] seul responsable du statut ou chef de projet modifié","Un maximum de (*) fichiers ou dossiers peuvent être créés dans chaque dossier","Un nouvel identifiant de tâche périodique a été créé :(*), cette tâche ferme la période","Pas plus de (*) tâches inachevées dans une seule liste","La version actuelle (*) est trop basse. Version minimale requise (*).","Les membres du ministère, le personnel de projet ou le personnel de mission ne peuvent pas (*)","Un maximum de (*) fichiers ou dossiers peuvent être supprimés à la fois","Un maximum de (*) fichiers ou dossiers peuvent être déplacés à la fois","Vous ne pouvez pas avoir plus de (*) sous-tâches par tâche","Il ne peut y avoir plus de (*) tâches inachevées dans le projet","Un maximum de (*) sous-départements peuvent être créés par département","Seules les personnes chargées de cette tâche sont prises en charge [(*)] annuler","Un maximum de (*) assistants à la mission","Ce message ne peut pas être retiré après (*) heures","Le nom du fichier ne doit pas contenir ces caractères :(*)","Le poste\/titre ne peut être défini que (*) mots maximum","La description de la tâche ne peut être définie que (*) mots au maximum","Il ne peut y avoir plus de (*) responsables de mission","Le nom du fichier peut être défini en (*) mots au maximum","Taille du fichier dépassée. Limite maximale :(*)","Format de fichier incorrect, type de restriction :(*)","Le dépôt automatique ne doit pas durer plus de (*) jours!","Le dépôt automatique ne doit pas durer moins de (*) jours!","La présentation du projet ne peut être définie que (*) mots maximum","Le nom du projet ne peut être défini que (*) mots maximum","Créer une tâche à partir de l’id de la tâche périodique :(*)","État actuel [(*)] non transférable à [(*)]","Le poste\/titre ne peut pas être inférieur à (*) mots","(*) la description ne peut être définie que (*) mots au maximum","Vous ne pouvez obtenir qu’un maximum de (*) données à la fois","Archives uniquement pour les tâches avec le statut [(*)]","Modifier la durée de la tâche (remarques :(*))","Le nom du fichier ne peut pas être inférieur à (*) mots","Pas plus de (*) états de processus","Le contenu du message ne doit pas dépasser le mot (*) maximum","La liste des projets ne doit pas excéder (*)","Le nom du projet ne peut pas être inférieur à (*) mots","Le mot de passe ne peut être défini qu’en (*) chiffres","Le mot de passe ne doit pas être inférieur à (*) chiffres","Le surnom ne peut être défini que (*) mots maximum","Vous pouvez ajouter jusqu’à (*) une adresse MAC","Nom du département longueur limite (*) mots","[(*)] le lien vers le fichier n’existe pas","Nombre maximum de personnes à partager (*)","Membres exportés limités à (*) maximum","Limite de dates max (*) jours","Délai limite max (*) jours","Le surnom ne peut pas être inférieur à (*) mots","Un maximum de (*) départements peuvent être ajoutés","Un maximum de (*) départements peut être créé","Seul un maximum (*) de données peut être manipulé","Échec de la génération de tâches répétitives :(*)","Nom du groupe maximum (*) mots","Au moins (*) statut de départ requis","Au moins (*) état final requis","Le nom du ministère ne doit pas contenir :(*)","(*) déjà défini par un autre membre","(*) erreur de saisie par le responsable","Modifier le nom de la liste :(*)","Modifier les couleurs de la liste :(*)","Nom du groupe au moins (*) mots","Nombre maximum de personnes pour le projet (*)","(*) la description ne peut pas être vide","L’exportation a échoué, (*)!","Groupe d’au moins (*) personnes","Créer une tâche :(*)","Créer une liste :(*)","Supprimer la liste :(*)","Marquer une sous-tâche (*)","(*) téléchargement réussi","Tâches marquées (*)","Non disponible pour les propriétaires de groupe (*)"] \ No newline at end of file diff --git a/public/language/api/id.json b/public/language/api/id.json index 39a5e7514..f25f9fe55 100644 --- a/public/language/api/id.json +++ b/public/language/api/id.json @@ -1 +1 @@ -["Kata sandi tidak semua angka + huruf besar. Kata sandi berisi angka, huruf besar, huruf kecil, atau karakter khusus","Kata sandi tidak semua angka + huruf kecil. Kata sandi berisi angka, huruf besar, atau karakter khusus","Hanya direktur proyek, direktur misi, asisten atau pencipta misi","Kata sandi tidak bisa semua huruf. Mohon sertakan angka, huruf besar, atau karakter khusus","Kata sandi tidak bisa semua angka. Mohon sertakan angka, huruf besar, huruf kecil atau karakter khusus","Anda belum memverifikasi email, silahkan login ke kotak surat terlebih dahulu melalui verifikasi email","Pesan ditolak, cek apakah kotak masuk sudah diaktifkan untuk menerima","Sistem dibuat secara otomatis ketika anda mendaftar dan anda dapat menghapusnya secara gratis.","Awal misi sub tidak bisa lebih lama dari awal misi utama","Waktu akhir misi putra tidak boleh lebih besar daripada waktu akhir misi tuhan","Tugas utama telah selesai dan status sub misi tidak dapat diubah","Pengantarnya sedang tidak bertugas, silahkan pilih penyeranta lain","Hanya proyek atau direktur misi yang memodifikasi status tugas","Fungsi pertemuan tidak aktif, silahkan hubungi admin untuk menyalakannya","Tak dapat keluar dari berkas atau folder yang berbagi dengan semua orang","Fungsi ini tidak aktif. Silakan masuk ke pengaturan sistem untuk memulai","Fitur pertemuan yang salah konfigurasi, silahkan hubungi administrator","Fungsi ini tidak aktif silahkan hubungi admin untuk menyalakannya","Proyek pribadi telah ada dan tidak perlu dibuat lagi","Hanya tuhan kelompok atau undangan yang boleh mengeluarkan anggotanya","Akun anda sudah terdaftar, mohon verifikasi email anda","Akses modifikasi tak terbuka, hubungi administrator","Link sudah mati silahkan login kembali\/registrasi","Tugas utama telah selesai sub misi yang tidak dapat ditambah","Sub-division tidak bisa mengubah divisi atas","Pendaftaran telah sukses. Masuk setelah memeriksa email anda","Item tidak ada atau tidak ada dalam daftar anggota","Tak ada yang lebih tinggi atau telah dihapus","Senarai tugas tidak ada atau telah dihapus","Informasi anonim hanya diperbolehkan untuk dikirim ke individu","Data sejarah tidak ada atau telah dihapus","Ada folder bersama di dalam folder ini. @ option: check","Silakan pilih berkas atau folder yang telah dihapus","Silakan pilih berkas atau folder yang bergerak","Nama departemen tidak boleh berisi simbol khusus","Kau tak bisa keluar dari file yang kau bagikan","Anda tidak memilih file untuk diupload","Gagal pak, coba lagi nanti …","Sesi ini tidak memungkinkan untuk mengatur bebas gangguan","Silahkan masukkan alamat penerima yang benar","Silahkan pilih kepala departemen yang tepat","Silahkan masukkan Id pembekalan yang tepat","Silahkan buka openssl untuk lingkungan PHP anda","Identitas telah hilang, silakan login lagi","Tidak cocok dengan akun email login saat ini","Hanya mendukung revisi pesan anda sendiri","Sesi tidak ada atau telah dihapus","Bergabung dengan kekalahan, silakan coba lagi nanti","Sesi robot tanpa nama tidak ada","\"Fungsi informasi tanpa nama telah ditangguhkan.","Dialognya tidak ada atau dihapus","Anggota tidak ada atau telah dihapus","File tidak ada atau telah dihapus","Proses tidak ada atau dihapus","Pesan tidak ada atau telah dihapus","Jangan mengajukan pertanyaan lagi","Silakan masukkan alamat email yang benar","Silahkan pilih untuk meneruskan dialog atau anggota","Identitas dinonaktifkan, tunggu kedatangan kembali","Memilih chat group yang ada tidak ada","Bergabunglah dengan sebuah proyek dengan mengundang link","Division tidak ada atau telah dihapus","Item tidak ada atau telah dihapus","Pengguna LDAP melarang memodifikasi email","Hanya direktur proyek saja","Status misi belum berubah","Memodifikasi sub misi berikutnya","Memodifikasi sub misi pembantu","Revisi rincian sub misi","Revisi siklus pengulangan sub misi","Gagal membuat item chat room","Hapus bantuan sub misi","Sync revisi waktu sub misi","Sub-misi tidak mendukung fungsi ini","Pihak lain tidak mengatur nomor kontak","Lingkungan saat ini melarang operasi ini","Kesalahan tipe grup operasi","Pesan ini tidak mendukung operasi ini","Pesan ini tidak mendukung untuk diatur","Melarang operasi pimpinan proyek","Tolong isi sandi lama yang benar","Mohon masukkan kode undangan yang benar","Silahkan masukkan kode verifikasi yang benar","Silahkan pilih pemimpin kelompok baru yang efektif","Silahkan pilih pengganti yang tepat","Ada kesalahan di tingkat atas","Folder duplikat tak didukung","Tidak dapat konsisten dengan kotak surat tua","Tak bisa mengoperasikannya sendiri","Deskripsi misi tidak boleh kosong","Pembuatan token konferensi gagal","Revisi misi berikutnya","Memodifikasi asisten misi","Ubah rincian misinya","Memodifikasi siklus tugas berulang","Memodifikasi prioritas submission","Ubah warna latar belakang sub misi","Revisi kepala sub misi","Daftar nama tidak boleh kosong","Hapus bantuan misi","Pemimpin misi submission dihapus","Anonymous robot tidak ada","Sync revisi waktu misi","Pesan balasan itu tidak ada","Semua sesi diam saat ini","Lingkungan saat ini melarang perubahan","Folder tidak mendukung untuk berbagi","Tidak dapat memeriksa nomor kontak","Sub-misi selesai","Sub misi tidak lengkap","Pesan ini tidak didukung","Isi pesan tidak boleh kosong","Gagal menyelamatkan pesan","Kesalahan panjang telepon kontak","Masukkan kata pencarian","Silakan masukkan alamat email baru","Silahkan pilih daftar yang benar","Alamat email berada dalam format yang salah","Daur pengulangan memilih yang salah","Tidak ada dalam daftar anggota","Tidak bisa menyerahkan diri","Hanya pemilik","Status misi tidak ada","Objek sesi tidak ada","Memodifikasi prioritas misi","Ubah warna latar belakang tugas","Memodifikasi kepala misi","Revisi daftar sub misi","Revisi waktu sub misi","Revisi judul sub tugas","Revisi status sub misi","Departemen revisi tidak ada","Kata kuncinya tidak bisa kosong","Gagal membuat folder","Hapus pemimpin misi","Sumisi melarang penggandaan","Gagal menciptakan aliran kerja","Nomor rekening atau kata sandi yang salah","Nomor rekening dibatasi","Koneksi database gagal","Tautan berkas tidak ada","Tom tak akan mendukung operasi ini","Misi mark selesai","Tugas penargetan tidak lengkap","Melepaskan identitas sub misi","Nomor kontak sudah ada","Silahkan tulis alasan hapus","Silahkan login dan lanjutkan …","Silakan mengatur nomor kontak","Silakan masukkan password log masuk","Silahkan memilih untuk berbagi objek","Alamat email sudah ada","Status misi sub-reset","Link sudah digunakan","Parameter jenis yang salah","LICENSE gagal menyelamatkan","LICENSE salah format","Kode undangan itu tidak ada","Tidak bisa menghapus diri sendiri","Hanya kelompok utama","Operasi grup saja","Misi dibatalkan","Galat tipe sesi","Kau sudah menjadi pemimpin kawanan","Ubah senarai tugas","Memodifikasi waktu tugas","Ubah judul tugas","Memodifikasi status tugas","Memodifikasi presentasi proyek","Ubah nama item","Memodifikasi anggota proyek","Gagal membuat grup","Gagal membuat ngobrol","Kirim undangan sukses","Gagal menyimpan gambar","Salah format gambar","Sub misi tidak lengkap","Nomor akun telah dinonaktifkan …","Sesi diam saat ini","Gagal membuka sesi","Galat berbagi berkas","Sandi lama yang baru konsisten","Gagal membuat grup","Tak dapat memulai sesi","Tanggal memilih kesalahan","Waktu memilih kesalahan","Urusan yang belum selesai","Tidak tersedia untuk fungsi ini","Tidak ada data sama sekali","Menyerahkan identitas tugas","Menyerahkan identitas proyek","Pindah posisi yang salah","Sambungan email berhasil","Pengarsipan tugas otomatis","Gagal mendapatkan sesi","Galat tipe divais","Gagal menyelamatkan suara","Salah format suara","Bicara terlalu singkat","Silahkan mengambil tugas anda dulu","Silahkan masukkan kode verifikasi","Silahkan pilih anggota kelompok","Sesuaikan pengurutan tugas","Sesuaikan senarai","Pilih anggota yang ditunjuk","Kesalahan alamat email","Atur ulang status tugas","Diajukan proyek dibatalkan","Kode otentikasi mati","LICENSE sudah habis masa berlakunya","ID saluran tidak ada","Dokumentasi antarmuka Api","Tidak mengirim orang","Misi tidak ada","Misi selesai.","Misi telah diajukan","Tugas tidak diajukan","Sesi tidak ada","Daftar tidak ada","Menciptakan sub tugas","Hapus sub tugas","Nama samaran sudah ada","Dia sedang pergi.","Sudah selesai bekerja","Tugas selesai","Anggota tidak ada","Robot saya","File tidak ada","Tugas yang tidak selesai","Pendaftaran tidak dibuka","Pesan itu tidak ada","Pengguna tidak ada","Menyerahkan barang ke","Administrator sistem","Untuk submisi","Catatan itu tidak ada.","Tolong atur nama panggilan","Identitas mati.","Mengembalikan tugas atom","Sesi yang salah","Item tidak ada","Item telah mengajukan","Barang tidak diajukan","Galat captcha","LICENSE tidak valid","Parameter ID hilang","Pesanku","60s membaca dunia","Gagal mengunggah","Proyek pribadi","Akun sementara","Pengarsipan tugas","Petunjuk penggunaan","Simpan sukses","Revisi berhasil","Semua anggota","Membuat tugas","Sukses menciptakan","Membuat project","Hapus tugas","Gagal untuk menghapus","Sukses dihapus","Hapus project","Bergabung dengan sukses","Sumber tanpa nama","Parameter kosong","Argumen salah","Kirim sukses","Batal.","Sukses menyalin","Kata sandi salah","Bantuan direktif","Senang bercanda","Sup ayam jantung","Sukses kirim","Saya ingin masuk","Sapu bersih.","Operasi sukses","Pembangunan baru sukses","Koneksi tidak valid","Tidak cukup izin","Tandai sukses","Pendaftaran berhasil","Tambahkan sukses","Tambah kesalahan","Berhasil masuk","Transfer berhasil","Bergeser keluar sukses","Galat tipe","Dibubarkan dengan sukses.","Ambil tugas","Pengaturan sukses","Permintaan sukses","Penyesuaian berhasil","Sukses retweet","Transfer sukses","Mengurangi tugas","Pengurangan berhasil","Keluar sukses","Keluar dari proyek","Reset berhasil","Catatan privasi","Arsip proyek","Otentikasi gagal","Verifikasi disahkan","Telah bergabung","Akun baru","Orang yang bertanggung jawab","Itu informasi","Success","Pagi","Sore","Siang hari.","Sementara","Malam ini.","Pagi.","Pada hari senin.","Hari rabu.","Selasa","Hari jumat,","Sabtu.","Hari kamis.","Pada hari minggu,","Di pagi hari.","Malam","Tengah malam.","ChaoQi","36 krypton","Error","Status [(*)] salah pengaturan, orang yang bertanggung jawab harus mengisi orang yang bertugas saat menetapkan batas","Status [(*)] salah pengaturan, dan orang yang diberi status harus mengisi bagian yang bersangkutan ketika menetapkan pola pemusnahan","Status [(*)] galat pengaturan dan anda harus mengisi pemimpin negara ketika anda mengatur mode aliran","(*) berkas yang berisi berkas bersama tidak dapat dipindahkan ke dalam folder berbagi yang lain","(*) saat ini sedang berbagi, tidak dapat dipindahkan ke folder berbagi yang lain","Ini (*) telah berada di ((*) folder bersama, dan tidak dapat dibagikan lagi","Status saat ini [(*)] hanya direvisi oleh direktur status atau direktur proyek","Paling banyak, hanya ada (*) berkas atau folder yang dibuat di setiap folder","ID tugas siklus baru telah dibuat :(*) tugas ini menutup siklus","Paling banyak tidak ada daftar tugas yang tidak dipenuhi","Versi saat ini (*) lebih rendah, dan versi terendah diperlukan.","Anggota, proyek, atau misi divisi tidak boleh (*)","Hapus (*) berkas atau folder paling banyak pada suatu waktu","Berkas atau folder hanya boleh dipindahkan (*) pada satu waktu","Setiap misi tidak boleh lebih dari satu anak (*)","Tidak lebih dari (*) tugas yang belum selesai","Setiap departemen hanya bisa membuat (*) sub-divisi, paling banyak","Dukung saja pembatalan ini [(*)","Tidak lebih dari bantuan misi (*)","Lebih dari (*) jam, dan pesan ini tidak dapat ditarik kembali","Nama berkas tidak boleh berisi karakter ini :(*)","Jabatan\/jabatan paling banyak hanya mengatur (*) kata","Uraian tugas paling banyak hanya memuat (*) kata","Tidak ada kepala misi lebih dari (*) ada","Nama berkas paling banyak hanya memuat (*) kata","Batas maksimum ukuran berkas :(*)","Galat format berkas, tipe pembatasan :(*)","Jadwal otomatis tidak boleh lebih besar dari (*) hari!","(*) hari!","Perkenalan proyek hanya boleh berupa (*) kata","Nama proyek paling banyak hanya mengatur (*) kata","Buat tugas dari tugas siklus ID :(*)","Status saat ini [*] tidak boleh mengalir ke [*]","Jabatan\/jabatan tidak boleh kurang dari (*) kata","(*) kata yang paling banyak dapat dijabarkan (*)","Hanya dapat memperoleh, paling banyak, potongan-potongan data (*) sekaligus","Berkas status saja ((*)","Merevisi waktu tugas (catatan: *)","Tidak boleh kurang dari (*) kata untuk sebuah dokumen","Prosesnya tidak boleh lebih dari itu","Pesan yang paling tidak boleh dibaca (*)","Paling banyak hanya ada (*) daftar barang","Jangan kurang dari (*) nama proyek","Kata sandi hanya bisa ditetapkan (*) digit paling banyak","Pengaturan kata sandi tidak bisa kurang dari (*) digit","Nama panggilan paling banyak hanya mengatur (*) kata","Paling banyak, hanya (*) alamat MAC yang dapat ditambahkan","Nama departemen dibatasi (*) kata","[*] tidak ada tautan berkas","Jumlah anggota dibatasi","Pembatasan anggota maksimum (*) dikeluarkan","Batas rentang tanggal maksimum (*) hari","Rentang waktu dibatasi sampai maksimum (*) hari","Nama panggilan tidak boleh kurang dari (*) kata","Paling banyak, hanya untuk bergabung (*) departemen","Hanya bisa membuat (*) departemen","Paling banyak hanya dapat memanipulasi (*) potongan-potongan data","Gagal menghasilkan pengulangan :(*)","Batas terpanjang untuk kelompok nama (*) kata","Setidaknya butuh (*) status awal","Setidaknya butuh (*) status penutupan","Nama departemen tidak bisa berisi :(*)","(*) telah ditetapkan oleh para anggota lainnya","(*) orang yang bertanggung jawab mengisi kesalahan","Ubah nama senarai :(*)","Ubah warna senarai :(*)","Setidaknya (*) kata","Yang paling banyak jumlahnya (*)","(*) uraian tidak boleh kosong","Ekspor gagal, (*)!","Anggota kelompok setidaknya (*) orang","Buat tugas :(*)","Buat senarai :(*)","Hapus senarai :(*)","Tandai sub tugas (*)","(*) pengunggahan berhasil","Tandai tugas (*)","Kelompok tuan tidak boleh (*)"] \ No newline at end of file +["Kata sandi tidak semua angka + huruf besar. Kata sandi berisi angka, huruf besar, huruf kecil, atau karakter khusus","Kata sandi tidak semua angka + huruf kecil. Kata sandi berisi angka, huruf besar, atau karakter khusus","Hanya direktur proyek, direktur misi, asisten atau pencipta misi","Kata sandi tidak bisa semua huruf. Mohon sertakan angka, huruf besar, atau karakter khusus","Kata sandi tidak bisa semua angka. Mohon sertakan angka, huruf besar, huruf kecil atau karakter khusus","Anda belum memverifikasi email, silahkan login ke kotak surat terlebih dahulu melalui verifikasi email","Pesan ditolak, cek apakah kotak masuk sudah diaktifkan untuk menerima","Sistem dibuat secara otomatis ketika anda mendaftar dan anda dapat menghapusnya secara gratis.","Awal misi sub tidak bisa lebih lama dari awal misi utama","Waktu akhir misi putra tidak boleh lebih besar daripada waktu akhir misi tuhan","Tugas utama telah selesai dan status sub misi tidak dapat diubah","Pengantarnya sedang tidak bertugas, silahkan pilih penyeranta lain","Hanya proyek atau direktur misi yang memodifikasi status tugas","Fungsi pertemuan tidak aktif, silahkan hubungi admin untuk menyalakannya","Tak dapat keluar dari berkas atau folder yang berbagi dengan semua orang","Fungsi ini tidak aktif. Silakan masuk ke pengaturan sistem untuk memulai","Fitur pertemuan yang salah konfigurasi, silahkan hubungi administrator","Fungsi ini tidak aktif silahkan hubungi admin untuk menyalakannya","Proyek pribadi telah ada dan tidak perlu dibuat lagi","Hanya tuhan kelompok atau undangan yang boleh mengeluarkan anggotanya","Akun anda sudah terdaftar, mohon verifikasi email anda","Akses modifikasi tak terbuka, hubungi administrator","Link sudah mati silahkan login kembali\/registrasi","Tugas utama telah selesai sub misi yang tidak dapat ditambah","Sub-division tidak bisa mengubah divisi atas","Pendaftaran telah sukses. Masuk setelah memeriksa email anda","Item tidak ada atau tidak ada dalam daftar anggota","Tak ada yang lebih tinggi atau telah dihapus","Senarai tugas tidak ada atau telah dihapus","Informasi anonim hanya diperbolehkan untuk dikirim ke individu","Data sejarah tidak ada atau telah dihapus","Ada folder bersama di dalam folder ini. @ option: check","Silakan pilih berkas atau folder yang telah dihapus","Silakan pilih berkas atau folder yang bergerak","Nama departemen tidak boleh berisi simbol khusus","Kau tak bisa keluar dari file yang kau bagikan","Anda tidak memilih file untuk diupload","Gagal pak, coba lagi nanti …","Sesi ini tidak memungkinkan untuk mengatur bebas gangguan","Silahkan masukkan alamat penerima yang benar","Silahkan pilih kepala departemen yang tepat","Silahkan masukkan Id pembekalan yang tepat","Silahkan buka openssl untuk lingkungan PHP anda","Identitas telah hilang, silakan login lagi","Tidak cocok dengan akun email login saat ini","Hanya mendukung revisi pesan anda sendiri","Sesi tidak ada atau telah dihapus","Bergabung dengan kekalahan, silakan coba lagi nanti","Sesi robot tanpa nama tidak ada","\"Fungsi informasi tanpa nama telah ditangguhkan.","Dialognya tidak ada atau dihapus","Anggota tidak ada atau telah dihapus","File tidak ada atau telah dihapus","Proses tidak ada atau dihapus","Pesan tidak ada atau telah dihapus","Jangan mengajukan pertanyaan lagi","Silakan masukkan alamat email yang benar","Silahkan pilih untuk meneruskan dialog atau anggota","Identitas dinonaktifkan, tunggu kedatangan kembali","Memilih chat group yang ada tidak ada","Bergabunglah dengan sebuah proyek dengan mengundang link","Division tidak ada atau telah dihapus","Item tidak ada atau telah dihapus","Pengguna LDAP melarang memodifikasi email","Hanya direktur proyek saja","Status misi belum berubah","Memodifikasi sub misi berikutnya","Memodifikasi sub misi pembantu","Revisi rincian sub misi","Revisi siklus pengulangan sub misi","Gagal membuat item chat room","Hapus bantuan sub misi","Sync revisi waktu sub misi","Sub-misi tidak mendukung fungsi ini","Pihak lain tidak mengatur nomor kontak","Lingkungan saat ini melarang operasi ini","Kesalahan tipe grup operasi","Pesan ini tidak mendukung operasi ini","Pesan ini tidak mendukung untuk diatur","Melarang operasi pimpinan proyek","Tolong isi sandi lama yang benar","Mohon masukkan kode undangan yang benar","Silahkan masukkan kode verifikasi yang benar","Silahkan pilih pemimpin kelompok baru yang efektif","Silahkan pilih pengganti yang tepat","Ada kesalahan di tingkat atas","Folder duplikat tak didukung","Tidak dapat konsisten dengan kotak surat tua","Tak bisa mengoperasikannya sendiri","Deskripsi misi tidak boleh kosong","Pembuatan token konferensi gagal","Revisi misi berikutnya","Memodifikasi asisten misi","Ubah rincian misinya","Memodifikasi siklus tugas berulang","Memodifikasi prioritas submission","Ubah warna latar belakang sub misi","Revisi kepala sub misi","Daftar nama tidak boleh kosong","Hapus bantuan misi","Pemimpin misi submission dihapus","Anonymous robot tidak ada","Sync revisi waktu misi","Pesan balasan itu tidak ada","Semua sesi diam saat ini","Lingkungan saat ini melarang perubahan","Folder tidak mendukung untuk berbagi","Tidak dapat memeriksa nomor kontak","Sub-misi selesai","Sub misi tidak lengkap","Pesan ini tidak didukung","Isi pesan tidak boleh kosong","Gagal menyelamatkan pesan","Kesalahan panjang telepon kontak","Silahkan isi seluruh parameter","Masukkan kata pencarian","Silakan masukkan alamat email baru","Silahkan pilih daftar yang benar","Alamat email berada dalam format yang salah","Daur pengulangan memilih yang salah","Tidak ada dalam daftar anggota","Tidak bisa menyerahkan diri","Hanya pemilik","Status misi tidak ada","Objek sesi tidak ada","Memodifikasi prioritas misi","Ubah warna latar belakang tugas","Memodifikasi kepala misi","Revisi daftar sub misi","Revisi waktu sub misi","Revisi judul sub tugas","Revisi status sub misi","Departemen revisi tidak ada","Kata kuncinya tidak bisa kosong","Gagal membuat folder","Hapus pemimpin misi","Sumisi melarang penggandaan","Gagal menciptakan aliran kerja","Nomor rekening atau kata sandi yang salah","Nomor rekening dibatasi","Koneksi database gagal","Tautan berkas tidak ada","Tom tak akan mendukung operasi ini","Misi mark selesai","Tugas penargetan tidak lengkap","Melepaskan identitas sub misi","Nomor kontak sudah ada","Silahkan tulis alasan hapus","Silahkan login dan lanjutkan …","Silakan mengatur nomor kontak","Silakan masukkan password log masuk","Silahkan memilih untuk berbagi objek","Alamat email sudah ada","Status misi sub-reset","Link sudah digunakan","Parameter jenis yang salah","LICENSE gagal menyelamatkan","LICENSE salah format","Kode undangan itu tidak ada","Tidak bisa menghapus diri sendiri","Hanya kelompok utama","Operasi grup saja","Misi dibatalkan","Galat tipe sesi","Kau sudah menjadi pemimpin kawanan","Ubah senarai tugas","Memodifikasi waktu tugas","Ubah judul tugas","Memodifikasi status tugas","Memodifikasi presentasi proyek","Ubah nama item","Memodifikasi anggota proyek","Gagal membuat grup","Gagal membuat ngobrol","Kirim undangan sukses","Gagal menyimpan gambar","Salah format gambar","Sub misi tidak lengkap","Nomor akun telah dinonaktifkan …","Sesi diam saat ini","Gagal membuka sesi","Galat berbagi berkas","Sandi lama yang baru konsisten","Gagal membuat grup","Tak dapat memulai sesi","Tanggal memilih kesalahan","Waktu memilih kesalahan","Urusan yang belum selesai","Tidak tersedia untuk fungsi ini","Tidak ada data sama sekali","Menyerahkan identitas tugas","Menyerahkan identitas proyek","Pindah posisi yang salah","Sambungan email berhasil","Pengarsipan tugas otomatis","Gagal mendapatkan sesi","Galat tipe divais","Gagal menyelamatkan suara","Salah format suara","Bicara terlalu singkat","Silahkan mengambil tugas anda dulu","Silahkan masukkan kode verifikasi","Silahkan pilih anggota kelompok","Sesuaikan pengurutan tugas","Sesuaikan senarai","Pilih anggota yang ditunjuk","Kesalahan alamat email","Atur ulang status tugas","Diajukan proyek dibatalkan","Kode otentikasi mati","LICENSE sudah habis masa berlakunya","ID saluran tidak ada","Dokumentasi antarmuka Api","Tidak mengirim orang","Misi tidak ada","Misi selesai.","Misi telah diajukan","Tugas tidak diajukan","Sesi tidak ada","Daftar tidak ada","Menciptakan sub tugas","Hapus sub tugas","Nama samaran sudah ada","Dia sedang pergi.","Sudah selesai bekerja","Tugas selesai","Anggota tidak ada","Robot saya","File tidak ada","Tugas yang tidak selesai","Pendaftaran tidak dibuka","Pesan itu tidak ada","Pengguna tidak ada","Menyerahkan barang ke","Administrator sistem","Untuk submisi","Catatan itu tidak ada.","Tolong atur nama panggilan","Identitas mati.","Mengembalikan tugas atom","Sesi yang salah","Item tidak ada","Item telah mengajukan","Barang tidak diajukan","Galat captcha","LICENSE tidak valid","Parameter ID hilang","Pesanku","60s membaca dunia","Gagal mengunggah","Proyek pribadi","Akun sementara","Pengarsipan tugas","Petunjuk penggunaan","Simpan sukses","Revisi berhasil","Semua anggota","Membuat tugas","Sukses menciptakan","Membuat project","Hapus tugas","Gagal untuk menghapus","Sukses dihapus","Hapus project","Bergabung dengan sukses","Sumber tanpa nama","Parameter kosong","Argumen salah","Kirim sukses","Batal.","Sukses menyalin","Kata sandi salah","Bantuan direktif","Senang bercanda","Sup ayam jantung","Sukses kirim","Saya ingin masuk","Sapu bersih.","Operasi sukses","Pembangunan baru sukses","Koneksi tidak valid","Tidak cukup izin","Tandai sukses","Pendaftaran berhasil","Tambahkan sukses","Tambah kesalahan","Berhasil masuk","Transfer berhasil","Bergeser keluar sukses","Galat tipe","Dibubarkan dengan sukses.","Ambil tugas","Pengaturan sukses","Permintaan sukses","Penyesuaian berhasil","Sukses retweet","Transfer sukses","Mengurangi tugas","Pengurangan berhasil","Keluar sukses","Keluar dari proyek","Reset berhasil","Catatan privasi","Arsip proyek","Otentikasi gagal","Verifikasi disahkan","Telah bergabung","Akun baru","Orang yang bertanggung jawab","Itu informasi","Success","Pagi","Sore","Siang hari.","Sementara","Malam ini.","Pagi.","Pada hari senin.","Hari rabu.","Selasa","Hari jumat,","Sabtu.","Hari kamis.","Pada hari minggu,","Di pagi hari.","Malam","Tengah malam.","ChaoQi","36 krypton","Error","Status [(*)] salah pengaturan, orang yang bertanggung jawab harus mengisi orang yang bertugas saat menetapkan batas","Status [(*)] salah pengaturan, dan orang yang diberi status harus mengisi bagian yang bersangkutan ketika menetapkan pola pemusnahan","Status [(*)] galat pengaturan dan anda harus mengisi pemimpin negara ketika anda mengatur mode aliran","(*) berkas yang berisi berkas bersama tidak dapat dipindahkan ke dalam folder berbagi yang lain","(*) saat ini sedang berbagi, tidak dapat dipindahkan ke folder berbagi yang lain","Ini (*) telah berada di ((*) folder bersama, dan tidak dapat dibagikan lagi","Status saat ini [(*)] hanya direvisi oleh direktur status atau direktur proyek","Paling banyak, hanya ada (*) berkas atau folder yang dibuat di setiap folder","ID tugas siklus baru telah dibuat :(*) tugas ini menutup siklus","Paling banyak tidak ada daftar tugas yang tidak dipenuhi","Versi saat ini (*) lebih rendah, dan versi terendah diperlukan.","Anggota, proyek, atau misi divisi tidak boleh (*)","Hapus (*) berkas atau folder paling banyak pada suatu waktu","Berkas atau folder hanya boleh dipindahkan (*) pada satu waktu","Setiap misi tidak boleh lebih dari satu anak (*)","Tidak lebih dari (*) tugas yang belum selesai","Setiap departemen hanya bisa membuat (*) sub-divisi, paling banyak","Dukung saja pembatalan ini [(*)","Tidak lebih dari bantuan misi (*)","Lebih dari (*) jam, dan pesan ini tidak dapat ditarik kembali","Nama berkas tidak boleh berisi karakter ini :(*)","Jabatan\/jabatan paling banyak hanya mengatur (*) kata","Uraian tugas paling banyak hanya memuat (*) kata","Tidak ada kepala misi lebih dari (*) ada","Nama berkas paling banyak hanya memuat (*) kata","Batas maksimum ukuran berkas :(*)","Galat format berkas, tipe pembatasan :(*)","Jadwal otomatis tidak boleh lebih besar dari (*) hari!","(*) hari!","Perkenalan proyek hanya boleh berupa (*) kata","Nama proyek paling banyak hanya mengatur (*) kata","Buat tugas dari tugas siklus ID :(*)","Status saat ini [*] tidak boleh mengalir ke [*]","Jabatan\/jabatan tidak boleh kurang dari (*) kata","(*) kata yang paling banyak dapat dijabarkan (*)","Hanya dapat memperoleh, paling banyak, potongan-potongan data (*) sekaligus","Berkas status saja ((*)","Merevisi waktu tugas (catatan: *)","Tidak boleh kurang dari (*) kata untuk sebuah dokumen","Prosesnya tidak boleh lebih dari itu","Pesan yang paling tidak boleh dibaca (*)","Paling banyak hanya ada (*) daftar barang","Jangan kurang dari (*) nama proyek","Kata sandi hanya bisa ditetapkan (*) digit paling banyak","Pengaturan kata sandi tidak bisa kurang dari (*) digit","Nama panggilan paling banyak hanya mengatur (*) kata","Paling banyak, hanya (*) alamat MAC yang dapat ditambahkan","Nama departemen dibatasi (*) kata","[*] tidak ada tautan berkas","Jumlah anggota dibatasi","Pembatasan anggota maksimum (*) dikeluarkan","Batas rentang tanggal maksimum (*) hari","Rentang waktu dibatasi sampai maksimum (*) hari","Nama panggilan tidak boleh kurang dari (*) kata","Paling banyak, hanya untuk bergabung (*) departemen","Hanya bisa membuat (*) departemen","Paling banyak hanya dapat memanipulasi (*) potongan-potongan data","Gagal menghasilkan pengulangan :(*)","Batas terpanjang untuk kelompok nama (*) kata","Setidaknya butuh (*) status awal","Setidaknya butuh (*) status penutupan","Nama departemen tidak bisa berisi :(*)","(*) telah ditetapkan oleh para anggota lainnya","(*) orang yang bertanggung jawab mengisi kesalahan","Ubah nama senarai :(*)","Ubah warna senarai :(*)","Setidaknya (*) kata","Yang paling banyak jumlahnya (*)","(*) uraian tidak boleh kosong","Ekspor gagal, (*)!","Anggota kelompok setidaknya (*) orang","Buat tugas :(*)","Buat senarai :(*)","Hapus senarai :(*)","Tandai sub tugas (*)","(*) pengunggahan berhasil","Tandai tugas (*)","Kelompok tuan tidak boleh (*)"] \ No newline at end of file diff --git a/public/language/api/ja.json b/public/language/api/ja.json index 77cd25289..ba013fc41 100644 --- a/public/language/api/ja.json +++ b/public/language/api/ja.json @@ -1 +1 @@ -["パスワードはすべて数字+大文字ではいけません。パスワードには数字、アルファベット大文字小文字または特殊文字が含まれています。","パスワードはすべて数字+小文字ではいけませんパスワードには数字、アルファベット大文字小文字または特殊文字が含まれています","プロジェクトリーダー、タスクリーダー、コンパニオン、タスク作成者に限定します。","パスワードはすべてアルファベットではできません。数字、大文字小文字、特殊文字を含めてください。","パスワードは数字だけではできません。数字、大文字小文字、特殊文字を含めてください。","あなたはまだメールボックスを検証していません,先にメールボックスを登録してメールボックスを検証してください","メールの内容が拒否された場合、メールボックスに受信机能がオンになっているか確認します。","登録時にシステムが自働的にプロジェクトを作成し、自由に削除することができます。","サブタスク開始時間がメインタスク開始時間より短くなってはいけません","サブタスクの終了時間がメインタスクの終了時間より大きくなってはいけません","メインタスクは完了しており、サブタスクの状態は修正できません","引き継ぎ人が退職しましたので,次の引き継ぎ人を選んでください","タスクの状態を修正するのは、プロジェクトやタスクの担当者だけです。","会議机能が開いていません、管理者に連絡して開いてください","全員のファイルやフォルダ共有からログアウトできません","この机能はオンになっていません。システム設定をオンにしてください。","会議機能の構成が間違っています。管理者に連絡してください。","この机能はオンになっていません、管理者に連絡してオンにしてください","個人プロジェクトはすでにあり、繰り返し作成する必要はありません。","グループオーナーか招待者だけがメンバーを外すことができます","アカウントは登録済みですので、メールアドレスを確認してください","修正権限を開放していません、管理者に連絡してください","リンクが切れましたので再登録してください","メインタスクは完了しておりサブタスクは追加できません","サブ部門を含めて上の部門は修正できません","登録できましたら,メールアドレスを認証してから登録してください","プロジェクトはメンバーに含まれていません","上級部門は存在しないか削除されました","タスクリストは存在しないか削除されました","匿名メッセージは個人にしか送信できません","過去のデータは存在しないか削除されています","このフォルダ内に共有フォルダがあります","削除するファイルまたはフォルダを選択します。","移動するファイルまたはフォルダを選択します。","部署名に特殊な記号を含めることはできません。","自分で共有したファイルからログアウトできません","アップロードするファイルを選択しませんでした","梱包に失敗しました。あとでもう一度試してください。","このセッションに邪魔者なしの設定は許可されません","正しい宛先を入力してもらいます","正しい部門の責任者を選びます","正しい報告Idを入力します。","PHP環境のopensslを起動します","Idが失効しましたので,再登録してください","現在登録しているメールアドレスと一致しません","自分のメッセージの修正だけをサポートします","セッションが存在しないか削除されました","失敗を入れて、あとでもう一度やってみてください。","匿名ロボット会話は存在しません","匿名メッセージ機能の使用を一時停止します","会話が存在しないか削除されました","メンバは存在しないか削除されました","ファイルが存在しないか削除されました","プロセスは存在しないか削除されています","メッセージが存在しないか削除されました","報告書の重複提出はご遠慮願います","正しいメールアドレスをお願いします","会話またはメンバーの転送を選択します。","身分が失効したら再登録を待ちます","既存のチャットグループが存在しないことを選択します","招待リンクでプロジェクトに参加します","部門は存在しないか削除されました","項目は存在しないか削除されました","LDAPユーザーはメールボックスの変更を禁止します","プロジェクトリーダー限定です","タスクの状態は変わりません","サブタスクの次のサイクルを修正します","サブタスク・コンパニオンを修正します","サブタスクの詳細を修正します","サブタスクの反復期間を変更します","プロジェクトチャットの作成に失敗しました","サブタスク・コンパニオンを削除します","サブタスク時間の同期修正です","サブタスクはこの機能をサポートしません。","先方は電話番号を設定していません","現在の環境はこの動作を禁止しています","操作のグループタイプエラーです","このメッセージはこの操作をサポートしません","このメッセージは未処理をサポートしません。","プロジェクトリーダーの作業を禁止します","古い正しいパスワードをお願いします","正しい招待コードを入力してもらいます","正しいcaptchaの入力をお願いします","有効な新しい群集を選びます","正しい引き継ぎをお願いします","上の部門のレベルが間違っています","コピーフォルダには対応していません","古いメールアドレスと一致しません","自分で辞めることはできません","タスク記述は空ではいけません","会議トークンの作成に失敗しました","タスクの次のサイクルを修正します","タスク・コンパニオンを修正します","タスクの詳細を修正します","タスクのサイクルを変えます","サブタスクの優先度を変えます","サブタスクの背景色を変更します","サブタスク担当者を修正します","リスト名は空ではいけません","任務協力者を削除します","サブタスク担当者を削除します","匿名ロボットは存在しません","タスク時間の修正を同期させます","返信メッセージは存在しません","当面の会話は全員禁句です","現在の環境は修正を禁止します","フォルダ共有は非対応です","連絡先を確認できません","サブタスクが完了しました","サブタスクが未完了です","このメッセージは表記をサポートしません","メッセージは空にしてはいけません","メッセージ送信保存に失敗しました","電話の長さが間違っています","検索キーワードを入力します","新しいメールアドレスをお願いします","正しいリストを選びます","メールアドレスの書式が間違っています。","サイクル選択エラーを繰り返します","メンバーリストには入っていません","自分に委ねることはできません","所有者限定で操作します","タスク状態は存在しません","会話相手は存在しません","優先順位を変えます","タスクの背景色を変更します","修正作業責任者です","サブタスクリストを修正します","サブタスクの時間を修正します","サブジョブタイトルを修正します","サブタスク状態を修正します","修正部門は存在しません","キーワードは空ではいけません","フォルダー作成に失敗します","タスク担当者を削除します","サブタスクは複製禁止です","ワークフロー作成の失敗","アカウントまたはパスワードの誤りです","アカウント数が上限になりました。","データベースの接続に失敗しました","ファイルリンクが存在しません","しばらくこの操作を支持しません","任務は完了しました","タスク未完了をマークします","サブミッションのステータスを移譲します","電話番号は存在します","削除理由の記入をお願いします","登録して続きをお願いします。","連絡先の設定お願いします","ログインパスワードをお願いします","共有対象を選択します。","メールアドレスはあります","サブタスク状態をリセットします","リンクは使用済みです","エラーのタイプパラメータです","ライセンス保存に失敗しました","ライセンスのフォーマットが間違っています","招待コードは存在しません","自分を削除することはできません","群主操作のみに限定します","操作はグループ限定です","タスクキャンセルファイリング","会話の型違いです","あなたは群れの主です","タスクリストを修正します","タスクの時間を修正します","タスクタイトルを修正します。","タスクの状態を修正します","項目紹介を修正します","プロジェクト名を変更します","プロジェクトメンバーを修正します","グループ作成に失敗します","チャットの作成に失敗します","招待状を送ることに成功しました","画像保存の失敗です","画像フォーマットエラーです","サブタスク未完了です","アカウント停止しました…","当面の会話は禁句です","セッションを開くのに失敗します","ファイル共有エラーです","パスワードは新旧一致です","グループを作成できません","会話が始まりません","日付の選択ミスです","時間の選択が間違っています","未完成の仕事","この機能を開放していません","データはありません","任務を移譲します。","プロジェクトのアイデンティティを移譲します","移動位置を誤ります","メールボックスの結合に成功しました","自動ミッションファイリングです","会話の取得に失敗します","装置タイプエラーです","音声保存の失敗です","音声フォーマットの誤りです","話す時間が短すぎます","任務を先にお願いします","Captchaの入力をお願いします","グループメンバーを選択します","タスクの順番を変えます","リストの順序を調整します","指定メンバーを選択します","メールアドレスが違います","タスク状態をリセットします","プロジェクトキャンセルファイリング","Captchaは無効になりました","ライセンスの期限が切れました","チャンネルIDは存在しません","Apiインタフェース文書です","送り主ではありません","ミッションは存在しません","任務は完了しました","任務はファイリング済みです","タスク未ファイリングです","会話は存在しません","リストは存在しません","サブタスクを作成します","サブタスクを削除します","別名はすでに存在しています","先方は退職されました","仕事は完了しました","未処理はすでに完了しています","メンバーは存在しません","私のロボットです","ファイルは存在しません","任務を達成しません","未開放登録です","メッセージは存在しません","ユーザーは存在しません","プロジェクトを移管します","システム管理者です","引き取り手任務です","記録は存在しません","ニックネームの設定をお願いします","身分は無効になりました","原子任務を返します","間違った会話です","プロジェクトは存在しません","プロジェクトはファイリング済みです","項目は未保存です","Captchaエラーです","ライセンス無効です","IDパラメータが不足しています","@マイメッセージです","60s世界を読みます","アップロードに失敗します","個人種目です","仮アカウント番号です","タスク・ファイリング","使用説明書です","保存に成功しました","修正成功です","メンバー全員です","タスクを作成します","成功しました","プロジェクトを作成します","タスクを削除します。","削除失敗です","削除成功です","項目を削除します","参加できました","匿名のメッセージです","パラメータは空です","パラメータエラーです","送信成功です","キャンセル成功です","複製に成功します","パスワードの誤りです","ヘルプコマンドです","楽しい冗談です","心にしみます","送信に成功します","チェックインします","スキャンに成功しました","操作は成功しました","新築に成功します","無効接続です","権限が足りません","書き込みに成功しました","登録できます","成功を追加します","エラーを追加します","ログインできました","引き渡しは成功しました","移送成功です","型違いです","解散成功です","任務を引き取る","セットアップ成功です","成功を願います","調整成功です","転送成功です","譲渡に成功します","タスク還元です。","還元成功です","退出成功です","プロジェクトから抜ける","リセット成功です","プライバシーの説明です","プロジェクトファイリングです","検証に失敗します","検証が通ります","加入しました","新しいアカウントです","責任者です","IT情報です","人々","午前","午後","正午","臨時","夕方","未明","月曜日","水曜","火曜日","金曜日","土曜日に","木曜日","日曜日","朝","夜","深夜","超期","クリプトン36です","Error","状態[(*)]設定ミス、制限担当者を設定する場合は必ず状態担当者を記入します。","状態[(*)]設定ミス、除外モード設定時は必ず状態担当者を記入します。","状態[(*)]設定ミス、フローモード設定時に状態担当者を記入しなければなりません。","(*)内に共有ファイルが含まれており、他の共有フォルダへの移動はできません。","(*)現在共有中なので、別の共有フォルダに移動できません。","この(*)は既に[(*)]共有フォルダに入っており、重複共有はできません。","現在のステータス[(*)]はステータス担当者またはプロジェクト担当者のみが変更できます","ファイルやフォルダは1つのフォルダに1つまでしか作成できません(*)","新しいサイクルタスクID:(*)が作成され、このタスクはサイクルを閉じます。","1つのリストの未完了タスクは(*)個までです。","現在のバージョン(*)は低すぎる、最低バージョン要件(*)です。","部門メンバー、プロジェクトメンバー、タスクメンバーはngです(*)","一度に削除できるファイルやフォルダは(*)個までです","一度に移動できるのはファイル・フォルダ(*)個までです","各タスクのサブタスクは(*)個までとします。","プロジェクト内の未達成タスクは(*)個までとします。","1つの部門にできるのは、せいぜいサブ部門だけです(*)。","この待弁人員【(*)】のみのキャンセルをサポートします。","任務協力者は(*)までです。","時間が経過しましたので,このメッセージは撤回できません","ファイル名にこれらの文字を含めることはできません:(*)","職位\/職名は(*)文字までしか設定できません。","タスク記述は(*)文字まで設定できます。","担当者は(*)までです。","ファイル名は(*)文字まで設定できます","ファイルサイズ超限、最大制限します:(*)","ファイル形式エラー、制限タイプ:(*)です。","自働ファイリング時間(*)を超えてはいけません!","自働ファイリング時間は(*)日未満ではいけません!","項目紹介は(*)の文字までです。","プロジェクト名は(*)文字までです。","作成タスクはサイクルタスクID:(*)から来ます。","現在の状態[(*)]は[(*)]にフローできません。","職位\/職名は(*)字以下ではいけません。","(*)説明は(*)文字までしか設定できません","一度に取れるデータは(*)1つまでです。","【(*)】ステータスのみのタスクファイリングです。","タスク時間を修正します(備考:(*))","ファイル名は(*)字以下ではいけません。","プロセスステータスは(*)個までとします。","メッセージの内容は(*)字までです。","項目リストは(*)個までとします。","項目名は(*)字以下ではいけません。","パスワードは(*)桁まで設定できます","パスワード設定は(*)の桁を超えてはいけません。","ニックネームの設定は(*)までです。","MACアドレスは(*)個までしか追加できません","部門名長さ制限(*)文字です","【(*)】ファイルリンクが存在しません。","共有人数上限(*)メンバー数です。","導出メンバーの制限は最大(*)個です。","日付の範囲は最大(*)日に制限します。","制限時間は最大(*)日です。","ニックネームは(*)字以下ではいけません。","(*)の部署に入れるのが限度です。","(*)部署を作るのがせいぜいです。","(*) 1つのデータまでしか操作できません。","(*)反復タスクの生成に失敗します。","グループ名の最長制限(*)文字です","少なくとも(*)スタート状態が必要です","少なくとも(*)の終了状態が必要です","部門名には(*)は含まれません。","(*)他のメンバーによって設定されています","(*)担当者の記入ミスです","リスト名を修正します:(*)","リストの色を修正します:(*)","グループ名の少なくとも(*)文字です","人数が一番多い(*)項目です。","(*)記述は空ではありません","失敗、(*)を導き出します!","グループのメンバーは少なくとも(*)人です","作成タスク:(*)です。","リストを作成します(*)","リストを削除します:(*)","マークアップサブタスク(*)です。","(*)アップロードできました","マークタスク(*)です。","群主不可(*)です。"] \ No newline at end of file +["パスワードはすべて数字+大文字ではいけません。パスワードには数字、アルファベット大文字小文字または特殊文字が含まれています。","パスワードはすべて数字+小文字ではいけませんパスワードには数字、アルファベット大文字小文字または特殊文字が含まれています","プロジェクトリーダー、タスクリーダー、コンパニオン、タスク作成者に限定します。","パスワードはすべてアルファベットではできません。数字、大文字小文字、特殊文字を含めてください。","パスワードは数字だけではできません。数字、大文字小文字、特殊文字を含めてください。","あなたはまだメールボックスを検証していません,先にメールボックスを登録してメールボックスを検証してください","メールの内容が拒否された場合、メールボックスに受信机能がオンになっているか確認します。","登録時にシステムが自働的にプロジェクトを作成し、自由に削除することができます。","サブタスク開始時間がメインタスク開始時間より短くなってはいけません","サブタスクの終了時間がメインタスクの終了時間より大きくなってはいけません","メインタスクは完了しており、サブタスクの状態は修正できません","引き継ぎ人が退職しましたので,次の引き継ぎ人を選んでください","タスクの状態を修正するのは、プロジェクトやタスクの担当者だけです。","会議机能が開いていません、管理者に連絡して開いてください","全員のファイルやフォルダ共有からログアウトできません","この机能はオンになっていません。システム設定をオンにしてください。","会議機能の構成が間違っています。管理者に連絡してください。","この机能はオンになっていません、管理者に連絡してオンにしてください","個人プロジェクトはすでにあり、繰り返し作成する必要はありません。","グループオーナーか招待者だけがメンバーを外すことができます","アカウントは登録済みですので、メールアドレスを確認してください","修正権限を開放していません、管理者に連絡してください","リンクが切れましたので再登録してください","メインタスクは完了しておりサブタスクは追加できません","サブ部門を含めて上の部門は修正できません","登録できましたら,メールアドレスを認証してから登録してください","プロジェクトはメンバーに含まれていません","上級部門は存在しないか削除されました","タスクリストは存在しないか削除されました","匿名メッセージは個人にしか送信できません","過去のデータは存在しないか削除されています","このフォルダ内に共有フォルダがあります","削除するファイルまたはフォルダを選択します。","移動するファイルまたはフォルダを選択します。","部署名に特殊な記号を含めることはできません。","自分で共有したファイルからログアウトできません","アップロードするファイルを選択しませんでした","梱包に失敗しました。あとでもう一度試してください。","このセッションに邪魔者なしの設定は許可されません","正しい宛先を入力してもらいます","正しい部門の責任者を選びます","正しい報告Idを入力します。","PHP環境のopensslを起動します","Idが失効しましたので,再登録してください","現在登録しているメールアドレスと一致しません","自分のメッセージの修正だけをサポートします","セッションが存在しないか削除されました","失敗を入れて、あとでもう一度やってみてください。","匿名ロボット会話は存在しません","匿名メッセージ機能の使用を一時停止します","会話が存在しないか削除されました","メンバは存在しないか削除されました","ファイルが存在しないか削除されました","プロセスは存在しないか削除されています","メッセージが存在しないか削除されました","報告書の重複提出はご遠慮願います","正しいメールアドレスをお願いします","会話またはメンバーの転送を選択します。","身分が失効したら再登録を待ちます","既存のチャットグループが存在しないことを選択します","招待リンクでプロジェクトに参加します","部門は存在しないか削除されました","項目は存在しないか削除されました","LDAPユーザーはメールボックスの変更を禁止します","プロジェクトリーダー限定です","タスクの状態は変わりません","サブタスクの次のサイクルを修正します","サブタスク・コンパニオンを修正します","サブタスクの詳細を修正します","サブタスクの反復期間を変更します","プロジェクトチャットの作成に失敗しました","サブタスク・コンパニオンを削除します","サブタスク時間の同期修正です","サブタスクはこの機能をサポートしません。","先方は電話番号を設定していません","現在の環境はこの動作を禁止しています","操作のグループタイプエラーです","このメッセージはこの操作をサポートしません","このメッセージは未処理をサポートしません。","プロジェクトリーダーの作業を禁止します","古い正しいパスワードをお願いします","正しい招待コードを入力してもらいます","正しいcaptchaの入力をお願いします","有効な新しい群集を選びます","正しい引き継ぎをお願いします","上の部門のレベルが間違っています","コピーフォルダには対応していません","古いメールアドレスと一致しません","自分で辞めることはできません","タスク記述は空ではいけません","会議トークンの作成に失敗しました","タスクの次のサイクルを修正します","タスク・コンパニオンを修正します","タスクの詳細を修正します","タスクのサイクルを変えます","サブタスクの優先度を変えます","サブタスクの背景色を変更します","サブタスク担当者を修正します","リスト名は空ではいけません","任務協力者を削除します","サブタスク担当者を削除します","匿名ロボットは存在しません","タスク時間の修正を同期させます","返信メッセージは存在しません","当面の会話は全員禁句です","現在の環境は修正を禁止します","フォルダ共有は非対応です","連絡先を確認できません","サブタスクが完了しました","サブタスクが未完了です","このメッセージは表記をサポートしません","メッセージは空にしてはいけません","メッセージ送信保存に失敗しました","電話の長さが間違っています","完全なパラメータをお願いします。","検索キーワードを入力します","新しいメールアドレスをお願いします","正しいリストを選びます","メールアドレスの書式が間違っています。","サイクル選択エラーを繰り返します","メンバーリストには入っていません","自分に委ねることはできません","所有者限定で操作します","タスク状態は存在しません","会話相手は存在しません","優先順位を変えます","タスクの背景色を変更します","修正作業責任者です","サブタスクリストを修正します","サブタスクの時間を修正します","サブジョブタイトルを修正します","サブタスク状態を修正します","修正部門は存在しません","キーワードは空ではいけません","フォルダー作成に失敗します","タスク担当者を削除します","サブタスクは複製禁止です","ワークフロー作成の失敗","アカウントまたはパスワードの誤りです","アカウント数が上限になりました。","データベースの接続に失敗しました","ファイルリンクが存在しません","しばらくこの操作を支持しません","任務は完了しました","タスク未完了をマークします","サブミッションのステータスを移譲します","電話番号は存在します","削除理由の記入をお願いします","登録して続きをお願いします。","連絡先の設定お願いします","ログインパスワードをお願いします","共有対象を選択します。","メールアドレスはあります","サブタスク状態をリセットします","リンクは使用済みです","エラーのタイプパラメータです","ライセンス保存に失敗しました","ライセンスのフォーマットが間違っています","招待コードは存在しません","自分を削除することはできません","群主操作のみに限定します","操作はグループ限定です","タスクキャンセルファイリング","会話の型違いです","あなたは群れの主です","タスクリストを修正します","タスクの時間を修正します","タスクタイトルを修正します。","タスクの状態を修正します","項目紹介を修正します","プロジェクト名を変更します","プロジェクトメンバーを修正します","グループ作成に失敗します","チャットの作成に失敗します","招待状を送ることに成功しました","画像保存の失敗です","画像フォーマットエラーです","サブタスク未完了です","アカウント停止しました…","当面の会話は禁句です","セッションを開くのに失敗します","ファイル共有エラーです","パスワードは新旧一致です","グループを作成できません","会話が始まりません","日付の選択ミスです","時間の選択が間違っています","未完成の仕事","この機能を開放していません","データはありません","任務を移譲します。","プロジェクトのアイデンティティを移譲します","移動位置を誤ります","メールボックスの結合に成功しました","自動ミッションファイリングです","会話の取得に失敗します","装置タイプエラーです","音声保存の失敗です","音声フォーマットの誤りです","話す時間が短すぎます","任務を先にお願いします","Captchaの入力をお願いします","グループメンバーを選択します","タスクの順番を変えます","リストの順序を調整します","指定メンバーを選択します","メールアドレスが違います","タスク状態をリセットします","プロジェクトキャンセルファイリング","Captchaは無効になりました","ライセンスの期限が切れました","チャンネルIDは存在しません","Apiインタフェース文書です","送り主ではありません","ミッションは存在しません","任務は完了しました","任務はファイリング済みです","タスク未ファイリングです","会話は存在しません","リストは存在しません","サブタスクを作成します","サブタスクを削除します","別名はすでに存在しています","先方は退職されました","仕事は完了しました","未処理はすでに完了しています","メンバーは存在しません","私のロボットです","ファイルは存在しません","任務を達成しません","未開放登録です","メッセージは存在しません","ユーザーは存在しません","プロジェクトを移管します","システム管理者です","引き取り手任務です","記録は存在しません","ニックネームの設定をお願いします","身分は無効になりました","原子任務を返します","間違った会話です","プロジェクトは存在しません","プロジェクトはファイリング済みです","項目は未保存です","Captchaエラーです","ライセンス無効です","IDパラメータが不足しています","@マイメッセージです","60s世界を読みます","アップロードに失敗します","個人種目です","仮アカウント番号です","タスク・ファイリング","使用説明書です","保存に成功しました","修正成功です","メンバー全員です","タスクを作成します","成功しました","プロジェクトを作成します","タスクを削除します。","削除失敗です","削除成功です","項目を削除します","参加できました","匿名のメッセージです","パラメータは空です","パラメータエラーです","送信成功です","キャンセル成功です","複製に成功します","パスワードの誤りです","ヘルプコマンドです","楽しい冗談です","心にしみます","送信に成功します","チェックインします","スキャンに成功しました","操作は成功しました","新築に成功します","無効接続です","権限が足りません","書き込みに成功しました","登録できます","成功を追加します","エラーを追加します","ログインできました","引き渡しは成功しました","移送成功です","型違いです","解散成功です","任務を引き取る","セットアップ成功です","成功を願います","調整成功です","転送成功です","譲渡に成功します","タスク還元です。","還元成功です","退出成功です","プロジェクトから抜ける","リセット成功です","プライバシーの説明です","プロジェクトファイリングです","検証に失敗します","検証が通ります","加入しました","新しいアカウントです","責任者です","IT情報です","人々","午前","午後","正午","臨時","夕方","未明","月曜日","水曜","火曜日","金曜日","土曜日に","木曜日","日曜日","朝","夜","深夜","超期","クリプトン36です","Error","状態[(*)]設定ミス、制限担当者を設定する場合は必ず状態担当者を記入します。","状態[(*)]設定ミス、除外モード設定時は必ず状態担当者を記入します。","状態[(*)]設定ミス、フローモード設定時に状態担当者を記入しなければなりません。","(*)内に共有ファイルが含まれており、他の共有フォルダへの移動はできません。","(*)現在共有中なので、別の共有フォルダに移動できません。","この(*)は既に[(*)]共有フォルダに入っており、重複共有はできません。","現在のステータス[(*)]はステータス担当者またはプロジェクト担当者のみが変更できます","ファイルやフォルダは1つのフォルダに1つまでしか作成できません(*)","新しいサイクルタスクID:(*)が作成され、このタスクはサイクルを閉じます。","1つのリストの未完了タスクは(*)個までです。","現在のバージョン(*)は低すぎる、最低バージョン要件(*)です。","部門メンバー、プロジェクトメンバー、タスクメンバーはngです(*)","一度に削除できるファイルやフォルダは(*)個までです","一度に移動できるのはファイル・フォルダ(*)個までです","各タスクのサブタスクは(*)個までとします。","プロジェクト内の未達成タスクは(*)個までとします。","1つの部門にできるのは、せいぜいサブ部門だけです(*)。","この待弁人員【(*)】のみのキャンセルをサポートします。","任務協力者は(*)までです。","時間が経過しましたので,このメッセージは撤回できません","ファイル名にこれらの文字を含めることはできません:(*)","職位\/職名は(*)文字までしか設定できません。","タスク記述は(*)文字まで設定できます。","担当者は(*)までです。","ファイル名は(*)文字まで設定できます","ファイルサイズ超限、最大制限します:(*)","ファイル形式エラー、制限タイプ:(*)です。","自働ファイリング時間(*)を超えてはいけません!","自働ファイリング時間は(*)日未満ではいけません!","項目紹介は(*)の文字までです。","プロジェクト名は(*)文字までです。","作成タスクはサイクルタスクID:(*)から来ます。","現在の状態[(*)]は[(*)]にフローできません。","職位\/職名は(*)字以下ではいけません。","(*)説明は(*)文字までしか設定できません","一度に取れるデータは(*)1つまでです。","【(*)】ステータスのみのタスクファイリングです。","タスク時間を修正します(備考:(*))","ファイル名は(*)字以下ではいけません。","プロセスステータスは(*)個までとします。","メッセージの内容は(*)字までです。","項目リストは(*)個までとします。","項目名は(*)字以下ではいけません。","パスワードは(*)桁まで設定できます","パスワード設定は(*)の桁を超えてはいけません。","ニックネームの設定は(*)までです。","MACアドレスは(*)個までしか追加できません","部門名長さ制限(*)文字です","【(*)】ファイルリンクが存在しません。","共有人数上限(*)メンバー数です。","導出メンバーの制限は最大(*)個です。","日付の範囲は最大(*)日に制限します。","制限時間は最大(*)日です。","ニックネームは(*)字以下ではいけません。","(*)の部署に入れるのが限度です。","(*)部署を作るのがせいぜいです。","(*) 1つのデータまでしか操作できません。","(*)反復タスクの生成に失敗します。","グループ名の最長制限(*)文字です","少なくとも(*)スタート状態が必要です","少なくとも(*)の終了状態が必要です","部門名には(*)は含まれません。","(*)他のメンバーによって設定されています","(*)担当者の記入ミスです","リスト名を修正します:(*)","リストの色を修正します:(*)","グループ名の少なくとも(*)文字です","人数が一番多い(*)項目です。","(*)記述は空ではありません","失敗、(*)を導き出します!","グループのメンバーは少なくとも(*)人です","作成タスク:(*)です。","リストを作成します(*)","リストを削除します:(*)","マークアップサブタスク(*)です。","(*)アップロードできました","マークタスク(*)です。","群主不可(*)です。"] \ No newline at end of file diff --git a/public/language/api/key.json b/public/language/api/key.json index eee537549..8fad83dbf 100644 --- a/public/language/api/key.json +++ b/public/language/api/key.json @@ -1 +1 @@ -{"密码不能全是数字+大写字母,密码包含数字,字母大小写或者特殊字符":0,"密码不能全是数字+小写字母,密码包含数字,字母大小写或者特殊字符":1,"仅限项目负责人、任务负责人、协助人员或任务创建者操作":2,"密码不能全是字母,请包含数字,字母大小写或者特殊字符":3,"密码不能全是数字,请包含数字,字母大小写或者特殊字符":4,"您还没有验证邮箱,请先登录邮箱通过验证邮件验证邮箱":5,"邮件内容被拒绝,请检查邮箱是否开启接收功能":6,"注册时系统自动创建项目,你可以自由删除。":7,"子任务开始时间不能小于主任务开始时间":8,"子任务结束时间不能大于主任务结束时间":9,"主任务已完成,无法修改子任务状态":10,"交接人已离职,请选择另一个交接人":11,"仅限项目或任务负责人修改任务状态":12,"会议功能未开启,请联系管理员开启":13,"无法退出共享所有人的文件或文件夹":14,"此功能未开启,请前往系统设置开启":15,"会议功能配置错误,请联系管理员":16,"此功能未开启,请联系管理员开启":17,"个人项目已存在,无须重复创建":18,"只有群主或邀请人可以移出成员":19,"您的帐号已注册过,请验证邮箱":20,"未开放修改权限,请联系管理员":21,"链接已失效,请重新登录\/注册":22,"主任务已完成无法添加子任务":23,"含有子部门无法修改上级部门":24,"注册成功,请验证邮箱后登录":25,"项目不存在或不在成员列表内":26,"上级部门不存在或已被删除":27,"任务列表不存在或已被删除":28,"匿名消息仅允许发送给个人":29,"历史数据不存在或已被删除":30,"此文件夹内已有共享文件夹":31,"请选择删除的文件或文件夹":32,"请选择移动的文件或文件夹":33,"部门名称不能包含特殊符号":34,"不能退出自己共享的文件":35,"您没有选择要上传的文件":36,"打包失败,请稍后再试...":37,"此会话不允许设置免打扰":38,"请输入正确的收件人地址":39,"请选择正确的部门负责人":40,"请传入正确的工作汇报Id":41,"请开启您PHP环境的openssl":42,"身份已失效,请重新登录":43,"与当前登录邮箱不一致":44,"仅支持修改自己的消息":45,"会话不存在或已被删除":46,"加入失败,请稍后再试":47,"匿名机器人会话不存在":48,"匿名消息功能暂停使用":49,"对话不存在或已被删除":50,"成员不存在或已被删除":51,"文件不存在或已被删除":52,"流程不存在或已被删除":53,"消息不存在或已被删除":54,"请勿重复提交工作汇报":55,"请输入正确的邮箱地址":56,"请选择转发对话或成员":57,"身份失效,等重新登录":58,"选择现有聊天群不存在":59,"通过邀请链接加入项目":60,"部门不存在或已被删除":61,"项目不存在或已被删除":62,"LDAP 用户禁止修改邮箱":63,"仅限项目负责人操作":64,"任务状态未发生改变":65,"修改子任务下个周期":66,"修改子任务协助人员":67,"修改子任务详细描述":68,"修改子任务重复周期":69,"创建项目聊天室失败":70,"删除子任务协助人员":71,"同步修改子任务时间":72,"子任务不支持此功能":73,"对方未设置联系电话":74,"当前环境禁止此操作":75,"操作的群组类型错误":76,"此消息不支持此操作":77,"此消息不支持设待办":78,"禁止项目负责人操作":79,"请填写正确的旧密码":80,"请输入正确的邀请码":81,"请输入正确的验证码":82,"请选择有效的新群主":83,"请选择正确的交接人":84,"上级部门层级错误":85,"不支持复制文件夹":86,"不能与旧邮箱一致":87,"不能操作自己离职":88,"任务描述不能为空":89,"会议令牌创建失败":90,"修改任务下个周期":91,"修改任务协助人员":92,"修改任务详细描述":93,"修改任务重复周期":94,"修改子任务优先级":95,"修改子任务背景色":96,"修改子任务负责人":97,"列表名称不能为空":98,"删除任务协助人员":99,"删除子任务负责人":100,"匿名机器人不存在":101,"同步修改任务时间":102,"回复的消息不存在":103,"当前会话全员禁言":104,"当前环境禁止修改":105,"文件夹不支持分享":106,"无法查看联系电话":107,"标记子任务已完成":108,"标记子任务未完成":109,"此消息不支持标注":110,"消息内容不能为空":111,"消息发送保存失败":112,"联系电话长度错误":113,"请输入搜索关键词":114,"请输入新邮箱地址":115,"请选择正确的列表":116,"邮箱地址格式错误":117,"重复周期选择错误":118,"不在成员列表内":119,"不能移交给自己":120,"仅限所有者操作":121,"任务状态不存在":122,"会话对象不存在":123,"修改任务优先级":124,"修改任务背景色":125,"修改任务负责人":126,"修改子任务列表":127,"修改子任务时间":128,"修改子任务标题":129,"修改子任务状态":130,"修改部门不存在":131,"关键词不能为空":132,"创建文件夹失败":133,"删除任务负责人":134,"子任务禁止复制":135,"工作流创建失败":136,"帐号或密码错误":137,"帐号数量已上限":138,"数据库连接失败":139,"文件链接不存在":140,"暂不支持此操作":141,"标记任务已完成":142,"标记任务未完成":143,"移交子任务身份":144,"联系电话已存在":145,"请填写删除原因":146,"请登录后继续...":147,"请设置联系电话":148,"请输入登录密码":149,"请选择共享对象":150,"邮箱地址已存在":151,"重置子任务状态":152,"链接已经使用过":153,"错误的类型参数":154,"LICENSE 保存失败":155,"LICENSE 格式错误":156,"邀请code不存在":157,"不能删除自己":158,"仅限群主操作":159,"仅限群组操作":160,"任务取消归档":161,"会话类型错误":162,"你已经是群主":163,"修改任务列表":164,"修改任务时间":165,"修改任务标题":166,"修改任务状态":167,"修改项目介绍":168,"修改项目名称":169,"修改项目成员":170,"创建群组失败":171,"创建聊天失败":172,"发送邀请成功":173,"图片保存失败":174,"图片格式错误":175,"子任务未完成":176,"帐号已停用...":177,"当前会话禁言":178,"打开会话失败":179,"文件分享错误":180,"新旧密码一致":181,"无法创建群组":182,"无法发起会话":183,"日期选择错误":184,"时间选择错误":185,"未完成的工作":186,"未开放此功能":187,"没有任何数据":188,"移交任务身份":189,"移交项目身份":190,"移动位置错误":191,"绑定邮箱成功":192,"自动任务归档":193,"获取会话失败":194,"设备类型错误":195,"语音保存失败":196,"语音格式错误":197,"说话时间太短":198,"请先领取任务":199,"请输入验证码":200,"请选择群成员":201,"调整任务排序":202,"调整列表排序":203,"选择指定成员":204,"邮箱地址错误":205,"重置任务状态":206,"项目取消归档":207,"验证码已失效":208,"LICENSE 已过期":209,"频道ID不存在":210,"Api接口文档":211,"不是发送人":212,"任务不存在":213,"任务已完成":214,"任务已归档":215,"任务未归档":216,"会话不存在":217,"列表不存在":218,"创建子任务":219,"删除子任务":220,"别名已存在":221,"对方已离职":222,"已完成工作":223,"待办已完成":224,"成员不存在":225,"我的机器人":226,"文件不存在":227,"未完成任务":228,"未开放注册":229,"消息不存在":230,"用户不存在":231,"移交项目给":232,"系统管理员":233,"认领子任务":234,"记录不存在":235,"请设置昵称":236,"身份已失效":237,"还原子任务":238,"错误的会话":239,"项目不存在":240,"项目已归档":241,"项目未归档":242,"验证码错误":243,"LICENSE 无效":244,"缺少ID参数":245,"@我的消息":246,"60s读世界":247,"上传失败":248,"个人项目":249,"临时帐号":250,"任务归档":251,"使用说明":252,"保存成功":253,"修改成功":254,"全体成员":255,"创建任务":256,"创建成功":257,"创建项目":258,"删除任务":259,"删除失败":260,"删除成功":261,"删除项目":262,"加入成功":263,"匿名消息":264,"参数为空":265,"参数错误":266,"发送成功":267,"取消成功":268,"复制成功":269,"密码错误":270,"帮助指令":271,"开心笑话":272,"心灵鸡汤":273,"成功发送":274,"我要签到":275,"扫码成功":276,"操作成功":277,"新建成功":278,"无效连接":279,"权限不足":280,"标注成功":281,"注册成功":282,"添加成功":283,"添加错误":284,"登录成功":285,"移交成功":286,"移出成功":287,"类型错误":288,"解散成功":289,"认领任务":290,"设置成功":291,"请求成功":292,"调整成功":293,"转发成功":294,"转让成功":295,"还原任务":296,"还原成功":297,"退出成功":298,"退出项目":299,"重置成功":300,"隐私说明":301,"项目归档":302,"验证失败":303,"验证通过":304,"已加入":305,"新帐号":306,"负责人":307,"IT资讯":308,"success":309,"上午":310,"下午":311,"中午":312,"临时":313,"傍晚":314,"凌晨":315,"周一":316,"周三":317,"周二":318,"周五":319,"周六":320,"周四":321,"周日":322,"早晨":323,"晚上":324,"深夜":325,"超期":326,"36氪":327,"error":328,"状态[(*)]设置错误,设置限制负责人时必须填写状态负责人":329,"状态[(*)]设置错误,设置剔除模式时必须填写状态负责人":330,"状态[(*)]设置错误,设置流转模式时必须填写状态负责人":331,"(*) 内含有共享文件,无法移动到另一个共享文件夹内":332,"(*) 当前正在共享,无法移动到另一个共享文件夹内":333,"此(*)已经处于【(*)】共享文件夹中,无法重复共享":334,"当前状态[(*)]仅限状态负责人或项目负责人修改":335,"每个文件夹里最多只能创建(*)个文件或文件夹":336,"已创建新的周期任务ID:(*),此任务关闭周期":337,"单个列表未完成任务最多不能超过(*)个":338,"当前版本 (*) 过低,最低版本要求 (*)。":339,"部门成员、项目人员或任务人员不可(*)":340,"一次最多只能删除(*)个文件或文件夹":341,"一次最多只能移动(*)个文件或文件夹":342,"每个任务的子任务最多不能超过(*)个":343,"项目内未完成任务最多不能超过(*)个":344,"每个部门最多只能创建(*)个子部门":345,"仅支持设此待办人员【(*)】取消":346,"任务协助人员最多不能超过(*)个":347,"已超过(*)小时,此消息不能撤回":348,"文件名称不能包含这些字符:(*)":349,"职位\/职称最多只能设置(*)个字":350,"任务描述最多只能设置(*)个字":351,"任务负责人最多不能超过(*)个":352,"文件名称最多只能设置(*)个字":353,"文件大小超限,最大限制:(*)":354,"文件格式错误,限制类型:(*)":355,"自动归档时间不可大于(*)天!":356,"自动归档时间不可小于(*)天!":357,"项目介绍最多只能设置(*)个字":358,"项目名称最多只能设置(*)个字":359,"创建任务来自周期任务ID:(*)":360,"当前状态[(*)]不可流转到[(*)]":361,"职位\/职称不可以少于(*)个字":362,"(*)描述最多只能设置(*)个字":363,"一次最多只能获取(*)条数据":364,"仅限【(*)】状态的任务归档":365,"修改任务时间(备注:(*))":366,"文件名称不可以少于(*)个字":367,"流程状态最多不能超过(*)个":368,"消息内容最大不能超过(*)字":369,"项目列表最多不能超过(*)个":370,"项目名称不可以少于(*)个字":371,"密码最多只能设置(*)位数":372,"密码设置不能小于(*)位数":373,"昵称最多只能设置(*)个字":374,"最多只能添加(*)个MAC地址":375,"部门名称长度限制(*)个字":376,"【(*)】 文件链接不存在":377,"共享人数上限(*)个成员":378,"导出成员限制最多(*)个":379,"日期范围限制最大(*)天":380,"时间范围限制最大(*)天":381,"昵称不可以少于(*)个字":382,"最多只可加入(*)个部门":383,"最多只能创建(*)个部门":384,"最多只能操作(*)条数据":385,"生成重复任务失败:(*)":386,"群名称最长限制(*)个字":387,"至少需要(*)个开始状态":388,"至少需要(*)个结束状态":389,"部门名称不能包含:(*)":390,"(*) 已被其他成员设置":391,"(*)负责人填写错误":392,"修改列表名称:(*)":393,"修改列表颜色:(*)":394,"群名称至少(*)个字":395,"项目人数最多(*)个":396,"(*)描述不能为空":397,"导出失败,(*)!":398,"群成员至少(*)人":399,"创建任务:(*)":400,"创建列表:(*)":401,"删除列表:(*)":402,"标记子任务(*)":403,"(*)上传成功":404,"标记任务(*)":405,"群主不可(*)":406} \ No newline at end of file +{"密码不能全是数字+大写字母,密码包含数字,字母大小写或者特殊字符":0,"密码不能全是数字+小写字母,密码包含数字,字母大小写或者特殊字符":1,"仅限项目负责人、任务负责人、协助人员或任务创建者操作":2,"密码不能全是字母,请包含数字,字母大小写或者特殊字符":3,"密码不能全是数字,请包含数字,字母大小写或者特殊字符":4,"您还没有验证邮箱,请先登录邮箱通过验证邮件验证邮箱":5,"邮件内容被拒绝,请检查邮箱是否开启接收功能":6,"注册时系统自动创建项目,你可以自由删除。":7,"子任务开始时间不能小于主任务开始时间":8,"子任务结束时间不能大于主任务结束时间":9,"主任务已完成,无法修改子任务状态":10,"交接人已离职,请选择另一个交接人":11,"仅限项目或任务负责人修改任务状态":12,"会议功能未开启,请联系管理员开启":13,"无法退出共享所有人的文件或文件夹":14,"此功能未开启,请前往系统设置开启":15,"会议功能配置错误,请联系管理员":16,"此功能未开启,请联系管理员开启":17,"个人项目已存在,无须重复创建":18,"只有群主或邀请人可以移出成员":19,"您的帐号已注册过,请验证邮箱":20,"未开放修改权限,请联系管理员":21,"链接已失效,请重新登录\/注册":22,"主任务已完成无法添加子任务":23,"含有子部门无法修改上级部门":24,"注册成功,请验证邮箱后登录":25,"项目不存在或不在成员列表内":26,"上级部门不存在或已被删除":27,"任务列表不存在或已被删除":28,"匿名消息仅允许发送给个人":29,"历史数据不存在或已被删除":30,"此文件夹内已有共享文件夹":31,"请选择删除的文件或文件夹":32,"请选择移动的文件或文件夹":33,"部门名称不能包含特殊符号":34,"不能退出自己共享的文件":35,"您没有选择要上传的文件":36,"打包失败,请稍后再试...":37,"此会话不允许设置免打扰":38,"请输入正确的收件人地址":39,"请选择正确的部门负责人":40,"请传入正确的工作汇报Id":41,"请开启您PHP环境的openssl":42,"身份已失效,请重新登录":43,"与当前登录邮箱不一致":44,"仅支持修改自己的消息":45,"会话不存在或已被删除":46,"加入失败,请稍后再试":47,"匿名机器人会话不存在":48,"匿名消息功能暂停使用":49,"对话不存在或已被删除":50,"成员不存在或已被删除":51,"文件不存在或已被删除":52,"流程不存在或已被删除":53,"消息不存在或已被删除":54,"请勿重复提交工作汇报":55,"请输入正确的邮箱地址":56,"请选择转发对话或成员":57,"身份失效,等重新登录":58,"选择现有聊天群不存在":59,"通过邀请链接加入项目":60,"部门不存在或已被删除":61,"项目不存在或已被删除":62,"LDAP 用户禁止修改邮箱":63,"仅限项目负责人操作":64,"任务状态未发生改变":65,"修改子任务下个周期":66,"修改子任务协助人员":67,"修改子任务详细描述":68,"修改子任务重复周期":69,"创建项目聊天室失败":70,"删除子任务协助人员":71,"同步修改子任务时间":72,"子任务不支持此功能":73,"对方未设置联系电话":74,"当前环境禁止此操作":75,"操作的群组类型错误":76,"此消息不支持此操作":77,"此消息不支持设待办":78,"禁止项目负责人操作":79,"请填写正确的旧密码":80,"请输入正确的邀请码":81,"请输入正确的验证码":82,"请选择有效的新群主":83,"请选择正确的交接人":84,"上级部门层级错误":85,"不支持复制文件夹":86,"不能与旧邮箱一致":87,"不能操作自己离职":88,"任务描述不能为空":89,"会议令牌创建失败":90,"修改任务下个周期":91,"修改任务协助人员":92,"修改任务详细描述":93,"修改任务重复周期":94,"修改子任务优先级":95,"修改子任务背景色":96,"修改子任务负责人":97,"列表名称不能为空":98,"删除任务协助人员":99,"删除子任务负责人":100,"匿名机器人不存在":101,"同步修改任务时间":102,"回复的消息不存在":103,"当前会话全员禁言":104,"当前环境禁止修改":105,"文件夹不支持分享":106,"无法查看联系电话":107,"标记子任务已完成":108,"标记子任务未完成":109,"此消息不支持标注":110,"消息内容不能为空":111,"消息发送保存失败":112,"联系电话长度错误":113,"请填写完整的参数":114,"请输入搜索关键词":115,"请输入新邮箱地址":116,"请选择正确的列表":117,"邮箱地址格式错误":118,"重复周期选择错误":119,"不在成员列表内":120,"不能移交给自己":121,"仅限所有者操作":122,"任务状态不存在":123,"会话对象不存在":124,"修改任务优先级":125,"修改任务背景色":126,"修改任务负责人":127,"修改子任务列表":128,"修改子任务时间":129,"修改子任务标题":130,"修改子任务状态":131,"修改部门不存在":132,"关键词不能为空":133,"创建文件夹失败":134,"删除任务负责人":135,"子任务禁止复制":136,"工作流创建失败":137,"帐号或密码错误":138,"帐号数量已上限":139,"数据库连接失败":140,"文件链接不存在":141,"暂不支持此操作":142,"标记任务已完成":143,"标记任务未完成":144,"移交子任务身份":145,"联系电话已存在":146,"请填写删除原因":147,"请登录后继续...":148,"请设置联系电话":149,"请输入登录密码":150,"请选择共享对象":151,"邮箱地址已存在":152,"重置子任务状态":153,"链接已经使用过":154,"错误的类型参数":155,"LICENSE 保存失败":156,"LICENSE 格式错误":157,"邀请code不存在":158,"不能删除自己":159,"仅限群主操作":160,"仅限群组操作":161,"任务取消归档":162,"会话类型错误":163,"你已经是群主":164,"修改任务列表":165,"修改任务时间":166,"修改任务标题":167,"修改任务状态":168,"修改项目介绍":169,"修改项目名称":170,"修改项目成员":171,"创建群组失败":172,"创建聊天失败":173,"发送邀请成功":174,"图片保存失败":175,"图片格式错误":176,"子任务未完成":177,"帐号已停用...":178,"当前会话禁言":179,"打开会话失败":180,"文件分享错误":181,"新旧密码一致":182,"无法创建群组":183,"无法发起会话":184,"日期选择错误":185,"时间选择错误":186,"未完成的工作":187,"未开放此功能":188,"没有任何数据":189,"移交任务身份":190,"移交项目身份":191,"移动位置错误":192,"绑定邮箱成功":193,"自动任务归档":194,"获取会话失败":195,"设备类型错误":196,"语音保存失败":197,"语音格式错误":198,"说话时间太短":199,"请先领取任务":200,"请输入验证码":201,"请选择群成员":202,"调整任务排序":203,"调整列表排序":204,"选择指定成员":205,"邮箱地址错误":206,"重置任务状态":207,"项目取消归档":208,"验证码已失效":209,"LICENSE 已过期":210,"频道ID不存在":211,"Api接口文档":212,"不是发送人":213,"任务不存在":214,"任务已完成":215,"任务已归档":216,"任务未归档":217,"会话不存在":218,"列表不存在":219,"创建子任务":220,"删除子任务":221,"别名已存在":222,"对方已离职":223,"已完成工作":224,"待办已完成":225,"成员不存在":226,"我的机器人":227,"文件不存在":228,"未完成任务":229,"未开放注册":230,"消息不存在":231,"用户不存在":232,"移交项目给":233,"系统管理员":234,"认领子任务":235,"记录不存在":236,"请设置昵称":237,"身份已失效":238,"还原子任务":239,"错误的会话":240,"项目不存在":241,"项目已归档":242,"项目未归档":243,"验证码错误":244,"LICENSE 无效":245,"缺少ID参数":246,"@我的消息":247,"60s读世界":248,"上传失败":249,"个人项目":250,"临时帐号":251,"任务归档":252,"使用说明":253,"保存成功":254,"修改成功":255,"全体成员":256,"创建任务":257,"创建成功":258,"创建项目":259,"删除任务":260,"删除失败":261,"删除成功":262,"删除项目":263,"加入成功":264,"匿名消息":265,"参数为空":266,"参数错误":267,"发送成功":268,"取消成功":269,"复制成功":270,"密码错误":271,"帮助指令":272,"开心笑话":273,"心灵鸡汤":274,"成功发送":275,"我要签到":276,"扫码成功":277,"操作成功":278,"新建成功":279,"无效连接":280,"权限不足":281,"标注成功":282,"注册成功":283,"添加成功":284,"添加错误":285,"登录成功":286,"移交成功":287,"移出成功":288,"类型错误":289,"解散成功":290,"认领任务":291,"设置成功":292,"请求成功":293,"调整成功":294,"转发成功":295,"转让成功":296,"还原任务":297,"还原成功":298,"退出成功":299,"退出项目":300,"重置成功":301,"隐私说明":302,"项目归档":303,"验证失败":304,"验证通过":305,"已加入":306,"新帐号":307,"负责人":308,"IT资讯":309,"success":310,"上午":311,"下午":312,"中午":313,"临时":314,"傍晚":315,"凌晨":316,"周一":317,"周三":318,"周二":319,"周五":320,"周六":321,"周四":322,"周日":323,"早晨":324,"晚上":325,"深夜":326,"超期":327,"36氪":328,"error":329,"状态[(*)]设置错误,设置限制负责人时必须填写状态负责人":330,"状态[(*)]设置错误,设置剔除模式时必须填写状态负责人":331,"状态[(*)]设置错误,设置流转模式时必须填写状态负责人":332,"(*) 内含有共享文件,无法移动到另一个共享文件夹内":333,"(*) 当前正在共享,无法移动到另一个共享文件夹内":334,"此(*)已经处于【(*)】共享文件夹中,无法重复共享":335,"当前状态[(*)]仅限状态负责人或项目负责人修改":336,"每个文件夹里最多只能创建(*)个文件或文件夹":337,"已创建新的周期任务ID:(*),此任务关闭周期":338,"单个列表未完成任务最多不能超过(*)个":339,"当前版本 (*) 过低,最低版本要求 (*)。":340,"部门成员、项目人员或任务人员不可(*)":341,"一次最多只能删除(*)个文件或文件夹":342,"一次最多只能移动(*)个文件或文件夹":343,"每个任务的子任务最多不能超过(*)个":344,"项目内未完成任务最多不能超过(*)个":345,"每个部门最多只能创建(*)个子部门":346,"仅支持设此待办人员【(*)】取消":347,"任务协助人员最多不能超过(*)个":348,"已超过(*)小时,此消息不能撤回":349,"文件名称不能包含这些字符:(*)":350,"职位\/职称最多只能设置(*)个字":351,"任务描述最多只能设置(*)个字":352,"任务负责人最多不能超过(*)个":353,"文件名称最多只能设置(*)个字":354,"文件大小超限,最大限制:(*)":355,"文件格式错误,限制类型:(*)":356,"自动归档时间不可大于(*)天!":357,"自动归档时间不可小于(*)天!":358,"项目介绍最多只能设置(*)个字":359,"项目名称最多只能设置(*)个字":360,"创建任务来自周期任务ID:(*)":361,"当前状态[(*)]不可流转到[(*)]":362,"职位\/职称不可以少于(*)个字":363,"(*)描述最多只能设置(*)个字":364,"一次最多只能获取(*)条数据":365,"仅限【(*)】状态的任务归档":366,"修改任务时间(备注:(*))":367,"文件名称不可以少于(*)个字":368,"流程状态最多不能超过(*)个":369,"消息内容最大不能超过(*)字":370,"项目列表最多不能超过(*)个":371,"项目名称不可以少于(*)个字":372,"密码最多只能设置(*)位数":373,"密码设置不能小于(*)位数":374,"昵称最多只能设置(*)个字":375,"最多只能添加(*)个MAC地址":376,"部门名称长度限制(*)个字":377,"【(*)】 文件链接不存在":378,"共享人数上限(*)个成员":379,"导出成员限制最多(*)个":380,"日期范围限制最大(*)天":381,"时间范围限制最大(*)天":382,"昵称不可以少于(*)个字":383,"最多只可加入(*)个部门":384,"最多只能创建(*)个部门":385,"最多只能操作(*)条数据":386,"生成重复任务失败:(*)":387,"群名称最长限制(*)个字":388,"至少需要(*)个开始状态":389,"至少需要(*)个结束状态":390,"部门名称不能包含:(*)":391,"(*) 已被其他成员设置":392,"(*)负责人填写错误":393,"修改列表名称:(*)":394,"修改列表颜色:(*)":395,"群名称至少(*)个字":396,"项目人数最多(*)个":397,"(*)描述不能为空":398,"导出失败,(*)!":399,"群成员至少(*)人":400,"创建任务:(*)":401,"创建列表:(*)":402,"删除列表:(*)":403,"标记子任务(*)":404,"(*)上传成功":405,"标记任务(*)":406,"群主不可(*)":407} \ No newline at end of file diff --git a/public/language/api/ko.json b/public/language/api/ko.json index fa6a38619..cba1b811f 100644 --- a/public/language/api/ko.json +++ b/public/language/api/ko.json @@ -1 +1 @@ -["비밀번호는 수자와 대문자로만 되여서는 안되며 숫자, 자모 대소문자 또는 특수문자를 포함하여야 한다","비밀번호는 모두 숫자 + 소문자일수는 없으며 숫자, 자모 대소문자 또는 특수문자를 포함해야 한다","이는 프로젝트 책임자, 업무 책임자, 협조자 또는 업무 작성자에게만 허용됩니다","비밀번호는 모두 문자로 할 수 없습니다. 숫자, 문자 대소문자 또는 특수 문자를 포함하십시오","비밀번호는 숫자로 할 수 없습니다. 숫자, 문자 대소문자 또는 특수 문자를 포함하십시오","전자메일 인증을 하지 않았습니다. 먼저 전자메일 인증을 위해 로그인하십시오","전자메일 내용이 거부되었습니다. 메일함의 수신이 켜져 있는지 확인하십시오","등록할 때 시스템이 자동으로 항목을 생성하며, 자유롭게 삭제할 수 있다.","하위 작업의 시작 시간은 주 작업의 시작 시간보다 작으면 안 된다","하위 작업의 종료 시간은 주 작업의 종료 시간보다 길어서는 안 된다","주 작업이 완료되었습니다. 하위 작업의 상태를 수정할 수 없습니다","인수인이 이미 떠났으니, 다른 인수인을 선택하십시오","프로젝트 또는 작업 책임자만 작업 상태를 수정할 수 있습니다","회의 기능이 켜져 있지 않습니다. 관리자에게 연락하여 켜십시오","모든 공유된 파일이나 폴더를 종료할 수 없습니다","이 기능이 활성화되어 있지 않습니다. 시스템 설정으로 이동하십시오","회의 기능 설정에 오류가 발생했습니다. 관리자에게 문의하십시오","이 기능이 켜져 있지 않습니다. 관리자에게 연락하여 켜십시오","개인 항목이 이미 존재하므로 다시 만들 필요가 없습니다","군주 (군주) 또는 초대인 (초대인) 만이 구성원에서 벗어날 수 있다","계정이 이미 가입되어 있습니다. 이메일을 확인하십시오","변경 권한이 열려 있지 않습니다. 관리자에게 문의하십시오","링크가 더 이상 작동하지 않습니다. 다시 로그인\/등록하십시오","주 작업은 끝났으며, 하위 작업을 추가할 수 없습니다","하위 부서를 포함해서 상위 부서를 수정할 수 없다","등록했습니다. 메일 확인 후 로그인해주세요","항목이 존재하지 않거나 멤버 목록에 없습니다","상급 기관은 존재하지 않거나 삭제되어 있다","작업 목록이 존재하지 않거나 삭제되었습니다","익명의 메시지는 개인에게만 보낼 수 있습니다","과거 기록 자료가 존재하지 않거나 삭제되었습니다","이 폴더에 공유 폴더가 있습니다","삭제할 파일이나 폴더를 선택하십시오","이동할 파일이나 폴더를 선택하십시오","부문명에는 특수부호가 포함되지 않는다","공유한 파일을 종료할 수 없습니다","업로드할 파일을 선택하지 않았습니다","압축에 실패했습니다. 나중에 다시 시도하십시오...","이 세션에 방해 없음 설정이 허용되지 않습니다","정확한 수취인 주소를 입력해 주세요","적합한 부서장을 뽑으십시오","올바른 작업 보고 id를 입력하십시오","Php 환경에서 openssl을 시작하십시오","신분이 이미 유효하지 않습니다. 다시 로그인하십시오","현재 로그인 메일함과 일치하지 않습니다","메시지만 수정할 수 있습니다","세션이 존재하지 않거나 삭제되었습니다","가입에 실패했습니다. 잠시 후에 다시 시도하십시오","익명의 로봇 세션이 존재하지 않습니다","익명 메시지 사용을 일시 중지합니다","이 대화는 존재하지 않거나 삭제되었습니다","멤버가 존재하지 않거나 삭제되었습니다","파일이 존재하지 않거나 삭제되었습니다","스트림이 존재하지 않거나 삭제되었습니다","메시지가 존재하지 않거나 삭제되었습니다","업무 보고서를 중복 제출하지 마시오","정확한 우편함 주소를 입력해 주세요","대화나 멤버 전송을 선택하십시오","효력이 상실되어 재로그인","현재 그룹이 존재하지 않습니다","초대장 링크를 통해 아이템을 추가하세요","부서가 존재하지 않거나 이미 삭제되었다","항목이 존재하지 않거나 삭제되었습니다","Ldap 사용자는 메일함을 변경할 수 없다","프로젝트 책임자만 조작한다","작업 상태가 바뀌지 않았습니다","하위 작업의 다음 주기를 수정합니다","하위 작업 도우미를 수정합니다","세부 작업에 대한 설명을 수정합니다","하위 작업의 반복 주기를 수정합니다","프로젝트 방을 만들 수 없습니다","하위 작업 도우미를 삭제합니다","하위 작업 시간 동기화","이 기능은 하위 작업에서 지원되지 않습니다","상대방이 연락처를 설정하지 않았습니다","현재 환경에서는 사용하지 않습니다","작업의 그룹 형식이 잘못되었습니다","이 메시지는이 작업을 지원하지 않습니다","이 메시지는 업무 설정을 지원하지 않습니다","프로젝트책임자의 조작을 금지한다","옛 비밀번호를 정확하게 기입해 주세요","올바른 초대번호를 입력해주세요","정확한 인증 번호를 입력해주세요","유효한 새 군주를 선택하십시오","올바른 인수인을 정하세요","상급 부서 차원의 오류","폴더 복사는 지원되지 않습니다","이전 편지함과 일치할 수 없습니다","스스로 이직을 해서는 안 된다","작업 설명은 비어 있을 수 없습니다","세션 토큰을 만들 수 없습니다","작업의 다음 주기를 수정합니다","작업 지원 인원을 수정합니다","작업에 대한 자세한 설명을 수정합니다","작업 반복 주기를 변경합니다","하위 작업의 우선 순위를 수정합니다","하위 작업 배경색을 수정합니다","하위 업무 책임자 수정","목록 이름은 비어 있을 수 없습니다","작업 도움말을 삭제합니다","하위 작업 책임자를 삭제합니다","익명의 로봇은 존재하지 않습니다","동시 변경 작업 시간","회신한 메시지는 존재하지 않았다","현재 모든 회화에 대해 침묵을 지킵니다","현재 환경에서는 수정을 금지한다","폴더에서 공유를 지원하지 않습니다","연락처를 볼 수 없습니다","하위 작업이 완료되었습니다","하위 작업을 완료하지 않았습니다","메시지에 주석을 다는 것은 지원되지 않습니다","메시지가 비어 있으면 안 됩니다","메시지 보내기 저장에 실패했습니다","전화 연결 길이가 잘못되었습니다","검색어를 입력하세요","새 이메일 주소를 입력하십시오","올바른 목록을 선택하세요","전자 우편 주소의 형식이 잘못되었습니다","주기 반복 선택 잘못","목록에 없음","자기에게 넘겨줄 수 없다","소유자만 조작할 수 있습니다","작업 상태가 존재하지 않습니다","세션 객체가 존재하지 않습니다","작업 우선 순위를 수정합니다","작업 배경색을 수정합니다","임무 책임자 수정","하위 작업 목록을 수정합니다","하위 작업 시간을 수정합니다","하위 작업 제목을 수정합니다","하위 작업의 상태를 수정합니다","수정 섹션이 존재하지 않습니다","키워드는 비어 있으면 안 됩니다","폴더를 만들 수 없습니다","작업 관리자 삭제","하위 작업 복제는 금지되어 있습니다","작업 흐름을 만들 수 없습니다","계정 또는 비밀번호가 잘못되었습니다","계정의 최대 수량이 설정되었습니다","데이터베이스 연결 실패","파일 링크가 존재하지 않습니다","이 작업은 지원하지 않습니다","태그 작업이 완료되었습니다","태그 작업이 완료되지 않았습니다","하위 작업 정체성을 넘겨줍니다","연락처가 이미 존재합니다","삭제 이유를 기재해주세요","로그인 후 계속하십시오...","연락처 번호를 설정해 주세요","로그인 비밀번호를 입력하십시오","공유 대상을 선택하십시오","전자 우편 주소가 이미 존재합니다","하위 작업의 상태를 초기화합니다","링크가 이미 사용되었습니다","잘못된 형식 인자입니다","라이선스 저장에 실패했습니다","라이선스 형식 오류","초대장 code 가 존재하지 않습니다","자신을 지울 수 없음","그룹 마스터 작업만 가능합니다","그룹에서만 작동합니다","작업 압축 해제","세션 형식 오류","당신은 이미 군주입니다","작업 목록 변경","작업 시간 수정하기","작업 제목 수정","작업 상태 수정","항목 소개 수정","항목 이름 수정","프로젝트 구성원 수정","그룹을 만들 수 없습니다","대화 생성 실패","성공적으로 초대장을 보냈습니다","그림 저장 실패","그림 포맷 오류","하위 작업이 완료되지 않았습니다","계정이 비활성화됨...","현재 대화에서는 사용하지 않습니다","세션을 여는 데 실패했습니다","파일 공유 오류","신구 암호가 일치하다","그룹을 만들 수 없습니다","세션을 시작할 수 없음","날짜 선택 오류","시간 선택 오류","미완의 작업","이 기능이 열려 있지 않습니다","어떤 데이터도 가지고 있지 않습니다.","작업 정체성 전환","프로젝트 정체성 전환","위치 이동 오류","성공적으로 편지함을 바인딩했습니다","자동 작업 압축","세션 가져오기 실패","장치 종류 오류","음성 저장 실패","음성 포맷 오류","이야기 시간이 너무 짧다","먼저 임무를 수령하세요","인증번호를 입력해주세요","그룹 멤버를 선택해 주세요","작업 정렬 조정","목록 정렬 조정","지정한 멤버 선택","메일 주소 오류","작업의 상태를 초기화합니다","항목 취소 압축 파일","인증 코드가 유효하지 않습니다","라이선스가 만료되었습니다","채널 id 가 존재하지 않습니다","Api 인터페이스 문서","보낸 사람 아님","작업이 존재하지 않음","작업이 완료되었습니다.","작업이 정리되었습니다","작업이 압축 파일화되지 않았습니다","세션이 존재하지 않습니다","목록이 존재하지 않습니다.","하위 작업 만들기","하위 작업 삭제","별명이 이미 있습니다","상대방은 이미 사직하였다.","작업을 마치다","할 일이 끝났습니다","구성원이 존재하지 않음","제 로봇은","파일이 존재하지 않습니다.","완료하지 않은 작업","미공개 등록","메시지가 존재하지 않음","사용자가 존재하지 않음","프로젝트 이양","시스템 관리자","부임을 맡다","기록이 존재하지 않습니다.","닉네임을 설정해 주세요","신분이 이미 효력을 상실하였다.","원자 반환 작업","잘못된 세션","항목이 존재하지 않습니다.","항목이 압축되었습니다","항목이 압축 파일화되지 않았습니다","인증 코드 오류","라이선스가 유효하지 않습니다","Id 인자 없음","@ 나의 메시지","60s 세상을 읽는다","업로드 실패","개인 종목","임시 계정","작업 압축 파일","사용 설명","성공적으로 저장했습니다","성공적으로 수정했습니다","전체 성원","작업 만들기","성공적으로 만들었습니다","프로젝트 만들기","작업 삭제","삭제 실패","성공적으로 삭제했습니다.","항목 삭제","가입 성공","익명의 메시지","인자가 비어 있음","인자 오류","전송이 완료되었습니다.","취소 성공","복사에 성공했습니다","암호가 잘못되었습니다","도움말 명령","유쾌한 농담","닭고기 수프","성공적으로 전송했습니다","서명하겠습니다","스캔 성공","작업 성공","새로 만들기 완료","잘못된 연결","권한이 부족합니다.","라벨링 성공","등록에 성공했습니다","추가 성공","오류 추가","로그인 성공","전환이 성공적으로 이루어졌습니다","성공적으로 제거","형식 오류","성공적으로 해산했습니다","확인 인수 임무","설정 성공","요청이 성공했습니다.","성공적으로 조정됨","전달 성공","양도가 성공하다","작업 복원","복원 성공","성공적으로 종료했습니다","항목 끝내기","성공적으로 초기화되었습니다.","프라이버시 안내","항목 압축","인증 실패","인증 통과","이미 가입됨","새 계정","책임자","It 정보","기회를","오전","오후","정오","임시","저녁","새벽","월요일","수요일","화요일","금요일","토요일","목요일","일요일","아침","저녁","심야","기한을 넘 겨 서도","36 크 립 톤","Error","상태 [(*)] 설정 오류, 제한 책임자 설정시 상태 책임자를 적어드려야 합니다","상태 [(*)] 설정이 잘못되었습니다. 제거 모드 설정시 상태 책임자를 입력하셔야 합니다","상태 [(*)] 설정 오류가 발생했습니다. 스트리밍 모드 설정시 상태 책임자를 입력하셔야 합니다","(*) 안에 공유 파일이 있습니다. 다른 공유 폴더로 이동할 수 없습니다","(*) 현재 공유 중이므로 다른 공유 폴더로 이동할 수 없습니다","이 (*)는 공유 폴더에 있으므로 다시 공유할 수 없습니다","현재 상태 [(*)]는 상태 책임자 또는 프로젝트 책임자만 변경할 수 있습니다","각 폴더에 최대 (*) 개의 파일이나 폴더를 만들 수 있습니다","새 주기 작업 id 가 생성되었습니다. (*)이 작업은 주기를 닫습니다","단일 목록에서 완료하지 않은 작업은 (*) 개보다 많을 수 없습니다","현재 버전 (*)은 너무 낮습니다. 최소 버전 요구 사항 (*)입니다.","부서 구성원, 프로젝트 담당자 또는 업무 담당자 불가함 (*)","한 번에 (*) 개의 파일이나 폴더만 삭제할 수 있습니다","한 번에 최대 (*) 개의 파일이나 폴더만 이동할 수 있습니다","각 작업에는 최대 (*) 개의 하위 작업이 있어야 합니다","프로젝트 내에서 완성하지 못한 임무는 기껏해야 (*) 개를 초과할 수 없다","각 부서마다 (*) 하위 부서만 만들 수 있습니다","이 업무 담당자 설정 [(*)]만 취소 지원됩니다","임무협조인원은 최고로 (*) 명을 초과해서는 안된다","(*) 시간이 지났으므로,이 소식은 철회할 수 없습니다","파일 이름에이 문자를 포함할 수 없습니다:*)","직위\/직함은 (*) 글자만 설정할 수 있습니다","작업 설명은 (*) 단어만 설정할 수 있습니다","임무책임자는 최고로 (*) 명을 초과해서는 안된다","파일 이름은 (*) 단어만 설정할 수 있습니다","최대 파일 크기 제한:*)","파일 형식 오류, 제한 형식:*)","자동 압축 시간은 일 (*)보다 길어서는 안 됩니다!","자동 압축 시간 (*) 일 이상!","항목 소개는 (*) 단어만 설정할 수 있습니다","항목 이름은 (*) 단어까지만 설정할 수 있습니다","주기 작업 id에서 작업 만들기:*)","현재 상태 [(*)]는 [(*)]로 이동할 수 없습니다","직위가 (*) 자보다 적어서는 안 된다","(*) 설명은 (*) 단어만 설정할 수 있습니다","한 번에 (*) 메시지까지만 가져올 수 있습니다","[(*)] 상태에 있는 작업만 압축","수정작업 시간 (설명:(*))","파일이름은 (*) 자보다 적어서는 안됩니다","스트림의 상태는 최대 (*) 개입니다","메시지의 내용은 (*) 단어 이상이어야 합니다","항목 목록은 (*) 개 이상이어야 합니다","항목의 이름은 (*) 자보다 적어서는 안됩니다","비밀번호는 (*) 자리수만 설정할 수 있습니다","비밀번호는 (*) 자리수보다 작으면 안됩니다","닉네임은 (*) 문자로만 설정할 수 있습니다","최대 (*) mac 주소를 추가할 수 있습니다","부서명칭의 길이는 (*) 자를 제한한다","파일 링크가 존재하지 않습니다","멤버 수는 (*) 한 명으로 제한되어 있습니다","멤버 내보내기 최대 개수 (*","날짜 범위는 최대 (*) 일이다","최대 시간 범위 제한 (*) 일","닉네임은 (*) 자보다 적어서는 안 된다","최대 (*) 부문에만 가입하실 수 있습니다","최대 (*) 개의 부서만 만들 수 있습니다","(*) 바 데이터만 조작할 수 있습니다","반복된 작업 생성 실패:(*)","그룹 이름은 최대 (*) 글자로 제한됩니다","최소 (*) 시작 상태가 필요합니다","최소 (*) 종료 상태가 필요합니다","부문명칭에는 다음과 같은 내용이 포함되지 않는다.","(*) 다른 멤버에 의해 설정되었다","(*) 담당자가 오류를 기입한다","변경 목록 이름:(*)","목록 색상 수정:*","그룹명은 최소 (*) 자이다","가장 많은 (*) 항목","(*) 설명이 비어 있을 수 없습니다","내보내기 실패, (*)!","회원은 적어도 (*) 사람이다","만들기 작업:*)","만들기 목록:*)","목록 삭제:*)","하위 작업 표시 (*)","(*) 업로드에 성공했습니다","작업 표시 (*)","군주불가능 (*)"] \ No newline at end of file +["비밀번호는 수자와 대문자로만 되여서는 안되며 숫자, 자모 대소문자 또는 특수문자를 포함하여야 한다","비밀번호는 모두 숫자 + 소문자일수는 없으며 숫자, 자모 대소문자 또는 특수문자를 포함해야 한다","이는 프로젝트 책임자, 업무 책임자, 협조자 또는 업무 작성자에게만 허용됩니다","비밀번호는 모두 문자로 할 수 없습니다. 숫자, 문자 대소문자 또는 특수 문자를 포함하십시오","비밀번호는 숫자로 할 수 없습니다. 숫자, 문자 대소문자 또는 특수 문자를 포함하십시오","전자메일 인증을 하지 않았습니다. 먼저 전자메일 인증을 위해 로그인하십시오","전자메일 내용이 거부되었습니다. 메일함의 수신이 켜져 있는지 확인하십시오","등록할 때 시스템이 자동으로 항목을 생성하며, 자유롭게 삭제할 수 있다.","하위 작업의 시작 시간은 주 작업의 시작 시간보다 작으면 안 된다","하위 작업의 종료 시간은 주 작업의 종료 시간보다 길어서는 안 된다","주 작업이 완료되었습니다. 하위 작업의 상태를 수정할 수 없습니다","인수인이 이미 떠났으니, 다른 인수인을 선택하십시오","프로젝트 또는 작업 책임자만 작업 상태를 수정할 수 있습니다","회의 기능이 켜져 있지 않습니다. 관리자에게 연락하여 켜십시오","모든 공유된 파일이나 폴더를 종료할 수 없습니다","이 기능이 활성화되어 있지 않습니다. 시스템 설정으로 이동하십시오","회의 기능 설정에 오류가 발생했습니다. 관리자에게 문의하십시오","이 기능이 켜져 있지 않습니다. 관리자에게 연락하여 켜십시오","개인 항목이 이미 존재하므로 다시 만들 필요가 없습니다","군주 (군주) 또는 초대인 (초대인) 만이 구성원에서 벗어날 수 있다","계정이 이미 가입되어 있습니다. 이메일을 확인하십시오","변경 권한이 열려 있지 않습니다. 관리자에게 문의하십시오","링크가 더 이상 작동하지 않습니다. 다시 로그인\/등록하십시오","주 작업은 끝났으며, 하위 작업을 추가할 수 없습니다","하위 부서를 포함해서 상위 부서를 수정할 수 없다","등록했습니다. 메일 확인 후 로그인해주세요","항목이 존재하지 않거나 멤버 목록에 없습니다","상급 기관은 존재하지 않거나 삭제되어 있다","작업 목록이 존재하지 않거나 삭제되었습니다","익명의 메시지는 개인에게만 보낼 수 있습니다","과거 기록 자료가 존재하지 않거나 삭제되었습니다","이 폴더에 공유 폴더가 있습니다","삭제할 파일이나 폴더를 선택하십시오","이동할 파일이나 폴더를 선택하십시오","부문명에는 특수부호가 포함되지 않는다","공유한 파일을 종료할 수 없습니다","업로드할 파일을 선택하지 않았습니다","압축에 실패했습니다. 나중에 다시 시도하십시오...","이 세션에 방해 없음 설정이 허용되지 않습니다","정확한 수취인 주소를 입력해 주세요","적합한 부서장을 뽑으십시오","올바른 작업 보고 id를 입력하십시오","Php 환경에서 openssl을 시작하십시오","신분이 이미 유효하지 않습니다. 다시 로그인하십시오","현재 로그인 메일함과 일치하지 않습니다","메시지만 수정할 수 있습니다","세션이 존재하지 않거나 삭제되었습니다","가입에 실패했습니다. 잠시 후에 다시 시도하십시오","익명의 로봇 세션이 존재하지 않습니다","익명 메시지 사용을 일시 중지합니다","이 대화는 존재하지 않거나 삭제되었습니다","멤버가 존재하지 않거나 삭제되었습니다","파일이 존재하지 않거나 삭제되었습니다","스트림이 존재하지 않거나 삭제되었습니다","메시지가 존재하지 않거나 삭제되었습니다","업무 보고서를 중복 제출하지 마시오","정확한 우편함 주소를 입력해 주세요","대화나 멤버 전송을 선택하십시오","효력이 상실되어 재로그인","현재 그룹이 존재하지 않습니다","초대장 링크를 통해 아이템을 추가하세요","부서가 존재하지 않거나 이미 삭제되었다","항목이 존재하지 않거나 삭제되었습니다","Ldap 사용자는 메일함을 변경할 수 없다","프로젝트 책임자만 조작한다","작업 상태가 바뀌지 않았습니다","하위 작업의 다음 주기를 수정합니다","하위 작업 도우미를 수정합니다","세부 작업에 대한 설명을 수정합니다","하위 작업의 반복 주기를 수정합니다","프로젝트 방을 만들 수 없습니다","하위 작업 도우미를 삭제합니다","하위 작업 시간 동기화","이 기능은 하위 작업에서 지원되지 않습니다","상대방이 연락처를 설정하지 않았습니다","현재 환경에서는 사용하지 않습니다","작업의 그룹 형식이 잘못되었습니다","이 메시지는이 작업을 지원하지 않습니다","이 메시지는 업무 설정을 지원하지 않습니다","프로젝트책임자의 조작을 금지한다","옛 비밀번호를 정확하게 기입해 주세요","올바른 초대번호를 입력해주세요","정확한 인증 번호를 입력해주세요","유효한 새 군주를 선택하십시오","올바른 인수인을 정하세요","상급 부서 차원의 오류","폴더 복사는 지원되지 않습니다","이전 편지함과 일치할 수 없습니다","스스로 이직을 해서는 안 된다","작업 설명은 비어 있을 수 없습니다","세션 토큰을 만들 수 없습니다","작업의 다음 주기를 수정합니다","작업 지원 인원을 수정합니다","작업에 대한 자세한 설명을 수정합니다","작업 반복 주기를 변경합니다","하위 작업의 우선 순위를 수정합니다","하위 작업 배경색을 수정합니다","하위 업무 책임자 수정","목록 이름은 비어 있을 수 없습니다","작업 도움말을 삭제합니다","하위 작업 책임자를 삭제합니다","익명의 로봇은 존재하지 않습니다","동시 변경 작업 시간","회신한 메시지는 존재하지 않았다","현재 모든 회화에 대해 침묵을 지킵니다","현재 환경에서는 수정을 금지한다","폴더에서 공유를 지원하지 않습니다","연락처를 볼 수 없습니다","하위 작업이 완료되었습니다","하위 작업을 완료하지 않았습니다","메시지에 주석을 다는 것은 지원되지 않습니다","메시지가 비어 있으면 안 됩니다","메시지 보내기 저장에 실패했습니다","전화 연결 길이가 잘못되었습니다","완벽한 파라메터를 기입해 주십시오","검색어를 입력하세요","새 이메일 주소를 입력하십시오","올바른 목록을 선택하세요","전자 우편 주소의 형식이 잘못되었습니다","주기 반복 선택 잘못","목록에 없음","자기에게 넘겨줄 수 없다","소유자만 조작할 수 있습니다","작업 상태가 존재하지 않습니다","세션 객체가 존재하지 않습니다","작업 우선 순위를 수정합니다","작업 배경색을 수정합니다","임무 책임자 수정","하위 작업 목록을 수정합니다","하위 작업 시간을 수정합니다","하위 작업 제목을 수정합니다","하위 작업의 상태를 수정합니다","수정 섹션이 존재하지 않습니다","키워드는 비어 있으면 안 됩니다","폴더를 만들 수 없습니다","작업 관리자 삭제","하위 작업 복제는 금지되어 있습니다","작업 흐름을 만들 수 없습니다","계정 또는 비밀번호가 잘못되었습니다","계정의 최대 수량이 설정되었습니다","데이터베이스 연결 실패","파일 링크가 존재하지 않습니다","이 작업은 지원하지 않습니다","태그 작업이 완료되었습니다","태그 작업이 완료되지 않았습니다","하위 작업 정체성을 넘겨줍니다","연락처가 이미 존재합니다","삭제 이유를 기재해주세요","로그인 후 계속하십시오...","연락처 번호를 설정해 주세요","로그인 비밀번호를 입력하십시오","공유 대상을 선택하십시오","전자 우편 주소가 이미 존재합니다","하위 작업의 상태를 초기화합니다","링크가 이미 사용되었습니다","잘못된 형식 인자입니다","라이선스 저장에 실패했습니다","라이선스 형식 오류","초대장 code 가 존재하지 않습니다","자신을 지울 수 없음","그룹 마스터 작업만 가능합니다","그룹에서만 작동합니다","작업 압축 해제","세션 형식 오류","당신은 이미 군주입니다","작업 목록 변경","작업 시간 수정하기","작업 제목 수정","작업 상태 수정","항목 소개 수정","항목 이름 수정","프로젝트 구성원 수정","그룹을 만들 수 없습니다","대화 생성 실패","성공적으로 초대장을 보냈습니다","그림 저장 실패","그림 포맷 오류","하위 작업이 완료되지 않았습니다","계정이 비활성화됨...","현재 대화에서는 사용하지 않습니다","세션을 여는 데 실패했습니다","파일 공유 오류","신구 암호가 일치하다","그룹을 만들 수 없습니다","세션을 시작할 수 없음","날짜 선택 오류","시간 선택 오류","미완의 작업","이 기능이 열려 있지 않습니다","어떤 데이터도 가지고 있지 않습니다.","작업 정체성 전환","프로젝트 정체성 전환","위치 이동 오류","성공적으로 편지함을 바인딩했습니다","자동 작업 압축","세션 가져오기 실패","장치 종류 오류","음성 저장 실패","음성 포맷 오류","이야기 시간이 너무 짧다","먼저 임무를 수령하세요","인증번호를 입력해주세요","그룹 멤버를 선택해 주세요","작업 정렬 조정","목록 정렬 조정","지정한 멤버 선택","메일 주소 오류","작업의 상태를 초기화합니다","항목 취소 압축 파일","인증 코드가 유효하지 않습니다","라이선스가 만료되었습니다","채널 id 가 존재하지 않습니다","Api 인터페이스 문서","보낸 사람 아님","작업이 존재하지 않음","작업이 완료되었습니다.","작업이 정리되었습니다","작업이 압축 파일화되지 않았습니다","세션이 존재하지 않습니다","목록이 존재하지 않습니다.","하위 작업 만들기","하위 작업 삭제","별명이 이미 있습니다","상대방은 이미 사직하였다.","작업을 마치다","할 일이 끝났습니다","구성원이 존재하지 않음","제 로봇은","파일이 존재하지 않습니다.","완료하지 않은 작업","미공개 등록","메시지가 존재하지 않음","사용자가 존재하지 않음","프로젝트 이양","시스템 관리자","부임을 맡다","기록이 존재하지 않습니다.","닉네임을 설정해 주세요","신분이 이미 효력을 상실하였다.","원자 반환 작업","잘못된 세션","항목이 존재하지 않습니다.","항목이 압축되었습니다","항목이 압축 파일화되지 않았습니다","인증 코드 오류","라이선스가 유효하지 않습니다","Id 인자 없음","@ 나의 메시지","60s 세상을 읽는다","업로드 실패","개인 종목","임시 계정","작업 압축 파일","사용 설명","성공적으로 저장했습니다","성공적으로 수정했습니다","전체 성원","작업 만들기","성공적으로 만들었습니다","프로젝트 만들기","작업 삭제","삭제 실패","성공적으로 삭제했습니다.","항목 삭제","가입 성공","익명의 메시지","인자가 비어 있음","인자 오류","전송이 완료되었습니다.","취소 성공","복사에 성공했습니다","암호가 잘못되었습니다","도움말 명령","유쾌한 농담","닭고기 수프","성공적으로 전송했습니다","서명하겠습니다","스캔 성공","작업 성공","새로 만들기 완료","잘못된 연결","권한이 부족합니다.","라벨링 성공","등록에 성공했습니다","추가 성공","오류 추가","로그인 성공","전환이 성공적으로 이루어졌습니다","성공적으로 제거","형식 오류","성공적으로 해산했습니다","확인 인수 임무","설정 성공","요청이 성공했습니다.","성공적으로 조정됨","전달 성공","양도가 성공하다","작업 복원","복원 성공","성공적으로 종료했습니다","항목 끝내기","성공적으로 초기화되었습니다.","프라이버시 안내","항목 압축","인증 실패","인증 통과","이미 가입됨","새 계정","책임자","It 정보","기회를","오전","오후","정오","임시","저녁","새벽","월요일","수요일","화요일","금요일","토요일","목요일","일요일","아침","저녁","심야","기한을 넘 겨 서도","36 크 립 톤","Error","상태 [(*)] 설정 오류, 제한 책임자 설정시 상태 책임자를 적어드려야 합니다","상태 [(*)] 설정이 잘못되었습니다. 제거 모드 설정시 상태 책임자를 입력하셔야 합니다","상태 [(*)] 설정 오류가 발생했습니다. 스트리밍 모드 설정시 상태 책임자를 입력하셔야 합니다","(*) 안에 공유 파일이 있습니다. 다른 공유 폴더로 이동할 수 없습니다","(*) 현재 공유 중이므로 다른 공유 폴더로 이동할 수 없습니다","이 (*)는 공유 폴더에 있으므로 다시 공유할 수 없습니다","현재 상태 [(*)]는 상태 책임자 또는 프로젝트 책임자만 변경할 수 있습니다","각 폴더에 최대 (*) 개의 파일이나 폴더를 만들 수 있습니다","새 주기 작업 id 가 생성되었습니다. (*)이 작업은 주기를 닫습니다","단일 목록에서 완료하지 않은 작업은 (*) 개보다 많을 수 없습니다","현재 버전 (*)은 너무 낮습니다. 최소 버전 요구 사항 (*)입니다.","부서 구성원, 프로젝트 담당자 또는 업무 담당자 불가함 (*)","한 번에 (*) 개의 파일이나 폴더만 삭제할 수 있습니다","한 번에 최대 (*) 개의 파일이나 폴더만 이동할 수 있습니다","각 작업에는 최대 (*) 개의 하위 작업이 있어야 합니다","프로젝트 내에서 완성하지 못한 임무는 기껏해야 (*) 개를 초과할 수 없다","각 부서마다 (*) 하위 부서만 만들 수 있습니다","이 업무 담당자 설정 [(*)]만 취소 지원됩니다","임무협조인원은 최고로 (*) 명을 초과해서는 안된다","(*) 시간이 지났으므로,이 소식은 철회할 수 없습니다","파일 이름에이 문자를 포함할 수 없습니다:*)","직위\/직함은 (*) 글자만 설정할 수 있습니다","작업 설명은 (*) 단어만 설정할 수 있습니다","임무책임자는 최고로 (*) 명을 초과해서는 안된다","파일 이름은 (*) 단어만 설정할 수 있습니다","최대 파일 크기 제한:*)","파일 형식 오류, 제한 형식:*)","자동 압축 시간은 일 (*)보다 길어서는 안 됩니다!","자동 압축 시간 (*) 일 이상!","항목 소개는 (*) 단어만 설정할 수 있습니다","항목 이름은 (*) 단어까지만 설정할 수 있습니다","주기 작업 id에서 작업 만들기:*)","현재 상태 [(*)]는 [(*)]로 이동할 수 없습니다","직위가 (*) 자보다 적어서는 안 된다","(*) 설명은 (*) 단어만 설정할 수 있습니다","한 번에 (*) 메시지까지만 가져올 수 있습니다","[(*)] 상태에 있는 작업만 압축","수정작업 시간 (설명:(*))","파일이름은 (*) 자보다 적어서는 안됩니다","스트림의 상태는 최대 (*) 개입니다","메시지의 내용은 (*) 단어 이상이어야 합니다","항목 목록은 (*) 개 이상이어야 합니다","항목의 이름은 (*) 자보다 적어서는 안됩니다","비밀번호는 (*) 자리수만 설정할 수 있습니다","비밀번호는 (*) 자리수보다 작으면 안됩니다","닉네임은 (*) 문자로만 설정할 수 있습니다","최대 (*) mac 주소를 추가할 수 있습니다","부서명칭의 길이는 (*) 자를 제한한다","파일 링크가 존재하지 않습니다","멤버 수는 (*) 한 명으로 제한되어 있습니다","멤버 내보내기 최대 개수 (*","날짜 범위는 최대 (*) 일이다","최대 시간 범위 제한 (*) 일","닉네임은 (*) 자보다 적어서는 안 된다","최대 (*) 부문에만 가입하실 수 있습니다","최대 (*) 개의 부서만 만들 수 있습니다","(*) 바 데이터만 조작할 수 있습니다","반복된 작업 생성 실패:(*)","그룹 이름은 최대 (*) 글자로 제한됩니다","최소 (*) 시작 상태가 필요합니다","최소 (*) 종료 상태가 필요합니다","부문명칭에는 다음과 같은 내용이 포함되지 않는다.","(*) 다른 멤버에 의해 설정되었다","(*) 담당자가 오류를 기입한다","변경 목록 이름:(*)","목록 색상 수정:*","그룹명은 최소 (*) 자이다","가장 많은 (*) 항목","(*) 설명이 비어 있을 수 없습니다","내보내기 실패, (*)!","회원은 적어도 (*) 사람이다","만들기 작업:*)","만들기 목록:*)","목록 삭제:*)","하위 작업 표시 (*)","(*) 업로드에 성공했습니다","작업 표시 (*)","군주불가능 (*)"] \ No newline at end of file diff --git a/public/language/api/zh-CHT.json b/public/language/api/zh-CHT.json index 809578d08..0cb91c944 100644 --- a/public/language/api/zh-CHT.json +++ b/public/language/api/zh-CHT.json @@ -1 +1 @@ -["密碼不能全是數字+大寫字母,密碼包含數字,字母大小寫或者特殊字符","密碼不能全是數字+小寫字母,密碼包含數字,字母大小寫或者特殊字符","僅限項目負責人、任務負責人、協助人員或任務創建者操作","密碼不能全是字母,請包含數字,字母大小寫或者特殊字符","密碼不能全是數字,請包含數字,字母大小寫或者特殊字符","您還沒有驗證郵箱,請先登錄郵箱通過驗證郵件驗證郵箱","郵件內容被拒絕,請檢查郵箱是否開啓接收功能","註冊時系統自動創建項目,你可以自由刪除。","子任務開始時間不能小於主任務開始時間","子任務結束時間不能大於主任務結束時間","主任務已完成,無法修改子任務狀態","交接人已離職,請選擇另一個交接人","僅限項目或任務負責人修改任務狀態","會議功能未開啓,請聯繫管理員開啓","無法退出共享所有人的文件或文件夾","此功能未開啓,請前往系統設置開啓","會議功能配置錯誤,請聯繫管理員","此功能未開啓,請聯繫管理員開啓","個人項目已存在,無須重複創建","只有羣主或邀請人可以移出成員","您的帳號已註冊過,請驗證郵箱","未開放修改權限,請聯繫管理員","鏈接已失效,請重新登錄\/註冊","主任務已完成無法添加子任務","含有子部門無法修改上級部門","註冊成功,請驗證郵箱後登錄","項目不存在或不在成員列表內","上級部門不存在或已被刪除","任務列表不存在或已被刪除","匿名消息僅允許發送給個人","歷史數據不存在或已被刪除","此文件夾內已有共享文件夾","請選擇刪除的文件或文件夾","請選擇移動的文件或文件夾","部門名稱不能包含特殊符號","不能退出自己共享的文件","您沒有選擇要上傳的文件","打包失敗,請稍後再試...","此會話不允許設置免打擾","請輸入正確的收件人地址","請選擇正確的部門負責人","請傳入正確的工作彙報Id","請開啓您PHP環境的openssl","身份已失效,請重新登錄","與當前登錄郵箱不一致","僅支持修改自己的消息","會話不存在或已被刪除","加入失敗,請稍後再試","匿名機器人會話不存在","匿名消息功能暫停使用","對話不存在或已被刪除","成員不存在或已被刪除","文件不存在或已被刪除","流程不存在或已被刪除","消息不存在或已被刪除","請勿重複提交工作彙報","請輸入正確的郵箱地址","請選擇轉發對話或成員","身份失效,等重新登錄","選擇現有聊天羣不存在","通過邀請鏈接加入項目","部門不存在或已被刪除","項目不存在或已被刪除","LDAP 用戶禁止修改郵箱","僅限項目負責人操作","任務狀態未發生改變","修改子任務下個週期","修改子任務協助人員","修改子任務詳細描述","修改子任務重複週期","創建項目聊天室失敗","刪除子任務協助人員","同步修改子任務時間","子任務不支持此功能","對方未設置聯繫電話","當前環境禁止此操作","操作的羣組類型錯誤","此消息不支持此操作","此消息不支持設待辦","禁止項目負責人操作","請填寫正確的舊密碼","請輸入正確的邀請碼","請輸入正確的驗證碼","請選擇有效的新羣主","請選擇正確的交接人","上級部門層級錯誤","不支持複製文件夾","不能與舊郵箱一致","不能操作自己離職","任務描述不能爲空","會議令牌創建失敗","修改任務下個週期","修改任務協助人員","修改任務詳細描述","修改任務重複週期","修改子任務優先級","修改子任務背景色","修改子任務負責人","列表名稱不能爲空","刪除任務協助人員","刪除子任務負責人","匿名機器人不存在","同步修改任務時間","回覆的消息不存在","當前會話全員禁言","當前環境禁止修改","文件夾不支持分享","無法查看聯繫電話","標記子任務已完成","標記子任務未完成","此消息不支持標註","消息內容不能爲空","消息發送保存失敗","聯繫電話長度錯誤","請輸入搜索關鍵詞","請輸入新郵箱地址","請選擇正確的列表","郵箱地址格式錯誤","重複週期選擇錯誤","不在成員列表內","不能移交給自己","僅限所有者操作","任務狀態不存在","會話對象不存在","修改任務優先級","修改任務背景色","修改任務負責人","修改子任務列表","修改子任務時間","修改子任務標題","修改子任務狀態","修改部門不存在","關鍵詞不能爲空","創建文件夾失敗","刪除任務負責人","子任務禁止複製","工作流創建失敗","帳號或密碼錯誤","帳號數量已上限","數據庫連接失敗","文件鏈接不存在","暫不支持此操作","標記任務已完成","標記任務未完成","移交子任務身份","聯繫電話已存在","請填寫刪除原因","請登錄後繼續...","請設置聯繫電話","請輸入登錄密碼","請選擇共享對象","郵箱地址已存在","重置子任務狀態","鏈接已經使用過","錯誤的類型參數","LICENSE 保存失敗","LICENSE 格式錯誤","邀請code不存在","不能刪除自己","僅限羣主操作","僅限羣組操作","任務取消歸檔","會話類型錯誤","你已經是羣主","修改任務列表","修改任務時間","修改任務標題","修改任務狀態","修改項目介紹","修改項目名稱","修改項目成員","創建羣組失敗","創建聊天失敗","發送邀請成功","圖片保存失敗","圖片格式錯誤","子任務未完成","帳號已停用...","當前會話禁言","打開會話失敗","文件分享錯誤","新舊密碼一致","無法創建羣組","無法發起會話","日期選擇錯誤","時間選擇錯誤","未完成的工作","未開放此功能","沒有任何數據","移交任務身份","移交項目身份","移動位置錯誤","綁定郵箱成功","自動任務歸檔","獲取會話失敗","設備類型錯誤","語音保存失敗","語音格式錯誤","說話時間太短","請先領取任務","請輸入驗證碼","請選擇羣成員","調整任務排序","調整列表排序","選擇指定成員","郵箱地址錯誤","重置任務狀態","項目取消歸檔","驗證碼已失效","LICENSE 已過期","頻道ID不存在","Api接口文檔","不是發送人","任務不存在","任務已完成","任務已歸檔","任務未歸檔","會話不存在","列表不存在","創建子任務","刪除子任務","別名已存在","對方已離職","已完成工作","待辦已完成","成員不存在","我的機器人","文件不存在","未完成任務","未開放註冊","消息不存在","用戶不存在","移交項目給","系統管理員","認領子任務","記錄不存在","請設置暱稱","身份已失效","還原子任務","錯誤的會話","項目不存在","項目已歸檔","項目未歸檔","驗證碼錯誤","LICENSE 無效","缺少ID參數","@我的消息","60s讀世界","上傳失敗","個人項目","臨時帳號","任務歸檔","使用說明","保存成功","修改成功","全體成員","創建任務","創建成功","創建項目","刪除任務","刪除失敗","刪除成功","刪除項目","加入成功","匿名消息","參數爲空","參數錯誤","發送成功","取消成功","複製成功","密碼錯誤","幫助指令","開心笑話","心靈雞湯","成功發送","我要簽到","掃碼成功","操作成功","新建成功","無效連接","權限不足","標註成功","註冊成功","添加成功","添加錯誤","登錄成功","移交成功","移出成功","類型錯誤","解散成功","認領任務","設置成功","請求成功","調整成功","轉發成功","轉讓成功","還原任務","還原成功","退出成功","退出項目","重置成功","隱私說明","項目歸檔","驗證失敗","驗證通過","已加入","新帳號","負責人","IT資訊","Success","上午","下午","中午","臨時","傍晚","凌晨","週一","週三","週二","週五","週六","週四","週日","早晨","晚上","深夜","超期","36氪","Error","狀態[(*)]設置錯誤,設置限制負責人時必須填寫狀態負責人","狀態[(*)]設置錯誤,設置剔除模式時必須填寫狀態負責人","狀態[(*)]設置錯誤,設置流轉模式時必須填寫狀態負責人","(*) 內含有共享文件,無法移動到另一個共享文件夾內","(*) 當前正在共享,無法移動到另一個共享文件夾內","此(*)已經處於【(*)】共享文件夾中,無法重複共享","當前狀態[(*)]僅限狀態負責人或項目負責人修改","每個文件夾裏最多隻能創建(*)個文件或文件夾","已創建新的週期任務ID:(*),此任務關閉週期","單個列表未完成任務最多不能超過(*)個","當前版本 (*) 過低,最低版本要求 (*)。","部門成員、項目人員或任務人員不可(*)","一次最多隻能刪除(*)個文件或文件夾","一次最多隻能移動(*)個文件或文件夾","每個任務的子任務最多不能超過(*)個","項目內未完成任務最多不能超過(*)個","每個部門最多隻能創建(*)個子部門","僅支持設此待辦人員【(*)】取消","任務協助人員最多不能超過(*)個","已超過(*)小時,此消息不能撤回","文件名稱不能包含這些字符:(*)","職位\/職稱最多隻能設置(*)個字","任務描述最多隻能設置(*)個字","任務負責人最多不能超過(*)個","文件名稱最多隻能設置(*)個字","文件大小超限,最大限制:(*)","文件格式錯誤,限制類型:(*)","自動歸檔時間不可大於(*)天!","自動歸檔時間不可小於(*)天!","項目介紹最多隻能設置(*)個字","項目名稱最多隻能設置(*)個字","創建任務來自週期任務ID:(*)","當前狀態[(*)]不可流轉到[(*)]","職位\/職稱不可以少於(*)個字","(*)描述最多隻能設置(*)個字","一次最多隻能獲取(*)條數據","僅限【(*)】狀態的任務歸檔","修改任務時間(備註:(*))","文件名稱不可以少於(*)個字","流程狀態最多不能超過(*)個","消息內容最大不能超過(*)字","項目列表最多不能超過(*)個","項目名稱不可以少於(*)個字","密碼最多隻能設置(*)位數","密碼設置不能小於(*)位數","暱稱最多隻能設置(*)個字","最多隻能添加(*)個MAC地址","部門名稱長度限制(*)個字","【(*)】 文件鏈接不存在","共享人數上限(*)個成員","導出成員限制最多(*)個","日期範圍限制最大(*)天","時間範圍限制最大(*)天","暱稱不可以少於(*)個字","最多隻可加入(*)個部門","最多隻能創建(*)個部門","最多隻能操作(*)條數據","生成重複任務失敗:(*)","羣名稱最長限制(*)個字","至少需要(*)個開始狀態","至少需要(*)個結束狀態","部門名稱不能包含:(*)","(*) 已被其他成員設置","(*)負責人填寫錯誤","修改列表名稱:(*)","修改列表顏色:(*)","羣名稱至少(*)個字","項目人數最多(*)個","(*)描述不能爲空","導出失敗,(*)!","羣成員至少(*)人","創建任務:(*)","創建列表:(*)","刪除列表:(*)","標記子任務(*)","(*)上傳成功","標記任務(*)","羣主不可(*)"] \ No newline at end of file +["密碼不能全是數字+大寫字母,密碼包含數字,字母大小寫或者特殊字符","密碼不能全是數字+小寫字母,密碼包含數字,字母大小寫或者特殊字符","僅限項目負責人、任務負責人、協助人員或任務創建者操作","密碼不能全是字母,請包含數字,字母大小寫或者特殊字符","密碼不能全是數字,請包含數字,字母大小寫或者特殊字符","您還沒有驗證郵箱,請先登錄郵箱通過驗證郵件驗證郵箱","郵件內容被拒絕,請檢查郵箱是否開啓接收功能","註冊時系統自動創建項目,你可以自由刪除。","子任務開始時間不能小於主任務開始時間","子任務結束時間不能大於主任務結束時間","主任務已完成,無法修改子任務狀態","交接人已離職,請選擇另一個交接人","僅限項目或任務負責人修改任務狀態","會議功能未開啓,請聯繫管理員開啓","無法退出共享所有人的文件或文件夾","此功能未開啓,請前往系統設置開啓","會議功能配置錯誤,請聯繫管理員","此功能未開啓,請聯繫管理員開啓","個人項目已存在,無須重複創建","只有羣主或邀請人可以移出成員","您的帳號已註冊過,請驗證郵箱","未開放修改權限,請聯繫管理員","鏈接已失效,請重新登錄\/註冊","主任務已完成無法添加子任務","含有子部門無法修改上級部門","註冊成功,請驗證郵箱後登錄","項目不存在或不在成員列表內","上級部門不存在或已被刪除","任務列表不存在或已被刪除","匿名消息僅允許發送給個人","歷史數據不存在或已被刪除","此文件夾內已有共享文件夾","請選擇刪除的文件或文件夾","請選擇移動的文件或文件夾","部門名稱不能包含特殊符號","不能退出自己共享的文件","您沒有選擇要上傳的文件","打包失敗,請稍後再試...","此會話不允許設置免打擾","請輸入正確的收件人地址","請選擇正確的部門負責人","請傳入正確的工作彙報Id","請開啓您PHP環境的openssl","身份已失效,請重新登錄","與當前登錄郵箱不一致","僅支持修改自己的消息","會話不存在或已被刪除","加入失敗,請稍後再試","匿名機器人會話不存在","匿名消息功能暫停使用","對話不存在或已被刪除","成員不存在或已被刪除","文件不存在或已被刪除","流程不存在或已被刪除","消息不存在或已被刪除","請勿重複提交工作彙報","請輸入正確的郵箱地址","請選擇轉發對話或成員","身份失效,等重新登錄","選擇現有聊天羣不存在","通過邀請鏈接加入項目","部門不存在或已被刪除","項目不存在或已被刪除","LDAP 用戶禁止修改郵箱","僅限項目負責人操作","任務狀態未發生改變","修改子任務下個週期","修改子任務協助人員","修改子任務詳細描述","修改子任務重複週期","創建項目聊天室失敗","刪除子任務協助人員","同步修改子任務時間","子任務不支持此功能","對方未設置聯繫電話","當前環境禁止此操作","操作的羣組類型錯誤","此消息不支持此操作","此消息不支持設待辦","禁止項目負責人操作","請填寫正確的舊密碼","請輸入正確的邀請碼","請輸入正確的驗證碼","請選擇有效的新羣主","請選擇正確的交接人","上級部門層級錯誤","不支持複製文件夾","不能與舊郵箱一致","不能操作自己離職","任務描述不能爲空","會議令牌創建失敗","修改任務下個週期","修改任務協助人員","修改任務詳細描述","修改任務重複週期","修改子任務優先級","修改子任務背景色","修改子任務負責人","列表名稱不能爲空","刪除任務協助人員","刪除子任務負責人","匿名機器人不存在","同步修改任務時間","回覆的消息不存在","當前會話全員禁言","當前環境禁止修改","文件夾不支持分享","無法查看聯繫電話","標記子任務已完成","標記子任務未完成","此消息不支持標註","消息內容不能爲空","消息發送保存失敗","聯繫電話長度錯誤","請填寫完整的參數","請輸入搜索關鍵詞","請輸入新郵箱地址","請選擇正確的列表","郵箱地址格式錯誤","重複週期選擇錯誤","不在成員列表內","不能移交給自己","僅限所有者操作","任務狀態不存在","會話對象不存在","修改任務優先級","修改任務背景色","修改任務負責人","修改子任務列表","修改子任務時間","修改子任務標題","修改子任務狀態","修改部門不存在","關鍵詞不能爲空","創建文件夾失敗","刪除任務負責人","子任務禁止複製","工作流創建失敗","帳號或密碼錯誤","帳號數量已上限","數據庫連接失敗","文件鏈接不存在","暫不支持此操作","標記任務已完成","標記任務未完成","移交子任務身份","聯繫電話已存在","請填寫刪除原因","請登錄後繼續...","請設置聯繫電話","請輸入登錄密碼","請選擇共享對象","郵箱地址已存在","重置子任務狀態","鏈接已經使用過","錯誤的類型參數","LICENSE 保存失敗","LICENSE 格式錯誤","邀請code不存在","不能刪除自己","僅限羣主操作","僅限羣組操作","任務取消歸檔","會話類型錯誤","你已經是羣主","修改任務列表","修改任務時間","修改任務標題","修改任務狀態","修改項目介紹","修改項目名稱","修改項目成員","創建羣組失敗","創建聊天失敗","發送邀請成功","圖片保存失敗","圖片格式錯誤","子任務未完成","帳號已停用...","當前會話禁言","打開會話失敗","文件分享錯誤","新舊密碼一致","無法創建羣組","無法發起會話","日期選擇錯誤","時間選擇錯誤","未完成的工作","未開放此功能","沒有任何數據","移交任務身份","移交項目身份","移動位置錯誤","綁定郵箱成功","自動任務歸檔","獲取會話失敗","設備類型錯誤","語音保存失敗","語音格式錯誤","說話時間太短","請先領取任務","請輸入驗證碼","請選擇羣成員","調整任務排序","調整列表排序","選擇指定成員","郵箱地址錯誤","重置任務狀態","項目取消歸檔","驗證碼已失效","LICENSE 已過期","頻道ID不存在","Api接口文檔","不是發送人","任務不存在","任務已完成","任務已歸檔","任務未歸檔","會話不存在","列表不存在","創建子任務","刪除子任務","別名已存在","對方已離職","已完成工作","待辦已完成","成員不存在","我的機器人","文件不存在","未完成任務","未開放註冊","消息不存在","用戶不存在","移交項目給","系統管理員","認領子任務","記錄不存在","請設置暱稱","身份已失效","還原子任務","錯誤的會話","項目不存在","項目已歸檔","項目未歸檔","驗證碼錯誤","LICENSE 無效","缺少ID參數","@我的消息","60s讀世界","上傳失敗","個人項目","臨時帳號","任務歸檔","使用說明","保存成功","修改成功","全體成員","創建任務","創建成功","創建項目","刪除任務","刪除失敗","刪除成功","刪除項目","加入成功","匿名消息","參數爲空","參數錯誤","發送成功","取消成功","複製成功","密碼錯誤","幫助指令","開心笑話","心靈雞湯","成功發送","我要簽到","掃碼成功","操作成功","新建成功","無效連接","權限不足","標註成功","註冊成功","添加成功","添加錯誤","登錄成功","移交成功","移出成功","類型錯誤","解散成功","認領任務","設置成功","請求成功","調整成功","轉發成功","轉讓成功","還原任務","還原成功","退出成功","退出項目","重置成功","隱私說明","項目歸檔","驗證失敗","驗證通過","已加入","新帳號","負責人","IT資訊","Success","上午","下午","中午","臨時","傍晚","凌晨","週一","週三","週二","週五","週六","週四","週日","早晨","晚上","深夜","超期","36氪","Error","狀態[(*)]設置錯誤,設置限制負責人時必須填寫狀態負責人","狀態[(*)]設置錯誤,設置剔除模式時必須填寫狀態負責人","狀態[(*)]設置錯誤,設置流轉模式時必須填寫狀態負責人","(*) 內含有共享文件,無法移動到另一個共享文件夾內","(*) 當前正在共享,無法移動到另一個共享文件夾內","此(*)已經處於【(*)】共享文件夾中,無法重複共享","當前狀態[(*)]僅限狀態負責人或項目負責人修改","每個文件夾裏最多隻能創建(*)個文件或文件夾","已創建新的週期任務ID:(*),此任務關閉週期","單個列表未完成任務最多不能超過(*)個","當前版本 (*) 過低,最低版本要求 (*)。","部門成員、項目人員或任務人員不可(*)","一次最多隻能刪除(*)個文件或文件夾","一次最多隻能移動(*)個文件或文件夾","每個任務的子任務最多不能超過(*)個","項目內未完成任務最多不能超過(*)個","每個部門最多隻能創建(*)個子部門","僅支持設此待辦人員【(*)】取消","任務協助人員最多不能超過(*)個","已超過(*)小時,此消息不能撤回","文件名稱不能包含這些字符:(*)","職位\/職稱最多隻能設置(*)個字","任務描述最多隻能設置(*)個字","任務負責人最多不能超過(*)個","文件名稱最多隻能設置(*)個字","文件大小超限,最大限制:(*)","文件格式錯誤,限制類型:(*)","自動歸檔時間不可大於(*)天!","自動歸檔時間不可小於(*)天!","項目介紹最多隻能設置(*)個字","項目名稱最多隻能設置(*)個字","創建任務來自週期任務ID:(*)","當前狀態[(*)]不可流轉到[(*)]","職位\/職稱不可以少於(*)個字","(*)描述最多隻能設置(*)個字","一次最多隻能獲取(*)條數據","僅限【(*)】狀態的任務歸檔","修改任務時間(備註:(*))","文件名稱不可以少於(*)個字","流程狀態最多不能超過(*)個","消息內容最大不能超過(*)字","項目列表最多不能超過(*)個","項目名稱不可以少於(*)個字","密碼最多隻能設置(*)位數","密碼設置不能小於(*)位數","暱稱最多隻能設置(*)個字","最多隻能添加(*)個MAC地址","部門名稱長度限制(*)個字","【(*)】 文件鏈接不存在","共享人數上限(*)個成員","導出成員限制最多(*)個","日期範圍限制最大(*)天","時間範圍限制最大(*)天","暱稱不可以少於(*)個字","最多隻可加入(*)個部門","最多隻能創建(*)個部門","最多隻能操作(*)條數據","生成重複任務失敗:(*)","羣名稱最長限制(*)個字","至少需要(*)個開始狀態","至少需要(*)個結束狀態","部門名稱不能包含:(*)","(*) 已被其他成員設置","(*)負責人填寫錯誤","修改列表名稱:(*)","修改列表顏色:(*)","羣名稱至少(*)個字","項目人數最多(*)個","(*)描述不能爲空","導出失敗,(*)!","羣成員至少(*)人","創建任務:(*)","創建列表:(*)","刪除列表:(*)","標記子任務(*)","(*)上傳成功","標記任務(*)","羣主不可(*)"] \ No newline at end of file diff --git a/public/language/api/zh.json b/public/language/api/zh.json index f8fb5f8cb..02d8e3be2 100644 --- a/public/language/api/zh.json +++ b/public/language/api/zh.json @@ -1 +1 @@ -["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] \ No newline at end of file +["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""] \ No newline at end of file diff --git a/public/manifest.json b/public/manifest.json index 0027425d2..895108eb9 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,6 +1,6 @@ { "resources/assets/js/app.js": { - "file": "js/build/app.bd09c684.js", + "file": "js/build/app.139edc4e.js", "src": "resources/assets/js/app.js", "isEntry": true, "dynamicImports": [ @@ -43,7 +43,7 @@ "node_modules/openpgp/dist/lightweight/elliptic.min.mjs" ], "css": [ - "js/build/app.4b871516.css" + "js/build/app.f866d722.css" ], "assets": [ "js/build/iconfont.01196938.eot", @@ -112,27 +112,27 @@ ] }, "resources/assets/js/pages/index.vue": { - "file": "js/build/index.2ea00280.js", + "file": "js/build/index.12fe75c7.js", "src": "resources/assets/js/pages/index.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_UpdateLog.cb948ed8.js" + "_UpdateLog.3dc5cd8a.js" ] }, - "_UpdateLog.cb948ed8.js": { - "file": "js/build/UpdateLog.cb948ed8.js", + "_UpdateLog.3dc5cd8a.js": { + "file": "js/build/UpdateLog.3dc5cd8a.js", "imports": [ "resources/assets/js/app.js" ] }, "resources/assets/js/pages/pro.vue": { - "file": "js/build/pro.8a3b5ca3.js", + "file": "js/build/pro.413ec6f5.js", "src": "resources/assets/js/pages/pro.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_UpdateLog.cb948ed8.js" + "_UpdateLog.3dc5cd8a.js" ], "css": [ "js/build/pro.26bf0cbb.css" @@ -144,40 +144,40 @@ ] }, "resources/assets/js/pages/manage.vue": { - "file": "js/build/manage.d79a71f6.js", + "file": "js/build/manage.cf339c66.js", "src": "resources/assets/js/pages/manage.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_CheckinExport.e14dcdab.js", - "_index.f03606a8.js", + "_CheckinExport.058fd78e.js", + "_index.03956335.js", "resources/assets/js/components/TEditor.vue", - "_UserInput.d6d4081e.js", - "_ReportEdit.1329be12.js", - "_ReportDetail.2649fc9a.js", - "_DialogSelect.c9796cea.js", - "_DialogWrapper.1815cab6.js", - "_TaskDetail.32c1f371.js", - "_ImgUpload.6e9513da.js", - "_ProjectLog.bffe06c7.js", - "_TaskMenu.c2c77c47.js" + "_UserInput.ca38ea3c.js", + "_ReportEdit.862ac89e.js", + "_ReportDetail.8bf290bc.js", + "_DialogSelect.13f2bf9c.js", + "_DialogWrapper.1ee2083a.js", + "_TaskDetail.e91c9282.js", + "_ImgUpload.8dae08e9.js", + "_ProjectLog.f97ce9f6.js", + "_TaskMenu.382f8823.js" ], "css": [ "js/build/manage.a77f99dc.css" ] }, - "_CheckinExport.e14dcdab.js": { - "file": "js/build/CheckinExport.e14dcdab.js", + "_CheckinExport.058fd78e.js": { + "file": "js/build/CheckinExport.058fd78e.js", "imports": [ - "_UserInput.d6d4081e.js", + "_UserInput.ca38ea3c.js", "resources/assets/js/app.js" ], "css": [ "js/build/CheckinExport.68b4950e.css" ] }, - "_index.f03606a8.js": { - "file": "js/build/index.f03606a8.js", + "_index.03956335.js": { + "file": "js/build/index.03956335.js", "imports": [ "resources/assets/js/app.js" ], @@ -185,119 +185,119 @@ "js/build/index.4fc2d335.css" ] }, - "_DialogSelect.c9796cea.js": { - "file": "js/build/DialogSelect.c9796cea.js", + "_DialogSelect.13f2bf9c.js": { + "file": "js/build/DialogSelect.13f2bf9c.js", "imports": [ - "_UserInput.d6d4081e.js", + "_UserInput.ca38ea3c.js", "resources/assets/js/app.js" ] }, - "_UserInput.d6d4081e.js": { - "file": "js/build/UserInput.d6d4081e.js", + "_UserInput.ca38ea3c.js": { + "file": "js/build/UserInput.ca38ea3c.js", "imports": [ "resources/assets/js/app.js" ] }, "resources/assets/js/components/TEditor.vue": { - "file": "js/build/TEditor.4460561b.js", + "file": "js/build/TEditor.28d6de3c.js", "src": "resources/assets/js/components/TEditor.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_ImgUpload.6e9513da.js" + "_ImgUpload.8dae08e9.js" ] }, - "_ReportEdit.1329be12.js": { - "file": "js/build/ReportEdit.1329be12.js", + "_ReportEdit.862ac89e.js": { + "file": "js/build/ReportEdit.862ac89e.js", "imports": [ "resources/assets/js/app.js", - "_UserInput.d6d4081e.js" + "_UserInput.ca38ea3c.js" ], "dynamicImports": [ "resources/assets/js/components/TEditor.vue" ] }, - "_ReportDetail.2649fc9a.js": { - "file": "js/build/ReportDetail.2649fc9a.js", + "_ReportDetail.8bf290bc.js": { + "file": "js/build/ReportDetail.8bf290bc.js", "imports": [ "resources/assets/js/app.js" ] }, - "_DialogWrapper.1815cab6.js": { - "file": "js/build/DialogWrapper.1815cab6.js", + "_DialogWrapper.1ee2083a.js": { + "file": "js/build/DialogWrapper.1ee2083a.js", "imports": [ "resources/assets/js/app.js", - "_DialogSelect.c9796cea.js", - "_UserInput.d6d4081e.js", - "_index.f03606a8.js", - "_ImgUpload.6e9513da.js" + "_DialogSelect.13f2bf9c.js", + "_UserInput.ca38ea3c.js", + "_index.03956335.js", + "_ImgUpload.8dae08e9.js" ] }, - "_TaskDetail.32c1f371.js": { - "file": "js/build/TaskDetail.32c1f371.js", + "_TaskDetail.e91c9282.js": { + "file": "js/build/TaskDetail.e91c9282.js", "imports": [ "resources/assets/js/app.js", "resources/assets/js/components/TEditor.vue", - "_ProjectLog.bffe06c7.js", - "_UserInput.d6d4081e.js", - "_DialogWrapper.1815cab6.js", - "_TaskMenu.c2c77c47.js" + "_ProjectLog.f97ce9f6.js", + "_UserInput.ca38ea3c.js", + "_DialogWrapper.1ee2083a.js", + "_TaskMenu.382f8823.js" ] }, - "_ImgUpload.6e9513da.js": { - "file": "js/build/ImgUpload.6e9513da.js", + "_ImgUpload.8dae08e9.js": { + "file": "js/build/ImgUpload.8dae08e9.js", "imports": [ "resources/assets/js/app.js" ] }, - "_ProjectLog.bffe06c7.js": { - "file": "js/build/ProjectLog.bffe06c7.js", + "_ProjectLog.f97ce9f6.js": { + "file": "js/build/ProjectLog.f97ce9f6.js", "imports": [ "resources/assets/js/app.js" ] }, - "_TaskMenu.c2c77c47.js": { - "file": "js/build/TaskMenu.c2c77c47.js", + "_TaskMenu.382f8823.js": { + "file": "js/build/TaskMenu.382f8823.js", "imports": [ "resources/assets/js/app.js" ] }, "resources/assets/js/pages/manage/dashboard.vue": { - "file": "js/build/dashboard.033b5cc0.js", + "file": "js/build/dashboard.5ce7ec00.js", "src": "resources/assets/js/pages/manage/dashboard.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_TaskMenu.c2c77c47.js" + "_TaskMenu.382f8823.js" ] }, "resources/assets/js/pages/manage/calendar.vue": { - "file": "js/build/calendar.e0641411.js", + "file": "js/build/calendar.2b98d510.js", "src": "resources/assets/js/pages/manage/calendar.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_TaskMenu.c2c77c47.js" + "_TaskMenu.382f8823.js" ], "css": [ "js/build/calendar.05643a5b.css" ] }, "resources/assets/js/pages/manage/messenger.vue": { - "file": "js/build/messenger.794ab91e.js", + "file": "js/build/messenger.fe5c226c.js", "src": "resources/assets/js/pages/manage/messenger.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_DialogWrapper.1815cab6.js", - "_DialogSelect.c9796cea.js", - "_UserInput.d6d4081e.js", - "_index.f03606a8.js", - "_ImgUpload.6e9513da.js" + "_DialogWrapper.1ee2083a.js", + "_DialogSelect.13f2bf9c.js", + "_UserInput.ca38ea3c.js", + "_index.03956335.js", + "_ImgUpload.8dae08e9.js" ] }, "resources/assets/js/pages/manage/setting/index.vue": { - "file": "js/build/index.458f2773.js", + "file": "js/build/index.f1edfbd3.js", "src": "resources/assets/js/pages/manage/setting/index.vue", "isDynamicEntry": true, "imports": [ @@ -305,16 +305,16 @@ ] }, "resources/assets/js/pages/manage/setting/personal.vue": { - "file": "js/build/personal.b664ab75.js", + "file": "js/build/personal.ca33ed1a.js", "src": "resources/assets/js/pages/manage/setting/personal.vue", "isDynamicEntry": true, "imports": [ - "_ImgUpload.6e9513da.js", + "_ImgUpload.8dae08e9.js", "resources/assets/js/app.js" ] }, "resources/assets/js/pages/manage/setting/checkin.vue": { - "file": "js/build/checkin.f6dbbcd5.js", + "file": "js/build/checkin.3faaf45a.js", "src": "resources/assets/js/pages/manage/setting/checkin.vue", "isDynamicEntry": true, "imports": [ @@ -325,7 +325,7 @@ ] }, "resources/assets/js/pages/manage/setting/language.vue": { - "file": "js/build/language.a41faf36.js", + "file": "js/build/language.a3631794.js", "src": "resources/assets/js/pages/manage/setting/language.vue", "isDynamicEntry": true, "imports": [ @@ -333,7 +333,7 @@ ] }, "resources/assets/js/pages/manage/setting/theme.vue": { - "file": "js/build/theme.85634171.js", + "file": "js/build/theme.f1f699eb.js", "src": "resources/assets/js/pages/manage/setting/theme.vue", "isDynamicEntry": true, "imports": [ @@ -341,7 +341,7 @@ ] }, "resources/assets/js/pages/manage/setting/keyboard.vue": { - "file": "js/build/keyboard.1394c96e.js", + "file": "js/build/keyboard.6fdea8ad.js", "src": "resources/assets/js/pages/manage/setting/keyboard.vue", "isDynamicEntry": true, "imports": [ @@ -352,7 +352,7 @@ ] }, "resources/assets/js/pages/manage/setting/license.vue": { - "file": "js/build/license.edbf6d2b.js", + "file": "js/build/license.ec7859dd.js", "src": "resources/assets/js/pages/manage/setting/license.vue", "isDynamicEntry": true, "imports": [ @@ -363,7 +363,7 @@ ] }, "resources/assets/js/pages/manage/setting/password.vue": { - "file": "js/build/password.2e1e77d4.js", + "file": "js/build/password.6b370885.js", "src": "resources/assets/js/pages/manage/setting/password.vue", "isDynamicEntry": true, "imports": [ @@ -371,7 +371,7 @@ ] }, "resources/assets/js/pages/manage/setting/email.vue": { - "file": "js/build/email.8e1aeed0.js", + "file": "js/build/email.18d0e3e0.js", "src": "resources/assets/js/pages/manage/setting/email.vue", "isDynamicEntry": true, "imports": [ @@ -379,18 +379,18 @@ ] }, "resources/assets/js/pages/manage/setting/system.vue": { - "file": "js/build/system.fcb52847.js", + "file": "js/build/system.bc6e0444.js", "src": "resources/assets/js/pages/manage/setting/system.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_index.f03606a8.js", - "_CheckinExport.e14dcdab.js", - "_UserInput.d6d4081e.js" + "_index.03956335.js", + "_CheckinExport.058fd78e.js", + "_UserInput.ca38ea3c.js" ] }, "resources/assets/js/pages/manage/setting/delete.vue": { - "file": "js/build/delete.fbfdc492.js", + "file": "js/build/delete.56c99ce6.js", "src": "resources/assets/js/pages/manage/setting/delete.vue", "isDynamicEntry": true, "imports": [ @@ -398,7 +398,7 @@ ] }, "resources/assets/js/pages/manage/projectInvite.vue": { - "file": "js/build/projectInvite.72ab7a65.js", + "file": "js/build/projectInvite.fd2d96df.js", "src": "resources/assets/js/pages/manage/projectInvite.vue", "isDynamicEntry": true, "imports": [ @@ -409,29 +409,29 @@ ] }, "resources/assets/js/pages/manage/project.vue": { - "file": "js/build/project.cdb0a3eb.js", + "file": "js/build/project.99d93326.js", "src": "resources/assets/js/pages/manage/project.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_ProjectLog.bffe06c7.js", - "_UserInput.d6d4081e.js", - "_TaskMenu.c2c77c47.js", - "_index.f03606a8.js", - "_DialogWrapper.1815cab6.js", - "_DialogSelect.c9796cea.js", - "_ImgUpload.6e9513da.js" + "_ProjectLog.f97ce9f6.js", + "_UserInput.ca38ea3c.js", + "_TaskMenu.382f8823.js", + "_index.03956335.js", + "_DialogWrapper.1ee2083a.js", + "_DialogSelect.13f2bf9c.js", + "_ImgUpload.8dae08e9.js" ] }, "resources/assets/js/pages/manage/file.vue": { - "file": "js/build/file.23aabd63.js", + "file": "js/build/file.9e559479.js", "src": "resources/assets/js/pages/manage/file.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_UserInput.d6d4081e.js", - "_index.f03606a8.js", - "_DialogSelect.c9796cea.js" + "_UserInput.ca38ea3c.js", + "_index.03956335.js", + "_DialogSelect.13f2bf9c.js" ], "dynamicImports": [ "resources/assets/js/pages/manage/components/FilePreview.vue", @@ -439,12 +439,12 @@ ] }, "resources/assets/js/pages/single/fileMsg.vue": { - "file": "js/build/fileMsg.57896aee.js", + "file": "js/build/fileMsg.bdeeabcf.js", "src": "resources/assets/js/pages/single/fileMsg.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "dynamicImports": [ "resources/assets/js/components/MDEditor/preview.js", @@ -458,19 +458,19 @@ "js/build/fileMsg.1a0b76dd.css" ] }, - "_IFrame.dee76434.js": { - "file": "js/build/IFrame.dee76434.js", + "_IFrame.fe0c152e.js": { + "file": "js/build/IFrame.fe0c152e.js", "imports": [ "resources/assets/js/app.js" ] }, "resources/assets/js/pages/single/fileTask.vue": { - "file": "js/build/fileTask.7159d584.js", + "file": "js/build/fileTask.8806fdea.js", "src": "resources/assets/js/pages/single/fileTask.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "dynamicImports": [ "resources/assets/js/components/MDEditor/preview.js", @@ -485,26 +485,26 @@ ] }, "resources/assets/js/pages/single/file.vue": { - "file": "js/build/file.04750cb8.js", + "file": "js/build/file.e9bf4a7a.js", "src": "resources/assets/js/pages/single/file.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/pages/manage/components/FileContent.vue", "resources/assets/js/pages/manage/components/FilePreview.vue", "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "css": [ "js/build/file.560ab02c.css" ] }, "resources/assets/js/pages/manage/components/FileContent.vue": { - "file": "js/build/FileContent.9f2379fd.js", + "file": "js/build/FileContent.f5b4eda8.js", "src": "resources/assets/js/pages/manage/components/FileContent.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "dynamicImports": [ "resources/assets/js/components/MDEditor/index.vue", @@ -519,12 +519,12 @@ ] }, "resources/assets/js/pages/manage/components/FilePreview.vue": { - "file": "js/build/FilePreview.23f7e260.js", + "file": "js/build/FilePreview.393d5c5f.js", "src": "resources/assets/js/pages/manage/components/FilePreview.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "dynamicImports": [ "resources/assets/js/components/MDEditor/preview.js", @@ -536,27 +536,27 @@ ] }, "resources/assets/js/pages/single/task.vue": { - "file": "js/build/task.dd3b0ed0.js", + "file": "js/build/task.ea1e90d1.js", "src": "resources/assets/js/pages/single/task.vue", "isDynamicEntry": true, "imports": [ - "_TaskDetail.32c1f371.js", + "_TaskDetail.e91c9282.js", "resources/assets/js/app.js", "resources/assets/js/components/TEditor.vue", - "_ImgUpload.6e9513da.js", - "_ProjectLog.bffe06c7.js", - "_UserInput.d6d4081e.js", - "_DialogWrapper.1815cab6.js", - "_DialogSelect.c9796cea.js", - "_index.f03606a8.js", - "_TaskMenu.c2c77c47.js" + "_ImgUpload.8dae08e9.js", + "_ProjectLog.f97ce9f6.js", + "_UserInput.ca38ea3c.js", + "_DialogWrapper.1ee2083a.js", + "_DialogSelect.13f2bf9c.js", + "_index.03956335.js", + "_TaskMenu.382f8823.js" ], "css": [ "js/build/task.0d7ca2d3.css" ] }, "resources/assets/js/pages/single/validEmail.vue": { - "file": "js/build/validEmail.53202fb3.js", + "file": "js/build/validEmail.f33be862.js", "src": "resources/assets/js/pages/single/validEmail.vue", "isDynamicEntry": true, "imports": [ @@ -567,24 +567,24 @@ ] }, "resources/assets/js/pages/single/reportEdit.vue": { - "file": "js/build/reportEdit.2224e869.js", + "file": "js/build/reportEdit.e3b4e1c0.js", "src": "resources/assets/js/pages/single/reportEdit.vue", "isDynamicEntry": true, "imports": [ - "_ReportEdit.1329be12.js", + "_ReportEdit.862ac89e.js", "resources/assets/js/app.js", - "_UserInput.d6d4081e.js" + "_UserInput.ca38ea3c.js" ], "css": [ "js/build/reportEdit.5c397123.css" ] }, "resources/assets/js/pages/single/reportDetail.vue": { - "file": "js/build/reportDetail.2fdd49c5.js", + "file": "js/build/reportDetail.2c03059f.js", "src": "resources/assets/js/pages/single/reportDetail.vue", "isDynamicEntry": true, "imports": [ - "_ReportDetail.2649fc9a.js", + "_ReportDetail.8bf290bc.js", "resources/assets/js/app.js" ], "css": [ @@ -592,7 +592,7 @@ ] }, "resources/assets/js/pages/token.vue": { - "file": "js/build/token.01d28a9f.js", + "file": "js/build/token.92606108.js", "src": "resources/assets/js/pages/token.vue", "isDynamicEntry": true, "imports": [ @@ -603,7 +603,7 @@ ] }, "resources/assets/js/pages/login.vue": { - "file": "js/build/login.8ccc6e89.js", + "file": "js/build/login.afc3f999.js", "src": "resources/assets/js/pages/login.vue", "isDynamicEntry": true, "imports": [ @@ -611,7 +611,7 @@ ] }, "resources/assets/js/pages/404.vue": { - "file": "js/build/404.a0cc881c.js", + "file": "js/build/404.9e328ed1.js", "src": "resources/assets/js/pages/404.vue", "isDynamicEntry": true, "imports": [ @@ -622,7 +622,7 @@ ] }, "resources/assets/js/components/PreviewImage/components/view.vue": { - "file": "js/build/view.fb31d396.js", + "file": "js/build/view.d0be2e7e.js", "src": "resources/assets/js/components/PreviewImage/components/view.vue", "isDynamicEntry": true, "imports": [ @@ -633,7 +633,7 @@ ] }, "resources/assets/js/components/PreviewImage/components/swipe.vue": { - "file": "js/build/swipe.d5e59444.js", + "file": "js/build/swipe.03138fa2.js", "src": "resources/assets/js/components/PreviewImage/components/swipe.vue", "isDynamicEntry": true, "imports": [ @@ -657,7 +657,7 @@ "isDynamicEntry": true }, "node_modules/openpgp/dist/lightweight/bn.interface.min.mjs": { - "file": "js/build/bn.interface.min.7458ab80.js", + "file": "js/build/bn.interface.min.7ad14d1f.js", "src": "node_modules/openpgp/dist/lightweight/bn.interface.min.mjs", "isDynamicEntry": true, "imports": [ @@ -666,7 +666,7 @@ ] }, "node_modules/openpgp/dist/lightweight/bn.min.mjs": { - "file": "js/build/bn.min.0b81af35.js", + "file": "js/build/bn.min.560fdb8a.js", "src": "node_modules/openpgp/dist/lightweight/bn.min.mjs", "isDynamicEntry": true, "imports": [ @@ -674,7 +674,7 @@ ] }, "node_modules/openpgp/dist/lightweight/elliptic.min.mjs": { - "file": "js/build/elliptic.min.9c4a89b7.js", + "file": "js/build/elliptic.min.779c7e7c.js", "src": "node_modules/openpgp/dist/lightweight/elliptic.min.mjs", "isDynamicEntry": true, "imports": [ @@ -683,7 +683,7 @@ ] }, "resources/assets/js/components/MDEditor/preview.js": { - "file": "js/build/preview.d4c536ab.js", + "file": "js/build/preview.b5a0d740.js", "src": "resources/assets/js/components/MDEditor/preview.js", "isDynamicEntry": true, "imports": [ @@ -691,7 +691,7 @@ ] }, "resources/assets/js/components/AceEditor.vue": { - "file": "js/build/AceEditor.a2d80e8c.js", + "file": "js/build/AceEditor.0c7bc196.js", "src": "resources/assets/js/components/AceEditor.vue", "isDynamicEntry": true, "imports": [ @@ -699,35 +699,35 @@ ] }, "resources/assets/js/components/OnlyOffice.vue": { - "file": "js/build/OnlyOffice.2b2000e0.js", + "file": "js/build/OnlyOffice.162b8727.js", "src": "resources/assets/js/components/OnlyOffice.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "css": [ - "js/build/OnlyOffice.d36f3069.css" + "js/build/OnlyOffice.a5dfbde1.css" ] }, "resources/assets/js/components/Drawio.vue": { - "file": "js/build/Drawio.3f845169.js", + "file": "js/build/Drawio.c3becab8.js", "src": "resources/assets/js/components/Drawio.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_IFrame.dee76434.js" + "_IFrame.fe0c152e.js" ], "css": [ "js/build/Drawio.fc5c6326.css" ] }, "resources/assets/js/components/Minder.vue": { - "file": "js/build/Minder.60b25458.js", + "file": "js/build/Minder.056301a4.js", "src": "resources/assets/js/components/Minder.vue", "isDynamicEntry": true, "imports": [ - "_IFrame.dee76434.js", + "_IFrame.fe0c152e.js", "resources/assets/js/app.js" ], "css": [ @@ -735,15 +735,15 @@ ] }, "resources/assets/js/components/MDEditor/index.vue": { - "file": "js/build/index.bef6361b.js", + "file": "js/build/index.cd76540e.js", "src": "resources/assets/js/components/MDEditor/index.vue", "isDynamicEntry": true, "imports": [ "resources/assets/js/app.js", - "_ImgUpload.6e9513da.js" + "_ImgUpload.8dae08e9.js" ], "css": [ - "js/build/index.03d13184.css" + "js/build/index.00d00dd2.css" ], "assets": [ "js/build/iconfont.01196938.eot", diff --git a/resources/mobile b/resources/mobile index 9acb3890e..428a73f48 160000 --- a/resources/mobile +++ b/resources/mobile @@ -1 +1 @@ -Subproject commit 9acb3890e4800e60dd8dd753772e7a2eeab00227 +Subproject commit 428a73f488cbe159effa306ed9298725868ae4f6