ecinc-cloud-yoaemail 9.6.243 → 9.6.245
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ecyoaemail.common.js +24 -24
- package/lib/ecyoaemail.umd.js +24 -24
- package/lib/ecyoaemail.umd.min.js +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ecyoaemail"]=t(require("vue")):e["ecyoaemail"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={5003:function(e,t){var a,n,i;(function(r,o){n=[],a=o,i="function"===typeof a?a.apply(t,n):a,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var a,n,i,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=r.exec(p.stack)||o.exec(p.stack),l=s&&s[1]||!1,d=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===c&&(a=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=a.replace(n,"$1").trim());for(var m=0;m<u.length;m++){if("interactive"===u[m].readyState)return u[m];if(u[m].src===l)return u[m];if(l===c&&u[m].innerHTML&&u[m].innerHTML.trim()===i)return u[m]}return null}}return e}))},7203:function(e){e.exports={email:{formTitle:"Internal Email",menuItem:{internalEmail:"Internal Email",inbox:"Inbox",starFile:"Starred Emails",drafts:"Drafts",beenSent:"Sent",deleted:"Deleted",customFolder:"Custom Folders",emailAttach:"Email Attachments",txl:"Contacts",emailMonitor:"Email Monitoring",emailCenter:"Email Center",backupEmail:"Backup Email"},accessoryList:{fields:{fileName:"File Name",size:"Size",date:"Date"},all:"All",picture:"Pictures",file:"Documents",audio:"Audio",video:"Videos",Compressed:"Compressed Files",other:"Other",emailInfo:"You have not set up your email information yet,",AttachmentFile:"Attachment File"},address:{fields:{GroupName:"Group Name",order:"Order",emailAddress:"Email Address",email:"Email",grouping:"Grouping"},grouping:"Grouping",notGroup:"Not Grouped",all:"All",BookGroup:"Address Book Grouping",GroupNameEnter:"Please enter a group name",orderTip:"Please enter a 4-digit order number",mailList:"Address Book",emailAddressEnter:"Please enter an email address",groupingEnter:"Please select a group"},ecincMailHelp:{guideTitle:"Ecinc Email Settings Help Guide",guideTitle1:"1. Login to Ecinc Email: http://ntmail.global-mail.cn",guideTitle2:"2. After logging in, click Settings > Client Authorization Code > Enable Client Authorization Code",guideTitle3:"3. Set Client Authorization Code"},emailWatch:{fields:{Monitoring:"Monitoring Target",EmailSub:"Email Subject",sendTime:"Send Time"},MarkedAs:"Marked As",read:"Read",unread:"Unread",StarMarking:"Star Marking",StarMar:"Remove Star",TransferTo:"Transfer To",not:"None",theme:"Subject: {name}",Sender:"Sender: {addr}",Copy:"CC: {to}",addressee:"Recipient: {sendTo}",time:"Time: {time}",content:"Attachments: Total {attachsCount} attachments",Recentlylogin:"Last Login: {time}"},list:{fields:{Sender:"Sender",addressee:"Recipient",emailTitle:"Email Subject",sendTime:"Send Time"},emailNum:"Total 0 Emails",emailNumIng:"Total {total} Emails",selectEmail:"{count} Emails Selected",JumpTo:"Jump To",page:"Page",not:"None",tipOne:"Click an email to display it here",Sender2:"Sender: {to}",Copy:"Carbon Copy",bcc:"Blind Carbon Copy: {to}",addressee2:"Recipient: {to}",time:"Time: {to}",walStatus:"Recall Status: Recalled",content1:"Attachments: Total {attachsCount} attachments",download:"Download",content2:"Quick Reply To: {fromAddr}",content3:"You have not set your email information yet,",content4:"Set Now",AdvancedSearch:"Advanced Search",content5:"Please enter sender/email address",content6:"Please enter recipient/email address",emailTitleEnter:"Please enter email subject",startTime:"Please select send time (start)",endTime:"Select send time (end)"},xieyoujian:{fields:{addressee:"Recipient:",CCrecipient:"CC (Carbon Copy):",SecretPerson:"BCC (Blind Carbon Copy):",Theme:"Subject:"},SaveDraft:"Save Draft",Receipt:"Read Receipt",AddCC:"Add CC",DelCC:"Delete CC",AddSecret:"Add BCC",DelSecret:"Delete BCC",address:"Please enter an email address. For internal emails, you can also enter a contact name.",content:"For mass emails, they are sent one-by-one, and each recipient can only see their own address.",ThemeEnter:"Please enter the email subject",content1:"Drag files here, or <span style='color:rgba(33, 120, 241, 1)'>click to upload</span>",maxFile:"(Max 1GB per file)",UploadSu:"Upload Successful",sendSu:"Sent Successfully",emailTip:"Email has been saved to 'Sent'",setUpInfo:"You have not set your email information yet,",content2:"The current account is for internal use. If you need to send emails to external addresses, please go to the email center to bind an external email to this account first.",notEmail:"No email address available for this item, selection is not supported."},youxiangshezhi:{fields:{EmailAddress:"Email Address",EmailUserName:"Email User Name",EmailUserAccount:"Email User Account",emailPass:"Email Password/Authorization Code",accountType:"User Account Type",ReceivingServer:"Incoming Mail Server",outgoingMail:"Outgoing Mail Server",emailAddress:"Bind External Email Address",pageMax:"Max Emails Displayed Per Page",forwardingEmail:"Subject Display for Forwarded Emails",replyingToem:"Subject Display for Replied Emails",addSignature:"Add Signature When Sending Emails",sendContent:"Signature Content to Add When Sending Emails"},EmailCenter:"Email Center",EmailTip:"Please select an external email address to send emails from internal to external addresses.",fileNum10:"10 Emails",fileNum20:"20 Emails",fileNum50:"50 Emails",fileNum100:"100 Emails",reply:"Reply",contentEnter:"Please enter content",save:"Save",close:"Close",emailType:"Email Type",emailqq:"QQ Mail",email139:"139 Mail",email163:"163 Mail",other:"Other",Emailstting:"Email Settings",isdelEmail:"Are you sure you want to delete the {emailAddr} email account and its folders?",isSure:"Confirm Operation",EmailassEnter:"Please enter an email address before proceeding!",operation:"Operation Prompt",appCode:"Client Authorization Code",code_qq:"QQ Mail 16-digit Authorization Code",code_139:"139 Mail Login Password",code_163:"163 Mail Authorization Code",describe:"You are setting up an EaseCorp enterprise email. Please confirm that you have obtained the correct client authorization code and set IMAP to retrieve all emails.",configure:"Incoming or outgoing mail server configuration error",EmailNot:"Incorrect email format"},components:{fields:{Sender:"Sender",addressee:"Recipient",EmailSubject:"Email Subject",sendTime:"Sent Time",FolderName:"Folder Name",order:"Order",specifiedEmail:"Receive Specified Emails",theme:"Theme",index:"Index",boxName:"Folder Name",orderNo:"Order Number",notReadedNum:"Unread Emails",mailNum:"Total Emails",operate:"Operation"},total:"Total {total} Emails",JumpTo:"Jump to",page:"Page",singleClick:"Single-click an email to display here",theme:"Theme: {name}",Sender2:"Sender: {addr}",addressee2:"Recipient: {sendTo}",bcc:"BCC (Blind Carbon Copy)",Copy:"CC (Carbon Copy)",time:"Time: {time}",AttatcNum:"Attachments: Total {attachsCount} Attachments",AdvancedSearch:"Advanced Search",SenderAss:"Please enter sender/email address",addresseeAss:"Please enter recipient/email address",EmailSubEnter:"Please enter email subject",selectSendtimeStart:"Select send time (start)",selectSendtimeEnd:"Select send time (end)",ManageFolder:"Manage Folders",FolderNameEnter:"Please enter folder name",orderLength:"Please enter a 4-digit order number",emailTip:"Automatically place emails matching the following rules into this folder",contain:"Contains",unContain:"Does Not Contain",enterSenderEmail:"Please select or enter sender email addresses, separate multiple with commas",enterAddressee:"Please select or enter recipient email addresses, separate multiple with commas",enterTheme:"Please enter email subject keywords, separate multiple with commas",select:"Select",txl:"Address Book",emailStting:"You have not set up your email information yet.",ReceivingLetters:"Receive Emails",writeLetters:"Compose Emails",DispatchDet:"Dispatch Details",searchKey:"Please enter search keyword",AddressBook:"Public Address Book",PersonalAddress:"Personal Address Book",recentContacts:"Recent Contacts"},pageBtns:{ShippingBox:"OutgoingBox",Inbox:"Inbox",Deleted:"Deleted",nowSeting:"SettinNow",Theme:"Theme:",addAttacg:"Add Attachment:",goEmail:"ToInbox",transferGroup:"TransferGroup",back:"Back",ReplyAll:"ReplyAll",reply:"Reply",withdraw:"Withdraw",SendAgain:"SendAgain",MarkedAs:"Marked",read:"Read",unRead:"Unread",StarMarking:"Star",StarMar:"Unstar",TransferTo:"TransferTo",WriteAn:"WriteAnother",readingLog:"ReadingLog"},messages:{contentEnter:"Please enter the reply content!",senderAlreadying:'"{tname}" already exists as a sender!',senderAlready:"Sender already exists!",recipientAlready:"Recipient already exists!",isDelBox:"Are you sure you want to delete this folder?",isSure:"Confirm operation",emailNot:"Incorrect email format!",boxNameMax:"Folder name can only be up to 12 characters long",boxNametTip:"Folder name is required",correctTip:"Please fill in the correct 4-digit sorting number",emailTipbc:"Please complete the email placement rule",isDataSure:"Are you sure you want to end the selected data?",success:"Operation successful",noEmailass:"No email address for the current item, selection is not supported",BindExterEmail:"Please go to the email center to bind an external email",emailTip1:"Recipient already exists!",emailTip2:"CC recipient already exists!",emailTip3:"BCC recipient already exists!",emailTip4:"Please go to the email center to verify the email user password or authorization code",fileName:"“{fileName}” file is duplicate, the file has been overwritten",maxFileUpload:"Can only upload up to {limitNum} files",SaveDraftsu:"Draft saved successfully",selectExportFile:"Please select the import file",addresseeEnter:"Please enter the recipient!",notSelectAttach:"Cannot select the same attachment, please re-select",selectAttach:"Please select the attachment to forward",downAttach:"Please select the attachment to download",isDel:"Are you sure you want to delete this contact?",isTransfer:"Are you sure you want to transfer the selected contacts?",selectTransfer:"Please select the contacts to transfer",isSelectlxr:"Are you sure you want to delete the selected contacts?",selectlxr:"Please select the contacts to delete",isorderNUmber:"Please fill in the correct 4-digit sorting number",isDelGroup:"Are you sure you want to delete the selected group?",selectDelGroup:"Please select the group to delete",selectEmail:"Please select an email first",isdelEmail:"This email will be deleted, continue?",delEmailTip:"This email will be permanently deleted and cannot be recovered, continue?",signUnread:"Mark as unread?",signRead:"Mark as read?",delSign:"Remove star?",sign:"Mark as starred?",successCancel:"Successfully cancelled",TransferSuccessful:"Transfer successful!",content7:"Send time (end) cannot be earlier than send time (start)",content8:"Jump range is 1 - {totalPage} pages",emailTip:"Please select an email",emailTip21:"Please open the email first",emailTip22:"This email is already read and cannot be recalled",emailTip23:"Emails older than 24 hours cannot be recalled",emailTip24:"Recall successful!",emailTip5:"This email will be deleted, continue?",emailTip6:"This email will be permanently deleted and cannot be recovered, continue?",emailTip7:"Mark as unread?",emailTip8:"This email is unread, no need to repeat the operation.",emailTip9:"All selected emails are unread, no need to repeat the operation.",emailTip10:"Mark as read?",emailTip11:"This email is read, no need to repeat the operation.",emailTip12:"All selected emails are read, no need to repeat the operation.",emailTip13:"Remove star?",emailTip14:"This email is not starred, no need to repeat the operation.",emailTip15:"All selected emails are not starred, no need to repeat the operation.",emailTip16:"Mark as starred?",emailTip17:"This email is already starred, no need to repeat the operation.",emailTip18:"All selected emails are starred, no need to repeat the operation.",emailTip19:"Email format is incorrect! Please re-enter.",isDelFile:"This file will be permanently deleted. Continue?",selectDelFile:"Please select the email(s) you want to delete first.",notOneself:"Cannot move to the same folder!",TransferSu:"Transfer successful!",enterContent:"Please enter your reply content!",selectEmailFile:"Please select an email first!"},backupEmailDetail:{isTime:"The end time cannot be earlier than the start time.",operation:"Operation prompt",pageFw:"Page navigation range is from 1 to {totalPage}.",openEmail:"Please open the email first."},portletEmail:{subject:"Email Subject",fromAddr:"Sender",createTime:"Sent Time"},sendMail:{fields:{addressee:"To:",CCRecipient:"CC:",SecretDvyPerson:"BCC:"},source:"Source: {srcName}",SaveDraft:"Save Draft",AddCC:"Add CC",DelCC:"Remove CC",AddSecret:"Add BCC",DelSecret:"Remove BCC",sendEmailTip:"Please enter an email address. For internal emails, you can enter the contact name.",sendEmailTip1:"For mass emails, they are sent individually. Each recipient can only see their own address.",ThemeP:"Subject",ThemeEnter:"Please enter the email subject",maxFile:"(Maximum file size 20MB per file)",uploadSu:"Upload successful",sendSuTip:"Email sent successfully. It has been saved to 'Sent'.",WriteAnother:"Write Another Email",notStting:"You have not set up your email information yet,"},userSetup:{formTitle:"User Email Settings",fields:{spaceSize:"Allocated Space",emailAddr:"Email Address",emailUsername:"Name",attachLimit:"Attachment Limit",status:"Status",mailSize:"Message Size",concurrent:"Concurrent Connections per Message"}},blackWhiteList:{formTitle:"Blacklist/Whitelist Settings",fields:{mailAddress:"Enter Account"}},byRegulator:{formTitle:"Monitored User Table",fields:{jkEndTime:"Monitoring End Time",mailAddr:"Monitor",byMailAddr:"Monitored User",isYjjk:"Permanent Monitoring",orgName:"Organization Name",jkStartTime:"Monitoring Start Time",status:"Status",jkRange:"Monitoring Scope"}},orgSpaceSet:{formTitle:"Unit Space Settings",fields:{status:"Status",orgName:"Organization Name",spaceSize:"Allocated Space",createTime:"Creation Date",createName:"Created By"}}}}},5624:function(e){e.exports={email:{formTitle:"内部邮箱",moduleMenu:{InternalEmail:"内部邮箱",Inbox:"收件箱",StarFile:"标星文件",drafts:"草稿箱",beenSent:"已发送",Deleted:"已删除",CustomFolder:"自定义文件夹",EmailAttach:"邮箱附件",txl:"通讯录",EmailMonitor:"邮件监控",EmailCenter:"邮箱中心",BackupEmail:"备份邮箱"},accessoryList:{all:"全部",picture:"图片",file:"文档",audio:"音频",video:"视频",Compressed:"压缩包",other:"其他",emailInfo:"您还没有设置邮箱信息",SetUpNow:"现在设置",AttachmentFile:"附件文件",notSelectAttach:"不能选择相同的附件,请重新选择",selectAttach:"请选择要转发的附件",downAttach:"请选择要下载的附件",index:"序号",fileName:"文件名称",size:"大小",date:"日期"},address:{grouping:"分组",notGroup:"未分组",all:"全部",BookGroup:"通讯录分组",GroupName:"分组名称",GroupNameEnter:"请输入分组名称",order:"排序",orderTip:"请输入4位数字排序",mailList:"通讯录",index:"序号",name:"姓名",operate:"操作",emailAddress:"邮箱地址",emailAddressEnter:"请输入邮箱地址",groupingEnter:"请选择分组",email:"邮箱",isDel:"确定要删除该联系人吗?",ConfirmOperation:"确认操作",isTransfer:"确定要转移选中的联系人吗?",selectTransfer:"请选择要转移的联系人",transferGroup:"转移分组",emailNot:"邮箱格式不正确",tip:"提示",isSelectlxr:"确定要删除选中的联系人吗?",selectlxr:"请选择要删除的联系人",isorderNUmber:"请正确填写4位数字排序号",isDelGroup:"确定要删除选中分组吗?",selectDelGroup:"请选择要删除的分组"},ecincMailHelp:{guideTitle:"新网邮箱设置帮助指南",guideTitle1:"1、登录新网邮箱:http://ntmail.global-mail.cn",guideTitle2:"2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码",guideTitle3:"3、设置客户端授权码"},emailWatch:{forward:"转发",del:"删除",ComDel:"彻底删除",MarkedAs:"标记为",read:"已读",unread:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",black:"返回",theme:"主题",Sender:"发件人",Copy:"抄送",addressee:"收件人",time:"时间",content:"附件:共{attachsCount}个附件",download:"下载",index:"序号",Monitoring:"监控对象",EmailSub:"邮件主题",sendTime:"发送时间",selectEmail:"请先选择邮件",isdelEmail:"将删除该邮件, 是否继续?",delEmailTip:"将永久删除该邮件,删除后不可恢复, 是否继续?",signUnread:"是否标记为未读?",signRead:"是否标记为已读?",delSign:"是否去除标星?",sign:"是否标记为标星?",tip:"提示",sure:"确定",cancel:"取消",successCancel:"已成功取消",TransferSuccessful:"转移成功!",Recentlylogin:"最近登录"},list:{emailNum:"共 0 封",emailNumIng:"共{total}封",selectEmail:"已选{count}封",cancel:"取消",sure:"确定",JumpTo:"跳转到",page:"页",edit:"编辑",ReplyAll:"全部回复",reply:"回复",withdraw:"撤回",SendAgain:"再次发送",forward:"转发",ComDel:"彻底删除",del:"删除",MarkedAs:"标记为",read:"已读",unRead:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",tipOne:"单击一封邮件在此处显示",Sender:"发件人",Copy:"抄送",bcc:"密送",addressee:"收件人",time:"时间",walStatus:"撤回状态:已撤回",content1:"附件:共{attachsCount}个附件",download:"下载",content2:"快捷回复给:{fromAddr}",send:"发送",content3:"您还没有设置邮箱信息",content4:"现在设置",AdvancedSearch:"高级搜索",content5:"请输入发件人/邮箱地址",content6:"请输入收件人/邮箱地址",emailTitle:"邮件主题",emailTitleEnter:"请输入邮件主题",sendTime:"发送时间",startTime:"请选择发送时间(开始)",endTime:"选择发送时间(结束)",to:"至",content7:"发送时间(结束)不能小于发送时间(开始)",opTip:"操作提示",content8:"跳转范围在 1 - {totalPage} 页",emailTip:"请选择邮件",emailTip1:"请先打开邮件",emailTip2:"当前邮件已读无法撤回",emailTip3:"超过24小时的邮件无法撤回",emailTip4:"撤回成功!",emailTip5:"将删除该邮件, 是否继续?",emailTip6:"将永久删除该邮件,删除后不可恢复, 是否继续?",emailTip7:"是否标记为未读?",emailTip8:"该邮件是未读邮件,无需重复操作。",emailTip9:"所选邮件均是未读邮件,无需重复操作。",emailTip10:"是否标记为已读?",emailTip11:"该邮件是已读邮件,无需重复操作。",emailTip12:"所选邮件均是已读邮件,无需重复操作。",emailTip13:"是否去除标星?",emailTip14:"该邮件是未标星邮件,无需重复操作。",emailTip15:"所选邮件均是未标星邮件,无需重复操作。",emailTip16:"是否标记为标星?",emailTip17:"该邮件是已标星邮件,无需重复操作。",emailTip18:"所选邮件均是标星邮件,无需重复操作。",tip:"提示",isDelFile:"将永久删除该文件, 是否继续?",selectDelFile:"请先选择需要删除的邮件",notOneself:"不能转移到自身文件夹!",TransferSu:"转移成功!",enterContent:"请输入回复内容!",selectEmailFile:"请先选择邮件!"},xieyoujian:{send:"发送",SaveDraft:"存草稿",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",address:"请输入邮件地址,内部邮箱可以输入联系人姓名",content:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCrecipient:"抄送人",SecretPerson:"密送人",Theme:"主 题",Theme1:"主题",ThemeEnter:"请输入邮件主题",content1:'将文件拖到此处,或<span style="color:rgba(33, 120, 241, 1)">点击上传</span>',maxFile:"(单个文件最大1G)",UploadSu:"上传成功",sendSu:"发送成功",emailTip:"邮件已保存到“已发送”",WriteAn:"再写一封",GoInbox:"去收件箱",setUpInfo:" 您还没有设置邮箱信息",nowSetup:"现在设置",addresseeEnter:"请输入收件人!",content2:"当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱",tip:"提示",notEmail:"当前项无邮箱地址,不支持选择",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",opTip:"操作提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftSu:"保存草稿成功",selectExport:"请选择导入文件",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",emailTip5:"邮件格式不正确!请重新输入"},youxiangshezhi:{EmailCenter:"邮件中心",EmailAddress:"电子邮箱地址",EmailUserName:"邮箱用户名称",EmailUserAccount:"邮箱用户帐号",emailPass:"邮箱用户密码/授权码",accountType:"用户账户类型",ReceivingServer:"接收邮件服务器",outgoingMail:"发送邮件服务器",emailAddress:"绑定外部邮箱地址",EmailTip:"请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件",pageMax:"每页最多显示邮件数",fileNum10:"10封",fileNum20:"20封",fileNum50:"50封",fileNum100:"100封",forwardingEmail:"转发邮件时主题显示",forward:"转发",replyingToem:"回复邮件时主题显示",reply:"回复",addSignature:"发送邮件时是否添加签名",yes:"是",no:"否",sendContent:"发送邮件时添加签名内容",contentEnter:"请输入内容",save:"保 存",close:"关 闭",emailType:"邮箱类型",emailqq:"QQ邮箱",email139:"139邮箱",email163:"163邮箱",other:"其他",Emailstting:"邮箱设置",isdelEmail:"确定要删除{emailAddr}邮箱及其下文件夹吗?",isSure:"确认操作",EmailassEnter:"请先输入电子邮箱地址再进行操作!",operation:"操作提示",appCode:"客户端授权密码",code_qq:"QQ邮箱16位授权码",code_139:"139邮箱登录密码",code_163:"163邮箱授权码",describe:"您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。",configure:"接收或发送邮件服务器配置错误",EmailNot:"邮箱格式不正确",tip:"提示",sure:"确定",cancel:"取消"},backupEmailDetail:{back:"返回",ShippingBox:"发件箱",Inbox:"收件箱",Deleted:"已删除",total:"共 {{ total }} 封",JumpTo:"跳转到",page:"页",cancel:"取消",sure:"确定",singleClick:"单击一封邮件在此处显示",theme:"主题",Sender:"发件人",addressee:"收件人",bcc:"密送",Copy:"抄送",time:"时间",AttatcNum:"附件:共{{ mailInfo.attachsCount }}个附件",download:"下载",AdvancedSearch:"高级搜索",SenderAss:"请输入发件人/邮箱地址",addresseeAss:"请输入收件人/邮箱地址",EmailSubject:"邮件主题",EmailSubEnter:"请输入邮件主题",sendTime:"发送时间",selectSendtimeStart:"请选择发送时间(开始)",to:"至",selectSendtimeEnd:"选择发送时间(结束)",isTime:"发送时间(结束)不能小于发送时间(开始)",operation:"操作提示",pageFw:"跳转范围在 1 - {totalPage}页",openEmail:"请先打开邮件",contentEnter:"请输入回复内容!"},Folder:{ManageFolder:"管理文件夹",FolderName:"文件夹名称",FolderNameEnter:"请输入文件夹名称",order:"排序",orderLength:"请输入4位数字排序",specifiedEmail:"接受指定邮件",emailTip:"将符合以下规则的邮件,自动放入该文件夹",Sender:"发件人",contain:"包含",unContain:"不包含",enterSenderEmail:"请选择或输入发件人邮箱地址,多个用英文逗号分开",addressee:"收件人",enterAddressee:"请选择或输入收件人邮箱地址,多个用英文逗号分开",theme:"主题",enterTheme:"请输入邮件主题关键字,多个用英文逗号分开",close:"关 闭",save:"保 存",txl:"通讯录",emailStting:"您还没有设置邮箱信息",nowStting:"现在设置",index:"序号",boxName:"文件夹名称",orderNo:"排序号",notReadedNum:"未读邮件数",mailNum:"总邮件数",operate:"操作",senderAlreadying:'"{tname}"已存在该发件人!',senderAlready:"已存在该发件人!",recipientAlready:"已存在该收件人!",isDelBox:"确定要删除该文件夹吗?",isSure:"确认操作",emailNot:"邮件格式不正确!",boxNameMax:"文件夹名称最多可输入12位字符",tip:"提示",boxNametTip:"文件夹名称为必填",correctTip:"请正确填写4位数字排序号",emailTipbc:"请将邮件放置规则补充完整"},LeftMenu:{ReceivingLetters:"收信",writeLetters:"写信"},tbColumns:{DispatchDet:"派车详情",isDataSure:"您是否确认结束选择的数据?",success:"操作成功"},txl:{searchKey:"请输入搜索关键字",AddressBook:"公共通讯录",PersonalAddress:"个人通讯录",recentContacts:"最近联系人"},portletEmail:{index:"序号",subject:"邮件主题",fromAddr:"发送人",createTime:"发送时间"},sendMail:{source:"来源",SaveDraft:"存草稿",send:"发送",close:"关闭",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",sendEmailTip:"请输入邮件地址,内部邮箱可以输入联系人姓名",sendEmailTip1:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCRecipient:"抄送人",SecretDvyPerson:"密送人",Theme:"主 题",ThemeP:"主题",ThemeEnter:"请输入邮件主题",addAttacg:"添加附件",maxFile:"( 单个文件最大20M )",uploadSu:"上传成功",sendSuTip:"发送成功,邮件已保存到“已发送”。",WriteAnother:"再写一封",goEmail:"去收件箱",notStting:"您还没有设置邮箱信息",nowStt:"现在设置",noEmailass:"当前项无邮箱地址,不支持选择",BindExterEmail:"请先前往邮箱中心绑定外部邮箱",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",operation:"操作提示",tip:"提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftsu:"保存草稿成功",selectExportFile:"请选择导入文件",emailNot:"邮件格式不正确!",addresseeEnter:"请输入收件人!"}}}},5658:function(e,t,a){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function o(e,t,a){return(t=s(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e){var t=l(e,"string");return"symbol"==n(t)?t:t+""}function l(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var d=a(7203),c=a(9631),u=a(5624),m=a(705),p={en:r({},d),zhCN:r({},c),es:r({},u),ja:r({},m)};e.exports=r({},p)},705:function(e){e.exports={email:{formTitle:"内部邮箱",moduleMenu:{InternalEmail:"内部邮箱",Inbox:"收件箱",StarFile:"标星文件",drafts:"草稿箱",beenSent:"已发送",Deleted:"已删除",CustomFolder:"自定义文件夹",EmailAttach:"邮箱附件",txl:"通讯录",EmailMonitor:"邮件监控",EmailCenter:"邮箱中心",BackupEmail:"备份邮箱"},accessoryList:{all:"全部",picture:"图片",file:"文档",audio:"音频",video:"视频",Compressed:"压缩包",other:"其他",emailInfo:"您还没有设置邮箱信息",SetUpNow:"现在设置",AttachmentFile:"附件文件",notSelectAttach:"不能选择相同的附件,请重新选择",selectAttach:"请选择要转发的附件",downAttach:"请选择要下载的附件",index:"序号",fileName:"文件名称",size:"大小",date:"日期"},address:{grouping:"分组",notGroup:"未分组",all:"全部",BookGroup:"通讯录分组",GroupName:"分组名称",GroupNameEnter:"请输入分组名称",order:"排序",orderTip:"请输入4位数字排序",mailList:"通讯录",index:"序号",name:"姓名",operate:"操作",emailAddress:"邮箱地址",emailAddressEnter:"请输入邮箱地址",groupingEnter:"请选择分组",email:"邮箱",isDel:"确定要删除该联系人吗?",ConfirmOperation:"确认操作",isTransfer:"确定要转移选中的联系人吗?",selectTransfer:"请选择要转移的联系人",transferGroup:"转移分组",emailNot:"邮箱格式不正确",tip:"提示",isSelectlxr:"确定要删除选中的联系人吗?",selectlxr:"请选择要删除的联系人",isorderNUmber:"请正确填写4位数字排序号",isDelGroup:"确定要删除选中分组吗?",selectDelGroup:"请选择要删除的分组"},ecincMailHelp:{guideTitle:"新网邮箱设置帮助指南",guideTitle1:"1、登录新网邮箱:http://ntmail.global-mail.cn",guideTitle2:"2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码",guideTitle3:"3、设置客户端授权码"},emailWatch:{forward:"转发",del:"删除",ComDel:"彻底删除",MarkedAs:"标记为",read:"已读",unread:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",black:"返回",theme:"主题",Sender:"发件人",Copy:"抄送",addressee:"收件人",time:"时间",content:"附件:共{attachsCount}个附件",download:"下载",index:"序号",Monitoring:"监控对象",EmailSub:"邮件主题",sendTime:"发送时间",selectEmail:"请先选择邮件",isdelEmail:"将删除该邮件, 是否继续?",delEmailTip:"将永久删除该邮件,删除后不可恢复, 是否继续?",signUnread:"是否标记为未读?",signRead:"是否标记为已读?",delSign:"是否去除标星?",sign:"是否标记为标星?",tip:"提示",sure:"确定",cancel:"取消",successCancel:"已成功取消",TransferSuccessful:"转移成功!",Recentlylogin:"最近登录"},list:{emailNum:"共 0 封",emailNumIng:"共{total}封",selectEmail:"已选{count}封",cancel:"取消",sure:"确定",JumpTo:"跳转到",page:"页",edit:"编辑",ReplyAll:"全部回复",reply:"回复",withdraw:"撤回",SendAgain:"再次发送",forward:"转发",ComDel:"彻底删除",del:"删除",MarkedAs:"标记为",read:"已读",unRead:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",tipOne:"单击一封邮件在此处显示",Sender:"发件人",Copy:"抄送",bcc:"密送",addressee:"收件人",time:"时间",walStatus:"撤回状态:已撤回",content1:"附件:共{attachsCount}个附件",download:"下载",content2:"快捷回复给:{fromAddr}",send:"发送",content3:"您还没有设置邮箱信息",content4:"现在设置",AdvancedSearch:"高级搜索",content5:"请输入发件人/邮箱地址",content6:"请输入收件人/邮箱地址",emailTitle:"邮件主题",emailTitleEnter:"请输入邮件主题",sendTime:"发送时间",startTime:"请选择发送时间(开始)",endTime:"选择发送时间(结束)",to:"至",content7:"发送时间(结束)不能小于发送时间(开始)",opTip:"操作提示",content8:"跳转范围在 1 - {totalPage} 页",emailTip:"请选择邮件",emailTip1:"请先打开邮件",emailTip2:"当前邮件已读无法撤回",emailTip3:"超过24小时的邮件无法撤回",emailTip4:"撤回成功!",emailTip5:"将删除该邮件, 是否继续?",emailTip6:"将永久删除该邮件,删除后不可恢复, 是否继续?",emailTip7:"是否标记为未读?",emailTip8:"该邮件是未读邮件,无需重复操作。",emailTip9:"所选邮件均是未读邮件,无需重复操作。",emailTip10:"是否标记为已读?",emailTip11:"该邮件是已读邮件,无需重复操作。",emailTip12:"所选邮件均是已读邮件,无需重复操作。",emailTip13:"是否去除标星?",emailTip14:"该邮件是未标星邮件,无需重复操作。",emailTip15:"所选邮件均是未标星邮件,无需重复操作。",emailTip16:"是否标记为标星?",emailTip17:"该邮件是已标星邮件,无需重复操作。",emailTip18:"所选邮件均是标星邮件,无需重复操作。",tip:"提示",isDelFile:"将永久删除该文件, 是否继续?",selectDelFile:"请先选择需要删除的邮件",notOneself:"不能转移到自身文件夹!",TransferSu:"转移成功!",enterContent:"请输入回复内容!",selectEmailFile:"请先选择邮件!"},xieyoujian:{send:"发送",SaveDraft:"存草稿",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",address:"请输入邮件地址,内部邮箱可以输入联系人姓名",content:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCrecipient:"抄送人",SecretPerson:"密送人",Theme:"主 题",Theme1:"主题",ThemeEnter:"请输入邮件主题",content1:'将文件拖到此处,或<span style="color:rgba(33, 120, 241, 1)">点击上传</span>',maxFile:"(单个文件最大1G)",UploadSu:"上传成功",sendSu:"发送成功",emailTip:"邮件已保存到“已发送”",WriteAn:"再写一封",GoInbox:"去收件箱",setUpInfo:" 您还没有设置邮箱信息",nowSetup:"现在设置",addresseeEnter:"请输入收件人!",content2:"当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱",tip:"提示",notEmail:"当前项无邮箱地址,不支持选择",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",opTip:"操作提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftSu:"保存草稿成功",selectExport:"请选择导入文件",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",emailTip5:"邮件格式不正确!请重新输入"},youxiangshezhi:{EmailCenter:"邮件中心",EmailAddress:"电子邮箱地址",EmailUserName:"邮箱用户名称",EmailUserAccount:"邮箱用户帐号",emailPass:"邮箱用户密码/授权码",accountType:"用户账户类型",ReceivingServer:"接收邮件服务器",outgoingMail:"发送邮件服务器",emailAddress:"绑定外部邮箱地址",EmailTip:"请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件",pageMax:"每页最多显示邮件数",fileNum10:"10封",fileNum20:"20封",fileNum50:"50封",fileNum100:"100封",forwardingEmail:"转发邮件时主题显示",forward:"转发",replyingToem:"回复邮件时主题显示",reply:"回复",addSignature:"发送邮件时是否添加签名",yes:"是",no:"否",sendContent:"发送邮件时添加签名内容",contentEnter:"请输入内容",save:"保 存",close:"关 闭",emailType:"邮箱类型",emailqq:"QQ邮箱",email139:"139邮箱",email163:"163邮箱",other:"其他",Emailstting:"邮箱设置",isdelEmail:"确定要删除{emailAddr}邮箱及其下文件夹吗?",isSure:"确认操作",EmailassEnter:"请先输入电子邮箱地址再进行操作!",operation:"操作提示",appCode:"客户端授权密码",code_qq:"QQ邮箱16位授权码",code_139:"139邮箱登录密码",code_163:"163邮箱授权码",describe:"您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。",configure:"接收或发送邮件服务器配置错误",EmailNot:"邮箱格式不正确",tip:"提示",sure:"确定",cancel:"取消"},backupEmailDetail:{back:"返回",ShippingBox:"发件箱",Inbox:"收件箱",Deleted:"已删除",total:"共 {{ total }} 封",JumpTo:"跳转到",page:"页",cancel:"取消",sure:"确定",singleClick:"单击一封邮件在此处显示",theme:"主题",Sender:"发件人",addressee:"收件人",bcc:"密送",Copy:"抄送",time:"时间",AttatcNum:"附件:共{{ mailInfo.attachsCount }}个附件",download:"下载",AdvancedSearch:"高级搜索",SenderAss:"请输入发件人/邮箱地址",addresseeAss:"请输入收件人/邮箱地址",EmailSubject:"邮件主题",EmailSubEnter:"请输入邮件主题",sendTime:"发送时间",selectSendtimeStart:"请选择发送时间(开始)",to:"至",selectSendtimeEnd:"选择发送时间(结束)",isTime:"发送时间(结束)不能小于发送时间(开始)",operation:"操作提示",pageFw:"跳转范围在 1 - {totalPage}页",openEmail:"请先打开邮件",contentEnter:"请输入回复内容!"},Folder:{ManageFolder:"管理文件夹",FolderName:"文件夹名称",FolderNameEnter:"请输入文件夹名称",order:"排序",orderLength:"请输入4位数字排序",specifiedEmail:"接受指定邮件",emailTip:"将符合以下规则的邮件,自动放入该文件夹",Sender:"发件人",contain:"包含",unContain:"不包含",enterSenderEmail:"请选择或输入发件人邮箱地址,多个用英文逗号分开",addressee:"收件人",enterAddressee:"请选择或输入收件人邮箱地址,多个用英文逗号分开",theme:"主题",enterTheme:"请输入邮件主题关键字,多个用英文逗号分开",close:"关 闭",save:"保 存",txl:"通讯录",emailStting:"您还没有设置邮箱信息",nowStting:"现在设置",index:"序号",boxName:"文件夹名称",orderNo:"排序号",notReadedNum:"未读邮件数",mailNum:"总邮件数",operate:"操作",senderAlreadying:'"{tname}"已存在该发件人!',senderAlready:"已存在该发件人!",recipientAlready:"已存在该收件人!",isDelBox:"确定要删除该文件夹吗?",isSure:"确认操作",emailNot:"邮件格式不正确!",boxNameMax:"文件夹名称最多可输入12位字符",tip:"提示",boxNametTip:"文件夹名称为必填",correctTip:"请正确填写4位数字排序号",emailTipbc:"请将邮件放置规则补充完整"},LeftMenu:{ReceivingLetters:"收信",writeLetters:"写信"},tbColumns:{DispatchDet:"派车详情",isDataSure:"您是否确认结束选择的数据?",success:"操作成功"},txl:{searchKey:"请输入搜索关键字",AddressBook:"公共通讯录",PersonalAddress:"个人通讯录",recentContacts:"最近联系人"},portletEmail:{index:"序号",subject:"邮件主题",fromAddr:"发送人",createTime:"发送时间"},sendMail:{source:"来源",SaveDraft:"存草稿",send:"发送",close:"关闭",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",sendEmailTip:"请输入邮件地址,内部邮箱可以输入联系人姓名",sendEmailTip1:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCRecipient:"抄送人",SecretDvyPerson:"密送人",Theme:"主 题",ThemeP:"主题",ThemeEnter:"请输入邮件主题",addAttacg:"添加附件",maxFile:"( 单个文件最大20M )",uploadSu:"上传成功",sendSuTip:"发送成功,邮件已保存到“已发送”。",WriteAnother:"再写一封",goEmail:"去收件箱",notStting:"您还没有设置邮箱信息",nowStt:"现在设置",noEmailass:"当前项无邮箱地址,不支持选择",BindExterEmail:"请先前往邮箱中心绑定外部邮箱",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",operation:"操作提示",tip:"提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftsu:"保存草稿成功",selectExportFile:"请选择导入文件",emailNot:"邮件格式不正确!",addresseeEnter:"请输入收件人!"}}}},9631:function(e){e.exports={email:{formTitle:"内部邮箱",menuItem:{internalEmail:"内部邮箱",inbox:"收件箱",starFile:"标星文件",drafts:"草稿箱",beenSent:"已发送",deleted:"已删除",customFolder:"自定义文件夹",emailAttach:"邮箱附件",txl:"通讯录",emailMonitor:"邮件监控",emailCenter:"邮箱中心",backupEmail:"备份邮箱"},accessoryList:{fields:{fileName:"文件名称",size:"大小",date:"日期"},all:"全部",picture:"图片",file:"文档",audio:"音频",video:"视频",Compressed:"压缩包",other:"其他",emailInfo:"您还没有设置邮箱信息,",AttachmentFile:"附件文件"},address:{fields:{GroupName:"分组名称",order:"排序",emailAddress:"邮箱地址",email:"邮箱",grouping:"分组"},grouping:"分组",notGroup:"未分组",all:"全部",BookGroup:"通讯录分组",GroupNameEnter:"请输入分组名称",orderTip:"请输入4位数字排序",mailList:"通讯录",emailAddressEnter:"请输入邮箱地址",groupingEnter:"请选择分组"},ecincMailHelp:{guideTitle:"新网邮箱设置帮助指南",guideTitle1:"1、登录新网邮箱:http://ntmail.global-mail.cn",guideTitle2:"2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码",guideTitle3:"3、设置客户端授权码"},emailWatch:{fields:{Monitoring:"监控对象",EmailSub:"邮件主题",sendTime:"发送时间"},MarkedAs:"标记为",read:"已读",unread:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",theme:"主题:{name}",Sender:"发件人:{addr}",Copy:"抄送:{to}",addressee:"收件人:{sendTo}",time:"时间:{time}",content:"附件:共{attachsCount}个附件",Recentlylogin:"最近登录:{time}"},list:{fields:{Sender:"发件人",addressee:"收件人",emailTitle:"邮件主题",sendTime:"发送时间"},emailNum:"共 0 封",emailNumIng:"共{total}封",selectEmail:"已选{count}封",JumpTo:"跳转到",page:"页",not:"无",tipOne:"单击一封邮件在此处显示",Sender2:"发件人:{to}",Copy:"抄送",bcc:"密送:{to}",addressee2:"收件人:{to}",time:"时间:{to}",walStatus:"撤回状态:已撤回",content1:"附件:共{attachsCount}个附件",download:"下载",content2:"快捷回复给:{fromAddr}",content3:"您还没有设置邮箱信息,",content4:"现在设置",AdvancedSearch:"高级搜索",content5:"请输入发件人/邮箱地址",content6:"请输入收件人/邮箱地址",emailTitleEnter:"请输入邮件主题",startTime:"请选择发送时间(开始)",endTime:"选择发送时间(结束)"},xieyoujian:{fields:{addressee:"收件人:",CCrecipient:"抄送人:",SecretPerson:"密送人:",Theme:"主 题:"},SaveDraft:"存草稿",Receipt:"已读回执",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",address:"请输入邮件地址,内部邮箱可以输入联系人姓名",content:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",ThemeEnter:"请输入邮件主题",content1:'将文件拖到此处,或<span style="color:rgba(33, 120, 241, 1)">点击上传</span>',maxFile:"(单个文件最大1G)",UploadSu:"上传成功",sendSu:"发送成功",emailTip:"邮件已保存到“已发送”",setUpInfo:" 您还没有设置邮箱信息,",content2:"当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱",notEmail:"当前项无邮箱地址,不支持选择"},youxiangshezhi:{fields:{EmailAddress:"电子邮箱地址",EmailUserName:"邮箱用户名称",EmailUserAccount:"邮箱用户帐号",emailPass:"邮箱用户密码/授权码",accountType:"用户账户类型",ReceivingServer:"接收邮件服务器",outgoingMail:"发送邮件服务器",emailAddress:"绑定外部邮箱地址",pageMax:"每页最多显示邮件数",forwardingEmail:"转发邮件时主题显示",replyingToem:"回复邮件时主题显示",addSignature:"发送邮件时是否添加签名",sendContent:"发送邮件时添加签名内容"},EmailCenter:"邮件中心",EmailTip:"请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件",fileNum10:"10封",fileNum20:"20封",fileNum50:"50封",fileNum100:"100封",reply:"回复",contentEnter:"请输入内容",save:"保 存",close:"关 闭",emailType:"邮箱类型",emailqq:"QQ邮箱",email139:"139邮箱",email163:"163邮箱",other:"其他",Emailstting:"邮箱设置",isdelEmail:"确定要删除{emailAddr}邮箱及其下文件夹吗?",isSure:"确认操作",EmailassEnter:"请先输入电子邮箱地址再进行操作!",operation:"操作提示",appCode:"客户端授权密码",code_qq:"QQ邮箱16位授权码",code_139:"139邮箱登录密码",code_163:"163邮箱授权码",describe:"您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。",configure:"接收或发送邮件服务器配置错误",EmailNot:"邮箱格式不正确"},components:{fields:{Sender:"发件人",addressee:"收件人",EmailSubject:"邮件主题",sendTime:"发送时间",FolderName:"文件夹名称",order:"排序",specifiedEmail:"接受指定邮件",theme:"主题",index:"序号",boxName:"文件夹名称",orderNo:"排序号",notReadedNum:"未读邮件数",mailNum:"总邮件数",operate:"操作"},total:"共 { total } 封",JumpTo:"跳转到",page:"页",singleClick:"单击一封邮件在此处显示",theme:"主题:{name}",Sender2:"发件人:{addr}",addressee2:"收件人:{sendTo}",bcc:"密送",Copy:"抄送",time:"时间:{time}",AttatcNum:"附件:共{ attachsCount }个附件",AdvancedSearch:"高级搜索",SenderAss:"请输入发件人/邮箱地址",addresseeAss:"请输入收件人/邮箱地址",EmailSubEnter:"请输入邮件主题",selectSendtimeStart:"请选择发送时间(开始)",selectSendtimeEnd:"选择发送时间(结束)",ManageFolder:"管理文件夹",FolderNameEnter:"请输入文件夹名称",orderLength:"请输入4位数字排序",emailTip:"将符合以下规则的邮件,自动放入该文件夹",contain:"包含",unContain:"不包含",enterSenderEmail:"请选择或输入发件人邮箱地址,多个用英文逗号分开",enterAddressee:"请选择或输入收件人邮箱地址,多个用英文逗号分开",enterTheme:"请输入邮件主题关键字,多个用英文逗号分开",select:"选择",txl:"通讯录",emailStting:"您还没有设置邮箱信息,",ReceivingLetters:"收信",writeLetters:"写信",DispatchDet:"派车详情",searchKey:"请输入搜索关键字",AddressBook:"公共通讯录",PersonalAddress:"个人通讯录",recentContacts:"最近联系人"},pageBtns:{ShippingBox:"发件箱",Inbox:"收件箱",Deleted:"已删除",nowSeting:"现在设置",Theme:"主 题:",addAttacg:"添加附件:",goEmail:"去收件箱",transferGroup:"转移分组",back:"返回",ReplyAll:"全部回复",reply:"回复",withdraw:"撤回",SendAgain:"再次发送",MarkedAs:"标记为",read:"已读",unRead:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",WriteAn:"再写一封",readingLog:"阅读记录"},messages:{contentEnter:"请输入回复内容!",senderAlreadying:'"{tname}"已存在该发件人!',senderAlready:"已存在该发件人!",recipientAlready:"已存在该收件人!",isDelBox:"确定要删除该文件夹吗?",isSure:"确认操作",emailNot:"邮件格式不正确!",boxNameMax:"文件夹名称最多可输入12位字符",boxNametTip:"文件夹名称为必填",correctTip:"请正确填写4位数字排序号",emailTipbc:"请将邮件放置规则补充完整",isDataSure:"您是否确认结束选择的数据?",success:"操作成功",noEmailass:"当前项无邮箱地址,不支持选择",BindExterEmail:"请先前往邮箱中心绑定外部邮箱",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftsu:"保存草稿成功",selectExportFile:"请选择导入文件",addresseeEnter:"请输入收件人!",notSelectAttach:"不能选择相同的附件,请重新选择",selectAttach:"请选择要转发的附件",downAttach:"请选择要下载的附件",isDel:"确定要删除该联系人吗?",isTransfer:"确定要转移选中的联系人吗?",selectTransfer:"请选择要转移的联系人",isSelectlxr:"确定要删除选中的联系人吗?",selectlxr:"请选择要删除的联系人",isorderNUmber:"请正确填写4位数字排序号",isDelGroup:"确定要删除选中分组吗?",selectDelGroup:"请选择要删除的分组",selectEmail:"请先选择邮件",isdelEmail:"将删除该邮件, 是否继续?",delEmailTip:"将永久删除该邮件,删除后不可恢复, 是否继续?",signUnread:"是否标记为未读?",signRead:"是否标记为已读?",delSign:"是否去除标星?",sign:"是否标记为标星?",successCancel:"已成功取消",TransferSuccessful:"转移成功!",content7:"发送时间(结束)不能小于发送时间(开始)",content8:"跳转范围在 1 - {totalPage} 页",emailTip:"请选择邮件",emailTip21:"请先打开邮件",emailTip22:"当前邮件已读无法撤回",emailTip23:"超过24小时的邮件无法撤回",emailTip24:"撤回成功!",emailTip5:"将删除该邮件, 是否继续?",emailTip6:"将永久删除该邮件,删除后不可恢复, 是否继续?",emailTip7:"是否标记为未读?",emailTip8:"该邮件是未读邮件,无需重复操作。",emailTip9:"所选邮件均是未读邮件,无需重复操作。",emailTip10:"是否标记为已读?",emailTip11:"该邮件是已读邮件,无需重复操作。",emailTip12:"所选邮件均是已读邮件,无需重复操作。",emailTip13:"是否去除标星?",emailTip14:"该邮件是未标星邮件,无需重复操作。",emailTip15:"所选邮件均是未标星邮件,无需重复操作。",emailTip16:"是否标记为标星?",emailTip17:"该邮件是已标星邮件,无需重复操作。",emailTip18:"所选邮件均是标星邮件,无需重复操作。",emailTip19:"邮件格式不正确!请重新输入",isDelFile:"将永久删除该文件, 是否继续?",selectDelFile:"请先选择需要删除的邮件",notOneself:"不能转移到自身文件夹!",TransferSu:"转移成功!",enterContent:"请输入回复内容!",selectEmailFile:"请先选择邮件!"},backupEmailDetail:{isTime:"发送时间(结束)不能小于发送时间(开始)",operation:"操作提示",pageFw:"跳转范围在 1 - {totalPage}页",openEmail:"请先打开邮件"},portletEmail:{subject:"邮件主题",fromAddr:"发送人",createTime:"发送时间"},sendMail:{fields:{addressee:"收件人:",CCRecipient:"抄送人:",SecretDvyPerson:"密送人:"},source:"来源:{srcName}",SaveDraft:"存草稿",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",sendEmailTip:"请输入邮件地址,内部邮箱可以输入联系人姓名",sendEmailTip1:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",ThemeP:"主题",ThemeEnter:"请输入邮件主题",maxFile:"( 单个文件最大20M )",uploadSu:"上传成功",sendSuTip:"发送成功,邮件已保存到“已发送”。",WriteAnother:"再写一封",notStting:"您还没有设置邮箱信息,"},userSetup:{formTitle:"用户邮箱设置",fields:{spaceSize:"分配空间",emailAddr:"邮箱地址",emailUsername:"姓名",attachLimit:"附件上限",status:"状态 ",mailSize:"信件大小",concurrent:"单封并发"}},blackWhiteList:{formTitle:"黑白名单设置",fields:{mailAddress:"请输入账号"}},byRegulator:{formTitle:"被监控者表",fields:{jkEndTime:"监控结束时间",mailAddr:"监控者",byMailAddr:"被监控者",isYjjk:"是否永久监控 ",orgName:"机构名称",jkStartTime:"监控开始时间",status:"状态 ",jkRange:"监控范围 "}},orgSpaceSet:{formTitle:"单位空间设置",fields:{status:"状态 ",orgName:"单位名称",spaceSize:"分配空间",createTime:"创建日期",createName:"创建人"}}}}},553:function(e,t){"use strict";t.A={pinyin:{a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},chineseToPinYin:function(e){for(var t=e.length,a="",n=new RegExp("[a-zA-Z0-9]"),i=0;i<t;i++){var r=e.substr(i,1),o=this.arraySearch(r,this.pinyin);n.test(r)?a+=r:!1!==o&&(a+=o)}a=a.replace(/ /g,"-");while(a.indexOf("--")>0)a=a.replace("--","-");return a},arraySearch:function(e,t){for(var a in this.pinyin)if(-1!==this.pinyin[a].indexOf(e))return this.ucfirst(a);return!1},ucfirst:function(e){if(e.length>0){var t=e.substr(0,1).toUpperCase(),a=e.substr(1,e.length);return t+a}},initial:function(e){for(var t=this.chineseToPinYin(e),a="",n=0;n<t.length;n++){var i=t.charAt(n);/^[A-Z]+$/.test(i)&&(a+=i)}return a},getInitialColor:function(e){var t=this.initial(e);return"A"===t||"G"===t||"M"===t||"S"===t||"Y"===t?"#759EFE":"B"===t||"H"===t||"N"===t||"T"===t||"Z"===t?"#81DDA3":"C"===t||"I"===t||"O"===t||"U"===t?"#BEDF85":"D"===t||"J"===t||"P"===t||"V"===t?"#FCB076":"E"===t||"K"===t||"Q"===t||"W"===t?"#F99780":"#FF9494"}}},8097:function(e,t){"use strict";var a=document,n=a.body,i=992;t.A={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(this.$store.dispatch("app/toggleDevice","mobile"),this.$store.dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=n.getBoundingClientRect();return e.width-1<i},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();this.$store.dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&this.$store.dispatch("app/closeSideBar",{withoutAnimation:!0})}}}}},8075:function(e,t,a){"use strict";var n=a(453),i=a(487),r=i(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"===typeof a&&r(e,".prototype.")>-1?i(a):a}},487:function(e,t,a){"use strict";var n=a(6743),i=a(453),r=a(6897),o=a(9675),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),d=i("%Reflect.apply%",!0)||n.call(l,s),c=a(655),u=i("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new o("a function is required");var t=d(n,l,arguments);return r(t,1+u(0,e.length-(arguments.length-1)),!0)};var m=function(){return d(n,s,arguments)};c?c(e.exports,"apply",{value:m}):e.exports.apply=m},4778:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".widthChange[data-v-45c17f86] .el-table-toolbar-left{width:55%!important}.widthChange[data-v-45c17f86] .el-table-toolbar-right{width:45%!important}.span[data-v-45c17f86]{color:#606266;font-size:var(--portalFontSize14)}.span .spanChild[data-v-45c17f86]{margin-right:24px;cursor:pointer}.svg_stile[data-v-45c17f86]{width:13px;height:13px;position:relative;top:1px;margin-right:4px}",""]),t["default"]=s},1084:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".left_account ul[data-v-a78c7e32]{margin:0;padding:0}.left_account ul li[data-v-a78c7e32],.top[data-v-a78c7e32]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-a78c7e32] .el-checkbox__label{line-height:14px!important}",""]),t["default"]=s},5215:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".el-dialog-div[data-v-ad99ca52]{height:566px;overflow:auto}.div .el-dialog__wrapper[data-v-ad99ca52]{width:20%;overflow-y:hidden;position:fixed;left:77vw}.dialog[data-v-ad99ca52] .el-dialog{border:1px solid #dcdfe6}",""]),t["default"]=s},8541:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,":export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.appname{margin-left:-5px}.el-menu--popup{overflow:hidden;border-radius:3px}.nest-menu.notop{border-top:none!important}.nest-menu.notop .el-menu-item{background-color:#384b63!important;border-bottom:1px dotted #777;height:50px;line-height:50px}.nest-menu.notop .el-menu-item.is-active{color:#fff!important}.nest-menu.notop .el-menu-item.is-active:after{right:0}.nest-menu.notop .el-menu-item:hover{background-color:#445c80!important;color:#fff!important}.nest-menu.notop:last-child .el-menu-item{border-bottom:none}.el-menu-item{height:50px}.std-scrollbar-wrapper{background-color:var(--lmBgColor);border-right:1px solid #e6e6e6}.std-scrollbar-wrapper .el-submenu__title:hover,.std-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:var(--lmBgColorActive) !important!important}.std-scrollbar-wrapper .is-active>.el-submenu__title{color:var(--lmTextColorActive)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:var(--lmBgColor)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item:hover,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:hsla(193,8%,67%,.42)!important}.dark-scrollbar-wrapper{background-color:#304156;border-right:1px solid #304156}.dark-scrollbar-wrapper .el-submenu__title:hover,.dark-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:#263445!important}.dark-scrollbar-wrapper .is-active>.el-submenu__title{color:#fff}.dark-scrollbar-wrapper .el-submenu .el-menu-item,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:#384b63!important;border-bottom:none}.dark-scrollbar-wrapper .el-submenu .el-menu-item.is-active,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title.is-active{color:#fff!important}.dark-scrollbar-wrapper .el-submenu .el-menu-item:hover,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#445c80!important;color:#fff!important}/deep/.topBtn-wrapper{text-align:center;height:55px}.separate{height:10px;background-color:#fff}.writeEmail{position:relative;justify-items:start;margin:0;border-radius:2px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;line-height:49px;border:1px solid #eee;text-align:center;background-color:#fff;height:31px;margin:12px 4px;width:76px;cursor:pointer}.writeEmail:first-child{border-right:1px solid #d8d9da}.writeEmail .svg-icon{width:14px;height:14px;position:absolute;top:30%;left:25%}.writeEmail span{font-size:var(--portalFontSize14);line-height:19px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:50%}",""]),t["default"]=s},6118:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".fontBold[data-v-1f18f259]{font-weight:800}[data-v-1f18f259] .lyy-bg textarea{padding:10px;background:#f7f8fa;font-size:var(--portalFontSize13);border:1px solid #ebedf0;max-height:105px}[data-v-1f18f259] .email_main{padding-top:0}[data-v-1f18f259] .el-pagination .btn-next,[data-v-1f18f259] .el-pagination .btn-prev{padding:0 6px}[data-v-1f18f259] .el-table__header-wrapper>table>thead>tr{height:50px}[data-v-1f18f259] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-1f18f259] .el-table__body-wrapper::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-1f18f259]::-webkit-scrollbar{width:6px;height:6px}[data-v-1f18f259]::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-1f18f259] .el-table__body-wrapper{width:100%;overflow:hidden;height:calc(100vh - 230px);overflow-y:auto}[data-v-1f18f259] .el-table .cell{margin-left:5px}.select-email-addr[data-v-1f18f259]{float:right;padding-right:10px}.select-email-addr[data-v-1f18f259] .el-input__inner{border:0}.text-left .detailPSize[data-v-1f18f259]{margin:8px 0;padding:0;line-height:20px;font-weight:400;color:#333;font-size:var(--portalFontSize12)}.mailListP[data-v-1f18f259]{font-size:var(--portalFontSize12);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email_main .el-table[data-v-1f18f259]:before{height:0!important}[data-v-1f18f259] .el-table-column--selection .cell{position:absolute;top:10px}[data-v-1f18f259] .el-table__header-wrapper .el-table-column--selection .cell{top:14px}.mailtoolBtn[data-v-1f18f259]{width:auto;height:50px;line-height:42px;font-size:var(--portalFontSize14);border-bottom:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mailtoolBtn .mailtoolBtnInner[data-v-1f18f259]{width:110px;height:42px;text-align:center;cursor:pointer;z-index:99;color:#333}.changePopper[data-v-1f18f259]{width:100px;height:auto;line-height:20px;text-align:left;padding:10px 5px;background-color:#fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;position:relative;top:-3px}.changePopper span[data-v-1f18f259]{width:90px;height:30px;line-height:30px;display:block;color:#333;overflow:hidden;text-overflow:clip}.changePopper span[data-v-1f18f259]:hover{background-color:#f5f7fa;color:#409eff}.resize[data-v-1f18f259]{cursor:col-resize;float:left;background-color:#d6d6d6;border-radius:5px;width:1px;height:calc(100vh - 162px);background-size:cover;background-position:50%;color:#fff}.resize[data-v-1f18f259]:hover{color:#444}[data-v-1f18f259] .jumpInput{width:36px;height:25px;line-height:25px;border:1px solid #d6d6d6;outline:none;border-radius:4px;padding:0 4px}[data-v-1f18f259] .jumpInput:focus,[data-v-1f18f259] .jumpInput:hover{border:1px solid #409eff}.jumpPopover[data-v-1f18f259]{position:absolute;top:100px;width:180px;height:auto;left:262px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;padding:20px;z-index:10}.jumpPopover[data-v-1f18f259],[data-v-1f18f259] .el-table .el-table__header-wrapper .el-table__header thead th{background:#fff}",""]),t["default"]=s},1246:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".popover_center{text-align:center;min-width:120px}",""]),t["default"]=s},4461:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".pcgl-btn .el-button[data-v-e36757d2]{cursor:pointer;padding:0 7px}.clgl-sendcar[data-v-e36757d2],.clgl-sendcarD[data-v-e36757d2]{color:#333}.clgl-sendcarD[data-v-e36757d2]:hover{color:#409eff}",""]),t["default"]=s},7055:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".pcgl-btn .el-button[data-v-0088706c]{cursor:pointer;padding:0 7px}.clgl-sendcar[data-v-0088706c],.clgl-sendcarD[data-v-0088706c]{color:#333}.clgl-sendcarD[data-v-0088706c]:hover{color:#409eff}",""]),t["default"]=s},1655:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".right_address_book .el-input__inner[data-v-0d337f2c]{height:29px;line-height:29px}.right_address_book .books_tree[data-v-0d337f2c]{margin-top:9px;height:calc(100% - 60px);overflow:auto}.right_address_book .books_tree .el-scrollbar[data-v-0d337f2c]{width:100%;height:100%}.right_address_book .books_tree .el-scrollbar[data-v-0d337f2c] .el-scrollbar__wrap{overflow:auto;height:calc(100% + 17px)}.right_address_book .books_tree .el-scrollbar[data-v-0d337f2c] .el-scrollbar__wrap .el-scrollbar__view{overflow:hidden;padding-right:6px;display:inline-block}.right_address_book .books_tree[data-v-0d337f2c] .el-menu{border:none;background-color:#fff!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu{border:none}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu:before{display:none!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu .el-icon-arrow-right{width:12px;height:12px;margin:0;font-size:var(--portalFontSize12)}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu .el-submenu__icon-arrow.el-icon-arrow-down{display:none}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu .el-submenu__title:hover{background-color:#fff}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .el-submenu>.el-submenu__title{height:30px!important;line-height:30px!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .el-menu-item-group__title{padding:0}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .ztree{padding:0 0 0 15px}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .el-submenu__title{font-size:var(--portalFontSize12);padding:0!important;overflow:hidden;background-color:#fff!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu-vertical-demo{border-width:0}.right_address_book .books_tree[data-v-0d337f2c] .el-menu-vertical-demo::-webkit-scrollbar{display:none}[data-v-0d337f2c] .el-icon-arrow-down{display:none}[data-v-0d337f2c] .el-menu .el-submenu.is-opened>.el-submenu__title .el-icon-arrow-right{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}[data-v-0d337f2c] .ztree-container{overflow-y:hidden}",""]),t["default"]=s},2596:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".helperMailCont[data-v-556855f0]{width:100%;height:calc(100vh - 50px);overflow:hidden;overflow-y:auto;text-align:center}h5[data-v-556855f0]{text-align:left;line-height:40px;padding:10px 10%}img[data-v-556855f0]{width:80%;height:auto;display:block;margin:0 auto}",""]),t["default"]=s},8875:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".mailtoolBtn[data-v-c1a106ec]{width:auto;height:50px;line-height:42px;font-size:var(--portalFontSize14);border-bottom:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mailtoolBtn .mailtoolBtnInner[data-v-c1a106ec]{width:110px;height:42px;text-align:center;cursor:pointer;z-index:99;color:#333}.mailtoolBtn .back[data-v-c1a106ec]{width:70px;height:30px;float:right;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #ebeef5;margin-top:7px}[data-v-c1a106ec] .el-table-toolbar{display:none}.changePopper[data-v-c1a106ec]{width:100px;height:auto;line-height:20px;text-align:left;padding:10px 5px;background-color:#fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;position:relative;top:-3px}.changePopper span[data-v-c1a106ec]{width:90px;height:30px;line-height:30px;display:block;color:#333;overflow:hidden;text-overflow:clip}.changePopper span[data-v-c1a106ec]:hover{background-color:#f5f7fa;color:#409eff}.text-left .detailPSize[data-v-c1a106ec]{margin:8px 0;padding:0;line-height:20px;font-weight:400;color:#333;font-size:var(--portalFontSize12)}.text-left[data-v-c1a106ec]::-webkit-scrollbar{width:6px;height:6px}.text-left[data-v-c1a106ec]::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}",""]),t["default"]=s},2915:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,'[data-v-b27ea0b0]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.app-wrapper[data-v-b27ea0b0]{position:relative;height:100%;width:100%}.app-wrapper[data-v-b27ea0b0]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-b27ea0b0]{position:fixed;top:0}.drawer-bg[data-v-b27ea0b0]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.fixed-header[data-v-b27ea0b0]{position:fixed;top:60px;right:0;z-index:9;width:calc(100% - 210px);-webkit-transition:width .28s;transition:width .28s}.mobile .fixed-header[data-v-b27ea0b0]{width:100%}.imgHead[data-v-b27ea0b0]{width:20px;height:20px;border-radius:20px;text-align:center;line-height:20px;margin-right:10px}.imgHead2[data-v-b27ea0b0]{display:inline-block;width:24px;height:24px;border-radius:50%;text-align:center;line-height:24px;top:-5px;position:relative;margin-right:5px}[data-v-b27ea0b0] .changEmail .el-input__inner{border:none;padding-left:6px}.accountDialog[data-v-b27ea0b0]{width:340px;height:auto;position:absolute;z-index:100;top:45px;right:10px;background-color:#fff;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.1)!important;box-shadow:0 0 6px 0 rgba(0,0,0,.1)!important;border-radius:4px;font-size:var(--portalFontSize14)}.accountDialog .currentOptiopn[data-v-b27ea0b0]{height:66px;padding:10px 20px;border-bottom:1px solid #eee}.accountDialog .optionList[data-v-b27ea0b0]{width:260px;color:#333;margin-top:16px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;padding:0 40px 0 20px}.accountDialog .optionList[data-v-b27ea0b0]:hover{color:#409eff}.accountDialog .optionListWrap>div:first-child .optionList[data-v-b27ea0b0]{margin-top:0}.headInfo[data-v-b27ea0b0]{width:350px;height:40px;background:#fff;position:absolute;top:0;right:0}[data-v-b27ea0b0] .navbar{margin:0;padding:0 10px}[data-v-b27ea0b0] .navbar .right-menu{right:10px}',""]),t["default"]=s},1788:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".tbStyle[data-v-5cfefb96] .is-scrolling-none .el-table__body .el-table_1_column_2{padding:9px 0!important}.tbStyle[data-v-5cfefb96] .el-table__header-wrapper .el-table__header .has-gutter .el-table_1_column_2 .cell,.tbStyle[data-v-5cfefb96] .is-scrolling-none .el-table__body .el-table_1_column_2 .cell{padding-right:15px!important;padding-left:0!important}.fontBold[data-v-5cfefb96]{font-weight:800}[data-v-5cfefb96] .lyy-bg textarea{padding:10px;background:#f7f8fa;font-size:var(--portalFontSize13);border:1px solid #ebedf0;max-height:105px}[data-v-5cfefb96] .email_main{padding-top:0}[data-v-5cfefb96] .el-pagination .btn-next,[data-v-5cfefb96] .el-pagination .btn-prev{padding:0 6px}[data-v-5cfefb96] .email_main .el-table__header-wrapper{border-bottom:1px solid #ececec}[data-v-5cfefb96] .el-table__header-wrapper>table>thead>tr{height:50px!important}[data-v-5cfefb96] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-5cfefb96] .el-table__body-wrapper::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-5cfefb96]::-webkit-scrollbar{width:6px;height:6px}[data-v-5cfefb96]::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-5cfefb96] .email_main .el-table--medium td,[data-v-5cfefb96] .email_main .el-table--medium th{padding:2px 0}[data-v-5cfefb96] .el-table__body-wrapper{width:100%;overflow:hidden;overflow-y:auto}[data-v-5cfefb96] .el-table__body-wrapper .tdcont,[data-v-5cfefb96] .el-table__body-wrapper .tdlbl{padding-left:5px!important;padding-right:5px!important}[data-v-5cfefb96] .el-table .cell{margin-left:5px;width:unset!important}.left[data-v-5cfefb96] .el-table .el-table__cell{padding:9px 0!important;cursor:pointer}.select-email-addr[data-v-5cfefb96]{float:right;padding-right:10px}.select-email-addr[data-v-5cfefb96] .el-input__inner{border:0}.text-left .detailPSize[data-v-5cfefb96]{margin:8px 0;padding:0;line-height:20px;font-weight:400;color:#333;font-size:var(--portalFontSize12)}.mailListP[data-v-5cfefb96]{font-size:var(--portalFontSize12);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listItem[data-v-5cfefb96]{word-wrap:break-word;word-break:break-all;overflow:hidden}.email_main .el-table[data-v-5cfefb96]:before{height:0!important}[data-v-5cfefb96] .el-table-column--selection .cell{position:absolute;top:3px}[data-v-5cfefb96] .el-table-column--selection .cell .el-checkbox{margin-top:3px}[data-v-5cfefb96] .el-table__header-wrapper .el-table-column--selection .cell{right:3px;top:0}.mailtoolBtn[data-v-5cfefb96]{width:auto;height:50px;line-height:42px;font-size:var(--portalFontSize14);border-bottom:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mailtoolBtn .mailtoolBtnInner[data-v-5cfefb96]{width:110px;height:42px;text-align:center;cursor:pointer;z-index:99;color:#333}.mailtoolBtn .mailtoolBtnInner span[data-v-5cfefb96]{margin-left:5px}.changePopper[data-v-5cfefb96]{width:100px;height:auto;line-height:20px;text-align:left;padding:10px 5px;background-color:#fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;position:relative;top:-3px}.changePopper span[data-v-5cfefb96]{width:90px;height:30px;line-height:30px;display:block;color:#333;overflow:hidden;text-overflow:clip}.changePopper span[data-v-5cfefb96]:hover{background-color:#f5f7fa;color:#409eff}.resize[data-v-5cfefb96]{cursor:col-resize;float:left;background-color:#d6d6d6;border-radius:5px;width:1px;height:calc(100vh - 162px);background-size:cover;background-position:50%;color:#fff}.resize[data-v-5cfefb96]:hover{color:#444}[data-v-5cfefb96] .jumpInput{width:36px;height:25px;line-height:25px;border:1px solid #d6d6d6;outline:none;border-radius:4px;padding:0 4px}[data-v-5cfefb96] .jumpInput:focus,[data-v-5cfefb96] .jumpInput:hover{border:1px solid #409eff}.jumpPopover[data-v-5cfefb96]{position:absolute;top:100px;width:180px;height:auto;left:262px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;padding:20px;z-index:10}.jumpPopover[data-v-5cfefb96],[data-v-5cfefb96] .el-table .el-table__header-wrapper .el-table__header thead th{background:#fff}.my_selection[data-v-5cfefb96]{text-overflow:clip;overflow:unset}",""]),t["default"]=s},9296:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".popover_center{text-align:center;min-width:120px}",""]),t["default"]=s},1261:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,'#Email-body[data-v-48c2564b]{height:100}[data-v-48c2564b] .has-gutter tr th{background-color:#fff!important}.no1[data-v-48c2564b]{position:relative;padding:0 0 0 20px}.no1[data-v-48c2564b]:after{content:"";display:block;position:absolute;left:8px;width:6px;height:6px;border-radius:6px;background-color:#d8d8d8;z-index:100;top:32%}.no2[data-v-48c2564b]{position:relative;padding:0 0 0 20px}.no2[data-v-48c2564b]:after{content:"";display:block;position:absolute;left:8px;width:6px;height:6px;border-radius:6px;background-color:#ff4802;z-index:100;top:32%}',""]),t["default"]=s},7492:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".right_address_book .el-input__inner[data-v-391f7e88]{height:29px;line-height:29px}.right_address_book .books_tree[data-v-391f7e88]{margin-top:9px;height:calc(100% - 60px);overflow:auto}.right_address_book .books_tree .el-scrollbar[data-v-391f7e88]{width:100%;height:100%}.right_address_book .books_tree .el-scrollbar[data-v-391f7e88] .el-scrollbar__wrap{overflow:auto;height:calc(100% + 17px)}.right_address_book .books_tree .el-scrollbar[data-v-391f7e88] .el-scrollbar__wrap .el-scrollbar__view{overflow:hidden;padding-right:6px;display:inline-block}.right_address_book .books_tree[data-v-391f7e88] .el-menu,.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu{border:none}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu:before{display:none!important}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu .el-icon-arrow-right{width:12px;height:12px;margin:0;font-size:var(--portalFontSize12)}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu .el-submenu__icon-arrow.el-icon-arrow-down{display:none}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu .el-submenu__title:hover{background-color:#fff}.right_address_book .books_tree[data-v-391f7e88] .el-menu .el-submenu>.el-submenu__title{height:30px!important;line-height:30px!important}.right_address_book .books_tree[data-v-391f7e88] .el-menu .el-menu-item-group__title{padding:0}.right_address_book .books_tree[data-v-391f7e88] .el-menu .ztree{padding:0 0 0 15px}.right_address_book .books_tree[data-v-391f7e88] .el-menu .el-submenu__title{font-size:var(--portalFontSize12);padding:0!important;overflow:hidden}.right_address_book .books_tree[data-v-391f7e88] .el-menu-vertical-demo{border-width:0}.right_address_book .books_tree[data-v-391f7e88] .el-menu-vertical-demo::-webkit-scrollbar{display:none}[data-v-391f7e88] .el-icon-arrow-down{display:none}[data-v-391f7e88] .el-menu .el-submenu.is-opened>.el-submenu__title .el-icon-arrow-right{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}[data-v-391f7e88] .ztree-container{overflow-y:hidden}",""]),t["default"]=s},7744:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,'[data-v-c807af5e]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.spanLH[data-v-c807af5e]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.sendMailMain[data-v-c807af5e]{height:100vh;background-color:#f3f3f3;width:100vw;overflow:hidden}.sendMailMain .sendmail-content[data-v-c807af5e]{height:calc(100vh - 83px);margin-top:20px;padding-bottom:20px;overflow-y:auto;overflow-x:hidden}.sendMailMain .sendmail-content .el-scrollbar[data-v-c807af5e]{width:100%;height:100%}.sendMailMain .sendmail-content .el-scrollbar[data-v-c807af5e] .el-scrollbar__wrap{overflow-x:hidden}.sendMailMain .sendmail-content .el-scrollbar[data-v-c807af5e] .el-scrollbar__wrap .el-scrollbar__view{height:100%}.sendMailMain .sendMail[data-v-c807af5e]{background-color:#fff;width:1500px;margin:auto}.sendMailMain .sendMail .lineRow[data-v-c807af5e]{margin:0!important;border-bottom:1px solid #ececec}.sendMailMain .sendMail .lineRow .grid-content[data-v-c807af5e]{height:100%}.sendMailMain .sendMail .lineRow .grid-content .btnBorder[data-v-c807af5e]{border:none!important}.sendMailMain .sendMail .lineRow .grid-content .btnBorder[data-v-c807af5e] .el-input__inner{border:none!important;height:31px}.sendMailMain .sendMail .lineRow .grid-content .margin10[data-v-c807af5e]{margin:5px 0}.sendMailMain .sendMail .mail_content_row[data-v-c807af5e]{height:calc(100vh - 103px)}.sendMailMain .sendMail .mail_content_row .mail_content_leftcell[data-v-c807af5e]{padding:0 10px 20px 30px!important;height:100%}.sendMailMain .sendMail .mail_content_row .mail_content_leftcell .workspaceContainer[data-v-c807af5e],.sendMailMain .sendMail .mail_content_row .mail_content_leftcell .workspaceContainer .form-horizontal[data-v-c807af5e]{height:100%}.sendMailMain .sendMail .mail_content_row .mail_content_rightcell[data-v-c807af5e]{padding:0!important;height:100%}[data-v-c807af5e] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-c807af5e] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-c807af5e] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-c807af5e]{width:220px;max-height:calc(100vh - 270px);overflow-y:auto;overflow-x:hidden;position:absolute;left:4%;z-index:99;top:85px;background-color:#fff;padding:10px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px}.linkEmail p[data-v-c807af5e]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:var(--portalFontSize12);cursor:pointer}.linkEmail p[data-v-c807af5e]:hover{color:#409eff}.linkEmail[data-v-c807af5e]::-webkit-scrollbar{display:none}[data-v-c807af5e] .el-input__suffix{display:none}[data-v-c807af5e] .el-input__inner{text-align:left;height:31px}[data-v-c807af5e] .editor_box .richtext-container{margin:0}[data-v-c807af5e] .editor_box .richtext-container .el-table{height:100%;border:none}[data-v-c807af5e] .editor_box .richtext-container .el-table:before{width:0}[data-v-c807af5e] .editor_box .richtext-container .el-table .el-table__body-wrapper,[data-v-c807af5e] .editor_box .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-c807af5e] .cke_top{border-bottom:none}[data-v-c807af5e] .el-table--border:after{width:0}[data-v-c807af5e] #busiForm table,[data-v-c807af5e] #busiForm table td{border:none}.emailAddrStyle[data-v-c807af5e]{width:auto;min-width:0;line-height:31px;float:left;padding:5px 0;margin-left:5px}.emailAddrStyle span[data-v-c807af5e]{width:100%;font-size:var(--portalFontSize12);margin-right:5px;border-radius:20px;padding:3px 5px;cursor:pointer;border:1px solid #e0e0e0}.readyFile[data-v-c807af5e]{margin:0 23px 14px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:290px;height:56px;background:#f7f8fa;padding:10px}.bgpadding[data-v-c807af5e] .el-button{padding-left:0!important}.txl[data-v-c807af5e]::-webkit-scrollbar{display:none}.header-title[data-v-c807af5e]{padding:12px 0;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#999;font-size:var(--portalFontSize12);background:#fff}.header-title .route-info[data-v-c807af5e]{margin-left:16px}.header-title .route-info[data-v-c807af5e],.header-title .section-title[data-v-c807af5e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-title .section-title[data-v-c807af5e]{margin-right:11px;margin-left:20px}.header-title .section-title .l-text[data-v-c807af5e]{padding-right:10px;position:relative}.header-title .section-title .l-text[data-v-c807af5e]:after{content:"";position:absolute;right:0;top:0;width:1px;height:14px;background-color:#d8d8d8}.header-title .section-title .r-text[data-v-c807af5e]{padding-left:10px}#styleBagrand[data-v-c807af5e],.styleBagrand[data-v-c807af5e]{background-color:#fff;border-color:var(--bgColor);color:var(--bgColor)}.buttonTitle[data-v-c807af5e]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px}[data-v-c807af5e] .el-button--medium{padding:8px 12px}[data-v-c807af5e] .cke_inner{border:1px solid #ececec;border-top:none}',""]),t["default"]=s},6274:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,"[data-v-6252c928] .attachFile .el-input__inner{width:76px;height:20px;text-align:center;line-height:20px;padding:0 5px}[data-v-6252c928] #busiForm table td{vertical-align:top}.RichtextEditor[data-v-6252c928] .richtext-container .el-table td div{height:100%}.RichtextEditor[data-v-6252c928] .richtext-container .cke_inner{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.RichtextEditor[data-v-6252c928] .richtext-container .cke_inner .cke_contents{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.spanLH[data-v-6252c928]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.mailWrap[data-v-6252c928]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:9px 0 0 0}.sendMail[data-v-6252c928]{padding:0 0 0 10px}.sendMail .lineRow[data-v-6252c928]{margin:0!important;border-bottom:1px solid #eceff5;display:-webkit-box;display:-ms-flexbox;display:flex}.sendMail .lineRow .grid-content[data-v-6252c928]{height:100%;width:calc(100% - 72px);padding-left:16px}.sendMail .lineRow .grid-content .btnBorder[data-v-6252c928]{border:none!important}.sendMail .lineRow .grid-content .btnBorder[data-v-6252c928] .el-input__inner{border:none!important;height:unset;line-height:20px;padding-left:unset}.el-inputLyy__inner[data-v-6252c928] .el-input__inner{line-height:40px!important}[data-v-6252c928] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-6252c928] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-6252c928] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-6252c928]{width:220px;max-height:calc(100vh - 270px);position:absolute;left:4%;z-index:99;top:135px;background-color:#fff;overflow-y:auto;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px}.linkEmail div[data-v-6252c928]{overflow-x:hidden;padding:10px}.linkEmail div p[data-v-6252c928]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:var(--portalFontSize12);cursor:pointer}.linkEmail div p[data-v-6252c928]:hover{color:#409eff}.linkEmail[data-v-6252c928]::-webkit-scrollbar{display:none}[data-v-6252c928] .el-input__suffix{display:none}[data-v-6252c928] .el-input__inner{text-align:left}.RichtextEditor[data-v-6252c928] .richtext-container{margin:0;height:100%}.RichtextEditor[data-v-6252c928] .richtext-container .el-table{height:100%;border:none}.RichtextEditor[data-v-6252c928] .richtext-container .el-table:before{width:0}.RichtextEditor[data-v-6252c928] .richtext-container .el-table .el-table__body-wrapper,.RichtextEditor[data-v-6252c928] .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-6252c928] .cke_top{border-bottom:none}[data-v-6252c928] .el-table--border:after{width:0}[data-v-6252c928] #busiForm table,[data-v-6252c928] #busiForm table td{border:none}.emailAddrStyle[data-v-6252c928]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:10px;margin-bottom:8px}.emailAddrStyle div[data-v-6252c928]{font-size:var(--portalFontSize12);border-radius:20px;cursor:pointer;border:1px solid #e0e0e0}.emailAddrStyle div i[data-v-6252c928]{color:#c0c4cc}.emailAddrStyle div[data-v-6252c928]:hover{border-color:#aaa}.emailAddrStyle div:hover i[data-v-6252c928]{border-left-color:#aaa!important;color:#aaa}.emailAddrStyle div span[data-v-6252c928]{padding:3px 5px 3px 10px;color:#333}.emailAddrStyle div i[data-v-6252c928]:hover{color:red!important}.inputWrap[data-v-6252c928]{padding-top:10px}.inputWrap[data-v-6252c928] .el-scrollbar .el-scrollbar__wrap{max-height:150px;overflow-x:hidden}.inputWrap[data-v-6252c928] .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{padding-bottom:20px}.inputWrap>div.emailAddrStyle[data-v-6252c928]:last-child{margin-right:unset}.readyFile[data-v-6252c928]{margin:0 23px 14px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:330px;height:56px;background:#f7f8fa;padding:10px}",""]),t["default"]=s},2267:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".emailWrap[data-v-9845490c]{border:1px solid #ececec}.emialLine[data-v-9845490c]{width:100%;height:46px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#666;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 10px;border-bottom:1px solid #ececec;overflow:hidden}.emailWrap .emialLine[data-v-9845490c]:last-child{border-bottom:none}.emialLine[data-v-9845490c]:hover{background:#f3f4f4}.checkMail[data-v-9845490c]{color:#fff}.left_account ul[data-v-9845490c]{margin:0;padding:0;height:calc(100% - 48px);overflow-y:auto}.left_account ul li[data-v-9845490c]{list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.left_account ul .el-button[data-v-9845490c],.left_account ul li[data-v-9845490c]{width:100%;height:47.2px;line-height:47.2px;text-align:left}.left_account ul .el-button[data-v-9845490c]{padding:0;padding-left:10px}div.time[data-v-9845490c]{margin:5px}div.time[data-v-9845490c] .el-date-editor.el-range-editor{width:100%;cursor:pointer}div.time[data-v-9845490c] .el-range-editor--medium .el-range-input{cursor:pointer}div.time[data-v-9845490c] .el-range-editor--medium .el-range__icon{display:none!important}.spanStyle[data-v-9845490c]{font-weight:500;line-height:19px;font-size:var(--portalFontSize14);margin-left:10px}.top[data-v-9845490c]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-9845490c] .el-checkbox__label{line-height:14px!important}.checkBoxlabel span[data-v-9845490c]{font-size:var(--portalFontSize14);color:#606266;font-weight:500;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:inline-block;width:200px}",""]),t["default"]=s},8921:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,"",""]),s.locals={stdMenuBgcolor:"var(--lmBgColor)",stdMenuHover:"var(--lmBgColorActive)",stdMenuText:"var(--lmTextColor)",stdMenuAcitveText:"var(--lmTextColorActive)",stdSubMenuBgcolor:"var(--lmBgColor)",stdSubMenuHover:"hsla(193,8%,67%,.42)",stdSubMenuActiveText:"var(--lmTextColorActive)",darkMenuBgcolor:"#304156",darkMenuHover:"#263445",darkMenuText:"#bfcbd9",darkMenuAcitveText:"#ffd04b",darkSubMenuBgcolor:"#384b63",darkSubMenuHover:"#263445",darkSubMenuActiveText:"#ffd04b",sideBarWidth:"210px",formLabelWidth:"133px",lightBlue:"var(--subjectColor)"},t["default"]=s},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a="",n="undefined"!==typeof t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),n&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),n&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a})).join("")},t.i=function(e,a,n,i,r){"string"===typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);n&&o[c[0]]||("undefined"!==typeof r&&("undefined"===typeof c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),a&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=a):c[2]=a),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},41:function(e,t,a){"use strict";var n=a(655),i=a(8068),r=a(9675),o=a(5795);e.exports=function(e,t,a){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new r("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],u=!!o&&o(e,t);if(n)n(e,t,{configurable:null===d&&u?u.configurable:!d,enumerable:null===s&&u?u.enumerable:!s,value:a,writable:null===l&&u?u.writable:!l});else{if(!c&&(s||l||d))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=a}}},655:function(e,t,a){"use strict";var n=a(453),i=n("%Object.defineProperty%",!0)||!1;if(i)try{i({},"a",{value:1})}catch(r){i=!1}e.exports=i},1237:function(e){"use strict";e.exports=EvalError},9383:function(e){"use strict";e.exports=Error},9290:function(e){"use strict";e.exports=RangeError},9538:function(e){"use strict";e.exports=ReferenceError},8068:function(e){"use strict";e.exports=SyntaxError},9675:function(e){"use strict";e.exports=TypeError},5345:function(e){"use strict";e.exports=URIError},9353:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",a=Object.prototype.toString,n=Math.max,i="[object Function]",r=function(e,t){for(var a=[],n=0;n<e.length;n+=1)a[n]=e[n];for(var i=0;i<t.length;i+=1)a[i+e.length]=t[i];return a},o=function(e,t){for(var a=[],n=t||0,i=0;n<e.length;n+=1,i+=1)a[i]=e[n];return a},s=function(e,t){for(var a="",n=0;n<e.length;n+=1)a+=e[n],n+1<e.length&&(a+=t);return a};e.exports=function(e){var l=this;if("function"!==typeof l||a.apply(l)!==i)throw new TypeError(t+l);for(var d,c=o(arguments,1),u=function(){if(this instanceof d){var t=l.apply(this,r(c,arguments));return Object(t)===t?t:this}return l.apply(e,r(c,arguments))},m=n(0,l.length-c.length),p=[],h=0;h<m;h++)p[h]="$"+h;if(d=Function("binder","return function ("+s(p,",")+"){ return binder.apply(this,arguments); }")(u),l.prototype){var f=function(){};f.prototype=l.prototype,d.prototype=new f,f.prototype=null}return d}},6743:function(e,t,a){"use strict";var n=a(9353);e.exports=Function.prototype.bind||n},453:function(e,t,a){"use strict";var n,i=a(9383),r=a(1237),o=a(9290),s=a(9538),l=a(8068),d=a(9675),c=a(5345),u=Function,m=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(t){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(P){p=null}var h=function(){throw new d},f=p?function(){try{return h}catch(e){try{return p(arguments,"callee").get}catch(t){return h}}}():h,_=a(4039)(),g=a(24)(),y=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),v={},b="undefined"!==typeof Uint8Array&&y?y(Uint8Array):n,M={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":_&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":v,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&_&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&_&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&y?y(""[Symbol.iterator]()):n,"%Symbol%":_?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":f,"%TypedArray%":b,"%TypeError%":d,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(P){var w=y(y(P));M["%Error.prototype%"]=w}var x=function e(t){var a;if("%AsyncFunction%"===t)a=m("async function () {}");else if("%GeneratorFunction%"===t)a=m("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=m("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&y&&(a=y(i.prototype))}return M[t]=a,a},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=a(6743),T=a(9957),S=k.call(Function.call,Array.prototype.concat),Y=k.call(Function.apply,Array.prototype.splice),D=k.call(Function.call,String.prototype.replace),j=k.call(Function.call,String.prototype.slice),C=k.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,E=function(e){var t=j(e,0,1),a=j(e,-1);if("%"===t&&"%"!==a)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return D(e,A,(function(e,t,a,i){n[n.length]=a?D(i,I,"$1"):t||e})),n},O=function(e,t){var a,n=e;if(T(L,n)&&(a=L[n],n="%"+a[0]+"%"),T(M,n)){var i=M[n];if(i===v&&(i=x(n)),"undefined"===typeof i&&!t)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=E(e),n=a.length>0?a[0]:"",i=O("%"+n+"%",t),r=i.name,o=i.value,s=!1,c=i.alias;c&&(n=c[0],Y(a,S([0,1],c)));for(var u=1,m=!0;u<a.length;u+=1){var h=a[u],f=j(h,0,1),_=j(h,-1);if(('"'===f||"'"===f||"`"===f||'"'===_||"'"===_||"`"===_)&&f!==_)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&m||(s=!0),n+="."+h,r="%"+n+"%",T(M,r))o=M[r];else if(null!=o){if(!(h in o)){if(!t)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&u+1>=a.length){var g=p(o,h);m=!!g,o=m&&"get"in g&&!("originalValue"in g.get)?g.get:o[h]}else m=T(o,h),o=o[h];m&&!s&&(M[r]=o)}}return o}},5795:function(e,t,a){"use strict";var n=a(453),i=n("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(r){i=null}e.exports=i},592:function(e,t,a){"use strict";var n=a(655),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},24:function(e){"use strict";var t={__proto__:null,foo:{}},a=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof a)}},4039:function(e,t,a){"use strict";var n="undefined"!==typeof Symbol&&Symbol,i=a(1333);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},1333:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),a=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(r.value!==n||!0!==r.enumerable)return!1}return!0}},9957:function(e,t,a){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,r=a(6743);e.exports=r.call(n,i)},5177:function(e,t,a){(function(e,t){t(a(5093))})(0,(function(e){"use strict";
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["ecyoaemail"]=t(require("vue")):e["ecyoaemail"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(function(e){return function(){var t={5003:function(e,t){var a,n,i;(function(r,o){n=[],a=o,i="function"===typeof a?a.apply(t,n):a,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var a,n,i,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=r.exec(p.stack)||o.exec(p.stack),l=s&&s[1]||!1,d=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),u=document.getElementsByTagName("script");l===c&&(a=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=a.replace(n,"$1").trim());for(var m=0;m<u.length;m++){if("interactive"===u[m].readyState)return u[m];if(u[m].src===l)return u[m];if(l===c&&u[m].innerHTML&&u[m].innerHTML.trim()===i)return u[m]}return null}}return e}))},7203:function(e){e.exports={email:{formTitle:"Internal Email",menuItem:{internalEmail:"Internal Email",inbox:"Inbox",starFile:"Starred Emails",drafts:"Drafts",beenSent:"Sent",deleted:"Deleted",customFolder:"Custom Folders",emailAttach:"Email Attachments",txl:"Contacts",emailMonitor:"Email Monitoring",emailCenter:"Email Center",backupEmail:"Backup Email"},accessoryList:{fields:{fileName:"File Name",size:"Size",date:"Date"},all:"All",picture:"Pictures",file:"Documents",audio:"Audio",video:"Videos",Compressed:"Compressed Files",other:"Other",emailInfo:"You have not set up your email information yet,",AttachmentFile:"Attachment File"},address:{fields:{GroupName:"Group Name",order:"Order",emailAddress:"Email Address",email:"Email",grouping:"Grouping"},grouping:"Grouping",notGroup:"Not Grouped",all:"All",BookGroup:"Address Book Grouping",GroupNameEnter:"Please enter a group name",orderTip:"Please enter a 4-digit order number",mailList:"Address Book",emailAddressEnter:"Please enter an email address",groupingEnter:"Please select a group"},ecincMailHelp:{guideTitle:"Ecinc Email Settings Help Guide",guideTitle1:"1. Login to Ecinc Email: http://ntmail.global-mail.cn",guideTitle2:"2. After logging in, click Settings > Client Authorization Code > Enable Client Authorization Code",guideTitle3:"3. Set Client Authorization Code"},emailWatch:{fields:{Monitoring:"Monitoring Target",EmailSub:"Email Subject",sendTime:"Send Time"},MarkedAs:"Marked As",read:"Read",unread:"Unread",StarMarking:"Star Marking",StarMar:"Remove Star",TransferTo:"Transfer To",not:"None",theme:"Subject: {name}",Sender:"Sender: {addr}",Copy:"CC: {to}",addressee:"Recipient: {sendTo}",time:"Time: {time}",content:"Attachments: Total {attachsCount} attachments",Recentlylogin:"Last Login: {time}"},list:{fields:{Sender:"Sender",addressee:"Recipient",emailTitle:"Email Subject",sendTime:"Send Time"},emailNum:"Total 0 Emails",emailNumIng:"Total {total} Emails",selectEmail:"{count} Emails Selected",JumpTo:"Jump To",page:"Page",not:"None",tipOne:"Click an email to display it here",Sender2:"Sender: {to}",Copy:"Carbon Copy",bcc:"Blind Carbon Copy: {to}",addressee2:"Recipient: {to}",time:"Time: {to}",walStatus:"Recall Status: Recalled",content1:"Attachments: Total {attachsCount} attachments",download:"Download",content2:"Quick Reply To: {fromAddr}",content3:"You have not set your email information yet,",content4:"Set Now",AdvancedSearch:"Advanced Search",content5:"Please enter sender/email address",content6:"Please enter recipient/email address",emailTitleEnter:"Please enter email subject",startTime:"Please select send time (start)",endTime:"Select send time (end)"},xieyoujian:{fields:{addressee:"Recipient:",CCrecipient:"CC (Carbon Copy):",SecretPerson:"BCC (Blind Carbon Copy):",Theme:"Subject:"},SaveDraft:"Save Draft",Receipt:"Read Receipt",AddCC:"Add CC",DelCC:"Delete CC",AddSecret:"Add BCC",DelSecret:"Delete BCC",address:"Please enter an email address. For internal emails, you can also enter a contact name.",content:"For mass emails, they are sent one-by-one, and each recipient can only see their own address.",ThemeEnter:"Please enter the email subject",content1:"Drag files here, or <span style='color:rgba(33, 120, 241, 1)'>click to upload</span>",maxFile:"(Max 1GB per file)",UploadSu:"Upload Successful",sendSu:"Sent Successfully",emailTip:"Email has been saved to 'Sent'",setUpInfo:"You have not set your email information yet,",content2:"The current account is for internal use. If you need to send emails to external addresses, please go to the email center to bind an external email to this account first.",notEmail:"No email address available for this item, selection is not supported."},youxiangshezhi:{fields:{EmailAddress:"Email Address",EmailUserName:"Email User Name",EmailUserAccount:"Email User Account",emailPass:"Email Password/Authorization Code",accountType:"User Account Type",ReceivingServer:"Incoming Mail Server",outgoingMail:"Outgoing Mail Server",emailAddress:"Bind External Email Address",pageMax:"Max Emails Displayed Per Page",forwardingEmail:"Subject Display for Forwarded Emails",replyingToem:"Subject Display for Replied Emails",addSignature:"Add Signature When Sending Emails",sendContent:"Signature Content to Add When Sending Emails"},EmailCenter:"Email Center",EmailTip:"Please select an external email address to send emails from internal to external addresses.",fileNum10:"10 Emails",fileNum20:"20 Emails",fileNum50:"50 Emails",fileNum100:"100 Emails",reply:"Reply",contentEnter:"Please enter content",save:"Save",close:"Close",emailType:"Email Type",emailqq:"QQ Mail",email139:"139 Mail",email163:"163 Mail",other:"Other",Emailstting:"Email Settings",isdelEmail:"Are you sure you want to delete the {emailAddr} email account and its folders?",isSure:"Confirm Operation",EmailassEnter:"Please enter an email address before proceeding!",operation:"Operation Prompt",appCode:"Client Authorization Code",code_qq:"QQ Mail 16-digit Authorization Code",code_139:"139 Mail Login Password",code_163:"163 Mail Authorization Code",describe:"You are setting up an EaseCorp enterprise email. Please confirm that you have obtained the correct client authorization code and set IMAP to retrieve all emails.",configure:"Incoming or outgoing mail server configuration error",EmailNot:"Incorrect email format"},components:{fields:{Sender:"Sender",addressee:"Recipient",EmailSubject:"Email Subject",sendTime:"Sent Time",FolderName:"Folder Name",order:"Order",specifiedEmail:"Receive Specified Emails",theme:"Theme",index:"Index",boxName:"Folder Name",orderNo:"Order Number",notReadedNum:"Unread Emails",mailNum:"Total Emails",operate:"Operation"},total:"Total {total} Emails",JumpTo:"Jump to",page:"Page",singleClick:"Single-click an email to display here",theme:"Theme: {name}",Sender2:"Sender: {addr}",addressee2:"Recipient: {sendTo}",bcc:"BCC (Blind Carbon Copy)",Copy:"CC (Carbon Copy)",time:"Time: {time}",AttatcNum:"Attachments: Total {attachsCount} Attachments",AdvancedSearch:"Advanced Search",SenderAss:"Please enter sender/email address",addresseeAss:"Please enter recipient/email address",EmailSubEnter:"Please enter email subject",selectSendtimeStart:"Select send time (start)",selectSendtimeEnd:"Select send time (end)",ManageFolder:"Manage Folders",FolderNameEnter:"Please enter folder name",orderLength:"Please enter a 4-digit order number",emailTip:"Automatically place emails matching the following rules into this folder",contain:"Contains",unContain:"Does Not Contain",enterSenderEmail:"Please select or enter sender email addresses, separate multiple with commas",enterAddressee:"Please select or enter recipient email addresses, separate multiple with commas",enterTheme:"Please enter email subject keywords, separate multiple with commas",select:"Select",txl:"Address Book",emailStting:"You have not set up your email information yet.",ReceivingLetters:"Receive Emails",writeLetters:"Compose Emails",DispatchDet:"Dispatch Details",searchKey:"Please enter search keyword",AddressBook:"Public Address Book",PersonalAddress:"Personal Address Book",recentContacts:"Recent Contacts"},pageBtns:{ShippingBox:"OutgoingBox",Inbox:"Inbox",Deleted:"Deleted",nowSeting:"SettinNow",Theme:"Theme:",addAttacg:"Add Attachment:",goEmail:"ToInbox",transferGroup:"TransferGroup",back:"Back",ReplyAll:"ReplyAll",reply:"Reply",withdraw:"Withdraw",SendAgain:"SendAgain",MarkedAs:"Marked",read:"Read",unRead:"Unread",StarMarking:"Star",StarMar:"Unstar",TransferTo:"TransferTo",WriteAn:"WriteAnother",readingLog:"ReadingLog"},messages:{contentEnter:"Please enter the reply content!",senderAlreadying:'"{tname}" already exists as a sender!',senderAlready:"Sender already exists!",recipientAlready:"Recipient already exists!",isDelBox:"Are you sure you want to delete this folder?",isSure:"Confirm operation",emailNot:"Incorrect email format!",boxNameMax:"Folder name can only be up to 12 characters long",boxNametTip:"Folder name is required",correctTip:"Please fill in the correct 4-digit sorting number",emailTipbc:"Please complete the email placement rule",isDataSure:"Are you sure you want to end the selected data?",success:"Operation successful",noEmailass:"No email address for the current item, selection is not supported",BindExterEmail:"Please go to the email center to bind an external email",emailTip1:"Recipient already exists!",emailTip2:"CC recipient already exists!",emailTip3:"BCC recipient already exists!",emailTip4:"Please go to the email center to verify the email user password or authorization code",fileName:"“{fileName}” file is duplicate, the file has been overwritten",maxFileUpload:"Can only upload up to {limitNum} files",SaveDraftsu:"Draft saved successfully",selectExportFile:"Please select the import file",addresseeEnter:"Please enter the recipient!",notSelectAttach:"Cannot select the same attachment, please re-select",selectAttach:"Please select the attachment to forward",downAttach:"Please select the attachment to download",isDel:"Are you sure you want to delete this contact?",isTransfer:"Are you sure you want to transfer the selected contacts?",selectTransfer:"Please select the contacts to transfer",isSelectlxr:"Are you sure you want to delete the selected contacts?",selectlxr:"Please select the contacts to delete",isorderNUmber:"Please fill in the correct 4-digit sorting number",isDelGroup:"Are you sure you want to delete the selected group?",selectDelGroup:"Please select the group to delete",selectEmail:"Please select an email first",isdelEmail:"This email will be deleted, continue?",delEmailTip:"This email will be permanently deleted and cannot be recovered, continue?",signUnread:"Mark as unread?",signRead:"Mark as read?",delSign:"Remove star?",sign:"Mark as starred?",successCancel:"Successfully cancelled",TransferSuccessful:"Transfer successful!",content7:"Send time (end) cannot be earlier than send time (start)",content8:"Jump range is 1 - {totalPage} pages",emailTip:"Please select an email",emailTip21:"Please open the email first",emailTip22:"This email is already read and cannot be recalled",emailTip23:"Emails older than 24 hours cannot be recalled",emailTip24:"Recall successful!",emailTip5:"This email will be deleted, continue?",emailTip6:"This email will be permanently deleted and cannot be recovered, continue?",emailTip7:"Mark as unread?",emailTip8:"This email is unread, no need to repeat the operation.",emailTip9:"All selected emails are unread, no need to repeat the operation.",emailTip10:"Mark as read?",emailTip11:"This email is read, no need to repeat the operation.",emailTip12:"All selected emails are read, no need to repeat the operation.",emailTip13:"Remove star?",emailTip14:"This email is not starred, no need to repeat the operation.",emailTip15:"All selected emails are not starred, no need to repeat the operation.",emailTip16:"Mark as starred?",emailTip17:"This email is already starred, no need to repeat the operation.",emailTip18:"All selected emails are starred, no need to repeat the operation.",emailTip19:"Email format is incorrect! Please re-enter.",isDelFile:"This file will be permanently deleted. Continue?",selectDelFile:"Please select the email(s) you want to delete first.",notOneself:"Cannot move to the same folder!",TransferSu:"Transfer successful!",enterContent:"Please enter your reply content!",selectEmailFile:"Please select an email first!"},backupEmailDetail:{isTime:"The end time cannot be earlier than the start time.",operation:"Operation prompt",pageFw:"Page navigation range is from 1 to {totalPage}.",openEmail:"Please open the email first."},portletEmail:{subject:"Email Subject",fromAddr:"Sender",createTime:"Sent Time"},sendMail:{fields:{addressee:"To:",CCRecipient:"CC:",SecretDvyPerson:"BCC:"},source:"Source: {srcName}",SaveDraft:"Save Draft",AddCC:"Add CC",DelCC:"Remove CC",AddSecret:"Add BCC",DelSecret:"Remove BCC",sendEmailTip:"Please enter an email address. For internal emails, you can enter the contact name.",sendEmailTip1:"For mass emails, they are sent individually. Each recipient can only see their own address.",ThemeP:"Subject",ThemeEnter:"Please enter the email subject",maxFile:"(Maximum file size 20MB per file)",uploadSu:"Upload successful",sendSuTip:"Email sent successfully. It has been saved to 'Sent'.",WriteAnother:"Write Another Email",notStting:"You have not set up your email information yet,"},userSetup:{formTitle:"User Email Settings",fields:{spaceSize:"Allocated Space",emailAddr:"Email Address",emailUsername:"Name",attachLimit:"Attachment Limit",status:"Status",mailSize:"Message Size",concurrent:"Concurrent Connections per Message"}},blackWhiteList:{formTitle:"Blacklist/Whitelist Settings",fields:{mailAddress:"Enter Account"}},byRegulator:{formTitle:"Monitored User Table",fields:{jkEndTime:"Monitoring End Time",mailAddr:"Monitor",byMailAddr:"Monitored User",isYjjk:"Permanent Monitoring",orgName:"Organization Name",jkStartTime:"Monitoring Start Time",status:"Status",jkRange:"Monitoring Scope"}},orgSpaceSet:{formTitle:"Unit Space Settings",fields:{status:"Status",orgName:"Organization Name",spaceSize:"Allocated Space",createTime:"Creation Date",createName:"Created By"}}}}},5624:function(e){e.exports={email:{formTitle:"内部邮箱",moduleMenu:{InternalEmail:"内部邮箱",Inbox:"收件箱",StarFile:"标星文件",drafts:"草稿箱",beenSent:"已发送",Deleted:"已删除",CustomFolder:"自定义文件夹",EmailAttach:"邮箱附件",txl:"通讯录",EmailMonitor:"邮件监控",EmailCenter:"邮箱中心",BackupEmail:"备份邮箱"},accessoryList:{all:"全部",picture:"图片",file:"文档",audio:"音频",video:"视频",Compressed:"压缩包",other:"其他",emailInfo:"您还没有设置邮箱信息",SetUpNow:"现在设置",AttachmentFile:"附件文件",notSelectAttach:"不能选择相同的附件,请重新选择",selectAttach:"请选择要转发的附件",downAttach:"请选择要下载的附件",index:"序号",fileName:"文件名称",size:"大小",date:"日期"},address:{grouping:"分组",notGroup:"未分组",all:"全部",BookGroup:"通讯录分组",GroupName:"分组名称",GroupNameEnter:"请输入分组名称",order:"排序",orderTip:"请输入4位数字排序",mailList:"通讯录",index:"序号",name:"姓名",operate:"操作",emailAddress:"邮箱地址",emailAddressEnter:"请输入邮箱地址",groupingEnter:"请选择分组",email:"邮箱",isDel:"确定要删除该联系人吗?",ConfirmOperation:"确认操作",isTransfer:"确定要转移选中的联系人吗?",selectTransfer:"请选择要转移的联系人",transferGroup:"转移分组",emailNot:"邮箱格式不正确",tip:"提示",isSelectlxr:"确定要删除选中的联系人吗?",selectlxr:"请选择要删除的联系人",isorderNUmber:"请正确填写4位数字排序号",isDelGroup:"确定要删除选中分组吗?",selectDelGroup:"请选择要删除的分组"},ecincMailHelp:{guideTitle:"新网邮箱设置帮助指南",guideTitle1:"1、登录新网邮箱:http://ntmail.global-mail.cn",guideTitle2:"2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码",guideTitle3:"3、设置客户端授权码"},emailWatch:{forward:"转发",del:"删除",ComDel:"彻底删除",MarkedAs:"标记为",read:"已读",unread:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",black:"返回",theme:"主题",Sender:"发件人",Copy:"抄送",addressee:"收件人",time:"时间",content:"附件:共{attachsCount}个附件",download:"下载",index:"序号",Monitoring:"监控对象",EmailSub:"邮件主题",sendTime:"发送时间",selectEmail:"请先选择邮件",isdelEmail:"将删除该邮件, 是否继续?",delEmailTip:"将永久删除该邮件,删除后不可恢复, 是否继续?",signUnread:"是否标记为未读?",signRead:"是否标记为已读?",delSign:"是否去除标星?",sign:"是否标记为标星?",tip:"提示",sure:"确定",cancel:"取消",successCancel:"已成功取消",TransferSuccessful:"转移成功!",Recentlylogin:"最近登录"},list:{emailNum:"共 0 封",emailNumIng:"共{total}封",selectEmail:"已选{count}封",cancel:"取消",sure:"确定",JumpTo:"跳转到",page:"页",edit:"编辑",ReplyAll:"全部回复",reply:"回复",withdraw:"撤回",SendAgain:"再次发送",forward:"转发",ComDel:"彻底删除",del:"删除",MarkedAs:"标记为",read:"已读",unRead:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",tipOne:"单击一封邮件在此处显示",Sender:"发件人",Copy:"抄送",bcc:"密送",addressee:"收件人",time:"时间",walStatus:"撤回状态:已撤回",content1:"附件:共{attachsCount}个附件",download:"下载",content2:"快捷回复给:{fromAddr}",send:"发送",content3:"您还没有设置邮箱信息",content4:"现在设置",AdvancedSearch:"高级搜索",content5:"请输入发件人/邮箱地址",content6:"请输入收件人/邮箱地址",emailTitle:"邮件主题",emailTitleEnter:"请输入邮件主题",sendTime:"发送时间",startTime:"请选择发送时间(开始)",endTime:"选择发送时间(结束)",to:"至",content7:"发送时间(结束)不能小于发送时间(开始)",opTip:"操作提示",content8:"跳转范围在 1 - {totalPage} 页",emailTip:"请选择邮件",emailTip1:"请先打开邮件",emailTip2:"当前邮件已读无法撤回",emailTip3:"超过24小时的邮件无法撤回",emailTip4:"撤回成功!",emailTip5:"将删除该邮件, 是否继续?",emailTip6:"将永久删除该邮件,删除后不可恢复, 是否继续?",emailTip7:"是否标记为未读?",emailTip8:"该邮件是未读邮件,无需重复操作。",emailTip9:"所选邮件均是未读邮件,无需重复操作。",emailTip10:"是否标记为已读?",emailTip11:"该邮件是已读邮件,无需重复操作。",emailTip12:"所选邮件均是已读邮件,无需重复操作。",emailTip13:"是否去除标星?",emailTip14:"该邮件是未标星邮件,无需重复操作。",emailTip15:"所选邮件均是未标星邮件,无需重复操作。",emailTip16:"是否标记为标星?",emailTip17:"该邮件是已标星邮件,无需重复操作。",emailTip18:"所选邮件均是标星邮件,无需重复操作。",tip:"提示",isDelFile:"将永久删除该文件, 是否继续?",selectDelFile:"请先选择需要删除的邮件",notOneself:"不能转移到自身文件夹!",TransferSu:"转移成功!",enterContent:"请输入回复内容!",selectEmailFile:"请先选择邮件!"},xieyoujian:{send:"发送",SaveDraft:"存草稿",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",address:"请输入邮件地址,内部邮箱可以输入联系人姓名",content:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCrecipient:"抄送人",SecretPerson:"密送人",Theme:"主 题",Theme1:"主题",ThemeEnter:"请输入邮件主题",content1:'将文件拖到此处,或<span style="color:rgba(33, 120, 241, 1)">点击上传</span>',maxFile:"(单个文件最大1G)",UploadSu:"上传成功",sendSu:"发送成功",emailTip:"邮件已保存到“已发送”",WriteAn:"再写一封",GoInbox:"去收件箱",setUpInfo:" 您还没有设置邮箱信息",nowSetup:"现在设置",addresseeEnter:"请输入收件人!",content2:"当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱",tip:"提示",notEmail:"当前项无邮箱地址,不支持选择",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",opTip:"操作提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftSu:"保存草稿成功",selectExport:"请选择导入文件",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",emailTip5:"邮件格式不正确!请重新输入"},youxiangshezhi:{EmailCenter:"邮件中心",EmailAddress:"电子邮箱地址",EmailUserName:"邮箱用户名称",EmailUserAccount:"邮箱用户帐号",emailPass:"邮箱用户密码/授权码",accountType:"用户账户类型",ReceivingServer:"接收邮件服务器",outgoingMail:"发送邮件服务器",emailAddress:"绑定外部邮箱地址",EmailTip:"请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件",pageMax:"每页最多显示邮件数",fileNum10:"10封",fileNum20:"20封",fileNum50:"50封",fileNum100:"100封",forwardingEmail:"转发邮件时主题显示",forward:"转发",replyingToem:"回复邮件时主题显示",reply:"回复",addSignature:"发送邮件时是否添加签名",yes:"是",no:"否",sendContent:"发送邮件时添加签名内容",contentEnter:"请输入内容",save:"保 存",close:"关 闭",emailType:"邮箱类型",emailqq:"QQ邮箱",email139:"139邮箱",email163:"163邮箱",other:"其他",Emailstting:"邮箱设置",isdelEmail:"确定要删除{emailAddr}邮箱及其下文件夹吗?",isSure:"确认操作",EmailassEnter:"请先输入电子邮箱地址再进行操作!",operation:"操作提示",appCode:"客户端授权密码",code_qq:"QQ邮箱16位授权码",code_139:"139邮箱登录密码",code_163:"163邮箱授权码",describe:"您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。",configure:"接收或发送邮件服务器配置错误",EmailNot:"邮箱格式不正确",tip:"提示",sure:"确定",cancel:"取消"},backupEmailDetail:{back:"返回",ShippingBox:"发件箱",Inbox:"收件箱",Deleted:"已删除",total:"共 {{ total }} 封",JumpTo:"跳转到",page:"页",cancel:"取消",sure:"确定",singleClick:"单击一封邮件在此处显示",theme:"主题",Sender:"发件人",addressee:"收件人",bcc:"密送",Copy:"抄送",time:"时间",AttatcNum:"附件:共{{ mailInfo.attachsCount }}个附件",download:"下载",AdvancedSearch:"高级搜索",SenderAss:"请输入发件人/邮箱地址",addresseeAss:"请输入收件人/邮箱地址",EmailSubject:"邮件主题",EmailSubEnter:"请输入邮件主题",sendTime:"发送时间",selectSendtimeStart:"请选择发送时间(开始)",to:"至",selectSendtimeEnd:"选择发送时间(结束)",isTime:"发送时间(结束)不能小于发送时间(开始)",operation:"操作提示",pageFw:"跳转范围在 1 - {totalPage}页",openEmail:"请先打开邮件",contentEnter:"请输入回复内容!"},Folder:{ManageFolder:"管理文件夹",FolderName:"文件夹名称",FolderNameEnter:"请输入文件夹名称",order:"排序",orderLength:"请输入4位数字排序",specifiedEmail:"接受指定邮件",emailTip:"将符合以下规则的邮件,自动放入该文件夹",Sender:"发件人",contain:"包含",unContain:"不包含",enterSenderEmail:"请选择或输入发件人邮箱地址,多个用英文逗号分开",addressee:"收件人",enterAddressee:"请选择或输入收件人邮箱地址,多个用英文逗号分开",theme:"主题",enterTheme:"请输入邮件主题关键字,多个用英文逗号分开",close:"关 闭",save:"保 存",txl:"通讯录",emailStting:"您还没有设置邮箱信息",nowStting:"现在设置",index:"序号",boxName:"文件夹名称",orderNo:"排序号",notReadedNum:"未读邮件数",mailNum:"总邮件数",operate:"操作",senderAlreadying:'"{tname}"已存在该发件人!',senderAlready:"已存在该发件人!",recipientAlready:"已存在该收件人!",isDelBox:"确定要删除该文件夹吗?",isSure:"确认操作",emailNot:"邮件格式不正确!",boxNameMax:"文件夹名称最多可输入12位字符",tip:"提示",boxNametTip:"文件夹名称为必填",correctTip:"请正确填写4位数字排序号",emailTipbc:"请将邮件放置规则补充完整"},LeftMenu:{ReceivingLetters:"收信",writeLetters:"写信"},tbColumns:{DispatchDet:"派车详情",isDataSure:"您是否确认结束选择的数据?",success:"操作成功"},txl:{searchKey:"请输入搜索关键字",AddressBook:"公共通讯录",PersonalAddress:"个人通讯录",recentContacts:"最近联系人"},portletEmail:{index:"序号",subject:"邮件主题",fromAddr:"发送人",createTime:"发送时间"},sendMail:{source:"来源",SaveDraft:"存草稿",send:"发送",close:"关闭",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",sendEmailTip:"请输入邮件地址,内部邮箱可以输入联系人姓名",sendEmailTip1:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCRecipient:"抄送人",SecretDvyPerson:"密送人",Theme:"主 题",ThemeP:"主题",ThemeEnter:"请输入邮件主题",addAttacg:"添加附件",maxFile:"( 单个文件最大20M )",uploadSu:"上传成功",sendSuTip:"发送成功,邮件已保存到“已发送”。",WriteAnother:"再写一封",goEmail:"去收件箱",notStting:"您还没有设置邮箱信息",nowStt:"现在设置",noEmailass:"当前项无邮箱地址,不支持选择",BindExterEmail:"请先前往邮箱中心绑定外部邮箱",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",operation:"操作提示",tip:"提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftsu:"保存草稿成功",selectExportFile:"请选择导入文件",emailNot:"邮件格式不正确!",addresseeEnter:"请输入收件人!"}}}},5658:function(e,t,a){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){o(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function o(e,t,a){return(t=s(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e){var t=l(e,"string");return"symbol"==n(t)?t:t+""}function l(e,t){if("object"!=n(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var i=a.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var d=a(7203),c=a(9631),u=a(5624),m=a(705),p={en:r({},d),zhCN:r({},c),es:r({},u),ja:r({},m)};e.exports=r({},p)},705:function(e){e.exports={email:{formTitle:"内部邮箱",moduleMenu:{InternalEmail:"内部邮箱",Inbox:"收件箱",StarFile:"标星文件",drafts:"草稿箱",beenSent:"已发送",Deleted:"已删除",CustomFolder:"自定义文件夹",EmailAttach:"邮箱附件",txl:"通讯录",EmailMonitor:"邮件监控",EmailCenter:"邮箱中心",BackupEmail:"备份邮箱"},accessoryList:{all:"全部",picture:"图片",file:"文档",audio:"音频",video:"视频",Compressed:"压缩包",other:"其他",emailInfo:"您还没有设置邮箱信息",SetUpNow:"现在设置",AttachmentFile:"附件文件",notSelectAttach:"不能选择相同的附件,请重新选择",selectAttach:"请选择要转发的附件",downAttach:"请选择要下载的附件",index:"序号",fileName:"文件名称",size:"大小",date:"日期"},address:{grouping:"分组",notGroup:"未分组",all:"全部",BookGroup:"通讯录分组",GroupName:"分组名称",GroupNameEnter:"请输入分组名称",order:"排序",orderTip:"请输入4位数字排序",mailList:"通讯录",index:"序号",name:"姓名",operate:"操作",emailAddress:"邮箱地址",emailAddressEnter:"请输入邮箱地址",groupingEnter:"请选择分组",email:"邮箱",isDel:"确定要删除该联系人吗?",ConfirmOperation:"确认操作",isTransfer:"确定要转移选中的联系人吗?",selectTransfer:"请选择要转移的联系人",transferGroup:"转移分组",emailNot:"邮箱格式不正确",tip:"提示",isSelectlxr:"确定要删除选中的联系人吗?",selectlxr:"请选择要删除的联系人",isorderNUmber:"请正确填写4位数字排序号",isDelGroup:"确定要删除选中分组吗?",selectDelGroup:"请选择要删除的分组"},ecincMailHelp:{guideTitle:"新网邮箱设置帮助指南",guideTitle1:"1、登录新网邮箱:http://ntmail.global-mail.cn",guideTitle2:"2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码",guideTitle3:"3、设置客户端授权码"},emailWatch:{forward:"转发",del:"删除",ComDel:"彻底删除",MarkedAs:"标记为",read:"已读",unread:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",black:"返回",theme:"主题",Sender:"发件人",Copy:"抄送",addressee:"收件人",time:"时间",content:"附件:共{attachsCount}个附件",download:"下载",index:"序号",Monitoring:"监控对象",EmailSub:"邮件主题",sendTime:"发送时间",selectEmail:"请先选择邮件",isdelEmail:"将删除该邮件, 是否继续?",delEmailTip:"将永久删除该邮件,删除后不可恢复, 是否继续?",signUnread:"是否标记为未读?",signRead:"是否标记为已读?",delSign:"是否去除标星?",sign:"是否标记为标星?",tip:"提示",sure:"确定",cancel:"取消",successCancel:"已成功取消",TransferSuccessful:"转移成功!",Recentlylogin:"最近登录"},list:{emailNum:"共 0 封",emailNumIng:"共{total}封",selectEmail:"已选{count}封",cancel:"取消",sure:"确定",JumpTo:"跳转到",page:"页",edit:"编辑",ReplyAll:"全部回复",reply:"回复",withdraw:"撤回",SendAgain:"再次发送",forward:"转发",ComDel:"彻底删除",del:"删除",MarkedAs:"标记为",read:"已读",unRead:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",tipOne:"单击一封邮件在此处显示",Sender:"发件人",Copy:"抄送",bcc:"密送",addressee:"收件人",time:"时间",walStatus:"撤回状态:已撤回",content1:"附件:共{attachsCount}个附件",download:"下载",content2:"快捷回复给:{fromAddr}",send:"发送",content3:"您还没有设置邮箱信息",content4:"现在设置",AdvancedSearch:"高级搜索",content5:"请输入发件人/邮箱地址",content6:"请输入收件人/邮箱地址",emailTitle:"邮件主题",emailTitleEnter:"请输入邮件主题",sendTime:"发送时间",startTime:"请选择发送时间(开始)",endTime:"选择发送时间(结束)",to:"至",content7:"发送时间(结束)不能小于发送时间(开始)",opTip:"操作提示",content8:"跳转范围在 1 - {totalPage} 页",emailTip:"请选择邮件",emailTip1:"请先打开邮件",emailTip2:"当前邮件已读无法撤回",emailTip3:"超过24小时的邮件无法撤回",emailTip4:"撤回成功!",emailTip5:"将删除该邮件, 是否继续?",emailTip6:"将永久删除该邮件,删除后不可恢复, 是否继续?",emailTip7:"是否标记为未读?",emailTip8:"该邮件是未读邮件,无需重复操作。",emailTip9:"所选邮件均是未读邮件,无需重复操作。",emailTip10:"是否标记为已读?",emailTip11:"该邮件是已读邮件,无需重复操作。",emailTip12:"所选邮件均是已读邮件,无需重复操作。",emailTip13:"是否去除标星?",emailTip14:"该邮件是未标星邮件,无需重复操作。",emailTip15:"所选邮件均是未标星邮件,无需重复操作。",emailTip16:"是否标记为标星?",emailTip17:"该邮件是已标星邮件,无需重复操作。",emailTip18:"所选邮件均是标星邮件,无需重复操作。",tip:"提示",isDelFile:"将永久删除该文件, 是否继续?",selectDelFile:"请先选择需要删除的邮件",notOneself:"不能转移到自身文件夹!",TransferSu:"转移成功!",enterContent:"请输入回复内容!",selectEmailFile:"请先选择邮件!"},xieyoujian:{send:"发送",SaveDraft:"存草稿",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",address:"请输入邮件地址,内部邮箱可以输入联系人姓名",content:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCrecipient:"抄送人",SecretPerson:"密送人",Theme:"主 题",Theme1:"主题",ThemeEnter:"请输入邮件主题",content1:'将文件拖到此处,或<span style="color:rgba(33, 120, 241, 1)">点击上传</span>',maxFile:"(单个文件最大1G)",UploadSu:"上传成功",sendSu:"发送成功",emailTip:"邮件已保存到“已发送”",WriteAn:"再写一封",GoInbox:"去收件箱",setUpInfo:" 您还没有设置邮箱信息",nowSetup:"现在设置",addresseeEnter:"请输入收件人!",content2:"当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱",tip:"提示",notEmail:"当前项无邮箱地址,不支持选择",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",opTip:"操作提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftSu:"保存草稿成功",selectExport:"请选择导入文件",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",emailTip5:"邮件格式不正确!请重新输入"},youxiangshezhi:{EmailCenter:"邮件中心",EmailAddress:"电子邮箱地址",EmailUserName:"邮箱用户名称",EmailUserAccount:"邮箱用户帐号",emailPass:"邮箱用户密码/授权码",accountType:"用户账户类型",ReceivingServer:"接收邮件服务器",outgoingMail:"发送邮件服务器",emailAddress:"绑定外部邮箱地址",EmailTip:"请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件",pageMax:"每页最多显示邮件数",fileNum10:"10封",fileNum20:"20封",fileNum50:"50封",fileNum100:"100封",forwardingEmail:"转发邮件时主题显示",forward:"转发",replyingToem:"回复邮件时主题显示",reply:"回复",addSignature:"发送邮件时是否添加签名",yes:"是",no:"否",sendContent:"发送邮件时添加签名内容",contentEnter:"请输入内容",save:"保 存",close:"关 闭",emailType:"邮箱类型",emailqq:"QQ邮箱",email139:"139邮箱",email163:"163邮箱",other:"其他",Emailstting:"邮箱设置",isdelEmail:"确定要删除{emailAddr}邮箱及其下文件夹吗?",isSure:"确认操作",EmailassEnter:"请先输入电子邮箱地址再进行操作!",operation:"操作提示",appCode:"客户端授权密码",code_qq:"QQ邮箱16位授权码",code_139:"139邮箱登录密码",code_163:"163邮箱授权码",describe:"您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。",configure:"接收或发送邮件服务器配置错误",EmailNot:"邮箱格式不正确",tip:"提示",sure:"确定",cancel:"取消"},backupEmailDetail:{back:"返回",ShippingBox:"发件箱",Inbox:"收件箱",Deleted:"已删除",total:"共 {{ total }} 封",JumpTo:"跳转到",page:"页",cancel:"取消",sure:"确定",singleClick:"单击一封邮件在此处显示",theme:"主题",Sender:"发件人",addressee:"收件人",bcc:"密送",Copy:"抄送",time:"时间",AttatcNum:"附件:共{{ mailInfo.attachsCount }}个附件",download:"下载",AdvancedSearch:"高级搜索",SenderAss:"请输入发件人/邮箱地址",addresseeAss:"请输入收件人/邮箱地址",EmailSubject:"邮件主题",EmailSubEnter:"请输入邮件主题",sendTime:"发送时间",selectSendtimeStart:"请选择发送时间(开始)",to:"至",selectSendtimeEnd:"选择发送时间(结束)",isTime:"发送时间(结束)不能小于发送时间(开始)",operation:"操作提示",pageFw:"跳转范围在 1 - {totalPage}页",openEmail:"请先打开邮件",contentEnter:"请输入回复内容!"},Folder:{ManageFolder:"管理文件夹",FolderName:"文件夹名称",FolderNameEnter:"请输入文件夹名称",order:"排序",orderLength:"请输入4位数字排序",specifiedEmail:"接受指定邮件",emailTip:"将符合以下规则的邮件,自动放入该文件夹",Sender:"发件人",contain:"包含",unContain:"不包含",enterSenderEmail:"请选择或输入发件人邮箱地址,多个用英文逗号分开",addressee:"收件人",enterAddressee:"请选择或输入收件人邮箱地址,多个用英文逗号分开",theme:"主题",enterTheme:"请输入邮件主题关键字,多个用英文逗号分开",close:"关 闭",save:"保 存",txl:"通讯录",emailStting:"您还没有设置邮箱信息",nowStting:"现在设置",index:"序号",boxName:"文件夹名称",orderNo:"排序号",notReadedNum:"未读邮件数",mailNum:"总邮件数",operate:"操作",senderAlreadying:'"{tname}"已存在该发件人!',senderAlready:"已存在该发件人!",recipientAlready:"已存在该收件人!",isDelBox:"确定要删除该文件夹吗?",isSure:"确认操作",emailNot:"邮件格式不正确!",boxNameMax:"文件夹名称最多可输入12位字符",tip:"提示",boxNametTip:"文件夹名称为必填",correctTip:"请正确填写4位数字排序号",emailTipbc:"请将邮件放置规则补充完整"},LeftMenu:{ReceivingLetters:"收信",writeLetters:"写信"},tbColumns:{DispatchDet:"派车详情",isDataSure:"您是否确认结束选择的数据?",success:"操作成功"},txl:{searchKey:"请输入搜索关键字",AddressBook:"公共通讯录",PersonalAddress:"个人通讯录",recentContacts:"最近联系人"},portletEmail:{index:"序号",subject:"邮件主题",fromAddr:"发送人",createTime:"发送时间"},sendMail:{source:"来源",SaveDraft:"存草稿",send:"发送",close:"关闭",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",addressee:"收件人",sendEmailTip:"请输入邮件地址,内部邮箱可以输入联系人姓名",sendEmailTip1:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",CCRecipient:"抄送人",SecretDvyPerson:"密送人",Theme:"主 题",ThemeP:"主题",ThemeEnter:"请输入邮件主题",addAttacg:"添加附件",maxFile:"( 单个文件最大20M )",uploadSu:"上传成功",sendSuTip:"发送成功,邮件已保存到“已发送”。",WriteAnother:"再写一封",goEmail:"去收件箱",notStting:"您还没有设置邮箱信息",nowStt:"现在设置",noEmailass:"当前项无邮箱地址,不支持选择",BindExterEmail:"请先前往邮箱中心绑定外部邮箱",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",operation:"操作提示",tip:"提示",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftsu:"保存草稿成功",selectExportFile:"请选择导入文件",emailNot:"邮件格式不正确!",addresseeEnter:"请输入收件人!"}}}},9631:function(e){e.exports={email:{formTitle:"内部邮箱",menuItem:{internalEmail:"内部邮箱",inbox:"收件箱",starFile:"标星文件",drafts:"草稿箱",beenSent:"已发送",deleted:"已删除",customFolder:"自定义文件夹",emailAttach:"邮箱附件",txl:"通讯录",emailMonitor:"邮件监控",emailCenter:"邮箱中心",backupEmail:"备份邮箱"},accessoryList:{fields:{fileName:"文件名称",size:"大小",date:"日期"},all:"全部",picture:"图片",file:"文档",audio:"音频",video:"视频",Compressed:"压缩包",other:"其他",emailInfo:"您还没有设置邮箱信息,",AttachmentFile:"附件文件"},address:{fields:{GroupName:"分组名称",order:"排序",emailAddress:"邮箱地址",email:"邮箱",grouping:"分组"},grouping:"分组",notGroup:"未分组",all:"全部",BookGroup:"通讯录分组",GroupNameEnter:"请输入分组名称",orderTip:"请输入4位数字排序",mailList:"通讯录",emailAddressEnter:"请输入邮箱地址",groupingEnter:"请选择分组"},ecincMailHelp:{guideTitle:"新网邮箱设置帮助指南",guideTitle1:"1、登录新网邮箱:http://ntmail.global-mail.cn",guideTitle2:"2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码",guideTitle3:"3、设置客户端授权码"},emailWatch:{fields:{Monitoring:"监控对象",EmailSub:"邮件主题",sendTime:"发送时间"},MarkedAs:"标记为",read:"已读",unread:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",not:"无",theme:"主题:{name}",Sender:"发件人:{addr}",Copy:"抄送:{to}",addressee:"收件人:{sendTo}",time:"时间:{time}",content:"附件:共{attachsCount}个附件",Recentlylogin:"最近登录:{time}"},list:{fields:{Sender:"发件人",addressee:"收件人",emailTitle:"邮件主题",sendTime:"发送时间"},emailNum:"共 0 封",emailNumIng:"共{total}封",selectEmail:"已选{count}封",JumpTo:"跳转到",page:"页",not:"无",tipOne:"单击一封邮件在此处显示",Sender2:"发件人:{to}",Copy:"抄送",bcc:"密送:{to}",addressee2:"收件人:{to}",time:"时间:{to}",walStatus:"撤回状态:已撤回",content1:"附件:共{attachsCount}个附件",download:"下载",content2:"快捷回复给:{fromAddr}",content3:"您还没有设置邮箱信息,",content4:"现在设置",AdvancedSearch:"高级搜索",content5:"请输入发件人/邮箱地址",content6:"请输入收件人/邮箱地址",emailTitleEnter:"请输入邮件主题",startTime:"请选择发送时间(开始)",endTime:"选择发送时间(结束)"},xieyoujian:{fields:{addressee:"收件人:",CCrecipient:"抄送人:",SecretPerson:"密送人:",Theme:"主 题:"},SaveDraft:"存草稿",Receipt:"已读回执",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",address:"请输入邮件地址,内部邮箱可以输入联系人姓名",content:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",ThemeEnter:"请输入邮件主题",content1:'将文件拖到此处,或<span style="color:rgba(33, 120, 241, 1)">点击上传</span>',maxFile:"(单个文件最大1G)",UploadSu:"上传成功",sendSu:"发送成功",emailTip:"邮件已保存到“已发送”",setUpInfo:" 您还没有设置邮箱信息,",content2:"当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱",notEmail:"当前项无邮箱地址,不支持选择"},youxiangshezhi:{fields:{EmailAddress:"电子邮箱地址",EmailUserName:"邮箱用户名称",EmailUserAccount:"邮箱用户帐号",emailPass:"邮箱用户密码/授权码",accountType:"用户账户类型",ReceivingServer:"接收邮件服务器",outgoingMail:"发送邮件服务器",emailAddress:"绑定外部邮箱地址",pageMax:"每页最多显示邮件数",forwardingEmail:"转发邮件时主题显示",replyingToem:"回复邮件时主题显示",addSignature:"发送邮件时是否添加签名",sendContent:"发送邮件时添加签名内容"},EmailCenter:"邮件中心",EmailTip:"请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件",fileNum10:"10封",fileNum20:"20封",fileNum50:"50封",fileNum100:"100封",reply:"回复",contentEnter:"请输入内容",save:"保 存",close:"关 闭",emailType:"邮箱类型",emailqq:"QQ邮箱",email139:"139邮箱",email163:"163邮箱",other:"其他",Emailstting:"邮箱设置",isdelEmail:"确定要删除{emailAddr}邮箱及其下文件夹吗?",isSure:"确认操作",EmailassEnter:"请先输入电子邮箱地址再进行操作!",operation:"操作提示",appCode:"客户端授权密码",code_qq:"QQ邮箱16位授权码",code_139:"139邮箱登录密码",code_163:"163邮箱授权码",describe:"您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。",configure:"接收或发送邮件服务器配置错误",EmailNot:"邮箱格式不正确"},components:{fields:{Sender:"发件人",addressee:"收件人",EmailSubject:"邮件主题",sendTime:"发送时间",FolderName:"文件夹名称",order:"排序",specifiedEmail:"接受指定邮件",theme:"主题",index:"序号",boxName:"文件夹名称",orderNo:"排序号",notReadedNum:"未读邮件数",mailNum:"总邮件数",operate:"操作"},total:"共 { total } 封",JumpTo:"跳转到",page:"页",singleClick:"单击一封邮件在此处显示",theme:"主题:{name}",Sender2:"发件人:{addr}",addressee2:"收件人:{sendTo}",bcc:"密送",Copy:"抄送",time:"时间:{time}",AttatcNum:"附件:共{ attachsCount }个附件",AdvancedSearch:"高级搜索",SenderAss:"请输入发件人/邮箱地址",addresseeAss:"请输入收件人/邮箱地址",EmailSubEnter:"请输入邮件主题",selectSendtimeStart:"请选择发送时间(开始)",selectSendtimeEnd:"选择发送时间(结束)",ManageFolder:"管理文件夹",FolderNameEnter:"请输入文件夹名称",orderLength:"请输入4位数字排序",emailTip:"将符合以下规则的邮件,自动放入该文件夹",contain:"包含",unContain:"不包含",enterSenderEmail:"请选择或输入发件人邮箱地址,多个用英文逗号分开",enterAddressee:"请选择或输入收件人邮箱地址,多个用英文逗号分开",enterTheme:"请输入邮件主题关键字,多个用英文逗号分开",select:"选择",txl:"通讯录",emailStting:"您还没有设置邮箱信息,",ReceivingLetters:"收信",writeLetters:"写信",DispatchDet:"派车详情",searchKey:"请输入搜索关键字",AddressBook:"公共通讯录",PersonalAddress:"个人通讯录",recentContacts:"最近联系人"},pageBtns:{ShippingBox:"发件箱",Inbox:"收件箱",Deleted:"已删除",nowSeting:"现在设置",Theme:"主 题:",addAttacg:"添加附件:",goEmail:"去收件箱",transferGroup:"转移分组",back:"返回",ReplyAll:"全部回复",reply:"回复",withdraw:"撤回",SendAgain:"再次发送",MarkedAs:"标记为",read:"已读",unRead:"未读",StarMarking:"标星",StarMar:"去除标星",TransferTo:"转移到",WriteAn:"再写一封",readingLog:"阅读记录"},messages:{contentEnter:"请输入回复内容!",senderAlreadying:'"{tname}"已存在该发件人!',senderAlready:"已存在该发件人!",recipientAlready:"已存在该收件人!",isDelBox:"确定要删除该文件夹吗?",isSure:"确认操作",emailNot:"邮件格式不正确!",boxNameMax:"文件夹名称最多可输入12位字符",boxNametTip:"文件夹名称为必填",correctTip:"请正确填写4位数字排序号",emailTipbc:"请将邮件放置规则补充完整",isDataSure:"您是否确认结束选择的数据?",success:"操作成功",noEmailass:"当前项无邮箱地址,不支持选择",BindExterEmail:"请先前往邮箱中心绑定外部邮箱",emailTip1:"已存在该收件人!",emailTip2:"已存在该抄送人!",emailTip3:"已存在该密送人!",emailTip4:"请前往邮箱中心检验邮箱用户密码或授权码是否正确",fileName:"“{fileName}” 文件重复,已覆盖该文件",maxFileUpload:"最多只能上传{limitNum}个文件",SaveDraftsu:"保存草稿成功",selectExportFile:"请选择导入文件",addresseeEnter:"请输入收件人!",notSelectAttach:"不能选择相同的附件,请重新选择",selectAttach:"请选择要转发的附件",downAttach:"请选择要下载的附件",isDel:"确定要删除该联系人吗?",isTransfer:"确定要转移选中的联系人吗?",selectTransfer:"请选择要转移的联系人",isSelectlxr:"确定要删除选中的联系人吗?",selectlxr:"请选择要删除的联系人",isorderNUmber:"请正确填写4位数字排序号",isDelGroup:"确定要删除选中分组吗?",selectDelGroup:"请选择要删除的分组",selectEmail:"请先选择邮件",isdelEmail:"将删除该邮件, 是否继续?",delEmailTip:"将永久删除该邮件,删除后不可恢复, 是否继续?",signUnread:"是否标记为未读?",signRead:"是否标记为已读?",delSign:"是否去除标星?",sign:"是否标记为标星?",successCancel:"已成功取消",TransferSuccessful:"转移成功!",content7:"发送时间(结束)不能小于发送时间(开始)",content8:"跳转范围在 1 - {totalPage} 页",emailTip:"请选择邮件",emailTip21:"请先打开邮件",emailTip22:"当前邮件已读无法撤回",emailTip23:"超过24小时的邮件无法撤回",emailTip24:"撤回成功!",emailTip5:"将删除该邮件, 是否继续?",emailTip6:"将永久删除该邮件,删除后不可恢复, 是否继续?",emailTip7:"是否标记为未读?",emailTip8:"该邮件是未读邮件,无需重复操作。",emailTip9:"所选邮件均是未读邮件,无需重复操作。",emailTip10:"是否标记为已读?",emailTip11:"该邮件是已读邮件,无需重复操作。",emailTip12:"所选邮件均是已读邮件,无需重复操作。",emailTip13:"是否去除标星?",emailTip14:"该邮件是未标星邮件,无需重复操作。",emailTip15:"所选邮件均是未标星邮件,无需重复操作。",emailTip16:"是否标记为标星?",emailTip17:"该邮件是已标星邮件,无需重复操作。",emailTip18:"所选邮件均是标星邮件,无需重复操作。",emailTip19:"邮件格式不正确!请重新输入",isDelFile:"将永久删除该文件, 是否继续?",selectDelFile:"请先选择需要删除的邮件",notOneself:"不能转移到自身文件夹!",TransferSu:"转移成功!",enterContent:"请输入回复内容!",selectEmailFile:"请先选择邮件!"},backupEmailDetail:{isTime:"发送时间(结束)不能小于发送时间(开始)",operation:"操作提示",pageFw:"跳转范围在 1 - {totalPage}页",openEmail:"请先打开邮件"},portletEmail:{subject:"邮件主题",fromAddr:"发送人",createTime:"发送时间"},sendMail:{fields:{addressee:"收件人:",CCRecipient:"抄送人:",SecretDvyPerson:"密送人:"},source:"来源:{srcName}",SaveDraft:"存草稿",AddCC:"添加抄送",DelCC:"删除抄送",AddSecret:"添加密送",DelSecret:"删除密送",sendEmailTip:"请输入邮件地址,内部邮箱可以输入联系人姓名",sendEmailTip1:"群发的邮件,采用一对一发送,每个收件人只能看到自己的地址",ThemeP:"主题",ThemeEnter:"请输入邮件主题",maxFile:"( 单个文件最大20M )",uploadSu:"上传成功",sendSuTip:"发送成功,邮件已保存到“已发送”。",WriteAnother:"再写一封",notStting:"您还没有设置邮箱信息,"},userSetup:{formTitle:"用户邮箱设置",fields:{spaceSize:"分配空间",emailAddr:"邮箱地址",emailUsername:"姓名",attachLimit:"附件上限",status:"状态 ",mailSize:"信件大小",concurrent:"单封并发"}},blackWhiteList:{formTitle:"黑白名单设置",fields:{mailAddress:"请输入账号"}},byRegulator:{formTitle:"被监控者表",fields:{jkEndTime:"监控结束时间",mailAddr:"监控者",byMailAddr:"被监控者",isYjjk:"是否永久监控 ",orgName:"机构名称",jkStartTime:"监控开始时间",status:"状态 ",jkRange:"监控范围 "}},orgSpaceSet:{formTitle:"单位空间设置",fields:{status:"状态 ",orgName:"单位名称",spaceSize:"分配空间",createTime:"创建日期",createName:"创建人"}}}}},553:function(e,t){"use strict";t.A={pinyin:{a:"啊阿锕",ai:"埃挨哎唉哀皑癌蔼矮艾碍爱隘诶捱嗳嗌嫒瑷暧砹锿霭",an:"鞍氨安俺按暗岸胺案谙埯揞犴庵桉铵鹌顸黯",ang:"肮昂盎",ao:"凹敖熬翱袄傲奥懊澳坳拗嗷噢岙廒遨媪骜聱螯鏊鳌鏖",ba:"芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸茇菝萆捭岜灞杷钯粑鲅魃",bai:"白柏百摆佰败拜稗薜掰鞴",ban:"斑班搬扳般颁板版扮拌伴瓣半办绊阪坂豳钣瘢癍舨",bang:"邦帮梆榜膀绑棒磅蚌镑傍谤蒡螃",bao:"苞胞包褒雹保堡饱宝抱报暴豹鲍爆勹葆宀孢煲鸨褓趵龅",bo:"剥薄玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳亳蕃啵饽檗擘礴钹鹁簸跛",bei:"杯碑悲卑北辈背贝钡倍狈备惫焙被孛陂邶埤蓓呗怫悖碚鹎褙鐾",ben:"奔苯本笨畚坌锛",beng:"崩绷甭泵蹦迸唪嘣甏",bi:"逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛匕仳俾芘荜荸吡哔狴庳愎滗濞弼妣婢嬖璧贲畀铋秕裨筚箅篦舭襞跸髀",bian:"鞭边编贬扁便变卞辨辩辫遍匾弁苄忭汴缏煸砭碥稹窆蝙笾鳊",biao:"标彪膘表婊骠飑飙飚灬镖镳瘭裱鳔",bie:"鳖憋别瘪蹩鳘",bin:"彬斌濒滨宾摈傧浜缤玢殡膑镔髌鬓",bing:"兵冰柄丙秉饼炳病并禀邴摒绠枋槟燹",bu:"捕卜哺补埠不布步簿部怖拊卟逋瓿晡钚醭",ca:"擦嚓礤",cai:"猜裁材才财睬踩采彩菜蔡",can:"餐参蚕残惭惨灿骖璨粲黪",cang:"苍舱仓沧藏伧",cao:"操糙槽曹草艹嘈漕螬艚",ce:"厕策侧册测刂帻恻",ceng:"层蹭噌",cha:"插叉茬茶查碴搽察岔差诧猹馇汊姹杈楂槎檫钗锸镲衩",chai:"拆柴豺侪茈瘥虿龇",chan:"搀掺蝉馋谗缠铲产阐颤冁谄谶蒇廛忏潺澶孱羼婵嬗骣觇禅镡裣蟾躔",chang:"昌猖场尝常长偿肠厂敞畅唱倡伥鬯苌菖徜怅惝阊娼嫦昶氅鲳",chao:"超抄钞朝嘲潮巢吵炒怊绉晁耖",che:"车扯撤掣彻澈坼屮砗",chen:"郴臣辰尘晨忱沉陈趁衬称谌抻嗔宸琛榇肜胂碜龀",cheng:"撑城橙成呈乘程惩澄诚承逞骋秤埕嵊徵浈枨柽樘晟塍瞠铖裎蛏酲",chi:"吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽傺墀芪茌搋叱哧啻嗤彳饬沲媸敕胝眙眵鸱瘛褫蚩螭笞篪豉踅踟魑",chong:"充冲虫崇宠茺忡憧铳艟",chou:"抽酬畴踌稠愁筹仇绸瞅丑俦圳帱惆溴妯瘳雠鲋",chu:"臭初出橱厨躇锄雏滁除楚础储矗搐触处亍刍憷绌杵楮樗蜍蹰黜",chuan:"揣川穿椽传船喘串掾舛惴遄巛氚钏镩舡",chuang:"疮窗幢床闯创怆",chui:"吹炊捶锤垂陲棰槌",chun:"春椿醇唇淳纯蠢促莼沌肫朐鹑蝽",chuo:"戳绰蔟辶辍镞踔龊",ci:"疵茨磁雌辞慈瓷词此刺赐次荠呲嵯鹚螅糍趑",cong:"聪葱囱匆从丛偬苁淙骢琮璁枞",cu:"凑粗醋簇猝殂蹙",cuan:"蹿篡窜汆撺昕爨",cui:"摧崔催脆瘁粹淬翠萃悴璀榱隹",cun:"村存寸磋忖皴",cuo:"撮搓措挫错厝脞锉矬痤鹾蹉躜",da:"搭达答瘩打大耷哒嗒怛妲疸褡笪靼鞑",dai:"呆歹傣戴带殆代贷袋待逮怠埭甙呔岱迨逯骀绐玳黛",dan:"耽担丹单郸掸胆旦氮但惮淡诞弹蛋亻儋卩萏啖澹檐殚赕眈瘅聃箪",dang:"当挡党荡档谠凼菪宕砀铛裆",dao:"刀捣蹈倒岛祷导到稻悼道盗叨啁忉洮氘焘忑纛",de:"德得的锝",deng:"蹬灯登等瞪凳邓噔嶝戥磴镫簦",di:"堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔氐籴诋谛邸坻莜荻嘀娣柢棣觌砥碲睇镝羝骶",dian:"颠掂滇碘点典靛垫电佃甸店惦奠淀殿丶阽坫埝巅玷癜癫簟踮",diao:"碉叼雕凋刁掉吊钓调轺铞蜩粜貂",die:"跌爹碟蝶迭谍叠佚垤堞揲喋渫轶牒瓞褶耋蹀鲽鳎",ding:"丁盯叮钉顶鼎锭定订丢仃啶玎腚碇町铤疔耵酊",dong:"东冬董懂动栋侗恫冻洞垌咚岽峒夂氡胨胴硐鸫",dou:"兜抖斗陡豆逗痘蔸钭窦窬蚪篼酡",du:"都督毒犊独读堵睹赌杜镀肚度渡妒芏嘟渎椟橐牍蠹笃髑黩",duan:"端短锻段断缎彖椴煅簖",dui:"堆兑队对怼憝碓",dun:"墩吨蹲敦顿囤钝盾遁炖砘礅盹镦趸",duo:"掇哆多夺垛躲朵跺舵剁惰堕咄哚缍柁铎裰踱",e:"蛾峨鹅俄额讹娥恶厄扼遏鄂饿噩谔垩垭苊莪萼呃愕屙婀轭曷腭硪锇锷鹗颚鳄",en:"恩蒽摁唔嗯",er:"而儿耳尔饵洱二贰迩珥铒鸸鲕",fa:"发罚筏伐乏阀法珐垡砝",fan:"藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛蘩幡犭梵攵燔畈蹯",fang:"坊芳方肪房防妨仿访纺放匚邡彷钫舫鲂",fei:"菲非啡飞肥匪诽吠肺废沸费芾狒悱淝妃绋绯榧腓斐扉祓砩镄痱蜚篚翡霏鲱",fen:"芬酚吩氛分纷坟焚汾粉奋份忿愤粪偾瀵棼愍鲼鼢",feng:"丰封枫蜂峰锋风疯烽逢冯缝讽奉凤俸酆葑沣砜",fu:"佛否夫敷肤孵扶拂辐幅氟符伏俘服浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐匐凫郛芙苻茯莩菔呋幞滏艴孚驸绂桴赙黻黼罘稃馥虍蚨蜉蝠蝮麸趺跗鳆",ga:"噶嘎蛤尬呷尕尜旮钆",gai:"该改概钙盖溉丐陔垓戤赅胲",gan:"干甘杆柑竿肝赶感秆敢赣坩苷尴擀泔淦澉绀橄旰矸疳酐",gang:"冈刚钢缸肛纲岗港戆罡颃筻",gong:"杠工攻功恭龚供躬公宫弓巩汞拱贡共蕻廾咣珙肱蚣蛩觥",gao:"篙皋高膏羔糕搞镐稿告睾诰郜蒿藁缟槔槁杲锆",ge:"哥歌搁戈鸽胳疙割革葛格阁隔铬个各鬲仡哿塥嗝纥搿膈硌铪镉袼颌虼舸骼髂",gei:"给",gen:"根跟亘茛哏艮",geng:"耕更庚羹埂耿梗哽赓鲠",gou:"钩勾沟苟狗垢构购够佝诟岣遘媾缑觏彀鸲笱篝鞲",gu:"辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇嘏诂菰哌崮汩梏轱牯牿胍臌毂瞽罟钴锢瓠鸪鹄痼蛄酤觚鲴骰鹘",gua:"刮瓜剐寡挂褂卦诖呱栝鸹",guai:"乖拐怪哙",guan:"棺关官冠观管馆罐惯灌贯倌莞掼涫盥鹳鳏",guang:"光广逛犷桄胱疒",gui:"瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽匦刿庋宄妫桧炅晷皈簋鲑鳜",gun:"辊滚棍丨衮绲磙鲧",guo:"锅郭国果裹过馘蠃埚掴呙囗帼崞猓椁虢锞聒蜮蜾蝈",ha:"哈",hai:"骸孩海氦亥害骇咴嗨颏醢",han:"酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉邗菡撖阚瀚晗焓颔蚶鼾",hen:"夯痕很狠恨",hang:"杭航沆绗珩桁",hao:"壕嚎豪毫郝好耗号浩薅嗥嚆濠灏昊皓颢蚝",he:"呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺诃劾壑藿嗑嗬阖盍蚵翮",hei:"嘿黑",heng:"哼亨横衡恒訇蘅",hong:"轰哄烘虹鸿洪宏弘红黉讧荭薨闳泓",hou:"喉侯猴吼厚候后堠後逅瘊篌糇鲎骺",hu:"呼乎忽瑚壶葫胡蝴狐糊湖弧虎唬护互沪户冱唿囫岵猢怙惚浒滹琥槲轷觳烀煳戽扈祜鹕鹱笏醐斛",hua:"花哗华猾滑画划化话劐浍骅桦铧稞",huai:"槐徊怀淮坏还踝",huan:"欢环桓缓换患唤痪豢焕涣宦幻郇奂垸擐圜洹浣漶寰逭缳锾鲩鬟",huang:"荒慌黄磺蝗簧皇凰惶煌晃幌恍谎隍徨湟潢遑璜肓癀蟥篁鳇",hui:"灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘诙茴荟蕙哕喙隳洄彗缋珲晖恚虺蟪麾",hun:"荤昏婚魂浑混诨馄阍溷缗",huo:"豁活伙火获或惑霍货祸攉嚯夥钬锪镬耠蠖",ji:"击圾基机畸稽积箕肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪居丌乩剞佶佴脔墼芨芰萁蒺蕺掎叽咭哜唧岌嵴洎彐屐骥畿玑楫殛戟戢赍觊犄齑矶羁嵇稷瘠瘵虮笈笄暨跻跽霁鲚鲫髻麂",jia:"嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁伽郏拮岬浃迦珈戛胛恝铗镓痂蛱笳袈跏",jian:"歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件健舰剑饯渐溅涧建僭谏谫菅蒹搛囝湔蹇謇缣枧柙楗戋戬牮犍毽腱睑锏鹣裥笕箴翦趼踺鲣鞯",jiang:"僵姜将浆江疆蒋桨奖讲匠酱降茳洚绛缰犟礓耩糨豇",jiao:"蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫佼僬茭挢噍峤徼姣纟敫皎鹪蛟醮跤鲛",jie:"窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届偈讦诘喈嗟獬婕孑桀獒碣锴疖袷颉蚧羯鲒骱髫",jin:"巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸尽卺荩堇噤馑廑妗缙瑾槿赆觐钅锓衿矜",jing:"劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净刭儆阱菁獍憬泾迳弪婧肼胫腈旌",jiong:"炯窘冂迥扃",jiu:"揪究纠玖韭久灸九酒厩救旧臼舅咎就疚僦啾阄柩桕鹫赳鬏",ju:"鞠拘狙疽驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧倨讵苣苴莒掬遽屦琚枸椐榘榉橘犋飓钜锔窭裾趄醵踽龃雎鞫",juan:"捐鹃娟倦眷卷绢鄄狷涓桊蠲锩镌隽",jue:"撅攫抉掘倔爵觉决诀绝厥劂谲矍蕨噘崛獗孓珏桷橛爝镢蹶觖",jun:"均菌钧军君峻俊竣浚郡骏捃狻皲筠麇",ka:"喀咖卡佧咔胩",ke:"咯坷苛柯棵磕颗科壳咳可渴克刻客课岢恪溘骒缂珂轲氪瞌钶疴窠蝌髁",kai:"开揩楷凯慨剀垲蒈忾恺铠锎",kan:"刊堪勘坎砍看侃凵莰莶戡龛瞰",kang:"康慷糠扛抗亢炕坑伉闶钪",kao:"考拷烤靠尻栲犒铐",ken:"肯啃垦恳垠裉颀",keng:"吭忐铿",kong:"空恐孔控倥崆箜",kou:"抠口扣寇芤蔻叩眍筘",ku:"枯哭窟苦酷库裤刳堀喾绔骷",kua:"夸垮挎跨胯侉",kuai:"块筷侩快蒯郐蒉狯脍",kuan:"宽款髋",kuang:"匡筐狂框矿眶旷况诓诳邝圹夼哐纩贶",kui:"亏盔岿窥葵奎魁傀馈愧溃馗匮夔隗揆喹喟悝愦阕逵暌睽聩蝰篑臾跬",kun:"坤昆捆困悃阃琨锟醌鲲髡",kuo:"括扩廓阔蛞",la:"垃拉喇蜡腊辣啦剌摺邋旯砬瘌",lai:"莱来赖崃徕涞濑赉睐铼癞籁",lan:"蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥啉岚懔漤榄斓罱镧褴",lang:"琅榔狼廊郎朗浪莨蒗啷阆锒稂螂",lao:"捞劳牢老佬姥酪烙涝唠崂栳铑铹痨醪",le:"勒乐肋仂叻嘞泐鳓",lei:"雷镭蕾磊累儡垒擂类泪羸诔荽咧漯嫘缧檑耒酹",ling:"棱冷拎玲菱零龄铃伶羚凌灵陵岭领另令酃塄苓呤囹泠绫柃棂瓴聆蛉翎鲮",leng:"楞愣",li:"厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐痢立粒沥隶力璃哩俪俚郦坜苈莅蓠藜捩呖唳喱猁溧澧逦娌嫠骊缡珞枥栎轹戾砺詈罹锂鹂疠疬蛎蜊蠡笠篥粝醴跞雳鲡鳢黧",lian:"俩联莲连镰廉怜涟帘敛脸链恋炼练挛蔹奁潋濂娈琏楝殓臁膦裢蠊鲢",liang:"粮凉梁粱良两辆量晾亮谅墚椋踉靓魉",liao:"撩聊僚疗燎寥辽潦了撂镣廖料蓼尥嘹獠寮缭钌鹩耢",lie:"列裂烈劣猎冽埒洌趔躐鬣",lin:"琳林磷霖临邻鳞淋凛赁吝蔺嶙廪遴檩辚瞵粼躏麟",liu:"溜琉榴硫馏留刘瘤流柳六抡偻蒌泖浏遛骝绺旒熘锍镏鹨鎏",long:"龙聋咙笼窿隆垄拢陇弄垅茏泷珑栊胧砻癃",lou:"楼娄搂篓漏陋喽嵝镂瘘耧蝼髅",lu:"芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮垆摅撸噜泸渌漉璐栌橹轳辂辘氇胪镥鸬鹭簏舻鲈",lv:"驴吕铝侣旅履屡缕虑氯律率滤绿捋闾榈膂稆褛",luan:"峦孪滦卵乱栾鸾銮",lue:"掠略锊",lun:"轮伦仑沦纶论囵",luo:"萝螺罗逻锣箩骡裸落洛骆络倮荦摞猡泺椤脶镙瘰雒",ma:"妈麻玛码蚂马骂嘛吗唛犸嬷杩麽",mai:"埋买麦卖迈脉劢荬咪霾",man:"瞒馒蛮满蔓曼慢漫谩墁幔缦熳镘颟螨鳗鞔",mang:"芒茫盲忙莽邙漭朦硭蟒",meng:"氓萌蒙檬盟锰猛梦孟勐甍瞢懵礞虻蜢蠓艋艨黾",miao:"猫苗描瞄藐秒渺庙妙喵邈缈缪杪淼眇鹋蜱",mao:"茅锚毛矛铆卯茂冒帽貌贸侔袤勖茆峁瑁昴牦耄旄懋瞀蛑蝥蟊髦",me:"么",mei:"玫枚梅酶霉煤没眉媒镁每美昧寐妹媚坶莓嵋猸浼湄楣镅鹛袂魅",men:"门闷们扪玟焖懑钔",mi:"眯醚靡糜迷谜弥米秘觅泌蜜密幂芈冖谧蘼嘧猕獯汨宓弭脒敉糸縻麋",mian:"棉眠绵冕免勉娩缅面沔湎腼眄",mie:"蔑灭咩蠛篾",min:"民抿皿敏悯闽苠岷闵泯珉",ming:"明螟鸣铭名命冥茗溟暝瞑酩",miu:"谬",mo:"摸摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谟茉蓦馍嫫镆秣瘼耱蟆貊貘",mou:"谋牟某厶哞婺眸鍪",mu:"拇牡亩姆母墓暮幕募慕木目睦牧穆仫苜呒沐毪钼",na:"拿哪呐钠那娜纳内捺肭镎衲箬",nai:"氖乃奶耐奈鼐艿萘柰",nan:"南男难囊喃囡楠腩蝻赧",nao:"挠脑恼闹孬垴猱瑙硇铙蛲",ne:"淖呢讷",nei:"馁",nen:"嫩能枘恁",ni:"妮霓倪泥尼拟你匿腻逆溺伲坭猊怩滠昵旎祢慝睨铌鲵",nian:"蔫拈年碾撵捻念廿辇黏鲇鲶",niang:"娘酿",niao:"鸟尿茑嬲脲袅",nie:"捏聂孽啮镊镍涅乜陧蘖嗫肀颞臬蹑",nin:"您柠",ning:"狞凝宁拧泞佞蓥咛甯聍",niu:"牛扭钮纽狃忸妞蚴",nong:"脓浓农侬",nu:"奴努怒呶帑弩胬孥驽",nv:"女恧钕衄",nuan:"暖",nuenue:"虐",nue:"疟谑",nuo:"挪懦糯诺傩搦喏锘",ou:"哦欧鸥殴藕呕偶沤怄瓯耦",pa:"啪趴爬帕怕琶葩筢",pai:"拍排牌徘湃派俳蒎",pan:"攀潘盘磐盼畔判叛爿泮袢襻蟠蹒",pang:"乓庞旁耪胖滂逄",pao:"抛咆刨炮袍跑泡匏狍庖脬疱",pei:"呸胚培裴赔陪配佩沛掊辔帔淠旆锫醅霈",pen:"喷盆湓",peng:"砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯堋嘭怦蟛",pi:"砒霹批披劈琵毗啤脾疲皮匹痞僻屁譬丕陴邳郫圮鼙擗噼庀媲纰枇甓睥罴铍痦癖疋蚍貔",pian:"篇偏片骗谝骈犏胼褊翩蹁",piao:"飘漂瓢票剽嘌嫖缥殍瞟螵",pie:"撇瞥丿苤氕",pin:"拼频贫品聘拚姘嫔榀牝颦",ping:"乒坪苹萍平凭瓶评屏俜娉枰鲆",po:"坡泼颇婆破魄迫粕叵鄱溥珀钋钷皤笸",pou:"剖裒踣",pu:"扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑匍噗濮璞氆镤镨蹼",qi:"期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫亟亓圻芑萋葺嘁屺岐汔淇骐绮琪琦杞桤槭欹祺憩碛蛴蜞綦綮趿蹊鳍麒",qia:"掐恰洽葜",qian:"牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉佥阡芊芡荨掮岍悭慊骞搴褰缱椠肷愆钤虔箝",qiang:"枪呛腔羌墙蔷强抢嫱樯戗炝锖锵镪襁蜣羟跫跄",qiao:"橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍劁诮谯荞愀憔缲樵毳硗跷鞒",qie:"切茄且怯窃郄唼惬妾挈锲箧",qin:"钦侵亲秦琴勤芹擒禽寝沁芩蓁蕲揿吣嗪噙溱檎螓衾",qing:"青轻氢倾卿清擎晴氰情顷请庆倩苘圊檠磬蜻罄箐謦鲭黥",qiong:"琼穷邛茕穹筇銎",qiu:"秋丘邱球求囚酋泅俅氽巯艽犰湫逑遒楸赇鸠虬蚯蝤裘糗鳅鼽",qu:"趋区蛆曲躯屈驱渠取娶龋趣去诎劬蕖蘧岖衢阒璩觑氍祛磲癯蛐蠼麴瞿黢",quan:"圈颧权醛泉全痊拳犬券劝诠荃獾悛绻辁畎铨蜷筌鬈",que:"缺炔瘸却鹊榷确雀阙悫",qun:"裙群逡",ran:"然燃冉染苒髯",rang:"瓤壤攘嚷让禳穰",rao:"饶扰绕荛娆桡",ruo:"惹若弱",re:"热偌",ren:"壬仁人忍韧任认刃妊纫仞荏葚饪轫稔衽",reng:"扔仍",ri:"日",rong:"戎茸蓉荣融熔溶容绒冗嵘狨缛榕蝾",rou:"揉柔肉糅蹂鞣",ru:"茹蠕儒孺如辱乳汝入褥蓐薷嚅洳溽濡铷襦颥",ruan:"软阮朊",rui:"蕊瑞锐芮蕤睿蚋",run:"闰润",sa:"撒洒萨卅仨挲飒",sai:"腮鳃塞赛噻",san:"三叁伞散彡馓氵毵糁霰",sang:"桑嗓丧搡磉颡",sao:"搔骚扫嫂埽臊瘙鳋",se:"瑟色涩啬铩铯穑",sen:"森",seng:"僧",sha:"莎砂杀刹沙纱傻啥煞脎歃痧裟霎鲨",shai:"筛晒酾",shan:"珊苫杉山删煽衫闪陕擅赡膳善汕扇缮剡讪鄯埏芟潸姗骟膻钐疝蟮舢跚鳝",shang:"墒伤商赏晌上尚裳垧绱殇熵觞",shao:"梢捎稍烧芍勺韶少哨邵绍劭苕潲蛸笤筲艄",she:"奢赊蛇舌舍赦摄射慑涉社设厍佘猞畲麝",shen:"砷申呻伸身深娠绅神沈审婶甚肾慎渗诜谂吲哂渖椹矧蜃",sheng:"声生甥牲升绳省盛剩胜圣丞渑媵眚笙",shi:"师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试谥埘莳蓍弑唑饣轼耆贳炻礻铈铊螫舐筮豕鲥鲺",shou:"收手首守寿授售受瘦兽扌狩绶艏",shu:"蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱恕倏塾菽忄沭涑澍姝纾毹腧殳镯秫鹬",shua:"刷耍唰涮",shuai:"摔衰甩帅蟀",shuan:"栓拴闩",shuang:"霜双爽孀",shui:"谁水睡税",shun:"吮瞬顺舜恂",shuo:"说硕朔烁蒴搠嗍濯妁槊铄",si:"斯撕嘶思私司丝死肆寺嗣四伺似饲巳厮俟兕菥咝汜泗澌姒驷缌祀祠锶鸶耜蛳笥",song:"松耸怂颂送宋讼诵凇菘崧嵩忪悚淞竦",sou:"搜艘擞嗽叟嗖嗾馊溲飕瞍锼螋",su:"苏酥俗素速粟僳塑溯宿诉肃夙谡蔌嗉愫簌觫稣",suan:"酸蒜算",sui:"虽隋随绥髓碎岁穗遂隧祟蓑冫谇濉邃燧眭睢",sun:"孙损笋荪狲飧榫跣隼",suo:"梭唆缩琐索锁所唢嗦娑桫睃羧",ta:"塌他它她塔獭挞蹋踏闼溻遢榻沓",tai:"胎苔抬台泰酞太态汰邰薹肽炱钛跆鲐",tan:"坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭郯蕈昙钽锬覃",tang:"汤塘搪堂棠膛唐糖傥饧溏瑭铴镗耥螗螳羰醣",thang:"倘躺淌",theng:"趟烫",tao:"掏涛滔绦萄桃逃淘陶讨套挑鼗啕韬饕",te:"特",teng:"藤腾疼誊滕",ti:"梯剔踢锑提题蹄啼体替嚏惕涕剃屉荑悌逖绨缇鹈裼醍",tian:"天添填田甜恬舔腆掭忝阗殄畋钿蚺",tiao:"条迢眺跳佻祧铫窕龆鲦",tie:"贴铁帖萜餮",ting:"厅听烃汀廷停亭庭挺艇莛葶婷梃蜓霆",tong:"通桐酮瞳同铜彤童桶捅筒统痛佟僮仝茼嗵恸潼砼",tou:"偷投头透亠",tu:"凸秃突图徒途涂屠土吐兔堍荼菟钍酴",tuan:"湍团疃",tui:"推颓腿蜕褪退忒煺",tun:"吞屯臀饨暾豚窀",tuo:"拖托脱鸵陀驮驼椭妥拓唾乇佗坨庹沱柝砣箨舄跎鼍",wa:"挖哇蛙洼娃瓦袜佤娲腽",wai:"歪外",wan:"豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕剜芄苋菀纨绾琬脘畹蜿箢",wang:"汪王亡枉网往旺望忘妄罔尢惘辋魍",wei:"威巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫倭偎诿隈葳薇帏帷崴嵬猥猬闱沩洧涠逶娓玮韪軎炜煨熨痿艉鲔",wen:"瘟温蚊文闻纹吻稳紊问刎愠阌汶璺韫殁雯",weng:"嗡翁瓮蓊蕹",wo:"挝蜗涡窝我斡卧握沃莴幄渥杌肟龌",wu:"巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误兀仵阢邬圬芴庑怃忤浯寤迕妩骛牾焐鹉鹜蜈鋈鼯",xi:"昔熙析西硒矽晰嘻吸锡牺稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细僖兮隰郗茜葸蓰奚唏徙饩阋浠淅屣嬉玺樨曦觋欷熹禊禧钸皙穸蜥蟋舾羲粞翕醯鼷",xia:"瞎虾匣霞辖暇峡侠狭下厦夏吓掀葭嗄狎遐瑕硖瘕罅黠",xian:"锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线冼藓岘猃暹娴氙祆鹇痫蚬筅籼酰跹",xiang:"相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象芗葙饷庠骧缃蟓鲞飨",xiao:"萧硝霄削哮嚣销消宵淆晓小孝校肖啸笑效哓咻崤潇逍骁绡枭枵筱箫魈",xie:"楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑偕亵勰燮薤撷廨瀣邂绁缬榭榍歙躞",xin:"薪芯锌欣辛新忻心信衅囟馨莘歆铽鑫",xing:"星腥猩惺兴刑型形邢行醒幸杏性姓陉荇荥擤悻硎",xiong:"兄凶胸匈汹雄熊芎",xiu:"休修羞朽嗅锈秀袖绣莠岫馐庥鸺貅髹",xu:"墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续讴诩圩蓿怵洫溆顼栩煦砉盱胥糈醑",xuan:"轩喧宣悬旋玄选癣眩绚儇谖萱揎馔泫洵渲漩璇楦暄炫煊碹铉镟痃",xue:"靴薛学穴雪血噱泶鳕",xun:"勋熏循旬询寻驯巡殉汛训讯逊迅巽埙荀薰峋徇浔曛窨醺鲟",ya:"压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶伢揠吖岈迓娅琊桠氩砑睚痖",yan:"焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验厣靥赝俨偃兖讠谳郾鄢芫菸崦恹闫阏洇湮滟妍嫣琰晏胭腌焱罨筵酽魇餍鼹",yang:"殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾徉怏泱炀烊恙蛘鞅",yao:"邀腰妖瑶摇尧遥窑谣姚咬舀药要耀夭爻吆崾徭瀹幺珧杳曜肴鹞窈繇鳐",ye:"椰噎耶爷野冶也页掖业叶曳腋夜液谒邺揶馀晔烨铘",yi:"一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎刈劓佾诒圪圯埸懿苡薏弈奕挹弋呓咦咿噫峄嶷猗饴怿怡悒漪迤驿缢殪贻旖熠钇镒镱痍瘗癔翊衤蜴舣羿翳酏黟",yin:"茵荫因殷音阴姻吟银淫寅饮尹引隐印胤鄞堙茚喑狺夤氤铟瘾蚓霪龈",ying:"英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映嬴郢茔莺萦撄嘤膺滢潆瀛瑛璎楹鹦瘿颍罂",yo:"哟唷",yong:"拥佣臃痈庸雍踊蛹咏泳涌永恿勇用俑壅墉慵邕镛甬鳙饔",you:"幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼卣攸侑莸呦囿宥柚猷牖铕疣蝣鱿黝鼬",yu:"迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉浴寓裕预豫驭禺毓伛俣谀谕萸蓣揄喁圄圉嵛狳饫庾阈妪妤纡瑜昱觎腴欤於煜燠聿钰鹆瘐瘀窳蝓竽舁雩龉",yuan:"鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院塬沅媛瑗橼爰眢鸢螈鼋",yue:"曰约越跃钥岳粤月悦阅龠樾刖钺",yun:"耘云郧匀陨允运蕴酝晕韵孕郓芸狁恽纭殒昀氲",za:"匝砸杂拶咂",zai:"栽哉灾宰载再在咱崽甾",zan:"攒暂赞瓒昝簪糌趱錾",zang:"赃脏葬奘戕臧",zao:"遭糟凿藻枣早澡蚤躁噪造皂灶燥唣缫",ze:"责择则泽仄赜啧迮昃笮箦舴",zei:"贼",zen:"怎谮",zeng:"增憎曾赠缯甑罾锃",zha:"扎喳渣札轧铡闸眨栅榨咋乍炸诈揸吒咤哳怍砟痄蚱齄",zhai:"摘斋宅窄债寨砦",zhan:"瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽谵搌旃",zhang:"樟章彰漳张掌涨杖丈帐账仗胀瘴障仉鄣幛嶂獐嫜璋蟑",zhao:"招昭找沼赵照罩兆肇召爪诏棹钊笊",zhe:"遮折哲蛰辙者锗蔗这浙谪陬柘辄磔鹧褚蜇赭",zhen:"珍斟真甄砧臻贞针侦枕疹诊震振镇阵缜桢榛轸赈胗朕祯畛鸩",zheng:"蒸挣睁征狰争怔整拯正政帧症郑证诤峥钲铮筝",zhi:"芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒卮陟郅埴芷摭帙忮彘咫骘栉枳栀桎轵轾攴贽膣祉祗黹雉鸷痣蛭絷酯跖踬踯豸觯",zhong:"中盅忠钟衷终种肿重仲众冢锺螽舂舯踵",zhou:"舟周州洲诌粥轴肘帚咒皱宙昼骤啄着倜诹荮鬻纣胄碡籀舳酎鲷",zhu:"珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑住注祝驻伫侏邾苎茱洙渚潴驺杼槠橥炷铢疰瘃蚰竺箸翥躅麈",zhua:"抓",zhuai:"拽",zhuan:"专砖转撰赚篆抟啭颛",zhuang:"桩庄装妆撞壮状丬",zhui:"椎锥追赘坠缀萑骓缒",zhun:"谆准",zhuo:"捉拙卓桌琢茁酌灼浊倬诼廴蕞擢啜浞涿杓焯禚斫",zi:"兹咨资姿滋淄孜紫仔籽滓子自渍字谘嵫姊孳缁梓辎赀恣眦锱秭耔笫粢觜訾鲻髭",zong:"鬃棕踪宗综总纵腙粽",zou:"邹走奏揍鄹鲰",zu:"租足卒族祖诅阻组俎菹啐徂驵蹴",zuan:"钻纂攥缵",zui:"嘴醉最罪",zun:"尊遵撙樽鳟",zuo:"昨左佐柞做作坐座阝阼胙祚酢",cou:"薮楱辏腠",nang:"攮哝囔馕曩",o:"喔",dia:"嗲",chuai:"嘬膪踹",cen:"岑涔",diu:"铥",nou:"耨",fou:"缶",bia:"髟"},chineseToPinYin:function(e){for(var t=e.length,a="",n=new RegExp("[a-zA-Z0-9]"),i=0;i<t;i++){var r=e.substr(i,1),o=this.arraySearch(r,this.pinyin);n.test(r)?a+=r:!1!==o&&(a+=o)}a=a.replace(/ /g,"-");while(a.indexOf("--")>0)a=a.replace("--","-");return a},arraySearch:function(e,t){for(var a in this.pinyin)if(-1!==this.pinyin[a].indexOf(e))return this.ucfirst(a);return!1},ucfirst:function(e){if(e.length>0){var t=e.substr(0,1).toUpperCase(),a=e.substr(1,e.length);return t+a}},initial:function(e){for(var t=this.chineseToPinYin(e),a="",n=0;n<t.length;n++){var i=t.charAt(n);/^[A-Z]+$/.test(i)&&(a+=i)}return a},getInitialColor:function(e){var t=this.initial(e);return"A"===t||"G"===t||"M"===t||"S"===t||"Y"===t?"#759EFE":"B"===t||"H"===t||"N"===t||"T"===t||"Z"===t?"#81DDA3":"C"===t||"I"===t||"O"===t||"U"===t?"#BEDF85":"D"===t||"J"===t||"P"===t||"V"===t?"#FCB076":"E"===t||"K"===t||"Q"===t||"W"===t?"#F99780":"#FF9494"}}},8097:function(e,t){"use strict";var a=document,n=a.body,i=992;t.A={watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&this.$store.dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(this.$store.dispatch("app/toggleDevice","mobile"),this.$store.dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=n.getBoundingClientRect();return e.width-1<i},$_resizeHandler:function(){if(!document.hidden){var e=this.$_isMobile();this.$store.dispatch("app/toggleDevice",e?"mobile":"desktop"),e&&this.$store.dispatch("app/closeSideBar",{withoutAnimation:!0})}}}}},8075:function(e,t,a){"use strict";var n=a(453),i=a(487),r=i(n("String.prototype.indexOf"));e.exports=function(e,t){var a=n(e,!!t);return"function"===typeof a&&r(e,".prototype.")>-1?i(a):a}},487:function(e,t,a){"use strict";var n=a(6743),i=a(453),r=a(6897),o=a(9675),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),d=i("%Reflect.apply%",!0)||n.call(l,s),c=a(655),u=i("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new o("a function is required");var t=d(n,l,arguments);return r(t,1+u(0,e.length-(arguments.length-1)),!0)};var m=function(){return d(n,s,arguments)};c?c(e.exports,"apply",{value:m}):e.exports.apply=m},4778:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".widthChange[data-v-45c17f86] .el-table-toolbar-left{width:55%!important}.widthChange[data-v-45c17f86] .el-table-toolbar-right{width:45%!important}.span[data-v-45c17f86]{color:#606266;font-size:var(--portalFontSize14)}.span .spanChild[data-v-45c17f86]{margin-right:24px;cursor:pointer}.svg_stile[data-v-45c17f86]{width:13px;height:13px;position:relative;top:1px;margin-right:4px}",""]),t["default"]=s},1084:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".left_account ul[data-v-a78c7e32]{margin:0;padding:0}.left_account ul li[data-v-a78c7e32],.top[data-v-a78c7e32]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-a78c7e32] .el-checkbox__label{line-height:14px!important}",""]),t["default"]=s},5215:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".el-dialog-div[data-v-ad99ca52]{height:566px;overflow:auto}.div .el-dialog__wrapper[data-v-ad99ca52]{width:20%;overflow-y:hidden;position:fixed;left:77vw}.dialog[data-v-ad99ca52] .el-dialog{border:1px solid #dcdfe6}",""]),t["default"]=s},8541:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,":export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.appname{margin-left:-5px}.el-menu--popup{overflow:hidden;border-radius:3px}.nest-menu.notop{border-top:none!important}.nest-menu.notop .el-menu-item{background-color:#384b63!important;border-bottom:1px dotted #777;height:50px;line-height:50px}.nest-menu.notop .el-menu-item.is-active{color:#fff!important}.nest-menu.notop .el-menu-item.is-active:after{right:0}.nest-menu.notop .el-menu-item:hover{background-color:#445c80!important;color:#fff!important}.nest-menu.notop:last-child .el-menu-item{border-bottom:none}.el-menu-item{height:50px}.std-scrollbar-wrapper{background-color:var(--lmBgColor);border-right:1px solid #e6e6e6}.std-scrollbar-wrapper .el-submenu__title:hover,.std-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:var(--lmBgColorActive) !important!important}.std-scrollbar-wrapper .is-active>.el-submenu__title{color:var(--lmTextColorActive)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:var(--lmBgColor)!important}.std-scrollbar-wrapper .el-submenu .el-menu-item:hover,.std-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:hsla(193,8%,67%,.42)!important}.dark-scrollbar-wrapper{background-color:#304156;border-right:1px solid #304156}.dark-scrollbar-wrapper .el-submenu__title:hover,.dark-scrollbar-wrapper .submenu-title-noDropdown:hover{background-color:#263445!important}.dark-scrollbar-wrapper .is-active>.el-submenu__title{color:#fff}.dark-scrollbar-wrapper .el-submenu .el-menu-item,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title{background-color:#384b63!important;border-bottom:none}.dark-scrollbar-wrapper .el-submenu .el-menu-item.is-active,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title.is-active{color:#fff!important}.dark-scrollbar-wrapper .el-submenu .el-menu-item:hover,.dark-scrollbar-wrapper .nest-menu .el-submenu>.el-submenu__title:hover{background-color:#445c80!important;color:#fff!important}/deep/.topBtn-wrapper{text-align:center;height:55px}.separate{height:10px;background-color:#fff}.writeEmail{position:relative;justify-items:start;margin:0;border-radius:2px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;display:inline-block;line-height:49px;border:1px solid #eee;text-align:center;background-color:#fff;height:31px;margin:12px 4px;width:76px;cursor:pointer}.writeEmail:first-child{border-right:1px solid #d8d9da}.writeEmail .svg-icon{width:14px;height:14px;position:absolute;top:30%;left:25%}.writeEmail span{font-size:var(--portalFontSize14);line-height:19px;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);left:50%}",""]),t["default"]=s},6118:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".fontBold[data-v-1f18f259]{font-weight:800}[data-v-1f18f259] .lyy-bg textarea{padding:10px;background:#f7f8fa;font-size:var(--portalFontSize13);border:1px solid #ebedf0;max-height:105px}[data-v-1f18f259] .email_main{padding-top:0}[data-v-1f18f259] .el-pagination .btn-next,[data-v-1f18f259] .el-pagination .btn-prev{padding:0 6px}[data-v-1f18f259] .el-table__header-wrapper>table>thead>tr{height:50px}[data-v-1f18f259] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-1f18f259] .el-table__body-wrapper::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-1f18f259]::-webkit-scrollbar{width:6px;height:6px}[data-v-1f18f259]::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-1f18f259] .el-table__body-wrapper{width:100%;overflow:hidden;height:calc(100vh - 230px);overflow-y:auto}[data-v-1f18f259] .el-table .cell{margin-left:5px}.select-email-addr[data-v-1f18f259]{float:right;padding-right:10px}.select-email-addr[data-v-1f18f259] .el-input__inner{border:0}.text-left .detailPSize[data-v-1f18f259]{margin:8px 0;padding:0;line-height:20px;font-weight:400;color:#333;font-size:var(--portalFontSize12)}.mailListP[data-v-1f18f259]{font-size:var(--portalFontSize12);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email_main .el-table[data-v-1f18f259]:before{height:0!important}[data-v-1f18f259] .el-table-column--selection .cell{position:absolute;top:10px}[data-v-1f18f259] .el-table__header-wrapper .el-table-column--selection .cell{top:14px}.mailtoolBtn[data-v-1f18f259]{width:auto;height:50px;line-height:42px;font-size:var(--portalFontSize14);border-bottom:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mailtoolBtn .mailtoolBtnInner[data-v-1f18f259]{width:110px;height:42px;text-align:center;cursor:pointer;z-index:99;color:#333}.changePopper[data-v-1f18f259]{width:100px;height:auto;line-height:20px;text-align:left;padding:10px 5px;background-color:#fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;position:relative;top:-3px}.changePopper span[data-v-1f18f259]{width:90px;height:30px;line-height:30px;display:block;color:#333;overflow:hidden;text-overflow:clip}.changePopper span[data-v-1f18f259]:hover{background-color:#f5f7fa;color:#409eff}.resize[data-v-1f18f259]{cursor:col-resize;float:left;background-color:#d6d6d6;border-radius:5px;width:1px;height:calc(100vh - 162px);background-size:cover;background-position:50%;color:#fff}.resize[data-v-1f18f259]:hover{color:#444}[data-v-1f18f259] .jumpInput{width:36px;height:25px;line-height:25px;border:1px solid #d6d6d6;outline:none;border-radius:4px;padding:0 4px}[data-v-1f18f259] .jumpInput:focus,[data-v-1f18f259] .jumpInput:hover{border:1px solid #409eff}.jumpPopover[data-v-1f18f259]{position:absolute;top:100px;width:180px;height:auto;left:262px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;padding:20px;z-index:10}.jumpPopover[data-v-1f18f259],[data-v-1f18f259] .el-table .el-table__header-wrapper .el-table__header thead th{background:#fff}",""]),t["default"]=s},1246:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".popover_center{text-align:center;min-width:120px}",""]),t["default"]=s},4461:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".pcgl-btn .el-button[data-v-e36757d2]{cursor:pointer;padding:0 7px}.clgl-sendcar[data-v-e36757d2],.clgl-sendcarD[data-v-e36757d2]{color:#333}.clgl-sendcarD[data-v-e36757d2]:hover{color:#409eff}",""]),t["default"]=s},7055:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".pcgl-btn .el-button[data-v-0088706c]{cursor:pointer;padding:0 7px}.clgl-sendcar[data-v-0088706c],.clgl-sendcarD[data-v-0088706c]{color:#333}.clgl-sendcarD[data-v-0088706c]:hover{color:#409eff}",""]),t["default"]=s},1655:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".right_address_book .el-input__inner[data-v-0d337f2c]{height:29px;line-height:29px}.right_address_book .books_tree[data-v-0d337f2c]{margin-top:9px;height:calc(100% - 60px);overflow:auto}.right_address_book .books_tree .el-scrollbar[data-v-0d337f2c]{width:100%;height:100%}.right_address_book .books_tree .el-scrollbar[data-v-0d337f2c] .el-scrollbar__wrap{overflow:auto;height:calc(100% + 17px)}.right_address_book .books_tree .el-scrollbar[data-v-0d337f2c] .el-scrollbar__wrap .el-scrollbar__view{overflow:hidden;padding-right:6px;display:inline-block}.right_address_book .books_tree[data-v-0d337f2c] .el-menu{border:none;background-color:#fff!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu{border:none}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu:before{display:none!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu .el-icon-arrow-right{width:12px;height:12px;margin:0;font-size:var(--portalFontSize12)}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu .el-submenu__icon-arrow.el-icon-arrow-down{display:none}.right_address_book .books_tree[data-v-0d337f2c] .el-menu/deep/.el-submenu .el-submenu__title:hover{background-color:#fff}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .el-submenu>.el-submenu__title{height:30px!important;line-height:30px!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .el-menu-item-group__title{padding:0}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .ztree{padding:0 0 0 15px}.right_address_book .books_tree[data-v-0d337f2c] .el-menu .el-submenu__title{font-size:var(--portalFontSize12);padding:0!important;overflow:hidden;background-color:#fff!important}.right_address_book .books_tree[data-v-0d337f2c] .el-menu-vertical-demo{border-width:0}.right_address_book .books_tree[data-v-0d337f2c] .el-menu-vertical-demo::-webkit-scrollbar{display:none}[data-v-0d337f2c] .el-icon-arrow-down{display:none}[data-v-0d337f2c] .el-menu .el-submenu.is-opened>.el-submenu__title .el-icon-arrow-right{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}[data-v-0d337f2c] .ztree-container{overflow-y:hidden}",""]),t["default"]=s},2596:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".helperMailCont[data-v-556855f0]{width:100%;height:calc(100vh - 50px);overflow:hidden;overflow-y:auto;text-align:center}h5[data-v-556855f0]{text-align:left;line-height:40px;padding:10px 10%}img[data-v-556855f0]{width:80%;height:auto;display:block;margin:0 auto}",""]),t["default"]=s},8875:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".mailtoolBtn[data-v-c1a106ec]{width:auto;height:50px;line-height:42px;font-size:var(--portalFontSize14);border-bottom:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mailtoolBtn .mailtoolBtnInner[data-v-c1a106ec]{width:110px;height:42px;text-align:center;cursor:pointer;z-index:99;color:#333}.mailtoolBtn .back[data-v-c1a106ec]{width:70px;height:30px;float:right;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border:1px solid #ebeef5;margin-top:7px}[data-v-c1a106ec] .el-table-toolbar{display:none}.changePopper[data-v-c1a106ec]{width:100px;height:auto;line-height:20px;text-align:left;padding:10px 5px;background-color:#fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;position:relative;top:-3px}.changePopper span[data-v-c1a106ec]{width:90px;height:30px;line-height:30px;display:block;color:#333;overflow:hidden;text-overflow:clip}.changePopper span[data-v-c1a106ec]:hover{background-color:#f5f7fa;color:#409eff}.text-left .detailPSize[data-v-c1a106ec]{margin:8px 0;padding:0;line-height:20px;font-weight:400;color:#333;font-size:var(--portalFontSize12)}.text-left[data-v-c1a106ec]::-webkit-scrollbar{width:6px;height:6px}.text-left[data-v-c1a106ec]::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}",""]),t["default"]=s},2915:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,'[data-v-b27ea0b0]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.app-wrapper[data-v-b27ea0b0]{position:relative;height:100%;width:100%}.app-wrapper[data-v-b27ea0b0]:after{content:"";display:table;clear:both}.app-wrapper.mobile.openSidebar[data-v-b27ea0b0]{position:fixed;top:0}.drawer-bg[data-v-b27ea0b0]{background:#000;opacity:.3;width:100%;top:0;height:100%;position:absolute;z-index:999}.fixed-header[data-v-b27ea0b0]{position:fixed;top:60px;right:0;z-index:9;width:calc(100% - 210px);-webkit-transition:width .28s;transition:width .28s}.mobile .fixed-header[data-v-b27ea0b0]{width:100%}.imgHead[data-v-b27ea0b0]{width:20px;height:20px;border-radius:20px;text-align:center;line-height:20px;margin-right:10px}.imgHead2[data-v-b27ea0b0]{display:inline-block;width:24px;height:24px;border-radius:50%;text-align:center;line-height:24px;top:-5px;position:relative;margin-right:5px}[data-v-b27ea0b0] .changEmail .el-input__inner{border:none;padding-left:6px}.accountDialog[data-v-b27ea0b0]{width:340px;height:auto;position:absolute;z-index:100;top:45px;right:10px;background-color:#fff;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.1)!important;box-shadow:0 0 6px 0 rgba(0,0,0,.1)!important;border-radius:4px;font-size:var(--portalFontSize14)}.accountDialog .currentOptiopn[data-v-b27ea0b0]{height:66px;padding:10px 20px;border-bottom:1px solid #eee}.accountDialog .optionList[data-v-b27ea0b0]{width:260px;color:#333;margin-top:16px;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;padding:0 40px 0 20px}.accountDialog .optionList[data-v-b27ea0b0]:hover{color:#409eff}.accountDialog .optionListWrap>div:first-child .optionList[data-v-b27ea0b0]{margin-top:0}.headInfo[data-v-b27ea0b0]{width:350px;height:40px;background:#fff;position:absolute;top:0;right:0}[data-v-b27ea0b0] .navbar{margin:0;padding:0 10px}[data-v-b27ea0b0] .navbar .right-menu{right:10px}',""]),t["default"]=s},844:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".tbStyle[data-v-2652a5fc] .is-scrolling-none .el-table__body .el-table_1_column_2{padding:9px 0!important}.tbStyle[data-v-2652a5fc] .el-table__header-wrapper .el-table__header .has-gutter .el-table_1_column_2 .cell,.tbStyle[data-v-2652a5fc] .is-scrolling-none .el-table__body .el-table_1_column_2 .cell{padding-right:15px!important;padding-left:0!important}.fontBold[data-v-2652a5fc]{font-weight:800}[data-v-2652a5fc] .lyy-bg textarea{padding:10px;background:#f7f8fa;font-size:var(--portalFontSize13);border:1px solid #ebedf0;max-height:105px}[data-v-2652a5fc] .email_main{padding-top:0}[data-v-2652a5fc] .el-pagination .btn-next,[data-v-2652a5fc] .el-pagination .btn-prev{padding:0 6px}[data-v-2652a5fc] .email_main .el-table__header-wrapper{border-bottom:1px solid #ececec}[data-v-2652a5fc] .el-table__header-wrapper>table>thead>tr{height:50px!important}[data-v-2652a5fc] .el-table__body-wrapper::-webkit-scrollbar{width:6px;height:6px}[data-v-2652a5fc] .el-table__body-wrapper::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-2652a5fc]::-webkit-scrollbar{width:6px;height:6px}[data-v-2652a5fc]::-webkit-scrollbar-thumb{background-color:hsla(220,4%,58%,.5);border-radius:3px}[data-v-2652a5fc] .email_main .el-table--medium td,[data-v-2652a5fc] .email_main .el-table--medium th{padding:2px 0}[data-v-2652a5fc] .el-table__body-wrapper{width:100%;overflow:hidden;overflow-y:auto}[data-v-2652a5fc] .el-table__body-wrapper .tdcont,[data-v-2652a5fc] .el-table__body-wrapper .tdlbl{padding-left:5px!important;padding-right:5px!important}[data-v-2652a5fc] .el-table .cell{margin-left:5px;width:unset!important}.left[data-v-2652a5fc] .el-table .el-table__cell{padding:9px 0!important;cursor:pointer}.select-email-addr[data-v-2652a5fc]{float:right;padding-right:10px}.select-email-addr[data-v-2652a5fc] .el-input__inner{border:0}.text-left .detailPSize[data-v-2652a5fc]{margin:8px 0;padding:0;line-height:20px;font-weight:400;color:#333;font-size:var(--portalFontSize12)}.mailListP[data-v-2652a5fc]{font-size:var(--portalFontSize12);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.listItem[data-v-2652a5fc]{word-wrap:break-word;word-break:break-all;overflow:hidden}.email_main .el-table[data-v-2652a5fc]:before{height:0!important}[data-v-2652a5fc] .el-table-column--selection .cell{position:absolute;top:3px}[data-v-2652a5fc] .el-table-column--selection .cell .el-checkbox{margin-top:3px}[data-v-2652a5fc] .el-table__header-wrapper .el-table-column--selection .cell{right:3px;top:0}.mailtoolBtn[data-v-2652a5fc]{width:auto;height:50px;line-height:42px;font-size:var(--portalFontSize14);border-bottom:1px solid #ebeef5;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mailtoolBtn .mailtoolBtnInner[data-v-2652a5fc]{width:110px;height:42px;text-align:center;cursor:pointer;z-index:99;color:#333}.mailtoolBtn .mailtoolBtnInner span[data-v-2652a5fc]{margin-left:5px}.changePopper[data-v-2652a5fc]{width:100px;height:auto;line-height:20px;text-align:left;padding:10px 5px;background-color:#fff;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;position:relative;top:-3px}.changePopper span[data-v-2652a5fc]{width:90px;height:30px;line-height:30px;display:block;color:#333;overflow:hidden;text-overflow:clip}.changePopper span[data-v-2652a5fc]:hover{background-color:#f5f7fa;color:#409eff}.resize[data-v-2652a5fc]{cursor:col-resize;float:left;background-color:#d6d6d6;border-radius:5px;width:1px;height:calc(100vh - 162px);background-size:cover;background-position:50%;color:#fff}.resize[data-v-2652a5fc]:hover{color:#444}[data-v-2652a5fc] .jumpInput{width:36px;height:25px;line-height:25px;border:1px solid #d6d6d6;outline:none;border-radius:4px;padding:0 4px}[data-v-2652a5fc] .jumpInput:focus,[data-v-2652a5fc] .jumpInput:hover{border:1px solid #409eff}.jumpPopover[data-v-2652a5fc]{position:absolute;top:100px;width:180px;height:auto;left:262px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px;padding:20px;z-index:10}.jumpPopover[data-v-2652a5fc],[data-v-2652a5fc] .el-table .el-table__header-wrapper .el-table__header thead th{background:#fff}.my_selection[data-v-2652a5fc]{text-overflow:clip;overflow:unset}",""]),t["default"]=s},2400:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".popover_center{text-align:center;min-width:120px}",""]),t["default"]=s},1261:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,'#Email-body[data-v-48c2564b]{height:100}[data-v-48c2564b] .has-gutter tr th{background-color:#fff!important}.no1[data-v-48c2564b]{position:relative;padding:0 0 0 20px}.no1[data-v-48c2564b]:after{content:"";display:block;position:absolute;left:8px;width:6px;height:6px;border-radius:6px;background-color:#d8d8d8;z-index:100;top:32%}.no2[data-v-48c2564b]{position:relative;padding:0 0 0 20px}.no2[data-v-48c2564b]:after{content:"";display:block;position:absolute;left:8px;width:6px;height:6px;border-radius:6px;background-color:#ff4802;z-index:100;top:32%}',""]),t["default"]=s},7492:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".right_address_book .el-input__inner[data-v-391f7e88]{height:29px;line-height:29px}.right_address_book .books_tree[data-v-391f7e88]{margin-top:9px;height:calc(100% - 60px);overflow:auto}.right_address_book .books_tree .el-scrollbar[data-v-391f7e88]{width:100%;height:100%}.right_address_book .books_tree .el-scrollbar[data-v-391f7e88] .el-scrollbar__wrap{overflow:auto;height:calc(100% + 17px)}.right_address_book .books_tree .el-scrollbar[data-v-391f7e88] .el-scrollbar__wrap .el-scrollbar__view{overflow:hidden;padding-right:6px;display:inline-block}.right_address_book .books_tree[data-v-391f7e88] .el-menu,.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu{border:none}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu:before{display:none!important}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu .el-icon-arrow-right{width:12px;height:12px;margin:0;font-size:var(--portalFontSize12)}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu .el-submenu__icon-arrow.el-icon-arrow-down{display:none}.right_address_book .books_tree[data-v-391f7e88] .el-menu/deep/.el-submenu .el-submenu__title:hover{background-color:#fff}.right_address_book .books_tree[data-v-391f7e88] .el-menu .el-submenu>.el-submenu__title{height:30px!important;line-height:30px!important}.right_address_book .books_tree[data-v-391f7e88] .el-menu .el-menu-item-group__title{padding:0}.right_address_book .books_tree[data-v-391f7e88] .el-menu .ztree{padding:0 0 0 15px}.right_address_book .books_tree[data-v-391f7e88] .el-menu .el-submenu__title{font-size:var(--portalFontSize12);padding:0!important;overflow:hidden}.right_address_book .books_tree[data-v-391f7e88] .el-menu-vertical-demo{border-width:0}.right_address_book .books_tree[data-v-391f7e88] .el-menu-vertical-demo::-webkit-scrollbar{display:none}[data-v-391f7e88] .el-icon-arrow-down{display:none}[data-v-391f7e88] .el-menu .el-submenu.is-opened>.el-submenu__title .el-icon-arrow-right{-webkit-transform:rotate(90deg)!important;transform:rotate(90deg)!important}[data-v-391f7e88] .ztree-container{overflow-y:hidden}",""]),t["default"]=s},7744:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,'[data-v-c807af5e]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.spanLH[data-v-c807af5e]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.sendMailMain[data-v-c807af5e]{height:100vh;background-color:#f3f3f3;width:100vw;overflow:hidden}.sendMailMain .sendmail-content[data-v-c807af5e]{height:calc(100vh - 83px);margin-top:20px;padding-bottom:20px;overflow-y:auto;overflow-x:hidden}.sendMailMain .sendmail-content .el-scrollbar[data-v-c807af5e]{width:100%;height:100%}.sendMailMain .sendmail-content .el-scrollbar[data-v-c807af5e] .el-scrollbar__wrap{overflow-x:hidden}.sendMailMain .sendmail-content .el-scrollbar[data-v-c807af5e] .el-scrollbar__wrap .el-scrollbar__view{height:100%}.sendMailMain .sendMail[data-v-c807af5e]{background-color:#fff;width:1500px;margin:auto}.sendMailMain .sendMail .lineRow[data-v-c807af5e]{margin:0!important;border-bottom:1px solid #ececec}.sendMailMain .sendMail .lineRow .grid-content[data-v-c807af5e]{height:100%}.sendMailMain .sendMail .lineRow .grid-content .btnBorder[data-v-c807af5e]{border:none!important}.sendMailMain .sendMail .lineRow .grid-content .btnBorder[data-v-c807af5e] .el-input__inner{border:none!important;height:31px}.sendMailMain .sendMail .lineRow .grid-content .margin10[data-v-c807af5e]{margin:5px 0}.sendMailMain .sendMail .mail_content_row[data-v-c807af5e]{height:calc(100vh - 103px)}.sendMailMain .sendMail .mail_content_row .mail_content_leftcell[data-v-c807af5e]{padding:0 10px 20px 30px!important;height:100%}.sendMailMain .sendMail .mail_content_row .mail_content_leftcell .workspaceContainer[data-v-c807af5e],.sendMailMain .sendMail .mail_content_row .mail_content_leftcell .workspaceContainer .form-horizontal[data-v-c807af5e]{height:100%}.sendMailMain .sendMail .mail_content_row .mail_content_rightcell[data-v-c807af5e]{padding:0!important;height:100%}[data-v-c807af5e] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-c807af5e] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-c807af5e] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-c807af5e]{width:220px;max-height:calc(100vh - 270px);overflow-y:auto;overflow-x:hidden;position:absolute;left:4%;z-index:99;top:85px;background-color:#fff;padding:10px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px}.linkEmail p[data-v-c807af5e]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:var(--portalFontSize12);cursor:pointer}.linkEmail p[data-v-c807af5e]:hover{color:#409eff}.linkEmail[data-v-c807af5e]::-webkit-scrollbar{display:none}[data-v-c807af5e] .el-input__suffix{display:none}[data-v-c807af5e] .el-input__inner{text-align:left;height:31px}[data-v-c807af5e] .editor_box .richtext-container{margin:0}[data-v-c807af5e] .editor_box .richtext-container .el-table{height:100%;border:none}[data-v-c807af5e] .editor_box .richtext-container .el-table:before{width:0}[data-v-c807af5e] .editor_box .richtext-container .el-table .el-table__body-wrapper,[data-v-c807af5e] .editor_box .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-c807af5e] .cke_top{border-bottom:none}[data-v-c807af5e] .el-table--border:after{width:0}[data-v-c807af5e] #busiForm table,[data-v-c807af5e] #busiForm table td{border:none}.emailAddrStyle[data-v-c807af5e]{width:auto;min-width:0;line-height:31px;float:left;padding:5px 0;margin-left:5px}.emailAddrStyle span[data-v-c807af5e]{width:100%;font-size:var(--portalFontSize12);margin-right:5px;border-radius:20px;padding:3px 5px;cursor:pointer;border:1px solid #e0e0e0}.readyFile[data-v-c807af5e]{margin:0 23px 14px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:290px;height:56px;background:#f7f8fa;padding:10px}.bgpadding[data-v-c807af5e] .el-button{padding-left:0!important}.txl[data-v-c807af5e]::-webkit-scrollbar{display:none}.header-title[data-v-c807af5e]{padding:12px 0;border-bottom:1px solid #eee;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;color:#999;font-size:var(--portalFontSize12);background:#fff}.header-title .route-info[data-v-c807af5e]{margin-left:16px}.header-title .route-info[data-v-c807af5e],.header-title .section-title[data-v-c807af5e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.header-title .section-title[data-v-c807af5e]{margin-right:11px;margin-left:20px}.header-title .section-title .l-text[data-v-c807af5e]{padding-right:10px;position:relative}.header-title .section-title .l-text[data-v-c807af5e]:after{content:"";position:absolute;right:0;top:0;width:1px;height:14px;background-color:#d8d8d8}.header-title .section-title .r-text[data-v-c807af5e]{padding-left:10px}#styleBagrand[data-v-c807af5e],.styleBagrand[data-v-c807af5e]{background-color:#fff;border-color:var(--bgColor);color:var(--bgColor)}.buttonTitle[data-v-c807af5e]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px}[data-v-c807af5e] .el-button--medium{padding:8px 12px}[data-v-c807af5e] .cke_inner{border:1px solid #ececec;border-top:none}',""]),t["default"]=s},6274:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,"[data-v-6252c928] .attachFile .el-input__inner{width:76px;height:20px;text-align:center;line-height:20px;padding:0 5px}[data-v-6252c928] #busiForm table td{vertical-align:top}.RichtextEditor[data-v-6252c928] .richtext-container .el-table td div{height:100%}.RichtextEditor[data-v-6252c928] .richtext-container .cke_inner{height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.RichtextEditor[data-v-6252c928] .richtext-container .cke_inner .cke_contents{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.spanLH[data-v-6252c928]{font-size:var(--portalFontSize13);text-align:center;color:#c9c9c9}.mailWrap[data-v-6252c928]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:9px 0 0 0}.sendMail[data-v-6252c928]{padding:0 0 0 10px}.sendMail .lineRow[data-v-6252c928]{margin:0!important;border-bottom:1px solid #eceff5;display:-webkit-box;display:-ms-flexbox;display:flex}.sendMail .lineRow .grid-content[data-v-6252c928]{height:100%;width:calc(100% - 72px);padding-left:16px}.sendMail .lineRow .grid-content .btnBorder[data-v-6252c928]{border:none!important}.sendMail .lineRow .grid-content .btnBorder[data-v-6252c928] .el-input__inner{border:none!important;height:unset;line-height:20px;padding-left:unset}.el-inputLyy__inner[data-v-6252c928] .el-input__inner{line-height:40px!important}[data-v-6252c928] input::-webkit-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-6252c928] input::-moz-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}[data-v-6252c928] input::-ms-input-placeholder{color:#c9c9c9;font-size:var(--portalFontSize13)}.linkEmail[data-v-6252c928]{width:220px;max-height:calc(100vh - 270px);position:absolute;left:4%;z-index:99;top:135px;background-color:#fff;overflow-y:auto;-webkit-box-shadow:0 0 5px rgba(0,0,0,.1)!important;box-shadow:0 0 5px rgba(0,0,0,.1)!important;border-radius:4px}.linkEmail div[data-v-6252c928]{overflow-x:hidden;padding:10px}.linkEmail div p[data-v-6252c928]{width:200px;height:26px;overflow:hidden;word-break:break-all;text-overflow:clip;padding:0;margin:0;line-height:30px;font-size:var(--portalFontSize12);cursor:pointer}.linkEmail div p[data-v-6252c928]:hover{color:#409eff}.linkEmail[data-v-6252c928]::-webkit-scrollbar{display:none}[data-v-6252c928] .el-input__suffix{display:none}[data-v-6252c928] .el-input__inner{text-align:left}.RichtextEditor[data-v-6252c928] .richtext-container{margin:0;height:100%}.RichtextEditor[data-v-6252c928] .richtext-container .el-table{height:100%;border:none}.RichtextEditor[data-v-6252c928] .richtext-container .el-table:before{width:0}.RichtextEditor[data-v-6252c928] .richtext-container .el-table .el-table__body-wrapper,.RichtextEditor[data-v-6252c928] .richtext-container .el-table .el-table__body-wrapper .el-table__body{height:100%}[data-v-6252c928] .cke_top{border-bottom:none}[data-v-6252c928] .el-table--border:after{width:0}[data-v-6252c928] #busiForm table,[data-v-6252c928] #busiForm table td{border:none}.emailAddrStyle[data-v-6252c928]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;margin-right:10px;margin-bottom:8px}.emailAddrStyle div[data-v-6252c928]{font-size:var(--portalFontSize12);border-radius:20px;cursor:pointer;border:1px solid #e0e0e0}.emailAddrStyle div i[data-v-6252c928]{color:#c0c4cc}.emailAddrStyle div[data-v-6252c928]:hover{border-color:#aaa}.emailAddrStyle div:hover i[data-v-6252c928]{border-left-color:#aaa!important;color:#aaa}.emailAddrStyle div span[data-v-6252c928]{padding:3px 5px 3px 10px;color:#333}.emailAddrStyle div i[data-v-6252c928]:hover{color:red!important}.inputWrap[data-v-6252c928]{padding-top:10px}.inputWrap[data-v-6252c928] .el-scrollbar .el-scrollbar__wrap{max-height:150px;overflow-x:hidden}.inputWrap[data-v-6252c928] .el-scrollbar .el-scrollbar__wrap .el-scrollbar__view{padding-bottom:20px}.inputWrap>div.emailAddrStyle[data-v-6252c928]:last-child{margin-right:unset}.readyFile[data-v-6252c928]{margin:0 23px 14px 0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:330px;height:56px;background:#f7f8fa;padding:10px}",""]),t["default"]=s},2267:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,".emailWrap[data-v-9845490c]{border:1px solid #ececec}.emialLine[data-v-9845490c]{width:100%;height:46px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#666;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 10px;border-bottom:1px solid #ececec;overflow:hidden}.emailWrap .emialLine[data-v-9845490c]:last-child{border-bottom:none}.emialLine[data-v-9845490c]:hover{background:#f3f4f4}.checkMail[data-v-9845490c]{color:#fff}.left_account ul[data-v-9845490c]{margin:0;padding:0;height:calc(100% - 48px);overflow-y:auto}.left_account ul li[data-v-9845490c]{list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.left_account ul .el-button[data-v-9845490c],.left_account ul li[data-v-9845490c]{width:100%;height:47.2px;line-height:47.2px;text-align:left}.left_account ul .el-button[data-v-9845490c]{padding:0;padding-left:10px}div.time[data-v-9845490c]{margin:5px}div.time[data-v-9845490c] .el-date-editor.el-range-editor{width:100%;cursor:pointer}div.time[data-v-9845490c] .el-range-editor--medium .el-range-input{cursor:pointer}div.time[data-v-9845490c] .el-range-editor--medium .el-range__icon{display:none!important}.spanStyle[data-v-9845490c]{font-weight:500;line-height:19px;font-size:var(--portalFontSize14);margin-left:10px}.top[data-v-9845490c]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-9845490c] .el-checkbox__label{line-height:14px!important}.checkBoxlabel span[data-v-9845490c]{font-size:var(--portalFontSize14);color:#606266;font-weight:500;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;display:inline-block;width:200px}",""]),t["default"]=s},8921:function(e,t,a){"use strict";a.r(t);var n=a(1601),i=a.n(n),r=a(6314),o=a.n(r),s=o()(i());s.push([e.id,"",""]),s.locals={stdMenuBgcolor:"var(--lmBgColor)",stdMenuHover:"var(--lmBgColorActive)",stdMenuText:"var(--lmTextColor)",stdMenuAcitveText:"var(--lmTextColorActive)",stdSubMenuBgcolor:"var(--lmBgColor)",stdSubMenuHover:"hsla(193,8%,67%,.42)",stdSubMenuActiveText:"var(--lmTextColorActive)",darkMenuBgcolor:"#304156",darkMenuHover:"#263445",darkMenuText:"#bfcbd9",darkMenuAcitveText:"#ffd04b",darkSubMenuBgcolor:"#384b63",darkSubMenuHover:"#263445",darkSubMenuActiveText:"#ffd04b",sideBarWidth:"210px",formLabelWidth:"133px",lightBlue:"var(--subjectColor)"},t["default"]=s},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a="",n="undefined"!==typeof t[5];return t[4]&&(a+="@supports (".concat(t[4],") {")),t[2]&&(a+="@media ".concat(t[2]," {")),n&&(a+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),a+=e(t),n&&(a+="}"),t[2]&&(a+="}"),t[4]&&(a+="}"),a})).join("")},t.i=function(e,a,n,i,r){"string"===typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var d=0;d<e.length;d++){var c=[].concat(e[d]);n&&o[c[0]]||("undefined"!==typeof r&&("undefined"===typeof c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=r),a&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=a):c[2]=a),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},1601:function(e){"use strict";e.exports=function(e){return e[1]}},41:function(e,t,a){"use strict";var n=a(655),i=a(8068),r=a(9675),o=a(5795);e.exports=function(e,t,a){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new r("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new r("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],u=!!o&&o(e,t);if(n)n(e,t,{configurable:null===d&&u?u.configurable:!d,enumerable:null===s&&u?u.enumerable:!s,value:a,writable:null===l&&u?u.writable:!l});else{if(!c&&(s||l||d))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=a}}},655:function(e,t,a){"use strict";var n=a(453),i=n("%Object.defineProperty%",!0)||!1;if(i)try{i({},"a",{value:1})}catch(r){i=!1}e.exports=i},1237:function(e){"use strict";e.exports=EvalError},9383:function(e){"use strict";e.exports=Error},9290:function(e){"use strict";e.exports=RangeError},9538:function(e){"use strict";e.exports=ReferenceError},8068:function(e){"use strict";e.exports=SyntaxError},9675:function(e){"use strict";e.exports=TypeError},5345:function(e){"use strict";e.exports=URIError},9353:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",a=Object.prototype.toString,n=Math.max,i="[object Function]",r=function(e,t){for(var a=[],n=0;n<e.length;n+=1)a[n]=e[n];for(var i=0;i<t.length;i+=1)a[i+e.length]=t[i];return a},o=function(e,t){for(var a=[],n=t||0,i=0;n<e.length;n+=1,i+=1)a[i]=e[n];return a},s=function(e,t){for(var a="",n=0;n<e.length;n+=1)a+=e[n],n+1<e.length&&(a+=t);return a};e.exports=function(e){var l=this;if("function"!==typeof l||a.apply(l)!==i)throw new TypeError(t+l);for(var d,c=o(arguments,1),u=function(){if(this instanceof d){var t=l.apply(this,r(c,arguments));return Object(t)===t?t:this}return l.apply(e,r(c,arguments))},m=n(0,l.length-c.length),p=[],h=0;h<m;h++)p[h]="$"+h;if(d=Function("binder","return function ("+s(p,",")+"){ return binder.apply(this,arguments); }")(u),l.prototype){var f=function(){};f.prototype=l.prototype,d.prototype=new f,f.prototype=null}return d}},6743:function(e,t,a){"use strict";var n=a(9353);e.exports=Function.prototype.bind||n},453:function(e,t,a){"use strict";var n,i=a(9383),r=a(1237),o=a(9290),s=a(9538),l=a(8068),d=a(9675),c=a(5345),u=Function,m=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(t){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(P){p=null}var h=function(){throw new d},f=p?function(){try{return h}catch(e){try{return p(arguments,"callee").get}catch(t){return h}}}():h,_=a(4039)(),g=a(24)(),y=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),v={},b="undefined"!==typeof Uint8Array&&y?y(Uint8Array):n,M={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":_&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":r,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":v,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&_&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&_&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&y?y(""[Symbol.iterator]()):n,"%Symbol%":_?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":f,"%TypedArray%":b,"%TypeError%":d,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(P){var w=y(y(P));M["%Error.prototype%"]=w}var x=function e(t){var a;if("%AsyncFunction%"===t)a=m("async function () {}");else if("%GeneratorFunction%"===t)a=m("function* () {}");else if("%AsyncGeneratorFunction%"===t)a=m("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(a=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&y&&(a=y(i.prototype))}return M[t]=a,a},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=a(6743),T=a(9957),S=k.call(Function.call,Array.prototype.concat),Y=k.call(Function.apply,Array.prototype.splice),D=k.call(Function.call,String.prototype.replace),j=k.call(Function.call,String.prototype.slice),C=k.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,E=function(e){var t=j(e,0,1),a=j(e,-1);if("%"===t&&"%"!==a)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===a&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return D(e,A,(function(e,t,a,i){n[n.length]=a?D(i,I,"$1"):t||e})),n},O=function(e,t){var a,n=e;if(T(L,n)&&(a=L[n],n="%"+a[0]+"%"),T(M,n)){var i=M[n];if(i===v&&(i=x(n)),"undefined"===typeof i&&!t)throw new d("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new d("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new d('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var a=E(e),n=a.length>0?a[0]:"",i=O("%"+n+"%",t),r=i.name,o=i.value,s=!1,c=i.alias;c&&(n=c[0],Y(a,S([0,1],c)));for(var u=1,m=!0;u<a.length;u+=1){var h=a[u],f=j(h,0,1),_=j(h,-1);if(('"'===f||"'"===f||"`"===f||'"'===_||"'"===_||"`"===_)&&f!==_)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&m||(s=!0),n+="."+h,r="%"+n+"%",T(M,r))o=M[r];else if(null!=o){if(!(h in o)){if(!t)throw new d("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&u+1>=a.length){var g=p(o,h);m=!!g,o=m&&"get"in g&&!("originalValue"in g.get)?g.get:o[h]}else m=T(o,h),o=o[h];m&&!s&&(M[r]=o)}}return o}},5795:function(e,t,a){"use strict";var n=a(453),i=n("%Object.getOwnPropertyDescriptor%",!0);if(i)try{i([],"length")}catch(r){i=null}e.exports=i},592:function(e,t,a){"use strict";var n=a(655),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},24:function(e){"use strict";var t={__proto__:null,foo:{}},a=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof a)}},4039:function(e,t,a){"use strict";var n="undefined"!==typeof Symbol&&Symbol,i=a(1333);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},1333:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),a=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(a))return!1;var n=42;for(t in e[t]=n,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(r.value!==n||!0!==r.enumerable)return!1}return!0}},9957:function(e,t,a){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,r=a(6743);e.exports=r.call(n,i)},5177:function(e,t,a){(function(e,t){t(a(5093))})(0,(function(e){"use strict";
|
|
2
2
|
//! moment.js locale configuration
|
|
3
3
|
var t=e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return t}))},1488:function(e,t,a){(function(e,t){t(a(5093))})(0,(function(e){"use strict";
|
|
4
4
|
//! moment.js locale configuration
|
|
@@ -274,10 +274,10 @@ var t=e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_
|
|
|
274
274
|
//! moment.js locale configuration
|
|
275
275
|
var t=e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return t}))},5358:function(e,t,a){var n={"./af":5177,"./af.js":5177,"./ar":1509,"./ar-dz":1488,"./ar-dz.js":1488,"./ar-kw":8676,"./ar-kw.js":8676,"./ar-ly":2353,"./ar-ly.js":2353,"./ar-ma":4496,"./ar-ma.js":4496,"./ar-ps":6947,"./ar-ps.js":6947,"./ar-sa":2682,"./ar-sa.js":2682,"./ar-tn":9756,"./ar-tn.js":9756,"./ar.js":1509,"./az":5533,"./az.js":5533,"./be":8959,"./be.js":8959,"./bg":7777,"./bg.js":7777,"./bm":4903,"./bm.js":4903,"./bn":1290,"./bn-bd":7357,"./bn-bd.js":7357,"./bn.js":1290,"./bo":1545,"./bo.js":1545,"./br":1470,"./br.js":1470,"./bs":4429,"./bs.js":4429,"./ca":7306,"./ca.js":7306,"./cs":6464,"./cs.js":6464,"./cv":3635,"./cv.js":3635,"./cy":4226,"./cy.js":4226,"./da":3601,"./da.js":3601,"./de":7853,"./de-at":6111,"./de-at.js":6111,"./de-ch":4697,"./de-ch.js":4697,"./de.js":7853,"./dv":708,"./dv.js":708,"./el":4691,"./el.js":4691,"./en-au":3872,"./en-au.js":3872,"./en-ca":8298,"./en-ca.js":8298,"./en-gb":6195,"./en-gb.js":6195,"./en-ie":6584,"./en-ie.js":6584,"./en-il":5543,"./en-il.js":5543,"./en-in":9033,"./en-in.js":9033,"./en-nz":9402,"./en-nz.js":9402,"./en-sg":3004,"./en-sg.js":3004,"./eo":2934,"./eo.js":2934,"./es":7650,"./es-do":838,"./es-do.js":838,"./es-mx":7730,"./es-mx.js":7730,"./es-us":6575,"./es-us.js":6575,"./es.js":7650,"./et":3035,"./et.js":3035,"./eu":3508,"./eu.js":3508,"./fa":119,"./fa.js":119,"./fi":527,"./fi.js":527,"./fil":5995,"./fil.js":5995,"./fo":2477,"./fo.js":2477,"./fr":5498,"./fr-ca":6435,"./fr-ca.js":6435,"./fr-ch":7892,"./fr-ch.js":7892,"./fr.js":5498,"./fy":7071,"./fy.js":7071,"./ga":1734,"./ga.js":1734,"./gd":217,"./gd.js":217,"./gl":7329,"./gl.js":7329,"./gom-deva":2124,"./gom-deva.js":2124,"./gom-latn":3383,"./gom-latn.js":3383,"./gu":5050,"./gu.js":5050,"./he":1713,"./he.js":1713,"./hi":3861,"./hi.js":3861,"./hr":6308,"./hr.js":6308,"./hu":609,"./hu.js":609,"./hy-am":7160,"./hy-am.js":7160,"./id":4063,"./id.js":4063,"./is":9374,"./is.js":9374,"./it":8383,"./it-ch":1827,"./it-ch.js":1827,"./it.js":8383,"./ja":3827,"./ja.js":3827,"./jv":9722,"./jv.js":9722,"./ka":1794,"./ka.js":1794,"./kk":7088,"./kk.js":7088,"./km":6870,"./km.js":6870,"./kn":4451,"./kn.js":4451,"./ko":3164,"./ko.js":3164,"./ku":8174,"./ku-kmr":6181,"./ku-kmr.js":6181,"./ku.js":8174,"./ky":8474,"./ky.js":8474,"./lb":9680,"./lb.js":9680,"./lo":5867,"./lo.js":5867,"./lt":5766,"./lt.js":5766,"./lv":9532,"./lv.js":9532,"./me":8076,"./me.js":8076,"./mi":1848,"./mi.js":1848,"./mk":306,"./mk.js":306,"./ml":3739,"./ml.js":3739,"./mn":9053,"./mn.js":9053,"./mr":6169,"./mr.js":6169,"./ms":3386,"./ms-my":2297,"./ms-my.js":2297,"./ms.js":3386,"./mt":7075,"./mt.js":7075,"./my":2264,"./my.js":2264,"./nb":2274,"./nb.js":2274,"./ne":8235,"./ne.js":8235,"./nl":2572,"./nl-be":3784,"./nl-be.js":3784,"./nl.js":2572,"./nn":4566,"./nn.js":4566,"./oc-lnc":9330,"./oc-lnc.js":9330,"./pa-in":9849,"./pa-in.js":9849,"./pl":4418,"./pl.js":4418,"./pt":9834,"./pt-br":8303,"./pt-br.js":8303,"./pt.js":9834,"./ro":4457,"./ro.js":4457,"./ru":2271,"./ru.js":2271,"./sd":1221,"./sd.js":1221,"./se":3478,"./se.js":3478,"./si":7538,"./si.js":7538,"./sk":5784,"./sk.js":5784,"./sl":6637,"./sl.js":6637,"./sq":6794,"./sq.js":6794,"./sr":5719,"./sr-cyrl":3322,"./sr-cyrl.js":3322,"./sr.js":5719,"./ss":6e3,"./ss.js":6e3,"./sv":1011,"./sv.js":1011,"./sw":748,"./sw.js":748,"./ta":1025,"./ta.js":1025,"./te":1885,"./te.js":1885,"./tet":8861,"./tet.js":8861,"./tg":6571,"./tg.js":6571,"./th":5802,"./th.js":5802,"./tk":9527,"./tk.js":9527,"./tl-ph":9231,"./tl-ph.js":9231,"./tlh":1052,"./tlh.js":1052,"./tr":5096,"./tr.js":5096,"./tzl":9846,"./tzl.js":9846,"./tzm":1765,"./tzm-latn":7711,"./tzm-latn.js":7711,"./tzm.js":1765,"./ug-cn":8414,"./ug-cn.js":8414,"./uk":6618,"./uk.js":6618,"./ur":158,"./ur.js":158,"./uz":7609,"./uz-latn":2475,"./uz-latn.js":2475,"./uz.js":7609,"./vi":1135,"./vi.js":1135,"./x-pseudo":4051,"./x-pseudo.js":4051,"./yo":2218,"./yo.js":2218,"./zh-cn":2648,"./zh-cn.js":2648,"./zh-hk":1632,"./zh-hk.js":1632,"./zh-mo":1541,"./zh-mo.js":1541,"./zh-tw":304,"./zh-tw.js":304};function i(e){var t=r(e);return a(t)}function r(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id=5358},5093:function(e,t,a){e=a.nmd(e),function(t,a){e.exports=a()}(0,(function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function r(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var a,n=[],i=e.length;for(a=0;a<i;++a)n.push(t(e[a],a));return n}function h(e,t){for(var a in t)l(t,a)&&(e[a]=t[a]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,a,n){return Va(e,t,a,n,!0).utc()}function _(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=_()),e._pf}function y(e){var t=null,a=!1,i=e._d&&!isNaN(e._d.getTime());return i&&(t=g(e),a=n.call(t.parsedDateParts,(function(e){return null!=e})),i=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a),e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?i:(e._isValid=i,e._isValid)}function v(e){var t=f(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,a=Object(this),n=a.length>>>0;for(t=0;t<n;t++)if(t in a&&e.call(this,a[t],t,a))return!0;return!1};var b=i.momentProperties=[],M=!1;function w(e,t){var a,n,i,r=b.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),r>0)for(a=0;a<r;a++)n=b[a],i=t[n],c(i)||(e[n]=i);return e}function x(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===M&&(M=!0,i.updateOffset(this),M=!1)}function L(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(e){!1===i.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var a=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),a){var n,r,o,s=[],d=arguments.length;for(r=0;r<d;r++){if(n="","object"===typeof arguments[r]){for(o in n+="\n["+r+"] ",arguments[0])l(arguments[0],o)&&(n+=o+": "+arguments[0][o]+", ");n=n.slice(0,-2)}else n=arguments[r];s.push(n)}k(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),a=!1}return t.apply(this,arguments)}),t)}var S,Y={};function D(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),Y[e]||(k(t),Y[e]=!0)}function j(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e){var t,a;for(a in e)l(e,a)&&(t=e[a],j(t)?this[a]=t:this["_"+a]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function A(e,t){var a,n=h({},e);for(a in t)l(t,a)&&(s(e[a])&&s(t[a])?(n[a]={},h(n[a],e[a]),h(n[a],t[a])):null!=t[a]?n[a]=t[a]:delete n[a]);for(a in e)l(e,a)&&!l(t,a)&&s(e[a])&&(n[a]=h({},n[a]));return n}function I(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,a=[];for(t in e)l(e,t)&&a.push(t);return a};var E={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,a){var n=this._calendar[e]||this._calendar["sameElse"];return j(n)?n.call(t,a):n}function P(e,t,a){var n=""+Math.abs(e),i=t-n.length,r=e>=0;return(r?a?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},$={};function z(e,t,a,n){var i=n;"string"===typeof n&&(i=function(){return this[n]()}),e&&($[e]=i),t&&($[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),a&&($[a]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function W(e){var t,a,n=e.match(N);for(t=0,a=n.length;t<a;t++)$[n[t]]?n[t]=$[n[t]]:n[t]=B(n[t]);return function(t){var i,r="";for(i=0;i<a;i++)r+=j(n[i])?n[i].call(t,e):n[i];return r}}function R(e,t){return e.isValid()?(t=U(t,e.localeData()),F[t]=F[t]||W(t),F[t](e)):e.localeData().invalidDate()}function U(e,t){var a=5;function n(e){return t.longDateFormat(e)||e}H.lastIndex=0;while(a>=0&&H.test(e))e=e.replace(H,n),H.lastIndex=0,a-=1;return e}var q={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function G(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function J(){return this._invalidDate}var Q="%d",K=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Z={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,a,n){var i=this._relativeTime[a];return j(i)?i(e,t,a,n):i.replace(/%d/i,e)}function te(e,t){var a=this._relativeTime[e>0?"future":"past"];return j(a)?a(t):a.replace(/%s/i,t)}var ae={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"===typeof e?ae[e]||ae[e.toLowerCase()]:void 0}function ie(e){var t,a,n={};for(a in e)l(e,a)&&(t=ne(a),t&&(n[t]=e[a]));return n}var re={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function oe(e){var t,a=[];for(t in e)l(e,t)&&a.push({unit:t,priority:re[t]});return a.sort((function(e,t){return e.priority-t.priority})),a}var se,le=/\d/,de=/\d\d/,ce=/\d{3}/,ue=/\d{4}/,me=/[+-]?\d{6}/,pe=/\d\d?/,he=/\d\d\d\d?/,fe=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,ge=/\d{1,4}/,ye=/[+-]?\d{1,6}/,ve=/\d+/,be=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,we=/Z|[+-]\d\d(?::?\d\d)?/gi,xe=/[+-]?\d+(\.\d{1,3})?/,Le=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ke=/^[1-9]\d?/,Te=/^([1-9]\d|\d)/;function Se(e,t,a){se[e]=j(t)?t:function(e,n){return e&&a?a:t}}function Ye(e,t){return l(se,e)?se[e](t._strict,t._locale):new RegExp(De(e))}function De(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,a,n,i){return t||a||n||i})))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Ae(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=Ce(t)),a}se={};var Ie={};function Ee(e,t){var a,n,i=t;for("string"===typeof e&&(e=[e]),u(t)&&(i=function(e,a){a[t]=Ae(e)}),n=e.length,a=0;a<n;a++)Ie[e[a]]=i}function Oe(e,t){Ee(e,(function(e,a,n,i){n._w=n._w||{},t(e,n._w,n,i)}))}function Pe(e,t,a){null!=t&&l(Ie,e)&&Ie[e](t,a._a,a,e)}function Ne(e){return e%4===0&&e%100!==0||e%400===0}var He=0,Fe=1,$e=2,ze=3,Be=4,We=5,Re=6,Ue=7,qe=8;function Ge(e){return Ne(e)?366:365}z("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),z(0,["YY",2],0,(function(){return this.year()%100})),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),Se("Y",be),Se("YY",pe,de),Se("YYYY",ge,ue),Se("YYYYY",ye,me),Se("YYYYYY",ye,me),Ee(["YYYYY","YYYYYY"],He),Ee("YYYY",(function(e,t){t[He]=2===e.length?i.parseTwoDigitYear(e):Ae(e)})),Ee("YY",(function(e,t){t[He]=i.parseTwoDigitYear(e)})),Ee("Y",(function(e,t){t[He]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return Ae(e)+(Ae(e)>68?1900:2e3)};var Ve,Je=Ke("FullYear",!0);function Qe(){return Ne(this.year())}function Ke(e,t){return function(a){return null!=a?(Ze(this,e,a),i.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){if(!e.isValid())return NaN;var a=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?a.getUTCMilliseconds():a.getMilliseconds();case"Seconds":return n?a.getUTCSeconds():a.getSeconds();case"Minutes":return n?a.getUTCMinutes():a.getMinutes();case"Hours":return n?a.getUTCHours():a.getHours();case"Date":return n?a.getUTCDate():a.getDate();case"Day":return n?a.getUTCDay():a.getDay();case"Month":return n?a.getUTCMonth():a.getMonth();case"FullYear":return n?a.getUTCFullYear():a.getFullYear();default:return NaN}}function Ze(e,t,a){var n,i,r,o,s;if(e.isValid()&&!isNaN(a)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(a):n.setMilliseconds(a));case"Seconds":return void(i?n.setUTCSeconds(a):n.setSeconds(a));case"Minutes":return void(i?n.setUTCMinutes(a):n.setMinutes(a));case"Hours":return void(i?n.setUTCHours(a):n.setHours(a));case"Date":return void(i?n.setUTCDate(a):n.setDate(a));case"FullYear":break;default:return}r=a,o=e.month(),s=e.date(),s=29!==s||1!==o||Ne(r)?s:28,i?n.setUTCFullYear(r,o,s):n.setFullYear(r,o,s)}}function et(e){return e=ne(e),j(this[e])?this[e]():this}function tt(e,t){if("object"===typeof e){e=ie(e);var a,n=oe(e),i=n.length;for(a=0;a<i;a++)this[n[a].unit](e[n[a].unit])}else if(e=ne(e),j(this[e]))return this[e](t);return this}function at(e,t){return(e%t+t)%t}function nt(e,t){if(isNaN(e)||isNaN(t))return NaN;var a=at(t,12);return e+=(t-a)/12,1===a?Ne(e)?29:28:31-a%7%2}Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},z("M",["MM",2],"Mo",(function(){return this.month()+1})),z("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),z("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),Se("M",pe,ke),Se("MM",pe,de),Se("MMM",(function(e,t){return t.monthsShortRegex(e)})),Se("MMMM",(function(e,t){return t.monthsRegex(e)})),Ee(["M","MM"],(function(e,t){t[Fe]=Ae(e)-1})),Ee(["MMM","MMMM"],(function(e,t,a,n){var i=a._locale.monthsParse(e,n,a._strict);null!=i?t[Fe]=i:g(a).invalidMonth=e}));var it="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),rt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,st=Le,lt=Le;function dt(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months["standalone"]}function ct(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort["standalone"]}function ut(e,t,a){var n,i,r,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=f([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return a?"MMM"===t?(i=Ve.call(this._shortMonthsParse,o),-1!==i?i:null):(i=Ve.call(this._longMonthsParse,o),-1!==i?i:null):"MMM"===t?(i=Ve.call(this._shortMonthsParse,o),-1!==i?i:(i=Ve.call(this._longMonthsParse,o),-1!==i?i:null)):(i=Ve.call(this._longMonthsParse,o),-1!==i?i:(i=Ve.call(this._shortMonthsParse,o),-1!==i?i:null))}function mt(e,t,a){var n,i,r;if(this._monthsParseExact)return ut.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=f([2e3,n]),a&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),a||this._monthsParse[n]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(a&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!a&&this._monthsParse[n].test(e))return n}}function pt(e,t){if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=Ae(t);else if(t=e.localeData().monthsParse(t),!u(t))return e;var a=t,n=e.date();return n=n<29?n:Math.min(n,nt(e.year(),a)),e._isUTC?e._d.setUTCMonth(a,n):e._d.setMonth(a,n),e}function ht(e){return null!=e?(pt(this,e),i.updateOffset(this,!0),this):Xe(this,"Month")}function ft(){return nt(this.year(),this.month())}function _t(e){return this._monthsParseExact?(l(this,"_monthsRegex")||yt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=st),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||yt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function yt(){function e(e,t){return t.length-e.length}var t,a,n,i,r=[],o=[],s=[];for(t=0;t<12;t++)a=f([2e3,t]),n=je(this.monthsShort(a,"")),i=je(this.months(a,"")),r.push(n),o.push(i),s.push(i),s.push(n);r.sort(e),o.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function vt(e,t,a,n,i,r,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,a,n,i,r,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,a,n,i,r,o),s}function bt(e){var t,a;return e<100&&e>=0?(a=Array.prototype.slice.call(arguments),a[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Mt(e,t,a){var n=7+t-a,i=(7+bt(e,0,n).getUTCDay()-t)%7;return-i+n-1}function wt(e,t,a,n,i){var r,o,s=(7+a-n)%7,l=Mt(e,n,i),d=1+7*(t-1)+s+l;return d<=0?(r=e-1,o=Ge(r)+d):d>Ge(e)?(r=e+1,o=d-Ge(e)):(r=e,o=d),{year:r,dayOfYear:o}}function xt(e,t,a){var n,i,r=Mt(e.year(),t,a),o=Math.floor((e.dayOfYear()-r-1)/7)+1;return o<1?(i=e.year()-1,n=o+Lt(i,t,a)):o>Lt(e.year(),t,a)?(n=o-Lt(e.year(),t,a),i=e.year()+1):(i=e.year(),n=o),{week:n,year:i}}function Lt(e,t,a){var n=Mt(e,t,a),i=Mt(e+1,t,a);return(Ge(e)-n+i)/7}function kt(e){return xt(e,this._week.dow,this._week.doy).week}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),Se("w",pe,ke),Se("ww",pe,de),Se("W",pe,ke),Se("WW",pe,de),Oe(["w","ww","W","WW"],(function(e,t,a,n){t[n.substr(0,1)]=Ae(e)}));var Tt={dow:0,doy:6};function St(){return this._week.dow}function Yt(){return this._week.doy}function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function jt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ct(e,t){return"string"!==typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"===typeof e?e:null):parseInt(e,10)}function At(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function It(e,t){return e.slice(t,7).concat(e.slice(0,t))}z("d",0,"do","day"),z("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),z("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),z("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),Se("d",pe),Se("e",pe),Se("E",pe),Se("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Se("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Se("dddd",(function(e,t){return t.weekdaysRegex(e)})),Oe(["dd","ddd","dddd"],(function(e,t,a,n){var i=a._locale.weekdaysParse(e,n,a._strict);null!=i?t.d=i:g(a).invalidWeekday=e})),Oe(["d","e","E"],(function(e,t,a,n){t[n]=Ae(e)}));var Et="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ot="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Pt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=Le,Ht=Le,Ft=Le;function $t(e,t){var a=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?It(a,this._week.dow):e?a[e.day()]:a}function zt(e){return!0===e?It(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?It(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wt(e,t,a){var n,i,r,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return a?"dddd"===t?(i=Ve.call(this._weekdaysParse,o),-1!==i?i:null):"ddd"===t?(i=Ve.call(this._shortWeekdaysParse,o),-1!==i?i:null):(i=Ve.call(this._minWeekdaysParse,o),-1!==i?i:null):"dddd"===t?(i=Ve.call(this._weekdaysParse,o),-1!==i?i:(i=Ve.call(this._shortWeekdaysParse,o),-1!==i?i:(i=Ve.call(this._minWeekdaysParse,o),-1!==i?i:null))):"ddd"===t?(i=Ve.call(this._shortWeekdaysParse,o),-1!==i?i:(i=Ve.call(this._weekdaysParse,o),-1!==i?i:(i=Ve.call(this._minWeekdaysParse,o),-1!==i?i:null))):(i=Ve.call(this._minWeekdaysParse,o),-1!==i?i:(i=Ve.call(this._weekdaysParse,o),-1!==i?i:(i=Ve.call(this._shortWeekdaysParse,o),-1!==i?i:null)))}function Rt(e,t,a){var n,i,r;if(this._weekdaysParseExact)return Wt.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=f([2e3,1]).day(n),a&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(a&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(a&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!a&&this._weekdaysParse[n].test(e))return n}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=Xe(this,"Day");return null!=e?(e=Ct(e,this.localeData()),this.add(e-t,"d")):t}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Vt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Nt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Jt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ht),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Qt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,a,n,i,r,o=[],s=[],l=[],d=[];for(t=0;t<7;t++)a=f([2e3,1]).day(t),n=je(this.weekdaysMin(a,"")),i=je(this.weekdaysShort(a,"")),r=je(this.weekdays(a,"")),o.push(n),s.push(i),l.push(r),d.push(n),d.push(i),d.push(r);o.sort(e),s.sort(e),l.sort(e),d.sort(e),this._weekdaysRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Zt(){return this.hours()||24}function ea(e,t){z(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ta(e,t){return t._meridiemParse}function aa(e){return"p"===(e+"").toLowerCase().charAt(0)}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Xt),z("k",["kk",2],0,Zt),z("hmm",0,0,(function(){return""+Xt.apply(this)+P(this.minutes(),2)})),z("hmmss",0,0,(function(){return""+Xt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),z("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),z("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),ea("a",!0),ea("A",!1),Se("a",ta),Se("A",ta),Se("H",pe,Te),Se("h",pe,ke),Se("k",pe,ke),Se("HH",pe,de),Se("hh",pe,de),Se("kk",pe,de),Se("hmm",he),Se("hmmss",fe),Se("Hmm",he),Se("Hmmss",fe),Ee(["H","HH"],ze),Ee(["k","kk"],(function(e,t,a){var n=Ae(e);t[ze]=24===n?0:n})),Ee(["a","A"],(function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e})),Ee(["h","hh"],(function(e,t,a){t[ze]=Ae(e),g(a).bigHour=!0})),Ee("hmm",(function(e,t,a){var n=e.length-2;t[ze]=Ae(e.substr(0,n)),t[Be]=Ae(e.substr(n)),g(a).bigHour=!0})),Ee("hmmss",(function(e,t,a){var n=e.length-4,i=e.length-2;t[ze]=Ae(e.substr(0,n)),t[Be]=Ae(e.substr(n,2)),t[We]=Ae(e.substr(i)),g(a).bigHour=!0})),Ee("Hmm",(function(e,t,a){var n=e.length-2;t[ze]=Ae(e.substr(0,n)),t[Be]=Ae(e.substr(n))})),Ee("Hmmss",(function(e,t,a){var n=e.length-4,i=e.length-2;t[ze]=Ae(e.substr(0,n)),t[Be]=Ae(e.substr(n,2)),t[We]=Ae(e.substr(i))}));var na=/[ap]\.?m?\.?/i,ia=Ke("Hours",!0);function ra(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"}var oa,sa={calendar:E,longDateFormat:q,invalidDate:V,ordinal:Q,dayOfMonthOrdinalParse:K,relativeTime:Z,months:it,monthsShort:rt,week:Tt,weekdays:Et,weekdaysMin:Pt,weekdaysShort:Ot,meridiemParse:na},la={},da={};function ca(e,t){var a,n=Math.min(e.length,t.length);for(a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n}function ua(e){return e?e.toLowerCase().replace("_","-"):e}function ma(e){var t,a,n,i,r=0;while(r<e.length){i=ua(e[r]).split("-"),t=i.length,a=ua(e[r+1]),a=a?a.split("-"):null;while(t>0){if(n=ha(i.slice(0,t).join("-")),n)return n;if(a&&a.length>=t&&ca(i,a)>=t-1)break;t--}r++}return oa}function pa(e){return!(!e||!e.match("^[^/\\\\]*$"))}function ha(t){var n=null;if(void 0===la[t]&&e&&e.exports&&pa(t))try{n=oa._abbr,a(5358)("./"+t),fa(n)}catch(i){la[t]=null}return la[t]}function fa(e,t){var a;return e&&(a=c(t)?ya(e):_a(e,t),a?oa=a:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),oa._abbr}function _a(e,t){if(null!==t){var a,n=sa;if(t.abbr=e,null!=la[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=la[e]._config;else if(null!=t.parentLocale)if(null!=la[t.parentLocale])n=la[t.parentLocale]._config;else{if(a=ha(t.parentLocale),null==a)return da[t.parentLocale]||(da[t.parentLocale]=[]),da[t.parentLocale].push({name:e,config:t}),null;n=a._config}return la[e]=new I(A(n,t)),da[e]&&da[e].forEach((function(e){_a(e.name,e.config)})),fa(e),la[e]}return delete la[e],null}function ga(e,t){if(null!=t){var a,n,i=sa;null!=la[e]&&null!=la[e].parentLocale?la[e].set(A(la[e]._config,t)):(n=ha(e),null!=n&&(i=n._config),t=A(i,t),null==n&&(t.abbr=e),a=new I(t),a.parentLocale=la[e],la[e]=a),fa(e)}else null!=la[e]&&(null!=la[e].parentLocale?(la[e]=la[e].parentLocale,e===fa()&&fa(e)):null!=la[e]&&delete la[e]);return la[e]}function ya(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return oa;if(!o(e)){if(t=ha(e),t)return t;e=[e]}return ma(e)}function va(){return S(la)}function ba(e){var t,a=e._a;return a&&-2===g(e).overflow&&(t=a[Fe]<0||a[Fe]>11?Fe:a[$e]<1||a[$e]>nt(a[He],a[Fe])?$e:a[ze]<0||a[ze]>24||24===a[ze]&&(0!==a[Be]||0!==a[We]||0!==a[Re])?ze:a[Be]<0||a[Be]>59?Be:a[We]<0||a[We]>59?We:a[Re]<0||a[Re]>999?Re:-1,g(e)._overflowDayOfYear&&(t<He||t>$e)&&(t=$e),g(e)._overflowWeeks&&-1===t&&(t=Ue),g(e)._overflowWeekday&&-1===t&&(t=qe),g(e).overflow=t),e}var Ma=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wa=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xa=/Z|[+-]\d\d(?::?\d\d)?/,La=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ka=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ta=/^\/?Date\((-?\d+)/i,Sa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ya={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Da(e){var t,a,n,i,r,o,s=e._i,l=Ma.exec(s)||wa.exec(s),d=La.length,c=ka.length;if(l){for(g(e).iso=!0,t=0,a=d;t<a;t++)if(La[t][1].exec(l[1])){i=La[t][0],n=!1!==La[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,a=c;t<a;t++)if(ka[t][1].exec(l[3])){r=(l[2]||" ")+ka[t][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(l[4]){if(!xa.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(r||"")+(o||""),za(e)}else e._isValid=!1}function ja(e,t,a,n,i,r){var o=[Ca(e),rt.indexOf(t),parseInt(a,10),parseInt(n,10),parseInt(i,10)];return r&&o.push(parseInt(r,10)),o}function Ca(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Aa(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ia(e,t,a){if(e){var n=Ot.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(n!==i)return g(a).weekdayMismatch=!0,a._isValid=!1,!1}return!0}function Ea(e,t,a){if(e)return Ya[e];if(t)return 0;var n=parseInt(a,10),i=n%100,r=(n-i)/100;return 60*r+i}function Oa(e){var t,a=Sa.exec(Aa(e._i));if(a){if(t=ja(a[4],a[3],a[2],a[5],a[6],a[7]),!Ia(a[1],t,e))return;e._a=t,e._tzm=Ea(a[8],a[9],a[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Pa(e){var t=Ta.exec(e._i);null===t?(Da(e),!1===e._isValid&&(delete e._isValid,Oa(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Na(e,t,a){return null!=e?e:null!=t?t:a}function Ha(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fa(e){var t,a,n,i,r,o=[];if(!e._d){for(n=Ha(e),e._w&&null==e._a[$e]&&null==e._a[Fe]&&$a(e),null!=e._dayOfYear&&(r=Na(e._a[He],n[He]),(e._dayOfYear>Ge(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),a=bt(r,0,e._dayOfYear),e._a[Fe]=a.getUTCMonth(),e._a[$e]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ze]&&0===e._a[Be]&&0===e._a[We]&&0===e._a[Re]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?bt:vt).apply(null,o),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function $a(e){var t,a,n,i,r,o,s,l,d;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(r=1,o=4,a=Na(t.GG,e._a[He],xt(Ja(),1,4).year),n=Na(t.W,1),i=Na(t.E,1),(i<1||i>7)&&(l=!0)):(r=e._locale._week.dow,o=e._locale._week.doy,d=xt(Ja(),r,o),a=Na(t.gg,e._a[He],d.year),n=Na(t.w,d.week),null!=t.d?(i=t.d,(i<0||i>6)&&(l=!0)):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(l=!0)):i=r),n<1||n>Lt(a,r,o)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=wt(a,n,i,r,o),e._a[He]=s.year,e._dayOfYear=s.dayOfYear)}function za(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,a,n,r,o,s,l,d=""+e._i,c=d.length,u=0;for(n=U(e._f,e._locale).match(N)||[],l=n.length,t=0;t<l;t++)r=n[t],a=(d.match(Ye(r,e))||[])[0],a&&(o=d.substr(0,d.indexOf(a)),o.length>0&&g(e).unusedInput.push(o),d=d.slice(d.indexOf(a)+a.length),u+=a.length),$[r]?(a?g(e).empty=!1:g(e).unusedTokens.push(r),Pe(r,a,e)):e._strict&&!a&&g(e).unusedTokens.push(r);g(e).charsLeftOver=c-u,d.length>0&&g(e).unusedInput.push(d),e._a[ze]<=12&&!0===g(e).bigHour&&e._a[ze]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[ze]=Ba(e._locale,e._a[ze],e._meridiem),s=g(e).era,null!==s&&(e._a[He]=e._locale.erasConvertYear(s,e._a[He])),Fa(e),ba(e)}else Oa(e);else Da(e)}function Ba(e,t,a){var n;return null==a?t:null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?(n=e.isPM(a),n&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Wa(e){var t,a,n,i,r,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<l;i++)r=0,o=!1,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],za(t),y(t)&&(o=!0),r+=g(t).charsLeftOver,r+=10*g(t).unusedTokens.length,g(t).score=r,s?r<n&&(n=r,a=t):(null==n||r<n||o)&&(n=r,a=t,o&&(s=!0));h(e,a||t)}function Ra(e){if(!e._d){var t=ie(e._i),a=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,a,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Fa(e)}}function Ua(e){var t=new x(ba(qa(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function qa(e){var t=e._i,a=e._f;return e._locale=e._locale||ya(e._l),null===t||void 0===a&&""===t?v({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),L(t)?new x(ba(t)):(m(t)?e._d=t:o(a)?Wa(e):a?za(e):Ga(e),y(e)||(e._d=null),e))}function Ga(e){var t=e._i;c(t)?e._d=new Date(i.now()):m(t)?e._d=new Date(t.valueOf()):"string"===typeof t?Pa(e):o(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),Fa(e)):s(t)?Ra(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Va(e,t,a,n,i){var r={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==a&&!1!==a||(n=a,a=void 0),(s(e)&&d(e)||o(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=a,r._i=e,r._f=t,r._strict=n,Ua(r)}function Ja(e,t,a,n){return Va(e,t,a,n,!1)}i.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Qa=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ja.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Ka=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Ja.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Xa(e,t){var a,n;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Ja();for(a=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](a)||(a=t[n]);return a}function Za(){var e=[].slice.call(arguments,0);return Xa("isBefore",e)}function en(){var e=[].slice.call(arguments,0);return Xa("isAfter",e)}var tn=function(){return Date.now?Date.now():+new Date},an=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nn(e){var t,a,n=!1,i=an.length;for(t in e)if(l(e,t)&&(-1===Ve.call(an,t)||null!=e[t]&&isNaN(e[t])))return!1;for(a=0;a<i;++a)if(e[an[a]]){if(n)return!1;parseFloat(e[an[a]])!==Ae(e[an[a]])&&(n=!0)}return!0}function rn(){return this._isValid}function on(){return Dn(NaN)}function sn(e){var t=ie(e),a=t.year||0,n=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,d=t.second||0,c=t.millisecond||0;this._isValid=nn(t),this._milliseconds=+c+1e3*d+6e4*l+1e3*s*60*60,this._days=+o+7*r,this._months=+i+3*n+12*a,this._data={},this._locale=ya(),this._bubble()}function ln(e){return e instanceof sn}function dn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function cn(e,t,a){var n,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0;for(n=0;n<i;n++)(a&&e[n]!==t[n]||!a&&Ae(e[n])!==Ae(t[n]))&&o++;return o+r}function un(e,t){z(e,0,0,(function(){var e=this.utcOffset(),a="+";return e<0&&(e=-e,a="-"),a+P(~~(e/60),2)+t+P(~~e%60,2)}))}un("Z",":"),un("ZZ",""),Se("Z",we),Se("ZZ",we),Ee(["Z","ZZ"],(function(e,t,a){a._useUTC=!0,a._tzm=pn(we,e)}));var mn=/([\+\-]|\d\d)/gi;function pn(e,t){var a,n,i,r=(t||"").match(e);return null===r?null:(a=r[r.length-1]||[],n=(a+"").match(mn)||["-",0,0],i=60*n[1]+Ae(n[2]),0===i?0:"+"===n[0]?i:-i)}function hn(e,t){var a,n;return t._isUTC?(a=t.clone(),n=(L(e)||m(e)?e.valueOf():Ja(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+n),i.updateOffset(a,!1),a):Ja(e).local()}function fn(e){return-Math.round(e._d.getTimezoneOffset())}function _n(e,t,a){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(e=pn(we,e),null===e)return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&t&&(n=fn(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?En(this,Dn(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:fn(this)}function gn(e,t){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function yn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fn(this),"m")),this}function bn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=pn(Me,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Mn(e){return!!this.isValid()&&(e=e?Ja(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function xn(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),t=qa(t),t._a?(e=t._isUTC?f(t._a):Ja(t._a),this._isDSTShifted=this.isValid()&&cn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ln(){return!!this.isValid()&&!this._isUTC}function kn(){return!!this.isValid()&&this._isUTC}function Tn(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var Sn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dn(e,t){var a,n,i,r=e,o=null;return ln(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(o=Sn.exec(e))?(a="-"===o[1]?-1:1,r={y:0,d:Ae(o[$e])*a,h:Ae(o[ze])*a,m:Ae(o[Be])*a,s:Ae(o[We])*a,ms:Ae(dn(1e3*o[Re]))*a}):(o=Yn.exec(e))?(a="-"===o[1]?-1:1,r={y:jn(o[2],a),M:jn(o[3],a),w:jn(o[4],a),d:jn(o[5],a),h:jn(o[6],a),m:jn(o[7],a),s:jn(o[8],a)}):null==r?r={}:"object"===typeof r&&("from"in r||"to"in r)&&(i=An(Ja(r.from),Ja(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),n=new sn(r),ln(e)&&l(e,"_locale")&&(n._locale=e._locale),ln(e)&&l(e,"_isValid")&&(n._isValid=e._isValid),n}function jn(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function Cn(e,t){var a={};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function An(e,t){var a;return e.isValid()&&t.isValid()?(t=hn(t,e),e.isBefore(t)?a=Cn(e,t):(a=Cn(t,e),a.milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function In(e,t){return function(a,n){var i,r;return null===n||isNaN(+n)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=a,a=n,n=r),i=Dn(a,n),En(this,i,e),this}}function En(e,t,a,n){var r=t._milliseconds,o=dn(t._days),s=dn(t._months);e.isValid()&&(n=null==n||n,s&&pt(e,Xe(e,"Month")+s*a),o&&Ze(e,"Date",Xe(e,"Date")+o*a),r&&e._d.setTime(e._d.valueOf()+r*a),n&&i.updateOffset(e,o||s))}Dn.fn=sn.prototype,Dn.invalid=on;var On=In(1,"add"),Pn=In(-1,"subtract");function Nn(e){return"string"===typeof e||e instanceof String}function Hn(e){return L(e)||m(e)||Nn(e)||u(e)||$n(e)||Fn(e)||null===e||void 0===e}function Fn(e){var t,a,n=s(e)&&!d(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o=r.length;for(t=0;t<o;t+=1)a=r[t],i=i||l(e,a);return n&&i}function $n(e){var t=o(e),a=!1;return t&&(a=0===e.filter((function(t){return!u(t)&&Nn(e)})).length),t&&a}function zn(e){var t,a,n=s(e)&&!d(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)a=r[t],i=i||l(e,a);return n&&i}function Bn(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"}function Wn(e,t){1===arguments.length&&(arguments[0]?Hn(arguments[0])?(e=arguments[0],t=void 0):zn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var a=e||Ja(),n=hn(a,this).startOf("day"),r=i.calendarFormat(this,n)||"sameElse",o=t&&(j(t[r])?t[r].call(this,a):t[r]);return this.format(o||this.localeData().calendar(r,this,Ja(a)))}function Rn(){return new x(this)}function Un(e,t){var a=L(e)?e:Ja(e);return!(!this.isValid()||!a.isValid())&&(t=ne(t)||"millisecond","millisecond"===t?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(t).valueOf())}function qn(e,t){var a=L(e)?e:Ja(e);return!(!this.isValid()||!a.isValid())&&(t=ne(t)||"millisecond","millisecond"===t?this.valueOf()<a.valueOf():this.clone().endOf(t).valueOf()<a.valueOf())}function Gn(e,t,a,n){var i=L(e)?e:Ja(e),r=L(t)?t:Ja(t);return!!(this.isValid()&&i.isValid()&&r.isValid())&&(n=n||"()",("("===n[0]?this.isAfter(i,a):!this.isBefore(i,a))&&(")"===n[1]?this.isBefore(r,a):!this.isAfter(r,a)))}function Vn(e,t){var a,n=L(e)?e:Ja(e);return!(!this.isValid()||!n.isValid())&&(t=ne(t)||"millisecond","millisecond"===t?this.valueOf()===n.valueOf():(a=n.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf()))}function Jn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Qn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kn(e,t,a){var n,i,r;if(!this.isValid())return NaN;if(n=hn(e,this),!n.isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=ne(t),t){case"year":r=Xn(this,n)/12;break;case"month":r=Xn(this,n);break;case"quarter":r=Xn(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-i)/864e5;break;case"week":r=(this-n-i)/6048e5;break;default:r=this-n}return a?r:Ce(r)}function Xn(e,t){if(e.date()<t.date())return-Xn(t,e);var a,n,i=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(i,"months");return t-r<0?(a=e.clone().add(i-1,"months"),n=(t-r)/(r-a)):(a=e.clone().add(i+1,"months"),n=(t-r)/(a-r)),-(i+n)||0}function Zn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(e){if(!this.isValid())return null;var t=!0!==e,a=t?this.clone().utc():this;return a.year()<0||a.year()>9999?R(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(a,"Z")):R(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,a,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=r+'[")]',this.format(e+t+a+n)}function ai(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(L(e)&&e.isValid()||Ja(e).isValid())?Dn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Ja(),e)}function ri(e,t){return this.isValid()&&(L(e)&&e.isValid()||Ja(e).isValid())?Dn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oi(e){return this.to(Ja(),e)}function si(e){var t;return void 0===e?this._locale._abbr:(t=ya(e),null!=t&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function di(){return this._locale}var ci=1e3,ui=60*ci,mi=60*ui,pi=3506328*mi;function hi(e,t){return(e%t+t)%t}function fi(e,t,a){return e<100&&e>=0?new Date(e+400,t,a)-pi:new Date(e,t,a).valueOf()}function _i(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-pi:Date.UTC(e,t,a)}function gi(e){var t,a;if(e=ne(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(a=this._isUTC?_i:fi,e){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=hi(t+(this._isUTC?0:this.utcOffset()*ui),mi);break;case"minute":t=this._d.valueOf(),t-=hi(t,ui);break;case"second":t=this._d.valueOf(),t-=hi(t,ci);break}return this._d.setTime(t),i.updateOffset(this,!0),this}function yi(e){var t,a;if(e=ne(e),void 0===e||"millisecond"===e||!this.isValid())return this;switch(a=this._isUTC?_i:fi,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=mi-hi(t+(this._isUTC?0:this.utcOffset()*ui),mi)-1;break;case"minute":t=this._d.valueOf(),t+=ui-hi(t,ui)-1;break;case"second":t=this._d.valueOf(),t+=ci-hi(t,ci)-1;break}return this._d.setTime(t),i.updateOffset(this,!0),this}function vi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function Mi(){return new Date(this.valueOf())}function wi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function xi(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Li(){return this.isValid()?this.toISOString():null}function ki(){return y(this)}function Ti(){return h({},g(this))}function Si(){return g(this).overflow}function Yi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Di(e,t){var a,n,r,o=this._eras||ya("en")._eras;for(a=0,n=o.length;a<n;++a){switch(typeof o[a].since){case"string":r=i(o[a].since).startOf("day"),o[a].since=r.valueOf();break}switch(typeof o[a].until){case"undefined":o[a].until=1/0;break;case"string":r=i(o[a].until).startOf("day").valueOf(),o[a].until=r.valueOf();break}}return o}function ji(e,t,a){var n,i,r,o,s,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(r=l[n].name.toUpperCase(),o=l[n].abbr.toUpperCase(),s=l[n].narrow.toUpperCase(),a)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[n];break;case"NNNN":if(r===e)return l[n];break;case"NNNNN":if(s===e)return l[n];break}else if([r,o,s].indexOf(e)>=0)return l[n]}function Ci(e,t){var a=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*a}function Ai(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(a=this.clone().startOf("day").valueOf(),n[e].since<=a&&a<=n[e].until)return n[e].name;if(n[e].until<=a&&a<=n[e].since)return n[e].name}return""}function Ii(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(a=this.clone().startOf("day").valueOf(),n[e].since<=a&&a<=n[e].until)return n[e].narrow;if(n[e].until<=a&&a<=n[e].since)return n[e].narrow}return""}function Ei(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(a=this.clone().startOf("day").valueOf(),n[e].since<=a&&a<=n[e].until)return n[e].abbr;if(n[e].until<=a&&a<=n[e].since)return n[e].abbr}return""}function Oi(){var e,t,a,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(a=r[e].since<=r[e].until?1:-1,n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return(this.year()-i(r[e].since).year())*a+r[e].offset;return this.year()}function Pi(e){return l(this,"_erasNameRegex")||Wi.call(this),e?this._erasNameRegex:this._erasRegex}function Ni(e){return l(this,"_erasAbbrRegex")||Wi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Hi(e){return l(this,"_erasNarrowRegex")||Wi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function $i(e,t){return t.erasNameRegex(e)}function zi(e,t){return t.erasNarrowRegex(e)}function Bi(e,t){return t._eraYearOrdinalRegex||ve}function Wi(){var e,t,a,n,i,r=[],o=[],s=[],l=[],d=this.eras();for(e=0,t=d.length;e<t;++e)a=je(d[e].name),n=je(d[e].abbr),i=je(d[e].narrow),o.push(a),r.push(n),s.push(i),l.push(a),l.push(n),l.push(i);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Ri(e,t){z(0,[e,e.length],0,t)}function Ui(e){return Ki.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function qi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gi(){return Lt(this.year(),1,4)}function Vi(){return Lt(this.isoWeekYear(),1,4)}function Ji(){var e=this.localeData()._week;return Lt(this.year(),e.dow,e.doy)}function Qi(){var e=this.localeData()._week;return Lt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,a,n,i){var r;return null==e?xt(this,n,i).year:(r=Lt(e,n,i),t>r&&(t=r),Xi.call(this,e,t,a,n,i))}function Xi(e,t,a,n,i){var r=wt(e,t,a,n,i),o=bt(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}function Zi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}z("N",0,0,"eraAbbr"),z("NN",0,0,"eraAbbr"),z("NNN",0,0,"eraAbbr"),z("NNNN",0,0,"eraName"),z("NNNNN",0,0,"eraNarrow"),z("y",["y",1],"yo","eraYear"),z("y",["yy",2],0,"eraYear"),z("y",["yyy",3],0,"eraYear"),z("y",["yyyy",4],0,"eraYear"),Se("N",Fi),Se("NN",Fi),Se("NNN",Fi),Se("NNNN",$i),Se("NNNNN",zi),Ee(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,a,n){var i=a._locale.erasParse(e,n,a._strict);i?g(a).era=i:g(a).invalidEra=e})),Se("y",ve),Se("yy",ve),Se("yyy",ve),Se("yyyy",ve),Se("yo",Bi),Ee(["y","yy","yyy","yyyy"],He),Ee(["yo"],(function(e,t,a,n){var i;a._locale._eraYearOrdinalRegex&&(i=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[He]=a._locale.eraYearOrdinalParse(e,i):t[He]=parseInt(e,10)})),z(0,["gg",2],0,(function(){return this.weekYear()%100})),z(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ri("gggg","weekYear"),Ri("ggggg","weekYear"),Ri("GGGG","isoWeekYear"),Ri("GGGGG","isoWeekYear"),Se("G",be),Se("g",be),Se("GG",pe,de),Se("gg",pe,de),Se("GGGG",ge,ue),Se("gggg",ge,ue),Se("GGGGG",ye,me),Se("ggggg",ye,me),Oe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,a,n){t[n.substr(0,2)]=Ae(e)})),Oe(["gg","GG"],(function(e,t,a,n){t[n]=i.parseTwoDigitYear(e)})),z("Q",0,"Qo","quarter"),Se("Q",le),Ee("Q",(function(e,t){t[Fe]=3*(Ae(e)-1)})),z("D",["DD",2],"Do","date"),Se("D",pe,ke),Se("DD",pe,de),Se("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ee(["D","DD"],$e),Ee("Do",(function(e,t){t[$e]=Ae(e.match(pe)[0])}));var er=Ke("Date",!0);function tr(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}z("DDD",["DDDD",3],"DDDo","dayOfYear"),Se("DDD",_e),Se("DDDD",ce),Ee(["DDD","DDDD"],(function(e,t,a){a._dayOfYear=Ae(e)})),z("m",["mm",2],0,"minute"),Se("m",pe,Te),Se("mm",pe,de),Ee(["m","mm"],Be);var ar=Ke("Minutes",!1);z("s",["ss",2],0,"second"),Se("s",pe,Te),Se("ss",pe,de),Ee(["s","ss"],We);var nr,ir,rr=Ke("Seconds",!1);for(z("S",0,0,(function(){return~~(this.millisecond()/100)})),z(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),z(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),z(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),z(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),z(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),z(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),Se("S",_e,le),Se("SS",_e,de),Se("SSS",_e,ce),nr="SSSS";nr.length<=9;nr+="S")Se(nr,ve);function or(e,t){t[Re]=Ae(1e3*("0."+e))}for(nr="S";nr.length<=9;nr+="S")Ee(nr,or);function sr(){return this._isUTC?"UTC":""}function lr(){return this._isUTC?"Coordinated Universal Time":""}ir=Ke("Milliseconds",!1),z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var dr=x.prototype;function cr(e){return Ja(1e3*e)}function ur(){return Ja.apply(null,arguments).parseZone()}function mr(e){return e}dr.add=On,dr.calendar=Wn,dr.clone=Rn,dr.diff=Kn,dr.endOf=yi,dr.format=ai,dr.from=ni,dr.fromNow=ii,dr.to=ri,dr.toNow=oi,dr.get=et,dr.invalidAt=Si,dr.isAfter=Un,dr.isBefore=qn,dr.isBetween=Gn,dr.isSame=Vn,dr.isSameOrAfter=Jn,dr.isSameOrBefore=Qn,dr.isValid=ki,dr.lang=li,dr.locale=si,dr.localeData=di,dr.max=Ka,dr.min=Qa,dr.parsingFlags=Ti,dr.set=tt,dr.startOf=gi,dr.subtract=Pn,dr.toArray=wi,dr.toObject=xi,dr.toDate=Mi,dr.toISOString=ei,dr.inspect=ti,"undefined"!==typeof Symbol&&null!=Symbol.for&&(dr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),dr.toJSON=Li,dr.toString=Zn,dr.unix=bi,dr.valueOf=vi,dr.creationData=Yi,dr.eraName=Ai,dr.eraNarrow=Ii,dr.eraAbbr=Ei,dr.eraYear=Oi,dr.year=Je,dr.isLeapYear=Qe,dr.weekYear=Ui,dr.isoWeekYear=qi,dr.quarter=dr.quarters=Zi,dr.month=ht,dr.daysInMonth=ft,dr.week=dr.weeks=Dt,dr.isoWeek=dr.isoWeeks=jt,dr.weeksInYear=Ji,dr.weeksInWeekYear=Qi,dr.isoWeeksInYear=Gi,dr.isoWeeksInISOWeekYear=Vi,dr.date=er,dr.day=dr.days=Ut,dr.weekday=qt,dr.isoWeekday=Gt,dr.dayOfYear=tr,dr.hour=dr.hours=ia,dr.minute=dr.minutes=ar,dr.second=dr.seconds=rr,dr.millisecond=dr.milliseconds=ir,dr.utcOffset=_n,dr.utc=yn,dr.local=vn,dr.parseZone=bn,dr.hasAlignedHourOffset=Mn,dr.isDST=wn,dr.isLocal=Ln,dr.isUtcOffset=kn,dr.isUtc=Tn,dr.isUTC=Tn,dr.zoneAbbr=sr,dr.zoneName=lr,dr.dates=T("dates accessor is deprecated. Use date instead.",er),dr.months=T("months accessor is deprecated. Use month instead",ht),dr.years=T("years accessor is deprecated. Use year instead",Je),dr.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gn),dr.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xn);var pr=I.prototype;function hr(e,t,a,n){var i=ya(),r=f().set(n,t);return i[a](r,e)}function fr(e,t,a){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return hr(e,t,a,"month");var n,i=[];for(n=0;n<12;n++)i[n]=hr(e,n,a,"month");return i}function _r(e,t,a,n){"boolean"===typeof e?(u(t)&&(a=t,t=void 0),t=t||""):(t=e,a=t,e=!1,u(t)&&(a=t,t=void 0),t=t||"");var i,r=ya(),o=e?r._week.dow:0,s=[];if(null!=a)return hr(t,(a+o)%7,n,"day");for(i=0;i<7;i++)s[i]=hr(t,(i+o)%7,n,"day");return s}function gr(e,t){return fr(e,t,"months")}function yr(e,t){return fr(e,t,"monthsShort")}function vr(e,t,a){return _r(e,t,a,"weekdays")}function br(e,t,a){return _r(e,t,a,"weekdaysShort")}function Mr(e,t,a){return _r(e,t,a,"weekdaysMin")}pr.calendar=O,pr.longDateFormat=G,pr.invalidDate=J,pr.ordinal=X,pr.preparse=mr,pr.postformat=mr,pr.relativeTime=ee,pr.pastFuture=te,pr.set=C,pr.eras=Di,pr.erasParse=ji,pr.erasConvertYear=Ci,pr.erasAbbrRegex=Ni,pr.erasNameRegex=Pi,pr.erasNarrowRegex=Hi,pr.months=dt,pr.monthsShort=ct,pr.monthsParse=mt,pr.monthsRegex=gt,pr.monthsShortRegex=_t,pr.week=kt,pr.firstDayOfYear=Yt,pr.firstDayOfWeek=St,pr.weekdays=$t,pr.weekdaysMin=Bt,pr.weekdaysShort=zt,pr.weekdaysParse=Rt,pr.weekdaysRegex=Vt,pr.weekdaysShortRegex=Jt,pr.weekdaysMinRegex=Qt,pr.isPM=aa,pr.meridiem=ra,fa("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,a=1===Ae(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+a}}),i.lang=T("moment.lang is deprecated. Use moment.locale instead.",fa),i.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ya);var wr=Math.abs;function xr(){var e=this._data;return this._milliseconds=wr(this._milliseconds),this._days=wr(this._days),this._months=wr(this._months),e.milliseconds=wr(e.milliseconds),e.seconds=wr(e.seconds),e.minutes=wr(e.minutes),e.hours=wr(e.hours),e.months=wr(e.months),e.years=wr(e.years),this}function Lr(e,t,a,n){var i=Dn(t,a);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function kr(e,t){return Lr(this,e,t,1)}function Tr(e,t){return Lr(this,e,t,-1)}function Sr(e){return e<0?Math.floor(e):Math.ceil(e)}function Yr(){var e,t,a,n,i,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return r>=0&&o>=0&&s>=0||r<=0&&o<=0&&s<=0||(r+=864e5*Sr(jr(s)+o),o=0,s=0),l.milliseconds=r%1e3,e=Ce(r/1e3),l.seconds=e%60,t=Ce(e/60),l.minutes=t%60,a=Ce(t/60),l.hours=a%24,o+=Ce(a/24),i=Ce(Dr(o)),s+=i,o-=Sr(jr(i)),n=Ce(s/12),s%=12,l.days=o,l.months=s,l.years=n,this}function Dr(e){return 4800*e/146097}function jr(e){return 146097*e/4800}function Cr(e){if(!this.isValid())return NaN;var t,a,n=this._milliseconds;if(e=ne(e),"month"===e||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,a=this._months+Dr(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(jr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function Ar(e){return function(){return this.as(e)}}var Ir=Ar("ms"),Er=Ar("s"),Or=Ar("m"),Pr=Ar("h"),Nr=Ar("d"),Hr=Ar("w"),Fr=Ar("M"),$r=Ar("Q"),zr=Ar("y"),Br=Ir;function Wr(){return Dn(this)}function Rr(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Ur(e){return function(){return this.isValid()?this._data[e]:NaN}}var qr=Ur("milliseconds"),Gr=Ur("seconds"),Vr=Ur("minutes"),Jr=Ur("hours"),Qr=Ur("days"),Kr=Ur("months"),Xr=Ur("years");function Zr(){return Ce(this.days()/7)}var eo=Math.round,to={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ao(e,t,a,n,i){return i.relativeTime(t||1,!!a,e,n)}function no(e,t,a,n){var i=Dn(e).abs(),r=eo(i.as("s")),o=eo(i.as("m")),s=eo(i.as("h")),l=eo(i.as("d")),d=eo(i.as("M")),c=eo(i.as("w")),u=eo(i.as("y")),m=r<=a.ss&&["s",r]||r<a.s&&["ss",r]||o<=1&&["m"]||o<a.m&&["mm",o]||s<=1&&["h"]||s<a.h&&["hh",s]||l<=1&&["d"]||l<a.d&&["dd",l];return null!=a.w&&(m=m||c<=1&&["w"]||c<a.w&&["ww",c]),m=m||d<=1&&["M"]||d<a.M&&["MM",d]||u<=1&&["y"]||["yy",u],m[2]=t,m[3]=+e>0,m[4]=n,ao.apply(null,m)}function io(e){return void 0===e?eo:"function"===typeof e&&(eo=e,!0)}function ro(e,t){return void 0!==to[e]&&(void 0===t?to[e]:(to[e]=t,"s"===e&&(to.ss=t-1),!0))}function oo(e,t){if(!this.isValid())return this.localeData().invalidDate();var a,n,i=!1,r=to;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(i=e),"object"===typeof t&&(r=Object.assign({},to,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),a=this.localeData(),n=no(this,!i,r,a),i&&(n=a.pastFuture(+this,n)),a.postformat(n)}var so=Math.abs;function lo(e){return(e>0)-(e<0)||+e}function co(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a,n,i,r,o,s,l=so(this._milliseconds)/1e3,d=so(this._days),c=so(this._months),u=this.asSeconds();return u?(e=Ce(l/60),t=Ce(e/60),l%=60,e%=60,a=Ce(c/12),c%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=u<0?"-":"",r=lo(this._months)!==lo(u)?"-":"",o=lo(this._days)!==lo(u)?"-":"",s=lo(this._milliseconds)!==lo(u)?"-":"",i+"P"+(a?r+a+"Y":"")+(c?r+c+"M":"")+(d?o+d+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+n+"S":"")):"P0D"}var uo=sn.prototype;return uo.isValid=rn,uo.abs=xr,uo.add=kr,uo.subtract=Tr,uo.as=Cr,uo.asMilliseconds=Ir,uo.asSeconds=Er,uo.asMinutes=Or,uo.asHours=Pr,uo.asDays=Nr,uo.asWeeks=Hr,uo.asMonths=Fr,uo.asQuarters=$r,uo.asYears=zr,uo.valueOf=Br,uo._bubble=Yr,uo.clone=Wr,uo.get=Rr,uo.milliseconds=qr,uo.seconds=Gr,uo.minutes=Vr,uo.hours=Jr,uo.days=Qr,uo.weeks=Zr,uo.months=Kr,uo.years=Xr,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=di,uo.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,z("X",0,0,"unix"),z("x",0,0,"valueOf"),Se("x",be),Se("X",xe),Ee("X",(function(e,t,a){a._d=new Date(1e3*parseFloat(e))})),Ee("x",(function(e,t,a){a._d=new Date(Ae(e))})),
|
|
276
276
|
//! moment.js
|
|
277
|
-
i.version="2.30.1",r(Ja),i.fn=dr,i.min=Za,i.max=en,i.now=tn,i.utc=f,i.unix=cr,i.months=gr,i.isDate=m,i.locale=fa,i.invalid=v,i.duration=Dn,i.isMoment=L,i.weekdays=vr,i.parseZone=ur,i.localeData=ya,i.isDuration=ln,i.monthsShort=yr,i.weekdaysMin=Mr,i.defineLocale=_a,i.updateLocale=ga,i.locales=va,i.weekdaysShort=br,i.normalizeUnits=ne,i.relativeTimeRounding=io,i.relativeTimeThreshold=ro,i.calendarFormat=Bn,i.prototype=dr,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}))},8859:function(e,t,a){var n="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=n&&i&&"function"===typeof i.get?i.get:null,o=n&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=s&&l&&"function"===typeof l.get?l.get:null,c=s&&Set.prototype.forEach,u="function"===typeof WeakMap&&WeakMap.prototype,m=u?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype,h=p?WeakSet.prototype.has:null,f="function"===typeof WeakRef&&WeakRef.prototype,_=f?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,M=String.prototype.slice,w=String.prototype.replace,x=String.prototype.toUpperCase,L=String.prototype.toLowerCase,k=RegExp.prototype.test,T=Array.prototype.concat,S=Array.prototype.join,Y=Array.prototype.slice,D=Math.floor,j="function"===typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,A="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"===typeof Symbol&&"object"===typeof Symbol.iterator,E="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,P=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||k.call(/e/,t))return t;var a=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-D(-e):D(e);if(n!==e){var i=String(n),r=M.call(t,i.length+1);return w.call(i,a,"$&_")+"."+w.call(w.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(t,a,"$&_")}var H=a(2634),F=H.custom,$=Q(F)?F:null;function z(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function B(e){return w.call(String(e),/"/g,""")}function W(e){return"[object Array]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function R(e){return"[object Date]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function U(e){return"[object RegExp]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function q(e){return"[object Error]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function G(e){return"[object String]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function V(e){return"[object Number]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function J(e){return"[object Boolean]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function Q(e){if(I)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!A)return!1;try{return A.call(e),!0}catch(t){}return!1}function K(e){if(!e||"object"!==typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,i,s){var l=n||{};if(Z(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Z(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!Z(l,"customInspect")||l.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Z(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Z(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=l.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return de(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var p=String(t);return m?N(t,p):p}if("bigint"===typeof t){var h=String(t)+"n";return m?N(t,h):h}var f="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof i&&(i=0),i>=f&&f>0&&"object"===typeof t)return W(t)?"[Array]":"[Object]";var _=fe(l,i);if("undefined"===typeof s)s=[];else if(ae(s,t)>=0)return"[Circular]";function y(t,a,n){if(a&&(s=Y.call(s),s.push(a)),n){var r={depth:l.depth};return Z(l,"quoteStyle")&&(r.quoteStyle=l.quoteStyle),e(t,r,i+1,s)}return e(t,l,i+1,s)}if("function"===typeof t&&!U(t)){var v=te(t),b=ge(t,y);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(b.length>0?" { "+S.call(b,", ")+" }":"")}if(Q(t)){var x=I?w.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(t);return"object"!==typeof t||I?x:ue(x)}if(le(t)){for(var k="<"+L.call(String(t.nodeName)),D=t.attributes||[],C=0;C<D.length;C++)k+=" "+D[C].name+"="+z(B(D[C].value),"double",l);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+L.call(String(t.nodeName))+">",k}if(W(t)){if(0===t.length)return"[]";var F=ge(t,y);return _&&!he(F)?"["+_e(F,_)+"]":"[ "+S.call(F,", ")+" ]"}if(q(t)){var X=ge(t,y);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===X.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(X,", ")+" }":"{ ["+String(t)+"] "+S.call(T.call("[cause]: "+y(t.cause),X),", ")+" }"}if("object"===typeof t&&u){if($&&"function"===typeof t[$]&&H)return H(t,{depth:f-i});if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(ne(t)){var ce=[];return o&&o.call(t,(function(e,a){ce.push(y(a,t,!0)+" => "+y(e,t))})),pe("Map",r.call(t),ce,_)}if(oe(t)){var ye=[];return c&&c.call(t,(function(e){ye.push(y(e,t))})),pe("Set",d.call(t),ye,_)}if(ie(t))return me("WeakMap");if(se(t))return me("WeakSet");if(re(t))return me("WeakRef");if(V(t))return ue(y(Number(t)));if(K(t))return ue(y(j.call(t)));if(J(t))return ue(g.call(t));if(G(t))return ue(y(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&t===globalThis||"undefined"!==typeof a.g&&t===a.g)return"{ [object globalThis] }";if(!R(t)&&!U(t)){var ve=ge(t,y),be=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,Me=t instanceof Object?"":"null prototype",we=!be&&E&&Object(t)===t&&E in t?M.call(ee(t),8,-1):Me?"Object":"",xe=be||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Le=xe+(we||Me?"["+S.call(T.call([],we||[],Me||[]),": ")+"] ":"");return 0===ve.length?Le+"{}":_?Le+"{"+_e(ve,_)+"}":Le+"{ "+S.call(ve,", ")+" }"}return String(t)};var X=Object.prototype.hasOwnProperty||function(e){return e in this};function Z(e,t){return X.call(e,t)}function ee(e){return y.call(e)}function te(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ae(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;a<n;a++)if(e[a]===t)return a;return-1}function ne(e){if(!r||!e||"object"!==typeof e)return!1;try{r.call(e);try{d.call(e)}catch(t){return!0}return e instanceof Map}catch(a){}return!1}function ie(e){if(!m||!e||"object"!==typeof e)return!1;try{m.call(e,m);try{h.call(e,h)}catch(t){return!0}return e instanceof WeakMap}catch(a){}return!1}function re(e){if(!_||!e||"object"!==typeof e)return!1;try{return _.call(e),!0}catch(t){}return!1}function oe(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e);try{r.call(e)}catch(t){return!0}return e instanceof Set}catch(a){}return!1}function se(e){if(!h||!e||"object"!==typeof e)return!1;try{h.call(e,h);try{m.call(e,m)}catch(t){return!0}return e instanceof WeakSet}catch(a){}return!1}function le(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function de(e,t){if(e.length>t.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return de(M.call(e,0,t.maxStringLength),t)+n}var i=w.call(w.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return z(i,"single",t)}function ce(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function ue(e){return"Object("+e+")"}function me(e){return e+" { ? }"}function pe(e,t,a,n){var i=n?_e(a,n):S.call(a,", ");return e+" ("+t+") {"+i+"}"}function he(e){for(var t=0;t<e.length;t++)if(ae(e[t],"\n")>=0)return!1;return!0}function fe(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;a=S.call(Array(e.indent+1)," ")}return{base:a,prev:S.call(Array(t+1),a)}}function _e(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+S.call(e,","+a)+"\n"+t.prev}function ge(e,t){var a=W(e),n=[];if(a){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Z(e,i)?t(e[i],e):""}var r,o="function"===typeof C?C(e):[];if(I){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var l in e)Z(e,l)&&(a&&String(Number(l))===l&&l<e.length||I&&r["$"+l]instanceof Symbol||(k.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"===typeof C)for(var d=0;d<o.length;d++)O.call(e,o[d])&&n.push("["+t(o[d])+"]: "+t(e[o[d]],e));return n}},4765:function(e){"use strict";var t=String.prototype.replace,a=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},5373:function(e,t,a){"use strict";var n=a(8636),i=a(2642),r=a(4765);e.exports={formats:r,parse:i,stringify:n}},2642:function(e,t,a){"use strict";var n=a(7720),i=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},d="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",u=function(e,t){var a={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m,p=t.parameterLimit===1/0?void 0:t.parameterLimit,h=u.split(t.delimiter,p),f=-1,_=t.charset;if(t.charsetSentinel)for(m=0;m<h.length;++m)0===h[m].indexOf("utf8=")&&(h[m]===c?_="utf-8":h[m]===d&&(_="iso-8859-1"),f=m,m=h.length);for(m=0;m<h.length;++m)if(m!==f){var g,y,v=h[m],b=v.indexOf("]="),M=-1===b?v.indexOf("="):b+1;-1===M?(g=t.decoder(v,o.decoder,_,"key"),y=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,M),o.decoder,_,"key"),y=n.maybeMap(l(v.slice(M+1),t),(function(e){return t.decoder(e,o.decoder,_,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===_&&(y=s(y)),v.indexOf("[]=")>-1&&(y=r(y)?[y]:y);var w=i.call(a,g);w&&"combine"===t.duplicates?a[g]=n.combine(a[g],y):w&&"last"!==t.duplicates||(a[g]=y)}return a},m=function(e,t,a,n){for(var i=n?t:l(t,a),r=e.length-1;r>=0;--r){var o,s=e[r];if("[]"===s&&a.parseArrays)o=a.allowEmptyArrays&&(""===i||a.strictNullHandling&&null===i)?[]:[].concat(i);else{o=a.plainObjects?Object.create(null):{};var d="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=a.decodeDotInKeys?d.replace(/%2E/g,"."):d,u=parseInt(c,10);a.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(o=[],o[u]=i):"__proto__"!==c&&(o[c]=i):o={0:i}}i=o}return i},p=function(e,t,a,n){if(e){var r=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=a.depth>0&&o.exec(r),d=l?r.slice(0,l.index):r,c=[];if(d){if(!a.plainObjects&&i.call(Object.prototype,d)&&!a.allowPrototypes)return;c.push(d)}var u=0;while(a.depth>0&&null!==(l=s.exec(r))&&u<a.depth){if(u+=1,!a.plainObjects&&i.call(Object.prototype,l[1].slice(1,-1))&&!a.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+r.slice(l.index)+"]"),m(c,t,a,n)}},h=function(e){if(!e)return o;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?o.charset:e.charset,a="undefined"===typeof e.duplicates?o.duplicates:e.duplicates;if("combine"!==a&&"first"!==a&&"last"!==a)throw new TypeError("The duplicates option must be either combine, first, or last");var i="undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:o.decoder,delimiter:"string"===typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:a,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){var a=h(t);if(""===e||null===e||"undefined"===typeof e)return a.plainObjects?Object.create(null):{};for(var i="string"===typeof e?u(e,a):e,r=a.plainObjects?Object.create(null):{},o=Object.keys(i),s=0;s<o.length;++s){var l=o[s],d=p(l,i[l],a,"string"===typeof e);r=n.merge(r,d,a)}return!0===a.allowSparse?r:n.compact(r)}},8636:function(e,t,a){"use strict";var n=a(920),i=a(7720),r=a(4765),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,d=Array.prototype.push,c=function(e,t){d.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,m=r["default"],p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,format:m,formatter:r.formatters[m],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},h=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},f={},_=function e(t,a,r,o,s,d,u,m,_,g,y,v,b,M,w,x,L,k){var T=t,S=k,Y=0,D=!1;while(void 0!==(S=S.get(f))&&!D){var j=S.get(t);if(Y+=1,"undefined"!==typeof j){if(j===Y)throw new RangeError("Cyclic object value");D=!0}"undefined"===typeof S.get(f)&&(Y=0)}if("function"===typeof g?T=g(a,T):T instanceof Date?T=b(T):"comma"===r&&l(T)&&(T=i.maybeMap(T,(function(e){return e instanceof Date?b(e):e}))),null===T){if(d)return _&&!x?_(a,p.encoder,L,"key",M):a;T=""}if(h(T)||i.isBuffer(T)){if(_){var C=x?a:_(a,p.encoder,L,"key",M);return[w(C)+"="+w(_(T,p.encoder,L,"value",M))]}return[w(a)+"="+w(String(T))]}var A,I=[];if("undefined"===typeof T)return I;if("comma"===r&&l(T))x&&_&&(T=i.maybeMap(T,_)),A=[{value:T.length>0?T.join(",")||null:void 0}];else if(l(g))A=g;else{var E=Object.keys(T);A=y?E.sort(y):E}var O=m?a.replace(/\./g,"%2E"):a,P=o&&l(T)&&1===T.length?O+"[]":O;if(s&&l(T)&&0===T.length)return P+"[]";for(var N=0;N<A.length;++N){var H=A[N],F="object"===typeof H&&"undefined"!==typeof H.value?H.value:T[H];if(!u||null!==F){var $=v&&m?H.replace(/\./g,"%2E"):H,z=l(T)?"function"===typeof r?r(P,$):P:P+(v?"."+$:"["+$+"]");k.set(t,Y);var B=n();B.set(f,k),c(I,e(F,z,r,o,s,d,u,m,"comma"===r&&x&&l(T)?null:_,g,y,v,b,M,w,x,L,B))}}return I},g=function(e){if(!e)return p;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=r["default"];if("undefined"!==typeof e.format){if(!o.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");a=e.format}var n,i=r.formatters[a],d=p.filter;if(("function"===typeof e.filter||l(e.filter))&&(d=e.filter),n=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:d,format:a,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var a,i,r=e,o=g(t);"function"===typeof o.filter?(i=o.filter,r=i("",r)):l(o.filter)&&(i=o.filter,a=i);var d=[];if("object"!==typeof r||null===r)return"";var u=s[o.arrayFormat],m="comma"===u&&o.commaRoundTrip;a||(a=Object.keys(r)),o.sort&&a.sort(o.sort);for(var p=n(),h=0;h<a.length;++h){var f=a[h];o.skipNulls&&null===r[f]||c(d,_(r[f],f,u,m,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,p))}var y=d.join(o.delimiter),v=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),y.length>0?v+y:""}},7720:function(e,t,a){"use strict";var n=a(4765),i=Object.prototype.hasOwnProperty,r=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),a=t.obj[t.prop];if(r(a)){for(var n=[],i=0;i<a.length;++i)"undefined"!==typeof a[i]&&n.push(a[i]);t.obj[t.prop]=n}}},l=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(a[n]=e[n]);return a},d=function e(t,a,n){if(!a)return t;if("object"!==typeof a){if(r(t))t.push(a);else{if(!t||"object"!==typeof t)return[t,a];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,a))&&(t[a]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(a);var o=t;return r(t)&&!r(a)&&(o=l(t,n)),r(t)&&r(a)?(a.forEach((function(a,r){if(i.call(t,r)){var o=t[r];o&&"object"===typeof o&&a&&"object"===typeof a?t[r]=e(o,a,n):t.push(a)}else t[r]=a})),t):Object.keys(a).reduce((function(t,r){var o=a[r];return i.call(t,r)?t[r]=e(t[r],o,n):t[r]=o,t}),o)},c=function(e,t){return Object.keys(t).reduce((function(e,a){return e[a]=t[a],e}),e)},u=function(e,t,a){var n=e.replace(/\+/g," ");if("iso-8859-1"===a)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},m=1024,p=function(e,t,a,i,r){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===a)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",d=0;d<s.length;d+=m){for(var c=s.length>=m?s.slice(d,d+m):s,u=[],p=0;p<c.length;++p){var h=c.charCodeAt(p);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||r===n.RFC1738&&(40===h||41===h)?u[u.length]=c.charAt(p):h<128?u[u.length]=o[h]:h<2048?u[u.length]=o[192|h>>6]+o[128|63&h]:h<55296||h>=57344?u[u.length]=o[224|h>>12]+o[128|h>>6&63]+o[128|63&h]:(p+=1,h=65536+((1023&h)<<10|1023&c.charCodeAt(p)),u[u.length]=o[240|h>>18]+o[128|h>>12&63]+o[128|h>>6&63]+o[128|63&h])}l+=u.join("")}return l},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],a=[],n=0;n<t.length;++n)for(var i=t[n],r=i.obj[i.prop],o=Object.keys(r),l=0;l<o.length;++l){var d=o[l],c=r[d];"object"===typeof c&&null!==c&&-1===a.indexOf(c)&&(t.push({obj:r,prop:d}),a.push(c))}return s(t),e},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},_=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},g=function(e,t){return[].concat(e,t)},y=function(e,t){if(r(e)){for(var a=[],n=0;n<e.length;n+=1)a.push(t(e[n]));return a}return t(e)};e.exports={arrayToObject:l,assign:c,combine:g,compact:h,decode:u,encode:p,isBuffer:_,isRegExp:f,maybeMap:y,merge:d}},6897:function(e,t,a){"use strict";var n=a(453),i=a(41),r=a(592)(),o=a(5795),s=a(9675),l=n("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],n=!0,d=!0;if("length"in e&&o){var c=o(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(d=!1)}return(n||d||!a)&&(r?i(e,"length",t,!0,!0):i(e,"length",t)),e}},920:function(e,t,a){"use strict";var n=a(453),i=a(8075),r=a(8859),o=a(9675),s=n("%WeakMap%",!0),l=n("%Map%",!0),d=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),u=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),f=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a},_=function(e,t){var a=f(e,t);return a&&a.value},g=function(e,t,a){var n=f(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}},y=function(e,t){return!!f(e,t)};e.exports=function(){var e,t,a,n={assert:function(e){if(!n.has(e))throw new o("Side channel does not contain "+r(e))},get:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return d(e,n)}else if(l){if(t)return m(t,n)}else if(a)return _(a,n)},has:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return u(e,n)}else if(l){if(t)return h(t,n)}else if(a)return y(a,n);return!1},set:function(n,i){s&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new s),c(e,n,i)):l?(t||(t=new l),p(t,n,i)):(a||(a={key:{},next:null}),g(a,n,i))}};return n}},1527:function(e,t,a){var n=a(4778);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("4d95524b",n,!0,{sourceMap:!1,shadowMode:!1})},1173:function(e,t,a){var n=a(1084);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("81df3a46",n,!0,{sourceMap:!1,shadowMode:!1})},1598:function(e,t,a){var n=a(5215);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("75fe7ce8",n,!0,{sourceMap:!1,shadowMode:!1})},6324:function(e,t,a){var n=a(8541);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("6bd171cc",n,!0,{sourceMap:!1,shadowMode:!1})},7025:function(e,t,a){var n=a(6118);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("18f9fe98",n,!0,{sourceMap:!1,shadowMode:!1})},6601:function(e,t,a){var n=a(1246);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("7a2feaa2",n,!0,{sourceMap:!1,shadowMode:!1})},5674:function(e,t,a){var n=a(4461);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("7f05f9e6",n,!0,{sourceMap:!1,shadowMode:!1})},6994:function(e,t,a){var n=a(7055);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("51b550a0",n,!0,{sourceMap:!1,shadowMode:!1})},7384:function(e,t,a){var n=a(1655);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("1c1c92ac",n,!0,{sourceMap:!1,shadowMode:!1})},2653:function(e,t,a){var n=a(2596);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("039840ca",n,!0,{sourceMap:!1,shadowMode:!1})},8840:function(e,t,a){var n=a(8875);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("2ca8e06e",n,!0,{sourceMap:!1,shadowMode:!1})},2342:function(e,t,a){var n=a(2915);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("6def73ea",n,!0,{sourceMap:!1,shadowMode:!1})},1819:function(e,t,a){var n=a(1788);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("04af498a",n,!0,{sourceMap:!1,shadowMode:!1})},3127:function(e,t,a){var n=a(9296);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("33ee1fc5",n,!0,{sourceMap:!1,shadowMode:!1})},8800:function(e,t,a){var n=a(1261);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("25a501d6",n,!0,{sourceMap:!1,shadowMode:!1})},5501:function(e,t,a){var n=a(7492);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("492d438f",n,!0,{sourceMap:!1,shadowMode:!1})},2457:function(e,t,a){var n=a(7744);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("10a14312",n,!0,{sourceMap:!1,shadowMode:!1})},5421:function(e,t,a){var n=a(6274);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("2226471e",n,!0,{sourceMap:!1,shadowMode:!1})},8416:function(e,t,a){var n=a(2267);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("d613cd92",n,!0,{sourceMap:!1,shadowMode:!1})},8027:function(e,t,a){var n=a(8921);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("291d865d",n,!0,{sourceMap:!1,shadowMode:!1})},9548:function(e,t,a){"use strict";function n(e,t){for(var a=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],s=r[1],l=r[2],d=r[3],c={id:e+":"+i,css:s,media:l,sourceMap:d};n[o]?n[o].parts.push(c):a.push(n[o]={id:o,parts:[c]})}return a}a.d(t,{A:function(){return h}});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,m="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,a,i){d=a,u=i||{};var o=n(e,t);return f(o),function(t){for(var a=[],i=0;i<o.length;i++){var s=o[i],l=r[s.id];l.refs--,a.push(l)}t?(o=n(e,t),f(o)):o=[];for(i=0;i<a.length;i++){l=a[i];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function f(e){for(var t=0;t<e.length;t++){var a=e[t],n=r[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(g(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var o=[];for(i=0;i<a.parts.length;i++)o.push(g(a.parts[i]));r[a.id]={id:a.id,refs:1,parts:o}}}}function _(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,a,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(d)return c;n.parentNode.removeChild(n)}if(p){var i=l++;n=s||(s=_()),t=v.bind(null,n,i,!1),a=v.bind(null,n,i,!0)}else n=_(),t=b.bind(null,n),a=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else a()}}var y=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}();function v(e,t,a,n){var i=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var r=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(r,o[t]):e.appendChild(r)}}function b(e,t){var a=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),u.ssrId&&e.setAttribute(m,t.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}},4017:function(e){"use strict";e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNEBCAgICAkICQoKCQ0ODA4NExEQEBETHBQWFBYUHCsbHxsbHxsrJi4lIyUuJkQ1Ly81RE5CPkJOX1VVX3dxd5yc0f/CABEIAIQAhAMBIgACEQEDEQH/xAA0AAACAgMBAQAAAAAAAAAAAAAABQYHAQIECAMBAAIDAQEAAAAAAAAAAAAAAAAEAQMFAgb/2gAMAwEAAhADEAAAAGNrYcgnHACccAJxwAnHACccAJxwAn45IB4pJsB6IcJ3AAVG5nW4VAO5lvlQAW+VABb5UAFvlO2ks6wAz9fzAAHodwncBinLkpbc83dPw2qJR64iBTxdvIviHXE+S1m80crjnOXlN2QMnd8wAB6HcJ3AFJXbRu95u8gML0cChd4418OpJjK4fMTAjK1R+cFeyaJeAJPeYAA9DuE7gMUTe9Beh85fotMTcZC0BlFHOl9CpDM9WVYNKu5vz1kDL1vMAAeh3CdwGKwtAbUpsuQfQpsuQCmy5AKbLkApu0WYsyAZ2j5gAD0O4o3Tax7q4Kv+7S0744doxTLPhn703c/RD3N9Mr+qZKm3P+6t965s0rVgrfTRwGdpSjt4ev2/jWHTx9cxjXfSOnffHHiLvfsn3puSdfF16CPT9Pl9Frfpv89+Ckz5nmvSxl4Em+4dcABOMARgCTfYIncCJzoHM16BXZ//xAAvEAAABgECBQIEBwEAAAAAAAAAAQIDBAYFFjYHEBEUFxI0FSAkMhMhMTM1QEJB/9oACAEBAAEIAOG3DbFO4qNl8uVJqA0TUBomoDRNQGiagNE1AaJqA0TUBomoDRNQGiagNE1AaJqA0TUBN4fVCWw4ydxra61nZGPOk7Qr39DjWRFb2BSdoV3mpaEF1V3McdzHHcxx3McdzHHcxx3McdzHCXmVH0Tz427vYFJ2hXeS1EhClHLlvTn1PPdpIHaSB2kgdpIHaSB2kgdpIHaSApC2VF6q1Odm40jd5cbd3sCk7QrvKR7d4RT+ojh99qO0t12DncZPWbbHyOOtNINbs2341jqljKZV7JyCfdppH8NdM+XG3d7ApO0K7yke3eEQ/qIwzUA8hjno5TIUzHvE3IxFufj+lmdHlxpTJPMTbPiIfVIm3Oe91TFekSpjpG7Cq+Wl9DVCp+OY6KkNtttIShvlxt3ewKTtCu8pPt3xEP6mNykxY8ppTT+XqD7HqegGpaPW2cHBZWb0NmDSWU9FTYmPhQk+mP8ALxt3ewKTtCu8pPtnxDP6mL8io7ClktQuXfQ+3ksZz4q43jEx8NKnsWBuECdyGRl5NZ0/ISp2Od7nlxt3ewKTtCu8pPtnxDV9VF+a/fx0QWHIsxouMizMGuG5Z2DxMqRg/iWSLKUVtacZIcPlxt3ewKTtCu8pXtnxFcSiRHWrVleGrK8NWV4asrw1ZXgq0VpZpNTlnrTpdHG7LWGuv4a7HVnFepyM9HfYQ5H5cbd3sCk7QrvIyIyMjytJybMhZwdJ2EaTsI0nYRpOwjSdhGk7CNJ2EaTsI0nYRV8VJxWMJmTy427vYFJ2hXf6HG3d7ApO0K6HX2GS6uu2LDNh2341P2OXRH+F3WT/AJXdcj/zWmUL8iTdMqG7lkC/VizT3Iz0gN23r97dohq+9vPYxwNyY7v7Y427vYETMZNvEYiI2S1LP1LQfMxVYiHpUl5zKT5SIbqHo8STJWZMY5qNGkH8RKwupiG0yk+pmZkCBBjITWP2+LT7kmxQXnI/s8YGzDZgv0Bgxjc0/jYMltjCZya/JVFmZaS/g4bMOAvDdxCfcCDCDBAgQIcUv5zHiKaXcThZTTZhswkGDEaQTKjJaLBGhxXG8fj7A23FOFkpufYXDODjkGEGCBAgQ4oPNLsTDKMJZ8rhEraj+QZ4LiJkh5Iyo8kZUeR8oPI2THkXJjyJkh5EyQ8j5QeS8uPJ2ZHk/NDyhmw9xPsKmlIZdddedcdd/8QAPRAAAgEBBAYHBQYFBQAAAAAAAQIDAAQFEZIQEjFRVbIGICFTlLHTEyIyYZNBUnGRs9EUQEJygSNigqHC/9oACAEBAAk/ALMJ5pxrxxydqIhro9d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0q47Ggbu4xGcyYGmZ4sBJA7YYtG1cOs/J/IcOi53rh0HJpYAfM4VNHmFTR5hU0eYVNHmFTR5hU0eYVNHmFTR5hUiE7gQepw6LneuHQcmj7ATRLsx7BtA3ACrLJ9M1ZJPpmrLJ9M1ZZPpmrLJ9M1ZJPpmrJJ9M1ZJPpmo2jbaMQVNHF43KFt+nh0XO9cOg5NHdt5V3iedOFRRiSan98f0uNUn8MerIqKNpY4Cg07b17F/M0ioQuqAu6h2Gc4aeHRc71w6Dk0d23lXep504RjgVJ3rUTRsDirfYfmpoGWLYJB8a/vUyvGftBqf2rj+mL3qjSBd/wAbVLJNIdmJLH/AqMQJvk/amedsq0gVFGAAGAGnh0XO9cOg5NHdt5V3qeeiJXQ/YaJlj2mM/GP3osuJwZe0bN4qysE++/uLVpLn7kfYKs6J8wO0/ietw6LneuHQcmju28q71PPqQoX+8VBOi2yRo3+nqISO3tONWk2ezmMGabWCgE76vM2yFkJYhiy7KvoWUQysqxl9XEDdUhkeOXVDHaQQDp4dFzvXDoOTR3beVd7H5jrd/wD+TVkMljmRDIwJBBSklSzCM64b8KsEkcqytqiEkBvmQTSkLJOSv4AaeHRc71w6Dk0d23lRwVZEJPyBq8UytV4plarxTK1XimVqvFMrVboiRsxRv2q2xMNzIxq2Qp/bGw8hVqgY7zGSfKnR4mHuldmnh0XO9cOg5NKCaAklRrAMtWA51qwHOtWA51qwHOtWA51qwHOtWA51qwHOtWA51ph7RpC5UHELjp4dFzvXDoOT+Q4dFzvXDoOSpUQf7mAq2Kx3IC1RzP8A4Aqwt/yerFHmNWeAZqjs+U1FBlNQQHNVkh9nGVDe8R2tVj/J6hlX8jU5X+4EVMjfgQdHDoud6tkiQJdtkwVDq7YVNMWO8nE9WESLDCcEI1sWNdHo7OJFKiXVHu41C8hUYnVGyonXBGKA4apIB7DXY4lGqWRThGBsO89W0OBuJxH/AHXxm7Y/1Hrh1i/QTrQe/I2PtSfhrWtUEqnXBAJUb6i9nHKxb2+3WH71esU4iQsSF2EDHDsPX4cn6slEtFJYIEDYEe/Agide3cV6ya8Z2irEI537DMas38VZ9q4/EtWQWeBvj3t12xeCwxxyjc5ZpPJqaOSzO2u9nmXXjZsMAd4NXTdv5T+pV13d+U3qVdl3ZZvUq7LtyzepV2Xdlm9Srru3LN6lXXduWb1Kuu7cs3qVdd25ZvUq7LuyzepV23dlm9Sruu7LN6lXdd2SX1Ku67skvqVBYYHOyWONi652YVIzyOxZ3YkszHtJJO0mv//EADIRAAEDAgIHBQgDAAAAAAAAAAECAwQAERIxBRQVIVORkiBRVIHREBMiIzJBYXEwQ4L/2gAIAQIBAT8A/iiQ1SSr4sKU5mtlI8SOVbKR4kcq2UjxI5VspHiRyqVAMdsOBYUm9uxogfLk+VQobMlCwXcLt9wqREejqstO77KGRpmDJe+lsgd53Cho2OyAqS+P1lUyZHWwGGEnCCN/Y0MPlSvKgSCCDYimNLuITheR7zuORpM+VLdS0haWsWVCKt1tTpeSVBJUQbk2TTsJbTSllaThw4gL7sXY0ILtSv8ANatI4DnSa1aRwHOk1GRIYfbd1dw4Te2E02t1thbYiPXUlQOeE4vva2dSZLhj+7Uw6i+HeskgYe6/YiTXoilFu2/MHI1t2Xw2uR9a27L4bXI+tbdl8NrkfWtuy+G1yPrUrSciU2G1pQE3vuHtY0MpxtDi3gApIUABfOhoiMnMrV50nRsIf08yaLUMPllERCiLXJUBn+DT0SCkKswkqAvhGdJhNKx444Rv+GyjStHRzliHnS9GkfQ5zFKSUqUk5g2qIQqHGIN/lJHIUqhUiOD7wJjBS3D9d8vzc5WoMSklCEosvGSp3cQod5vvpYo0aeILrhGRWaQ+82LIdWkdwURWtSfEOdRrWpPHc6jWtSvEO9RrW5XiHes1rMnjudRrWH+MvqNF54ixdWR+z7P/xAA1EQABAwEFBAYKAwEAAAAAAAABAgMEAAUREiExFBVTkhMgUlSR0RAiMjNBQ1FxgrEwQmGh/9oACAEDAQE/AP4rQtBEJKPUK1L0Gmlb+d7meat/O9zPNW/ne5nmrfzvczzVAtVMt1TSmihYF4zv6lve+h/l+xVoT5ERxshgKZI9ZX+1Fmx5Sb215/FJ1FSLShsXhboKuynM0q15cglEOMfuc6s+z5TclUqSsYiDlqbz1Ld99D/L9iiAoEEAg6g1IsNpa8bDha+o1FKs2FCZU84hTxTrf5UZaGnUMhhSUlSUggAC9VMz0OupbDahixYVG7PD1Ld97E/L9itpj8dvmFbTH47fMKlLjvsONbS2MQuvxA04005IQ4ZbOFKkkaYhh+F9+lRYrYk9Kl9peHFkhIBOLtEdSXDZlpSlwHLQjUVuKJ23fEeVbiidt3xHlW4onbd8R5VuKJ23fEeVRbMjxXC4grKrrsz6X7XS24ttLRJSogkm7SjashWgQKNoSz83/goOSywHlSlJBvuASTp9qakzVFN7ygkn2jpSpjqcGB8qyzvSKFoPjXCaRaQ/u34GkqC0pUNCAalAplyAR8xR8TSaNMPkdGVSClCB7F2tdPGUFLUu9OABLWYKT9BdlSPSyCGWgdQgUtllw3raQo/6Aa2aNwG+UVs0fgN8orZo3Ab5RWzRuA3yitnj8FvlFdAxwkcooMsg3hpAP2Ho/9k="},9244:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAASkUlEQVR4Xu1dCXhVxRX+7817L/tGdkIWhKAmItZSpFRBQVGgoiK4tIJWoLiAbIpbKa4sKrILCIJS0SqlLgWpa+tStYpUNIlWZEsIISRkIXvee/f2O/NIviTkvXvn3fuw9zHn+/IJ5szcmXP+OXPmnDODhE5U4OiXp6rKJElShkNFpgpEdeYRf7eOBCSgDhKKVFV+R5Lk9Xktuwvaj15q/Ut+7jiHvKfwaRW4XQVk60xRjFSvBCRAkYDVSk7urHMKt7RQOwYAUr60p3CHCgzV25ngs64EJOADNSd3BIGAAaDQnrdSAe607pTEyHklIAOrcp0FUyXa86G6vhFmn1eE1uan7QCS7Vwp3953CaDMsPZ0xOj9k4C8VCpw5BWoKnL960C0srIEJAmFUoE9r1Yc9aysRv/HTkdEKd+ep/rfhWhpdQkIAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbH/38DgJBusYi8+AK4Dpeh4fPdBqflR3NZhhzmgGS3ASEhgCxDkiX2Z6WuAUptvR+dtmsiSZBsIexHVVTA5YLqVoz1aULrnxwA9ow0RF1xEeLGX4WIAX1x+LZ5qHr+NROm5rsL+q49IxX2Hqme/2akwZaWhJC4GMiR4ZAcdsBmQ0h0BKo2bEX5wnWAyveajqN3Fhy9MuDITgf9WY6OhBwVAdXpYoBylVei5ft9aDlQgqZvf4Da1BzweXf+wE8DAElCaE4W4idfh+hRQ5hwiGhFEACqXwgAAGQZoWf2RMzVwxBxYX84eqbDlpLIlKJFlWv+jNIZ8wFFe8UScKKGX4i48aMR/vM82NJTIYX4fnnXXVmD5u/2oubVHaje9DqU+katIZn2+1MKABJE2M9yEX/rtYi59nKExMd0mEhAACDLCP9FXyTccSOiRw9jq5uXKp95CaWzFmoCIGJgPyTdPwWRlw7ybCW8pKpo/OIblM1dhvp/fsHb2i/+UwIAEkbMVcMQe+MoRA4bBDkirMvBmg2AqBGD0W3yOEQOGaBrpXuTYOXaV1A6/XGfAOg25XqkzJ9l6Dut36ftoeKp51Dx5HNQXW6/FKu3UUABQCs8esRgZupp5XtTfOtgzQKAHB6Kbnf8Bon3TUFILP9r92SC1cYmzx69twjVm97A8dff8yrTxNm/Q9Ifp4K+axaRLI4+tAIVi9aZ1WWX/QQEAPb0FESNHIJuk8YyxeslwwAg3+LMnkh+5C7EXH2p3s8yPndFFZoK96LhX7vQ8OkuNH+3D66SI5qeeuSQXyBjy3KExEVzfU8Ps7vqOA6Ovh2N/w7cqch0AKQtfQCRl1yA0LN76ZmjqT5A2LlnImPLMjh69tD97ZZ9xahctRn1H3/FHDG1mT2jr4vs3ZORuW0tws7J0cXvDxM5hocm3Kvpf/jTN7UxHQB5Lfn+jsX/U4AkIaxvH/R4aTFC+2Tr+r6r7BgqFm9A9YtvstXvD6U8Oh2J90722pS2Endlted4FxICOTKCWQop1KH7c+6aOuwbMBYt+w/pbsPDGBQAsGelI/O1lbpXYsMnX6Fs3go0fLyTR1YdeClu0POjF0HbXWeiwBGt3Pr3PmXne3dVDSS7HbYeqQygMWOGg7YOigloEcUMisfdhdq3PtJi9ev3gQGAorDVrDQ0sX2UzCtF2eJuvsbnIP3xAWwpCeixeTEiB/fXFAB51NUbt6LsgadBK8sIJT80DUkPTDmpCwrq0Imhbod3hdGpKHzAuUhb9iBo2/ItFBWlMxeAjqKBINMBcHbVl2j+7340fZWPunc/Rf0/PmfCpnN/xsuLTQUABV1SFsxGwrSbtGWjqqh7+xMc+t39cB+r1ub3wUHefuaba9gqbk80TwpkHd/6tq7+o0ddjB6bn/J9OlIUlEwJUHAsED5A1GWD0Fy4F86Ssg5CiB13BZusL+KyAJKEuAlXo/uKP0AK0z5+tew5gINX3YmWHw/qUo4vprB+ZyH77edA+Ys2UlVUPLWBBXH0RAypnS0pHlk71vu0AmqLE0VjpqLunX8ZHndXHZhuAbyN0mwA2JK7eYTXt4+mYEiIJZPnoublbZq8ehgoxJv+/EIW42cRP1lmTtrBUVO4ABaSGI/st55F2Hlne/2sq/Qo9va/Fq5y/xxVrflYFgBxN41G+ob5WvNjvydnj1aRu7bBk+GTTvxQbF9VPdk53kRPdjpif3slyIyH5uWgcvkmz+rnIApRZ/1tTUdL0r69qqItD8E5Pr3DsCQAQhLikP3uRl1ev9LYjLL7F+P4lh1w5GTDlpwAWnm0cuko6D5WhZa9xXDX1LIYAHndPGCgWEDkxQNQ9/5nrD+9JMdEIW3J/SwL6o1cRytx8NdT0PT1d3q75eazJADib7kG3dc+4lnJGkRx9cavCuDonYmQhHiWj2e5fsmTfYTbzfL9Df/ejbr3PkP9+58xc84TENIaQ/vfU0KMAJh490Qk3DXe6xzo++UL1qJ8/lqe7rl5rQcAWUbm1uXM9AaCWOz/hddQ+eyroFAsjzXwOR4qOAm1I/yCfkh68PaTThAdLL/LzRzKigVrQBYskGQ5ADjOyED2uxtYAUfASFFYIKds7nI4i0t1e/Unjae1Cig8DI5emYifOBaxYy5jFsAXkc9SfNM9ni1FRw2CETlYDgCxYy9nId9TQaSIw1MfZTkCHiL/gn7s2T3YES965GBEXX7RSfUPXvtUFFT/+S1UPLEezd/vCygILAcAbxE4HgXx8NZ/8DkOjb9H9zGMFB97wyjEXHMpS4jRyveXmgt/RMnEB9G4q9C8rajTYCwFAKonSH9hESsu0UusoMLl8uyligIpPMxTnEnndx1OJH2HcvKUO9BjjvUEd/SOnfjIgT00fg5XfIGnf0sBgIo2z6AETFa65hxZLqK2HvUffsGSMs0/FjGP35YYj/CB5yFmzGWgIxydCLSIsnoHht3sWYkaRAEqihJSbMAsokRQyS33wl1da1aXbf1YCgAUeev93Q7NIku2cnbms/N/0zf/9Xjz7YgsQMSFPwfVLrC6BR2WgE4FpdMe1TTFDADvbEDoWWewL7aP37DPtAahOFRJVqxkwhzU/EVfjoGja/PrAbx93IxQMBVe9Nqlo2JYVXHknidwbPmffMoi4qL+yHhpMSijqEXOgyU4MHyiZl6eglTd1zzMwsR0lleaWpjlIUtDGVFbaiJCkhLYFsRTOFr/4ZcsLWy2FbCUBaBKIzKvWkQFGEXXz/SZkmV9SBISZ97MMopaVoD6PDztMc2SdbIutrRkz+p3OlltIYWaKQRNSSuKRFLZGpXMxYwe6iki1WGBKEK5/5IJrGrYTLIUACjTmLX9Wc35U2TvwIjJumrpaKVmv7cR9szumv1S6Rjl5g0TxQdCHez+QMr8mQjtnanLFzn68EqUP77G8Oc7bIen6h+PNrwFSBIr+qAcgBYpx+uwb/BNoGOUFpEZpriCnpNFzStvMY/cTKLCENoy9NQV1m77B4rGTDPz8xbyAU7U/fXauVVTAASA/RePR1P+Hk1eYki6bzKSH5muycsUMHa6ruOgZmftGMgXydyyzHtW8AQvObb7Bt3A07Umr6W2AAqq5BRu19wz2RZwxSTd+yWVkKdvXKB5a6j2zfdRdN1M0wFADmLqk3M0K5sI0HvP911Wp6nxTgyWAgCLA3y8WXO/Ju+7+MbZoBWrhyIG/QyZf12puQKrX9qGklvu09MlN0/0lUOR8coST7bSC9F1sQPDb+Xu21cDSwGA7vXRStW69EFBoCOzF+oupKTLK1nb1rISLV/ErohRLCAARL4AjcHXBRMqYS+59QFTv24pANDMqQ6f6vG1qGrdqyyRoyedy/bgvyz3maxhV7XmLmVp2kAQlbZRiRsFkrwRi20s22Tq5y0HgKhLf4mMrSs17+HRdaoDI3+v62EHOqF0X/+4zz7p8kjxjbNAAZnO1FoXyP6/nw8/UIyDtiFvt5fJr6E4QNPu709vANCF08w3VoOuYvsiunNfdPUd2q+NSJLnFDBvqs+zOCVlDo6Y1CESR8kpqjJy5GQhJCaKOafOQ0dY4obdO9Cby5dl5gCSI+iNard/iEMT5ugCNA9CLGcB2DYw6xYkPz5LMydwbOkLrFDTV3kXReLoCBY5dKB3uSkKu0xS8fTzbTwU1YufcBVirhuJ8PPOAtX4EVEBCZVwH1vxIujeoZ5XP6hWMWPzk16rgykZRfEHvU7t/ycAbhiFHpsW+Rwb7bOldzyEqo1/9clHpwGWcTuRcPHGTKuw+PoZrCqYFXt2JllmBZ20//u6pkV5gP1DxsN5+GhbDzHXXMYCOJ0fuWhlIFN9bMnzqN3xEXvxo6tiU9o6qDooddHdrIagKyKZ1P39I3aq0QMmHuUT7ymxAFQImTB9AlIW3u17fKqKo/OWex5G0HhAKe63VyJt1TzNNwcoG3hk1gK2d1JNQOuDC1SfR8+3pC3/A8iv8EZkPSgEW7F4Y5tDyW4Gvf4MuwXti6ht9Z/eYPf66I6gUt/Qti3QcS80tze63XYDuyvYtfZVVhHEikJ2+n/p1tcYTQcA7YtShOcZltZXtijOTvfgws/Xfiug4bOvcWTmfDhLy1kWjdXsA2zva2/KyQSnr3uUXTnzdXZmZrmkDDUvb0f9xzvhLCpl/DQWeqqGijS9kqKg9u+foOTmOR3uEtLDUlnb1jAF6iGKTNJ1OdeRck9qWpZhT0tiNQOUHfS28mk7Kb3zYXbFLlBkOgBirx+J2OuuYKtFioiAPS2RPcakVQjZNkFVBTlwBAD30WNQGhpBN3sq121hJdvtibJqVB5OZ2gtEDAQHa+D0uxkyTcy+b6ulJGloOtktPeSFWlPrOqH3gXgePyCR4EE9OYfDqD8sdU4/tq7PE25eU0HQMpjM5A4ZxL3QLQasBuyqzafxEYrmPbQ8P7neJ52M4FI+XQZo/yxZ7q+li1JSFsxl1X5ar0AxjMcVsVUU4uGT3aifNF6NH75LU9zv3hNBwAlVehYZTbRlevK1S932S150amLZnseg6JXwHSUeXVtd1XmsDX9p5A9C0f7tjeiSiK6mkZZPJ4HH7o0904Xc/Co+pgsHa16slanggICgMR7Jpo6djLZzAJ4AQB9jG7q0sNQtAXZUpM8jz36iKu3HyCtePYoVFkFjr/xAbuPR56/FtGlzqQHb0Pkr873FJuGheqzCHQfscXpqRgiwH37Axo+/xpVz20FXQY9lWQ6AMgs0qtgekKweidKpp2uSOm5d09Xt6OGDUT0ry+Bo09PFt1rffWTOaUnHqRkDia92NnYzPZ6Kv+u3f5PVoXLQ+RLRF4ykH2Tik3JQaTvsa2BnpxlH1SZ908mnhRP9xFpj2/aVcAepWJ1iwEo+NQzD9MBwISt476+nsG18kiSCqWhBXA6dTeToiJg754CR59s2JO7gWr1yFSrpIj6Rs9TraSIPQfhKi6FUtdoCLTM2kSEw56WDFtaouc9oMgwFh1stTDuuga4Dh+Fu6ISSrOLWZ2fmkwHwE89IfF9PgkIAPDJK+i4BQCCTqV8ExIA4JNX0HELAASdSvkmJADAJ6+g4xYACDqV8k1IAIBPXkHHLQAQdCrlm5AAAJ+8go5bACDoVMo3IQEAPnkFHbcAQNCplG9CAgB88go6bgGAoFMp34QEAPjkFXTcAgBBp1K+CQkA8Mkr6LgFAIJOpXwTEgDgk1fQcQsABJ1K+SYkAMAnr6DjFgAIOpXyTUgAgE9eQcctABB0KuWbkAAAn7yCjlsAIOhUyjchAQA+eQUdtwBA0KmUb0ICAHzyCjpuAYCgUynfhAQA+OQVdNwCAEGnUr4JSQX2vFoV8LxzKui0koAE1EkFjrwCVYX2C46nlWhOj8lKEgqlfHvfJYAy4/SYsphlRwnIS6UCR788qK5vVED731AV8gsaCUiAAsl2Lns3rdCet1IB7gya2YmJaEpABlblOgumMgDk545zSHsKd6jAUM2WgsHyEpCAD9Sc3BHnFG5p8byceAIE8p7Cp1XgdrEdWF7HXU6AzL4ErFZycmeR8ompDQCtLcgnUFVlkiQpw6EiUxwRrQ0GOupBQpGqyu9Ikrw+r2V3h6dQ/wcNK3yDzy/kxwAAAABJRU5ErkJggg=="},9162:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAmCAYAAACh1knUAAAC50lEQVRYR92YTUgUYRjHf4/arrnpxY+iIIQCpRCiWwSmQqIHzSi8aOguVLeo7NKlskOXog5dY8ekDtmHqH3Ql0pEdOgmmGVgEEWRrGWZmjpPzObYtvgxujtuNJdh3nne//Ob/zzvO++8wvRRamj+BNwA8lVJtttjOaeIsn3tj87er77S69UyNZ+W2DeLDH2AsjOWxNF9U5KUurwQb4ZTF4SZASk2dFCVTDdALM2FYCIdMVFmruMBZDtia80H8wckqBqP5JEa0SDzObPsIHPBJARkNhhXQQTFnx9C5qi8yJpxFcR68rL1w6zzTcxZfjaM6yDeJJMtWaNkpk7N6cyrL94O10GcjsT/BmQS6BHoQxgENihsRVnj1Ak7LhZHniZ7OPi4Vnojk9YbmvpWaBDlhCoep0BLAhHhSWc9RSISno3L76qXEN57tTJsJy4x9LCpXHANRGA8RSh46Jf+ig5N+/4ZA2GPtXSwANM8VN2pkSFVlRKDlwp5TmAW74jwvNsv2yzxkqAeM+FsZCKB010BOWm1FRt6RZUaV0AEjK6ABCzxIkNbUar+AhGudvmldhr0nAkNboF8AN5Z4gqbgPTIREmwvzMgl8KgQb0F7HYFZAHR1h1+9jaKmOUtmj02woAqvmUFEeFaYS61jcUyeeCFrnjdQ0v0a5sPaPHFOrva7exVVFkL5Mo2TR8OcXOx69/YQYQhr4+N96slZDnR38MjVQqdvI6o0fb7smiJS0WB5q6A1IWHa5MeUZPzi4Ww4uPhyKluvzSGQYLaplCZEBAR3gMfp5NbP2eORkk0bDwcGRDhoiirTTiEsjIhjiR72Gx/gYuDelzhTEJAMjLJaN8l38JTuqH7TKU5ISAiXPb4OKoj5PwkPIkVJARkKUln6xN7scaJ5J8AEWHK1d0Ax2YJo5H7I59UyXHcOZ6BQl+kI+0oFfHUd6oVnhDt4DJDc8eVJmsPDSHFqUiMcWMKz9KzqI/rDlEsUL8AMGlxuNqH28kAAAAASUVORK5CYII="},2622:function(e){"use strict";e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNEBCAgICAkICQoKCQ0ODA4NExEQEBETHBQWFBYUHCsbHxsbHxsrJi4lIyUuJkQ1Ly81RE5CPkJOX1VVX3dxd5yc0f/CABEIAIAAgAMBIgACEQEDEQH/xAA0AAABBQEBAAAAAAAAAAAAAAAAAQIDBQYEBwEAAgMBAQEAAAAAAAAAAAAAAgMBBAYFAAf/2gAMAwEAAhADEAAAANxctPiffcrQIcIStyISpRDyUAlQASiluhgsIytoZFjWRkGL5bxpKXCHkqBKgDygAg5SFY0tlq6W7+hcQDP3FaAzi849CZ9fBflJd9JS53RVdSKQD506pWEbqNZcUlnvOCvZ55dVGTVe35QTlLW36YFYKaskNjW9vFbVSKi4CxnFgW7rNlaVFrts5h3878L2+3W4iW/S2Wc45ARM+F/L9r+Ls495y6RzHYK3kSFenrdvf4D0jZ5jBv3YAYd+1BDGv15AZN2qICOutMvA87o3YG/iliOxrZnQugZ3wSLXPLzSLT0y8sq0dMvNItHS+CQETvheCcSVll3NQ5zFCZXxOBc0kDwX0Sc71q6pOaVSOmXmlWjok56z1f8A/8QAIBABAAECBwEBAAAAAAAAAAAAAQUEEQACAwYQEhQVMP/aAAgBAQABAgCCg/2nYK97/rfF73v+V73ve/5XvQ0uSM8Hh8Xj8fk8vlaSvpeO3bbripyasn9n7H1/r5JOmy4m+b9ttszUR81rU9bEiNHGaFPWSsXrTfPbtth3Emagmaeqr4ehh9aoq5XEJic57dtqu5UTNo69BO1k3qawjCYnOe3baTudMwiIiIweJzm/bZ7uClIQhSGIciCJIoi4jRneDF+0NKaUySZJEiSBXlcVpWtfXVgmL3EREREREREb3EREREzCIiI34ERERERyoiMXKcmBERERERmpz//EADMQAAIBAwAGBwcFAQAAAAAAAAECAwAEEQVTVHKRkhASICNBUXMTJDAxQnGhISJQUrFh/9oACAEBAAM/ALHQlhDbWsMYcRossqphpmX6m+PYabsJra5hjLmN1ilZMtCzfUv8m13OIwcKBlj5CrFFA9gp/wCn9TVns6cKs9QnCrTUJwq11CcKtdQnCrXUpwq21KcKttSnCrYjBhThQtZyoOVIyvZ7243B0XLLmCUKw8CAQa0pC5SVuq3kVFX+tHKKv9aOUVf6wcoq+1g5RWkZGCowJ3RVyFzPICfIAADo72DdPZ7253FqW2tUkifqsJVqCcLHLiOT8GoZ06kiAip7bLpl4/MfMffpmucM37I/M/M1FAvVjXH+moocpFh3/AqSe3d5GyxkNd7Duns5mutxaxYL6q9E9thHzJF5H5j7VBcp14nBHiPEVDMGkhxG/wCDUUOHmw7+XgKht060jAf6amuMon7I/IfM9Hubeoa72DdPZzNdbi1jR6+svTLC4eJyrDxFRy4jucI/9vA1HHmO3AZv7eAqSZy8jlmPien3NvUNd7Buns5mu9xaxo1fWX4PubeoaAlg3T2cz3m4tXF1YrHBGXf2qnFaW2RuIrSuytxFaU2VuIrSeytxFaS2ZuIrSWzNxFaR2duIrSGztUsFqyyp1T1ya72DdPZOjrsSkExsOq4FaLlQMt5F9icGtHbXDzitH7XDzirDaoeYVY7VFzCrHaYuYVZbTFzCrPaI+YVabRHzCrJFyZ0+wOaN3P1/koGFH8na6TtY54JELFFMkYbJjJ8D8ey0NYy3NzLGHEbGKIthpWH0rX//xAAvEQACAQQAAQoFBQAAAAAAAAABAgMABAURBhASExQWIlRyktEgMXOTshUhJjI2/9oACAECAQE/AJJZJZHkkcs7HZJ+OOSSKRZI2Kup2CK1Wvj1XDePtDj0neFHkkLbLAHQB1V/dY6wI6awPNPydYlK12hwXhG+0tdosH4R/tLVhfWF+xEFi/NHzdo1CiuJbK2/TXmESq8bLoga+Z1yc2rFnj4XZkYqwSQgjzGsfxGkidXyKBlI1z9bB8wrI8NpInWMawZSN9HvfpNY/hpETrGScKgG+j3r1GshxKkSdXxqBVA10mtAeUVfO8nCiu7FmZIiSfMOTm1aj+LyfTk/I0RVhlLuwfcT7QnvIf3U1kcpeX77lfSA91B/UURV5/ko/pxfkOTm1iJLSfFGzklCnvKw2AdMd7G67PYnxb+tPauzmI8XJ609q7N4jxknrT2rs1h/GSetPas5NZ22GFjHMHbuKo2CdKd7OuTVEURRFEURRFGnjeN2R1IYHRB5CKIoiiKIqOKSWRY41LOx0AK//8QALxEBAAIBAwAHBQkAAAAAAAAAAQACAwQREgUhIlFSkZIQQUOx0SMkJTEyRFNhYv/aAAgBAwEBPwAqVADYIksRJYiR9iRIksSxLESJOM12XIZ2hZACYseXL+nKb9yu8dLqPGebHTZvEecvS9PzsTGrbaJOMz1HpMqm4tflM/R7V54HZ8P0mLVo8Mxsnv8ArM2p3eOI3e+U01ntZPKVPt0O9jWcJnPxip/qnylqTUaTHmO0dfuSY9Ljwm1Tr72WrKn3tP7Y1nGdJYtRh15qKY2x2UdlNwj0nrX9vX02j0jrP4K+ljr9U/BPSx1mpfhHkzT0yXzuRrsdaxrOMSNZastWWrLVjWUvTJSt6WGqbiRIkSWrLVlqzJxqNrOwT//Z"},9274:function(t){"use strict";t.exports=e},2634:function(){}},a={};function n(e){var i=a[e];if(void 0!==i)return i.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}!function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p=""}();var i={};return function(){"use strict";if(n.r(i),n.d(i,{default:function(){return fi}}),"undefined"!==typeof window){var e=window.document.currentScript,t=n(5003);e=t(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:t});var a=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-wrapper",class:e.classObj,on:{click:e.handleBodyOnClick}},[e.awaitShow?t("LeftMenu",{staticClass:"sidebar-container",on:{getate:e.getate}}):e._e(),t("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView},staticStyle:{background:"#f4f6f9"}},[t("div",{class:{"fixed-header":e.fixedHeader},staticStyle:{position:"relative"}},[e.needTagsView&&e.showTopMenus?t("tags-view",{ref:"tagsView",staticStyle:{"padding-right":"345px"}}):e._e(),e.show?t("div",{staticClass:"headInfo"},[t("div",{ref:"imgHead",staticStyle:{cursor:"pointer"},on:{click:function(t){e.accountDialog=!e.accountDialog}}},[t("div",{staticStyle:{display:"inline-block",position:"absolute",top:"16px",right:"46px"}},[null!==e.valueHead?t("div",{staticClass:"imgHead2",style:{"background-color":e.colorDisplay(e.valueHead)}},[t("span",{staticStyle:{"font-size":"var(--portalFontSize14)",color:"#ffffff","line-height":"16px"}},[e._v(e._s(e.headDisplay(e.valueHead)))])]):e._e(),t("span",{staticStyle:{"font-size":"var(--portalFontSize14)",display:"inline-block","max-width":"300px",overflow:"hidden","text-overflow":"clip","white-space":"nowrap"}},[e._v(e._s(e.valueMail))])]),t("i",{staticClass:"el-icon-arrow-down",staticStyle:{position:"absolute",top:"16px",right:"20px"}})]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.accountDialog,expression:"accountDialog"}],staticClass:"accountDialog"},[t("div",{staticClass:"currentOptiopn"},[null!==e.valueHead?t("div",{staticClass:"imgHead",staticStyle:{width:"44px",height:"44px",float:"left","border-radius":"44px"},style:{"background-color":e.colorDisplay(e.valueHead)}},[t("span",{staticStyle:{"font-size":"36px",color:"#ffffff","line-height":"44px"}},[e._v(e._s(e.headDisplay(e.valueHead)))])]):e._e(),t("div",{staticStyle:{float:"left"}},[t("p",{staticStyle:{margin:"0",padding:"0","line-height":"20px"}},[e._v(e._s(e.loginUser.personName))]),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Recentlylogin",expression:"'Recentlylogin'"}],staticStyle:{"margin-top":"4px",padding:"0",color:"#666","line-height":"20px"},attrs:{time:e.lastTimeLog.operateTime}},[e._v("最近登录:"+e._s(e.lastTimeLog.operateTime))])])]),t("div",{staticClass:"optionListWrap",staticStyle:{padding:"16px 0"}},e._l(e.accountList,(function(a){return t("div",{key:a.id,staticStyle:{position:"relative"}},[t("div",{staticClass:"optionList",on:{click:function(t){return e.selectMail(a)}}},[a.emailAddr===e.valueMail?t("span",{staticStyle:{color:"#409eff"}},[e._v(" "+e._s(a.emailAddr)+" "),t("span",[e._v("("+e._s(e.unreadNum)+")")])]):t("span",[e._v(" "+e._s(a.emailAddr)+" "),t("span",[e._v("("+e._s(e.unreadNum)+")")])])]),a.emailAddr===e.valueMail?t("img",{staticStyle:{height:"16px",position:"absolute",top:"0",right:"21px"},attrs:{src:"./images/w-imgs/success.png",alt:""}}):e._e()])})),0)])]):t("div",{staticClass:"headInfo"})],1),e.defultMail||e.awaitShow?t("app-main"):e._e(),e.showSettings?t("right-panel",[t("settings")],1):e._e()],1)],1)},o=[],s=function(){var e=this,t=e._self._c;return t("el-scrollbar",{class:{"std-scrollbar-wrapper":e.showTopMenus,"dark-scrollbar-wrapper":!e.showTopMenus},attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"default-active":e.activeMenu,collapse:!1,"background-color":e.menuBg,"text-color":e.menuText,"unique-opened":!0,"collapse-transition":!1}},[t("el-menu-item",{directives:[{name:"show",rawName:"v-show",value:""!==e.menuName&&!1,expression:"menuName !== '' && false"}],staticClass:"submenu-title-noDropdown",attrs:{index:"0",disabled:""}},[e.menuIcon.indexOf(".svg")>-1?t("svg-icon",{attrs:{"icon-class":e.menuIconClass}}):e._e(),-1===e.menuIcon.indexOf(".svg")?t("i",{class:e.menuIcon}):e._e(),t("span",{staticClass:"appname"},[e._v(e._s(e.menuName))])],1),t("div",{staticClass:"topBtn-wrapper",staticStyle:{"text-align":"center",height:"55px"}},[t("div",{staticClass:"writeEmail",on:{click:function(t){return e.gotoPages("email.svg")}}},[t("svg-icon",{staticStyle:{color:"#48ba79",width:"14px",height:"14px"},attrs:{"icon-class":"email"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"ReceivingLetters",expression:"'ReceivingLetters'"}]},[e._v("收信")])],1),t("div",{staticClass:"writeEmail",on:{click:e.gotoWrite}},[t("svg-icon",{staticStyle:{fill:"#ec8423",width:"14px",height:"14px"},attrs:{"icon-class":"email_xieyoujian"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"writeLetters",expression:"'writeLetters'"}]},[e._v("写信")])],1)]),e._l(e.routes,(function(a,n){return[a.hidden||!a.meta||"邮件监控"!==a.meta.title&&"yjjk.svg"!==a.meta.icon?a.hidden||!a.meta||"备份邮箱"!==a.meta.title&&"email-backup.svg"!==a.meta.icon?0===a.path.indexOf("/")?t("sidebar-item",{key:n,attrs:{item:e.resetRoute(a),"base-path":a.path}}):e._e():[e.bfyxMenu?t("sidebar-item",{key:n,attrs:{item:e.resetRoute(a),"base-path":a.path}}):e._e()]:[e.yjjkMenu?t("sidebar-item",{key:n,attrs:{item:e.resetRoute(a),"base-path":a.path}}):e._e()]]}))],2)],1)},l=[];
|
|
277
|
+
i.version="2.30.1",r(Ja),i.fn=dr,i.min=Za,i.max=en,i.now=tn,i.utc=f,i.unix=cr,i.months=gr,i.isDate=m,i.locale=fa,i.invalid=v,i.duration=Dn,i.isMoment=L,i.weekdays=vr,i.parseZone=ur,i.localeData=ya,i.isDuration=ln,i.monthsShort=yr,i.weekdaysMin=Mr,i.defineLocale=_a,i.updateLocale=ga,i.locales=va,i.weekdaysShort=br,i.normalizeUnits=ne,i.relativeTimeRounding=io,i.relativeTimeThreshold=ro,i.calendarFormat=Bn,i.prototype=dr,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}))},8859:function(e,t,a){var n="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=n&&i&&"function"===typeof i.get?i.get:null,o=n&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,d=s&&l&&"function"===typeof l.get?l.get:null,c=s&&Set.prototype.forEach,u="function"===typeof WeakMap&&WeakMap.prototype,m=u?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype,h=p?WeakSet.prototype.has:null,f="function"===typeof WeakRef&&WeakRef.prototype,_=f?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,b=String.prototype.match,M=String.prototype.slice,w=String.prototype.replace,x=String.prototype.toUpperCase,L=String.prototype.toLowerCase,k=RegExp.prototype.test,T=Array.prototype.concat,S=Array.prototype.join,Y=Array.prototype.slice,D=Math.floor,j="function"===typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,A="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"===typeof Symbol&&"object"===typeof Symbol.iterator,E="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||"symbol")?Symbol.toStringTag:null,O=Object.prototype.propertyIsEnumerable,P=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function N(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||k.call(/e/,t))return t;var a=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-D(-e):D(e);if(n!==e){var i=String(n),r=M.call(t,i.length+1);return w.call(i,a,"$&_")+"."+w.call(w.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return w.call(t,a,"$&_")}var H=a(2634),F=H.custom,$=Q(F)?F:null;function z(e,t,a){var n="double"===(a.quoteStyle||t)?'"':"'";return n+e+n}function B(e){return w.call(String(e),/"/g,""")}function W(e){return"[object Array]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function R(e){return"[object Date]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function U(e){return"[object RegExp]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function q(e){return"[object Error]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function G(e){return"[object String]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function V(e){return"[object Number]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function J(e){return"[object Boolean]"===ee(e)&&(!E||!("object"===typeof e&&E in e))}function Q(e){if(I)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!A)return!1;try{return A.call(e),!0}catch(t){}return!1}function K(e){if(!e||"object"!==typeof e||!j)return!1;try{return j.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,i,s){var l=n||{};if(Z(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Z(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!Z(l,"customInspect")||l.customInspect;if("boolean"!==typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Z(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Z(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=l.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return de(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var p=String(t);return m?N(t,p):p}if("bigint"===typeof t){var h=String(t)+"n";return m?N(t,h):h}var f="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof i&&(i=0),i>=f&&f>0&&"object"===typeof t)return W(t)?"[Array]":"[Object]";var _=fe(l,i);if("undefined"===typeof s)s=[];else if(ae(s,t)>=0)return"[Circular]";function y(t,a,n){if(a&&(s=Y.call(s),s.push(a)),n){var r={depth:l.depth};return Z(l,"quoteStyle")&&(r.quoteStyle=l.quoteStyle),e(t,r,i+1,s)}return e(t,l,i+1,s)}if("function"===typeof t&&!U(t)){var v=te(t),b=ge(t,y);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(b.length>0?" { "+S.call(b,", ")+" }":"")}if(Q(t)){var x=I?w.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(t);return"object"!==typeof t||I?x:ue(x)}if(le(t)){for(var k="<"+L.call(String(t.nodeName)),D=t.attributes||[],C=0;C<D.length;C++)k+=" "+D[C].name+"="+z(B(D[C].value),"double",l);return k+=">",t.childNodes&&t.childNodes.length&&(k+="..."),k+="</"+L.call(String(t.nodeName))+">",k}if(W(t)){if(0===t.length)return"[]";var F=ge(t,y);return _&&!he(F)?"["+_e(F,_)+"]":"[ "+S.call(F,", ")+" ]"}if(q(t)){var X=ge(t,y);return"cause"in Error.prototype||!("cause"in t)||O.call(t,"cause")?0===X.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(X,", ")+" }":"{ ["+String(t)+"] "+S.call(T.call("[cause]: "+y(t.cause),X),", ")+" }"}if("object"===typeof t&&u){if($&&"function"===typeof t[$]&&H)return H(t,{depth:f-i});if("symbol"!==u&&"function"===typeof t.inspect)return t.inspect()}if(ne(t)){var ce=[];return o&&o.call(t,(function(e,a){ce.push(y(a,t,!0)+" => "+y(e,t))})),pe("Map",r.call(t),ce,_)}if(oe(t)){var ye=[];return c&&c.call(t,(function(e){ye.push(y(e,t))})),pe("Set",d.call(t),ye,_)}if(ie(t))return me("WeakMap");if(se(t))return me("WeakSet");if(re(t))return me("WeakRef");if(V(t))return ue(y(Number(t)));if(K(t))return ue(y(j.call(t)));if(J(t))return ue(g.call(t));if(G(t))return ue(y(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if("undefined"!==typeof globalThis&&t===globalThis||"undefined"!==typeof a.g&&t===a.g)return"{ [object globalThis] }";if(!R(t)&&!U(t)){var ve=ge(t,y),be=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,Me=t instanceof Object?"":"null prototype",we=!be&&E&&Object(t)===t&&E in t?M.call(ee(t),8,-1):Me?"Object":"",xe=be||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Le=xe+(we||Me?"["+S.call(T.call([],we||[],Me||[]),": ")+"] ":"");return 0===ve.length?Le+"{}":_?Le+"{"+_e(ve,_)+"}":Le+"{ "+S.call(ve,", ")+" }"}return String(t)};var X=Object.prototype.hasOwnProperty||function(e){return e in this};function Z(e,t){return X.call(e,t)}function ee(e){return y.call(e)}function te(e){if(e.name)return e.name;var t=b.call(v.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ae(e,t){if(e.indexOf)return e.indexOf(t);for(var a=0,n=e.length;a<n;a++)if(e[a]===t)return a;return-1}function ne(e){if(!r||!e||"object"!==typeof e)return!1;try{r.call(e);try{d.call(e)}catch(t){return!0}return e instanceof Map}catch(a){}return!1}function ie(e){if(!m||!e||"object"!==typeof e)return!1;try{m.call(e,m);try{h.call(e,h)}catch(t){return!0}return e instanceof WeakMap}catch(a){}return!1}function re(e){if(!_||!e||"object"!==typeof e)return!1;try{return _.call(e),!0}catch(t){}return!1}function oe(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e);try{r.call(e)}catch(t){return!0}return e instanceof Set}catch(a){}return!1}function se(e){if(!h||!e||"object"!==typeof e)return!1;try{h.call(e,h);try{m.call(e,m)}catch(t){return!0}return e instanceof WeakSet}catch(a){}return!1}function le(e){return!(!e||"object"!==typeof e)&&("undefined"!==typeof HTMLElement&&e instanceof HTMLElement||"string"===typeof e.nodeName&&"function"===typeof e.getAttribute)}function de(e,t){if(e.length>t.maxStringLength){var a=e.length-t.maxStringLength,n="... "+a+" more character"+(a>1?"s":"");return de(M.call(e,0,t.maxStringLength),t)+n}var i=w.call(w.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return z(i,"single",t)}function ce(e){var t=e.charCodeAt(0),a={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return a?"\\"+a:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function ue(e){return"Object("+e+")"}function me(e){return e+" { ? }"}function pe(e,t,a,n){var i=n?_e(a,n):S.call(a,", ");return e+" ("+t+") {"+i+"}"}function he(e){for(var t=0;t<e.length;t++)if(ae(e[t],"\n")>=0)return!1;return!0}function fe(e,t){var a;if("\t"===e.indent)a="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;a=S.call(Array(e.indent+1)," ")}return{base:a,prev:S.call(Array(t+1),a)}}function _e(e,t){if(0===e.length)return"";var a="\n"+t.prev+t.base;return a+S.call(e,","+a)+"\n"+t.prev}function ge(e,t){var a=W(e),n=[];if(a){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Z(e,i)?t(e[i],e):""}var r,o="function"===typeof C?C(e):[];if(I){r={};for(var s=0;s<o.length;s++)r["$"+o[s]]=o[s]}for(var l in e)Z(e,l)&&(a&&String(Number(l))===l&&l<e.length||I&&r["$"+l]instanceof Symbol||(k.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"===typeof C)for(var d=0;d<o.length;d++)O.call(e,o[d])&&n.push("["+t(o[d])+"]: "+t(e[o[d]],e));return n}},4765:function(e){"use strict";var t=String.prototype.replace,a=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,a,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},5373:function(e,t,a){"use strict";var n=a(8636),i=a(2642),r=a(4765);e.exports={formats:r,parse:i,stringify:n}},2642:function(e,t,a){"use strict";var n=a(7720),i=Object.prototype.hasOwnProperty,r=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"===typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},d="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",u=function(e,t){var a={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;u=u.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m,p=t.parameterLimit===1/0?void 0:t.parameterLimit,h=u.split(t.delimiter,p),f=-1,_=t.charset;if(t.charsetSentinel)for(m=0;m<h.length;++m)0===h[m].indexOf("utf8=")&&(h[m]===c?_="utf-8":h[m]===d&&(_="iso-8859-1"),f=m,m=h.length);for(m=0;m<h.length;++m)if(m!==f){var g,y,v=h[m],b=v.indexOf("]="),M=-1===b?v.indexOf("="):b+1;-1===M?(g=t.decoder(v,o.decoder,_,"key"),y=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,M),o.decoder,_,"key"),y=n.maybeMap(l(v.slice(M+1),t),(function(e){return t.decoder(e,o.decoder,_,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===_&&(y=s(y)),v.indexOf("[]=")>-1&&(y=r(y)?[y]:y);var w=i.call(a,g);w&&"combine"===t.duplicates?a[g]=n.combine(a[g],y):w&&"last"!==t.duplicates||(a[g]=y)}return a},m=function(e,t,a,n){for(var i=n?t:l(t,a),r=e.length-1;r>=0;--r){var o,s=e[r];if("[]"===s&&a.parseArrays)o=a.allowEmptyArrays&&(""===i||a.strictNullHandling&&null===i)?[]:[].concat(i);else{o=a.plainObjects?Object.create(null):{};var d="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=a.decodeDotInKeys?d.replace(/%2E/g,"."):d,u=parseInt(c,10);a.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&a.parseArrays&&u<=a.arrayLimit?(o=[],o[u]=i):"__proto__"!==c&&(o[c]=i):o={0:i}}i=o}return i},p=function(e,t,a,n){if(e){var r=a.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,l=a.depth>0&&o.exec(r),d=l?r.slice(0,l.index):r,c=[];if(d){if(!a.plainObjects&&i.call(Object.prototype,d)&&!a.allowPrototypes)return;c.push(d)}var u=0;while(a.depth>0&&null!==(l=s.exec(r))&&u<a.depth){if(u+=1,!a.plainObjects&&i.call(Object.prototype,l[1].slice(1,-1))&&!a.allowPrototypes)return;c.push(l[1])}return l&&c.push("["+r.slice(l.index)+"]"),m(c,t,a,n)}},h=function(e){if(!e)return o;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.decodeDotInKeys&&"boolean"!==typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&"undefined"!==typeof e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?o.charset:e.charset,a="undefined"===typeof e.duplicates?o.duplicates:e.duplicates;if("combine"!==a&&"first"!==a&&"last"!==a)throw new TypeError("The duplicates option must be either combine, first, or last");var i="undefined"===typeof e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots;return{allowDots:i,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"===typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"===typeof e.decoder?e.decoder:o.decoder,delimiter:"string"===typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:a,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){var a=h(t);if(""===e||null===e||"undefined"===typeof e)return a.plainObjects?Object.create(null):{};for(var i="string"===typeof e?u(e,a):e,r=a.plainObjects?Object.create(null):{},o=Object.keys(i),s=0;s<o.length;++s){var l=o[s],d=p(l,i[l],a,"string"===typeof e);r=n.merge(r,d,a)}return!0===a.allowSparse?r:n.compact(r)}},8636:function(e,t,a){"use strict";var n=a(920),i=a(7720),r=a(4765),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,d=Array.prototype.push,c=function(e,t){d.apply(e,l(t)?t:[t])},u=Date.prototype.toISOString,m=r["default"],p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,format:m,formatter:r.formatters[m],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},h=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},f={},_=function e(t,a,r,o,s,d,u,m,_,g,y,v,b,M,w,x,L,k){var T=t,S=k,Y=0,D=!1;while(void 0!==(S=S.get(f))&&!D){var j=S.get(t);if(Y+=1,"undefined"!==typeof j){if(j===Y)throw new RangeError("Cyclic object value");D=!0}"undefined"===typeof S.get(f)&&(Y=0)}if("function"===typeof g?T=g(a,T):T instanceof Date?T=b(T):"comma"===r&&l(T)&&(T=i.maybeMap(T,(function(e){return e instanceof Date?b(e):e}))),null===T){if(d)return _&&!x?_(a,p.encoder,L,"key",M):a;T=""}if(h(T)||i.isBuffer(T)){if(_){var C=x?a:_(a,p.encoder,L,"key",M);return[w(C)+"="+w(_(T,p.encoder,L,"value",M))]}return[w(a)+"="+w(String(T))]}var A,I=[];if("undefined"===typeof T)return I;if("comma"===r&&l(T))x&&_&&(T=i.maybeMap(T,_)),A=[{value:T.length>0?T.join(",")||null:void 0}];else if(l(g))A=g;else{var E=Object.keys(T);A=y?E.sort(y):E}var O=m?a.replace(/\./g,"%2E"):a,P=o&&l(T)&&1===T.length?O+"[]":O;if(s&&l(T)&&0===T.length)return P+"[]";for(var N=0;N<A.length;++N){var H=A[N],F="object"===typeof H&&"undefined"!==typeof H.value?H.value:T[H];if(!u||null!==F){var $=v&&m?H.replace(/\./g,"%2E"):H,z=l(T)?"function"===typeof r?r(P,$):P:P+(v?"."+$:"["+$+"]");k.set(t,Y);var B=n();B.set(f,k),c(I,e(F,z,r,o,s,d,u,m,"comma"===r&&x&&l(T)?null:_,g,y,v,b,M,w,x,L,B))}}return I},g=function(e){if(!e)return p;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var a=r["default"];if("undefined"!==typeof e.format){if(!o.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");a=e.format}var n,i=r.formatters[a],d=p.filter;if(("function"===typeof e.filter||l(e.filter))&&(d=e.filter),n=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:n,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:d,format:a,formatter:i,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){var a,i,r=e,o=g(t);"function"===typeof o.filter?(i=o.filter,r=i("",r)):l(o.filter)&&(i=o.filter,a=i);var d=[];if("object"!==typeof r||null===r)return"";var u=s[o.arrayFormat],m="comma"===u&&o.commaRoundTrip;a||(a=Object.keys(r)),o.sort&&a.sort(o.sort);for(var p=n(),h=0;h<a.length;++h){var f=a[h];o.skipNulls&&null===r[f]||c(d,_(r[f],f,u,m,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,p))}var y=d.join(o.delimiter),v=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),y.length>0?v+y:""}},7720:function(e,t,a){"use strict";var n=a(4765),i=Object.prototype.hasOwnProperty,r=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),a=t.obj[t.prop];if(r(a)){for(var n=[],i=0;i<a.length;++i)"undefined"!==typeof a[i]&&n.push(a[i]);t.obj[t.prop]=n}}},l=function(e,t){for(var a=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeof e[n]&&(a[n]=e[n]);return a},d=function e(t,a,n){if(!a)return t;if("object"!==typeof a){if(r(t))t.push(a);else{if(!t||"object"!==typeof t)return[t,a];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,a))&&(t[a]=!0)}return t}if(!t||"object"!==typeof t)return[t].concat(a);var o=t;return r(t)&&!r(a)&&(o=l(t,n)),r(t)&&r(a)?(a.forEach((function(a,r){if(i.call(t,r)){var o=t[r];o&&"object"===typeof o&&a&&"object"===typeof a?t[r]=e(o,a,n):t.push(a)}else t[r]=a})),t):Object.keys(a).reduce((function(t,r){var o=a[r];return i.call(t,r)?t[r]=e(t[r],o,n):t[r]=o,t}),o)},c=function(e,t){return Object.keys(t).reduce((function(e,a){return e[a]=t[a],e}),e)},u=function(e,t,a){var n=e.replace(/\+/g," ");if("iso-8859-1"===a)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(i){return n}},m=1024,p=function(e,t,a,i,r){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===a)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",d=0;d<s.length;d+=m){for(var c=s.length>=m?s.slice(d,d+m):s,u=[],p=0;p<c.length;++p){var h=c.charCodeAt(p);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||r===n.RFC1738&&(40===h||41===h)?u[u.length]=c.charAt(p):h<128?u[u.length]=o[h]:h<2048?u[u.length]=o[192|h>>6]+o[128|63&h]:h<55296||h>=57344?u[u.length]=o[224|h>>12]+o[128|h>>6&63]+o[128|63&h]:(p+=1,h=65536+((1023&h)<<10|1023&c.charCodeAt(p)),u[u.length]=o[240|h>>18]+o[128|h>>12&63]+o[128|h>>6&63]+o[128|63&h])}l+=u.join("")}return l},h=function(e){for(var t=[{obj:{o:e},prop:"o"}],a=[],n=0;n<t.length;++n)for(var i=t[n],r=i.obj[i.prop],o=Object.keys(r),l=0;l<o.length;++l){var d=o[l],c=r[d];"object"===typeof c&&null!==c&&-1===a.indexOf(c)&&(t.push({obj:r,prop:d}),a.push(c))}return s(t),e},f=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},_=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},g=function(e,t){return[].concat(e,t)},y=function(e,t){if(r(e)){for(var a=[],n=0;n<e.length;n+=1)a.push(t(e[n]));return a}return t(e)};e.exports={arrayToObject:l,assign:c,combine:g,compact:h,decode:u,encode:p,isBuffer:_,isRegExp:f,maybeMap:y,merge:d}},6897:function(e,t,a){"use strict";var n=a(453),i=a(41),r=a(592)(),o=a(5795),s=a(9675),l=n("%Math.floor%");e.exports=function(e,t){if("function"!==typeof e)throw new s("`fn` is not a function");if("number"!==typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],n=!0,d=!0;if("length"in e&&o){var c=o(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(d=!1)}return(n||d||!a)&&(r?i(e,"length",t,!0,!0):i(e,"length",t)),e}},920:function(e,t,a){"use strict";var n=a(453),i=a(8075),r=a(8859),o=a(9675),s=n("%WeakMap%",!0),l=n("%Map%",!0),d=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),u=i("WeakMap.prototype.has",!0),m=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),f=function(e,t){for(var a,n=e;null!==(a=n.next);n=a)if(a.key===t)return n.next=a.next,a.next=e.next,e.next=a,a},_=function(e,t){var a=f(e,t);return a&&a.value},g=function(e,t,a){var n=f(e,t);n?n.value=a:e.next={key:t,next:e.next,value:a}},y=function(e,t){return!!f(e,t)};e.exports=function(){var e,t,a,n={assert:function(e){if(!n.has(e))throw new o("Side channel does not contain "+r(e))},get:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return d(e,n)}else if(l){if(t)return m(t,n)}else if(a)return _(a,n)},has:function(n){if(s&&n&&("object"===typeof n||"function"===typeof n)){if(e)return u(e,n)}else if(l){if(t)return h(t,n)}else if(a)return y(a,n);return!1},set:function(n,i){s&&n&&("object"===typeof n||"function"===typeof n)?(e||(e=new s),c(e,n,i)):l?(t||(t=new l),p(t,n,i)):(a||(a={key:{},next:null}),g(a,n,i))}};return n}},1527:function(e,t,a){var n=a(4778);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("4d95524b",n,!0,{sourceMap:!1,shadowMode:!1})},1173:function(e,t,a){var n=a(1084);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("81df3a46",n,!0,{sourceMap:!1,shadowMode:!1})},1598:function(e,t,a){var n=a(5215);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("75fe7ce8",n,!0,{sourceMap:!1,shadowMode:!1})},6324:function(e,t,a){var n=a(8541);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("6bd171cc",n,!0,{sourceMap:!1,shadowMode:!1})},7025:function(e,t,a){var n=a(6118);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("18f9fe98",n,!0,{sourceMap:!1,shadowMode:!1})},6601:function(e,t,a){var n=a(1246);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("7a2feaa2",n,!0,{sourceMap:!1,shadowMode:!1})},5674:function(e,t,a){var n=a(4461);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("7f05f9e6",n,!0,{sourceMap:!1,shadowMode:!1})},6994:function(e,t,a){var n=a(7055);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("51b550a0",n,!0,{sourceMap:!1,shadowMode:!1})},7384:function(e,t,a){var n=a(1655);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("1c1c92ac",n,!0,{sourceMap:!1,shadowMode:!1})},2653:function(e,t,a){var n=a(2596);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("039840ca",n,!0,{sourceMap:!1,shadowMode:!1})},8840:function(e,t,a){var n=a(8875);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("2ca8e06e",n,!0,{sourceMap:!1,shadowMode:!1})},2342:function(e,t,a){var n=a(2915);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("6def73ea",n,!0,{sourceMap:!1,shadowMode:!1})},2411:function(e,t,a){var n=a(844);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("29f8eb0f",n,!0,{sourceMap:!1,shadowMode:!1})},8407:function(e,t,a){var n=a(2400);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("1f58cd99",n,!0,{sourceMap:!1,shadowMode:!1})},8800:function(e,t,a){var n=a(1261);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("25a501d6",n,!0,{sourceMap:!1,shadowMode:!1})},5501:function(e,t,a){var n=a(7492);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("492d438f",n,!0,{sourceMap:!1,shadowMode:!1})},2457:function(e,t,a){var n=a(7744);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("10a14312",n,!0,{sourceMap:!1,shadowMode:!1})},5421:function(e,t,a){var n=a(6274);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("2226471e",n,!0,{sourceMap:!1,shadowMode:!1})},8416:function(e,t,a){var n=a(2267);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("d613cd92",n,!0,{sourceMap:!1,shadowMode:!1})},8027:function(e,t,a){var n=a(8921);n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);var i=a(9548).A;i("291d865d",n,!0,{sourceMap:!1,shadowMode:!1})},9548:function(e,t,a){"use strict";function n(e,t){for(var a=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],s=r[1],l=r[2],d=r[3],c={id:e+":"+i,css:s,media:l,sourceMap:d};n[o]?n[o].parts.push(c):a.push(n[o]={id:o,parts:[c]})}return a}a.d(t,{A:function(){return h}});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,d=!1,c=function(){},u=null,m="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,a,i){d=a,u=i||{};var o=n(e,t);return f(o),function(t){for(var a=[],i=0;i<o.length;i++){var s=o[i],l=r[s.id];l.refs--,a.push(l)}t?(o=n(e,t),f(o)):o=[];for(i=0;i<a.length;i++){l=a[i];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete r[l.id]}}}}function f(e){for(var t=0;t<e.length;t++){var a=e[t],n=r[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(g(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var o=[];for(i=0;i<a.parts.length;i++)o.push(g(a.parts[i]));r[a.id]={id:a.id,refs:1,parts:o}}}}function _(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,a,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(d)return c;n.parentNode.removeChild(n)}if(p){var i=l++;n=s||(s=_()),t=v.bind(null,n,i,!1),a=v.bind(null,n,i,!0)}else n=_(),t=b.bind(null,n),a=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else a()}}var y=function(){var e=[];return function(t,a){return e[t]=a,e.filter(Boolean).join("\n")}}();function v(e,t,a,n){var i=a?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,i);else{var r=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(r,o[t]):e.appendChild(r)}}function b(e,t){var a=t.css,n=t.media,i=t.sourceMap;if(n&&e.setAttribute("media",n),u.ssrId&&e.setAttribute(m,t.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=a;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}},4017:function(e){"use strict";e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNEBCAgICAkICQoKCQ0ODA4NExEQEBETHBQWFBYUHCsbHxsbHxsrJi4lIyUuJkQ1Ly81RE5CPkJOX1VVX3dxd5yc0f/CABEIAIQAhAMBIgACEQEDEQH/xAA0AAACAgMBAQAAAAAAAAAAAAAABQYHAQIECAMBAAIDAQEAAAAAAAAAAAAAAAAEAQMFAgb/2gAMAwEAAhADEAAAAGNrYcgnHACccAJxwAnHACccAJxwAn45IB4pJsB6IcJ3AAVG5nW4VAO5lvlQAW+VABb5UAFvlO2ks6wAz9fzAAHodwncBinLkpbc83dPw2qJR64iBTxdvIviHXE+S1m80crjnOXlN2QMnd8wAB6HcJ3AFJXbRu95u8gML0cChd4418OpJjK4fMTAjK1R+cFeyaJeAJPeYAA9DuE7gMUTe9Beh85fotMTcZC0BlFHOl9CpDM9WVYNKu5vz1kDL1vMAAeh3CdwGKwtAbUpsuQfQpsuQCmy5AKbLkApu0WYsyAZ2j5gAD0O4o3Tax7q4Kv+7S0744doxTLPhn703c/RD3N9Mr+qZKm3P+6t965s0rVgrfTRwGdpSjt4ev2/jWHTx9cxjXfSOnffHHiLvfsn3puSdfF16CPT9Pl9Frfpv89+Ckz5nmvSxl4Em+4dcABOMARgCTfYIncCJzoHM16BXZ//xAAvEAAABgECBQIEBwEAAAAAAAAAAQIDBAYFFjYHEBEUFxI0FSAkMhMhMTM1QEJB/9oACAEBAAEIAOG3DbFO4qNl8uVJqA0TUBomoDRNQGiagNE1AaJqA0TUBomoDRNQGiagNE1AaJqA0TUBN4fVCWw4ydxra61nZGPOk7Qr39DjWRFb2BSdoV3mpaEF1V3McdzHHcxx3McdzHHcxx3McdzHCXmVH0Tz427vYFJ2hXeS1EhClHLlvTn1PPdpIHaSB2kgdpIHaSB2kgdpIHaSApC2VF6q1Odm40jd5cbd3sCk7QrvKR7d4RT+ojh99qO0t12DncZPWbbHyOOtNINbs2341jqljKZV7JyCfdppH8NdM+XG3d7ApO0K7yke3eEQ/qIwzUA8hjno5TIUzHvE3IxFufj+lmdHlxpTJPMTbPiIfVIm3Oe91TFekSpjpG7Cq+Wl9DVCp+OY6KkNtttIShvlxt3ewKTtCu8pPt3xEP6mNykxY8ppTT+XqD7HqegGpaPW2cHBZWb0NmDSWU9FTYmPhQk+mP8ALxt3ewKTtCu8pPtnxDP6mL8io7ClktQuXfQ+3ksZz4q43jEx8NKnsWBuECdyGRl5NZ0/ISp2Od7nlxt3ewKTtCu8pPtnxDV9VF+a/fx0QWHIsxouMizMGuG5Z2DxMqRg/iWSLKUVtacZIcPlxt3ewKTtCu8pXtnxFcSiRHWrVleGrK8NWV4asrw1ZXgq0VpZpNTlnrTpdHG7LWGuv4a7HVnFepyM9HfYQ5H5cbd3sCk7QrvIyIyMjytJybMhZwdJ2EaTsI0nYRpOwjSdhGk7CNJ2EaTsI0nYRV8VJxWMJmTy427vYFJ2hXf6HG3d7ApO0K6HX2GS6uu2LDNh2341P2OXRH+F3WT/AJXdcj/zWmUL8iTdMqG7lkC/VizT3Iz0gN23r97dohq+9vPYxwNyY7v7Y427vYETMZNvEYiI2S1LP1LQfMxVYiHpUl5zKT5SIbqHo8STJWZMY5qNGkH8RKwupiG0yk+pmZkCBBjITWP2+LT7kmxQXnI/s8YGzDZgv0Bgxjc0/jYMltjCZya/JVFmZaS/g4bMOAvDdxCfcCDCDBAgQIcUv5zHiKaXcThZTTZhswkGDEaQTKjJaLBGhxXG8fj7A23FOFkpufYXDODjkGEGCBAgQ4oPNLsTDKMJZ8rhEraj+QZ4LiJkh5Iyo8kZUeR8oPI2THkXJjyJkh5EyQ8j5QeS8uPJ2ZHk/NDyhmw9xPsKmlIZdddedcdd/8QAPRAAAgEBBAYHBQYFBQAAAAAAAQIDAAQFEZIQEjFRVbIGICFTlLHTEyIyYZNBUnGRs9EUQEJygSNigqHC/9oACAEBAAk/ALMJ5pxrxxydqIhro9d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0ro7d3h0q47Ggbu4xGcyYGmZ4sBJA7YYtG1cOs/J/IcOi53rh0HJpYAfM4VNHmFTR5hU0eYVNHmFTR5hU0eYVNHmFTR5hUiE7gQepw6LneuHQcmj7ATRLsx7BtA3ACrLJ9M1ZJPpmrLJ9M1ZZPpmrLJ9M1ZJPpmrJJ9M1ZJPpmo2jbaMQVNHF43KFt+nh0XO9cOg5NHdt5V3iedOFRRiSan98f0uNUn8MerIqKNpY4Cg07b17F/M0ioQuqAu6h2Gc4aeHRc71w6Dk0d23lXep504RjgVJ3rUTRsDirfYfmpoGWLYJB8a/vUyvGftBqf2rj+mL3qjSBd/wAbVLJNIdmJLH/AqMQJvk/amedsq0gVFGAAGAGnh0XO9cOg5NHdt5V3qeeiJXQ/YaJlj2mM/GP3osuJwZe0bN4qysE++/uLVpLn7kfYKs6J8wO0/ietw6LneuHQcmju28q71PPqQoX+8VBOi2yRo3+nqISO3tONWk2ezmMGabWCgE76vM2yFkJYhiy7KvoWUQysqxl9XEDdUhkeOXVDHaQQDp4dFzvXDoOTR3beVd7H5jrd/wD+TVkMljmRDIwJBBSklSzCM64b8KsEkcqytqiEkBvmQTSkLJOSv4AaeHRc71w6Dk0d23lRwVZEJPyBq8UytV4plarxTK1XimVqvFMrVboiRsxRv2q2xMNzIxq2Qp/bGw8hVqgY7zGSfKnR4mHuldmnh0XO9cOg5NKCaAklRrAMtWA51qwHOtWA51qwHOtWA51qwHOtWA51qwHOtWA51ph7RpC5UHELjp4dFzvXDoOT+Q4dFzvXDoOSpUQf7mAq2Kx3IC1RzP8A4Aqwt/yerFHmNWeAZqjs+U1FBlNQQHNVkh9nGVDe8R2tVj/J6hlX8jU5X+4EVMjfgQdHDoud6tkiQJdtkwVDq7YVNMWO8nE9WESLDCcEI1sWNdHo7OJFKiXVHu41C8hUYnVGyonXBGKA4apIB7DXY4lGqWRThGBsO89W0OBuJxH/AHXxm7Y/1Hrh1i/QTrQe/I2PtSfhrWtUEqnXBAJUb6i9nHKxb2+3WH71esU4iQsSF2EDHDsPX4cn6slEtFJYIEDYEe/Agide3cV6ya8Z2irEI537DMas38VZ9q4/EtWQWeBvj3t12xeCwxxyjc5ZpPJqaOSzO2u9nmXXjZsMAd4NXTdv5T+pV13d+U3qVdl3ZZvUq7LtyzepV2Xdlm9Srru3LN6lXXduWb1Kuu7cs3qVdd25ZvUq7LuyzepV23dlm9Sruu7LN6lXdd2SX1Ku67skvqVBYYHOyWONi652YVIzyOxZ3YkszHtJJO0mv//EADIRAAEDAgIHBQgDAAAAAAAAAAECAwQAERIxBRQVIVORkiBRVIHREBMiIzJBYXEwQ4L/2gAIAQIBAT8A/iiQ1SSr4sKU5mtlI8SOVbKR4kcq2UjxI5VspHiRyqVAMdsOBYUm9uxogfLk+VQobMlCwXcLt9wqREejqstO77KGRpmDJe+lsgd53Cho2OyAqS+P1lUyZHWwGGEnCCN/Y0MPlSvKgSCCDYimNLuITheR7zuORpM+VLdS0haWsWVCKt1tTpeSVBJUQbk2TTsJbTSllaThw4gL7sXY0ILtSv8ANatI4DnSa1aRwHOk1GRIYfbd1dw4Te2E02t1thbYiPXUlQOeE4vva2dSZLhj+7Uw6i+HeskgYe6/YiTXoilFu2/MHI1t2Xw2uR9a27L4bXI+tbdl8NrkfWtuy+G1yPrUrSciU2G1pQE3vuHtY0MpxtDi3gApIUABfOhoiMnMrV50nRsIf08yaLUMPllERCiLXJUBn+DT0SCkKswkqAvhGdJhNKx444Rv+GyjStHRzliHnS9GkfQ5zFKSUqUk5g2qIQqHGIN/lJHIUqhUiOD7wJjBS3D9d8vzc5WoMSklCEosvGSp3cQod5vvpYo0aeILrhGRWaQ+82LIdWkdwURWtSfEOdRrWpPHc6jWtSvEO9RrW5XiHes1rMnjudRrWH+MvqNF54ixdWR+z7P/xAA1EQABAwEFBAYKAwEAAAAAAAABAgMEAAUREiExFBVTkhMgUlSR0RAiMjNBQ1FxgrEwQmGh/9oACAEDAQE/AP4rQtBEJKPUK1L0Gmlb+d7meat/O9zPNW/ne5nmrfzvczzVAtVMt1TSmihYF4zv6lve+h/l+xVoT5ERxshgKZI9ZX+1Fmx5Sb215/FJ1FSLShsXhboKuynM0q15cglEOMfuc6s+z5TclUqSsYiDlqbz1Ld99D/L9iiAoEEAg6g1IsNpa8bDha+o1FKs2FCZU84hTxTrf5UZaGnUMhhSUlSUggAC9VMz0OupbDahixYVG7PD1Ld97E/L9itpj8dvmFbTH47fMKlLjvsONbS2MQuvxA04005IQ4ZbOFKkkaYhh+F9+lRYrYk9Kl9peHFkhIBOLtEdSXDZlpSlwHLQjUVuKJ23fEeVbiidt3xHlW4onbd8R5VuKJ23fEeVRbMjxXC4grKrrsz6X7XS24ttLRJSogkm7SjashWgQKNoSz83/goOSywHlSlJBvuASTp9qakzVFN7ygkn2jpSpjqcGB8qyzvSKFoPjXCaRaQ/u34GkqC0pUNCAalAplyAR8xR8TSaNMPkdGVSClCB7F2tdPGUFLUu9OABLWYKT9BdlSPSyCGWgdQgUtllw3raQo/6Aa2aNwG+UVs0fgN8orZo3Ab5RWzRuA3yitnj8FvlFdAxwkcooMsg3hpAP2Ho/9k="},9244:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAASkUlEQVR4Xu1dCXhVxRX+7817L/tGdkIWhKAmItZSpFRBQVGgoiK4tIJWoLiAbIpbKa4sKrILCIJS0SqlLgWpa+tStYpUNIlWZEsIISRkIXvee/f2O/NIviTkvXvn3fuw9zHn+/IJ5szcmXP+OXPmnDODhE5U4OiXp6rKJElShkNFpgpEdeYRf7eOBCSgDhKKVFV+R5Lk9Xktuwvaj15q/Ut+7jiHvKfwaRW4XQVk60xRjFSvBCRAkYDVSk7urHMKt7RQOwYAUr60p3CHCgzV25ngs64EJOADNSd3BIGAAaDQnrdSAe607pTEyHklIAOrcp0FUyXa86G6vhFmn1eE1uan7QCS7Vwp3953CaDMsPZ0xOj9k4C8VCpw5BWoKnL960C0srIEJAmFUoE9r1Yc9aysRv/HTkdEKd+ep/rfhWhpdQkIAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbHLwBgUIBWby4AYHUNGhy/AIBBAVq9uQCA1TVocPwCAAYFaPXmAgBW16DB8QsAGBSg1ZsLAFhdgwbH/38DgJBusYi8+AK4Dpeh4fPdBqflR3NZhhzmgGS3ASEhgCxDkiX2Z6WuAUptvR+dtmsiSZBsIexHVVTA5YLqVoz1aULrnxwA9ow0RF1xEeLGX4WIAX1x+LZ5qHr+NROm5rsL+q49IxX2Hqme/2akwZaWhJC4GMiR4ZAcdsBmQ0h0BKo2bEX5wnWAyveajqN3Fhy9MuDITgf9WY6OhBwVAdXpYoBylVei5ft9aDlQgqZvf4Da1BzweXf+wE8DAElCaE4W4idfh+hRQ5hwiGhFEACqXwgAAGQZoWf2RMzVwxBxYX84eqbDlpLIlKJFlWv+jNIZ8wFFe8UScKKGX4i48aMR/vM82NJTIYX4fnnXXVmD5u/2oubVHaje9DqU+katIZn2+1MKABJE2M9yEX/rtYi59nKExMd0mEhAACDLCP9FXyTccSOiRw9jq5uXKp95CaWzFmoCIGJgPyTdPwWRlw7ybCW8pKpo/OIblM1dhvp/fsHb2i/+UwIAEkbMVcMQe+MoRA4bBDkirMvBmg2AqBGD0W3yOEQOGaBrpXuTYOXaV1A6/XGfAOg25XqkzJ9l6Dut36ftoeKp51Dx5HNQXW6/FKu3UUABQCs8esRgZupp5XtTfOtgzQKAHB6Kbnf8Bon3TUFILP9r92SC1cYmzx69twjVm97A8dff8yrTxNm/Q9Ifp4K+axaRLI4+tAIVi9aZ1WWX/QQEAPb0FESNHIJuk8YyxeslwwAg3+LMnkh+5C7EXH2p3s8yPndFFZoK96LhX7vQ8OkuNH+3D66SI5qeeuSQXyBjy3KExEVzfU8Ps7vqOA6Ovh2N/w7cqch0AKQtfQCRl1yA0LN76ZmjqT5A2LlnImPLMjh69tD97ZZ9xahctRn1H3/FHDG1mT2jr4vs3ZORuW0tws7J0cXvDxM5hocm3Kvpf/jTN7UxHQB5Lfn+jsX/U4AkIaxvH/R4aTFC+2Tr+r6r7BgqFm9A9YtvstXvD6U8Oh2J90722pS2Endlted4FxICOTKCWQop1KH7c+6aOuwbMBYt+w/pbsPDGBQAsGelI/O1lbpXYsMnX6Fs3go0fLyTR1YdeClu0POjF0HbXWeiwBGt3Pr3PmXne3dVDSS7HbYeqQygMWOGg7YOigloEcUMisfdhdq3PtJi9ev3gQGAorDVrDQ0sX2UzCtF2eJuvsbnIP3xAWwpCeixeTEiB/fXFAB51NUbt6LsgadBK8sIJT80DUkPTDmpCwrq0Imhbod3hdGpKHzAuUhb9iBo2/ItFBWlMxeAjqKBINMBcHbVl2j+7340fZWPunc/Rf0/PmfCpnN/xsuLTQUABV1SFsxGwrSbtGWjqqh7+xMc+t39cB+r1ub3wUHefuaba9gqbk80TwpkHd/6tq7+o0ddjB6bn/J9OlIUlEwJUHAsED5A1GWD0Fy4F86Ssg5CiB13BZusL+KyAJKEuAlXo/uKP0AK0z5+tew5gINX3YmWHw/qUo4vprB+ZyH77edA+Ys2UlVUPLWBBXH0RAypnS0pHlk71vu0AmqLE0VjpqLunX8ZHndXHZhuAbyN0mwA2JK7eYTXt4+mYEiIJZPnoublbZq8ehgoxJv+/EIW42cRP1lmTtrBUVO4ABaSGI/st55F2Hlne/2sq/Qo9va/Fq5y/xxVrflYFgBxN41G+ob5WvNjvydnj1aRu7bBk+GTTvxQbF9VPdk53kRPdjpif3slyIyH5uWgcvkmz+rnIApRZ/1tTUdL0r69qqItD8E5Pr3DsCQAQhLikP3uRl1ev9LYjLL7F+P4lh1w5GTDlpwAWnm0cuko6D5WhZa9xXDX1LIYAHndPGCgWEDkxQNQ9/5nrD+9JMdEIW3J/SwL6o1cRytx8NdT0PT1d3q75eazJADib7kG3dc+4lnJGkRx9cavCuDonYmQhHiWj2e5fsmTfYTbzfL9Df/ejbr3PkP9+58xc84TENIaQ/vfU0KMAJh490Qk3DXe6xzo++UL1qJ8/lqe7rl5rQcAWUbm1uXM9AaCWOz/hddQ+eyroFAsjzXwOR4qOAm1I/yCfkh68PaTThAdLL/LzRzKigVrQBYskGQ5ADjOyED2uxtYAUfASFFYIKds7nI4i0t1e/Unjae1Cig8DI5emYifOBaxYy5jFsAXkc9SfNM9ni1FRw2CETlYDgCxYy9nId9TQaSIw1MfZTkCHiL/gn7s2T3YES965GBEXX7RSfUPXvtUFFT/+S1UPLEezd/vCygILAcAbxE4HgXx8NZ/8DkOjb9H9zGMFB97wyjEXHMpS4jRyveXmgt/RMnEB9G4q9C8rajTYCwFAKonSH9hESsu0UusoMLl8uyligIpPMxTnEnndx1OJH2HcvKUO9BjjvUEd/SOnfjIgT00fg5XfIGnf0sBgIo2z6AETFa65hxZLqK2HvUffsGSMs0/FjGP35YYj/CB5yFmzGWgIxydCLSIsnoHht3sWYkaRAEqihJSbMAsokRQyS33wl1da1aXbf1YCgAUeev93Q7NIku2cnbms/N/0zf/9Xjz7YgsQMSFPwfVLrC6BR2WgE4FpdMe1TTFDADvbEDoWWewL7aP37DPtAahOFRJVqxkwhzU/EVfjoGja/PrAbx93IxQMBVe9Nqlo2JYVXHknidwbPmffMoi4qL+yHhpMSijqEXOgyU4MHyiZl6eglTd1zzMwsR0lleaWpjlIUtDGVFbaiJCkhLYFsRTOFr/4ZcsLWy2FbCUBaBKIzKvWkQFGEXXz/SZkmV9SBISZ97MMopaVoD6PDztMc2SdbIutrRkz+p3OlltIYWaKQRNSSuKRFLZGpXMxYwe6iki1WGBKEK5/5IJrGrYTLIUACjTmLX9Wc35U2TvwIjJumrpaKVmv7cR9szumv1S6Rjl5g0TxQdCHez+QMr8mQjtnanLFzn68EqUP77G8Oc7bIen6h+PNrwFSBIr+qAcgBYpx+uwb/BNoGOUFpEZpriCnpNFzStvMY/cTKLCENoy9NQV1m77B4rGTDPz8xbyAU7U/fXauVVTAASA/RePR1P+Hk1eYki6bzKSH5muycsUMHa6ruOgZmftGMgXydyyzHtW8AQvObb7Bt3A07Umr6W2AAqq5BRu19wz2RZwxSTd+yWVkKdvXKB5a6j2zfdRdN1M0wFADmLqk3M0K5sI0HvP911Wp6nxTgyWAgCLA3y8WXO/Ju+7+MbZoBWrhyIG/QyZf12puQKrX9qGklvu09MlN0/0lUOR8coST7bSC9F1sQPDb+Xu21cDSwGA7vXRStW69EFBoCOzF+oupKTLK1nb1rISLV/ErohRLCAARL4AjcHXBRMqYS+59QFTv24pANDMqQ6f6vG1qGrdqyyRoyedy/bgvyz3maxhV7XmLmVp2kAQlbZRiRsFkrwRi20s22Tq5y0HgKhLf4mMrSs17+HRdaoDI3+v62EHOqF0X/+4zz7p8kjxjbNAAZnO1FoXyP6/nw8/UIyDtiFvt5fJr6E4QNPu709vANCF08w3VoOuYvsiunNfdPUd2q+NSJLnFDBvqs+zOCVlDo6Y1CESR8kpqjJy5GQhJCaKOafOQ0dY4obdO9Cby5dl5gCSI+iNard/iEMT5ugCNA9CLGcB2DYw6xYkPz5LMydwbOkLrFDTV3kXReLoCBY5dKB3uSkKu0xS8fTzbTwU1YufcBVirhuJ8PPOAtX4EVEBCZVwH1vxIujeoZ5XP6hWMWPzk16rgykZRfEHvU7t/ycAbhiFHpsW+Rwb7bOldzyEqo1/9clHpwGWcTuRcPHGTKuw+PoZrCqYFXt2JllmBZ20//u6pkV5gP1DxsN5+GhbDzHXXMYCOJ0fuWhlIFN9bMnzqN3xEXvxo6tiU9o6qDooddHdrIagKyKZ1P39I3aq0QMmHuUT7ymxAFQImTB9AlIW3u17fKqKo/OWex5G0HhAKe63VyJt1TzNNwcoG3hk1gK2d1JNQOuDC1SfR8+3pC3/A8iv8EZkPSgEW7F4Y5tDyW4Gvf4MuwXti6ht9Z/eYPf66I6gUt/Qti3QcS80tze63XYDuyvYtfZVVhHEikJ2+n/p1tcYTQcA7YtShOcZltZXtijOTvfgws/Xfiug4bOvcWTmfDhLy1kWjdXsA2zva2/KyQSnr3uUXTnzdXZmZrmkDDUvb0f9xzvhLCpl/DQWeqqGijS9kqKg9u+foOTmOR3uEtLDUlnb1jAF6iGKTNJ1OdeRck9qWpZhT0tiNQOUHfS28mk7Kb3zYXbFLlBkOgBirx+J2OuuYKtFioiAPS2RPcakVQjZNkFVBTlwBAD30WNQGhpBN3sq121hJdvtibJqVB5OZ2gtEDAQHa+D0uxkyTcy+b6ulJGloOtktPeSFWlPrOqH3gXgePyCR4EE9OYfDqD8sdU4/tq7PE25eU0HQMpjM5A4ZxL3QLQasBuyqzafxEYrmPbQ8P7neJ52M4FI+XQZo/yxZ7q+li1JSFsxl1X5ar0AxjMcVsVUU4uGT3aifNF6NH75LU9zv3hNBwAlVehYZTbRlevK1S932S150amLZnseg6JXwHSUeXVtd1XmsDX9p5A9C0f7tjeiSiK6mkZZPJ4HH7o0904Xc/Co+pgsHa16slanggICgMR7Jpo6djLZzAJ4AQB9jG7q0sNQtAXZUpM8jz36iKu3HyCtePYoVFkFjr/xAbuPR56/FtGlzqQHb0Pkr873FJuGheqzCHQfscXpqRgiwH37Axo+/xpVz20FXQY9lWQ6AMgs0qtgekKweidKpp2uSOm5d09Xt6OGDUT0ry+Bo09PFt1rffWTOaUnHqRkDia92NnYzPZ6Kv+u3f5PVoXLQ+RLRF4ykH2Tik3JQaTvsa2BnpxlH1SZ908mnhRP9xFpj2/aVcAepWJ1iwEo+NQzD9MBwISt476+nsG18kiSCqWhBXA6dTeToiJg754CR59s2JO7gWr1yFSrpIj6Rs9TraSIPQfhKi6FUtdoCLTM2kSEw56WDFtaouc9oMgwFh1stTDuuga4Dh+Fu6ISSrOLWZ2fmkwHwE89IfF9PgkIAPDJK+i4BQCCTqV8ExIA4JNX0HELAASdSvkmJADAJ6+g4xYACDqV8k1IAIBPXkHHLQAQdCrlm5AAAJ+8go5bACDoVMo3IQEAPnkFHbcAQNCplG9CAgB88go6bgGAoFMp34QEAPjkFXTcAgBBp1K+CQkA8Mkr6LgFAIJOpXwTEgDgk1fQcQsABJ1K+SYkAMAnr6DjFgAIOpXyTUgAgE9eQcctABB0KuWbkAAAn7yCjlsAIOhUyjchAQA+eQUdtwBA0KmUb0ICAHzyCjpuAYCgUynfhAQA+OQVdNwCAEGnUr4JSQX2vFoV8LxzKui0koAE1EkFjrwCVYX2C46nlWhOj8lKEgqlfHvfJYAy4/SYsphlRwnIS6UCR788qK5vVED731AV8gsaCUiAAsl2Lns3rdCet1IB7gya2YmJaEpABlblOgumMgDk545zSHsKd6jAUM2WgsHyEpCAD9Sc3BHnFG5p8byceAIE8p7Cp1XgdrEdWF7HXU6AzL4ErFZycmeR8ompDQCtLcgnUFVlkiQpw6EiUxwRrQ0GOupBQpGqyu9Ikrw+r2V3h6dQ/wcNK3yDzy/kxwAAAABJRU5ErkJggg=="},9162:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAmCAYAAACh1knUAAAC50lEQVRYR92YTUgUYRjHf4/arrnpxY+iIIQCpRCiWwSmQqIHzSi8aOguVLeo7NKlskOXog5dY8ekDtmHqH3Ql0pEdOgmmGVgEEWRrGWZmjpPzObYtvgxujtuNJdh3nne//Ob/zzvO++8wvRRamj+BNwA8lVJtttjOaeIsn3tj87er77S69UyNZ+W2DeLDH2AsjOWxNF9U5KUurwQb4ZTF4SZASk2dFCVTDdALM2FYCIdMVFmruMBZDtia80H8wckqBqP5JEa0SDzObPsIHPBJARkNhhXQQTFnx9C5qi8yJpxFcR68rL1w6zzTcxZfjaM6yDeJJMtWaNkpk7N6cyrL94O10GcjsT/BmQS6BHoQxgENihsRVnj1Ak7LhZHniZ7OPi4Vnojk9YbmvpWaBDlhCoep0BLAhHhSWc9RSISno3L76qXEN57tTJsJy4x9LCpXHANRGA8RSh46Jf+ig5N+/4ZA2GPtXSwANM8VN2pkSFVlRKDlwp5TmAW74jwvNsv2yzxkqAeM+FsZCKB010BOWm1FRt6RZUaV0AEjK6ABCzxIkNbUar+AhGudvmldhr0nAkNboF8AN5Z4gqbgPTIREmwvzMgl8KgQb0F7HYFZAHR1h1+9jaKmOUtmj02woAqvmUFEeFaYS61jcUyeeCFrnjdQ0v0a5sPaPHFOrva7exVVFkL5Mo2TR8OcXOx69/YQYQhr4+N96slZDnR38MjVQqdvI6o0fb7smiJS0WB5q6A1IWHa5MeUZPzi4Ww4uPhyKluvzSGQYLaplCZEBAR3gMfp5NbP2eORkk0bDwcGRDhoiirTTiEsjIhjiR72Gx/gYuDelzhTEJAMjLJaN8l38JTuqH7TKU5ISAiXPb4OKoj5PwkPIkVJARkKUln6xN7scaJ5J8AEWHK1d0Ax2YJo5H7I59UyXHcOZ6BQl+kI+0oFfHUd6oVnhDt4DJDc8eVJmsPDSHFqUiMcWMKz9KzqI/rDlEsUL8AMGlxuNqH28kAAAAASUVORK5CYII="},2622:function(e){"use strict";e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNEBCAgICAkICQoKCQ0ODA4NExEQEBETHBQWFBYUHCsbHxsbHxsrJi4lIyUuJkQ1Ly81RE5CPkJOX1VVX3dxd5yc0f/CABEIAIAAgAMBIgACEQEDEQH/xAA0AAABBQEBAAAAAAAAAAAAAAAAAQIDBQYEBwEAAgMBAQEAAAAAAAAAAAAAAgMBBAYFAAf/2gAMAwEAAhADEAAAANxctPiffcrQIcIStyISpRDyUAlQASiluhgsIytoZFjWRkGL5bxpKXCHkqBKgDygAg5SFY0tlq6W7+hcQDP3FaAzi849CZ9fBflJd9JS53RVdSKQD506pWEbqNZcUlnvOCvZ55dVGTVe35QTlLW36YFYKaskNjW9vFbVSKi4CxnFgW7rNlaVFrts5h3878L2+3W4iW/S2Wc45ARM+F/L9r+Ls495y6RzHYK3kSFenrdvf4D0jZ5jBv3YAYd+1BDGv15AZN2qICOutMvA87o3YG/iliOxrZnQugZ3wSLXPLzSLT0y8sq0dMvNItHS+CQETvheCcSVll3NQ5zFCZXxOBc0kDwX0Sc71q6pOaVSOmXmlWjok56z1f8A/8QAIBABAAECBwEBAAAAAAAAAAAAAQUEEQACAwYQEhQVMP/aAAgBAQABAgCCg/2nYK97/rfF73v+V73ve/5XvQ0uSM8Hh8Xj8fk8vlaSvpeO3bbripyasn9n7H1/r5JOmy4m+b9ttszUR81rU9bEiNHGaFPWSsXrTfPbtth3Emagmaeqr4ehh9aoq5XEJic57dtqu5UTNo69BO1k3qawjCYnOe3baTudMwiIiIweJzm/bZ7uClIQhSGIciCJIoi4jRneDF+0NKaUySZJEiSBXlcVpWtfXVgmL3EREREREREb3EREREzCIiI34ERERERyoiMXKcmBERERERmpz//EADMQAAIBAwAGBwcFAQAAAAAAAAECAwAEEQVTVHKRkhASICNBUXMTJDAxQnGhISJQUrFh/9oACAEBAAM/ALHQlhDbWsMYcRossqphpmX6m+PYabsJra5hjLmN1ilZMtCzfUv8m13OIwcKBlj5CrFFA9gp/wCn9TVns6cKs9QnCrTUJwq11CcKtdQnCrXUpwq21KcKttSnCrYjBhThQtZyoOVIyvZ7243B0XLLmCUKw8CAQa0pC5SVuq3kVFX+tHKKv9aOUVf6wcoq+1g5RWkZGCowJ3RVyFzPICfIAADo72DdPZ7253FqW2tUkifqsJVqCcLHLiOT8GoZ06kiAip7bLpl4/MfMffpmucM37I/M/M1FAvVjXH+moocpFh3/AqSe3d5GyxkNd7Duns5mutxaxYL6q9E9thHzJF5H5j7VBcp14nBHiPEVDMGkhxG/wCDUUOHmw7+XgKht060jAf6amuMon7I/IfM9Hubeoa72DdPZzNdbi1jR6+svTLC4eJyrDxFRy4jucI/9vA1HHmO3AZv7eAqSZy8jlmPien3NvUNd7Buns5mu9xaxo1fWX4PubeoaAlg3T2cz3m4tXF1YrHBGXf2qnFaW2RuIrSuytxFaU2VuIrSeytxFaS2ZuIrSWzNxFaR2duIrSGztUsFqyyp1T1ya72DdPZOjrsSkExsOq4FaLlQMt5F9icGtHbXDzitH7XDzirDaoeYVY7VFzCrHaYuYVZbTFzCrPaI+YVabRHzCrJFyZ0+wOaN3P1/koGFH8na6TtY54JELFFMkYbJjJ8D8ey0NYy3NzLGHEbGKIthpWH0rX//xAAvEQACAQQAAQoFBQAAAAAAAAABAgMABAURBhASExQWIlRyktEgMXOTshUhJjI2/9oACAECAQE/AJJZJZHkkcs7HZJ+OOSSKRZI2Kup2CK1Wvj1XDePtDj0neFHkkLbLAHQB1V/dY6wI6awPNPydYlK12hwXhG+0tdosH4R/tLVhfWF+xEFi/NHzdo1CiuJbK2/TXmESq8bLoga+Z1yc2rFnj4XZkYqwSQgjzGsfxGkidXyKBlI1z9bB8wrI8NpInWMawZSN9HvfpNY/hpETrGScKgG+j3r1GshxKkSdXxqBVA10mtAeUVfO8nCiu7FmZIiSfMOTm1aj+LyfTk/I0RVhlLuwfcT7QnvIf3U1kcpeX77lfSA91B/UURV5/ko/pxfkOTm1iJLSfFGzklCnvKw2AdMd7G67PYnxb+tPauzmI8XJ609q7N4jxknrT2rs1h/GSetPas5NZ22GFjHMHbuKo2CdKd7OuTVEURRFEURRFGnjeN2R1IYHRB5CKIoiiKIqOKSWRY41LOx0AK//8QALxEBAAIBAwAHBQkAAAAAAAAAAQACAwQREgUhIlFSkZIQQUOx0SMkJTEyRFNhYv/aAAgBAwEBPwAqVADYIksRJYiR9iRIksSxLESJOM12XIZ2hZACYseXL+nKb9yu8dLqPGebHTZvEecvS9PzsTGrbaJOMz1HpMqm4tflM/R7V54HZ8P0mLVo8Mxsnv8ArM2p3eOI3e+U01ntZPKVPt0O9jWcJnPxip/qnylqTUaTHmO0dfuSY9Ljwm1Tr72WrKn3tP7Y1nGdJYtRh15qKY2x2UdlNwj0nrX9vX02j0jrP4K+ljr9U/BPSx1mpfhHkzT0yXzuRrsdaxrOMSNZastWWrLVjWUvTJSt6WGqbiRIkSWrLVlqzJxqNrOwT//Z"},9274:function(t){"use strict";t.exports=e},2634:function(){}},a={};function n(e){var i=a[e];if(void 0!==i)return i.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}!function(){n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,{a:t}),t}}(),function(){n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}}(),function(){n.p=""}();var i={};return function(){"use strict";if(n.r(i),n.d(i,{default:function(){return fi}}),"undefined"!==typeof window){var e=window.document.currentScript,t=n(5003);e=t(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:t});var a=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-wrapper",class:e.classObj,on:{click:e.handleBodyOnClick}},[e.awaitShow?t("LeftMenu",{staticClass:"sidebar-container",on:{getate:e.getate}}):e._e(),t("div",{staticClass:"main-container",class:{hasTagsView:e.needTagsView},staticStyle:{background:"#f4f6f9"}},[t("div",{class:{"fixed-header":e.fixedHeader},staticStyle:{position:"relative"}},[e.needTagsView&&e.showTopMenus?t("tags-view",{ref:"tagsView",staticStyle:{"padding-right":"345px"}}):e._e(),e.show?t("div",{staticClass:"headInfo"},[t("div",{ref:"imgHead",staticStyle:{cursor:"pointer"},on:{click:function(t){e.accountDialog=!e.accountDialog}}},[t("div",{staticStyle:{display:"inline-block",position:"absolute",top:"16px",right:"46px"}},[null!==e.valueHead?t("div",{staticClass:"imgHead2",style:{"background-color":e.colorDisplay(e.valueHead)}},[t("span",{staticStyle:{"font-size":"var(--portalFontSize14)",color:"#ffffff","line-height":"16px"}},[e._v(e._s(e.headDisplay(e.valueHead)))])]):e._e(),t("span",{staticStyle:{"font-size":"var(--portalFontSize14)",display:"inline-block","max-width":"300px",overflow:"hidden","text-overflow":"clip","white-space":"nowrap"}},[e._v(e._s(e.valueMail))])]),t("i",{staticClass:"el-icon-arrow-down",staticStyle:{position:"absolute",top:"16px",right:"20px"}})]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.accountDialog,expression:"accountDialog"}],staticClass:"accountDialog"},[t("div",{staticClass:"currentOptiopn"},[null!==e.valueHead?t("div",{staticClass:"imgHead",staticStyle:{width:"44px",height:"44px",float:"left","border-radius":"44px"},style:{"background-color":e.colorDisplay(e.valueHead)}},[t("span",{staticStyle:{"font-size":"36px",color:"#ffffff","line-height":"44px"}},[e._v(e._s(e.headDisplay(e.valueHead)))])]):e._e(),t("div",{staticStyle:{float:"left"}},[t("p",{staticStyle:{margin:"0",padding:"0","line-height":"20px"}},[e._v(e._s(e.loginUser.personName))]),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Recentlylogin",expression:"'Recentlylogin'"}],staticStyle:{"margin-top":"4px",padding:"0",color:"#666","line-height":"20px"},attrs:{time:e.lastTimeLog.operateTime}},[e._v("最近登录:"+e._s(e.lastTimeLog.operateTime))])])]),t("div",{staticClass:"optionListWrap",staticStyle:{padding:"16px 0"}},e._l(e.accountList,(function(a){return t("div",{key:a.id,staticStyle:{position:"relative"}},[t("div",{staticClass:"optionList",on:{click:function(t){return e.selectMail(a)}}},[a.emailAddr===e.valueMail?t("span",{staticStyle:{color:"#409eff"}},[e._v(" "+e._s(a.emailAddr)+" "),t("span",[e._v("("+e._s(e.unreadNum)+")")])]):t("span",[e._v(" "+e._s(a.emailAddr)+" "),t("span",[e._v("("+e._s(e.unreadNum)+")")])])]),a.emailAddr===e.valueMail?t("img",{staticStyle:{height:"16px",position:"absolute",top:"0",right:"21px"},attrs:{src:"./images/w-imgs/success.png",alt:""}}):e._e()])})),0)])]):t("div",{staticClass:"headInfo"})],1),e.defultMail||e.awaitShow?t("app-main"):e._e(),e.showSettings?t("right-panel",[t("settings")],1):e._e()],1)],1)},o=[],s=function(){var e=this,t=e._self._c;return t("el-scrollbar",{class:{"std-scrollbar-wrapper":e.showTopMenus,"dark-scrollbar-wrapper":!e.showTopMenus},attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"default-active":e.activeMenu,collapse:!1,"background-color":e.menuBg,"text-color":e.menuText,"unique-opened":!0,"collapse-transition":!1}},[t("el-menu-item",{directives:[{name:"show",rawName:"v-show",value:""!==e.menuName&&!1,expression:"menuName !== '' && false"}],staticClass:"submenu-title-noDropdown",attrs:{index:"0",disabled:""}},[e.menuIcon.indexOf(".svg")>-1?t("svg-icon",{attrs:{"icon-class":e.menuIconClass}}):e._e(),-1===e.menuIcon.indexOf(".svg")?t("i",{class:e.menuIcon}):e._e(),t("span",{staticClass:"appname"},[e._v(e._s(e.menuName))])],1),t("div",{staticClass:"topBtn-wrapper",staticStyle:{"text-align":"center",height:"55px"}},[t("div",{staticClass:"writeEmail",on:{click:function(t){return e.gotoPages("email.svg")}}},[t("svg-icon",{staticStyle:{color:"#48ba79",width:"14px",height:"14px"},attrs:{"icon-class":"email"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"ReceivingLetters",expression:"'ReceivingLetters'"}]},[e._v("收信")])],1),t("div",{staticClass:"writeEmail",on:{click:e.gotoWrite}},[t("svg-icon",{staticStyle:{fill:"#ec8423",width:"14px",height:"14px"},attrs:{"icon-class":"email_xieyoujian"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"writeLetters",expression:"'writeLetters'"}]},[e._v("写信")])],1)]),e._l(e.routes,(function(a,n){return[a.hidden||!a.meta||"邮件监控"!==a.meta.title&&"yjjk.svg"!==a.meta.icon?a.hidden||!a.meta||"备份邮箱"!==a.meta.title&&"email-backup.svg"!==a.meta.icon?0===a.path.indexOf("/")?t("sidebar-item",{key:n,attrs:{item:e.resetRoute(a),"base-path":a.path}}):e._e():[e.bfyxMenu?t("sidebar-item",{key:n,attrs:{item:e.resetRoute(a),"base-path":a.path}}):e._e()]:[e.yjjkMenu?t("sidebar-item",{key:n,attrs:{item:e.resetRoute(a),"base-path":a.path}}):e._e()]]}))],2)],1)},l=[];
|
|
278
278
|
/*!
|
|
279
279
|
* vuex v3.6.2
|
|
280
280
|
* (c) 2021 Evan You
|
|
281
281
|
* @license MIT
|
|
282
282
|
*/
|
|
283
|
-
function d(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var a=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,a.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var c="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},u=c.__VUE_DEVTOOLS_GLOBAL_HOOK__;function m(e){u&&(e._devtoolHook=u,u.emit("vuex:init",e),u.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){u.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){u.emit("vuex:action",e,t)}),{prepend:!0}))}function p(e,t){Object.keys(e).forEach((function(a){return t(e[a],a)}))}function h(e){return null!==e&&"object"===typeof e}function f(e){return e&&"function"===typeof e.then}function _(e,t){return function(){return e(t)}}var g=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var a=e.state;this.state=("function"===typeof a?a():a)||{}},y={namespaced:{configurable:!0}};y.namespaced.get=function(){return!!this._rawModule.namespaced},g.prototype.addChild=function(e,t){this._children[e]=t},g.prototype.removeChild=function(e){delete this._children[e]},g.prototype.getChild=function(e){return this._children[e]},g.prototype.hasChild=function(e){return e in this._children},g.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},g.prototype.forEachChild=function(e){p(this._children,e)},g.prototype.forEachGetter=function(e){this._rawModule.getters&&p(this._rawModule.getters,e)},g.prototype.forEachAction=function(e){this._rawModule.actions&&p(this._rawModule.actions,e)},g.prototype.forEachMutation=function(e){this._rawModule.mutations&&p(this._rawModule.mutations,e)},Object.defineProperties(g.prototype,y);var v=function(e){this.register([],e,!1)};function b(e,t,a){if(t.update(a),a.modules)for(var n in a.modules){if(!t.getChild(n))return void 0;b(e.concat(n),t.getChild(n),a.modules[n])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,a){return t=t.getChild(a),e+(t.namespaced?a+"/":"")}),"")},v.prototype.update=function(e){b([],this.root,e)},v.prototype.register=function(e,t,a){var n=this;void 0===a&&(a=!0);var i=new g(t,a);if(0===e.length)this.root=i;else{var r=this.get(e.slice(0,-1));r.addChild(e[e.length-1],i)}t.modules&&p(t.modules,(function(t,i){n.register(e.concat(i),t,a)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1],n=t.getChild(a);n&&n.runtime&&t.removeChild(a)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];return!!t&&t.hasChild(a)};var M;var w=function(e){var t=this;void 0===e&&(e={}),!M&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var a=e.plugins;void 0===a&&(a=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new M,this._makeLocalGettersCache=Object.create(null);var i=this,r=this,o=r.dispatch,s=r.commit;this.dispatch=function(e,t){return o.call(i,e,t)},this.commit=function(e,t,a){return s.call(i,e,t,a)},this.strict=n;var l=this._modules.root.state;S(this,l,[],this._modules.root),T(this,l),a.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:M.config.devtools;d&&m(this)},x={state:{configurable:!0}};function L(e,t,a){return t.indexOf(e)<0&&(a&&a.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function k(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var a=e.state;S(e,a,[],e._modules.root,!0),T(e,a,t)}function T(e,t,a){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,r={};p(i,(function(t,a){r[a]=_(t,e),Object.defineProperty(e.getters,a,{get:function(){return e._vm[a]},enumerable:!0})}));var o=M.config.silent;M.config.silent=!0,e._vm=new M({data:{$$state:t},computed:r}),M.config.silent=o,e.strict&&I(e),n&&(a&&e._withCommit((function(){n._data.$$state=null})),M.nextTick((function(){return n.$destroy()})))}function S(e,t,a,n,i){var r=!a.length,o=e._modules.getNamespace(a);if(n.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=n),!r&&!i){var s=E(t,a.slice(0,-1)),l=a[a.length-1];e._withCommit((function(){M.set(s,l,n.state)}))}var d=n.context=Y(e,o,a);n.forEachMutation((function(t,a){var n=o+a;j(e,n,t,d)})),n.forEachAction((function(t,a){var n=t.root?a:o+a,i=t.handler||t;C(e,n,i,d)})),n.forEachGetter((function(t,a){var n=o+a;A(e,n,t,d)})),n.forEachChild((function(n,r){S(e,t,a.concat(r),n,i)}))}function Y(e,t,a){var n=""===t,i={dispatch:n?e.dispatch:function(a,n,i){var r=O(a,n,i),o=r.payload,s=r.options,l=r.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:n?e.commit:function(a,n,i){var r=O(a,n,i),o=r.payload,s=r.options,l=r.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return D(e,t)}},state:{get:function(){return E(e.state,a)}}}),i}function D(e,t){if(!e._makeLocalGettersCache[t]){var a={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var r=i.slice(n);Object.defineProperty(a,r,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=a}return e._makeLocalGettersCache[t]}function j(e,t,a,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){a.call(e,n.state,t)}))}function C(e,t,a,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=a.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return f(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function A(e,t,a,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return a(n.state,n.getters,e.state,e.getters)})}function I(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,a){return h(e)&&e.type&&(a=t,t=e,e=e.type),{type:e,payload:t,options:a}}function P(e){M&&e===M||(M=e,d(M))}x.state.get=function(){return this._vm._data.$$state},x.state.set=function(e){0},w.prototype.commit=function(e,t,a){var n=this,i=O(e,t,a),r=i.type,o=i.payload,s=(i.options,{type:r,payload:o}),l=this._mutations[r];l&&(this._withCommit((function(){l.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},w.prototype.dispatch=function(e,t){var a=this,n=O(e,t),i=n.type,r=n.payload,o={type:i,payload:r},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,a.state)}))}catch(d){0}var l=s.length>1?Promise.all(s.map((function(e){return e(r)}))):s[0](r);return new Promise((function(e,t){l.then((function(t){try{a._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,a.state)}))}catch(d){0}e(t)}),(function(e){try{a._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,a.state,e)}))}catch(d){0}t(e)}))}))}},w.prototype.subscribe=function(e,t){return L(e,this._subscribers,t)},w.prototype.subscribeAction=function(e,t){var a="function"===typeof e?{before:e}:e;return L(a,this._actionSubscribers,t)},w.prototype.watch=function(e,t,a){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,a)},w.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},w.prototype.registerModule=function(e,t,a){void 0===a&&(a={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),S(this,this.state,e,this._modules.get(e),a.preserveState),T(this,this.state)},w.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var a=E(t.state,e.slice(0,-1));M.delete(a,e[e.length-1])})),k(this)},w.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},w.prototype.hotUpdate=function(e){this._modules.update(e),k(this,!0)},w.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(w.prototype,x);var N=z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=this.$store.state,a=this.$store.getters;if(e){var n=B(this.$store,"mapState",e);if(!n)return;t=n.context.state,a=n.context.getters}return"function"===typeof i?i.call(this,t,a):t[i]},a[n].vuex=!0})),a})),H=(z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=[],a=arguments.length;while(a--)t[a]=arguments[a];var n=this.$store.commit;if(e){var r=B(this.$store,"mapMutations",e);if(!r)return;n=r.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a})),z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,a[n]=function(){if(!e||B(this.$store,"mapGetters",e))return this.$store.getters[i]},a[n].vuex=!0})),a})));z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=[],a=arguments.length;while(a--)t[a]=arguments[a];var n=this.$store.dispatch;if(e){var r=B(this.$store,"mapActions",e);if(!r)return;n=r.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a}));function F(e){return $(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function $(e){return Array.isArray(e)||h(e)}function z(e){return function(t,a){return"string"!==typeof t?(a=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,a)}}function B(e,t,a){var n=e._modulesNamespaceMap[a];return n}function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function R(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */R=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==W(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(W(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function U(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function q(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){U(r,n,i,o,s,"next",e)}function s(e){U(r,n,i,o,s,"throw",e)}o(void 0)}))}}function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function V(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?G(Object(a),!0).forEach((function(t){J(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function J(e,t,a){return(t=Q(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Q(e){var t=K(e,"string");return"symbol"==W(t)?t:t+""}function K(e,t){if("object"!=W(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var X=n(8027),Z={data:function(){return{i18npkg:"email",moduleCode:"components",menuName:"",menuIcon:"",menuIconClass:"",folder:[],xieyoujianPath:"",isFolder:!0,defultMail:"",yjjkMenu:!1,bfyxMenu:!1,txlMenu:!0,unreadNum:0,draftsNum:0,usersetId:"",updataLM:!0}},watch:{folder:{handler:function(e){}},$route:function(e){var t=this;setTimeout((function(){t.$el.querySelectorAll(".is-active").forEach((function(t){t.innerText!==e.meta.title&&t.classList.remove("is-active")})),t.$el.querySelectorAll(".el-menu-item").forEach((function(t){t.innerText===e.meta.title&&-1===t.className.indexOf("is-active")&&t.classList.add("is-active")}))}),100)}},computed:V(V({},H(["routes","sidebar","loginUser"])),{},{showTopMenus:function(){return this.$store.state.settings.showTopMenus},activeMenu:function(){var e=this.$route,t=e.meta,a=e.path;return t.activeMenu?t.activeMenu:a},variables:function(){return X},isCollapse:function(){return!this.sidebar.opened},menuBg:function(){return this.showTopMenus?X.stdMenuBgcolor:X.darkMenuBgcolor},menuText:function(){return this.showTopMenus?X.stdMenuText:X.darkMenuText},menuActiveText:function(){return this.showTopMenus?X.stdMenuAcitveText:X.darkMenuAcitveText}}),beforeCreate:function(){},created:function(){var e=this;this.$options.components["SidebarItem"]=this.$loadComponent("@/wapp/common/layout/components/Sidebar/SidebarItem"),this.$bus.on("changeEmail",(function(t){e.defultMail=t})),this.$bus.on("refreshFolder",this.refreshIsFolder),this.$bus.on("getMenuName",this.getMenuName),this.getFolder(),null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")&&(this.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))),this.$bus.on("updateInboxLMnum",this.unread),this.$bus.on("updateDraftsNum",this.drafts),this.getUnreadNum(),this.getdraftsNum()},beforeDestroy:function(){this.$bus.off("refreshFolder",this.refreshIsFolder),this.$bus.off("getMenuName",this.getMenuName),this.$bus.off("changeEmail"),this.$bus.off("updateInboxLMnum",this.unread),this.$bus.off("updateDraftsNum",this.drafts)},mounted:function(){},methods:{getFolder:function(){for(var e=this,t=null,a=0;a<this.routes.length;a++)this.routes[a].meta&&this.routes[a].meta.id===this.$route.meta.id&&1===this.routes[a].meta.level&&this.routes[a].children&&this.routes[a].children.length>0&&(t=this.routes[a],t.children[0].children=t.children[0].children||[]);if(null===t||sessionStorage.getItem("dynamicRoutes-"+this.loginUser.personAccount)){if("管理文件夹"===this.$route.meta.title);else if(-1===this.$route.meta.sysCode.indexOf("_ecyemail"))this.gotoPages("email.svg");else if(t){var n=t.children[0].children.filter((function(e){if(e.children&&1===e.children.length&&"mainpage"===e.children[0].meta.target)return!0}));n.length>0&&this.$router.push(n[0].children[0].fullPath)}}else if(null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")){var i=JSON.parse(sessionStorage.getItem("currentMail")),r=[{compare:"like",field:"mailAddr",merge:!0,value:i.emailAddr},{compare:"=",field:"orgCode",merge:!0,value:i.orgCode}];this.$app.querydata("/mail/byRegulator/querydata",r).then((function(t){"success"===t.code?t.body.listdata.length&&1===i.accountType&&(e.yjjkMenu=!0):e.$alert(t.message,{type:"error"})}));var o=[{compare:"like",field:"backupAdds",merge:!0,value:"%".concat(this.loginUser.personAccount,"%")}];this.$app.querydata("/mail/userSetup/querydata",o).then((function(t){"success"===t.code?t.body.listdata.length&&1===i.accountType&&(e.bfyxMenu=!0):e.$alert(t.message,{type:"error"})}));var s=i.id,l={orderBy:"orderNo asc",urlsearch:"boxType:DEFINED;usersetId:".concat(s)};this.$app.listdata("/mail/messageBox/listdata",l).then((function(a){"success"===a.code?(e.folder=a.body.pageInfo.list,e.getDh(t)):e.$alert(a.message,{type:"error"})}))}else this.gotoPages("email.svg")},getDh:function(e){for(var t,a=this,n=function(){var n=a.routes[i];if(n.meta&&n.meta.parentId===a.$route.meta.id){if(n.meta.dynamicRoute=!0,n.children&&1===n.children.length){n.component=window.$loadComponent("@/wapp/common/layout/components/Blank");var r=n.children[0];r.path=n.children[0].meta.id+i,r.fullPath=n.path+"/"+r.path,r.meta.target="mainpage",n.meta.href="@/wapp/common/layout/components/Blank"}else n.path=e.path+"/"+e.children[0].path+"/"+n.meta.id;e.children[0].meta.dynamicRoute=!0,e.children[0].children.push(n),"自定义文件夹"===n.meta.title&&(n.children=[],t=[],a.folder.forEach((function(e){t.push({id:e.id,name:e.boxName})})),t.push({id:"glwjj",name:"管理文件夹"}),n.component=window.$loadComponent("@/wapp/common/layout/components/Blank"),n.meta.href="@/wapp/common/layout/components/Blank",t.forEach((function(e){var t={path:e.id,name:e.id,alias:e.name,hidden:!1,alwaysShow:!1,component:a.$loadComponent("@/wapp/email/components/EmailFolder"),meta:{id:e.id,title:e.name,level:3,parentId:n.meta.id,parentIconCode:n.meta.icon,parentTitle:n.alias,activeMenu:n.path+"/"+e.id,sysCode:n.meta.sysCode,target:"mainpage",href:"@/wapp/email/components/EmailFolder"}};n.children.push(t)})))}},i=0;i<this.routes.length;i++)n();this.xieyoujianPath={path:"writeMail",fullPath:e.path+"/"+e.children[0].path+"/writeMail",name:"writeMail",alias:"写邮件",hidden:!1,alwaysShow:!1,component:this.$loadComponent("@/wapp/email/EmailXieyoujian"),meta:{id:"writeMail",code:"writeMail",title:"写邮件",level:2,parentId:e.children[0].id,parentIconCode:e.children[0].meta.code,parentTitle:e.children[0].alias,activeMenu:e.children[0].path,sysCode:e.children[0].meta.sysCode,icon:"email_xieyoujian.svg",target:"mainpage",href:"@/wapp/email/EmailXieyoujian"}},e.children[0].children.push(this.xieyoujianPath),this.$router.addRoutes([e]),e.meta.href="@/wapp/common/layout/index",e.children[0].meta.href="@/wapp/email/EmailIndex",sessionStorage.setItem("dynamicRoutes-"+this.loginUser.personAccount,JSON.stringify([e])),this.activeMenu&&0===this.activeMenu.indexOf("/tm/")&&this.gotoWrite();var r=e.children[0].children.filter((function(e){if(e.children&&1===e.children.length&&"mainpage"===e.children[0].meta.target)return!0}));r.length>0&&this.$router.push(r[0].children[0].fullPath)},getMenuName:function(e,t){this.menuName=e,this.menuIcon=t,this.menuIcon.indexOf(".svg")>-1?this.menuIconClass=this.menuIcon.substring(0,this.menuIcon.lastIndexOf(".svg")):this.menuIcon="el-icon-"+this.menuIcon},getUnreadNum:function(){var e=this;return q(R().mark((function t(){var a,n,i;return R().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=0,n={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.defultMail.id,";")},t.next=4,e.$app.listdata("/mail/messageBox/listdata",n);case 4:i=t.sent,"success"===i.code&&i.body.pageInfo.list.forEach((function(e){return"INBOX"===e.boxType&&(a=e.notReadedNum),!1})),e.$bus.emit("updateInboxLMnum",a);case 7:case"end":return t.stop()}}),t)})))()},getdraftsNum:function(){var e=this;return q(R().mark((function t(){var a,n,i;return R().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0,n=JSON.parse(sessionStorage.getItem("currentMail")),i=n.id,e.$http({contentType:"application/x-www-form-urlencoded",url:"/mail/message/listdata?&usersetId="+i,params:{mailBoxType:"DRAFT",accountType:1},method:"POST"}).then((function(t){e.draftsNum=a=t.body.pageInfo.total})),e.$bus.emit("updateDraftsNum",a);case 5:case"end":return t.stop()}}),t)})))()},refreshIsFolder:function(){var e=this;console.log("refreshIsFolder",new Date),this.isFolder=!1,this.getFolder(),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))})),this.$nextTick((function(){e.isFolder=!0}))},gotoWrite:function(){this.gotoPages("writeMail")},gotoPages:function(e){var t=this.getMenuCode(e);if(t){var a;if(t.fullPath)a=t.fullPath;else switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},unread:function(e){var t=this;return q(R().mark((function a(){return R().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.unreadNum=e,t.$emit("getate",t.unreadNum),t.updataLM=!1,t.$nextTick((function(){t.updataLM=!0}));case 4:case"end":return a.stop()}}),a)})))()},drafts:function(e){var t=this;return q(R().mark((function a(){return R().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.draftsNum=e,t.updataLm=!1,t.$nextTick((function(){t.updataLm=!0}));case 3:case"end":return a.stop()}}),a)})))()},resetRoute:function(e){return e.meta&&"收件箱"===e.meta.title?e.children&&e.children.length>0&&this.unreadNum>0&&(e.children[0].alias="收件箱("+this.unreadNum+")",e.children[0].meta&&(e.children[0].meta.title="收件箱("+this.unreadNum+")")):e.meta&&"草稿箱"===e.meta.title&&e.children&&e.children.length>0&&this.draftsNum>0&&(e.children[0].alias="草稿箱"+this.draftsNum+")",e.children[0].meta&&(e.children[0].meta.title="草稿箱("+this.draftsNum+")")),e}}},ee=Z;n(6324);function te(e,t,a,n,i,r,o,s){var l,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=a,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=l):i&&(l=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}var ae=te(ee,s,l,!1,null,null,null),ne=ae.exports;function ie(e){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(e)}function re(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function oe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?re(Object(a),!0).forEach((function(t){se(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):re(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function se(e,t,a){return(t=le(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function le(e){var t=de(e,"string");return"symbol"==ie(t)?t:t+""}function de(e,t){if("object"!=ie(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ce=n(8097).A,ue=n(553).A,me={name:"MailLayout",components:{LeftMenu:ne},mixins:[ce],data:function(){return{i18npkg:"email",moduleCode:"emailWatch",valueMail:"",valueHead:null,accountList:[],defultMail:null,innerMail:null,outMail:null,loginUser:this.$store.getters.loginUser,accountDialog:!1,show:!0,awaitShow:!1,lastTimeLog:{},unreadNum:0}},computed:oe(oe(oe({},H(["routes"])),N({sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},showSettings:function(e){return e.settings.showSettings},needTagsView:function(e){return e.settings.tagsView},fixedHeader:function(e){return e.settings.fixedHeader}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}},showTopMenus:function(){return this.$store.state.settings.showTopMenus}}),beforeCreate:function(){},created:function(){this.$options.components["RightPanel"]=this.$loadComponent("@/wapp/common/components/RightPanel"),this.$options.components["AppMain"]=this.$loadComponent("@/wapp/common/layout/components/AppMain"),this.$options.components["Settings"]=this.$loadComponent("@/wapp/common/layout/components/Settings/index"),this.$options.components["TagsView"]=this.$loadComponent("@/wapp/common/layout/components/TagsView/index"),this.queryMyMailSetup(),this.queryLoginSysLog(),this.$bus.emit("showNavSearch",!1)},mounted:function(){this.$bus.on("queryMyMailSetup",this.queryMyMailSetup);var e=this;document.addEventListener("click",(function(t){if(e.$refs.imgHead){var a=e.$refs.imgHead.contains(t.target);a||(e.accountDialog=!1)}}))},beforeDestroy:function(){this.$bus.off("queryMyMailSetup",this.queryMyMailSetup),this.$bus.emit("showNavSearch",!0)},methods:{getate:function(e){this.unreadNum=e,console.log(e,140)},handleBodyOnClick:function(){this.$bus.emit("bodyOnClick",event)},queryMyMailSetup:function(){var e=this;sessionStorage.removeItem("currentMail"),this.show=!1,this.accountList=[];var t=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(a){t.loading=!1,"success"===a.code?(a.body.listdata.forEach((function(e){1===e.status&&t.accountList.push(e)})),t.accountList&&t.accountList.length>0?t.defultMail=t.accountList[0]:t.defultMail=null,t.defultMail?(sessionStorage.setItem("currentMail",JSON.stringify(t.defultMail)),t.valueMail=t.defultMail.emailAddr,t.valueHead=t.valueMail.substr(0,1),e.show=!0):e.show=!1,e.$bus.emit("refreshFolder"),e.awaitShow=!0):t.$message.error(a.message)}),(function(e){t.$message.error(e)}))},selectMail:function(e){e.id!==this.defultMail.id&&(this.valueMail=e.emailAddr,this.valueHead=e.emailAddr.substr(0,1),this.saveMailSetup(e),sessionStorage.setItem("currentMail",JSON.stringify(e)),this.$bus.emit("refreshFolder"),this.$bus.emit("refreshListData"),this.gotoPages("email.svg"),this.$refs.tagsView.closeAllTags())},saveMailSetup:function(e){var t=this;void 0!==e&&(e.isDefault=1,t.$http({method:"put",contentType:"application/x-www-form-urlencoded",data:e,url:"mail/userSetup/update"}).then((function(a){"success"===a.code&&(t.accountDialog=!1,t.defultMail=e,sessionStorage.setItem("currentMail",JSON.stringify(t.defultMail)),t.$bus.emit("changeEmail",e),t.valueHead=t.defultMail.emailAddr.substr(0,1))})))},colorDisplay:function(e){var t=new RegExp("[a-zA-Z0-9]");return t.test(e)?ue.getInitialColor(e,"letter"):ue.getInitialColor(e)},headDisplay:function(e){return 0===e.indexOf("<")?e.substr(1,1).toUpperCase():e.substr(0,1).toUpperCase()},queryLoginSysLog:function(){var e=this,t=[{compare:"=",field:"orgCode",value:this.loginUser.orgCode},{compare:"=",field:"personName",value:this.loginUser.personName},{compare:"=",field:"result",value:1},{compare:"like",field:"operateType",value:"login"}];this.$app.querydata("base/sysLog/querydata",t,"operateTime desc",1).then((function(t){"success"===t.code&&t.body.listdata&&t.body.listdata.length>0&&(e.lastTimeLog=t.body.listdata[0])}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a,query:{row:this.row}})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t}}},pe=me,he=(n(2342),te(pe,r,o,!1,null,"b27ea0b0",null)),fe=he.exports,_e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-container"},[e.currentMail?t("data-table",{staticClass:"widthChange",attrs:{"on-cell-click":e.onCellClick,"module-info":e.moduleInfo,"tb-columns":e.tbColumns,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad,"on-list-data-loaded":e.onListDataLoaded,"on-selected-rows-change":e.selectedRowsChange,"on-delete-successed":e.onDeleteSuccessed}},[t("template",{slot:"toolbarLeft-slotLeft"},[t("div",{staticClass:"span"},[t("span",{staticClass:"spanChild",style:{color:"全部"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("全部")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"全部"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_qb"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"all",expression:"'all'"}]},[e._v("全部")])]),t("span",{staticClass:"spanChild",style:{color:"图片"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("图片")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"图片"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_tp"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"picture",expression:"'picture'"}]},[e._v("图片")])]),t("span",{staticClass:"spanChild",style:{color:"文档"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("文档")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"文档"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_wd"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"file",expression:"'file'"}]},[e._v("文档")])]),t("span",{staticClass:"spanChild",style:{color:"音频"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("音频")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"音频"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_yp"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"audio",expression:"'audio'"}]},[e._v("音频")])]),t("span",{staticClass:"spanChild",style:{color:"视频"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("视频")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"视频"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_sp"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"video",expression:"'video'"}]},[e._v("视频")])]),t("span",{staticClass:"spanChild",style:{color:"压缩包"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("压缩包")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"压缩包"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_ysb"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Compressed",expression:"'Compressed'"}]},[e._v("压缩包")])]),t("span",{staticClass:"spanChild",style:{color:"其他"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("其他")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"其他"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_qt"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"other",expression:"'other'"}]},[e._v("其他")])])])])],2):t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailInfo",expression:"'emailInfo'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1),t("Basicform",{attrs:{title:e.formTitle,"module-code":e.moduleInfo.moduleCode,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"toolbar-btns":e.busiformBtns,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(a){return[t("busi-form",{attrs:{vo:a.vo,"can-edit":a.canEdit,"module-info":e.moduleInfo}})]}}])})],1)},ge=[];function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}function ve(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function be(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(a),!0).forEach((function(t){Me(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ve(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Me(e,t,a){return(t=we(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function we(e){var t=xe(e,"string");return"symbol"==ye(t)?t:t+""}function xe(e,t){if("object"!=ye(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ye(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Le={data:function(){return{i18npkg:"email",moduleCode:"accessoryList",showView:"listpage",loginUser:{},moduleInfo:{formTemplate:"dcontent/busiformurl?vwtype=W&url=/wf/busiAttach/form.html",winWidth:1e3,delUrl:"mail/attach/delete",addNewUrl:"mail/attach/addNew",insertUrl:"mail/attach/insert",moduleCode:"busiAttach",winHeight:600,updateUrl:"mail/attach/update",listDataUrl:"mail/attach/listdata",getByIdUrl:"mail/attach/getById",listAdvSearchAllFields:0},tbColumns:[{field:"state",checkbox:!0,width:"45px",sortable:!1,align:"center"},{listAdvSearchElement:"",field:"index",width:"45px",sortable:!1,propType:"",align:"center",title:this.$tx("fields.index","序号"),searchable:!1},{propFormatter:"component:@/wapp/email/components/EmailTbColumns",listAdvSearchElement:"",field:"fileName",width:"px",sortable:!0,propType:"String",align:"left",title:this.$tx("email.accessoryList.fields.fileName","文件名称"),searchable:!0},{listAdvSearchElement:"input",listAdvSearchIndex:2,field:"fileSize",width:"100px",elementFormatter:"",sortable:!0,propType:"String",align:"center",title:this.$tx("email.accessoryList.fields.size","大小"),searchable:!1},{propFormatter:"format:YYYY年MM月dd日",listAdvSearchElement:"date",listAdvSearchIndex:0,field:"updateTime",width:"150px",elementFormatter:"111",sortable:!0,propType:"java.util.Date",align:"center",title:this.$tx("email.accessoryList.fields.date","日期"),searchable:!0}],listpageBtns:[{btnName:this.$tx("pageBtns.download","下载"),btnIcon:"download",btnClick:this.download,btnPermission:"download",id:"btn_edit",btnType:"column"},{btnName:this.$tx("pageBtns.forward","转发"),btnIcon:"edit",btnClick:this.transmit,btnPermission:"transmit",id:"btn_btn2",btnType:"toolbar"},{btnName:this.$tx("pageBtns.download","下载"),btnIcon:"download",btnClick:this.allDownload,btnPermission:"download",id:"btn_btn3",btnType:"toolbar"}],busiformBtns:[],formTitle:this.$tx("email.accessoryList.AttachmentFile","附件文件"),fileType:"全部",row:[],isOne:0,currentMail:null}},computed:be({},H(["routes","sidebar"])),watch:{$route:function(e,t){this.setShowView()}},created:function(){this.moduleInfo.listpageViewUrl="[ecyemail]-/wf/busiAttach/list.html";var e=this;this.listpageBtns.forEach((function(t){if(t.btnParams=null,"string"===typeof t.btnClick){var a=t.btnClick;if(-1!==t.btnClick.indexOf("(")){var n=a.substring(a.indexOf("(")+1,a.lastIndexOf(")"));""!==n&&(n=n.replace(/'/g,"").replace(/ /g,"").split(","),t.btnParams=n),a=a.split("(")[0]}e[a]&&(t.btnClick=e[a])}})),this.tbColumns[this.tbColumns.length]={field:"column_operate",title:this.$tx("pageBtns.operate","操作"),width:"70px",align:"center",valign:"middle"};var t=this.moduleInfo.formTemplate.split("url=")[1];t=t.replace(/\//g,"."),t="#/dcontent/vuebusiform/W/"+t.substring(1).replace(".html",".vue"),t+="?sysCode="+(this.$route.meta.sysCode||""),this.$options.components["BusiForm"]=this.$loadComponent(t)},beforeDestroy:function(){},mounted:function(){this.currentMail=sessionStorage.getItem("currentMail"),this.setShowView()},methods:{transmit:function(){if(this.row.length>0){var e=this.row.map((function(e){return e.fileName})),t=new Set(e);t.size===e.length?this.gotoPages("writeMail","1"):this.$message.error(this.$tx("email.messages.notSelectAttach","不能选择相同的附件,请重新选择"))}else this.$message.error(this.$tx("email.messages.selectAttach","请选择要转发的附件"))},gotoPages:function(e){var t=this.getMenuCode(e);if(console.log("toPath",t),t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.fullPath}this.$router.push({path:a,query:{row:this.row}})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},onCellClick:function(e){if(void 0!==e.id){var t=[".doc",".docx",".xls",".xlsx",".ppt",".pptx"],a=e.fileName.split("."),n="."+a[a.length-1];t.includes(n)?window.open("/apigw/mail/attach/downAttachment?topdf=true&inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath):window.open("/apigw/mail/attach/downAttachment?inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath)}},selectedRowsChange:function(e){this.row=e},allDownload:function(){if(this.row.length>0){var e="";this.row.forEach((function(t){""!==e&&(e+=","),e+=t.id})),window.open("/apigw//mail/attach/downAttachmentZip?inline=true&ids="+e+"&saveAs="+(this.row.length>1?encodeURIComponent(this.row[0].fileName.split(".")[0]):encodeURIComponent(this.row[0].fileName)))}else this.$message.error(this.$tx("email.messages.downAttach","请选择要下载的附件"))},download:function(e){void 0!==e.id&&window.open("/apigw/mail/attach/downAttachment?inline=false&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+encodeURIComponent(e.fileName)+"&id="+e.id+"&filePath="+e.filePath)},fileTypeClick:function(e){this.fileType=e,this.$bus.emit("refreshListData")},setShowView:function(){-1!==this.$route.fullPath.indexOf("itemurl=")?this.showView="mainform":this.showView="listpage"},onListDataBeforeLoad:function(e,t){var a;(t.orderBy="updateTime desc",this.loginUser=e.loginUser,null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail"))&&("全部"===this.fileType?t.urlsearch="fileType!:RUGULATOR;":(a="其他"===this.fileType?"fileType!:image,video,doc,audio,zip,RUGULATOR":"视频"===this.fileType?"fileType:video":"音频"===this.fileType?"fileType:audio":"图片"===this.fileType?"fileType:image":"文档"===this.fileType?"fileType:doc":"压缩包"===this.fileType?"fileType:zip":"",t.urlsearch=a));this.isOne++,console.log("wfBusiAttach listdata before load..")},onListDataLoaded:function(e,t){console.log("wfBusiAttach listdata loaded")},onDeleteSuccessed:function(e,t){console.log("wfBusiAttach delete successed")},onBasicFormBeforeOpen:function(e,t,a){console.log("wfBusiAttach form before open"),a.resolve(!0)},onBasicFormOpened:function(e,t){console.log("wfBusiAttach form opened")},onBasicFormBeforeSubmit:function(e,t,a){console.log("wfBusiAttach form submit validation success"),a.resolve(!0)},onBasicFormSubmited:function(e,t){console.log("wfBusiAttach form submited")}}},ke=Le,Te=(n(1527),te(ke,_e,ge,!1,null,"45c17f86",null)),Se=Te.exports,Ye=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",{staticClass:"left_account"},[t("div",{staticClass:"top"},[t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"grouping",expression:"'grouping'"}],attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("分组")]),t("i",{staticClass:"el-icon-delete",staticStyle:{float:"right","margin-right":"20px","line-height":"47.2px",height:"47.2px"},attrs:{"icon-class":"del"},on:{click:e.deleteMail}}),t("i",{staticClass:"el-icon-plus",staticStyle:{float:"right","margin-right":"10px","line-height":"47.2px",height:"47.2px"},on:{click:e.addEmail}})],1),t("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.checkedCities,callback:function(t){e.checkedCities=t},expression:"checkedCities"}},[t("ul",[[e._l(e.accountList,(function(a){return t("li",{key:a,staticClass:"checkBoxlabel",class:e.dynamic,style:{position:"relative",backgroundColor:e.urlSechId===a.id?"#1890ff":""},on:{click:function(t){return t.target!==t.currentTarget?null:e.lineClick(a)}}},[t("el-checkbox",{staticStyle:{height:"14px","line-height":"14px"},attrs:{label:a.id,value:a.id},on:{click:function(t){return t.target!==t.currentTarget?null:e.checkboxClick.apply(null,arguments)}}},[t("span",{style:{color:e.urlSechId===a.id?"white":""},on:{click:function(t){return t.preventDefault(),e.lineClick(a)}}},[e._v(" "+e._s(a.groupName)+" "),e._l(e.mapNum,(function(n){return t("span",{key:n},[e._v(e._s(n.key===a.id?" ( ".concat(n.res," ) "):null))])}))],2)]),t("i",{key:a.id,staticClass:"el-icon-edit",style:{position:"absolute",right:"21px",top:" 39%",color:e.urlSechId===a.id?"white":""},attrs:{"icon-class":"followedit"},on:{click:function(t){return t.stopPropagation(),e.editingGroup(a.id)}}})],1)})),t("li",{style:{display:"inline-block",paddingLeft:"33px",fontSize:"14px",color:"#606266",backgroundColor:"0"===e.urlSechId?"#1890ff":""},on:{click:function(t){return e.lineClick("未分组")}}},[t("span",{style:{color:"0"===e.urlSechId?"white":""}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"notGroup",expression:"'notGroup'"}]},[e._v("未分组")]),e._l(e.mapNum,(function(a){return t("span",{key:a},[e._v(e._s("0"===a.key?" ( ".concat(a.res," ) "):null))])}))],2)]),t("li",{style:{display:"inline-block",paddingLeft:"33px",fontSize:"14px",color:"#606266",backgroundColor:e.urlSechId?"":"#1890ff"},on:{click:function(t){return e.lineClick("全部")}}},[t("span",{style:{color:e.urlSechId?"":"white"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"all",expression:"'all'"}]},[e._v("全部")]),e._l(e.mapNum,(function(a){return t("span",{key:a},[e._v(e._s(""===a.key?" ( ".concat(a.res," ) "):null))])}))],2)])]],2)])],1),t("RightPanel",[e.isTableList?t("data-table",{attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange,"on-list-data-before-load":e.onListDataBeforeLoad}}):e._e()],1),e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.address.BookGroup","通讯录分组"),visible:e.dialogFormVisible,width:"550px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{staticStyle:{margin:"10px 0px","text-align":"center"},attrs:{rules:e.rules,model:e.form}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"GroupName",expression:"'GroupName'"}]},[e._v("分组名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分组名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"false",placeholder:e.$tx("email.address.GroupNameEnter","请输入分组名称")},model:{value:e.form.groupName,callback:function(t){e.$set(e.form,"groupName",t)},expression:"form.groupName"}})],1)]}}],null,!1,2830525282)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"order",expression:"'order'"}]},[e._v("排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"排序",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"false",placeholder:e.$tx("email.address.orderTip","请输入4位数字排序")},model:{value:e.form.ordreNo,callback:function(t){e.$set(e.form,"ordreNo",t)},expression:"form.ordreNo"}})],1)]}}],null,!1,3052659162)})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{icon:"el-icon-close"},on:{click:e.cancel}},[e._v("关 闭")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{type:"primary",icon:"el-icon-check"},on:{click:e.groupingConfirm}},[e._v("保 存")])],1)],1):e._e(),e.dialogFormVisibleTxl?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.address.mailList","通讯录"),visible:e.dialogFormVisibleTxl,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisibleTxl=t}}},[t("el-form",{staticStyle:{margin:"10px 0px","text-align":"center"},attrs:{rules:e.rules,model:e.formTxl}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",staticStyle:{"text-align":"right"}},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"name",expression:"'name'"}]},[e._v("姓名")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isUpdate?t("form-item",{ref:"flCreator",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"input",emptyMessage:"请输入",errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"姓名",propName:"name",propType:"String",textFormatter:"textfield",valueMaxLength:32,valueMinLength:null,model:"vo.flCreator",option:[],tbFieldName:"flcreator",dialog:1,dialogType:"staff",dialogMultiple:!1,dialogShowemail:!1,dialogShowmobile:!1,dialogShowaccount:!1,dialogOrgLevel:e.isShowGroup?"0":"",dialogSubOrgName:"",dialogOrgSelf:!1},vo:e.formTxl,"can-edit":1}}):t("span",[e._v(e._s(e.formTxl.name))])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailAddress",expression:"'emailAddress'"}]},[e._v("邮箱地址")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isUpdate?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱地址",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"new-password",placeholder:e.$tx("email.address.emailAddressEnter","请输入邮箱地址")},model:{value:e.formTxl.email,callback:function(t){e.$set(e.formTxl,"email",t)},expression:"formTxl.email"}})],1)]}}],null,!1,1389631351)}):t("span",[e._v(e._s(e.formTxl.email))])],1)]),t("tr",[t("td",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"grouping",expression:"'grouping'"}],staticClass:"el-table__cell tdlbl tdw17",staticStyle:{"text-align":"right"}},[e._v("分组:")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isUpdate?t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("email.address.groupingEnter","请选择分组")},on:{change:e.formTxlChange},model:{value:e.formTxl.groupName,callback:function(t){e.$set(e.formTxl,"groupName",t)},expression:"formTxl.groupName"}},e._l(e.accountList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.groupName,value:e.id}})})),1):t("span",[e._v(e._s(e.formTxl.groupName))])],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{icon:"el-icon-close"},on:{click:function(t){e.dialogFormVisibleTxl=!1}}},[e._v("关 闭")]),e.isUpdate?e._e():t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"update",expression:"'update'"}],attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.isUpdate=!0}}},[e._v("修 改")]),e.isUpdate?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{type:"primary",icon:"el-icon-check"},on:{click:e.groupingConfirmTxl}},[e._v("保 存")]):e._e()],1)],1):e._e()],1)},De=[];function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function Ce(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ce=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==je(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(je(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Ae(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ie(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Ae(r,n,i,o,s,"next",e)}function s(e){Ae(r,n,i,o,s,"throw",e)}o(void 0)}))}}var Ee={components:{},props:{},data:function(){return{i18npkg:"email",moduleCode:"address",accountList:[],checkAll:!1,checkedCities:[],isIndeterminate:!1,dialogFormVisible:!1,dialogFormVisibleTxl:!1,form:{},formTxl:{},moduleInfo:{getByIdUrl:"/mail/linkman/getById",listDataUrl:"/mail/linkman/listdata",addNewUrl:"/mail/linkman/addNew",insertUrl:"/mail/linkman/insert",updateUrl:"/mail/linkman/update",uploadUrl:"/mail/linkman/upload",queryDataUrl:"/mail/linkman/querydata",updateGroupUrl:"/mail/linkman/updateGroup",delUrl:"/mail/linkman/delete",winWidth:1e3,winHeight:650},tableList:[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"名字",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"groupName",title:"分组",align:"left",width:"150px",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("pageBtns.operate","操作"),width:"100px",align:"center",valign:"middle"}],listpageBtns:[{btnName:"新增",btnIcon:"plus",btnClick:this.addContacts,btnPermission:"add",id:"btn_add",btnType:"toolbar"},{id:"btn_deleteIds",btnName:"删除",btnIcon:"delete",btnClick:this.delete,btnPermission:"deleteIds",btnType:"toolbar"},{id:"btn_btn3",btnName:"编辑",btnIcon:"edit",btnClick:this.editObjectId,btnPermission:"editObject",btnType:"column"},{id:"btn_btn4",btnName:"删除",btnIcon:"delete",btnClick:this.deleteIds,btnPermission:"deleteIds",btnType:"column"},{btnName:this.$tx("email.pageBtns.transferGroup","转移分组"),btnIcon:"export.svg",btnClick:"fastDetail();",btnPermission:"fastDetail",id:"btn_btn5",btnType:"toolbarBtnGroup"}],groupingUrl:{addNew:"/mail/linkmanGroup/addNew",delete:"/mail/linkmanGroup/delete",insert:"/mail/linkmanGroup/insert",update:"/mail/linkmanGroup/update",listdata:"/mail/linkmanGroup/querydata",getById:"/mail/linkmanGroup/getById"},usersetId:this.$store.getters.loginUser,row:[],addOrupdate:!0,addOrupdateContacts:!0,urlSechId:null,isTableList:!1,getXlGroupingList:[],firstGetGrouping:!1,mapNum:[],isUpdate:!1,emlUrl:"",selectGroundId:"",selectGroundName:"",isShowGroup:!1}},computed:{curUser:function(){return this.$store.getters.loginUser}},watch:{},created:function(){var e=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){e.emlUrl="@"+t.body.listdata[0].emailAddr.split("@")[1],console.log(e.emlUrl,"this.emlUrl")})),this.getGrouping(),this.getXlGrouping(),this.getGroupAuth()},beforeDestroy:function(){},mounted:function(){},methods:{onSelectStaffCompleted:function(e,t){var a=this;this.$http({method:"GET",contentType:"application/json",url:"/mail/linkman/getEmailMainByRootOrgId?rootOrgId="+e[0].orgFullId.split("-")[0]}).then((function(t){"success"===t.code?a.formTxl.email=e[0].account+t.body.emailMain:a.formTxl.email=e[0].account+a.emlUrl})),this.formTxl.name=e[0].name,this.formTxl.staffId=e[0].id,this.formTxl.account=e[0].account,console.log(e[0],this.$store.getters.loginUser,"selectedNodes")},deleteIdsLxr:function(e){var t=this;this.$confirm(this.$tx("email.messages.isDel","确定要删除该联系人吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function a(){var n,i;return Ce().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=[],n.push(e.id),a.next=4,t.$app.deleteByIds(t.moduleInfo.delUrl,n);case 4:i=a.sent,"success"===i.code?(t.$message.success(i.message),t.$bus.emit("refreshListData")):t.$message.error(i.message);case 6:case"end":return a.stop()}}),a)}))))},cellclick:function(e){this.editObjectId(e),this.isUpdate=!1},checkboxClick:function(){return!1},toExport:function(e){var t="/file/exportDetail.do?id="+e;window.open(t)},stafflzRow:function(e,t,a){var n=this;this.row.length>0?this.$confirm(this.$tx("email.messages.isTransfer","确定要转移选中的联系人吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function t(){var a,i,r;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=[],n.row.forEach((function(e){a.push(e.id)})),i={},n.$set(i,"email",null),n.$set(i,"groupId",e.id),n.$set(i,"groupName",e.btnName),n.$set(i,"id",null),n.$set(i,"orgCode",null),n.$set(i,"orgName",null),n.$set(i,"passenger",{ids:a}),n.$set(i,"personId",null),t.next=13,n.$app.update(n.moduleInfo.updateGroupUrl,i);case 13:r=t.sent,"success"===r.code?(n.$message.success(r.message),n.$bus.emit("refreshListData")):n.$message.error(r.message);case 15:case"end":return t.stop()}}),t)})))):this.$message.error(this.$tx("email.messages.selectTransfer","请选择要转移的联系人"))},editObjectId:function(e){var t=this;this.addOrupdateContacts=!1,this.$http({url:this.moduleInfo.getByIdUrl,method:"GET",params:{id:e.id}}).then((function(e){"success"===e.code?(t.formTxl=e.body.vo,t.formTxl.personId=t.usersetId.personId,t.dialogFormVisibleTxl=!0):t.$message.error(e.message)}))},lineClick:function(e){var t=this;e.groupName?(this.selectGroundName=e.groupName,this.selectGroundId=e.id):this.selectGroundName="未分组",this.isTableList=!1,"未分组"===e?(this.tableList=[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"姓名",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("fields.operate","操作"),width:"100px",align:"center",valign:"middle"}],this.urlSechId="0"):"全部"===e?(this.tableList=[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"姓名",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"groupName",title:"分组",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("fields.operate","操作"),width:"100px",align:"center",valign:"middle"}],this.urlSechId=null):(this.tableList=[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"姓名",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"groupName",title:"分组",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("fields.operate","操作"),width:"100px",align:"center",valign:"middle"}],this.urlSechId=e.id),this.$nextTick((function(){t.isTableList=!0})),this.$bus.emit("refreshListData")},formTxlChange:function(e){this.formTxl.groupId=e},selectedRowsChange:function(e){this.row=e},getXlGrouping:function(){var e=this;this.isTableList=!1,this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.listdata,params:{orderBy:"ordreNo asc"},method:"POST",data:[{compare:"=",field:"orgCode",merge:!1,value:this.curUser.orgCode},{compare:"=",field:"personId",merge:!1,value:this.usersetId.personId}]}).then((function(t){if("success"===t.code){var a=[],n=[{btnName:"新增",btnIcon:"plus",btnClick:e.addContacts,btnPermission:"add",id:"btn_add",btnType:"toolbar"},{id:"btn_deleteIds",btnName:"删除",btnIcon:"delete",btnClick:e.delete,btnPermission:"deleteIds",btnType:"toolbar"},{id:"btn_btn3",btnName:"编辑",btnIcon:"edit",btnClick:e.editObjectId,btnPermission:"editObject",btnType:"column"},{id:"btn_btn4",btnName:"删除",btnIcon:"delete",btnClick:e.deleteIdsLxr,btnPermission:"deleteIds",btnType:"column"},{btnName:e.$tx("email.pageBtns.transferGroup","转移分组"),btnIcon:"export.svg",btnClick:"fastDetail();",btnPermission:"fastDetail",id:"btn_btn5",btnType:"toolbarBtnGroup"}];a=t.body.listdata,a.length>0&&a.forEach((function(t){n.push({btnName:t.groupName,btnIcon:"",btnClick:e.stafflzRow,btnPermission:"staffzz",id:t.id,btnType:"toolbarChildBtn",clickType:"custom_toolbar_click"})})),e.listpageBtns=n,e.isTableList=!0}else e.$message.error(t.message)}))},getGrouping:function(){var e=this;this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.listdata,method:"POST",params:{orderBy:"ordreNo asc"},data:[{compare:"=",field:"orgCode",merge:!1,value:this.curUser.orgCode},{compare:"=",field:"personId",merge:!1,value:this.usersetId.personId}]}).then((function(t){if("success"===t.code)for(var a in e.accountList=t.body.listdata,e.mapNum=[],t.body.map)e.mapNum.push({key:a,res:t.body.map[a]});else e.$message.error(t.message)}))},getGroupAuth:function(){var e=this;this.$http({url:"/base/apiOrganMgr/getOneGroupCorpStatus",method:"GET"}).then((function(t){"success"===t.code&&t.body?t.body.status?e.isShowGroup=!0:e.isShowGroup=!1:e.$message.error(t.message)}))},groupingConfirmTxl:function(){var e=this;this.formValidate(Ie(Ce().mark((function t(){var a,n;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.accountList.forEach((function(t){t.id===e.formTxl.groupId&&(e.formTxl.groupName=t.groupName)})),a=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,!e.formTxl.email||a.test(e.formTxl.email)){t.next=6;break}e.$alert(e.$tx("email.address.emailNot","邮件格式不正确!"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.next=17;break;case 6:if(n=null,!e.addOrupdateContacts){t.next=13;break}return t.next=10,e.$app.insert(e.moduleInfo.insertUrl,e.formTxl);case 10:n=t.sent,t.next=16;break;case 13:return t.next=15,e.$app.update(e.moduleInfo.updateUrl,e.formTxl);case 15:n=t.sent;case 16:"success"===n.code?(e.$message.success(n.message),e.dialogFormVisibleTxl=!1,e.formTxl={},e.$bus.emit("refreshListData")):e.$message.error(n.message);case 17:case"end":return t.stop()}}),t)}))),null,1)},addContacts:function(){var e=this;this.addOrupdateContacts=!0,this.isUpdate=!0,this.$http({url:this.moduleInfo.addNewUrl,method:"POST"}).then((function(t){"success"===t.code?(e.formTxl=t.body.vo,e.formTxl.groupName=e.selectGroundName,e.formTxl.groupId=e.selectGroundId?e.selectGroundId:"0",e.formTxl.personId=e.usersetId.personId):e.$message.error(t.message)})),this.dialogFormVisibleTxl=!0},delete:function(){var e=this;this.row.length>0?this.$confirm(this.$tx("email.messages.isSelectlxr","确定要删除选中的联系人吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function t(){var a,n;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=[],e.row.forEach((function(e){a.push(e.id)})),t.next=4,e.$app.deleteByIds(e.moduleInfo.delUrl,a);case 4:n=t.sent,"success"===n.code?(e.$message.success(n.message),e.$bus.emit("refreshListData")):e.$message.error(n.message);case 6:case"end":return t.stop()}}),t)})))):this.$message.error(this.$tx("email.messages.selectlxr","请选择要删除的联系人"))},transfer:function(){},editingGroup:function(e){var t=this;this.addOrupdate=!1,this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.getById,method:"GET",params:{id:e}}).then((function(e){"success"===e.code?(t.form=e.body.vo,t.dialogFormVisible=!0):t.$message.error(e.message)}))},cancel:function(){this.dialogFormVisible=!1},groupingConfirm:function(){var e=this,t=null;this.formValidate(Ie(Ce().mark((function a(){var n;return Ce().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!e.form.groupName||!e.form.ordreNo){a.next=17;break}if(n=/^\d{4}$/,n.test(e.form.ordreNo)){a.next=6;break}e.$alert(e.$tx("email.messages.isorderNUmber","请正确填写4位数字排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),a.next=17;break;case 6:if(e.form.personId=e.usersetId.personId,!e.addOrupdate){a.next=13;break}return a.next=10,e.$app.insert(e.groupingUrl.insert,e.form);case 10:t=a.sent,a.next=16;break;case 13:return a.next=15,e.$app.update(e.groupingUrl.update,e.form);case 15:t=a.sent;case 16:"success"===t.code?(e.$message.success(t.message),e.dialogFormVisible=!1,e.getGrouping(),e.getXlGrouping()):e.$message.error(t.message);case 17:case"end":return a.stop()}}),a)}))),null,1)},deleteMail:function(){var e=this;this.checkedCities.length>0?this.$confirm(this.$tx("email.messages.isDelGroup","确定要删除选中分组吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function t(){var a;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$app.deleteByIds(e.groupingUrl.delete,e.checkedCities);case 2:a=t.sent,"success"===a.code?(e.$message.success(a.message),e.getGrouping(),e.getXlGrouping()):e.$message.error(a.message);case 4:case"end":return t.stop()}}),t)})))):this.$message.error(this.$tx("email.messages.selectDelGroup","请选择要删除的分组"))},handleCheckAllChange:function(){var e=[];this.accountList.forEach((function(t){e.push(t.id)})),this.checkedCities=this.checkAll?e:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){var t=e.length;this.checkAll=t===this.accountList.length,this.isIndeterminate=t>0&&t<this.accountList.length},addEmail:function(){var e=this;this.addOrupdate=!0,this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.addNew,method:"POST"}).then((function(t){"success"===t.code?e.form=t.body.vo:e.$message.error(t.message)})),this.dialogFormVisible=!0},onListDataBeforeLoad:function(e,t){var a=this;return Ie(Ce().mark((function n(){return Ce().wrap((function(n){while(1)switch(n.prev=n.next){case 0:a.getGrouping(),a.urlSechId?t.urlsearch="groupId:".concat(a.urlSechId,";personId:").concat(a.usersetId.personId,";orgCode:").concat(e.loginUser.orgCode):t.urlsearch="personId:".concat(a.usersetId.personId,";orgCode:").concat(e.loginUser.orgCode);case 2:case"end":return n.stop()}}),n)})))()}}},Oe=Ee,Pe=(n(1173),te(Oe,Ye,De,!1,null,"a78c7e32",null)),Ne=Pe.exports,He=function(){var e=this,t=e._self._c;return t("div",{staticClass:"helperMailCont"},[t("h4",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle",expression:"'guideTitle'"}]},[e._v("新网邮箱设置帮助指南")]),t("h5",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle1",expression:"'guideTitle1'"}]},[e._v("1、登录新网邮箱:http://ntmail.global-mail.cn")]),t("img",{attrs:{src:"./images/w-imgs/statistics/helpImg1.png",alt:""}}),t("h5",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle2",expression:"'guideTitle2'"}]},[e._v("2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码")]),t("img",{attrs:{src:"./images/w-imgs/statistics/helpImg2.png",alt:""}}),t("h5",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle3",expression:"'guideTitle3'"}]},[e._v("3、设置客户端授权码")]),t("img",{attrs:{src:"./images/w-imgs/statistics/helpImg3.png",alt:""}})])},Fe=[],$e={components:{},props:[],data:function(){return{i18npkg:"email",moduleCode:"ecincMailHelp"}},computed:{},watch:function(){},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},ze=$e,Be=(n(2653),te(ze,He,Fe,!1,null,"556855f0",null)),We=Be.exports,Re=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{padding:"0 10px"}},[t("div",{staticClass:"mailtoolBtn"},[e.seeMail?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("forward")}}},[t("svg-icon",{attrs:{"icon-class":"email_zhuanfaIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"forward",expression:"'forward'"}]},[e._v("转发")])],1):e._e(),t("div",{ref:"deleteWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeDel}},[t("div",[t("span",{staticStyle:{"padding-right":"8px"}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delIcon"}})],1),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}]},[e._v("删除")]),t("i",{staticClass:"el-icon-arrow-down"})]),e.delPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}],on:{click:function(t){return e.setMailInfoFlag("deleted",1)}}},[e._v("删除")]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"comDel",expression:"'comDel'"}],on:{click:function(t){return e.setMailInfoFlag("thoroughDeleted",1)}}},[e._v("彻底删除")])]):e._e()]),t("div",{ref:"tagWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeBiaoji}},[t("div",[t("span",{staticStyle:{"padding-right":"8px"}},[t("svg-icon",{attrs:{"icon-class":"email_biaojiweiIcon"}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"MarkedAs",expression:"'MarkedAs'"}]},[e._v("标记为")]),t("i",{staticClass:"el-icon-arrow-down"})]),e.biaojiPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"read",expression:"'read'"}],on:{click:function(t){return e.setMailInfoFlag("readed",1)}}},[e._v("已读")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unread",expression:"'unread'"}],on:{click:function(t){return e.setMailInfoFlag("readed",0)}}},[e._v("未读")]),"FLAGGED"!==e.mailType?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"StarMarking",expression:"'StarMarking'"}],on:{click:function(t){return e.setMailInfoFlag("handle",1)}}},[e._v("标星")]):e._e(),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"StarMar",expression:"'StarMar'"}],on:{click:function(t){return e.setMailInfoFlag("handle",0)}}},[e._v("去除标星")])]):e._e()]),t("div",{ref:"moveWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeYidong}},[t("div",[t("span",{staticStyle:{"padding-right":"8px"}},[t("svg-icon",{attrs:{"icon-class":"email_yidongdaoIcon"}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"TransferTo",expression:"'TransferTo'"}]},[e._v("转移到")]),t("i",{staticClass:"el-icon-arrow-down"})]),e.yidongPopper?t("div",{staticClass:"changePopper"},[e.listwenjianjia&&e.listwenjianjia.length>0?e._l(e.listwenjianjia,(function(a){return t("div",{key:a},["DRAFT"!==a.boxType?t("span",{staticStyle:{cursor:"pointer"},on:{click:function(t){return e.moveBox(a)}}},[e._v(e._s(a.boxName))]):e._e()])})):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"not",expression:"'not'"}]},[e._v("无")])],2):e._e()]),e.seeMail?t("div",{staticClass:"mailtoolBtnInner",staticStyle:{flex:"1","text-align":"right","margin-right":"20px"}},[t("div",{staticClass:"back",on:{click:function(t){e.seeMail=!1}}},[t("svg-icon",{attrs:{"icon-class":"email_huifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"back",expression:"'back'"}]},[e._v("返回")])],1)]):e._e()]),e.seeMail?e._e():t("data-table",{ref:"dataTable",staticClass:"dataTable",attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange}}),e.mailInfo&&e.seeMail&&!e.loadingMail?[t("div",{staticStyle:{"padding-left":"10px",height:"calc(100vh - 207px)",overflow:"auto",position:"relative"}},[t("div",{staticClass:"text-left",staticStyle:{"overflow-y":"auto"},style:{height:e.quickDiv?"calc(100% - 36px)":"calc(100% - 10px)"}},[t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"theme",expression:"'theme'"}],staticClass:"detailPSize",staticStyle:{"font-size":"var(--portalFontSize14)","font-weight":"700"},attrs:{name:e.mailInfo.subject}},[e._v("主题:"+e._s(e.mailInfo.subject))]),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"detailPSize",attrs:{addr:e.mailInfo.fromAddr}},[e._v("发件人:"+e._s(e.mailInfo.fromAddr))]),null!=e.mailInfo.copyTo&&""!=e.mailInfo.copyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Copy",expression:"'Copy'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.copyTo}},[e._v("抄送:"+e._s(e.mailInfo.copyTo))]):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"detailPSize",attrs:{sendTo:e.mailInfo.sendTo}},[e._v("收件人:"+e._s(e.mailInfo.sendTo))]),null!=e.mailInfo.copyTo&&""!=e.mailInfo.copyTo?t("br"):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"time",expression:"'time'"}],staticClass:"detailPSize",attrs:{time:e.mailInfo.createTime}},[e._v("时间:"+e._s(e.mailInfo.createTime))]),e.mailInfo.attachsCount>0?t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content",expression:"'content'"}],staticClass:"detailPSize",attrs:{attachsCount:e.mailInfo.attachsCount}},[e._v("附件:共"+e._s(e.mailInfo.attachsCount)+"个附件")]),t("div",{staticStyle:{"margin-left":"30px","margin-top":"0","margin-bottom":"0"}},[e._l(e.mailInfo.attachments,(function(a){return[t("div",{key:a},[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px"},attrs:{src:e.imgUrl(a),alt:""}}),t("span",{staticClass:"glyphicon glyphicon-paperclip",staticStyle:{"margin-right":"5px","font-size":"var(--portalFontSize12)"}}),e._v(" "+e._s(a.fileName)+" "),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],attrs:{size:"small",type:"text"},on:{click:function(t){return e.downAttachment(a)}}},[e._v("下载")])],1)]}))],2)]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail?t("div",{staticStyle:{padding:"10px","border-top":"1px solid #ececec"}},[t("iframe",{ref:"mailInfoContent",attrs:{width:"100%",scrolling:"no",height:"800px",frameborder:"0"}})]):e._e()])])])]:e._e()],2)},Ue=[],qe=n(5373),Ge=n.n(qe);function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}function Je(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Je=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ve(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ve(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Qe(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ke(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Qe(r,n,i,o,s,"next",e)}function s(e){Qe(r,n,i,o,s,"throw",e)}o(void 0)}))}}function Xe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ze(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(a),!0).forEach((function(t){et(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function et(e,t,a){return(t=tt(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function tt(e){var t=at(e,"string");return"symbol"==Ve(t)?t:t+""}function at(e,t){if("object"!=Ve(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var nt={components:{},props:{},data:function(){return{i18npkg:"email",moduleCode:"emailWatch",loginUser:this.$store.getters.loginUser,seeMail:!1,loadingMail:!1,listwenjianjia:null,moduleInfo:{listDataUrl:"mail/message/listdata",getByIdUrl:"mail/message/getMailInfoById",mailFlagUrl:"mail/message/setMailFlag",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft"},tableList:[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"ownerName",title:"监控对象",width:"200px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},sortable:!0,searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:3,elementFormatter:"",propFormatter:"function:operateActualSize"},{propFormatter:"component:@/wapp/email/components/EmailTbColumnsWatch?aaa",field:"subject",title:"邮件主题",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"sentdate",title:"发送时间",width:"150px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"date",elementFormatter:"format:yyyy-MM-dd HH:mm:ss\r\n",listAdvSearchIndex:4}],tableData:[],delPopper:!1,yidongPopper:!1,biaojiPopper:!1,currentMail:null,mailInfo:null,multipleSelection:[],newMailInfo:"",tipText:"",quickDiv:!1}},computed:Ze({},H(["routes","loginUser"])),watch:{},created:function(){console.log("emailWatch"),this.$bus.emit("showNavSearch",!0),null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")&&(this.currentMail=JSON.parse(sessionStorage.getItem("currentMail")))},beforeDestroy:function(){this.$bus.emit("showNavSearch",!1),this.$bus.off("changeEmail"),this.$bus.off("cellClick",this.onCellClickRows)},mounted:function(){var e=this,t=this;this.$bus.on("changeEmail",(function(t){e.currentMail=JSON.parse(sessionStorage.getItem("currentMail"))})),this.$bus.on("cellClick",this.onCellClickRows),document.addEventListener("click",(function(e){if(t.$refs.deleteWrap){var a=t.$refs.deleteWrap.contains(e.target);a||(t.delPopper=!1)}if(t.$refs.tagWrap){var n=t.$refs.tagWrap.contains(e.target);n||(t.biaojiPopper=!1)}if(t.$refs.moveWrap){var i=t.$refs.moveWrap.contains(e.target);i||(t.yidongPopper=!1)}}))},methods:{changeDel:function(){this.delPopper=!this.delPopper,this.delPopper&&(this.yidongPopper=!1,this.biaojiPopper=!1)},changeBiaoji:function(){this.biaojiPopper=!this.biaojiPopper,this.biaojiPopper&&(this.yidongPopper=!1,this.delPopper=!1)},changeYidong:function(){var e=this;return Ke(Je().mark((function t(){var a,n,i,r;return Je().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.yidongPopper=!e.yidongPopper,a={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.currentMail.id,";boxType!:REGULATE")},!e.yidongPopper){t.next=9;break}return t.next=5,e.$app.listdata("/mail/messageBox/listdata",a);case 5:n=t.sent,"success"===n.code&&(i=[],r=[],n.body.pageInfo.list.forEach((function(e,t){"DEFINED"===e.boxType?i.push(e):r.push(e)})),e.listwenjianjia=r.concat(i)),e.biaojiPopper=!1,e.delPopper=!1;case 9:case"end":return t.stop()}}),t)})))()},onCellClickRows:function(e){var t=this,a={};t.mailInfo=null,t.loadingMail=!0,t.seeMail=!0,a=e;var n=this.moduleInfo.getByIdUrl,i={mailBoxId:e.mailBoxId,messageId:a.mailMessageId,apigw:"apigw"};this.$http({method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:i,url:n}).then((function(e){"success"===e.code?(t.loadingMail=!1,t.mailInfo=e.body.vo,t.mailInfo.attachsCount=t.mailInfo.attachments.length,t.mailInfo.content&&t.seeMail&&t.$nextTick((function(){setTimeout((function(){t.$refs.mailInfoContent.contentWindow.document.write(t.mailInfo.content);var e=t.$refs.mailInfoContent.contentWindow.document.body.scrollHeight,a=t.$refs.mailInfoContent.contentWindow.document.documentElement.scrollHeight,n=Math.max(e,a);t.$refs.mailInfoContent.height=n}),100)})),t.newMailInfo=e.body.vo,t.tableData.forEach((function(e,n){e.mailMessageId===a.mailMessageId&&(t.tableData[n].readed=1)})),t.mailInfo.attachments.forEach((function(e){e.fmtFileSize=e.fileSize}))):(t.$message.error(e.message),t.seeMail=!1,t.loadingMail=!1)}),(function(e){t.$message.error(e)}))},selectedRowsChange:function(e){var t=this;t.mailInfo=null,t.loadingMail=!0,1===e.length?t.mailInfo=e[0]:this.multipleSelection=e},transIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailMessageId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailMessageId)})),e},transmailBoxIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailBoxId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailBoxId)})),e},imgUrl:function(e){var t=e.fileName||e.name;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png"},forwardMail:function(e){if(!this.mailInfo&&this.mailInfo.length<1)return this.$message.warning(this.$tx("email.messages.selectEmail","请先选择邮件")),!1;this.newMailInfo=this.mailInfo,this.newMailInfo.actionType=e,"forward"===e&&(this.newMailInfo.sendTo=null,this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.forwardSubject+":"+this.newMailInfo.subject),this.gotoPages("writeMail")},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a}),localStorage.setItem("newMailInfo",JSON.stringify(this.newMailInfo))}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},setMailInfoFlag:function(e,t,a){var n=this;if(!this.mailInfo&&this.multipleSelection.length<1)return this.$message.warning(this.$tx("email.messages.selectEmail","请先选择邮件")),!1;var i=[];i=this.transIds(),"deleted"===e?this.tipText=this.$tx("email.messages.isdelEmail","将删除该邮件, 是否继续?"):"thoroughDeleted"===e?this.tipText=this.$tx("email.messages.delEmailTip","将永久删除该邮件,删除后不可恢复, 是否继续?"):"readed"===e&&0===t?this.tipText=this.$tx("email.messages.signUnread","是否标记为未读?"):"readed"===e&&1===t?this.tipText=this.$tx("email.messages.signRead","是否标记为已读?"):"handle"===e&&0===t?this.tipText=this.$tx("email.messages.delSign","是否去除标星?"):"handle"===e&&1===t&&(this.tipText=this.$tx("email.messages.sign","是否标记为标星?")),a?this.setMailInfoFlagFuc(e,t,i):this.$confirm(this.tipText,this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确 定"),cancelButtonText:this.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){n.setMailInfoFlagFuc(e,t,i)})).catch((function(){}))},setMailInfoFlagFuc:function(e,t,a){var n=this,i=this,r=this.moduleInfo.mailFlagUrl;this.$http({method:"PUT",contentType:"application/x-www-form-urlencoded",params:{mailBoxId:this.tableData[0].mailBoxId,userSetupId:i.currentMail.id,messageIds:a,flagName:e,flagValue:t},paramsSerializer:function(e){return Ge().stringify(e,{indices:!1})},url:r}).then((function(r){"success"===r.code?(1===Number(t)?i.$message.success(r.message):i.$message.success(n.$tx("email.messages.successCancel","已成功取消")),"deleted"===e||"thoroughDeleted"===e?(!0===i.seeMail&&(i.seeMail=!1),i.$bus.emit("refreshListData"),i.mailInfo&&-1!==a.indexOf(i.mailInfo.mailMessageId)&&(i.mailInfo=null)):i.$bus.emit("refreshListData"),i.multipleSelection=[]):i.$message.error(r.message)}))},moveBox:function(e){var t=this;return Ke(Je().mark((function a(){var n,i,r;return Je().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=t,t.mailInfo||!(t.multipleSelection.length<1)){a.next=4;break}return t.$message.warning(t.$tx("email.messages.selectEmail","请先选择邮件")),a.abrupt("return",!1);case 4:return i={mailBoxId:e.id,passenger:{ids:t.transIds(),mailBoxId:t.transmailBoxIds()}},a.next=7,t.$app.update("/mail/message/moveToMailFolder",i);case 7:r=a.sent,"success"===r.code?(t.$message.success(t.$tx("email.messages.TransferSuccessful","转移成功!")),n.$bus.emit("refreshListData"),t.multipleSelection=[],t.mailInfo=null):t.$message.error(r.message);case 9:case"end":return a.stop()}}),a)})))()},downAttachment:function(e){if(null===this.mailInfo.mailBoxId)return!1;if(""===e.busiDataId||""===e.fileName)return!1;var t="/apigw/mail/attach/downAttachment?mailBoxId="+this.tableData[0].mailBoxId+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath;window.open(t,"_blank")},onListDataBeforeLoad:function(e,t){this.moduleInfo.listDataUrl="/mail/message/listdata?mailBoxType=REGULATE&usersetId="+this.currentMail.id+"&accountType="+this.currentMail.accountType},onListDataLoaded:function(e,t){console.log("vwfilefolder listdata loaded"),this.tableData=t.list}}},it=nt,rt=(n(8840),te(it,Re,Ue,!1,null,"c1a106ec",null)),ot=rt.exports,st=function(){var e=this,t=e._self._c;return t("LRLayout",{staticClass:"email_main",staticStyle:{padding:"0"},on:{click:function(t){e.visibleJump=!1}}},[null!==e.currentMail?t("LeftPanel",{ref:"LeftPanel",staticClass:"left",staticStyle:{width:"500px",height:"calc(100vh - 180px)",border:"none","border-right":"1px solid #eceff5"}},[t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"tbStyle",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange,"cell-click":e.readMail,"current-change":e.currentChangeFuc},model:{value:e.tableData,callback:function(t){e.tableData=t},expression:"tableData"}},[t("el-table-column",{attrs:{type:"selection",width:"30"}}),t("el-table-column",{scopedSlots:e._u([{key:"default",fn:function(a){return[t("p",{staticStyle:{margin:"0px",padding:"0",width:"100%",position:"relative",height:"23px","line-height":"23px"}},[1===a.row.mailWithdraw?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",float:"left","margin-top":"5px","margin-right":"5px"},attrs:{"icon-class":"wjzx_hsz_recolumn"}}):e._e(),t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"auto","max-width":"calc(100% - 100px)",float:"left",color:"#333333"},style:{fontWeight:0===a.row.readed?800:400}},[e._v(e._s("SENDED"!==e.mailType?a.row.passenger&&a.row.passenger.sendName?a.row.passenger.sendName:a.row.fromAddr:a.row.sendTo))]),1===a.row.containAttach?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",float:"left","margin-top":"5px","margin-left":"5px"},attrs:{"icon-class":"emailAttach"}}):e._e(),t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"80px","text-align":"right","padding-right":"8px",float:"right"}},[e._v(e._s(a.row.createTime))])],1),0===a.row.readed?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",position:"absolute",top:"36px",left:"-14px"},attrs:{"icon-class":"email_weidu"}}):e._e(),t("p",{staticStyle:{margin:"0px",padding:"0",width:"100%",position:"relative",height:"23px","line-height":"23px"}},[t("span",{staticClass:"listItem",staticStyle:{display:"inline-block",width:"calc(100% - 24px)",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},style:{fontWeight:0===a.row.readed?800:400,fontSize:0===a.row.readed?"15px":"13px"}},[a.row.mailSecret?t("span",{staticStyle:{"margin-right":"3px","font-size":"var(--portalFontSize13)",padding:"0px 5px",color:"rgb(255, 255, 255)",background:"#f12202","border-radius":"3px",position:"relative",top:"-1px"}},[e._v(e._s(a.row.mailSecret))]):e._e(),e._v(" "+e._s(a.row.subject)+" ")]),"DRAFT"!==e.mailType&&"DELETED"!==e.mailType?[0===a.row.flagged?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",position:"absolute",top:"6px"},attrs:{"icon-class":"fiveStar2"},on:{click:function(t){return t.stopPropagation(),e.setMailInfoFlag("handle",1,a.row.mailMessageId,a.row)}}}):e._e(),1===a.row.flagged?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",position:"absolute",top:"6px",fill:"#fab342"},attrs:{"icon-class":"fiveStar3"},on:{click:function(t){return t.stopPropagation(),e.setMailInfoFlag("handle",0,a.row.mailMessageId,a.row)}}}):e._e()]:e._e()],2)]}}],null,!1,32994551)},[t("template",{slot:"header"},[""===e.total&&0===e.multipleSelection.length?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailNum",expression:"'emailNum'"}],staticStyle:{display:"inline-block",float:"left","font-size":"var(--portalFontSize12)","line-height":"26px",color:"#666"},attrs:{disabled:"",readonly:""}},[e._v("共 0 封")]):e._e(),""!==e.total&&0===e.multipleSelection.length?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailNumIng",expression:"'emailNumIng'"}],staticStyle:{display:"inline-block",float:"left","font-size":"var(--portalFontSize12)","line-height":"26px",color:"#666"},attrs:{disabled:"",readonly:"",total:e.total}},[e._v("共"+e._s(e.total)+"封")]):e._e(),e.multipleSelection.length>0?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectEmail",expression:"'selectEmail'"}],attrs:{count:e.multipleSelection.length}},[e._v(e._s("已选"+e.multipleSelection.length+"封"))]):e._e(),e.multipleSelection.length>0?t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],staticStyle:{color:"#409eff",cursor:"pointer","margin-left":"5px"},on:{click:function(t){return e.toggleSelection()}}},[e._v("取消")]):e._e(),t("div",{staticStyle:{"line-height":"26px",float:"right","padding-left":"0","padding-right":"0",color:"#333"}},[t("span",{ref:"jumpPopoverCopy",staticStyle:{"margin-right":"10px"}},[e._v(e._s(e.currentPage+"/"+e.totalPage))]),t("span",{staticStyle:{"padding-right":"10px",cursor:"pointer"}},[t("i",{staticClass:"el-icon-back",staticStyle:{"margin-right":"10px","font-weight":"700"},style:{color:1===e.currentPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(0)}}}),t("i",{staticClass:"el-icon-right",staticStyle:{"font-weight":"700"},style:{color:e.currentPage===e.totalPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(1)}}})])])])],2)],1),e.visibleJump?t("div",{ref:"jumpPopover",staticClass:"jumpPopover"},[t("div",{staticStyle:{"margin-bottom":"20px",height:"25px","line-height":"25px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"JumpTo",expression:"'JumpTo'"}]},[e._v("跳转到")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.jumpPage,expression:"jumpPage"}],staticClass:"jumpInput",attrs:{placeholder:""},domProps:{value:e.jumpPage},on:{input:function(t){t.target.composing||(e.jumpPage=t.target.value)}}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"page",expression:"'page'"}]},[e._v("页")])]),t("div",{staticStyle:{"text-align":"right",margin:"0"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{size:"mini"},on:{click:e.jumpPageCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",size:"mini"},on:{click:e.jumpPageFuc}},[e._v("确定")])],1)]):e._e()],1)]):e._e(),null!==e.currentMail?t("RightPanel",{staticClass:"right",staticStyle:{width:"calc(100% - 500px)",height:"calc(100vh - 180px)","margin-left":"0"}},[t("div",[t("div",{staticClass:"mailtoolBtn"},["DRAFT"===e.mailType&&(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.gotoPages("writeMail","1")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_edit"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"edit",expression:"'edit'"}]},[e._v("编辑")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"DRAFT"!==e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("respAll")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_quanbuhuifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"ReplyAll",expression:"'ReplyAll'"}]},[e._v("全部回复")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"DRAFT"!==e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("resp")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_huifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"reply",expression:"'reply'"}]},[e._v("回复")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"SENDED"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("witedraw")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"wjzx_hsz_recolumn"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"withdraw",expression:"'withdraw'"}]},[e._v("撤回")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"SENDED"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("resend")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_quanbuhuifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"SendAgain",expression:"'SendAgain'"}]},[e._v("再次发送")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"DRAFT"!==e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("forward")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_zhuanfaIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"forward",expression:"'forward'"}]},[e._v("转发")])],1):e._e(),"DELETED"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.setMailInfoFlag("thoroughDeleted",1)}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delthorough"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"comDel",expression:"'comDel'"}]},[e._v("彻底删除")])],1):e._e(),"DRAFT"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.deleteDraft()}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}]},[e._v("删除")])],1):e._e(),"DELETED"!==e.mailType&&"DRAFT"!==e.mailType?t("div",{ref:"deleteWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeDel}},[t("div",[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}]},[e._v("删除")]),t("i",{staticClass:"el-icon-arrow-down"})],1),e.delPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}],on:{click:function(t){return e.setMailInfoFlag("deleted",1)}}},[e._v("删除")]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"comDel",expression:"'comDel'"}],on:{click:function(t){return e.setMailInfoFlag("thoroughDeleted",1)}}},[e._v("彻底删除")])]):e._e()]):e._e(),"DRAFT"!==e.mailType&&null===e.mailInfo?t("div",{ref:"tagWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeBiaoji}},[t("div",[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_biaojiweiIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"MarkedAs",expression:"'MarkedAs'"}]},[e._v("标记为")]),t("i",{staticClass:"el-icon-arrow-down"})],1),e.biaojiPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"read",expression:"'read'"}],on:{click:function(t){return e.setMailInfoFlag("readed",1)}}},[e._v("已读")]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"unRead",expression:"'unRead'"}],on:{click:function(t){return e.setMailInfoFlag("readed",0)}}},[e._v("未读")]),"FLAGGED"!==e.mailType&&"DELETED"!==e.mailType?t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"StarMarking",expression:"'StarMarking'"}],on:{click:function(t){return e.setMailInfoFlag("handle",1)}}},[e._v("标星")]):e._e(),"DELETED"!==e.mailType?t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"StarMar",expression:"'StarMar'"}],on:{click:function(t){return e.setMailInfoFlag("handle",0)}}},[e._v("去除标星")]):e._e()]):e._e()]):e._e(),"DRAFT"!==e.mailType&&"FLAGGED"!==e.mailType?t("div",{ref:"moveWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeYidong}},[t("div",[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_yidongdaoIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"TransferTo",expression:"'TransferTo'"}]},[e._v("转移到")]),e._v(" "+e._s(e.mailType)+","+e._s(e.mailInfo)+" "),t("i",{staticClass:"el-icon-arrow-down"})],1),e.yidongPopper?t("div",{staticClass:"changePopper"},[e.listwenjianjia&&e.listwenjianjia.length>0?e._l(e.listwenjianjia,(function(a){return t("div",{key:a},["DRAFT"!==a.boxType&&e.folderId?t("span",{style:{color:""!==e.folderId&&e.folderId===a.id?"#999":"",cursor:""!==e.folderId&&e.folderId===a.id?"default":"pointer"},on:{click:function(t){return e.moveBox(a,e.folderId===a.id)}}},[e._v(e._s(a.boxName))]):e._e(),"DRAFT"===a.boxType||e.folderId?e._e():t("span",{style:{color:a.boxType===e.mailType?"#999":"",cursor:a.boxType===e.mailType?"default":"pointer"},on:{click:function(t){return e.moveBox(a,a.boxType===e.mailType)}}},[e._v(e._s(a.boxName))])])})):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"not",expression:"'not'"}]},[e._v("无")])],2):e._e()]):e._e(),e.mailInfo&&"SENDED"===e.mailType&&1===e.mailInfo.receipt?t("div",{staticClass:"mailtoolBtnInner",on:{click:e.viewReadingLog}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"fl_bmbh"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"readingLog",expression:"'readingLog'"}]},[e._v("阅读记录")])],1):e._e(),e.multipleSelection.length>0?t("div",{staticClass:"mailtoolBtnInner",on:{click:e.downloadMail}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_ysb"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}]},[e._v("下载")])],1):e._e()]),t("div",{staticClass:"div_content",staticStyle:{"padding-left":"10px",height:"calc(100vh - 207px)",overflow:"auto",position:"relative"},attrs:{span:18}},[null===e.currentMail||null!==e.mailInfo||e.seeMail||e.loadingMail?e._e():t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"tipOne",expression:"'tipOne'"}],staticStyle:{"font-size":"var(--portalFontSize14)",color:"#333",margin:"29px 0"}},[e._v("单击一封邮件在此处显示")])],1),null!==e.currentMail&&e.seeMail&&e.loadingMail?t("div",{staticClass:"text-center",staticStyle:{"padding-top":"180px"}},[t("i",{staticClass:"el-icon-loading",staticStyle:{"font-size":"20px"}})]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail?t("div",{staticClass:"text-left",staticStyle:{"overflow-y":"auto"},style:{height:"INBOX"===e.mailType?e.quickDiv?"calc(100% - 200px)":"calc(100% - 85px)":""}},[t("div",[t("p",{staticClass:"detailPSize",staticStyle:{"font-size":"var(--portalFontSize14)","font-weight":"700"}},[e._v(" "+e._s(e.mailInfo.subject)+" "),e.mailInfo.mailSecret?t("span",{staticStyle:{"margin-left":"3px",padding:"0px 5px",color:"rgb(255, 255, 255)",background:"#f12202","border-radius":"3px"}},[e._v(e._s(e.mailInfo.mailSecret))]):e._e()]),t("p",{staticClass:"detailPSize"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender2",expression:"'Sender2'"}],attrs:{to:e.mailInfo.fromAddr}},[e._v("发件人:"+e._s(e.mailInfo.ownerName)+"/"+e._s(e.mailInfo.fromAddr))]),t("i",{class:[e.isExpand?"el-icon-caret-top":"el-icon-caret-bottom"],staticStyle:{color:"#999","font-size":"var(--portalFontSize15)","margin-left":"5px",cursor:"pointer"},on:{click:function(t){e.isExpand=!e.isExpand}}})]),e.isExpand?[e.mailInfo.copyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender2",expression:"'Sender2'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.copyTo}},[e._v("抄送:"+e._s(e.mailInfo.copyTo))]):e._e(),"SENDED"===e.mailType&&e.mailInfo.blindCopyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"bcc",expression:"'bcc'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.blindCopyTo}},[e._v("密送:"+e._s(e.mailInfo.blindCopyTo))]):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addressee2",expression:"'addressee2'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.sendTo}},[t("span",[e._v("收件人:"+e._s(e.mailInfo.sendTo))]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],staticStyle:{"font-size":"14px"},attrs:{size:"small",type:"text"},on:{click:function(t){return e.copy(e.mailInfo.sendTo)}}},[e._v("复制")])],1),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"time",expression:"'time'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.createTime}},[e._v("时间:"+e._s(e.mailInfo.createTime))])]:e._e(),t("div",[1===e.newMailInfo.mailWithdraw?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"walStatus",expression:"'walStatus'"}],staticClass:"detailPSize"},[e._v("撤回状态:已撤回")]):e._e()]),e.mailInfo.attachsCount>0?t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content1",expression:"'content1'"}],staticClass:"detailPSize",attrs:{attachsCount:e.mailInfo.attachsCount}},[e._v("附件:共"+e._s(e.mailInfo.attachsCount)+"个附件")]),t("div",{staticStyle:{"margin-left":"30px","margin-top":"0","margin-bottom":"0"}},[e._l(e.mailInfo.attachments,(function(a){return t("div",{key:a},[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px"},attrs:{src:e.imgUrl(a),alt:""}}),t("span",{staticClass:"glyphicon glyphicon-paperclip",staticStyle:{"font-size":"var(--portalFontSize12)"}},[e._v(" "+e._s(a.fileName)+" "),a.fileLevel?t("span",{staticStyle:{"font-size":"var(--portalFontSize12)",padding:"0px 5px",color:"rgb(255, 255, 255)",background:"#f12202","border-radius":"3px",position:"relative",top:"-1px"}},[e._v(e._s(a.fileLevel))]):e._e(),e._v(" "),t("span",{staticStyle:{color:"#999"}},[e._v(e._s(a.fileSize))])]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],attrs:{size:"small",type:"text"},on:{click:function(t){return e.downAttachment(a)}}},[e._v("下载")])],1)}))],2)]):e._e(),null!==e.mailInfo&&e.seeMail?t("div",{staticStyle:{padding:"10px","border-top":"1px solid #ececec"}},[t("iframe",{ref:"mailInfoContent",attrs:{width:"100%",scrolling:"no",frameborder:"0"}})]):e._e()],2)]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail&&"INBOX"===e.mailType?t("div",{staticStyle:{padding:"20px 0",position:"absolute",right:"10px",bottom:"10px",left:"10px",background:"#fff"}},[e.quickDiv?e._e():t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content2",expression:"'content2'"}],staticStyle:{border:"1px solid #ebedf0",color:"#999",cursor:"pointer",padding:"10px","font-size":"var(--portalFontSize13)","border-radius":"4px",background:"#f7f8fa"},attrs:{fromAddr:e.mailInfo.fromAddr},on:{click:function(t){e.quickDiv=!0}}},[e._v("快捷回复给:"+e._s(e.mailInfo.fromAddr))]),e.quickDiv?t("div",[t("el-input",{staticClass:"lyy-bg",attrs:{type:"textarea",rows:5,placeholder:e.$tx("email.list.content2",{fromAddr:e.mailInfo.fromAddr},"快捷回复给:{fromAddr}")},model:{value:e.quickContent,callback:function(t){e.quickContent=t},expression:"quickContent"}}),t("div",{staticStyle:{"padding-top":"10px"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"send",expression:"'send'"}],attrs:{type:"primary",loading:e.sendLoading},on:{click:e.saveDraft}},[e._v("发送")]),e.sendLoading?e._e():t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:""},on:{click:function(t){e.quickDiv=!1,e.quickContent=""}}},[e._v(" 取消 ")])],1)],1):e._e()]):e._e()])])]):e._e(),null===e.currentMail?t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content3",expression:"'content3'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1):e._e(),e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.list.AdvancedSearch","高级搜索"),visible:e.dialogFormVisible,width:"800px","close-on-click-modal":!1,"destroy-on-close":""},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{staticStyle:{"text-align":"center"},attrs:{model:e.adVo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper",staticStyle:{height:"unset"}},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.list.content5","请输入发件人/邮箱地址")},model:{value:e.adVo.fromAddr,callback:function(t){e.$set(e.adVo,"fromAddr",t)},expression:"adVo.fromAddr"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("收件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.list.content6","请输入收件人/邮箱地址")},model:{value:e.adVo.sendTo,callback:function(t){e.$set(e.adVo,"sendTo",t)},expression:"adVo.sendTo"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailTitle",expression:"'emailTitle'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("邮件主题")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.list.emailTitleEnter","请输入邮件主题")},model:{value:e.adVo.subject,callback:function(t){e.$set(e.adVo,"subject",t)},expression:"adVo.subject"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendTime",expression:"'sendTime'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发送时间")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.list.startTime","请选择发送时间(开始)")},model:{value:e.adVo.sentdate_START,callback:function(t){e.$set(e.adVo,"sentdate_START",t)},expression:"adVo.sentdate_START"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.to",expression:"'common.to'"}],staticStyle:{"padding-left":"5px","padding-right":"5px"}},[e._v("至")]),t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.list.endTime","选择发送时间(结束)")},model:{value:e.adVo.sentdate_END,callback:function(t){e.$set(e.adVo,"sentdate_END",t)},expression:"adVo.sentdate_END"}})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{icon:"el-icon-close",disabled:e.doing},on:{click:e.adSeachCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",disabled:e.doing,icon:"el-icon-check"},on:{click:e.adSeachConfirm}},[e._v("确定")])],1)],1):e._e(),t("ViewReadingLog")],1)},lt=[],dt=n(9274),ct=n.n(dt),ut=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.pageBtns.readingLog","阅读记录"),visible:e.dialogFormVisible,width:"800px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("data-table",{attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad}})],1):e._e()},mt=[],pt={components:{},props:{},data:function(){return{dialogFormVisible:!1,mailInfo:{},moduleInfo:{listDataUrl:"/mail/message/listReceipt"},tableList:[{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"ownerName",title:"收件人",align:"center",valign:"middle",width:"120px",searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:1},{field:"sentDate",title:"发送时间",align:"center",valign:"middle",searchable:!1,listAdvSearchElement:"date",listAdvSearchIndex:2},{field:"readed",title:"是否已读",align:"center",valign:"middle",width:"100px",searchable:!1,elementFormatter:"1:已读\r\n0:未读\r\n",listAdvSearchElement:"select",listAdvSearchIndex:3},{field:"readingTime",title:"阅读时间",align:"center",valign:"middle",searchable:!1,listAdvSearchElement:"input",listAdvSearchIndex:4}],listpageBtns:[]}},computed:{},created:function(){this.$bus.on("viewReadingLog",this.viewReadingLog)},beforeDestory:function(){this.$bus.off("viewReadingLog",this.viewReadingLog)},mounted:function(){},watch:{},methods:{viewReadingLog:function(e){this.moduleInfo.listDataUrl="/mail/message/listReceipt?messageId=1&urlsearch=mailMessageId:"+e.mailMessageId+";mailBoxId!:"+e.mailBoxId,this.dialogFormVisible=!0},onListDataBeforeLoad:function(e,t){t.orderBy||(t.orderBy="sentDate"),console.log("role listdata before load..")}}},ht=pt,ft=te(ht,ut,mt,!1,null,"4f18cde2",null),_t=ft.exports;function gt(e){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(e)}function yt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */yt=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==gt(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(gt(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function vt(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function bt(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){vt(r,n,i,o,s,"next",e)}function s(e){vt(r,n,i,o,s,"throw",e)}o(void 0)}))}}function Mt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function wt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(a),!0).forEach((function(t){xt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Mt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function xt(e,t,a){return(t=Lt(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Lt(e){var t=kt(e,"string");return"symbol"==gt(t)?t:t+""}function kt(e,t){if("object"!=gt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Tt=n(5093),St={name:"",components:{ViewReadingLog:_t},data:function(){return{i18npkg:"email",moduleCode:"list",search:"",canEdit:0,moduleInfo:{listDataUrl:"mail/message/listdata",getByIdUrl:"mail/message/getMailInfoById",mailFlagUrl:"mail/message/setMailFlag",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft"},quickMailInfo:null,tableData:[],multipleSelection:[],multipleSelectionLen:null,usersetId:this.$store.getters.loginUser,total:"",totalPage:1,currentPage:1,jumpPage:"",pageSize:50,mailType:"",mailInfo:null,loading:!0,sendLoading:!1,loadingMail:!1,seeMail:!1,mailBoxId:"",newMailInfo:"",tipText:"",value:"",accountList:[],currentMail:null,selColumnVisible:!1,selColumnVisibleBiaoji:!1,visibleType:"",clickNum:0,delPopper:!1,biaojiPopper:!1,yidongPopper:!1,visibleJump:!1,listwenjianjia:null,quickContent:"",quickDiv:!1,menhuRow:"",menhu:!1,api:"/apigw",isExpand:!1,dialogFormVisible:!1,adVo:{fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""}}},computed:wt({},H(["routes","loginUser"])),props:{isCustom:{type:Boolean,default:function(){return!1}},folderId:{type:String,default:function(){return""}}},watch:{},created:function(){if(this.isCustom)this.mailType="DEFINED";else{this.$route.query.urlsearch;var e=this.$route.meta.params,t=e.indexOf("=");this.mailType=e.slice(t+1,e.length)}this.$bus.on("searchListData",this.adSeach),null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")&&(this.currentMail=JSON.parse(sessionStorage.getItem("currentMail")),this.loadList("",this.adVo),this.$route.query.messageId&&this.$route.query.mailBoxId&&(this.menhu=!0,this.menhuRow=this.$route.query.messageId,this.readMail(this.$route.query.messageId))),console.log("currentMail===",this.currentMail),this.$bus.emit("hiddenAdvSearch",!1)},beforeDestroy:function(){this.$bus.off("searchListData",this.adSeach),this.$bus.off("changeEmail"),this.$bus.emit("hiddenAdvSearch",!0)},mounted:function(){var e=this;this.$route.query.rowsSelected&&this.$nextTick((function(){setTimeout((function(){e.gotoPages("writeMail","1")}),200)})),this.dragControllerDiv(),this.$bus.on("changeEmail",(function(t){e.currentMail=JSON.parse(sessionStorage.getItem("currentMail")),e.currentPage=1,e.loadList("",e.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1}));var t=this;document.addEventListener("click",(function(e){if(t.$refs.jumpPopover){var a=t.$refs.jumpPopover.contains(e.target)||t.$refs.jumpPopoverCopy.contains(e.target);a||(t.visibleJump=!1)}if(t.$refs.deleteWrap){var n=t.$refs.deleteWrap.contains(e.target);n||(t.delPopper=!1)}if(t.$refs.tagWrap){var i=t.$refs.tagWrap.contains(e.target);i||(t.biaojiPopper=!1)}if(t.$refs.moveWrap){var r=t.$refs.moveWrap.contains(e.target);r||(t.yidongPopper=!1)}}))},methods:{copy:function(e){var t=this;return bt(yt().mark((function a(){return yt().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!navigator.clipboard||!navigator.clipboard.writeText){a.next=10;break}return a.prev=1,a.next=4,navigator.clipboard.writeText(e);case 4:t.$message.success("复制成功"),a.next=10;break;case 7:a.prev=7,a.t0=a["catch"](1),console.warn("Clipboard API失败,使用传统方法");case 10:return a.abrupt("return",Promise.resolve(t.legacyCopyToClipboard(e)));case 11:case"end":return a.stop()}}),a,null,[[1,7]])})))()},legacyCopyToClipboard:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.onSuccess,n=void 0===a?null:a,i=t.onError,r=void 0===i?null:i,o=t.showMessage,s=void 0===o||o;if("string"!==typeof e)return console.error("复制内容必须是字符串"),r&&r("内容类型错误"),!1;if(""===e.trim())return console.warn("复制内容为空"),r&&r("内容为空"),!1;var l=document.createElement("textarea");l.value=e,l.setAttribute("readonly",""),l.style.cssText="\n position: fixed !important;\n left: -9999px !important;\n top: -9999px !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: 0 !important;\n border: none !important;\n outline: none !important;\n background: transparent !important;\n opacity: 0 !important;\n pointer-events: none !important;\n user-select: text !important;\n ",document.body.appendChild(l);var d=!1;try{if(l.focus(),l.select(),l.setSelectionRange(0,e.length),d=document.execCommand("copy"),!d)throw new Error("execCommand返回false");console.log("复制成功:",e.substring(0,50)+(e.length>50?"...":"")),s&&this.$message.success("复制成功"),n&&n(e)}catch(c){console.error("复制操作失败:",c),s&&showCopyMessage("复制成功!","success"),r&&r(c.message),l.focus(),l.select()}finally{setTimeout((function(){l.parentNode&&l.parentNode.removeChild(l)}),100)}return d},adSeach:function(e,t){"and"===t?this.dialogFormVisible=!0:this.searchListData(e)},adSeachCancle:function(){this.dialogFormVisible=!1,this.adVo={fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""},this.loadList("",this.adVo),this.$bus.emit("clearSearchText"),this.mailInfo=null,this.loadingMail=!1,this.seeMail=!1},adSeachConfirm:function(){Date.parse(this.adVo.sentdate_END)<Date.parse(this.adVo.sentdate_START)?this.$alert(this.$tx("email.messages.content7","发送时间(结束)不能小于发送时间(开始)"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):(this.adVo.sentdate_START=this.adVo.sentdate_START?Tt(this.adVo.sentdate_START).format("YYYY-MM-DD HH:mm:ss"):"",this.adVo.sentdate_END=this.adVo.sentdate_END?Tt(this.adVo.sentdate_END).format("YYYY-MM-DD HH:mm:ss"):"",this.loadList("",this.adVo),this.dialogFormVisible=!1,this.mailInfo=null,this.loadingMail=!1,this.seeMail=!1,this.$bus.emit("clearSearchText"))},getUnreadNum:function(){var e=this;return bt(yt().mark((function t(){var a,n,i;return yt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=0,n={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.currentMail.id,";")},t.next=4,e.$app.listdata("/mail/messageBox/listdata",n);case 4:i=t.sent,"success"===i.code&&i.body.pageInfo.list.forEach((function(e){return"INBOX"===e.boxType&&(a="oneGroupCorp"===e.searchMode?e.allNotReadedNum:e.notReadedNum),!1})),e.$bus.emit("updateInboxLMnum",a);case 7:case"end":return t.stop()}}),t)})))()},getdraftsNum:function(){var e=this;return bt(yt().mark((function t(){var a,n,i;return yt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0,n=JSON.parse(sessionStorage.getItem("currentMail")),i=n.id,e.$http({contentType:"application/x-www-form-urlencoded",url:"/mail/message/listdata?&usersetId="+i,params:{mailBoxType:"DRAFT",accountType:1},method:"POST"}).then((function(e){a=e.body.pageInfo.total,console.log(a,545)})),e.$bus.emit("updateDraftsNum",a);case 5:case"end":return t.stop()}}),t)})))()},currentChangeFuc:function(e,t){},searchListData:function(e,t,a){this.loadList(e)},changePageNumber:function(e){1===e?this.currentPage<this.totalPage&&(this.currentPage++,this.loadList("",this.adVo)):this.currentPage>1&&(this.currentPage--,this.loadList("",this.adVo))},jumpPageCancle:function(){this.visibleJump=!1,this.jumpPage=""},jumpPageFuc:function(){if(Number(this.jumpPage)<1||Number(this.jumpPage)>this.totalPage)return this.$message.warning(this.$tx("email.messages.content8",{totalPage:this.totalPage},"跳转范围在 1 - {totalPage} 页")),this.jumpPage="",!1;this.currentPage=this.jumpPage,this.visibleJump=!1,this.jumpPage="",this.loadList("",this.adVo)},transPageSize:function(e){var t=1===e?10:2===e?20:3===e?50:100;return t},loadList:function(e,t){var a=this;return bt(yt().mark((function n(){var i,r,o;return yt().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=a,i.loading=!0,r=new FormData,r.append("pageNum",i.currentPage),r.append("pageSize",a.transPageSize(i.currentMail.pageSize)),t?(r.append("searchAndOr","and"),r.append("searchMap[fromAddr]",a.adVo.fromAddr),r.append("searchMap[sendTo]",a.adVo.sendTo),r.append("searchMap[subject]",a.adVo.subject),r.append("searchMap[sentdate_START]",a.adVo.sentdate_START),r.append("searchMap[sentdate_END]",a.adVo.sentdate_END)):(r.append("searchAndOr","or"),r.append("searchMap[searchText]",e)),o="",o=""===i.folderId?"FLAGGED"===i.mailType?i.moduleInfo.listDataUrl+"?mailBoxType=ALL&filter=flagged&usersetId="+i.currentMail.id+"&accountType="+i.currentMail.accountType:i.moduleInfo.listDataUrl+"?mailBoxType="+i.mailType+"&usersetId="+i.currentMail.id+"&accountType="+i.currentMail.accountType:i.moduleInfo.listDataUrl+"?mailBoxType="+i.mailType+"&usersetId="+i.currentMail.id+"&mailBoxTypeId="+i.folderId+"&accountType="+i.currentMail.accountType,n.next=10,i.$http({method:"POST",data:r,url:o}).then((function(e){i.loading=!1,"success"===e.code?(e.body.pageInfo.total>0?(i.tableData=e.body.pageInfo.list,i.tableData.forEach((function(e,t){e.createTime=ct().filter("formatTime")(e.createTime)})),i.total=e.body.pageInfo.total,i.totalPage=e.body.pageInfo.pages):(i.tableData=e.body.pageInfo.list,i.total=e.body.pageInfo.total,i.totalPage=1),"INBOX"===i.mailType&&i.getUnreadNum(),"DRAFT"===i.mailType&&i.getdraftsNum()):i.$message.error(e.message)}),(function(e){i.loading=!1,i.$message.error(e)}));case 10:case"end":return n.stop()}}),n)})))()},handleSelectionChange:function(e){this.multipleSelection=e,this.changeLength(),this.mailInfo=null},toggleSelection:function(e){var t=this;e?e.forEach((function(e){t.$refs.multipleTable.toggleRowSelection(e)})):this.$refs.multipleTable.clearSelection()},readMail:function(e,t,a,n){var i=this;this.isExpand=!1,this.show=!1;var r=this;r.seeMail=!0,r.loadingMail=!0;var o=this.moduleInfo.getByIdUrl,s={mailBoxId:e.mailBoxId,messageId:e.mailMessageId,apigw:"apigw"};r.menhu&&void 0===t&&(s={mailBoxId:r.$route.query.mailBoxId,messageId:e,apigw:"apigw"}),this.$http({method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:s,url:o}).then((function(t){"success"===t.code?(r.loadingMail=!1,r.mailInfo=t.body.vo,r.mailInfo.attachsCount=r.mailInfo.attachments.length,r.mailInfo.content&&i.$nextTick((function(){this.$refs.mailInfoContent.contentWindow.document.write(r.mailInfo.content);var e=this.$refs.mailInfoContent.contentWindow.document.body.scrollHeight,t=this.$refs.mailInfoContent.contentWindow.document.documentElement.scrollHeight,a=Math.max(e,t);this.$refs.mailInfoContent.height=a})),r.newMailInfo=t.body.vo,r.tableData.forEach((function(t,a){t.mailMessageId===e.mailMessageId&&(r.tableData[a].readed=1)})),r.mailInfo.attachments.forEach((function(e){e.fmtFileSize=e.fileSize})),"INBOX"===r.mailType&&r.getUnreadNum(),"DRAFT"===r.mailType&&r.getdraftsNum(),console.log("newMailInfo",r.newMailInfo)):(r.mailInfo=null,r.$message.error(t.message),r.seeMail=!1,r.loadingMail=!1)}),(function(e){r.mailInfo=null,r.seeMail=!1,r.loadingMail=!1,r.$message.error(e)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(console.log("modelCode",e),console.log("toPath",t),t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.fullPath}if("youxiangshezhi.svg"===e)this.$router.push({path:a});else{if(null===this.mailInfo&&!this.$route.query.rowsSelected)return this.$message.warning(this.$tx("email.messages.emailTip","请选择邮件")),!1;if(this.$route.query.rowsSelected)return this.$route.query.rowsSelected.forEach((function(e){e.fileName=e.name?e.name:e.fileName,e.fileSize=e.size?e.size:e.fileSize,e.id=e.fileId?e.fileId:e.id})),void this.$router.push({path:a,query:{row:this.$route.query.rowsSelected,srcBusiDataId:"099999"}});console.log("转发邮件",this.newMailInfo),this.$router.push({path:a}),localStorage.setItem("newMailInfo",JSON.stringify(this.newMailInfo))}}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},changeLength:function(){this.multipleSelectionLen=this.multipleSelection.length,this.multipleSelectionLen>0&&document.getElementById("tipCont")},forwardMail:function(e){var t=this;if(null===this.mailInfo)return this.$message.warning(this.$tx("email.messages.emailTip21","请先打开邮件")),!1;if(this.newMailInfo=this.mailInfo,this.newMailInfo.actionType=e,"forward"===e)this.newMailInfo.sendTo=null,this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.forwardSubject+":"+this.newMailInfo.subject;else if("resp"===e)this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null;else if("respAll"===e)this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null;else if("resend"===e);else if("witedraw"===e){var a=new Date(this.newMailInfo.withdrawalTimeLimit),n=new Date;return 2==this.newMailInfo.mailWithdraw?void this.$alert(this.$tx("email.messages.emailTip22","当前邮件已读无法撤回"),this.$tx("common.operationTip","操作提示"),{type:"error"}):this.isGreaterThan(n,a)?void this.$alert(this.$tx("email.messages.emailTip23","超过24小时的邮件无法撤回"),this.$tx("common.operationTip","操作提示"),{type:"error"}):(console.log(123123,this,"ssss"),void this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{mailMessageId:this.newMailInfo.mailMessageId},url:"/mail/message/withdrawEmailByMailMessageId"}).then((function(e){"success"===e.code?(t.$message.success(t.$tx("email.messages.emailTip24","撤回成功!")),console.log(e,"res")):t.$alert(e.message,t.$tx("common.operationTip","操作提示"),{type:"error"})})))}this.gotoPages("writeMail")},isGreaterThan:function(e,t){return e.getTime()>t.getTime()},setMailInfoFlag:function(e,t,a,n){var i=this,r=[];if(console.log("flagPosition",a),a)r.push(a);else if(r=this.transIds(),0===r.length)return void this.$message.warning(this.$tx("email.messages.emailTip","请选择邮件"));if("deleted"===e)this.tipText=this.$tx("email.messages.emailTip5","将删除该邮件, 是否继续?");else if("thoroughDeleted"===e)this.tipText=this.$tx("email.messages.emailTip6","将永久删除该邮件,删除后不可恢复, 是否继续?");else if("readed"===e&&0===t){if(this.tipText=this.$tx("email.messages.emailTip7","是否标记为未读?"),!this.multipleSelection.length&&0===this.newMailInfo.readed)return void this.$message({message:this.$tx("email.messages.emailTip8","该邮件是未读邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var o=this.multipleSelection.every((function(e){return 0===e.readed}));if(o)return void this.$message({message:this.$tx("email.messages.emailTip9","所选邮件均是未读邮件,无需重复操作。"),type:"warning"})}}else if("readed"===e&&1===t){if(this.tipText=this.$tx("email.list.emailTip10","是否标记为已读?"),!this.multipleSelection.length&&1===this.newMailInfo.readed)return void this.$message({message:this.$tx("email.messages.emailTip11","该邮件是已读邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var s=this.multipleSelection.every((function(e){return 1===e.readed}));if(s)return void this.$message({message:this.$tx("email.messages.emailTip12","所选邮件均是已读邮件,无需重复操作。"),type:"warning"})}}else if("handle"===e&&0===t){if(this.tipText=this.$tx("email.list.emailTip13","是否去除标星?"),!this.multipleSelection.length&&!a&&0===this.newMailInfo.flagged)return void this.$message({message:this.$tx("email.messages.emailTip14","该邮件是未标星邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var l=this.multipleSelection.every((function(e){return 0===e.flagged}));if(l)return void this.$message({message:this.$tx("email.messages.emailTip15","所选邮件均是未标星邮件,无需重复操作。"),type:"warning"})}}else if("handle"===e&&1===t){if(this.tipText=this.$tx("email.list.emailTip16","是否标记为标星?"),!this.multipleSelection.length&&!a&&1===this.newMailInfo.flagged)return void this.$message({message:this.$tx("email.messages.emailTip17","该邮件是已标星邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var d=this.multipleSelection.every((function(e){return 1===e.flagged}));if(d)return void this.$message({message:this.$tx("email.messages.emailTip18","所选邮件均是标星邮件,无需重复操作。"),type:"warning"})}}a?this.setMailInfoFlagFuc(e,t,r,n):this.$confirm(this.tipText,this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确定"),cancelButtonText:this.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){i.selColumnVisible=!1,i.selColumnVisibleBiaoji=!1,i.setMailInfoFlagFuc(e,t,r,n)})).catch((function(){}))},setMailInfoFlagFuc:function(e,t,a,n){var i=this,r=this;console.log("enterrrr",n,this.mailType,this.tableData);var o=this.moduleInfo.mailFlagUrl,s="FLAGGED"===this.mailType?"starBox":n&&n.mailBoxId?n.mailBoxId:this.tableData[0].mailBoxId;console.log("currentMail",r.currentMail),console.log("newMailInfo",r.newMailInfo),console.log("messageIds",a),r.loading=!0,this.$http({method:"PUT",contentType:"application/x-www-form-urlencoded",params:{mailBoxId:s,messageIds:a,flagName:e,flagValue:t,userSetupId:r.currentMail.id},paramsSerializer:function(e){return Ge().stringify(e,{indices:!1})},url:o}).then((function(t){r.loading=!1,"success"===t.code?(r.$message.success(t.message),"deleted"===e||"thoroughDeleted"===e?(r.loadList("",i.adVo),r.mailInfo&&-1!==a.indexOf(r.mailInfo.mailMessageId)&&(r.mailInfo=null)):(r.mailInfo=t.body.listdata[0],r.newMailInfo=t.body.listdata[0],r.loadList("",i.adVo)),r.multipleSelection=[]):r.$message.error(t.message)}))},deleteDraft:function(){var e=this,t=this,a=this.transIds();a&&a.length>0?this.$confirm(this.$tx("email.messages.isDelFile","将永久删除该文件, 是否继续?"),this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确定"),cancelButtonText:this.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){e.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:a},paramsSerializer:function(e){return Ge().stringify(e,{indices:!1})},url:e.moduleInfo.deleteDraftUrl}).then((function(e){"success"===e.code?(t.mailInfo&&-1!==a.indexOf(t.mailInfo.mailMessageId)&&(t.mailInfo=null),t.$message.success(e.message),t.loadList("",t.adVo),t.multipleSelection=[]):t.$message.error(e.message)}))})).catch((function(){})):this.$message.warning(this.$tx("email.messages.selectDelFile","请先选择需要删除的邮件"))},downAttachment:function(e){if(null===this.mailInfo.mailBoxId)return!1;if(""===e.busiDataId||""===e.fileName)return!1;var t="/apigw/mail/attach/downAttachment?mailBoxId="+this.tableData[0].mailBoxId+"&messageId="+e.busiDataId+"&attachName="+encodeURIComponent(e.fileName)+"&id="+e.id+"&filePath="+e.filePath;window.open(t,"_blank")},changeDel:function(){this.delPopper=!this.delPopper,this.delPopper&&(this.yidongPopper=!1,this.biaojiPopper=!1)},changeBiaoji:function(){this.biaojiPopper=!this.biaojiPopper,this.biaojiPopper&&(this.yidongPopper=!1,this.delPopper=!1)},changeYidong:function(){var e=this;return bt(yt().mark((function t(){var a,n,i,r;return yt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.yidongPopper=!e.yidongPopper,a={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.currentMail.id,";boxType!:REGULATE")},!e.yidongPopper){t.next=9;break}return t.next=5,e.$app.listdata("/mail/messageBox/listdata",a);case 5:n=t.sent,"success"===n.code&&(i=[],r=[],n.body.pageInfo.list.forEach((function(e,t){"DEFINED"===e.boxType?i.push(e):r.push(e)})),e.listwenjianjia=r.concat(i)),e.biaojiPopper=!1,e.delPopper=!1;case 9:case"end":return t.stop()}}),t)})))()},moveBox:function(e,t){var a=this;return bt(yt().mark((function n(){var i,r;return yt().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(null!==a.mailInfo||0!==a.multipleSelection.length){n.next=3;break}return a.$message.warning(a.$tx("email.messages.selectEmailFile","请先选择邮件!")),n.abrupt("return",!1);case 3:if(!t){n.next=7;break}return a.$message.warning(a.$tx("email.messages.notOneself","不能转移到自身文件夹!")),a.yidongPopper=!0,n.abrupt("return",!1);case 7:return i={mailBoxId:e.id,passenger:{ids:a.transIds(),mailBoxId:a.transmailBoxIds()}},n.next=10,a.$app.update("/mail/message/moveToMailFolder",i);case 10:r=n.sent,"success"===r.code?(a.$message.success(a.$tx("email.messages.TransferSu","转移成功!")),a.loadList("",a.adVo),a.multipleSelection=[],a.mailInfo=null,a.loadingMail=!1,a.seeMail=!1):a.$message.error(r.message);case 12:case"end":return n.stop()}}),n)})))()},transIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailMessageId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailMessageId)})),e},transmailBoxIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailBoxId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailBoxId)})),e},dragControllerDiv:function(){for(var e=document.getElementsByClassName("resize"),t=document.getElementsByClassName("left"),a=function(a){e[a].onmousedown=function(n){e[a].style.background="#818181";var i=n.clientX;return e[a].left=e[a].offsetLeft,document.onmousemove=function(n){var r=n.clientX,o=e[a].left+(r-i);o<320&&(o=320),o>600&&(o=600),e[a].style.left=o;for(var s=0;s<t.length;s++)t[s].style.width=o+"px"},document.onmouseup=function(t){e[a].style.background="#d6d6d6",document.onmousemove=null,document.onmouseup=null,e[a].releaseCapture&&e[a].releaseCapture()},e[a].setCapture&&e[a].setCapture(),!1}},n=0;n<e.length;n++)a(n)},saveDraft:function(e){var t=this,a=this;if(a.quickMailInfo={},a.quickMailInfo.sendTo=a.mailInfo.fromAddr,a.quickMailInfo.fromAddr=a.currentMail.emailAddr,a.quickMailInfo.content=a.quickContent+"<hr/>"+a.mailInfo.content,a.quickMailInfo.subject=a.mailInfo.subject,a.quickMailInfo.mailType=2,a.quickMailInfo.usersetId=a.currentMail.id,""!==a.quickContent.trim()){a.sendLoading=!0,a.quickMailInfo.onlyOne=0;var n=a.moduleInfo.saveDraftUrl,i={userSetupId:a.currentMail.id};return new Promise((function(e,r){t.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:i,data:t.quickMailInfo,url:n}).then((function(t){"success"===t.code?(a.sendLoading=!1,a.quickMailInfo.mailMessageId=t.body.mailMessageId,a.quickMailInfo.id=t.body.shipId,a.sendMail()):(a.sendLoading=!1,a.$message.error(t.message)),e(t)})).catch((function(e){r(e)}))}))}this.$message.warning(this.$tx("email.messages.enterContent","请输入回复内容!"))},sendMail:function(){var e=this;e.sendLoading=!0,e.quickMailInfo.usersetId=e.currentMail.id;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.currentMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.quickMailInfo,url:t}).then((function(t){"success"===t.code?(e.sendLoading=!1,e.quickContent="",e.$message.success(t.message),e.loadList("",this.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1):(e.sendLoading=!1,e.$message.error(t.message))})).catch((function(t){e.$message.error(t)}))},viewReadingLog:function(){this.$bus.emit("viewReadingLog",this.mailInfo)},downloadMail:function(){var e=this,t=[];this.multipleSelection.forEach((function(e,a){t.push(e.mailMessageId)})),this.$confirm("确认要下载选择的邮件吗?",this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then((function(){e.$http({method:"post",contentType:"application/x-www-form-urlencoded",data:t,url:"mail/message/downloadMail?mailBoxId="+e.multipleSelection[0].mailBoxId}).then((function(t){if("success"===t.code){var a=t.body,n='<br/>下载地址:<a href="/apigw/'+a.zipurl+'" target="_blank">'+a.zipname+"</a>";e.$alert(t.message+n,e.$tx("common.operationTip","操作提示"),{type:"success",dangerouslyUseHTMLString:!0,callback:function(e){"confirm"===e&&window.open("/apigw/"+t.body.zipurl,"_black")}})}else e.$message({type:"warning",message:t.message})}),(function(t){e.$message.error(t)}))})).catch((function(){}))},imgUrl:function(e){if(1===Number(e.resoureType))return"images/w-imgs/email/folder.png";var t=e.fileName||e.name;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png"}}},Yt=St,Dt=(n(1819),n(3127),te(Yt,st,lt,!1,null,"5cfefb96",null)),jt=Dt.exports,Ct=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sendMail",on:{click:function(t){e.closeLink=!1}}},[t("div",{staticStyle:{display:"flex",margin:"0"}},[t("div",{staticStyle:{"min-width":"500px",width:"calc(100% - 300px)",padding:"0 10px 0 0","border-right":"1px solid #ebeef5"}},[null!==e.defultMail?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"mailWrap"},[t("el-row",{staticClass:"lineRow",staticStyle:{"border-bottom":"none"}},[t("el-col",{directives:[{name:"show",rawName:"v-show",value:null!==e.defultMail&&!e.mailInfo.sended,expression:"defultMail !== null && !mailInfo.sended"}],attrs:{span:24}},[t("div",{staticClass:"grid-content bg-purple-dark",staticStyle:{width:"100%","padding-left":"unset"}},[t("div",{staticStyle:{float:"left",width:"calc(100% - 300px)"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"send",expression:"'send'"}],attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"},on:{click:function(t){return e.saveDraft("send")}}},[e._v("发送")]),t("div",{staticStyle:{display:"inline-block","margin-left":"30px"},on:{click:function(t){return e.saveDraft("Draft")}}},[t("el-link",{attrs:{underline:!1}},[t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize14)"},attrs:{"icon-class":"emailcg"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"SaveDraft",expression:"'SaveDraft'"}]},[e._v("存草稿")])],1)],1)],1),t("div",{staticStyle:{float:"right"}},[t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"32px",cursor:"pointer"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.mailInfo.receipt,callback:function(t){e.$set(e.mailInfo,"receipt",t)},expression:"mailInfo.receipt"}},[e._v(e._s(e.$tx("email.xieyoujian.Receipt","已读回执")))])],1),e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"32px",cursor:"pointer","margin-left":"20px"},on:{click:e.csTagChange}},[e._v(e._s(e.csr?e.$tx("email.xieyoujian.DelCC","删除抄送"):e.$tx("email.xieyoujian.AddCC","添加抄送")))]),e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"32px",cursor:"pointer","margin-left":"20px"},on:{click:e.msTagChange}},[e._v(e._s(e.msr?e.$tx("email.xieyoujian.DelSecret","删除密送"):e.$tx("email.xieyoujian.AddSecret","添加密送")))])])])])],1),t("div",{staticStyle:{"margin-top":"9px","margin-bottom":"10px"}},[t("div",{staticClass:"workspaceContainer"},[e.linkManEmail.length>0&&e.closeLink?t("div",{staticClass:"linkEmail",style:{top:1===e.focusInput?"135px":2===e.focusInput?"175px":"215px"}},[t("div",[e._l(e.linkManEmail,(function(a,n){return[t("p",{key:a,style:{color:e.linkIndex===n?"#409eff":""},on:{click:function(t){return e.clickLink(a.name)}}},[e._v(e._s(a.name))])]}))],2)]):e._e(),t("form",{directives:[{name:"show",rawName:"v-show",value:null!==e.defultMail&&!e.mailInfo.sended,expression:"defultMail !== null && !mailInfo.sended"}],staticClass:"form-horizontal",attrs:{id:"busiForm",name:"busiForm",method:"post",autocomplete:"off"}},[t("div",{staticClass:"lineRow",on:{click:function(t){return t.stopPropagation(),e.clickArea("sendTo")}}},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticStyle:{color:"#409eff"}},[e._v("收件人")])]),t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticClass:"inputWrap"},[t("el-scrollbar",[e.sendList.length>0?e._l(e.sendList,(function(a,n){return t("div",{key:a,staticClass:"emailAddrStyle"},[t("div",[t("span",[e._v(e._s(a))]),t("i",{staticClass:"el-icon-close",staticStyle:{padding:"3px 5px","border-left":"1px solid #d8d8d8"},on:{click:function(t){return t.stopPropagation(),e.removeMail(a,n,1)}}})])])})):e._e(),t("el-input",{ref:"sendTo",staticClass:"btnBorder",staticStyle:{display:"inline-block","margin-bottom":"8px",width:"290px"},attrs:{type:"text",name:"sendTo",placeholder:e.qfdx?e.$tx("email.xieyoujian.content","群发的邮件,采用一对一发送,每个收件人只能看到自己的地址"):e.$tx("email.xieyoujian.address","请输入邮件地址,内部邮箱可以输入联系人姓名"),autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(1)},blur:e.keyUpFuc,change:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(1)}},model:{value:e.sendListInput,callback:function(t){e.sendListInput=t},expression:"sendListInput"}})],2)],1)])]),e.csr||e.copyToList.length>0?t("div",{staticClass:"lineRow",on:{click:function(t){return t.stopPropagation(),e.clickArea("copyTo")}}},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"CCrecipient",expression:"'CCrecipient'"}],staticStyle:{color:"#409eff"}},[e._v("抄送人:")])]),t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticClass:"inputWrap"},[t("el-scrollbar",[e.copyToList.length>0?e._l(e.copyToList,(function(a,n){return t("div",{key:a,staticClass:"emailAddrStyle"},[t("div",[t("span",[e._v(e._s(a))]),t("i",{staticClass:"el-icon-close",staticStyle:{padding:"3px 5px","border-left":"1px solid #d8d8d8"},on:{click:function(t){return t.stopPropagation(),e.removeMail(a,n,2)}}})])])})):e._e(),t("el-input",{ref:"copyTo",staticClass:"btnBorder",staticStyle:{display:"inline-block","margin-bottom":"8px",width:"290px"},attrs:{type:"text",name:"copyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(2)},blur:e.keyUpFuc,change:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(2)}},model:{value:e.copyToInput,callback:function(t){e.copyToInput=t},expression:"copyToInput"}})],2)],1)])]):e._e(),e.msr||e.blindCopyToList.length>0?t("div",{staticClass:"lineRow",on:{click:function(t){return t.stopPropagation(),e.clickArea("blindCopyTo")}}},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"SecretPerson",expression:"'SecretPerson'"}],staticStyle:{color:"#409eff"}},[e._v("密送人:")])]),t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticClass:"inputWrap"},[t("el-scrollbar",[e.blindCopyToList.length>0?e._l(e.blindCopyToList,(function(a,n){return t("div",{key:a,staticClass:"emailAddrStyle"},[t("div",[t("span",[e._v(e._s(a))]),t("i",{staticClass:"el-icon-close",staticStyle:{padding:"3px 5px","border-left":"1px solid #d8d8d8"},on:{click:function(t){return t.stopPropagation(),e.removeMail(a,n,3)}}})])])})):e._e(),t("el-input",{ref:"blindCopyTo",staticClass:"btnBorder",staticStyle:{display:"inline-block","margin-bottom":"8px",width:"290px"},attrs:{type:"text",name:"blindCopyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(3)},blur:e.keyUpFuc,change:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(3)}},model:{value:e.blindCopyToInput,callback:function(t){e.blindCopyToInput=t},expression:"blindCopyToInput"}})],2)],1)])]):e._e(),t("div",{staticClass:"lineRow"},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Theme",expression:"'Theme'"}],staticStyle:{color:"#333"}},[e._v("主 题:")])]),t("div",{staticClass:"grid-content bg-purple-dark",staticStyle:{"margin-left":"2px"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"主题",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticClass:"btnBorder el-inputLyy__inner",staticStyle:{width:"100%"},attrs:{type:"text",name:"subject",autocomplete:"lyy-off",placeholder:e.$tx("email.xieyoujian.ThemeEnter","请输入邮件主题")},model:{value:e.mailInfo.subject,callback:function(t){e.$set(e.mailInfo,"subject",t)},expression:"mailInfo.subject"}})],1)]}}],null,!1,142323119)})],1)]),t("div",{staticClass:"lineRow attach-bar",staticStyle:{"border-bottom":"none"}},[t("div",{staticStyle:{width:"100%"}},[t("div",{staticClass:"grid-content bg-purple-dark",staticStyle:{height:"unset","padding-left":"unset"}},[t("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"",limit:e.limitNum,"file-list":e.readyList,"auto-upload":!1,"before-upload":e.before_upload,"on-change":function(t,a){e.handleChange(t,a,e.module,e.busiDataId,e.attachsType,e.attachsSize,t)},"http-request":e.allUpload,"on-remove":e.handleRemove,"on-exceed":e.handleExceed,"show-file-list":!1,multiple:""}},[t("div",{staticStyle:{height:"40px",display:"flex","align-items":"center"}},[t("i",{staticClass:"el-icon-upload"}),e._v(" 添加附件(单个文件最大1G) ")])])],1),t("div",e._l(e.readyList,(function(a,n){return t("div",{key:a.uid,staticClass:"readyFile"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{width:"29px",height:"36px"},attrs:{src:e.imgUrl(a),alt:""}}),t("div",{staticStyle:{width:"240px","margin-left":"16px"}},[t("div",{staticStyle:{"margin-top":"2px","font-size":"var(--portalFontSize12)",color:"#333",width:"100%",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},[e._v(e._s(a.name))]),t("div",{staticStyle:{"font-size":"var(--portalFontSize12)",color:"#999","margin-top":"6px"}},[t("span",[e._v(e._s(-1!==a.fileSize.indexOf("K")||-1!==a.fileSize.indexOf("MB")?a.fileSize:a.fileSize+"K"))]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"上传成功",expression:"'上传成功'"}],staticStyle:{"margin-left":"10px"}},[e._v("上传成功")])])])]),t("i",{staticClass:"el-icon-close",staticStyle:{color:"#c0c4cc",position:"relative",top:"-9px",cursor:"pointer"},on:{click:function(t){return e.handleRemoveCopy(a.uid,n)}}})])})),0)])]),e.showeditor?t("div",{staticClass:"RichtextEditor",staticStyle:{border:"1px solid #eceff5",height:"calc(100vh - 364px - 47px)"},attrs:{id:"richA"}},[t("RichtextEditor",{staticStyle:{height:"100%"},attrs:{toolbar:"mini","can-edit":e.canEdit,"image-upload-url":e.api+"/mail/attach/uploadBodyPicture?module=DRAFT&busiDataId=mail&attachsType=BODY&apigw=apigw"},model:{value:e.mailInfo.content,callback:function(t){e.$set(e.mailInfo,"content",t)},expression:"mailInfo.content"}})],1):e._e()]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.mailInfo.sended,expression:"mailInfo.sended"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{width:"56px",height:"56px"},attrs:{"icon-class":"email_sendsuccess"}}),t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"sendSu",expression:"'sendSu'"}],staticStyle:{"font-size":"20px",color:"#333333",margin:"10px"}},[e._v("发送成功")]),t("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailTip",expression:"'emailTip'"}],staticStyle:{"font-size":"var(--portalFontSize13)",color:"#999999","margin-top":"4px"}},[e._v("邮件已保存到“已发送”")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"WriteAn",expression:"'WriteAn'"}],attrs:{type:"text"},on:{click:function(t){e.mailInfo={},e.newMail("againMail")}}},[e._v(" 再写一封 ")]),t("div",{staticStyle:{width:"1px",background:"#d8d8d8",height:"13px"}}),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"goEmail",expression:"'goEmail'"}],staticStyle:{margin:"0"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("email.svg")}}},[e._v("去收件箱")])],1)],1)])])],1):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:null===e.defultMail,expression:"defultMail === null"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"setUpInfo",expression:"'setUpInfo'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1)]),null!==e.defultMail&&void 0!==e.defultMail.emailReceiveType?t("div",{staticStyle:{width:"298px","font-size":"var(--portalFontSize14)",padding:"0"}},[t("div",[t("div",{staticStyle:{height:"calc(100vh - 180px)",padding:"0 0 5px 10px"}},[t("txl",{ref:"txl",model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}})],1)])]):e._e()])])},At=[],It=function(){var e=this,t=e._self._c;return t("div",{staticClass:"right_address_book",staticStyle:{height:"100%"}},[t("el-input",{staticStyle:{width:"100%","margin-top":"10px","padding-right":"10px"},attrs:{placeholder:e.$tx("email.components.searchKey","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1),t("div",{staticClass:"books_tree"},[t("el-scrollbar",{attrs:{native:!1,tag:"div"}},[null!==e.defultMail?t("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"unique-opened":"","default-active":"3"},on:{open:e.handleOpen,close:e.handleClose}},[t("el-submenu",{attrs:{index:"1"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"AddressBook",expression:"'AddressBook'"}],model:{value:e.pubChecked,callback:function(t){e.pubChecked=t},expression:"pubChecked"}},[e._v("公共通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{staticClass:"xhiden",attrs:{nodes:e.treeData,showemail:"true",multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}}),null===e.treeData||0===e.treeData.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeData?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"2"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"PersonalAddress",expression:"'PersonalAddress'"}],model:{value:e.perChecked,callback:function(t){e.perChecked=t},expression:"perChecked"}},[e._v("个人通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatatxl",staticClass:"xhiden",attrs:{nodes:e.treeDatatxl,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedtxl,onClick:e.onTreeNodeClickPerson,onCheck:e.onTreeNodeCheckPerson}}),null===e.treeDatatxl||0===e.treeDatatxl.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatatxl?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"3"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"recentContacts",expression:"'recentContacts'"}],model:{value:e.lateChecked,callback:function(t){e.lateChecked=t},expression:"lateChecked"}},[e._v("最近联系人")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatalatey",staticClass:"xhiden",attrs:{nodes:e.treeDatalatey,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedlatey,onClick:e.onTreeNodeClicklatey,onCheck:e.onTreeNodeCheckLatey}}),null===e.treeDatalatey||0===e.treeDatalatey.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatalatey?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2)],1):e._e()],1)],1)],1)},Et=[];function Ot(e){return Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(e)}function Pt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Pt=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ot(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ot(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Nt(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ht(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Nt(r,n,i,o,s,"next",e)}function s(e){Nt(r,n,i,o,s,"throw",e)}o(void 0)}))}}var Ft=[],$t={components:{},props:{defultMail:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"components",treeData:null,treeDatatxl:null,treeDatalatey:null,treeDatanbyx:null,treeData2:null,loginUser:this.$store.getters.loginUser,openIndex:"3",showIcon:!0,showLine:!0,selectedNodes:[],treeDataBak:[],treeDataBaktxl:[],treeDataBaklatey:[],zTree:{},zTreetxl:{},zTreelatey:{},zTreelateynbyx:{},searchkey:"",accountList:[],pubChecked:!1,perChecked:!1,lateChecked:!1,nbChecked:!1}},computed:{},watch:{pubChecked:function(e,t){e?this.zTree.checkAllNodes(!0):this.zTree.checkAllNodes(!1),this.allEmail()},perChecked:function(e,t){e?this.zTreetxl.checkAllNodes(!0):this.zTreetxl.checkAllNodes(!1),this.allEmail()},lateChecked:function(e,t){e?this.zTreelatey.checkAllNodes(!0):this.zTreelatey.checkAllNodes(!1),this.allEmail()},nbChecked:function(e,t){e?this.zTreelateynbyx.checkAllNodes(!0):this.zTreelateynbyx.checkAllNodes(!1),this.allEmail()}},created:function(){this.$bus.on("handleFocusChange",this.handleFocusChange)},beforeDestroy:function(){this.$bus.off("quickSearchPerson"),this.$bus.off("changeEmail"),this.$bus.off("handleFocusChange")},mounted:function(){var e=this;this.queryMyMailList(),this.defultMail=this.defultMail||JSON.parse(sessionStorage.getItem("currentMail")),this.loadTypeTree(),this.loadTypeTreetxl(),this.loadTypeTreelatey(),this.$bus.on("quickSearchPerson",(function(t){e.quickSearch(t)})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))}))},methods:{handleFocusChange:function(e){var t=this,a=e.split(",");a.length&&a.forEach((function(e){var a=t.zTree.getNodeByParam("name",e,null);a&&t.zTree.checkNode(a,!a.checked,!0);var n=t.zTreelatey.getNodeByParam("name",e,null);n&&t.zTreelatey.checkNode(n,!n.checked,!0);var i=t.zTreetxl.getNodeByParam("name",e,null);i&&t.zTreetxl.checkNode(i,!i.checked,!0)}))},queryMyMailList:function(){var e=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?t.body.listdata.forEach((function(t){1===t.status&&e.accountList.push(t)})):e.$message.error(t.message)}),(function(t){e.$message.error(t)}))},handleOpen:function(e,t){this.openIndex=e,null===this.treeDatatxl&&this.loadTypeTreetxl(),null===this.treeData&&this.loadTypeTree(),null===this.treeDatalatey&&this.loadTypeTreelatey()},handleClose:function(e,t){},searchTreeNode:function(){var e=this,t=this.searchkey;this.searchDoading=!0,""===t?(0!==this.treeDataBak.length&&(this.treeData=this.treeDataBak,this.treeDataBak=""),0!==this.treeDataBaktxl.length&&(this.treeDatatxl=this.treeDataBaktxl,this.treeDataBaktxl=""),0!==this.treeDataBaklatey.length&&(this.treeDatalatey=this.treeDataBaklatey,this.treeDataBaklatey="")):(0===this.treeDataBak.length?this.treeDataBak=JSON.parse(JSON.stringify(this.treeData)):this.treeData=JSON.parse(JSON.stringify(this.treeDataBak)),0===this.treeDataBaktxl.length?this.treeDataBaktxl=JSON.parse(JSON.stringify(this.treeDatatxl)):this.treeDatatxl=JSON.parse(JSON.stringify(this.treeDataBaktxl)),0===this.treeDataBaklatey.length?this.treeDataBaklatey=JSON.parse(JSON.stringify(this.treeDatalatey)):this.treeDatalatey=JSON.parse(JSON.stringify(this.treeDataBaklatey)),null!==this.treeData&&0!==this.treeData.length&&(this.treeData=this.treeDataBak,setTimeout((function(){var a=e.zTree.getNodesByParamFuzzy("name",t);e.treeData=a}),100)),null!==this.treeDatatxl&&0!==this.treeDatatxl.length&&(this.treeDatatxl=this.treeDataBaktxl,setTimeout((function(){var a=e.zTreetxl.getNodesByParamFuzzy("tname",t);e.treeDatatxl=a}),100)),null!==this.treeDatalatey&&0!==this.treeDatalatey.length&&(this.treeDatalatey=this.treeDataBaklatey,setTimeout((function(){var a=e.zTreelatey.getNodesByParamFuzzy("tname",t);e.treeDatalatey=a}),100))),this.handleOpen(1);var a="";document.querySelector(".el-menu .el-submenu.is-opened > .el-submenu__title .el-icon-arrow-right")?console.log(123):(a=document.querySelector(".el-menu .el-submenu > .el-submenu__title .el-icon-arrow-right"),a&&a.click()),this.searchDoading=!1,this.searchkey=t},quickSearch:function(e){var t=this.treeData,a=this.treeDatatxl,n=this.treeDatalatey,i=(this.treeDatanbyx,[]),r=[],o=[],s=[];null!==t&&0!==t.length&&(i=this.zTree.getNodesByParamFuzzy("name",e)),null!==a&&0!==a.length&&(r=this.zTreetxl.getNodesByParamFuzzy("tname",e)),null!==n&&0!==n.length&&(o=this.zTreelatey.getNodesByParamFuzzy("tname",e)),i.concat(r,o,s),this.$bus.emit("quickdataFuc",i)},loadTypeTree:function(){var e=this;return Ht(Pt().mark((function t(){return Pt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"mail/message/findOrganPerson"}).then((function(t){"success"===t.code?e.treeData=e.treeDataAdapter(t.body.listdata):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreetxl:function(){var e=this;return Ht(Pt().mark((function t(){return Pt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",url:"mail/linkmanGroup/selectTreeGroup"}).then((function(t){"success"===t.code?e.treeDatatxl=e.treeDataAdapter1(t.body.treeList):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreelatey:function(){var e=this;return Ht(Pt().mark((function t(){return Pt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",params:{orderBy:"updateTime desc",count:20},data:[{compare:"string",field:"emailType",merge:!0,value:null===e.defultMail.emailReceiveType?2:1}],url:"mail/linkmanGroup/selectLatelyLinkman"}).then((function(t){"success"===t.code?e.treeDatalatey=e.treeDataAdapter1(t.body.treeList):e.$message.error(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},treeDataAdapter:function(e){var t=this;this.showIcon=!0,this.showLine=!0;var a=this.getPrevSelected();return e=e.filter((function(e,t){if("rootOrg"!==e.type)return e})),e.forEach((function(e,n){if(e.personId){e.icon=t.user,e.personName=e.name;var i=t,r=i.accountList.findIndex((function(e){return 1===e.accountType&&1===e.status}));if(r>-1)e.name=e.name+"/"+e.emailAddr;else{var o=e.email?e.email:"无";e.name=e.name+"/"+o}e.pId=e.orgId||e.parentId||e.groupId,e.icon=t.user,e.mailAdress=e.email||"无",e.title=e.name,a.indexOf(e.account)>-1&&(e.checked=!0),e.canSelect=!0}else e.pId=e.parentID||e.parentId,e.name=e.nName||e.name,e.title=e.fullName||e.orgFullName,e.title=e.title.replace(/[&\|\\\*^%$#@\-]/g,"-"),-1!==e.title.indexOf("-")&&(e.title=e.title.substring(e.title.indexOf("-")+1)),e.canSelect=!1,e.icon=t.folderUser})),e},treeDataAdapter1:function(e){var t=this;return e.forEach((function(e){null===e.parentId?(e.pId=t.root.id,e.name=e.tname):void 0!==e.parentId&&null!==e.parentId?(e.pId=e.parentId,e.name=e.tname,e.title=e.name):e.title=e.name})),e},getPrevSelected:function(){var e="";return this.selectedNodes.forEach((function(t){""!==e&&(e+=","),e+=t.account})),e},refreshTreeData:function(e){null===e?this.loadTypeTree():this.treeData=this.treeDataAdapter([this.root].concat(e))},onTreeCreated:function(e){if(this.zTree=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedtxl:function(e){if(this.zTreetxl=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedlatey:function(e){if(this.zTreelatey=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeNodeClick:function(e,t,a){this.zTree.checkNode(a,!a.checked,!0),this.onTreeNodeCheck("","",a)},onTreeNodeClickPerson:function(e,t,a){this.zTreetxl.checkNode(a,!a.checked,!0),this.onTreeNodeCheckPerson("","",a)},onTreeNodeClicklatey:function(e,t,a){this.zTreelatey.checkNode(a,!a.checked,!0),this.onTreeNodeCheckLatey("","",a)},onTreeNodeCheck:function(e,t,a){if(a&&a.checked){var n=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),i=n.reduce((function(e,t){return e[t.account]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),o=[];r.forEach((function(e){o.push(e.name)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTree.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckPerson:function(e,t,a){if(a&&a.checked){var n=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreetxl.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckLatey:function(e,t,a){if(a&&a.checked){var n=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreelatey.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},allEmail:function(){this.onTreeNodeCheck("","",{checked:this.pubChecked}),this.onTreeNodeCheckPerson("","",{checked:this.perChecked}),this.onTreeNodeCheckLatey("","",{checked:this.lateChecked})},recursionChildren:function(e){var t=this;e.children&&e.children.length>0?e.children.forEach((function(e){e.children&&e.children.length>0?t.recursionChildren(e):e.personId&&Ft.push(e)})):e.personId&&Ft.push(e)}}},zt=$t,Bt=(n(7384),te(zt,It,Et,!1,null,"0d337f2c",null)),Wt=Bt.exports;function Rt(e){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(e)}function Ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ut=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Rt(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Rt(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function qt(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Gt(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){qt(r,n,i,o,s,"next",e)}function s(e){qt(r,n,i,o,s,"throw",e)}o(void 0)}))}}function Vt(e){return Xt(e)||Kt(e)||Qt(e)||Jt()}function Jt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qt(e,t){if(e){if("string"==typeof e)return Zt(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Zt(e,t):void 0}}function Kt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Xt(e){if(Array.isArray(e))return Zt(e)}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function ea(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ta(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ea(Object(a),!0).forEach((function(t){aa(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ea(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function aa(e,t,a){return(t=na(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function na(e){var t=ia(e,"string");return"symbol"==Rt(t)?t:t+""}function ia(e,t){if("object"!=Rt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Rt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ra={components:{txl:Wt},props:{newMailInfo:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"xieyoujian",content:" ",loading:!1,editorOption:{},canEdit:1,moduleInfo:{getByIdUrl:"mail/message/getMailInfoById",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup"},mailInfo:{},uploadAttach:"",mailContent:"",isParams:"",httpPort:"",readyList:[],uploadDdta:{},api:"/apigw",imageUploadUrl:"/apigw/mail/attach/upload",valueMail:"",accountList:[],defultMail:null,linkManEmail:[],editerHeight:"calc(100vh - 354px)",showeditor:!1,csr:!1,msr:!1,qfdx:!1,closeLink:!1,sendList:[],copyToList:[],blindCopyToList:[],sendListInput:"",copyToInput:"",blindCopyToInput:"",focusInput:1,inMail:!1,loginUser:this.$store.getters.loginUser,moveFile:[],topBarHeight:"180px",attachBarHeight:"43px",itemlist:[],limitNum:5}},computed:ta({curUser:function(){return this.$store.getters.loginUser}},H(["routes"])),watch:{defultMail:function(e){var t=this;if(null===e)return this.$message.error(this.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;this.$nextTick((function(){t.showeditor=!0,t.attachBarHeight=document.querySelector(".attach-bar").clientHeight+"px"}));var a=this;console.log("_this.$route.query",a.$route.query),a.$route.query?(console.log("走不走这里"),a.newMail()):(a.isParams="againMail",a.newMail(a.isParams))},readyList:function(){var e=this;this.$nextTick((function(){e.attachBarHeight=document.querySelector(".attach-bar").clientHeight+"px"}))}},created:function(){var e=this;if(this.$route.query.row)if(this.$route.query.srcBusiDataId)this.readyList=this.$route.query.row.filter((function(t,a){return t.name=t.fileName,a!==e.$route.query.row.length}));else{var t=[];for(var a in this.$route.query.row)t.push({name:this.$route.query.row[a].fileName,id:this.$route.query.row[a].id,fileSize:this.$route.query.row[a].fileSize});this.readyList=t.filter((function(t,a){return a!==e.$route.query.row.length}))}else this.newMailInfo!=={}&&(this.mailInfo=this.newMailInfo,this.mailInfo.attachments&&(this.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel),e.readyList.push({name:t.fileName,status:"ready",size:t.fileRealSize,percentage:0})})),console.log(this.itemlist,"this.itemlist")));this.httpPort=location.port,this.$bus.emit("showNavSearch",!1),this.getDefultMail()},beforeDestroy:function(){document.getElementById("richA").style.display="none",this.$bus.emit("showNavSearch",!0),this.$bus.off("quickdataFuc"),this.$bus.off("checkEmail"),this.$bus.off("checkEmailPerson"),this.$bus.off("changeEmail"),this.$bus.off("cancleCheck")},mounted:function(){var e=this;this.$nextTick((function(){e.$refs.sendTo.focus(),e.mailInfo.attachments&&e.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel)}))})),this.$route.query.srcBusiDataId&&(this.topBarHeight="0px"),this.$bus.on("cancleCheck",(function(t){t.forEach((function(t){e.sendList=e.sendList.filter((function(e){return e!==t})),e.copyToList=e.copyToList.filter((function(e){return e!==t})),e.blindCopyToList=e.blindCopyToList.filter((function(e){return e!==t}))}))})),this.$bus.on("quickdataFuc",(function(t){e.linkManEmail=e.unique(t),console.log("linkManEmail====",e.linkManEmail),t.length>0?e.closeLink=!0:e.closeLink=!1})),this.$bus.on("checkEmail",(function(t){if("string"===typeof t)if("无"===t.split("/")[1]);else{var a=0;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t.split("/")[1].indexOf("@");if(i>-1&&-1===t.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a||(1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t))}else for(var r,o=function(){if("无"===t[s].name.split("/")[1])return e.$message.warning(e.$tx("email.xieyoujian.notEmail","当前项无邮箱地址,不支持选择")),{v:!1};var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t[s].name.split("/")[1].indexOf("@"),r=t[s].name.split("/")[1]&&t[s].name.split("/")[1].split("@")[0]===t[s].account;if(!r&&i>-1&&-1===t[s].name.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱","已存在该抄送人!"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}}if((1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[s].name&&(a=1)})),1===a)return 1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!")),{v:!1};1===e.focusInput?e.sendList.push(t[s].name):2===e.focusInput?e.copyToList.push(t[s].name):e.blindCopyToList.push(t[s].name)},s=0;s<t.length;s++)if(r=o(),r)return r.v})),this.$bus.on("checkEmailPerson",(function(t){if(console.log("走不走"),"string"===typeof t){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t.indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a?(1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!"))):1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t)}else{console.log("数组",t);for(var i,r=function(){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t[o].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[o]&&(a=1)})),1===a?(e.focusInput,e.focusInput,e.focusInput):(1===e.focusInput?e.sendList.push(t[o]):2===e.focusInput?e.copyToList.push(t[o]):e.blindCopyToList.push(t[o]),console.log("uuuuu",t[o],e.sendList))},o=0;o<t.length;o++)if(i=r(),i)return i.v}})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))})),document.addEventListener("keydown",(function(t){e.closeLink&&e.linkManEmail.length>0&&(38===t.keyCode?e.linkIndex>0&&e.linkIndex--:40===t.keyCode?e.linkIndex<e.linkManEmail.length+1&&e.linkIndex++:13===t.keyCode&&(1===e.linkManEmail.length?e.clickLink(e.linkManEmail[0].name):e.clickLink(e.linkManEmail[e.linkIndex].name)))}))},methods:{clickArea:function(e){this.$refs[e].focus()},filterTree:function(e){var t=this,a=this.$refs.txl.zTree.getNodes(),n=this.$refs.txl.zTreetxl.getNodes(),i=this.$refs.txl.zTreelatey.getNodes(),r=this.$refs.txl.zTree.transformToArray(a),o=this.$refs.txl.zTreetxl.transformToArray(n),s=this.$refs.txl.zTreelatey.transformToArray(i);if(r.forEach((function(a){a.name===e&&t.$refs.txl.zTree.checkNode(a,!1,!0)})),o.forEach((function(a){a.email===e&&t.$refs.txl.zTreetxl.checkNode(a,!1,!0)})),s.forEach((function(a){a.email===e&&t.$refs.txl.zTreelatey.checkNode(a,!1,!0)})),0===this.$refs.txl.zTree.getCheckedNodes(!0).length)this.$refs.txl.pubChecked=!1;else if(this.$refs.txl.zTree.getCheckedNodes(!0).length>0){var l=0;a.forEach((function(e){t.$refs.txl.zTree.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&l++}))})),this.$refs.txl.pubChecked=l===a.length}if(0===this.$refs.txl.zTreetxl.getCheckedNodes(!0).length)this.$refs.txl.perChecked=!1;else if(this.$refs.txl.zTreetxl.getCheckedNodes(!0).length>0){var d=0;n.forEach((function(e){t.$refs.txl.zTreetxl.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&d++}))})),this.$refs.txl.perChecked=d===n.length}0===this.$refs.txl.zTreelatey.getCheckedNodes(!0).length&&(this.$refs.txl.lateChecked=!1)},csTagChange:function(){var e=this;this.csr=!this.csr,this.focusInput=this.csr?2:1,this.csr?this.$nextTick((function(){e.$refs.copyTo.focus()})):this.copyToList.length>0&&this.copyToList.forEach((function(t){e.filterTree(t)})),this.copyToList=[]},msTagChange:function(){var e=this;this.msr=!this.msr,this.focusInput=this.msr?3:1,this.msr?this.$nextTick((function(){e.$refs.blindCopyTo.focus()})):this.blindCopyToList.length>0&&this.blindCopyToList.forEach((function(t){e.filterTree(t)})),this.blindCopyToList=[]},qfdxTagChange:function(){this.qfdx=!this.qfdx,this.qfdx&&(this.csr=!1,this.msr=!1),this.copyToList=[],this.blindCopyToList=[]},deleteCg:function(){this.$emit("deleteDraft")},loadInternetList:function(){var e=this,t=this;t.loading=!1,this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(a){t.loading=!1,"success"===a.code?(a.body.listdata.forEach((function(e){1===e.status&&t.accountList.push(e)})),t.accountList&&t.accountList.length>0&&(t.defultMail=t.accountList[0]),t.defultMail&&(t.valueMail=t.defultMail.emailAddr)):t.$alert(a.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}),(function(e){t.$message.error(e)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.fullPath;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}"shoujianxiang.svg"===e?this.$router.push({path:a,query:this.newMailInfo}):"email.svg"===e&&this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},onSelectStaffCompleted:function(e,t){var a="";e.forEach((function(e){""!==a&&(a+="、"),a+=e.name})),"sendTo"===t.name?this.$set(this.mailInfo,"sendTo",a):this.$set(this.mailInfo,"copyTo",a)},newMail:function(e){var t=this;if(this.loading=!0,this.sendList=[],"againMail"===e)this.mailInfo={},this.mailInfo.sendTo="",this.mailInfo.sended=!1;else{var a=localStorage.getItem("newMailInfo");a&&"{}"!==a&&(a=JSON.parse(a),this.mailInfo.sentdate&&delete a.id,this.mailInfo=a,localStorage.removeItem("newMailInfo"))}if(void 0!==this.mailInfo.srcBusiDataId)this.wflowForwardMail();else if(null==this.mailInfo.mailMessageId)this.mailContent="<br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"));else if(null==this.mailInfo.sentdate){if(this.sendList=[],this.copyToList=[],this.blindCopyToList=[],null!==this.mailInfo.sendTo&&""!==this.mailInfo.sendTo){var n=this.mailInfo.sendTo.split(",");this.sendList=this.sendList.concat(n)}if(null!==this.mailInfo.copyTo&&""!==this.mailInfo.copyTo){var i=this.mailInfo.copyTo.split(",");this.copyToList=this.copyToList.concat(i)}if(null!==this.mailInfo.blindCopyTo&&""!==this.mailInfo.blindCopyTo){var r=this.mailInfo.blindCopyTo.split(",");this.blindCopyToList=this.blindCopyToList.concat(r)}var o;if(this.mailContent=this.mailInfo.content,this.mailInfo.attachments)this.readyList=(o=this.readyList).concat.apply(o,Vt(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)})),console.log("this.mailInfo",this.mailInfo)}else if(this.mailInfo.actionType){if("respAll"===this.mailInfo.actionType){var s=this.mailInfo.sendTo.split(","),l=this.mailInfo.fromAddr.split(","),d=this.mailInfo.copyTo.split(",");s.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),l.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),d.forEach((function(e,a){""!==e&&-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&(t.copyToList.push(e),t.csr=!0)}))}else if("resp"===this.mailInfo.actionType)this.sendList.push(this.mailInfo.fromAddr),this.mailInfo.fromAddr=this.defultMail.emailAddr;else if("resend"===this.mailInfo.actionType){var c;if(this.sendList.push(this.mailInfo.sendTo),this.mailInfo.attachments.length>0)(c=this.readyList).push.apply(c,Vt(this.mailInfo.attachments))}else if("forward"===this.mailInfo.actionType){var u;if(this.mailInfo.fromAddr=this.defultMail.emailAddr,this.sendList=[],this.mailInfo.attachments)if(this.mailInfo.attachments.length>0)(u=this.readyList).push.apply(u,Vt(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)}))}"resend"!==this.mailInfo.actionType&&(this.mailInfo.fromAddr=this.defultMail.emailAddr,this.mailContent="<br/><br/><br/><br/><br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>")),this.mailContent+="<hr/>------------------ 原始邮件 ------------------<br/>"),this.mailContent+=this.mailInfo.content,this.mailInfo.mailMessageId=null,this.mailInfo.id=null,this.mailInfo.sentdate=null}this.$set(this.mailInfo,"receipt",1),this.loading=!1,this.mailInfo.content=this.mailContent,this.newMailInfo=null,this.$forceUpdate()},wflowForwardMail:function(){var e=this,t=this;this.$http({method:"GET",contentType:"application/json",params:{module:this.$route.query.busiCode,busiDataId:this.$route.query.srcBusiDataId},url:this.$route.query.wfEngineUrl.split("/")[0]+"/webForm/forwardMail"}).then((function(a){if("success"===a.code){t.$set(t.mailInfo,"subject","【"+a.body.wfInstance.wfName+"】"+a.body.wfInstance.title),t.mailContent=a.body.content,t.mailInfo.content=t.mailContent;var n=e.mailInfo.attachments||[];a.body.attachs.forEach((function(e){t.$route.query.fileId&&-1!==t.$route.query.fileId.indexOf(e.id)&&(n.push(e),e.name=e.fileName)})),t.readyList=n}else t.$message.error(a.message)}),(function(e){t.$message.error(e)}))},handleRemoveCopy:function(e,t){var a=this.readyList.findIndex((function(t){return t.uid===e}));this.itemlist.splice(t,1),this.readyList.splice(a,1)},handleRemove:function(e,t){this.readyList=t,this.moveFile.push(e)},allUpload:function(e){console.log(e,"params")},handleChange:function(e,t){if(this.uploadAttach=e,this.readyList.length>0){for(var a=0;a<this.readyList.length;a++)if(e.name===this.readyList[a].name)return this.$message.warning(this.$tx("email.messages.fileName",{fileName:e.name},"“{fileName}” 文件重复,已覆盖该文件")),this.readyList.splice(a--,1),this.readyList.push(e),!1;this.readyList.push(e)}else this.readyList.push(e);for(var n in this.mailInfo.subject||this.$set(this.mailInfo,"subject",e.name.split(".")[0]),this.itemlist.push(""),this.mailInfo.attachments=this.readyList,this.mailInfo.attachsCount=this.mailInfo.attachments.length,this.readyList)this.readyList[n].size&&(this.readyList[n].fileSize=(this.readyList[n].size/this.pow1024(1)).toFixed(2))},pow1024:function(e){return Math.pow(1024,e)},handleExceed:function(e,t){return this.$message.warning(this.$tx("email.messages.maxFileUpload",{limitNum:this.limitNum},"最多只能上传{limitNum}个文件")),!1},selectMail:function(e){e&&(this.inMail=!0),this.valueMail=e.emailAddr,this.saveMailSetup(e)},saveDraft:function(e){var t=this,a=this;if(a.mailInfo.usersetId=a.defultMail.id,!(a.sendList.length>0))return a.$message.error(this.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;a.mailInfo.sendTo=this.sendList.toString(),a.mailInfo.copyTo=this.copyToList.toString(),a.mailInfo.blindCopyTo=this.blindCopyToList.toString(),console.log(this.readyList,"this.readyList"),a.formValidate((function(){a.loading=!0,a.mailInfo.onlyOne=a.qfdx?1:0;var n=a.moduleInfo.saveDraftUrl,i={userSetupId:a.defultMail.id};return new Promise((function(r,o){a.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:i,data:a.mailInfo,url:n}).then((function(n){"success"===n.code?(a.mailInfo.mailMessageId=n.body.mailMessageId,a.mailInfo.id=n.body.shipId,a.mailInfo.mailType=n.body.mailType,null!=a.readyList&&a.readyList.length>0?a.fileUploadFuc(e):"send"===e?a.sendMail():(a.loading=!1,a.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))):(a.loading=!1,a.$message.error(n.message)),r(n)})).catch((function(e){o(e)}))}))}))},fileUploadFuc:function(e){var t=this;return Gt(Ut().mark((function a(){var n,i,r,o;return Ut().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=t,i="/mail/attach/upload",0!==n.readyList.length){a.next=6;break}n.$messages.info(t.$tx("email.messages.selectExportFile","请选择导入文件")),a.next=15;break;case 6:n.mailInfo.attachments=[],r=Ut().mark((function e(){var t,a,r;return Ut().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=n.readyList[o],a=new FormData,a.append("module","DRAFT"),a.append("fileLevel",n.itemlist[o]),r=[],n.moveFile.length>0&&n.moveFile.forEach((function(e){e.id&&r.push(e.id)})),r.length>0&&n.$app.deleteByIds("/mail/attach/deleted",r),!t.id){e.next=17;break}if(!(n.mailInfo.actionType&&("forward"===n.mailInfo.actionType||"resend"===n.mailInfo.actionType)||n.$route.query.srcBusiDataId||n.$route.query.row)){e.next=14;break}return n.$route.query.srcBusiDataId?(i="/mail/attach/forwardUpload",t.busiDataId=n.mailInfo.mailMessageId,n.uploadDdta=t):(n.mailInfo.actionType&&("forward"===n.mailInfo.actionType||"resend"===n.mailInfo.actionType)||n.$route.query.row)&&(i="/mail/attach/tranUpload",a.append("id",t.id),a.append("busiDataId",n.mailInfo.id),a.append("usersetId",n.defultMail.id),n.uploadDdta=a),e.next=12,n.$http({method:"POST",url:i,data:n.uploadDdta}).then((function(e){if("success"!==e.code)return n.$message.error(e.message),!1;var t;e.body.uploadAttach.length>0&&(t=n.mailInfo.attachments).push.apply(t,Vt(e.body.uploadAttach))}));case 12:e.next=15;break;case 14:n.mailInfo.attachments.push(t);case 15:e.next=27;break;case 17:return a.append("busiDataId",n.mailInfo.id),a.append("attachsType","ATTACH"),a.append("attachsSize",t.size),a.append("attachsName",t.name),a.append("file",t.raw),a.append("usersetId",n.defultMail.id),i="/mail/attach/upload",n.uploadDdta=a,e.next=27,n.$http({method:"POST",url:i,data:n.uploadDdta}).then((function(e){if("success"!==e.code)return n.loading=!1,n.$message.error(e.message),!1;n.readyList[o].id=e.body.uploadAttachList[0].id,n.mailInfo.attachments.push(e.body.uploadAttachList[0])}));case 27:case"end":return e.stop()}}),e)})),o=0;case 9:if(!(o<n.readyList.length)){a.next=14;break}return a.delegateYield(r(),"t0",11);case 11:o++,a.next=9;break;case 14:"send"===e?n.sendMail():(n.loading=!1,n.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")),n.readyList=n.mailInfo.attachments,n.mailInfo.actionType&&delete n.mailInfo.actionType,n.$route.query.row&&delete n.$route.query.row);case 15:case"end":return a.stop()}}),a)})))()},sendMail:function(){var e=this;if(e.mailInfo.usersetId=e.defultMail.id,!(e.sendList.length>0))return e.$message.error(this.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;e.mailInfo.sendTo=this.sendList.toString(),e.mailInfo.copyTo=this.copyToList.toString(),e.mailInfo.blindCopyTo=this.blindCopyToList.toString(),this.formValidate((function(){e.loading=!0;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.defultMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.mailInfo,url:t}).then((function(t){e.loading=!1,"success"===t.code?e.$route.query.srcBusiDataId?(e.$alert(t.message,this.$tx("common.operationTip","操作提示"),{type:"success"}),window.setTimeout((function(){window.close()}),1500)):(e.$message.success(t.message),e.mailInfo.sended=!0,e.readyList=[]):t.message.indexOf("Authentication failed")>0?this.$alert(this.$tx("email.messages.emailTip4","请前往邮箱中心检验邮箱用户密码或授权码是否正确"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$message.error(t.message)})).catch((function(t){e.$message.error(t),e.loading=!1}))}))},selectEmailFuc:function(e){var t=this,a=1===e?t.sendListInput:2===e?t.copyToInput:t.blindCopyToInput;if(""===a.trim())return t.closeLink=!1,!1;var n="";clearTimeout(n),n=setTimeout((function(){t.$bus.emit("quickSearchPerson",a)}),500)},saveMailSetup:function(e){var t=this;e.isDefault=1,t.$http({method:"put",contentType:"application/x-www-form-urlencoded",data:e,url:"mail/userSetup/update"}).then((function(a){"success"===a.code&&(t.defultMail=e)}))},clickLink:function(e){if(console.log("选择快速匹配出来的人",e),"无"===e.split("/")[1])return this.$message.warning(this.$tx("email.xieyoujian.notEmail","当前项无邮箱地址,不支持选择")),!1;var t=null;if((1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(a,n){a===e&&(t=1)})),1===t)return this.$message.warning(this.$tx("email.messages.emailTip1","已存在该收件人!")),!1;1===this.focusInput?(this.sendList.push(e),this.sendListInput=""):2===this.focusInput?(this.copyToList.push(e),this.copyToInput=""):(this.blindCopyToList.push(e),this.blindCopyToInput=""),this.closeLink=!1},keyUpFuc:function(){var e=this;return Gt(Ut().mark((function t(){var a,n,i;return Ut().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(""===(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput).trim()){t.next=25;break}if(a=null,!1!==e.closeLink){t.next=25;break}return t.next=5,e.isEmail(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput);case 5:if(n=t.sent,!n){t.next=25;break}if(i=null,null!==e.defultMail.emailReceiveType){t.next=15;break}if(a="@"+e.defultMail.emailAddr.split("@")[1],e.defultMail.internetEmailAddr){t.next=15;break}if(-1!==(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput).indexOf(a)){t.next=15;break}return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),1===e.focusInput?e.sendListInput="":2===e.focusInput?e.copyToInput="":e.blindCopyToInput="",t.abrupt("return",!1);case 15:if((1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(t,a){t===(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput)&&(i=1)})),1!==i){t.next=24;break}return 1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!")),t.abrupt("return",!1);case 24:1===e.focusInput?(e.sendList.push(e.sendListInput),e.sendListInput=""):2===e.focusInput?(e.copyToList.push(e.copyToInput),e.copyToInput=""):(e.blindCopyToList.push(e.blindCopyToInput),e.blindCopyToInput="");case 25:case"end":return t.stop()}}),t)})))()},removeMail:function(e,t,a){1===a?this.sendList.splice(t,1):2===a?this.copyToList.splice(t,1):this.blindCopyToList.splice(t,1),this.filterTree(e)},isEmail:function(e){var t=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;return!!t.test(e)||(this.$message.error(this.$tx("email.xieyoujian.emailTip5","邮件格式不正确!请重新输入")),1===this.focusInput?this.sendListInput="":2===this.focusInput?this.copyToInput="":this.blindCopyToInput="",!1)},focusInputFuc:function(e){this.focusInput=e,this.selectEmailFuc(e);var t=["sendTo","copyTo","blindCopyTo"];this.$refs[t[e-1]].focus()},unique:function(e){for(var t=[],a={},n=0;n<e.length;n++)a[e[n].name]||(a[e[n].name]=1,t.push(e[n]));return t},getDefultMail:function(){var e=this,t=sessionStorage.getItem("currentMail");if(null===t||""===t||void 0===t){this.accountList=[];var a=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?(t.body.listdata.forEach((function(e){1===e.status&&a.accountList.push(e)})),a.accountList&&a.accountList.length>0&&(a.defultMail=a.accountList[0])):a.$message.error(t.message),e.loading=!1}),(function(e){a.$message.error(e)}))}else this.defultMail=JSON.parse(t)},imgUrl:function(e){e.name=e.name?e.name:e.fileName;var t=e.name.substring(e.name.lastIndexOf(".")),a=[["image",".gif",".bmp",".jpg",".tga",".png",".jpeg",".svg"],["doc",".ppt",".pptx",".xls",".xlsx",".doc",".docx",".pdf",".pdfx",".txt"],["zip",".zip",".rar",".7z",".z"],["video",".wmv",".asf",".asx",".rm",".rmvb",".mp4",".3gp",".mov",".m4v",".avij",".mk",".f1v",".vob"],["audio",".wav",".midi",".cda",".mp3",".mp3pro",".wma",".sacd"]],n=null,i=null;for(var r in a)for(var o in a[r])if(a[r][o]===t){n=r,i=o;break}if(!n)return"images/w-imgs/email/other.png";if("doc"===a[n][0]){if(".doc"===a[n][i]||".docx"===a[n][i])return"images/w-imgs/email/word.png";if(".ppt"===a[n][i]||".pptx"===a[n][i])return"images/w-imgs/email/ppt.png";if(".xls"===a[n][i]||".xlsx"===a[n][i])return"images/w-imgs/email/excel.png";if(".pdf"===a[n][i])return"images/w-imgs/email/pdf.png";if(".txt"===a[n][i])return"images/w-imgs/email/txt.png"}else{if("audio"===a[n][0])return"images/w-imgs/email/audio.png";if("video"===a[n][0])return"images/w-imgs/email/video.png";if("zip"===a[n][0])return"images/w-imgs/email/zip.png";if("image"===a[n][0])return"images/w-imgs/email/picture.png"}}}},oa=ra,sa=(n(5421),te(oa,Ct,At,!1,null,"6252c928",null)),la=sa.exports,da=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",{staticClass:"left_account"},[t("div",{staticClass:"top"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"EmailCenter",expression:"'EmailCenter'"}],staticStyle:{"font-size":"var(--portalFontSize14)",color:"#606266","font-weight":"500"}},[e._v("邮件中心")]),t("i",{staticClass:"el-icon-plus",staticStyle:{float:"right",padding:"0 10px","line-height":"47.2px",height:"47.2px"},on:{click:e.addEmail}})]),t("ul",e._l(e.accountList,(function(a,n){return t("li",{key:a,staticClass:"checkBoxlabel",style:{backgroundColor:e.urlSechId===a.id?"#1890ff":""},on:{click:function(t){return t.target!==t.currentTarget?null:e.selectEmail(t,n)}}},[t("span",{style:{color:e.urlSechId===a.id?"white":""},on:{click:function(t){return t.preventDefault(),e.selectEmail(t,n)}}},[e._v(e._s(a.emailAddr))]),2===a.accountType?t("i",{staticClass:"el-icon-delete",style:{float:"right",marginRight:"10px",lineHeight:" 47.2px",height:"47.2px",color:e.urlSechId===a.id?"white":"#606266"},attrs:{"icon-class":"del"},on:{click:function(t){return e.deleteMail(a)}}}):e._e()])})),0)]),t("RightPanel",[t("pageContent",{attrs:{title:e.formTitle}},[t("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[e.tbody?t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailAddress",expression:"'EmailAddress'"}]},[e._v("电子邮箱地址")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.vo.accountType?t("span",[e._v(e._s(e.vo.emailAddr))]):t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"电子邮箱地址",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.isOther?t("el-input",{ref:"emailAddr",attrs:{type:"text",autocomplete:"new-password",placeholder:""},on:{input:e.setPasswordLbl},model:{value:e.vo.emailAddr,callback:function(t){e.$set(e.vo,"emailAddr",t)},expression:"vo.emailAddr"}}):t("el-input",{ref:"emailAddr",attrs:{type:"text",autocomplete:"new-password",placeholder:""},on:{change:e.setPasswordLbl},model:{value:e.vo.emailAddr,callback:function(t){e.$set(e.vo,"emailAddr",t)},expression:"vo.emailAddr"}})],1)]}}],null,!1,687107226)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailUserName",expression:"'EmailUserName'"}]},[e._v("邮箱用户名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.vo.accountType?t("span",[e._v(e._s(e.vo.emailUsername||e.loginUser.personName))]):t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱用户名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailUsername",attrs:{type:"text",autocomplete:"new-password",placeholder:""},model:{value:e.vo.emailUsername,callback:function(t){e.$set(e.vo,"emailUsername",t)},expression:"vo.emailUsername"}})],1)]}}],null,!1,2807694645)})],1)]),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailUserAccount",expression:"'EmailUserAccount'"}]},[e._v("邮箱用户帐号")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.vo.accountType?t("span",[e._v(e._s(e.vo.emailAccount))]):t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱用户帐号",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailAccount",attrs:{type:"text",autocomplete:"new-password",placeholder:""},model:{value:e.vo.emailAccount,callback:function(t){e.$set(e.vo,"emailAccount",t)},expression:"vo.emailAccount"}})],1)]}}],null,!1,151269909)})],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),null==e.passwordLbl?t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailPass",expression:"'emailPass'"}]},[e._v("邮箱用户密码/授权码")]):e._e(),null!=e.passwordLbl?t("a",{staticStyle:{color:"#409eff"},on:{click:function(t){return e.linkHelper(e.vo.emailAddr)}}},[e._v(e._s(e.passwordLbl))]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱用户密码/授权码",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailPassword",attrs:{type:"password",autocomplete:"new-password",placeholder:""},model:{value:e.vo.emailPassword,callback:function(t){e.$set(e.vo,"emailPassword",t)},expression:"vo.emailPassword"}})],1)]}}],null,!1,1521699703)})],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"accountType",expression:"'accountType'"}]},[e._v("用户账户类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-radio-group",{on:{change:e.emailReceiveTypeChange},model:{value:e.vo.emailReceiveType,callback:function(t){e.$set(e.vo,"emailReceiveType",t)},expression:"vo.emailReceiveType"}},[t("el-radio",{attrs:{label:"IMAP"}},[e._v("IMAP")])],1)],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"ReceivingServer",expression:"'ReceivingServer'"}]},[e._v("接收邮件服务器")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"接收邮件服务器",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"false",placeholder:""},model:{value:e.vo.emailReceiveServer,callback:function(t){e.$set(e.vo,"emailReceiveServer",t)},expression:"vo.emailReceiveServer"}})],1)]}}],null,!1,1135888742)})],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"outgoingMail",expression:"'outgoingMail'"}]},[e._v("发送邮件服务器")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"发送邮件服务器",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailSmtpServer",attrs:{type:"text",autocomplete:"false",placeholder:""},model:{value:e.vo.emailSmtpServer,callback:function(t){e.$set(e.vo,"emailSmtpServer",t)},expression:"vo.emailSmtpServer"}})],1)]}}],null,!1,37264710)})],1)]):e._e(),1===e.vo.accountType?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailAddress",expression:"'emailAddress'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("绑定外部邮箱地址")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:e.$tx("email.youxiangshezhi.EmailTip","请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件")},on:{change:e.formTxlChange},model:{value:e.vo.internetEmailAddr,callback:function(t){e.$set(e.vo,"internetEmailAddr",t)},expression:"vo.internetEmailAddr"}},e._l(e.accountList,(function(a){return t("div",{key:a.id},[2===a.accountType?t("el-option",{attrs:{label:a.emailAddr,value:a.emailAddr}}):e._e()],1)})),0)],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"pageMax",expression:"'pageMax'"}]},[e._v("每页最多显示邮件数")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"每页最多显示邮件数",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.pageSize,callback:function(t){e.$set(e.vo,"pageSize",t)},expression:"vo.pageSize"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum10",expression:"'fileNum10'"}],attrs:{label:1}},[e._v("10封")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum20",expression:"'fileNum20'"}],attrs:{label:2}},[e._v("20封")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum50",expression:"'fileNum50'"}],attrs:{label:3}},[e._v("50封")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum100",expression:"'fileNum100'"}],attrs:{label:4}},[e._v("100封")])],1)],1)]}}],null,!1,2497114557)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"forwardingEmail",expression:"'forwardingEmail'"}]},[e._v("转发邮件时主题显示")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.forwardingEmail","转发邮件时主题显示"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.forwardSubject,callback:function(t){e.$set(e.vo,"forwardSubject",t)},expression:"vo.forwardSubject"}},[t("el-radio",{attrs:{label:"Fw"}},[e._v("Fw")]),t("el-radio",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"forward",expression:"'forward'"}],attrs:{label:"转发"}},[e._v("转发")])],1)],1)]}}],null,!1,3398201926)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"replyingToem",expression:"'replyingToem'"}]},[e._v("回复邮件时主题显示")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.replyingToem","回复邮件时主题显示"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.replySubject,callback:function(t){e.$set(e.vo,"replySubject",t)},expression:"vo.replySubject"}},[t("el-radio",{attrs:{label:"Re"}},[e._v("Re")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"reply",expression:"'reply'"}],attrs:{label:"回复"}},[e._v("回复")])],1)],1)]}}],null,!1,119119055)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addSignature",expression:"'addSignature'"}]},[e._v("发送邮件时是否添加签名")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.addSignature","发送邮件时是否添加签名"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.signFlag,callback:function(t){e.$set(e.vo,"signFlag",t)},expression:"vo.signFlag"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.yes",expression:"'common.yes'"}],attrs:{label:1}},[e._v("是")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.no",expression:"'common.no'"}],attrs:{label:2}},[e._v("否")])],1)],1)]}}],null,!1,3050812077)})],1)]),1===e.vo.signFlag?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendContent",expression:"'sendContent'"}]},[e._v("发送邮件时添加签名内容")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.sendContent","发送邮件时添加签名内容"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.youxiangshezhi.contentEnter","请输入内容")},model:{value:e.vo.signContent,callback:function(t){e.$set(e.vo,"signContent",t)},expression:"vo.signContent"}})],1)]}}],null,!1,2406418358)})],1)]):e._e()])])]):e._e()])]),t("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{size:"small",plain:"",icon:"el-icon-check"},on:{click:function(t){return e.saveMailSetup()}}},[e._v("保 存")])],1)],1)],1),t("el-dialog",{attrs:{title:e.$tx("email.youxiangshezhi.emailType","邮箱类型"),visible:e.dialogVisible,width:"600px","before-close":e.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"emailWrap"},e._l(e.emailList,(function(a){return t("div",{key:a.value,staticClass:"emialLine",on:{click:function(t){return e.selAddEmail(a)}}},[t("img",{staticStyle:{width:"30px",height:"30px","margin-right":"10px","border-radius":"4px",overflow:"hidden"},attrs:{src:a.imageUrl,alt:""}}),e._v(" "+e._s(a.name)+" ")])})),0),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{plain:"",icon:"el-icon-close"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("关 闭")])],1)])],1)},ca=[];function ua(e){return ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ua(e)}function ma(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function pa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(a),!0).forEach((function(t){ha(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ma(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ha(e,t,a){return(t=fa(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function fa(e){var t=_a(e,"string");return"symbol"==ua(t)?t:t+""}function _a(e,t){if("object"!=ua(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ua(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function ga(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ga=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ua(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(ua(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function ya(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function va(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){ya(r,n,i,o,s,"next",e)}function s(e){ya(r,n,i,o,s,"throw",e)}o(void 0)}))}}var ba={components:{},props:{},data:function(){return{i18npkg:"email",moduleCode:"youxiangshezhi",dialogVisible:!1,isOther:!1,emailList:[{imageUrl:n(2622),name:this.$tx("email.youxiangshezhi.emailqq","QQ邮箱"),value:"qq",subStr:"@qq.com"},{imageUrl:n(4017),name:this.$tx("email.youxiangshezhi.email139","139邮箱"),value:"139",subStr:"@139.com"},{imageUrl:n(9244),name:this.$tx("email.youxiangshezhi.email163","163邮箱"),value:"163",subStr:"@163.com"},{imageUrl:n(9162),name:this.$tx("email.youxiangshezhi.other","其他"),value:"other",subStr:""}],loginUser:this.$store.getters.loginUser,formTitle:this.$tx("email.youxiangshezhi.Emailstting","邮箱设置"),moduleInfo:{updateUrl:"mail/userSetup/update",insertUrl:"mail/userSetup/insert",queryDataUrl:"mail/userSetup/queryMyMailSetup",addNewUrl:"mail/userSetup/addNew",delete:"mail/userSetup/delete"},vo:{accountType:2,emailUsername:"",emailReceiveType:"IMAP",emailAccount:"",emailAddr:"",emailPassword:"",emailReceiveServer:"",emailSmtpServer:"",isDefault:"",pageSize:"",forwardSubject:"",replySubject:"",signFlag:"",signContent:"",status:1},passwordLbl:null,helpurl:"",loading:"",accountList:[],interiorAccountList:null,isIndeterminate:!1,checkAll:!1,checkedCities:[],tbody:!0,urlSechId:null,iScompile:!1,voListdata:!1,ul:!0}},computed:{curUser:function(){return this.$store.getters.loginUser}},watch:{vo:{handler:function(e){this.urlSechId=e.id}}},created:function(){this.$bus.emit("showNavSearch",!1)},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("changeEmail")},mounted:function(){var e=this;this.loadingAccount(),this.$bus.on("changeEmail",(function(t){e.loadingAccount()}))},methods:{deleteMail:function(e){var t=this;this.$confirm(this.$tx("email.youxiangshezhi.isdelEmail",{emailAddr:e.emailAddr},"确定要删除{emailAddr}邮箱及其下文件夹吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(va(ga().mark((function a(){var n,i;return ga().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=[],n.push(e.id),a.next=4,t.$app.deleteByIds(t.moduleInfo.delete,n);case 4:i=a.sent,"success"===i.code?(t.$message.success(i.message),t.loadingAccount(),t.$bus.emit("queryMyMailSetup")):t.$message.error(i.message);case 6:case"end":return a.stop()}}),a)}))))},handleCheckAllChange:function(e){this.checkedCities=e?this.accountList:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){var t=e.length;this.checkAll=t===this.accountList.length,this.isIndeterminate=t>0&&t<this.accountList.length},linkHelper:function(e){e?-1!==e.indexOf("@qq.")?window.open("https://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1001256&&id=28","_blank"):-1!==e.indexOf("@ecinc.")?window.open("/plugins/email/ecincMailHelp.html","_blank"):-1!==e.indexOf("@139.")?window.open("http://help.mail.10086.cn/statichtml/1/Content/3620.html","_blank"):-1!==e.indexOf("@163.")&&window.open("http://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2cda80145a1742516","_blank"):this.$alert(this.$tx("email.youxiangshezhi.EmailassEnter","请先输入电子邮箱地址再进行操作!"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},selectEmail:function(e,t){this.tbody=!0,this.vo=pa({},this.accountList[t]),this.vo.isUpdate=1,1!==this.vo.accountType&&(this.isOther=!0),this.setPasswordLbl()},refreshAccount:function(){var e=this;this.accountList=[];var t=this;this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(a){if(a.body.listdata.forEach((function(t){1===t.status&&e.accountList.push(t)})),e.accountList&&e.accountList.length>0){var n=e.accountList.findIndex((function(e){return 1===e.accountType}));if(n>-1){var i=e.accountList[n];e.accountList.splice(n,1),e.accountList.unshift(i)}a.body.listdata.forEach((function(e){1===e.status&&t.accountList.push(e)})),t.accountList&&t.accountList.length>0?t.defultMail=t.accountList[0]:t.defultMail=null,t.defultMail&&sessionStorage.setItem("currentMail",JSON.stringify(t.defultMail))}}))},loadingAccount:function(e){var t=this,a=this;a.loading=!0,this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(e){if("success"===e.code){var n=[];if(e.body.listdata.forEach((function(e){1===e.status&&n.push(e)})),t.voListdata=n,a.loading=!1,t.voListdata.length>0?(t.vo=t.voListdata[0],t.vo.isUpdate=1,t.urlSechId=t.vo.id,t.setPasswordLbl()):t.addEmail(),t.accountList=n,t.accountList&&t.accountList.length>0){var i=t.accountList.findIndex((function(e){return 1===e.accountType}));if(i>-1){var r=t.accountList[i];t.accountList.splice(i,1),t.accountList.unshift(r)}}}else a.loading=!1,a.$message.error(e.message)}),(function(e){a.loading=!1,a.$message.error(e)}))},setPasswordLbl:function(e){-1!==this.vo.emailAddr.indexOf("@ecinc.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.appCode","客户端授权密码"),this.helpurl="/myEmail/ecincMailHelp.html"):-1!==this.vo.emailAddr.indexOf("@qq.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.code_qq","QQ邮箱16位授权码"),this.helpurl="https://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1001256&&id=28"):-1!==this.vo.emailAddr.indexOf("@139.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.code_139","139邮箱登录密码"),this.helpurl="http://help.mail.10086.cn/statichtml/1/Content/3620.html"):-1!==this.vo.emailAddr.indexOf("@163.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.code_163","163邮箱授权码"),this.helpurl="http://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2cda80145a1742516"):(this.passwordLbl=null,this.helpurl=null),e&&e.lastIndexOf("@")>0&&(this.vo.emailReceiveServer=this.vo.emailReceiveType.toLowerCase()+"."+e.substring(e.lastIndexOf("@")+1),this.vo.emailSmtpServer="smtp."+e.substring(e.lastIndexOf("@")+1))},saveMailSetup:function(){var e=this,t=this;this.formValidate((function(){var a="";if(e.vo.emailAddr&&-1!==e.vo.emailAddr.indexOf("@ecinc.")&&(a=e.$tx("email.youxiangshezhi.describe","您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。"),"smtp.ecinc.com.cn"!==t.vo.emailSmtpServer||"imap.ecinc.com.cn"!==t.vo.emailReceiveServer))return t.$message.error(e.$tx("email.youxiangshezhi.configure","接收或发送邮件服务器配置错误")),!1;if(""===a){t.loading=!0;var n=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;if(!n.test(e.vo.emailAddr))return e.$alert(e.$tx("email.youxiangshezhi.EmailNot","邮箱格式不正确"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),void(t.loading=!1);e.vo.accountType=1===e.vo.isUpdate?e.vo.accountType:2,t.$http({method:1===e.vo.isUpdate?"PUT":"POST",contentType:"application/x-www-form-urlencoded",data:e.vo,url:1===e.vo.isUpdate?e.moduleInfo.updateUrl:e.moduleInfo.insertUrl}).then((function(e){if(t.loading=!1,"success"===e.code){if(t.$message.success(e.message),t.refreshAccount(),-1===t.vo.isUpdate){for(var a in t.accountList)t.accountList[a].id===e.body.vo.id&&(t.vo=t.accountList[a]);t.vo.isUpdate=1}t.$bus.emit("queryMyMailSetup")}else t.$message.error(e.message)}),(function(e){t.loading=!1,t.$message.error(e)}))}else t.$confirm(a,e.$tx("common.operationTip","操作提示"),{confirmButtonText:e.$tx("pageBtns.sure","确定"),cancelButtonText:e.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){e.vo.accountType=1===e.vo.isUpdate?e.vo.accountType:2,t.loading=!0,t.$http({method:1===t.vo.isUpdate?"PUT":"POST",contentType:"application/x-www-form-urlencoded",data:t.vo,url:1===t.vo.isUpdate?t.moduleInfo.updateUrl:t.moduleInfo.insertUrl}).then((function(e){if(t.loading=!1,"success"===e.code){if(t.$message.success(e.message),t.refreshAccount(),-1===t.vo.isUpdate){for(var a in t.accountList)t.accountList[a].id===e.body.vo.id&&(t.vo=t.accountList[a]);t.vo.isUpdate=1}t.$bus.emit("queryMyMailSetup")}else t.$message.error(e.message)}),(function(e){t.loading=!1,t.$message.error(e)}))})).catch((function(){return t.loading=!1,!1}))}),null,1)},addEmail:function(){this.dialogVisible=!0,this.showAddEmail()},selAddEmail:function(e){this.dialogVisible=!1,this.showAddEmail(e.subStr),this.isOther="other"===e.value},showAddEmail:function(e){var t=this;this.checkedCities=[],this.checkAll=!1,this.passwordLbl=null,this.$http({method:"POST",url:this.moduleInfo.addNewUrl,data:this.vo}).then((function(a){"success"===a.code?(t.vo=a.body.vo,t.vo.emailReceiveType="IMAP",t.vo.emailIsReceive=1,t.vo.emailUsername=t.curUser.personName,t.vo.isDefault=0,t.vo.status=1,t.vo.isUpdate=-1,t.$set(t.vo,"pageSize",2),t.$set(t.vo,"forwardSubject","转发"),t.$set(t.vo,"replySubject","Re"),t.$set(t.vo,"signFlag",1),t.$set(t.vo,"signContent",""),e?(-1!==e.indexOf("@ecinc.")?(t.passwordLbl=t.$tx("email.youxiangshezhi.appCode","客户端授权密码"),t.helpurl="/myEmail/ecincMailHelp.html"):-1!==e.indexOf("@qq.")?(t.passwordLbl=t.$tx("email.youxiangshezhi.code_qq","QQ邮箱16位授权码"),t.helpurl="https://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1001256&&id=28"):-1!==e.indexOf("@139.")?(t.passwordLbl=t.$tx("email.youxiangshezhi.code_139","139邮箱登录密码"),t.helpurl="http://help.mail.10086.cn/statichtml/1/Content/3620.html"):-1!==e.indexOf("@163.")&&(t.passwordLbl=t.$tx("email.youxiangshezhi.code_163","163邮箱授权码"),t.helpurl="http://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2cda80145a1742516"),e.lastIndexOf("@")>-1&&(t.vo.emailReceiveServer=t.vo.emailReceiveType.toLowerCase()+"."+e.substring(e.lastIndexOf("@")+1),t.vo.emailSmtpServer="smtp."+e.substring(e.lastIndexOf("@")+1))):(t.passwordLbl=null,t.helpurl=null)):t.$message.error(a.message)}))},emailReceiveTypeChange:function(e){this.vo.emailAddr&&this.vo.emailAddr.lastIndexOf("@")>0&&(this.vo.emailReceiveServer=e.toLowerCase()+"."+this.vo.emailAddr.substring(this.vo.emailAddr.lastIndexOf("@")+1))}}},Ma=ba,wa=(n(8416),te(Ma,da,ca,!1,null,"9845490c",null)),xa=wa.exports,La=function(){var e=this,t=e._self._c;return t("div",{ref:"EmailElement",attrs:{id:"Email-body"}},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"email.svg"}}},[t("div",{ref:"emailContent"},[t("el-table",{attrs:{data:e.listdata,border:!0,"show-header":!0,"row-class-name":"rowClass"},on:{"row-click":e.openWorkFlow}},[t("el-table-column",{attrs:{type:"index",label:e.$tx("fields.index","序号"),width:"45",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{class:a?"no1":"no2"},[e._v(e._s(""))])]}}])}),t("el-table-column",{attrs:{prop:"subject",label:e.$tx("email.portletEmail.subject","邮件主题"),align:"left","min-width":"100","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"fromAddr",label:e.$tx("email.portletEmail.fromAddr","发送人"),width:"180",align:"center","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"createTime",label:e.$tx("email.portletEmail.createTime","发送时间"),width:"150",align:"center",formatter:e.columnFormatter,"show-overflow-tooltip":!0}}),t("div",{staticStyle:{"text-align":"center","padding-top":"30px"},attrs:{slot:"empty"},slot:"empty"},[t("img",{staticStyle:{"max-width":"180px"},attrs:{src:"images/w-imgs/nomessage.png"}}),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.noData",expression:"'common.noData'"}],staticStyle:{"font-size":"var(--portalFontSize15)",color:"#dbdbdb"}},[e._v("暂无数据")])])],1)],1)])],1)},ka=[];function Ta(e){return Ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ta(e)}function Sa(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Sa=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ta(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ta(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Ya(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Da(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Ya(r,n,i,o,s,"next",e)}function s(e){Ya(r,n,i,o,s,"throw",e)}o(void 0)}))}}function ja(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ca(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ja(Object(a),!0).forEach((function(t){Aa(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ja(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Aa(e,t,a){return(t=Ia(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ia(e){var t=Ea(e,"string");return"symbol"==Ta(t)?t:t+""}function Ea(e,t){if("object"!=Ta(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Ta(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Oa=n(5093),Pa={name:"Email",props:{appletData:{type:Object,default:function(){return{}}}},data:function(){return{loginUser:this.$store.getters.loginUser,listdata:[],pageSize:6,email:"",usersetId:""}},computed:Ca({},H(["routes"])),created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.loadInternetList()},methods:{loadInternetList:function(){var e=this;return Da(Sa().mark((function t(){var a;return Sa().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e,t.next=3,e.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){if(a.loading=!1,"success"===t.code){var n=[];t.body.listdata.forEach((function(e){1===e.status&&n.push(e)})),e.usersetId=n.length>0?n[0].id:"",e.usersetId&&e.getEmail()}else a.$toast(t.message)}),(function(e){a.$toast(e)}));case 3:case"end":return t.stop()}}),t)})))()},getEmail:function(){var e=this;return Da(Sa().mark((function t(){var a,n,i,r,o;return Sa().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a={pageSize:e.pageSize,pageNum:1},t.next=3,e.$app.listdata("/mail/message/listdata?mailBoxType=INBOX&accountType=1&usersetId="+e.usersetId,a);case 3:if(n=t.sent,"success"===n.code){if(e.email=" ("+n.body.email+" )",i=n.body.pageInfo.list,r=i.length,r<5&&r>0)for(o=0;o<5-r;o++)i.push({});e.listdata=i}case 5:case"end":return t.stop()}}),t)})))()},cutTime:function(e){var t="";return""!==e&&(t=this.isToday(e)?Oa(e).format("HH:mm"):Oa(e).format("MM-DD")),t},isToday:function(e){var t=new Date(e).setHours(0,0,0,0),a=(new Date).setHours(0,0,0,0);return t-a===0},openWorkFlow:function(e){if(e.id){var t=this.getMenuCode("email.svg");if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a,query:{messageId:e.mailMessageId,mailBoxId:e.mailBoxId}})}}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t}}},Na=Pa,Ha=(n(8800),te(Na,La,ka,!1,null,"48c2564b",null)),Fa=Ha.exports,$a=function(){var e=this,t=e._self._c;return t("div",[e.crow.id?t("el-button-group",[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"back",expression:"'back'"}],staticStyle:{height:"33px"},attrs:{size:"small",icon:"el-icon-back"},on:{click:e.goBack}},[e._v("退回")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"ShippingBox",expression:"'ShippingBox'"}],attrs:{size:"small",type:"SENDED"===e.mailType?"primary":""},on:{click:function(t){return e.changeType("SENDED")}}},[e._v("发件箱")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"Inbox",expression:"'Inbox'"}],attrs:{size:"small",type:"INBOX"===e.mailType?"primary":""},on:{click:function(t){return e.changeType("INBOX")}}},[e._v("收件箱")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"Deleted",expression:"'Deleted'"}],attrs:{size:"small",type:"DELETED"===e.mailType?"primary":""},on:{click:function(t){return e.changeType("DELETED")}}},[e._v("已删除")])],1):e._e(),t("LRLayout",{staticClass:"email_main",staticStyle:{padding:"0"},on:{click:function(t){e.visibleJump=!1}}},[e.currentMail?t("LeftPanel",{ref:"LeftPanel",staticClass:"left",staticStyle:{width:"320px",height:"calc(100vh - 180px)",border:"none","border-right":"1px solid #eceff5"}},[t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark","highlight-current-row":""},on:{"cell-click":e.readMail,"current-change":e.currentChangeFuc},model:{value:e.tableData,callback:function(t){e.tableData=t},expression:"tableData"}},[t("el-table-column",{scopedSlots:e._u([{key:"default",fn:function(a){return[t("p",{staticStyle:{margin:"0",padding:"0",width:"100%",position:"relative",height:"20px"}},[t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"auto","max-width":"calc(100% - 100px)",float:"left",color:"#333333","font-weight":"700"}},[e._v(e._s("SENDED"!==e.mailType?a.row.fromAddr:a.row.sendTo))]),1===a.row.containAttach?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",float:"left","margin-top":"5px","margin-left":"5px"},attrs:{"icon-class":"emailAttach"}}):e._e(),t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"80px","text-align":"right","padding-right":"8px",float:"right"}},[e._v(e._s(a.row.createTime))])],1),t("p",{staticStyle:{margin:"0",padding:"0",width:"100%",position:"relative",height:"20px"}},[t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"calc(100% - 24px)"}},[e._v(e._s(a.row.subject))])])]}}],null,!1,242746279)},[t("template",{slot:"header"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"total",expression:"'total'"}],staticStyle:{display:"inline-block",float:"left","font-size":"var(--portalFontSize12)","line-height":"26px",color:"#666"},attrs:{disabled:"",readonly:"",total:e.total}},[e._v("共 "+e._s(e.total)+" 封")]),t("div",{staticStyle:{"line-height":"26px",float:"right","padding-left":"0","padding-right":"0",color:"#333"}},[t("span",{ref:"jumpPopoverCopy",staticStyle:{"margin-right":"10px"}},[e._v(e._s(e.currentPage+"/"+e.totalPage))]),t("span",{staticStyle:{"padding-right":"10px",cursor:"pointer"}},[t("i",{staticClass:"el-icon-back",staticStyle:{"margin-right":"10px","font-weight":"700"},style:{color:1===e.currentPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(0)}}}),t("i",{staticClass:"el-icon-right",staticStyle:{"font-weight":"700"},style:{color:e.currentPage===e.totalPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(1)}}})])])])],2)],1),e.visibleJump?t("div",{ref:"jumpPopover",staticClass:"jumpPopover"},[t("div",{staticStyle:{"margin-bottom":"20px",height:"25px","line-height":"25px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"JumpTo",expression:"'JumpTo'"}]},[e._v("跳转到")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.jumpPage,expression:"jumpPage"}],staticClass:"jumpInput",attrs:{placeholder:""},domProps:{value:e.jumpPage},on:{input:function(t){t.target.composing||(e.jumpPage=t.target.value)}}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"page",expression:"'page'"}]},[e._v("页")])]),t("div",{staticStyle:{"text-align":"right",margin:"0"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{size:"mini"},on:{click:e.jumpPageCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",size:"mini"},on:{click:e.jumpPageFuc}},[e._v("确定")])],1)]):e._e()],1)]):e._e(),e.currentMail?t("RightPanel",{staticClass:"right",staticStyle:{width:"calc(100% - 320px)",height:"calc(100vh - 180px)","margin-left":"0"}},[t("div",[t("div",{staticClass:"div_content",staticStyle:{"padding-left":"10px",height:"calc(100vh - 207px)",overflow:"auto",position:"relative"},attrs:{span:18}},[null===e.currentMail||null!==e.mailInfo||e.seeMail||e.loadingMail?e._e():t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"singleClick",expression:"'singleClick'"}],staticStyle:{"font-size":"var(--portalFontSize14)",color:"#333",margin:"29px 0"}},[e._v("单击一封邮件在此处显示")])],1),null!==e.currentMail&&e.seeMail&&e.loadingMail?t("div",{staticClass:"text-center",staticStyle:{"padding-top":"180px"}},[t("i",{staticClass:"el-icon-loading",staticStyle:{"font-size":"20px"}})]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail?t("div",{staticClass:"text-left",staticStyle:{"overflow-y":"auto"},style:{height:"INBOX"===e.mailType?"calc(100% - 85px)":""}},[t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"theme",expression:"'theme'"}],staticClass:"detailPSize",staticStyle:{"font-size":"var(--portalFontSize14)","font-weight":"700"},attrs:{subject:e.mailInfo.subject}},[e._v("主题:"+e._s(e.mailInfo.subject))]),t("p",{staticClass:"detailPSize"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender",expression:"'Sender'"}],attrs:{addr:e.mailInfo.fromAddr}},[e._v("发件人:"+e._s(e.mailInfo.fromAddr))]),t("i",{class:[e.isExpand?"el-icon-caret-top":"el-icon-caret-bottom"],staticStyle:{color:"#999","font-size":"var(--portalFontSize15)","margin-left":"5px",cursor:"pointer"},on:{click:function(t){e.isExpand=!e.isExpand}}})]),e.isExpand?[e.mailInfo.copyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Copy",expression:"'Copy'"}],staticClass:"detailPSize",attrs:{copyTo:e.mailInfo.copyTo}},[e._v("抄送:"+e._s(e.mailInfo.copyTo))]):e._e(),"SENDED"===e.mailType&&e.mailInfo.blindCopyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"bcc",expression:"'bcc'"}],staticClass:"detailPSize",attrs:{blindCopyTo:e.mailInfo.blindCopyTo}},[e._v("密送:"+e._s(e.mailInfo.blindCopyTo))]):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"detailPSize",attrs:{sendTo:e.mailInfo.sendTo}},[e._v("收件人:"+e._s(e.mailInfo.sendTo))]),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"time",expression:"'time'"}],staticClass:"detailPSize",attrs:{time:e.mailInfo.createTime}},[e._v("时间:"+e._s(e.mailInfo.createTime))])]:e._e(),e.mailInfo.attachsCount>0?t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"AttatcNum",expression:"'AttatcNum'"}],staticClass:"detailPSize",attrs:{attachsCount:e.mailInfo.attachsCount}},[e._v("附件:共"+e._s(e.mailInfo.attachsCount)+"个附件")]),t("div",{staticStyle:{"margin-left":"30px","margin-top":"0","margin-bottom":"0"}},[e._l(e.mailInfo.attachments,(function(a){return t("div",{key:a},[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px"},attrs:{src:e.imgUrl(a),alt:""}}),t("span",{staticClass:"glyphicon glyphicon-paperclip",staticStyle:{"margin-right":"5px","font-size":"var(--portalFontSize12)"}},[e._v(" "+e._s(a.fileName)+" "),t("span",{staticStyle:{color:"#999"}},[e._v(e._s(a.fileSize))])]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],attrs:{size:"small",type:"text"},on:{click:function(t){return e.downAttachment(a)}}},[e._v("下载")])],1)}))],2)]):e._e(),null!==e.mailInfo&&e.seeMail?t("div",{staticStyle:{padding:"10px","border-top":"1px solid #ececec"}},[t("iframe",{ref:"mailInfoContent",attrs:{width:"100%",scrolling:"no",frameborder:"0"}})]):e._e()],2)]):e._e()])])]):e._e()],1),e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.components.AdvancedSearch","高级搜索"),visible:e.dialogFormVisible,width:"613px","close-on-click-modal":!1,"destroy-on-close":""},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{staticStyle:{"text-align":"center"},attrs:{model:e.adVo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper",staticStyle:{height:"unset"}},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.components.SenderAss","请输入发件人/邮箱地址")},model:{value:e.adVo.fromAddr,callback:function(t){e.$set(e.adVo,"fromAddr",t)},expression:"adVo.fromAddr"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("收件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.components.addresseeAss","请输入收件人/邮箱地址")},model:{value:e.adVo.sendTo,callback:function(t){e.$set(e.adVo,"sendTo",t)},expression:"adVo.sendTo"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailSubject",expression:"'EmailSubject'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("请输入邮件主题")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.components.EmailSubEnter","请输入邮件主题")},model:{value:e.adVo.subject,callback:function(t){e.$set(e.adVo,"subject",t)},expression:"adVo.subject"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendTime",expression:"'sendTime'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发送时间")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.components.selectSendtimeStart","请选择发送时间(开始)")},model:{value:e.adVo.sentdate_START,callback:function(t){e.$set(e.adVo,"sentdate_START",t)},expression:"adVo.sentdate_START"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.to",expression:"'common.to'"}]},[e._v("至")]),t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.components.selectSendtimeEnd","选择发送时间(结束)")},model:{value:e.adVo.sentdate_END,callback:function(t){e.$set(e.adVo,"sentdate_END",t)},expression:"adVo.sentdate_END"}})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{icon:"el-icon-close",disabled:e.doing},on:{click:e.adSeachCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",disabled:e.doing,icon:"el-icon-check"},on:{click:e.adSeachConfirm}},[e._v("确定")])],1)],1):e._e()],1)},za=[];function Ba(e){return Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ba(e)}function Wa(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wa=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ba(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ba(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Ra(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ua(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Ra(r,n,i,o,s,"next",e)}function s(e){Ra(r,n,i,o,s,"throw",e)}o(void 0)}))}}function qa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ga(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(a),!0).forEach((function(t){Va(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Va(e,t,a){return(t=Ja(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ja(e){var t=Qa(e,"string");return"symbol"==Ba(t)?t:t+""}function Qa(e,t){if("object"!=Ba(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Ba(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Ka=n(5093),Xa={name:"",components:{},props:{crow:{type:Object,default:function(){return{}}}},data:function(){return{search:"",canEdit:0,i18npkg:"email",moduleCode:"components",moduleInfo:{listDataUrl:"mail/message/listdata",getByIdUrl:"mail/message/getMailInfoById",mailFlagUrl:"mail/message/setMailFlag",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft"},quickMailInfo:null,tableData:[],multipleSelection:[],multipleSelectionLen:null,usersetId:this.$store.getters.loginUser,total:0,totalPage:1,currentPage:1,jumpPage:"",pageSize:50,mailType:"SENDED",mailInfo:null,loading:!0,sendLoading:!1,loadingMail:!1,seeMail:!1,mailBoxId:"",newMailInfo:"",tipText:"",value:"",accountList:[],currentMail:null,selColumnVisible:!1,selColumnVisibleBiaoji:!1,visibleType:"",clickNum:0,delPopper:!1,biaojiPopper:!1,yidongPopper:!1,visibleJump:!1,listwenjianjia:null,api:"/apigw",isExpand:!1,dialogFormVisible:!1,adVo:{fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""}}},computed:Ga({},H(["routes","loginUser"])),watch:{},created:function(){this.$bus.on("searchListData",this.adSeach),this.$bus.emit("showNavSearch",!0),this.loadList("",this.adVo)},beforeDestroy:function(){this.$bus.off("searchListData",this.adSeach),this.$bus.emit("showNavSearch",!0),this.$bus.off("changeEmail")},mounted:function(){var e=this;this.dragControllerDiv(),this.$bus.on("changeEmail",(function(t){e.currentMail=JSON.parse(sessionStorage.getItem("currentMail")),e.currentPage=1,e.loadList("",e.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1}));var t=this;document.addEventListener("click",(function(e){if(t.$refs.jumpPopover){var a=t.$refs.jumpPopover.contains(e.target)||t.$refs.jumpPopoverCopy.contains(e.target);a||(t.visibleJump=!1)}}))},methods:{adSeach:function(){this.dialogFormVisible=!0},adSeachCancle:function(){this.dialogFormVisible=!1,this.adVo={fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""},this.loadList("",this.adVo)},adSeachConfirm:function(){Date.parse(this.adVo.sentdate_END)<Date.parse(this.adVo.sentdate_START)?this.$alert("发送时间(结束)不能小于发送时间(开始)","操作提示",{type:"warning"}):(this.adVo.sentdate_START=this.adVo.sentdate_START?Ka(this.adVo.sentdate_START).format("YYYY-MM-DD HH:mm:ss"):"",this.adVo.sentdate_END=this.adVo.sentdate_END?Ka(this.adVo.sentdate_END).format("YYYY-MM-DD HH:mm:ss"):"",this.loadList("",this.adVo),this.dialogFormVisible=!1)},goBack:function(){this.$parent.goBack()},changeType:function(e){this.mailType=e,this.mailInfo=null,this.seeMail=!1,this.loadingMail=!1,this.loadList("",this.adVo)},currentChangeFuc:function(e,t){},searchListData:function(e,t,a){this.loadList(e,this.adVo)},changePageNumber:function(e){1===e?this.currentPage<this.totalPage&&(this.currentPage++,this.loadList("",this.adVo)):this.currentPage>1&&(this.currentPage--,this.loadList("",this.adVo))},jumpPageCancle:function(){this.visibleJump=!1,this.jumpPage=""},jumpPageFuc:function(){if(Number(this.jumpPage)<1||Number(this.jumpPage)>this.totalPage)return this.$message.warning("跳转范围在 1 -"+this.totalPage+"页"),this.jumpPage="",!1;this.currentPage=this.jumpPage,this.visibleJump=!1,this.jumpPage="",this.loadList("",this.adVo)},transPageSize:function(e){var t=1===e?10:2===e?20:3===e?50:100;return t},loadList:function(e,t){var a=this;return Ua(Wa().mark((function n(){var i,r,o;return Wa().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=a,i.crow.id){n.next=3;break}return n.abrupt("return");case 3:return i.loading=!0,a.currentMail=null,r=new FormData,r.append("pageNum",i.currentPage),r.append("pageSize",a.transPageSize(i.crow.pageSize)),r.append("searchMap[searchText]",e),t&&(r.append("searchAndOr","and"),r.append("searchMap[fromAddr]",a.adVo.fromAddr),r.append("searchMap[sendTo]",a.adVo.sendTo),r.append("searchMap[subject]",a.adVo.subject),r.append("searchMap[sentdate_START]",a.adVo.sentdate_START),r.append("searchMap[sentdate_END]",a.adVo.sentdate_END)),o=i.moduleInfo.listDataUrl+"?mailBoxType="+i.mailType+"&usersetId="+i.crow.id+"&accountType="+i.crow.accountType,n.next=13,i.$http({method:"POST",data:r,url:o}).then((function(e){i.loading=!1,"success"===e.code?(e.body.pageInfo.total>0?(i.tableData=e.body.pageInfo.list,i.tableData.forEach((function(e,t){e.createTime=ct().filter("formatTime")(e.createTime)})),i.total=e.body.pageInfo.total,i.totalPage=e.body.pageInfo.pages):(i.tableData=e.body.pageInfo.list,i.total=e.body.pageInfo.total,i.totalPage=1),a.currentMail=Ga({},a.crow)):i.$message.error(e.message)}),(function(e){i.$message.error(e)}));case 13:case"end":return n.stop()}}),n)})))()},readMail:function(e,t,a,n){var i=this;this.isExpand=!1,this.show=!1;var r=this;r.mailInfo=null,r.seeMail=!0,r.loadingMail=!0;var o=this.moduleInfo.getByIdUrl,s={mailBoxId:e.mailBoxId,messageId:e.mailMessageId,apigw:"apigw"};r.menhu&&void 0===t&&(s={mailBoxId:r.$route.query.mailBoxId,messageId:e,apigw:"apigw"}),this.$http({method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:s,url:o}).then((function(t){"success"===t.code?(r.loadingMail=!1,r.mailInfo=t.body.vo,r.mailInfo.attachsCount=r.mailInfo.attachments.length,r.mailInfo.content&&i.$nextTick((function(){this.$refs.mailInfoContent.contentWindow.document.write(r.mailInfo.content);var e=this.$refs.mailInfoContent.contentWindow.document.body.scrollHeight,t=this.$refs.mailInfoContent.contentWindow.document.documentElement.scrollHeight,a=Math.max(e,t);this.$refs.mailInfoContent.height=a})),r.newMailInfo=t.body.vo,r.tableData.forEach((function(t,a){t.mailMessageId===e.mailMessageId&&(r.tableData[a].readed=1)})),r.mailInfo.attachments.forEach((function(e){e.fmtFileSize=e.fileSize}))):(r.$message.error(t.message),r.seeMail=!1,r.loadingMail=!1)}),(function(e){r.seeMail=!1,r.loadingMail=!1,r.$message.error(e)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},forwardMail:function(e){if(null===this.mailInfo)return this.$message.warning("请先打开邮件"),!1;this.newMailInfo=this.mailInfo,this.newMailInfo.actionType=e,"forward"===e?(this.newMailInfo.sendTo=null,this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.forwardSubject+":"+this.newMailInfo.subject):"resp"===e?(this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null):"respAll"===e&&(this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null),this.gotoPages("writeMail")},downAttachment:function(e){if(null===this.mailInfo.mailBoxId)return!1;if(""===e.busiDataId||""===e.fileName)return!1;var t="/apigw/mail/attach/downAttachment?mailBoxId="+this.tableData[0].mailBoxId+"&messageId="+e.busiDataId+"&attachName="+encodeURIComponent(e.fileName)+"&id="+e.id+"&filePath="+e.filePath;window.open(t,"_blank")},dragControllerDiv:function(){for(var e=document.getElementsByClassName("resize"),t=document.getElementsByClassName("left"),a=function(a){e[a].onmousedown=function(n){e[a].style.background="#818181";var i=n.clientX;return e[a].left=e[a].offsetLeft,document.onmousemove=function(n){var r=n.clientX,o=e[a].left+(r-i);o<320&&(o=320),o>600&&(o=600),e[a].style.left=o;for(var s=0;s<t.length;s++)t[s].style.width=o+"px"},document.onmouseup=function(t){e[a].style.background="#d6d6d6",document.onmousemove=null,document.onmouseup=null,e[a].releaseCapture&&e[a].releaseCapture()},e[a].setCapture&&e[a].setCapture(),!1}},n=0;n<e.length;n++)a(n)},saveDraft:function(e){var t=this,a=this;if(a.quickMailInfo={},a.quickMailInfo.sendTo=a.mailInfo.fromAddr,a.quickMailInfo.fromAddr=a.currentMail.emailAddr,a.quickMailInfo.content=a.mailInfo.content,a.quickMailInfo.subject=a.mailInfo.subject,a.quickMailInfo.mailType=2,a.quickMailInfo.usersetId=a.currentMail.id,""!==a.quickContent.trim()){a.sendLoading=!0,a.quickMailInfo.onlyOne=0;var n=a.moduleInfo.saveDraftUrl,i={userSetupId:a.currentMail.id};return new Promise((function(e,r){t.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:i,data:t.quickMailInfo,url:n}).then((function(t){"success"===t.code?(a.sendLoading=!1,a.quickMailInfo.mailMessageId=t.body.mailMessageId,a.quickMailInfo.id=t.body.shipId,a.sendMail()):(a.sendLoading=!1,a.$message.error(t.message)),e(t)})).catch((function(e){r(e)}))}))}this.$message.warning(this.$tx("email.messages.contentEnter","请输入回复内容!"))},sendMail:function(){var e=this;e.sendLoading=!0,e.quickMailInfo.usersetId=e.currentMail.id;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.currentMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.quickMailInfo,url:t}).then((function(t){"success"===t.code?(e.sendLoading=!1,e.quickContent="",e.$message.success(t.message),e.loadList("",this.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1):(e.sendLoading=!1,e.$message.error(t.message))})).catch((function(t){e.$message.error(t)}))},imgUrl:function(e){if(1===Number(e.resoureType))return"images/w-imgs/email/folder.png";var t=e.fileName||e.name;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png"}}},Za=Xa,en=(n(7025),n(6601),te(Za,$a,za,!1,null,"1f18f259",null)),tn=en.exports,an=function(){var e=this,t=e._self._c;return t("div",[e.usersetId?[0===e.folderStatus?t("div",[t("list",{attrs:{"is-custom":!0,"folder-id":e.folderId}})],1):e._e(),t("div",[1===e.folderStatus?t("data-table",{staticStyle:{padding:"10px"},attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange,"on-list-data-before-load":e.onListDataBeforeLoad}}):e._e()],1),t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],staticClass:"dialog0",attrs:{title:e.$tx("email.components.ManageFolder","管理文件夹"),visible:e.dialogVisible,width:"1000px","before-close":e.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t},closed:function(t){e.isCompile=!0}}},[t("el-form",{ref:"form",attrs:{model:e.folderObj}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"FolderName",expression:"'FolderName'"}]},[e._v("文件夹名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"文件夹名称",rules:{required:!0,valueMaxLength:4,valueMinLength:4}},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"boxName",attrs:{type:"text",placeholder:e.$tx("email.components.FolderNameEnter","请输入文件夹名称")},model:{value:e.folderObj.boxName,callback:function(t){e.$set(e.folderObj,"boxName",t)},expression:"folderObj.boxName"}})],1)]}}],null,!1,3585753659)}):t("span",[e._v(e._s(e.folderObj.boxName))])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"order",expression:"'order'"}]},[e._v("排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"排序",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"orderNo",attrs:{type:"text",placeholder:e.$tx("email.components.orderLength","请输入4位数字排序")},model:{value:e.folderObj.orderNo,callback:function(t){e.$set(e.folderObj,"orderNo",t)},expression:"folderObj.orderNo"}})],1)]}}],null,!1,1146215750)}):t("span",[e._v(e._s(e.folderObj.orderNo))])],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"specifiedEmail",expression:"'specifiedEmail'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("接受指定邮件")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailTip",expression:"'emailTip'"}],attrs:{disabled:!e.isCompile},on:{change:e.isAutoChange},model:{value:e.isAuto,callback:function(t){e.isAuto=t},expression:"isAuto"}},[e._v("将符合以下规则的邮件,自动放入该文件夹")]):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailTip",expression:"'emailTip'"}]},[e._v("将符合以下规则的邮件,自动放入该文件夹")])],1)]),e.isAuto&&e.isCompile||!e.isCompile?[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"发件人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.isSendContain,callback:function(t){e.isSendContain=t},expression:"isSendContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,value:2}},[e._v("不包含")])],1)],1),t("el-input",{staticStyle:{width:"90%"},attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.components.enterSenderEmail","请选择或输入发件人邮箱地址,多个用英文逗号分开")},on:{blur:function(t){return e.keyUpFuc("发件人")},focus:function(t){return e.handleFocus(e.folderObj.addresserContent)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc("发件人")}},model:{value:e.folderObj.addresserContent,callback:function(t){e.$set(e.folderObj,"addresserContent",t)},expression:"folderObj.addresserContent"}}),t("span",{staticStyle:{position:"absolute",right:"19px",top:"50%",color:"#409eff",cursor:"pointer"},on:{click:function(t){return e.selectAddress("发件人",e.folderObj.recipientsContent)}}},[t("i",{staticClass:"el-icon-user",staticStyle:{"font-size":"20px","margin-right":"6px",top:"3px",position:"relative"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"select",expression:"'select'"}]},[e._v("选择")])])]}}],null,!1,87366572)}):t("div",[t("el-radio-group",{model:{value:e.isSendContain,callback:function(t){e.isSendContain=t},expression:"isSendContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,disabled:!0,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,disabled:!0,value:2}},[e._v("不包含")])],1),t("div",[e._v(e._s(e.folderObj.addresserContent))])],1)],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("收件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收件人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.isInboxContain,callback:function(t){e.isInboxContain=t},expression:"isInboxContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,value:2}},[e._v("不包含")])],1)],1),t("el-input",{staticStyle:{width:"90%"},attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.components.enterAddressee","请选择或输入收件人邮箱地址,多个用英文逗号分开")},on:{blur:function(t){return e.keyUpFuc("收件人")},focus:function(t){return e.handleFocus(e.folderObj.recipientsContent)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc("收件人")}},model:{value:e.folderObj.recipientsContent,callback:function(t){e.$set(e.folderObj,"recipientsContent",t)},expression:"folderObj.recipientsContent"}}),t("span",{staticStyle:{position:"absolute",right:"19px",top:"50%",color:"#409eff",cursor:"pointer"},on:{click:function(t){return e.selectAddress("收件人",e.folderObj.recipientsContent)}}},[t("i",{staticClass:"el-icon-user",staticStyle:{"font-size":"20px","margin-right":"6px",top:"3px",position:"relative"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"select",expression:"'select'"}]},[e._v("选择")])])]}}],null,!1,2307826035)}):t("div",[t("el-radio-group",{model:{value:e.isInboxContain,callback:function(t){e.isInboxContain=t},expression:"isInboxContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,disabled:!0,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,disabled:!0,value:2}},[e._v("不包含")])],1),t("div",[e._v(e._s(e.folderObj.recipientsContent))])],1)],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"theme",expression:"'theme'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("主题")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收件人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.isSubjectContain,callback:function(t){e.isSubjectContain=t},expression:"isSubjectContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,value:2}},[e._v("不包含")])],1)],1),t("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.components.enterTheme","请输入邮件主题关键字,多个用英文逗号分开")},model:{value:e.folderObj.themeContent,callback:function(t){e.$set(e.folderObj,"themeContent",t)},expression:"folderObj.themeContent"}})]}}],null,!1,43989042)}):t("div",[t("el-radio-group",{model:{value:e.isSubjectContain,callback:function(t){e.isSubjectContain=t},expression:"isSubjectContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,disabled:!0,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,disabled:!0,value:2}},[e._v("不包含")])],1),t("div",[e._v(e._s(e.folderObj.themeContent))])],1)],1)])]:e._e(),t("tr")],2)])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{icon:"el-icon-close"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("关 闭")]),e.isCompile?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{type:"primary",icon:"el-icon-check"},on:{click:e.onSubmit}},[e._v("保 存")]):e._e()],1)],1),t("div",{staticClass:"div"},[t("el-dialog",{ref:"dialog",class:[e.dilongOffsetLef<1300?"dialog dialog1":"dialog1"],attrs:{visible:e.dialogFormVisible,title:e.$tx("email.components.txl","通讯录"),width:"100%",offset:"50",modal:!1,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("div",{staticClass:"el-dialog-div"},[t("txl",{ref:"dialogTxl"})],1)])],1)]:t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailStting",expression:"'emailStting'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1)],2)},nn=[];function rn(e){return rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rn(e)}function on(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */on=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==rn(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(rn(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function sn(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function ln(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){sn(r,n,i,o,s,"next",e)}function s(e){sn(r,n,i,o,s,"throw",e)}o(void 0)}))}}function dn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function cn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(a),!0).forEach((function(t){un(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):dn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function un(e,t,a){return(t=mn(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function mn(e){var t=pn(e,"string");return"symbol"==rn(t)?t:t+""}function pn(e,t){if("object"!=rn(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var hn={components:{list:jt,txl:Wt},props:{},data:function(){return{i18npkg:"email",moduleCode:"components",dialogFormVisible:!1,folderId:"",folderName:"",folderStatus:1,folderObj:{},moduleInfo:{getByIdUrl:"/mail/messageBox/getById",listDataUrl:"/mail/messageBox/listdata",addNewUrl:"/mail/messageBox/addNew",insertUrl:"/mail/messageBox/insert",updateUrl:"/mail/messageBox/update",uploadUrl:"/mail/messageBox/upload",queryDataUrl:"/mail/messageBox/listdata",updateGroupUrl:"/mail/messageBox/updateGroup",delUrl:"/mail/messageBox/delete",winWidth:1e3,winHeight:650},errorMail:"",tableList:[{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"boxName",title:"文件夹名称",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"orderNo",title:"排序号",width:"150px",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"notReadedNum",title:"未读邮件数",width:"150px",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"mailNum",title:"总邮件数",width:"150px",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("pageBtns.operate","操作"),width:"100px",align:"center",valign:"middle"}],listpageBtns:[{btnName:"新增",btnIcon:"plus",btnClick:this.addContacts,btnPermission:"add",id:"btn_add",btnType:"toolbar"},{id:"btn_btn3",btnName:"编辑",btnIcon:"edit",btnClick:this.editObjectId,btnPermission:"editObject",btnType:"column"},{id:"btn_btn4",btnName:"删除",btnIcon:"delete",btnClick:this.deleteIds,btnPermission:"deleteIds",btnType:"column"}],dialogVisible:!1,usersetId:null,isInboxContain:null,isSendContain:null,isSubjectContain:null,addOrupdateContacts:!0,sendList:[],isCompile:!0,sendListFjr:[],type:"发件人",dilongOffsetLef:null,internetUsersetId:null,isAuto:!1}},computed:cn({},H(["routes"])),watch:{$route:function(e){this.getFolderInfo()},dialogVisible:{handler:function(e){!1===e&&(this.sendList=[],this.sendListFjr=[],this.$refs.dialogTxl.pubChecked=!1,this.$refs.dialogTxl.perChecked=!1,this.$refs.dialogTxl.lateChecked=!1,this.dialogFormVisible=!1)}},isSendContain:{handler:function(e){1===e?(this.folderObj.sendNotContain="",this.folderObj.sendContain=this.folderObj.addresserContent||""):2===e&&(this.folderObj.sendContain="",this.folderObj.sendNotContain=this.folderObj.addresserContent||"")}},isInboxContain:{handler:function(e){1===e?(this.folderObj.inboxNotContain="",this.folderObj.inboxContain=this.folderObj.recipientsContent||""):2===e&&(this.folderObj.inboxContain="",this.folderObj.inboxNotContain=this.folderObj.recipientsContent||"")}},isSubjectContain:{handler:function(e){1===e?(this.folderObj.subjectNotContain="",this.folderObj.subjectContain=this.folderObj.themeContent||""):2===e&&(this.folderObj.subjectContain="",this.folderObj.subjectNotContain=this.folderObj.themeContent||"")}},isCompile:function(e){!0===e?(this.folderObj.addresserContent||this.folderObj.recipientsContent||this.folderObj.themeContent)&&(this.isAuto=!0):this.isAuto=!1}},created:function(){this.$bus.emit("showNavSearch",!1),this.usersetId=JSON.parse(sessionStorage.getItem("currentMail"))?JSON.parse(sessionStorage.getItem("currentMail")).id:""},beforeDestroy:function(){this.$bus.off("changeEmail"),this.$bus.emit("showNavSearch",!0),this.$bus.$off("checkEmail"),this.$bus.$off("checkEmailPerson"),this.$bus.off("cancleCheck")},mounted:function(){var e=this;window.onresize=function(){return function(){e.dilongOffsetLef=null;var t=document.querySelector(".dialog1");e.dilongOffsetLef=t.offsetLeft}()},this.getFolderInfo(),this.$bus.$on("checkEmail",(function(t){if("发件人"===e.type)for(var a=0;a<t.length;a++){var n=t[a];if(n.email||n.account){var i=null;n.tname=n.name;var r=RegExp(n.tname);if(""!==e.folderObj.addresserContent&&e.folderObj.addresserContent.match(r)&&(i=1),1===i)return e.$message.error(e.$tx("email.messages.senderAlreadying",{tname:n.tname},'"${resobj.tname}"已存在该发件人!')),!1;""!==e.folderObj.addresserContent?e.folderObj.addresserContent+=","+n.tname:e.folderObj.addresserContent=n.tname}}else for(var o=0;o<t.length;o++){var s=t[o];if(s.email){var l=null;s.tname=s.name;var d=RegExp(s.tname);if(e.folderObj.recipientsContent.match(d)&&(l=1),1===l)return e.$message.error(e.$tx("email.messages.senderAlreadying",{tname:s.tname},'"${resobj.tname}"已存在该发件人!')),!1;""!==e.folderObj.recipientsContent?e.folderObj.recipientsContent+=","+s.tname:e.folderObj.recipientsContent=s.tname}}})),this.$bus.$on("checkEmailPerson",(function(t){if("发件人"===e.type){var a=null,n=RegExp(t);if(e.folderObj.addresserContent.match(n)&&(a=1),1===a)return e.$message.error(e.$tx("email.messages.senderAlready","已存在该发件人!")),!1;""!==e.folderObj.addresserContent?e.folderObj.addresserContent+=","+t:e.folderObj.addresserContent=t}else{var i=null,r=RegExp(t);if(e.folderObj.recipientsContent.match(r)&&(i=1),1===i)return e.$message.error(e.$tx("email.components.recipientAlready","已存在该收件人!")),!1;""!==e.folderObj.recipientsContent?e.folderObj.recipientsContent+=","+t:e.folderObj.recipientsContent=t}}))},methods:{isAutoChange:function(e){this.isInboxContain=null,this.isSendContain=null,this.isSubjectContain=null,this.folderObj.addresserContent="",this.folderObj.recipientsContent="",this.folderObj.themeContent="",this.folderObj.inboxContain="",this.folderObj.inboxNotContain="",this.folderObj.sendContain="",this.folderObj.sendNotContain="",this.folderObj.subjectContain="",this.folderObj.subjectNotContain=""},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},deleteIds:function(e){var t=this;this.$confirm(this.$tx("email.messages.isDelBox","确定要删除该文件夹吗?"),this.$tx("email.messages.isSure","确认操作"),{type:"warning"}).then(ln(on().mark((function a(){var n,i;return on().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=[],n.push(e.id),a.next=4,t.$app.deleteByIds(t.moduleInfo.delUrl,n);case 4:i=a.sent,"success"===i.code?(t.$message.success(i.message),t.$bus.emit("refreshListData"),t.$bus.emit("refreshFolder")):t.$message.error(i.message);case 6:case"end":return a.stop()}}),a)}))))},keyUpFuc:function(e){this.type=e},isEmail:function(e){var t=this;"发件人"===this.type?""!==this.folderObj.addresserContent&&this.folderObj.addresserContent.split(",").forEach((function(e,a){var n=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;n.test(e)||t.$message.error(t.$tx("email.messages.emailNot","邮件格式不正确!"))})):this.folderObj.recipientsContent.split(",").forEach((function(e,a){var n=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;n.test(e)||t.$message.error(t.$tx("email.messages.emailNot","邮件格式不正确!"))}))},removeMail:function(e,t){"收件人"===e?this.sendList.splice(t,1):this.sendListFjr.splice(t,1)},cellclick:function(e){var t=this;this.isCompile=!1,this.isInboxContain=null,this.isSendContain=null,this.isSubjectContain=null,this.$http({url:this.moduleInfo.getByIdUrl,method:"GET",params:{id:e.id}}).then((function(e){"success"===e.code?(t.folderObj=e.body.vo,t.folderObj.inboxContain&&(t.isInboxContain=1,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxContain)),t.folderObj.inboxNotContain&&(t.isInboxContain=2,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxNotContain)),t.folderObj.sendContain&&(t.isSendContain=1,t.$set(t.folderObj,"addresserContent",t.folderObj.sendContain)),t.folderObj.sendNotContain&&(t.isSendContain=2,t.$set(t.folderObj,"addresserContent",t.folderObj.sendNotContain)),t.folderObj.subjectContain&&(t.isSubjectContain=1,t.$set(t.folderObj,"themeContent",t.folderObj.subjectContain)),t.folderObj.subjectNotContain&&(t.isSubjectContain=2,t.$set(t.folderObj,"themeContent",t.folderObj.subjectNotContain)),t.dialogVisible=!0):t.$message.error(e.message)}))},selectAddress:function(e,t){var a=this,n=this;n.dialogFormVisible=!1,setTimeout((function(){n.dialogFormVisible=!0,a.$refs.dialogTxl.searchkey="",a.type=e,a.$nextTick((function(){a.dilongOffsetLef=null;var e=document.querySelector(".dialog1");a.dilongOffsetLef=e.offsetLeft})),a.$bus.emit("handleFocusChange",t)}),200)},editObjectId:function(e){var t=this;return ln(on().mark((function a(){return on().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.addOrupdateContacts=!1,t.$http({url:t.moduleInfo.getByIdUrl,method:"GET",params:{id:e.id}}).then((function(e){"success"===e.code?(t.isInboxContain=null,t.isSendContain=null,t.isSubjectContain=null,t.folderObj=e.body.vo,null!==t.folderObj.inboxContain&&""!==t.folderObj.inboxContain&&(t.isInboxContain=1,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxContain)),null!==t.folderObj.inboxNotContain&&""!==t.folderObj.inboxNotContain&&(t.isInboxContain=2,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxNotContain)),t.folderObj.inboxNotContain&&""!==t.folderObj.inboxNotContain||t.folderObj.inboxContain&&""!==t.folderObj.inboxContain||t.$set(t.folderObj,"recipientsContent",""),t.folderObj.sendContain&&""!==t.folderObj.sendContain&&(t.isSendContain=1,t.$set(t.folderObj,"addresserContent",t.folderObj.sendContain)),t.folderObj.sendNotContain&&""!==t.folderObj.sendNotContain&&(t.isSendContain=2,t.$set(t.folderObj,"addresserContent",t.folderObj.sendNotContain)),t.folderObj.sendContain&&""!==t.folderObj.sendContain||t.folderObj.sendNotContain&&""!==t.folderObj.sendNotContain||t.$set(t.folderObj,"addresserContent",""),t.folderObj.subjectContain&&(t.isSubjectContain=1,t.$set(t.folderObj,"themeContent",t.folderObj.subjectContain)),t.folderObj.subjectNotContain&&(t.isSubjectContain=2,t.$set(t.folderObj,"themeContent",t.folderObj.subjectNotContain)),t.folderObj.addresserContent||t.folderObj.recipientsContent||t.folderObj.themeContent?t.isAuto=!0:t.isAuto=!1,t.dialogVisible=!0):t.$message.error(e.message)}));case 2:case"end":return a.stop()}}),a)})))()},onSubmit:function(){var e=this;return ln(on().mark((function t(){var a,n,i,r,o;return on().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.folderObj.boxName){t.next=9;break}for(a=e.folderObj.boxName.length,n=0,i=0;i<a;i++)e.folderObj.boxName.charCodeAt(i)<27||e.folderObj.boxName.charCodeAt(i)>126?n+=2:n++;if(!(n>12)){t.next=7;break}return e.$alert(e.$tx("email.messages.boxNameMax","文件夹名称最多可输入12位字符"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 7:t.next=11;break;case 9:return e.$alert(e.$tx("email.messages.boxNametTip","文件夹名称为必填"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 11:if(r=/^\d{4}$/,r.test(e.folderObj.orderNo)){t.next=15;break}return e.$alert(e.$tx("email.messages.correctTip","请正确填写4位数字排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 15:if(!e.isAuto){t.next=28;break}if(!(e.isSendContain&&e.folderObj.addresserContent||e.isInboxContain&&e.folderObj.recipientsContent||e.isSubjectContain&&e.folderObj.themeContent)){t.next=26;break}1===e.isSendContain&&(e.folderObj.sendContain=e.folderObj.addresserContent),2===e.isSendContain&&(e.folderObj.sendNotContain=e.folderObj.addresserContent),1===e.isInboxContain&&(e.folderObj.inboxContain=e.folderObj.recipientsContent),2===e.isInboxContain&&(e.folderObj.inboxNotContain=e.folderObj.recipientsContent),1===e.isSubjectContain&&(e.folderObj.subjectContain=e.folderObj.themeContent),2===e.isSubjectContain&&(e.folderObj.subjectNotContain=e.folderObj.themeContent),(e.folderObj.inboxContain||e.folderObj.inboxContain||e.folderObj.subjectNotContain)&&(e.folderObj.isRule=1),t.next=28;break;case 26:return e.$alert(e.$tx("email.messages.emailTipbc","请将邮件放置规则补充完整"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 28:if(o=null,!e.addOrupdateContacts){t.next=35;break}return t.next=32,e.$app.insert(e.moduleInfo.insertUrl,e.folderObj);case 32:o=t.sent,t.next=38;break;case 35:return t.next=37,e.$app.update(e.moduleInfo.updateUrl,e.folderObj);case 37:o=t.sent;case 38:"success"===o.code?(e.$message.success(o.message),e.dialogVisible=!1,e.$bus.emit("refreshFolder"),e.$bus.emit("refreshListData")):e.$message.error(o.message);case 39:case"end":return t.stop()}}),t)})))()},getFolderInfo:function(){this.folderId=this.$route.meta.id,this.folderName=this.$route.meta.title,"glwjj"===this.folderId?this.folderStatus=1:this.folderStatus=0},addContacts:function(){var e=this;this.isInboxContain=null,this.isSendContain=null,this.isSubjectContain=null,this.addOrupdateContacts=!0,this.$http({url:this.moduleInfo.addNewUrl,method:"POST"}).then((function(t){"success"===t.code?(e.folderObj=t.body.vo,e.dialogVisible=!0,e.$set(e.folderObj,"recipientsContent",""),e.$set(e.folderObj,"addresserContent",""),e.$set(e.folderObj,"themeContent",null),e.$set(e.folderObj,"boxType","DEFINED"),e.$set(e.folderObj,"newRecipientsContent",null),e.$set(e.folderObj,"newAddresserContent",null),e.$set(e.folderObj,"internetUsersetId",e.internetUsersetId),e.folderObj.usersetId=e.usersetId):e.$message.error(t.message)}))},onListDataBeforeLoad:function(e,t){return ln(on().mark((function e(){return on().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.orderBy="orderNo asc",t.urlsearch="boxType:DEFINED;usersetId:".concat(JSON.parse(sessionStorage.getItem("currentMail")).id);case 2:case"end":return e.stop()}}),e)})))()},handleFocus:function(e){var t=this,a=this;a.$refs.dialogTxl&&(a.$refs.dialogTxl.pubChecked=!1,a.$refs.dialogTxl.perChecked=!1,a.$refs.dialogTxl.lateChecked=!1,a.$refs.dialogTxl.zTree.checkAllNodes(!1),a.$refs.dialogTxl.zTreetxl.checkAllNodes(!1),a.$refs.dialogTxl.zTreelatey.checkAllNodes(!1),a.dialogFormVisible=!1,setTimeout((function(){a.dialogFormVisible=!0,t.$bus.emit("handleFocusChange",e)}),200))}}},fn=hn,_n=(n(1598),te(fn,an,nn,!1,null,"ad99ca52",null)),gn=_n.exports,yn=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{cursor:"pointer"}},e._l(e.listData,(function(a){return t("div",{key:a,staticClass:"pcgl-btn",on:{click:function(t){return e.onCellClick(e.row)}}},[t("span",[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px",margin:"0 10px"},attrs:{src:e.imgUrl(a),alt:""}}),e._v(" "+e._s(a.fileName)+" ")])])})),0)},vn=[],bn={props:{column:{type:Object,default:null},row:{type:Object,default:null},index:{type:Number,default:null}},data:function(){return{i18npkg:"email",moduleCode:"components",editBtn:!1,listData:[]}},watch:{row:{handler:function(e){this.listData=[],this.listData.push(e)}}},created:function(){this.listData.push(this.row)},mounted:function(){},beforeDestroy:function(){},methods:{onCellClick:function(e){if(void 0!==e.id){var t=[".doc",".docx",".xls",".xlsx",".ppt",".pptx"],a=e.fileName.split("."),n="."+a[a.length-1];t.includes(n)?window.open("/apigw/mail/attach/downAttachment?topdf=true&inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath):window.open("/apigw/mail/attach/downAttachment?inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath)}},imgUrl:function(e){if("doc"!==e.fileType)return"audio"===e.fileType?"images/w-imgs/email/audio.png":"video"===e.fileType?"images/w-imgs/email/video.png":"zip"===e.fileType?"images/w-imgs/email/zip.png":"image"===e.fileType?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png";var t=e.fileName.substring(e.fileName.lastIndexOf("."));return".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":void 0},showForm:function(){this.$vnode.context.moduleInfo.sendcar=[],this.$vnode.context.$parent.formTitle=this.$tx("email.components.DispatchDet","派车详情"),this.$vnode.context.$parent.busiformBtns=[{id:"btn_close",btnName:"关闭",btnIcon:"close",btnClick:"closeDialog",btnPermission:"",btnType:"default"}],this.$bus.emit("openBusiform",this.$vnode.context.moduleInfo,this.row,0)},finished:function(){var e=this,t=this;t.$confirm(this.$tx("email.messages.isDataSure","您是否确认结束选择的数据"),{type:"warning"}).then((function(){t.$http({method:"POST",contentType:"application/json charset=utf-8",url:"/zcgl/check/checkTask/checkOver?id=".concat(e.row.id)}).then((function(a){"success"===a.code?(t.$message({message:e.$tx("email.messages.success","操作成功"),type:"success"}),t.$bus.emit("refreshListData")):t.$alert(a.message,{type:"error"})}))}))}}},Mn=bn,wn=(n(5674),te(Mn,yn,vn,!1,null,"e36757d2",null)),xn=wn.exports,Ln=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{cursor:"pointer"}},e._l(e.listData,(function(a){return t("div",{key:a,staticClass:"pcgl-btn",on:{click:function(t){return t.stopPropagation(),e.onCellClick(e.row)}}},[t("span",[0===a.readed?t("svg-icon",{staticStyle:{width:"16px",position:"relative","margin-right":"10px",cursor:"auto"},attrs:{"icon-class":"email_weidu"}}):e._e(),1===a.flagged?t("svg-icon",{staticStyle:{width:"16px",position:"relative","margin-right":"10px",fill:"#FAB342",cursor:"auto"},attrs:{"icon-class":"fiveStar3"}}):e._e(),0===a.flagged?t("svg-icon",{staticStyle:{width:"16px",position:"relative","margin-right":"10px",cursor:"auto"},attrs:{"icon-class":"fiveStar2"}}):e._e(),e._v(" "+e._s(a.subject)+" ")],1)])})),0)},kn=[],Tn={props:{column:{type:Object,default:null},row:{type:Object,default:null},index:{type:Number,default:null}},data:function(){return{editBtn:!1,listData:[]}},watch:{row:{handler:function(e){this.listData=[],this.listData.push(e)}}},created:function(){this.listData.push(this.row)},mounted:function(){},beforeDestroy:function(){},methods:{onCellClick:function(e){this.$bus.emit("cellClick",e)}}},Sn=Tn,Yn=(n(6994),te(Sn,Ln,kn,!1,null,"0088706c",null)),Dn=Yn.exports,jn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sendMailMain"},[t("div",{staticClass:"header-title"},[t("div",{staticClass:"section-title"},[t("svg-icon",{staticStyle:{"font-size":"36px",color:"#2f477e","margin-right":"6px"},attrs:{"icon-class":"wjzx_yjzf"}}),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"source",expression:"'source'"}],attrs:{srcName:e.srcName}},[e._v("来源:"+e._s(e.srcName))])],1),t("div",{staticStyle:{"margin-right":"20px"}},[t("div",{staticClass:"buttonTitle"},[t("el-button",{attrs:{id:"styleBagrand"},on:{click:function(t){return e.saveDraft("Draft")}}},[t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-right":"10px"},attrs:{"icon-class":"emailcg"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"SaveDraft",expression:"'SaveDraft'"}]},[e._v("存草稿")])],1),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"send",expression:"'send'"}],staticClass:"styleBagrand",attrs:{icon:"el-icon-s-promotion"},on:{click:function(t){return e.saveDraft("send")}}},[e._v("发 送")])],1)])]),t("div",{staticClass:"sendmail-content"},[t("el-scrollbar",{attrs:{native:!1,tag:"div"}},[t("div",{staticClass:"sendMail",on:{click:function(t){e.closeLink=!1}}},[t("el-row",{staticClass:"mail_content_row",staticStyle:{margin:"0"},attrs:{gutter:10}},[t("el-col",{staticClass:"mail_content_leftcell",attrs:{span:19}},[null!==e.defultMail?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"row",staticStyle:{height:"100%"}},[t("el-row",{staticClass:"lineRow",staticStyle:{"border-bottom":"none"}},[null===e.defultMail||e.mailInfo.sended?e._e():t("el-col",{attrs:{span:24}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticStyle:{float:"right"}},[e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"46px",cursor:"pointer"},on:{click:e.csTagChange}},[e._v(e._s(e.csr?e.$tx("email.sendMail.DelCC","删除抄送"):e.$tx("email.sendMail.AddCC","添加抄送")))]),e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"46px",cursor:"pointer","margin-left":"20px"},on:{click:e.msTagChange}},[e._v(e._s(e.msr?e.$tx("email.sendMail.DelSecret","删除密送"):e.$tx("email.sendMail.AddSecret","添加密送")))])])])])],1),t("div",{staticStyle:{height:"calc(100% - 46px)"}},[t("div",{staticClass:"workspaceContainer"},[e.linkManEmail.length>0&&e.closeLink?t("div",{staticClass:"linkEmail",style:{top:1===e.focusInput?"85px":2===e.focusInput?"133px":"181px"}},e._l(e.linkManEmail,(function(a,n){return t("p",{key:a,style:{color:e.linkIndex===n?"#409eff":""},on:{click:function(t){return e.clickLink(a.name)}}},[e._v(e._s(a.name))])})),0):e._e(),null===e.defultMail||e.mailInfo.sended?e._e():t("form",{staticClass:"form-horizontal",attrs:{id:"busiForm",name:"busiForm",method:"post",autocomplete:"off"}},[t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{staticClass:"margin10",attrs:{type:"text",size:"small",name:"sendTo"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticStyle:{color:"#409eff"}},[e._v("收件人:")])])],1)]),t("el-col",{attrs:{span:23,xs:22,sm:22,md:22,lg:22,xl:23}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",[e.sendList.length>0?t("div",{staticClass:"emailAddrStyle",staticStyle:{"marginn-left":"15px"}},e._l(e.sendList,(function(a,n){return t("span",{key:a},[e._v(" "+e._s(a)+" "),t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeMail(a,n,1)}}})])})),0):e._e(),t("el-input",{staticClass:"margin10 btnBorder",style:{width:e.qfdx?"390px":"300px"},attrs:{type:"text",name:"sendTo",placeholder:e.qfdx?e.$tx("email.sendMail.sendEmailTip1","群发的邮件,采用一对一发送,每个收件人只能看到自己的地址"):e.$tx("email.sendMail.sendEmailTip","请输入邮件地址,内部邮箱可以输入联系人姓名"),autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(1)},blur:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(1)}},model:{value:e.sendListInput,callback:function(t){e.sendListInput=t},expression:"sendListInput"}})],1)])])],1),e.csr||e.copyToList.length>0?t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],staticClass:"margin10",attrs:{showemail:"true",multiple:!0,size:"small",type:"text",name:"copyTo"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"CCRecipient",expression:"'CCRecipient'"}],staticStyle:{color:"#409eff"}},[e._v("抄送人:")])])],1)]),t("el-col",{staticStyle:{"margin-left":"10px"},attrs:{span:22}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",[e.copyToList.length>0?t("div",{staticClass:"emailAddrStyle"},e._l(e.copyToList,(function(a,n){return t("span",{key:a},[e._v(" "+e._s(a)+" "),t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeMail(a,n,2)}}})])})),0):e._e(),t("el-input",{staticClass:"margin10 btnBorder",staticStyle:{width:"380px"},attrs:{type:"text",name:"copyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(2)},blur:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(2)}},model:{value:e.copyToInput,callback:function(t){e.copyToInput=t},expression:"copyToInput"}})],1)])])],1):e._e(),e.msr||e.blindCopyToList.length>0?t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],staticClass:"margin10",attrs:{showemail:"true",multiple:!0,size:"small",type:"text",name:"blindCopyTo"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"SecretDvyPerson",expression:"'SecretDvyPerson'"}],staticStyle:{color:"#409eff"}},[e._v("密送人:")])])],1)]),t("el-col",{staticStyle:{"margin-left":"10px"},attrs:{span:22}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",[e.blindCopyToList.length>0?t("div",{staticClass:"emailAddrStyle"},e._l(e.blindCopyToList,(function(a,n){return t("span",{key:a},[e._v(" "+e._s(a)+" "),t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeMail(a,n,3)}}})])})),0):e._e(),t("el-input",{staticClass:"margin10 btnBorder",staticStyle:{width:"380px"},attrs:{type:"text",name:"blindCopyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(3)},blur:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(3)}},model:{value:e.blindCopyToInput,callback:function(t){e.blindCopyToInput=t},expression:"blindCopyToInput"}})],1)])])],1):e._e(),t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"Theme",expression:"'Theme'"}],staticClass:"margin10",staticStyle:{color:"#333333"},attrs:{size:"small",type:"text"}},[e._v("主 题:")])],1)]),t("el-col",{staticStyle:{"margin-left":"10px"},attrs:{span:22}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"主题",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticClass:"margin10 btnBorder",attrs:{type:"text",name:"subject",autocomplete:"lyy-off",placeholder:e.$tx("email.sendMail.ThemeEnter","请输入邮件主题")},model:{value:e.mailInfo.subject,callback:function(t){e.$set(e.mailInfo,"subject",t)},expression:"mailInfo.subject"}})],1)]}}],null,!1,1458362729)})],1)])],1),t("el-row",{staticClass:"lineRow attach-bar form_edit_top"},[t("el-col",{attrs:{span:24}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-upload",{ref:"upload",attrs:{accept:"*.*",limit:e.limitNum,multiple:!0,action:"","auto-upload":!1,disabled:e.uploadProp,"before-upload":e.before_upload,"on-success":e.allHandleSuccess,"on-change":function(t,a){e.handleChange(t,a,e.module,e.busiDataId,e.attachsType,e.attachsSize,t)},"file-list":e.readyList,"http-request":e.allUpload,"with-credentials":!0,"on-remove":e.handleRemove,"on-exceed":e.handleExceed,"show-file-list":!1},model:{value:e.uploadAttach,callback:function(t){e.uploadAttach=t},expression:"uploadAttach"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"addAttacg",expression:"'addAttacg'"}],staticClass:"margin10",staticStyle:{color:"#333"},attrs:{size:"small",type:"text"}},[e._v("添加附件:")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"maxFile",expression:"'maxFile'"}],staticClass:"margin10 spanLH"},[e._v("( 单个文件最大20M )")])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},e._l(e.readyList,(function(a){return t("div",{key:a.uid,staticClass:"readyFile"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{width:"29px",height:"36px"},attrs:{src:e.imgUrl(a),alt:""}}),t("div",{staticStyle:{width:"200px","margin-left":"16px"}},[t("div",{staticStyle:{"margin-top":"2px","font-size":"var(--portalFontSize12)",color:"#333",width:"100%",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},[e._v(e._s(a.name))]),t("div",{staticStyle:{"font-size":"var(--portalFontSize12)",color:"#999","margin-top":"6px"}},[t("span",[e._v(e._s(-1!==a.fileSize.indexOf("K")?a.fileSize:a.fileSize+"K"))]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadSu",expression:"'uploadSu'"}],staticStyle:{"margin-left":"10px"}},[e._v("上传成功")])])])]),t("el-link",{attrs:{title:e.$tx("pageBtns.edit","编辑")},on:{click:function(t){return e.handleOpenEditor(e.attach)}}},[t("i",{class:"el-icon-edit",staticStyle:{"font-size":"16px"}})]),t("i",{staticClass:"el-icon-close",staticStyle:{color:"#c0c4cc",position:"relative",top:"-9px",cursor:"pointer"},on:{click:function(t){return e.handleRemoveCopy(a.uid)}}})],1)})),0)],1)],1)],1),t("div",{staticClass:"editor_box"},[e.showeditor&&e.wflowEditor&&e.editorHeight>0?t("RichtextEditor",{attrs:{"image-upload-url":e.api+"/mail/attach/uploadBodyPicture?module=DRAFT&busiDataId=mail&attachsType=BODY&apigw=apigw",height:e.editorHeight},model:{value:e.mailInfo.content,callback:function(t){e.$set(e.mailInfo,"content",t)},expression:"mailInfo.content"}}):e._e()],1)],1),t("div",{directives:[{name:"show",rawName:"v-show",value:e.mailInfo.sended,expression:"mailInfo.sended"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"sendSuTip",expression:"'sendSuTip'"}]},[e._v("发送成功,邮件已保存到“已发送”。")]),t("el-button",{attrs:{type:"text"},on:{click:function(t){e.mailInfo={},e.newMail("againMail")}}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"WriteAnother",expression:"'WriteAnother'"}]},[e._v("再写一封")])]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"goEmail",expression:"'goEmail'"}],attrs:{type:"text"},on:{click:function(t){return e.gotoPages("email.svg")}}},[e._v("去收件箱")])],1)],1)])])],1):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:null===e.defultMail,expression:"defultMail === null"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"notStting",expression:"'notStting'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1)]),null!==e.defultMail&&void 0!==e.defultMail.emailReceiveType?t("el-col",{staticClass:"mail_content_rightcell",staticStyle:{"font-size":"var(--portalFontSize14)"},attrs:{span:5}},[t("div",{staticStyle:{height:"100%"}},[t("div",{staticClass:"txl",staticStyle:{border:"solid 1px #eeeeee","border-bottom":"none","border-right":"none","border-top":"none",padding:"0 10px",height:"100%"}},[t("txl",{ref:"txl",model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}})],1)])]):e._e()],1)],1)])],1),t("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false && uploadForm"}],staticClass:"mail-original-form"},[t("div",{class:{"wflow-container-paper":"WEB"!==e.frmViewStyle}},[t("div",{staticClass:"form-container"},[t("div",{staticClass:"form-header"},[t("div",{staticClass:"form-title"},[e._v(e._s(e.vo.flFormName))])]),t("el-form",{staticClass:"wflow-busiform",attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("BusiForm",{ref:"busiForm",attrs:{vo:e.vo,"cur-t-n":e.curTN,"can-edit":0}})],1)])]),t("HandleIdea",{staticClass:"wfIdeas-container",attrs:{"wf-idea-list":e.wfIdeaList,"wf-json-data":e.wfJsonData}})],1)])])])},Cn=[],An=function(){var e=this,t=e._self._c;return t("div",{staticClass:"right_address_book",staticStyle:{height:"100%"}},[t("el-input",{staticStyle:{width:"100%","margin-top":"10px","padding-right":"10px"},attrs:{placeholder:e.$tx("email.components.searchKey","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1),t("div",{staticClass:"books_tree"},[t("el-scrollbar",{attrs:{native:!1,tag:"div"}},[null!==e.defultMail?t("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"unique-opened":"","default-active":"3"},on:{open:e.handleOpen,close:e.handleClose}},[t("el-submenu",{attrs:{index:"1"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"AddressBook",expression:"'AddressBook'"}],model:{value:e.pubChecked,callback:function(t){e.pubChecked=t},expression:"pubChecked"}},[e._v("公共通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{staticClass:"xhiden",attrs:{nodes:e.treeData,showemail:"true",multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}}),null===e.treeData||0===e.treeData.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeData?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"2"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"PersonalAddress",expression:"'PersonalAddress'"}],model:{value:e.perChecked,callback:function(t){e.perChecked=t},expression:"perChecked"}},[e._v("个人通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatatxl",staticClass:"xhiden",attrs:{nodes:e.treeDatatxl,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedtxl,onClick:e.onTreeNodeClickPerson,onCheck:e.onTreeNodeCheckPerson}}),null===e.treeDatatxl||0===e.treeDatatxl.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatatxl?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"3"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"recentContacts",expression:"'recentContacts'"}],model:{value:e.lateChecked,callback:function(t){e.lateChecked=t},expression:"lateChecked"}},[e._v("最近联系人")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatalatey",staticClass:"xhiden",attrs:{nodes:e.treeDatalatey,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedlatey,onClick:e.onTreeNodeClicklatey,onCheck:e.onTreeNodeCheckLatey}}),null===e.treeDatalatey||0===e.treeDatalatey.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatalatey?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2)],1):e._e()],1)],1)],1)},In=[];function En(e){return En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},En(e)}function On(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */On=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==En(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(En(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Pn(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Nn(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Pn(r,n,i,o,s,"next",e)}function s(e){Pn(r,n,i,o,s,"throw",e)}o(void 0)}))}}var Hn=[],Fn={components:{},props:{defultMail:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"components",treeData:null,treeDatatxl:null,treeDatalatey:null,treeDatanbyx:null,treeData2:null,loginUser:this.$store.getters.loginUser,openIndex:"3",showIcon:!0,showLine:!0,selectedNodes:[],treeDataBak:[],treeDataBaktxl:[],treeDataBaklatey:[],zTree:{},zTreetxl:{},zTreelatey:{},zTreelateynbyx:{},searchkey:"",accountList:[],pubChecked:!1,perChecked:!1,lateChecked:!1,nbChecked:!1}},computed:{},watch:{pubChecked:function(e,t){e?this.zTree.checkAllNodes(!0):this.zTree.checkAllNodes(!1),this.allEmail()},perChecked:function(e,t){e?this.zTreetxl.checkAllNodes(!0):this.zTreetxl.checkAllNodes(!1),this.allEmail()},lateChecked:function(e,t){e?this.zTreelatey.checkAllNodes(!0):this.zTreelatey.checkAllNodes(!1),this.allEmail()},nbChecked:function(e,t){e?this.zTreelateynbyx.checkAllNodes(!0):this.zTreelateynbyx.checkAllNodes(!1),this.allEmail()}},created:function(){this.$bus.on("handleFocusChange",this.handleFocusChange)},beforeDestroy:function(){this.$bus.off("quickSearchPerson"),this.$bus.off("changeEmail"),this.$bus.off("handleFocusChange")},mounted:function(){var e=this;this.queryMyMailList(),this.defultMail=this.defultMail||JSON.parse(sessionStorage.getItem("currentMail")),this.loadTypeTree(),this.loadTypeTreetxl(),this.loadTypeTreelatey(),this.$bus.on("quickSearchPerson",(function(t){e.quickSearch(t)})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))}))},methods:{handleFocusChange:function(e){var t=this,a=e.split(",");a.length&&a.forEach((function(e){var a=t.zTree.getNodeByParam("name",e,null);a&&t.zTree.checkNode(a,!a.checked,!0);var n=t.zTreelatey.getNodeByParam("name",e,null);n&&t.zTreelatey.checkNode(n,!n.checked,!0);var i=t.zTreetxl.getNodeByParam("name",e,null);i&&t.zTreetxl.checkNode(i,!i.checked,!0)}))},queryMyMailList:function(){var e=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?t.body.listdata.forEach((function(t){1===t.status&&e.accountList.push(t)})):e.$message.error(t.message)}),(function(t){e.$message.error(t)}))},handleOpen:function(e,t){this.openIndex=e,null===this.treeDatatxl&&this.loadTypeTreetxl(),null===this.treeData&&this.loadTypeTree(),null===this.treeDatalatey&&this.loadTypeTreelatey()},handleClose:function(e,t){},searchTreeNode:function(){var e=this,t=this.searchkey;this.searchDoading=!0,""===t?(0!==this.treeDataBak.length&&(this.treeData=this.treeDataBak,this.treeDataBak=""),0!==this.treeDataBaktxl.length&&(this.treeDatatxl=this.treeDataBaktxl,this.treeDataBaktxl=""),0!==this.treeDataBaklatey.length&&(this.treeDatalatey=this.treeDataBaklatey,this.treeDataBaklatey="")):(0===this.treeDataBak.length?this.treeDataBak=JSON.parse(JSON.stringify(this.treeData)):this.treeData=JSON.parse(JSON.stringify(this.treeDataBak)),0===this.treeDataBaktxl.length?this.treeDataBaktxl=JSON.parse(JSON.stringify(this.treeDatatxl)):this.treeDatatxl=JSON.parse(JSON.stringify(this.treeDataBaktxl)),0===this.treeDataBaklatey.length?this.treeDataBaklatey=JSON.parse(JSON.stringify(this.treeDatalatey)):this.treeDatalatey=JSON.parse(JSON.stringify(this.treeDataBaklatey)),null!==this.treeData&&0!==this.treeData.length&&(this.treeData=this.treeDataBak,setTimeout((function(){var a=e.zTree.getNodesByParamFuzzy("name",t);e.treeData=a}),100)),null!==this.treeDatatxl&&0!==this.treeDatatxl.length&&(this.treeDatatxl=this.treeDataBaktxl,setTimeout((function(){var a=e.zTreetxl.getNodesByParamFuzzy("tname",t);e.treeDatatxl=a}),100)),null!==this.treeDatalatey&&0!==this.treeDatalatey.length&&(this.treeDatalatey=this.treeDataBaklatey,setTimeout((function(){var a=e.zTreelatey.getNodesByParamFuzzy("tname",t);e.treeDatalatey=a}),100))),this.handleOpen(1);var a="";document.querySelector(".el-menu .el-submenu.is-opened > .el-submenu__title .el-icon-arrow-right")?console.log(123):(a=document.querySelector(".el-menu .el-submenu > .el-submenu__title .el-icon-arrow-right"),a&&a.click()),this.searchDoading=!1,this.searchkey=t},quickSearch:function(e){var t=this.treeData,a=this.treeDatatxl,n=this.treeDatalatey,i=(this.treeDatanbyx,[]),r=[],o=[],s=[];null!==t&&0!==t.length&&(i=this.zTree.getNodesByParamFuzzy("name",e)),null!==a&&0!==a.length&&(r=this.zTreetxl.getNodesByParamFuzzy("tname",e)),null!==n&&0!==n.length&&(o=this.zTreelatey.getNodesByParamFuzzy("tname",e)),i.concat(r,o,s),this.$bus.emit("quickdataFuc",i)},loadTypeTree:function(){var e=this;return Nn(On().mark((function t(){return On().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"mail/message/findOrganPerson"}).then((function(t){"success"===t.code?e.treeData=e.treeDataAdapter(t.body.listdata):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreetxl:function(){var e=this;return Nn(On().mark((function t(){return On().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",url:"mail/linkmanGroup/selectTreeGroup"}).then((function(t){"success"===t.code?e.treeDatatxl=e.treeDataAdapter1(t.body.treeList):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreelatey:function(){var e=this;return Nn(On().mark((function t(){return On().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",params:{orderBy:"updateTime desc",count:20},data:[{compare:"string",field:"emailType",merge:!0,value:null===e.defultMail.emailReceiveType?2:1}],url:"mail/linkmanGroup/selectLatelyLinkman"}).then((function(t){"success"===t.code?e.treeDatalatey=e.treeDataAdapter1(t.body.treeList):e.$message.error(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},treeDataAdapter:function(e){var t=this;this.showIcon=!0,this.showLine=!0;var a=this.getPrevSelected();return e=e.filter((function(e,t){if("rootOrg"!==e.type)return e})),e.forEach((function(e,n){if(e.personId){e.icon=t.user,e.personName=e.name;var i=t,r=i.accountList.findIndex((function(e){return 1===e.accountType&&1===e.status}));if(r>-1)e.name=e.name+"/"+e.emailAddr;else{var o=e.email?e.email:"无";e.name=e.name+"/"+o}e.pId=e.orgId||e.parentId||e.groupId,e.icon=t.user,e.mailAdress=e.email||"无",e.title=e.name,a.indexOf(e.account)>-1&&(e.checked=!0),e.canSelect=!0}else e.pId=e.parentID||e.parentId,e.name=e.nName||e.name,e.title=e.fullName||e.orgFullName,e.title=e.title.replace(/[&\|\\\*^%$#@\-]/g,"-"),-1!==e.title.indexOf("-")&&(e.title=e.title.substring(e.title.indexOf("-")+1)),e.canSelect=!1,e.icon=t.folderUser})),e},treeDataAdapter1:function(e){var t=this;return e.forEach((function(e){null===e.parentId?(e.pId=t.root.id,e.name=e.tname):void 0!==e.parentId&&null!==e.parentId?(e.pId=e.parentId,e.name=e.tname,e.title=e.name):e.title=e.name})),e},getPrevSelected:function(){var e="";return this.selectedNodes.forEach((function(t){""!==e&&(e+=","),e+=t.account})),e},refreshTreeData:function(e){null===e?this.loadTypeTree():this.treeData=this.treeDataAdapter([this.root].concat(e))},onTreeCreated:function(e){if(this.zTree=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedtxl:function(e){if(this.zTreetxl=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedlatey:function(e){if(this.zTreelatey=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeNodeClick:function(e,t,a){this.zTree.checkNode(a,!a.checked,!0),this.onTreeNodeCheck("","",a)},onTreeNodeClickPerson:function(e,t,a){this.zTreetxl.checkNode(a,!a.checked,!0),this.onTreeNodeCheckPerson("","",a)},onTreeNodeClicklatey:function(e,t,a){this.zTreelatey.checkNode(a,!a.checked,!0),this.onTreeNodeCheckLatey("","",a)},onTreeNodeCheck:function(e,t,a){if(a&&a.checked){var n=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),i=n.reduce((function(e,t){return e[t.account]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),o=[];r.forEach((function(e){o.push(e.name)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTree.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckPerson:function(e,t,a){if(a&&a.checked){var n=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreetxl.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckLatey:function(e,t,a){if(a&&a.checked){var n=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreelatey.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},allEmail:function(){this.onTreeNodeCheck("","",{checked:this.pubChecked}),this.onTreeNodeCheckPerson("","",{checked:this.perChecked}),this.onTreeNodeCheckLatey("","",{checked:this.lateChecked})},recursionChildren:function(e){var t=this;e.children&&e.children.length>0?e.children.forEach((function(e){e.children&&e.children.length>0?t.recursionChildren(e):e.personId&&Hn.push(e)})):e.personId&&Hn.push(e)}}},$n=Fn,zn=(n(5501),te($n,An,In,!1,null,"391f7e88",null)),Bn=zn.exports;function Wn(e){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(e)}function Rn(e){return Vn(e)||Gn(e)||qn(e)||Un()}function Un(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qn(e,t){if(e){if("string"==typeof e)return Jn(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Jn(e,t):void 0}}function Gn(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Vn(e){if(Array.isArray(e))return Jn(e)}function Jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function Qn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Kn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(a),!0).forEach((function(t){Xn(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Qn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Xn(e,t,a){return(t=Zn(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Zn(e){var t=ei(e,"string");return"symbol"==Wn(t)?t:t+""}function ei(e,t){if("object"!=Wn(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Wn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ti={components:{txl:Bn},props:{newMailInfo:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"sendMail",content:"",loading:!1,editorOption:{},canEdit:1,moduleInfo:{getByIdUrl:"mail/message/getMailInfoById",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup"},mailInfo:{content:""},uploadAttach:"",mailContent:"",isParams:"",httpPort:"",readyList:[],uploadDdta:{},api:"/apigw",imageUploadUrl:"/apigw/mail/attach/upload",valueMail:"",accountList:null,defultMail:null,linkManEmail:[],editerHeight:"",showeditor:!1,csr:!1,msr:!1,qfdx:!1,closeLink:!1,sendList:[],copyToList:[],blindCopyToList:[],sendListInput:"",copyToInput:"",blindCopyToInput:"",focusInput:1,inMail:!1,loginUser:this.$store.getters.loginUser,moveFile:[],"10px":"180px",attachBarHeight:"43px",limitNum:5,srcName:"",commandBar:[{btnAlign:1,btnCode:"Draft",btnGroupId:null,btnIcon:"emailcg",btnJavascript:this.saveDraft,btnName:this.$tx("email.sendMail.notStting","您还没有设置邮箱信息,"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:"send",btnGroupId:null,btnIcon:"el-icon-s-promotion",btnJavascript:this.saveDraft,btnName:this.$tx("pageBtns.send","发送"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"off",btnJavascript:"btnCloseClick()",btnName:this.$tx("pageBtns.close","关闭"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0}],styleBagrand:"",styleBagrand1:"",formEvents:null,wfIdeaList:[],wfJsonData:{},wfInstance:{},curTN:{},vo:{},wfParams:{},attachments:[],uploadForm:!0,wflowEditor:!1,editorHeight:0,frmViewStyle:"WEB",itemlist:[]}},computed:Kn({curUser:function(){return this.$store.getters.loginUser}},H(["routes"])),watch:{defultMail:function(e){var t=this;if(null!==e){this.$nextTick((function(){t.showeditor=!0}));var a=this;a.$route.query?a.newMail():(a.isParams="againMail",a.newMail(a.isParams))}},formEvents:function(){null!==this.formEvents&&(this.formEvents.onWflowFormOpened(this,this.wfParams,this.wfParams,this.wfEngineUrl),this.loadForm(!0))},wflowEditor:function(e){var t=this;e&&this.$nextTick((function(){setTimeout((function(){t.onresize()}),500)}))},readyList:function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.onresize()}),500)}))},sendList:function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.onresize()}),500)}))}},created:function(){var e=this;if(this.$route.query.row){if(this.$route.query.srcBusiDataId){this.srcName=this.$route.query.srcBusiDataId;var t=Rn(JSON.parse(this.$route.query.row));this.readyList=t.filter((function(e,a){return e.name=e.fileName,a!==t.length}))}else{var a=[];for(var n in this.$route.query.row)a.push({name:this.$route.query.row[n].fileName,id:this.$route.query.row[n].id,fileSize:this.$route.query.row[n].fileSize});this.readyList=a.filter((function(t,a){return a!==e.$route.query.row.length}))}this.styleBagrand=this.Cookies.get("uiStyle"),this.styleBagrand1=this.Cookies.get("uiStyle")}else this.newMailInfo&&(this.mailInfo=this.newMailInfo,this.mailInfo.attachments&&this.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel),e.readyList.push({name:t.fileName,status:"ready",size:t.fileRealSize,percentage:0})})));this.httpPort=location.port,this.$bus.emit("showNavSearch",!1),this.getDefultMail()},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("quickdataFuc"),this.$bus.off("checkEmail"),this.$bus.off("checkEmailPerson"),this.$bus.off("changeEmail"),this.$bus.off("cancleCheck"),window.removeEventListener("resize",this.onresize)},mounted:function(){var e=this;this.$nextTick((function(){e.$refs.sendTo.focus(),e.mailInfo.attachments&&e.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel)}))})),window.addEventListener("resize",this.onresize),this.$bus.on("quickdataFuc",(function(t){e.linkManEmail=e.unique(t),t.length>0?e.closeLink=!0:e.closeLink=!1})),this.$bus.on("cancleCheck",(function(t){t.forEach((function(t){e.sendList=e.sendList.filter((function(e){return e!==t})),e.copyToList=e.copyToList.filter((function(e){return e!==t})),e.blindCopyToList=e.blindCopyToList.filter((function(e){return e!==t}))}))})),this.$bus.on("checkEmail",(function(t){if("string"===typeof t)if("无"===t.split("/")[1]);else{var a=0;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t.split("/")[1].indexOf("@");if(i>-1&&-1===t.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a||(1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t))}else for(var r,o=function(){if("无"===t[s].name.split("/")[1])return e.$message.warning(e.$tx("email.xieyoujian.notEmail","当前项无邮箱地址,不支持选择")),{v:!1};var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t[s].name.split("/")[1].indexOf("@"),r=t[s].name.split("/")[1]&&t[s].name.split("/")[1].split("@")[0]===t[s].account;if(!r&&i>-1&&-1===t[s].name.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱","已存在该抄送人!"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}}if((1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[s].name&&(a=1)})),1===a)return 1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!")),{v:!1};1===e.focusInput?e.sendList.push(t[s].name):2===e.focusInput?e.copyToList.push(t[s].name):e.blindCopyToList.push(t[s].name)},s=0;s<t.length;s++)if(r=o(),r)return r.v})),this.$bus.on("checkEmailPerson",(function(t){if(console.log("走不走"),"string"===typeof t){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t.indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a?(1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!"))):1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t)}else{console.log("数组",t);for(var i,r=function(){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t[o].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[o]&&(a=1)})),1===a?(e.focusInput,e.focusInput,e.focusInput):(1===e.focusInput?e.sendList.push(t[o]):2===e.focusInput?e.copyToList.push(t[o]):e.blindCopyToList.push(t[o]),console.log("uuuuu",t[o],e.sendList))},o=0;o<t.length;o++)if(i=r(),i)return i.v}})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))})),document.addEventListener("keydown",(function(t){e.closeLink&&e.linkManEmail.length>0&&(38===t.keyCode?e.linkIndex>0&&e.linkIndex--:40===t.keyCode?e.linkIndex<e.linkManEmail.length+1&&e.linkIndex++:13===t.keyCode&&(1===e.linkManEmail.length?e.clickLink(e.linkManEmail[0].name):e.clickLink(e.linkManEmail[e.linkIndex].name)))}))},methods:{onresize:function(){var e=this,t=document.querySelector(".mail_content_row");t.style.height="calc(100vh - 103px)",this.$nextTick((function(){t=document.querySelector(".mail_content_row");var a=document.querySelector(".form-horizontal"),n=document.querySelectorAll(".form_edit_top"),i=null!==a?a.offsetHeight:0,r=0;if(null!==n||n.length>0)for(var o=0;o<n.length;o++)r+=n[o].offsetHeight;i>0&&r>0&&(e.editorHeight=0,e.$nextTick((function(){setTimeout((function(){e.editorHeight=i-r-40>460?i-r-40:460,t.style.height=i-r-40<=460?r+566+"px":"calc(100vh - 103px)"}),0)})))}))},filterTree:function(e){var t=this,a=this.$refs.txl.zTree.getNodes(),n=this.$refs.txl.zTreetxl.getNodes(),i=this.$refs.txl.zTreelatey.getNodes(),r=this.$refs.txl.zTree.transformToArray(a),o=this.$refs.txl.zTreetxl.transformToArray(n),s=this.$refs.txl.zTreelatey.transformToArray(i);if(r.forEach((function(a){a.name===e&&t.$refs.txl.zTree.checkNode(a,!1,!0)})),o.forEach((function(a){a.email===e&&t.$refs.txl.zTreetxl.checkNode(a,!1,!0)})),s.forEach((function(a){a.email===e&&t.$refs.txl.zTreelatey.checkNode(a,!1,!0)})),0===this.$refs.txl.zTree.getCheckedNodes(!0).length)this.$refs.txl.pubChecked=!1;else if(this.$refs.txl.zTree.getCheckedNodes(!0).length>0){var l=0;a.forEach((function(e){t.$refs.txl.zTree.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&l++}))})),this.$refs.txl.pubChecked=l===a.length}if(0===this.$refs.txl.zTreetxl.getCheckedNodes(!0).length)this.$refs.txl.perChecked=!1;else if(this.$refs.txl.zTreetxl.getCheckedNodes(!0).length>0){var d=0;n.forEach((function(e){t.$refs.txl.zTreetxl.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&d++}))})),this.$refs.txl.perChecked=d===n.length}0===this.$refs.txl.zTreelatey.getCheckedNodes(!0).length&&(this.$refs.txl.lateChecked=!1)},csTagChange:function(){var e=this;this.csr=!this.csr,this.focusInput=this.csr?2:1,this.csr?this.$nextTick((function(){e.$refs.copyTo.focus()})):this.copyToList.length>0&&this.copyToList.forEach((function(t){e.filterTree(t)})),this.copyToList=[]},msTagChange:function(){var e=this;this.msr=!this.msr,this.focusInput=this.msr?3:1,this.msr?this.$nextTick((function(){e.$refs.blindCopyTo.focus()})):this.blindCopyToList.length>0&&this.blindCopyToList.forEach((function(t){e.filterTree(t)})),this.blindCopyToList=[]},qfdxTagChange:function(){this.qfdx=!this.qfdx,this.qfdx&&(this.csr=!1,this.msr=!1),this.copyToList=[],this.blindCopyToList=[]},deleteCg:function(){this.$emit("deleteDraft")},loadInternetList:function(){var e=this;e.loading=!1,this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(t){e.loading=!1,"success"===t.code?(e.accountList=t.body.listdata,e.accountList&&e.accountList.length>0&&(e.defultMail=e.accountList[0]),e.defultMail&&(e.valueMail=e.defultMail.emailAddr)):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}),(function(t){e.$message.error(t)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}"shoujianxiang.svg"===e?this.$router.push({path:a,query:this.newMailInfo}):"email.svg"===e&&this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},onSelectStaffCompleted:function(e,t){var a="";e.forEach((function(e){""!==a&&(a+="、"),a+=e.name})),"sendTo"===t.name?this.$set(this.mailInfo,"sendTo",a):this.$set(this.mailInfo,"copyTo",a)},newMail:function(e){var t=this;if(this.loading=!0,"againMail"===e)this.mailInfo={},this.mailInfo.sendTo="",this.mailInfo.sended=!1;else{var a=Object.keys(this.$route.query);a.length>2&&(this.mailInfo=this.$route.query)}if(void 0!==this.mailInfo.srcBusiDataId)this.wflowForwardMail();else if(null==this.mailInfo.mailMessageId)this.wflowEditor=!0,this.mailContent="<br/><br/><br/><br/><br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"));else if(null==this.mailInfo.sentdate){if(this.wflowEditor=!0,this.sendList=[],this.copyToList=[],this.blindCopyToList=[],null!==this.mailInfo.sendTo&&""!==this.mailInfo.sendTo){var n=this.mailInfo.sendTo.split(",");this.sendList=this.sendList.concat(n)}if(null!==this.mailInfo.copyTo&&""!==this.mailInfo.copyTo){var i=this.mailInfo.copyTo.split(",");this.copyToList=this.copyToList.concat(i)}if(null!==this.mailInfo.blindCopyTo&&""!==this.mailInfo.blindCopyTo){var r=this.mailInfo.blindCopyTo.split(",");this.blindCopyToList=this.blindCopyToList.concat(r)}var o;if(this.mailContent=this.mailInfo.content,this.mailInfo.attachments)if(this.mailInfo.attachments.length>0)this.readyList=(o=this.readyList).concat.apply(o,Rn(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)}))}else if(this.mailInfo.actionType){if(this.wflowEditor=!0,"respAll"===this.mailInfo.actionType){var s=this.mailInfo.sendTo.split(","),l=this.mailInfo.fromAddr.split(","),d=this.mailInfo.copyTo.split(",");s.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),l.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),d.forEach((function(e,a){""!==e&&-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&(t.copyToList.push(e),t.csr=!0)}))}else if("resp"===this.mailInfo.actionType)this.wflowEditor=!0,this.sendList.push(this.mailInfo.fromAddr),this.mailInfo.fromAddr=this.defultMail.emailAddr;else if("resend"===this.mailInfo.actionType){var c;if(this.wflowEditor=!0,this.sendList.push(this.mailInfo.sendTo),this.mailInfo.attachments.length>0)(c=this.readyList).push.apply(c,Rn(this.mailInfo.attachments))}else if("forward"===this.mailInfo.actionType){var u;if(this.wflowEditor=!0,this.mailInfo.fromAddr=this.defultMail.emailAddr,this.sendList=[],this.mailInfo.attachments)if(this.mailInfo.attachments.length>0)(u=this.readyList).push.apply(u,Rn(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)}))}"resend"!==this.mailInfo.actionType&&(this.mailInfo.fromAddr=this.defultMail.emailAddr,this.mailContent="<br/><br/><br/><br/><br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>")),this.mailContent+="<hr/>------------------ 原始邮件 ------------------<br/>"),delete this.mailInfo.actionType,this.mailContent+=this.mailInfo.content,this.mailInfo.mailMessageId=null,this.mailInfo.id=null,this.mailInfo.sentdate=null,null!=this.mailInfo.attachments&&this.mailInfo.attachments.forEach((function(e){e.id=null}))}this.loading=!1,this.mailInfo.content=this.mailContent,this.mailInfo.mailType=2,this.newMailInfo=null,this.$forceUpdate()},wflowForwardMail:function(){var e=this,t=this;this.wfParams={wfEngineUrl:this.$route.query.wfEngineUrl,busiDataId:this.$route.query.srcBusiDataId},t.$wfEngine.loadWfInstance(this,this.wfParams).then((function(a){if("success"===a.code){t.$set(t.mailInfo,"subject","【"+t.wfInstance.wfName+"】"+t.wfInstance.title),t.curTN.tnCanEdit=0,t.curTN.tnNodeID=null,t.curTN.tnNodeName=null,t.srcName=t.vo.flFormName;var n=e.mailInfo.attachments||[];t.attachments.forEach((function(e){t.$route.query.fileId&&-1!==t.$route.query.fileId.indexOf(e.id)&&(n.push(e),e.name=e.fileName)})),t.readyList=n,new Promise((function(a,n){t.loadForm=function(e){e&&a()};var i=e.curTN.workform||e.wfInstance.workForm;0===i.indexOf("@/")?(i=i.replace(/@\/mapp/g,"@/wapp"),t.$options.components["BusiForm"]=t.$loadComponent(i),t.$nextTick((function(){t.formEvents={onWflowFormOpened:t.$options.components["BusiForm"].methods.onWflowFormOpened}}))):-1!==i.indexOf("/dcontent")&&(i=i.split("/dcontent")[1],"/"===i.substring(i.length-1)&&(i=i.substring(0,i.length-1)),i="#/dcontent/vuebusiform/W/"+i+".vue?sysCode="+t.wfInstance.sysCode,t.$options.components["BusiForm"]=t.$loadComponent(i))})).then((function(){var a="",n=document.querySelector(".mail-original-form"),i='\t<style>\r\n\t\t.form-container form{border:none;padding:0;}\r\n\t \t\t.form-container .form-header .form-title{font-size: 24px;font-weight: normal;text-align: center;color: #545454;}\r\n\t \t\t.form-container .form-header .section-title{overflow: hidden;line-height: 22px;}\r\n\t \t\t.form-container .form-header .section-title .l-text{float: left;margin-bottom: 0px;}\r\n\t \t\t.form-container .el-table__body{width:100%;margin:0 auto;border:none!important;border-top: 1px solid #EBEEF5!important;border-left: 1px solid #EBEEF5!important} \r\n\t \t\t.form-container .el-table__body td{padding: 4px;height: 39px;line-height: 39px;border:none!important;border-right: 1px solid #EBEEF5!important;border-bottom: 1px solid #EBEEF5!important;} \r\n\t \t\t.form-container .el-table__body .tdlbl{text-align: right;font-weight: 600;} \r\n\t \t\t.form-container .el-table__body .tdcont{text-align: left;font-weight: 400;} \r\n\t \t\t.form-container .el-table__body .tdw17{width:17%} \r\n\t \t\t.form-container .el-table__body .tdw33{width:33%}\r\n\t \t\t.form-container .el-table__body .tdw83{width:83%}\r\n\t \t\t.form-container .wfIdeas-container td{line-height:20px;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv{ margin: 5px 0;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv p {margin-top: 0px; margin-bottom: 0px;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv span {display:inline-block;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv{min-height: 55px;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv .ideaSignature{max-width:100px;max-height:50px;}\r\n\t\t\t.wflow-container-paper .form-container .form-title{color: #E94243;font-size: 32px;font-weight: bold;text-align: center;margin-bottom: 32px;margin-top: 42px;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform{position: relative;padding: 50px 65px;box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.3);border: 2px solid #BEC0C9;background: #fff;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table__body{border-top-color: #E94243!important;border-left-color: #E94243!important;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td{border-right-color: #E94243!important;border-bottom-color: #E94243!important;font-size: 18px;line-height: normal;height: 70px;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl{ color: #E94243;background: none;text-align: left;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl .required{display: none;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl ::after{content: ":";}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable p{margin:0}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable{line-height: 65px!important;padding: 14px;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable div{line-height: normal!important;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv{line-height: normal;margin-top: 15px;margin-bottom: 0;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv{height: 100%;margin: 0;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv p:nth-child(even){ text-align: right; margin-top:15px}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv p span{ width: 50px!important;}\r\n\t</style>\r\n\t',r=n.innerHTML.replace(/src="\/apigw\//g,'src="'+location.href.split("/#")[0]+"/apigw/");a=i+r+"<p></p>",t.uploadForm=!1,t.curTN.tnCanEdit=1,e.$nextTick((function(){e.mailInfo.content=a,e.wflowEditor=!0}))}))}else e.$alert(a.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},handleRemoveCopy:function(e,t){var a=this.readyList.findIndex((function(t){return t.uid===e}));this.itemlist.splice(t,1),this.readyList.splice(a,1)},handleRemove:function(e,t){this.readyList=t,this.moveFile.push(e)},handleChange:function(e,t){if(this.uploadAttach=e,this.readyList.length>0){for(var a=0;a<this.readyList.length;a++)if(e.name===this.readyList[a].name)return this.$message.warning(this.$tx("email.messages.fileName",{fileName:e.name},"“{{fileName}}” 文件重复,已覆盖该文件")),this.readyList.splice(a--,1),this.readyList.push(e),!1;this.readyList.push(e)}else e.fileName=e.name,this.readyList.push(e);for(var n in this.itemlist.push(""),this.mailInfo.attachments=this.readyList,this.mailInfo.attachsCount=this.mailInfo.attachments.length,this.readyList)this.readyList[n].fileSize=(this.readyList[n].size/this.pow1024(1)).toFixed(2)},pow1024:function(e){return Math.pow(1024,e)},handleExceed:function(e,t){return this.$message.warning(this.$tx("email.messages.maxFileUpload",{limitNum:this.limitNum},"最多只能上传{{limitNum}}个文件")),!1},selectMail:function(e){e&&(this.inMail=!0),this.valueMail=e.emailAddr,this.saveMailSetup(e)},saveDraft:function(e){var t=this;if(t.mailInfo.usersetId=t.defultMail.id,!(t.sendList.length>0))return t.$message.error(t.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;t.mailInfo.sendTo=this.sendList.toString(),t.mailInfo.copyTo=this.copyToList.toString(),t.mailInfo.blindCopyTo=this.blindCopyToList.toString(),t.formValidate((function(){t.loading=!0,t.mailInfo.onlyOne=t.qfdx?1:0;var a=t.moduleInfo.saveDraftUrl,n={userSetupId:t.defultMail.id};return new Promise((function(i,r){t.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:n,data:t.mailInfo,url:a}).then((function(a){"success"===a.code?(t.mailInfo.mailMessageId=a.body.mailMessageId,t.mailInfo.id=a.body.shipId,null!=t.readyList&&t.readyList.length>0?t.fileUploadFuc(e):"send"===e?t.sendMail():(t.loading=!1,t.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))):(t.loading=!1,t.$message.error(a.message)),i(a)})).catch((function(e){r(e)}))}))}))},fileUploadFuc:function(e){var t=this,a="/mail/attach/upload";0===t.readyList.length?t.$messages.info(t.$tx("email.messages.selectExportFile","请选择导入文件")):(t.mailInfo.attachments=[],t.readyList.forEach((function(n,i){var r=new FormData;r.append("module","DRAFT"),r.append("fileLevel",t.itemlist[n]);var o=[];t.moveFile.length>0&&t.moveFile.forEach((function(e){e.id&&o.push(e.id)})),o.length>0&&t.$app.deleteByIds("/mail/attach/deleted",o),n.id||t.$route.query.srcBusiDataId?("success"!==t.readyList[0].status||t.$route.query.busiCode?"ready"!==t.readyList[0].status||t.$route.query.busiCode?(console.log("789"),a="/mail/attach/forwardUpload",t.uploadDdta=n,t.uploadDdta.busiDataId=t.mailInfo.id):(console.log("456"),r.append("busiDataId",t.mailInfo.mailMessageId),r.append("attachsType","ATTACH"),r.append("attachsSize",n.size),r.append("attachsName",n.name),r.append("file",n.raw),r.append("usersetId",t.defultMail.id),a="/mail/attach/upload",t.uploadDdta=r):(console.log("123"),a="/mail/attach/tranUpload",r.append("usersetId",t.defultMail.id),r.append("id",n.id),r.append("busiDataId",t.mailInfo.mailMessageId),null===t.mailInfo.sentdate&&(r.append("isDraft",1),t.mailInfo.attachments.push(n)),t.uploadDdta=r),t.$http({method:"POST",url:a,data:t.uploadDdta}).then((function(a){if("success"!==a.code)return t.$message.error(a.message),!1;var n;a.body.uploadAttach&&a.body.uploadAttach.length>0&&(n=t.mailInfo.attachments).push.apply(n,Rn(a.body.uploadAttach)),"send"===e&&i===t.readyList.length-1?t.readyList.length&&"send"===e&&t.sendMail():(t.loading=!1,i===t.readyList.length-1&&t.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))}))):(r.append("busiDataId",t.mailInfo.mailMessageId),r.append("attachsType","ATTACH"),r.append("attachsSize",n.size),r.append("attachsName",n.name),r.append("file",n.raw),r.append("usersetId",t.defultMail.id),a="/mail/attach/upload",t.uploadDdta=r,t.$http({method:"POST",url:a,data:t.uploadDdta}).then((function(a){if("success"!==a.code)return t.loading=!1,t.$message.error(a.message),!1;t.mailInfo.attachments.push(a.body.uploadAttachList[0]),"send"===e&&i===t.readyList.length-1?t.readyList.length&&"send"===e&&t.sendMail():(t.loading=!1,i===t.readyList.length-1&&t.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))})))})))},sendMail:function(){var e=this;if(e.mailInfo.usersetId=e.defultMail.id,!(e.sendList.length>0))return e.$message.error(e.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;e.mailInfo.sendTo=this.sendList.toString(),e.mailInfo.copyTo=this.copyToList.toString(),e.mailInfo.blindCopyTo=this.blindCopyToList.toString(),this.formValidate((function(){e.loading=!0;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.defultMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.mailInfo,url:t}).then((function(t){e.loading=!1,"success"===t.code?e.$route.query.srcBusiDataId?(e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"success"}),window.setTimeout((function(){window.close()}),1500)):(e.$message.success(t.message),e.mailInfo.sended=!0,e.readyList=[]):t.message.indexOf("Authentication failed")>0?this.$alert(this.$tx("email.messages.emailTip4","请前往邮箱中心检验邮箱用户密码或授权码是否正确"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$message.error(t.message)})).catch((function(t){e.$message.error(t),e.loading=!1}))}))},selectEmailFuc:function(e){var t=this,a=1===e?t.sendListInput:2===e?t.copyToInput:t.blindCopyToInput;if(""===a.trim())return t.closeLink=!1,!1;var n="";clearTimeout(n),n=setTimeout((function(){t.$bus.emit("quickSearchPerson",a)}),500)},saveMailSetup:function(e){var t=this;e.isDefault=1,t.$http({method:"put",contentType:"application/x-www-form-urlencoded",data:e,url:"mail/userSetup/update"}).then((function(a){"success"===a.code&&(t.defultMail=e)}))},clickLink:function(e){var t=null;if((1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(a,n){a===e&&(t=1)})),1===t)return this.$message.warning(this.$tx("email.messages.emailTip1","已存在该收件人!")),!1;1===this.focusInput?(this.sendList.push(e),this.sendListInput=""):2===this.focusInput?(this.copyToList.push(e),this.copyToInput=""):(this.blindCopyToList.push(e),this.blindCopyToInput=""),this.closeLink=!1},keyUpFuc:function(){var e=this,t=null;if(!1===this.closeLink&&""!==(1===this.focusInput?this.sendListInput:2===this.focusInput?this.copyToInput:this.blindCopyToInput).trim()){var a=null;if(null===this.defultMail.emailReceiveType&&(t="@"+this.defultMail.emailAddr.split("@")[1],!this.defultMail.internetEmailAddr&&-1===(1===this.focusInput?this.sendListInput:2===this.focusInput?this.copyToInput:this.blindCopyToInput).indexOf(t)))return this.$alert(this.$tx("email.messages.BindExterEmail","请先前往邮箱中心绑定外部邮箱"),this.$tx("common.operationTip","操作提示"),{type:"warning"}),!1;if((1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(t,n){t===(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput)&&(a=1)})),1===a)return 1===this.focusInput&&this.$message.warning(this.$tx("email.messages.emailTip1","已存在该收件人!")),2===this.focusInput&&this.$message.warning(this.$tx("email.messages.emailTip2","已存在该抄送人!")),3===this.focusInput&&this.$message.warning(this.$tx("email.messages.emailTip3","已存在该密送人!")),!1;1===this.focusInput?(this.sendList.push(this.sendListInput),this.isEmail(this.sendListInput),this.sendListInput=""):2===this.focusInput?(this.copyToList.push(this.copyToInput),this.isEmail(this.copyToInput),this.copyToInput=""):(this.blindCopyToList.push(this.blindCopyToInput),this.isEmail(this.blindCopyToInput),this.blindCopyToInput="")}},removeMail:function(e,t,a){1===a?this.sendList.splice(t,1):2===a?this.copyToList.splice(t,1):this.blindCopyToList.splice(t,1),this.filterTree(e)},isEmail:function(e){var t=this;(1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(a,n){var i=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;a===e&&(i.test(e)||((1===t.focusInput?t.sendList:2===t.focusInput?t.copyToList:t.blindCopyToList).splice(n,1),t.$message.error(t.$tx("email.messages.emailNot","邮件格式不正确!"))))}))},focusInputFuc:function(e){this.focusInput=e},unique:function(e){for(var t=[],a={},n=0;n<e.length;n++)a[e[n].name]||(a[e[n].name]=1,t.push(e[n]));return t},getDefultMail:function(){var e=this,t=sessionStorage.getItem("currentMail");if(null===t||""===t||void 0===t){var a=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?(a.accountList=t.body.listdata,a.accountList&&a.accountList.length>0&&(a.defultMail=a.accountList[0])):a.$message.error(t.message),e.loading=!1}),(function(e){a.$message.error(e)}))}else this.defultMail=JSON.parse(t)},imgUrl:function(e){var t=e.name.substring(e.name.lastIndexOf(".")),a=[["image",".gif",".bmp",".jpg",".tga",".png",".jpeg",".svg"],["doc",".ppt",".pptx",".xls",".xlsx",".doc",".docx",".pdf",".pdfx",".txt"],["zip",".zip",".rar",".7z",".z"],["video",".wmv",".asf",".asx",".rm",".rmvb",".mp4",".3gp",".mov",".m4v",".avij",".mk",".f1v",".vob"],["audio",".wav",".midi",".cda",".mp3",".mp3pro",".wma",".sacd"]],n=null,i=null;for(var r in a)for(var o in a[r])if(a[r][o]===t){n=r,i=o;break}if(!n)return"images/w-imgs/email/other.png";if("doc"===a[n][0]){if(".doc"===a[n][i]||".docx"===a[n][i])return"images/w-imgs/email/word.png";if(".ppt"===a[n][i]||".pptx"===a[n][i])return"images/w-imgs/email/ppt.png";if(".xls"===a[n][i]||".xlsx"===a[n][i])return"images/w-imgs/email/excel.png";if(".pdf"===a[n][i])return"images/w-imgs/email/pdf.png";if(".txt"===a[n][i])return"images/w-imgs/email/txt.png"}else{if("audio"===a[n][0])return"images/w-imgs/email/audio.png";if("video"===a[n][0])return"images/w-imgs/email/video.png";if("zip"===a[n][0])return"images/w-imgs/email/zip.png";if("image"===a[n][0])return"images/w-imgs/email/picture.png"}},handleOpenEditor:function(e){this.$bus.emit("btnEditAttachClick",e)}}},ai=ti,ni=(n(2457),te(ai,jn,Cn,!1,null,"c807af5e",null)),ii=ni.exports;function ri(e){return ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ri(e)}function oi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function si(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(a),!0).forEach((function(t){li(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function li(e,t,a){return(t=di(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function di(e){var t=ci(e,"string");return"symbol"==ri(t)?t:t+""}function ci(e,t){if("object"!=ri(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ri(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ui={EmailIndex:fe,EmailAccessoryList:Se,EmailAddress:Ne,EmailEcincMailHelp:We,EmailEmailWatch:ot,EmailList:jt,EmailXieyoujian:la,EmailYouxiangshezhi:xa,EmailportlelEmail:Fa,EmailBackupEmailDetail:tn,EmailFolder:gn,EmailLeftMenu:ne,EmailTbColumns:xn,EmailTbColumnsWatch:Dn,EmailTxl:Wt,EmailSendMail:ii},mi=function e(t){e.installed||(e.installed=!0,Object.keys(ui).forEach((function(e){t.component(e,ui[e])})))};"undefined"!==typeof window&&window.Vue&&mi(window.Vue);var pi=n(5658),hi=si(si({install:mi},ui),{},{$messages:pi}),fi=hi}(),i}()}));
|
|
283
|
+
function d(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:n});else{var a=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,a.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var c="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},u=c.__VUE_DEVTOOLS_GLOBAL_HOOK__;function m(e){u&&(e._devtoolHook=u,u.emit("vuex:init",e),u.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){u.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){u.emit("vuex:action",e,t)}),{prepend:!0}))}function p(e,t){Object.keys(e).forEach((function(a){return t(e[a],a)}))}function h(e){return null!==e&&"object"===typeof e}function f(e){return e&&"function"===typeof e.then}function _(e,t){return function(){return e(t)}}var g=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var a=e.state;this.state=("function"===typeof a?a():a)||{}},y={namespaced:{configurable:!0}};y.namespaced.get=function(){return!!this._rawModule.namespaced},g.prototype.addChild=function(e,t){this._children[e]=t},g.prototype.removeChild=function(e){delete this._children[e]},g.prototype.getChild=function(e){return this._children[e]},g.prototype.hasChild=function(e){return e in this._children},g.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},g.prototype.forEachChild=function(e){p(this._children,e)},g.prototype.forEachGetter=function(e){this._rawModule.getters&&p(this._rawModule.getters,e)},g.prototype.forEachAction=function(e){this._rawModule.actions&&p(this._rawModule.actions,e)},g.prototype.forEachMutation=function(e){this._rawModule.mutations&&p(this._rawModule.mutations,e)},Object.defineProperties(g.prototype,y);var v=function(e){this.register([],e,!1)};function b(e,t,a){if(t.update(a),a.modules)for(var n in a.modules){if(!t.getChild(n))return void 0;b(e.concat(n),t.getChild(n),a.modules[n])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,a){return t=t.getChild(a),e+(t.namespaced?a+"/":"")}),"")},v.prototype.update=function(e){b([],this.root,e)},v.prototype.register=function(e,t,a){var n=this;void 0===a&&(a=!0);var i=new g(t,a);if(0===e.length)this.root=i;else{var r=this.get(e.slice(0,-1));r.addChild(e[e.length-1],i)}t.modules&&p(t.modules,(function(t,i){n.register(e.concat(i),t,a)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1],n=t.getChild(a);n&&n.runtime&&t.removeChild(a)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),a=e[e.length-1];return!!t&&t.hasChild(a)};var M;var w=function(e){var t=this;void 0===e&&(e={}),!M&&"undefined"!==typeof window&&window.Vue&&P(window.Vue);var a=e.plugins;void 0===a&&(a=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new M,this._makeLocalGettersCache=Object.create(null);var i=this,r=this,o=r.dispatch,s=r.commit;this.dispatch=function(e,t){return o.call(i,e,t)},this.commit=function(e,t,a){return s.call(i,e,t,a)},this.strict=n;var l=this._modules.root.state;S(this,l,[],this._modules.root),T(this,l),a.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:M.config.devtools;d&&m(this)},x={state:{configurable:!0}};function L(e,t,a){return t.indexOf(e)<0&&(a&&a.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function k(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var a=e.state;S(e,a,[],e._modules.root,!0),T(e,a,t)}function T(e,t,a){var n=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,r={};p(i,(function(t,a){r[a]=_(t,e),Object.defineProperty(e.getters,a,{get:function(){return e._vm[a]},enumerable:!0})}));var o=M.config.silent;M.config.silent=!0,e._vm=new M({data:{$$state:t},computed:r}),M.config.silent=o,e.strict&&I(e),n&&(a&&e._withCommit((function(){n._data.$$state=null})),M.nextTick((function(){return n.$destroy()})))}function S(e,t,a,n,i){var r=!a.length,o=e._modules.getNamespace(a);if(n.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=n),!r&&!i){var s=E(t,a.slice(0,-1)),l=a[a.length-1];e._withCommit((function(){M.set(s,l,n.state)}))}var d=n.context=Y(e,o,a);n.forEachMutation((function(t,a){var n=o+a;j(e,n,t,d)})),n.forEachAction((function(t,a){var n=t.root?a:o+a,i=t.handler||t;C(e,n,i,d)})),n.forEachGetter((function(t,a){var n=o+a;A(e,n,t,d)})),n.forEachChild((function(n,r){S(e,t,a.concat(r),n,i)}))}function Y(e,t,a){var n=""===t,i={dispatch:n?e.dispatch:function(a,n,i){var r=O(a,n,i),o=r.payload,s=r.options,l=r.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:n?e.commit:function(a,n,i){var r=O(a,n,i),o=r.payload,s=r.options,l=r.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return D(e,t)}},state:{get:function(){return E(e.state,a)}}}),i}function D(e,t){if(!e._makeLocalGettersCache[t]){var a={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var r=i.slice(n);Object.defineProperty(a,r,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=a}return e._makeLocalGettersCache[t]}function j(e,t,a,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){a.call(e,n.state,t)}))}function C(e,t,a,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=a.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return f(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function A(e,t,a,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return a(n.state,n.getters,e.state,e.getters)})}function I(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(e,t){return t.reduce((function(e,t){return e[t]}),e)}function O(e,t,a){return h(e)&&e.type&&(a=t,t=e,e=e.type),{type:e,payload:t,options:a}}function P(e){M&&e===M||(M=e,d(M))}x.state.get=function(){return this._vm._data.$$state},x.state.set=function(e){0},w.prototype.commit=function(e,t,a){var n=this,i=O(e,t,a),r=i.type,o=i.payload,s=(i.options,{type:r,payload:o}),l=this._mutations[r];l&&(this._withCommit((function(){l.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,n.state)})))},w.prototype.dispatch=function(e,t){var a=this,n=O(e,t),i=n.type,r=n.payload,o={type:i,payload:r},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,a.state)}))}catch(d){0}var l=s.length>1?Promise.all(s.map((function(e){return e(r)}))):s[0](r);return new Promise((function(e,t){l.then((function(t){try{a._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,a.state)}))}catch(d){0}e(t)}),(function(e){try{a._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,a.state,e)}))}catch(d){0}t(e)}))}))}},w.prototype.subscribe=function(e,t){return L(e,this._subscribers,t)},w.prototype.subscribeAction=function(e,t){var a="function"===typeof e?{before:e}:e;return L(a,this._actionSubscribers,t)},w.prototype.watch=function(e,t,a){var n=this;return this._watcherVM.$watch((function(){return e(n.state,n.getters)}),t,a)},w.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},w.prototype.registerModule=function(e,t,a){void 0===a&&(a={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),S(this,this.state,e,this._modules.get(e),a.preserveState),T(this,this.state)},w.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var a=E(t.state,e.slice(0,-1));M.delete(a,e[e.length-1])})),k(this)},w.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},w.prototype.hotUpdate=function(e){this._modules.update(e),k(this,!0)},w.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(w.prototype,x);var N=z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=this.$store.state,a=this.$store.getters;if(e){var n=B(this.$store,"mapState",e);if(!n)return;t=n.context.state,a=n.context.getters}return"function"===typeof i?i.call(this,t,a):t[i]},a[n].vuex=!0})),a})),H=(z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=[],a=arguments.length;while(a--)t[a]=arguments[a];var n=this.$store.commit;if(e){var r=B(this.$store,"mapMutations",e);if(!r)return;n=r.context.commit}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a})),z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;i=e+i,a[n]=function(){if(!e||B(this.$store,"mapGetters",e))return this.$store.getters[i]},a[n].vuex=!0})),a})));z((function(e,t){var a={};return F(t).forEach((function(t){var n=t.key,i=t.val;a[n]=function(){var t=[],a=arguments.length;while(a--)t[a]=arguments[a];var n=this.$store.dispatch;if(e){var r=B(this.$store,"mapActions",e);if(!r)return;n=r.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(t)):n.apply(this.$store,[i].concat(t))}})),a}));function F(e){return $(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function $(e){return Array.isArray(e)||h(e)}function z(e){return function(t,a){return"string"!==typeof t?(a=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,a)}}function B(e,t,a){var n=e._modulesNamespaceMap[a];return n}function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function R(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */R=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==W(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(W(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function U(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function q(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){U(r,n,i,o,s,"next",e)}function s(e){U(r,n,i,o,s,"throw",e)}o(void 0)}))}}function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function V(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?G(Object(a),!0).forEach((function(t){J(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function J(e,t,a){return(t=Q(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Q(e){var t=K(e,"string");return"symbol"==W(t)?t:t+""}function K(e,t){if("object"!=W(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var X=n(8027),Z={data:function(){return{i18npkg:"email",moduleCode:"components",menuName:"",menuIcon:"",menuIconClass:"",folder:[],xieyoujianPath:"",isFolder:!0,defultMail:"",yjjkMenu:!1,bfyxMenu:!1,txlMenu:!0,unreadNum:0,draftsNum:0,usersetId:"",updataLM:!0}},watch:{folder:{handler:function(e){}},$route:function(e){var t=this;setTimeout((function(){t.$el.querySelectorAll(".is-active").forEach((function(t){t.innerText!==e.meta.title&&t.classList.remove("is-active")})),t.$el.querySelectorAll(".el-menu-item").forEach((function(t){t.innerText===e.meta.title&&-1===t.className.indexOf("is-active")&&t.classList.add("is-active")}))}),100)}},computed:V(V({},H(["routes","sidebar","loginUser"])),{},{showTopMenus:function(){return this.$store.state.settings.showTopMenus},activeMenu:function(){var e=this.$route,t=e.meta,a=e.path;return t.activeMenu?t.activeMenu:a},variables:function(){return X},isCollapse:function(){return!this.sidebar.opened},menuBg:function(){return this.showTopMenus?X.stdMenuBgcolor:X.darkMenuBgcolor},menuText:function(){return this.showTopMenus?X.stdMenuText:X.darkMenuText},menuActiveText:function(){return this.showTopMenus?X.stdMenuAcitveText:X.darkMenuAcitveText}}),beforeCreate:function(){},created:function(){var e=this;this.$options.components["SidebarItem"]=this.$loadComponent("@/wapp/common/layout/components/Sidebar/SidebarItem"),this.$bus.on("changeEmail",(function(t){e.defultMail=t})),this.$bus.on("refreshFolder",this.refreshIsFolder),this.$bus.on("getMenuName",this.getMenuName),this.getFolder(),null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")&&(this.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))),this.$bus.on("updateInboxLMnum",this.unread),this.$bus.on("updateDraftsNum",this.drafts),this.getUnreadNum(),this.getdraftsNum()},beforeDestroy:function(){this.$bus.off("refreshFolder",this.refreshIsFolder),this.$bus.off("getMenuName",this.getMenuName),this.$bus.off("changeEmail"),this.$bus.off("updateInboxLMnum",this.unread),this.$bus.off("updateDraftsNum",this.drafts)},mounted:function(){},methods:{getFolder:function(){for(var e=this,t=null,a=0;a<this.routes.length;a++)this.routes[a].meta&&this.routes[a].meta.id===this.$route.meta.id&&1===this.routes[a].meta.level&&this.routes[a].children&&this.routes[a].children.length>0&&(t=this.routes[a],t.children[0].children=t.children[0].children||[]);if(null===t||sessionStorage.getItem("dynamicRoutes-"+this.loginUser.personAccount)){if("管理文件夹"===this.$route.meta.title);else if(-1===this.$route.meta.sysCode.indexOf("_ecyemail"))this.gotoPages("email.svg");else if(t){var n=t.children[0].children.filter((function(e){if(e.children&&1===e.children.length&&"mainpage"===e.children[0].meta.target)return!0}));n.length>0&&this.$router.push(n[0].children[0].fullPath)}}else if(null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")){var i=JSON.parse(sessionStorage.getItem("currentMail")),r=[{compare:"like",field:"mailAddr",merge:!0,value:i.emailAddr},{compare:"=",field:"orgCode",merge:!0,value:i.orgCode}];this.$app.querydata("/mail/byRegulator/querydata",r).then((function(t){"success"===t.code?t.body.listdata.length&&1===i.accountType&&(e.yjjkMenu=!0):e.$alert(t.message,{type:"error"})}));var o=[{compare:"like",field:"backupAdds",merge:!0,value:"%".concat(this.loginUser.personAccount,"%")}];this.$app.querydata("/mail/userSetup/querydata",o).then((function(t){"success"===t.code?t.body.listdata.length&&1===i.accountType&&(e.bfyxMenu=!0):e.$alert(t.message,{type:"error"})}));var s=i.id,l={orderBy:"orderNo asc",urlsearch:"boxType:DEFINED;usersetId:".concat(s)};this.$app.listdata("/mail/messageBox/listdata",l).then((function(a){"success"===a.code?(e.folder=a.body.pageInfo.list,e.getDh(t)):e.$alert(a.message,{type:"error"})}))}else this.gotoPages("email.svg")},getDh:function(e){for(var t,a=this,n=function(){var n=a.routes[i];if(n.meta&&n.meta.parentId===a.$route.meta.id){if(n.meta.dynamicRoute=!0,n.children&&1===n.children.length){n.component=window.$loadComponent("@/wapp/common/layout/components/Blank");var r=n.children[0];r.path=n.children[0].meta.id+i,r.fullPath=n.path+"/"+r.path,r.meta.target="mainpage",n.meta.href="@/wapp/common/layout/components/Blank"}else n.path=e.path+"/"+e.children[0].path+"/"+n.meta.id;e.children[0].meta.dynamicRoute=!0,e.children[0].children.push(n),"自定义文件夹"===n.meta.title&&(n.children=[],t=[],a.folder.forEach((function(e){t.push({id:e.id,name:e.boxName})})),t.push({id:"glwjj",name:"管理文件夹"}),n.component=window.$loadComponent("@/wapp/common/layout/components/Blank"),n.meta.href="@/wapp/common/layout/components/Blank",t.forEach((function(e){var t={path:e.id,name:e.id,alias:e.name,hidden:!1,alwaysShow:!1,component:a.$loadComponent("@/wapp/email/components/EmailFolder"),meta:{id:e.id,title:e.name,level:3,parentId:n.meta.id,parentIconCode:n.meta.icon,parentTitle:n.alias,activeMenu:n.path+"/"+e.id,sysCode:n.meta.sysCode,target:"mainpage",href:"@/wapp/email/components/EmailFolder"}};n.children.push(t)})))}},i=0;i<this.routes.length;i++)n();this.xieyoujianPath={path:"writeMail",fullPath:e.path+"/"+e.children[0].path+"/writeMail",name:"writeMail",alias:"写邮件",hidden:!1,alwaysShow:!1,component:this.$loadComponent("@/wapp/email/EmailXieyoujian"),meta:{id:"writeMail",code:"writeMail",title:"写邮件",level:2,parentId:e.children[0].id,parentIconCode:e.children[0].meta.code,parentTitle:e.children[0].alias,activeMenu:e.children[0].path,sysCode:e.children[0].meta.sysCode,icon:"email_xieyoujian.svg",target:"mainpage",href:"@/wapp/email/EmailXieyoujian"}},e.children[0].children.push(this.xieyoujianPath),this.$router.addRoutes([e]),e.meta.href="@/wapp/common/layout/index",e.children[0].meta.href="@/wapp/email/EmailIndex",sessionStorage.setItem("dynamicRoutes-"+this.loginUser.personAccount,JSON.stringify([e])),this.activeMenu&&0===this.activeMenu.indexOf("/tm/")&&this.gotoWrite();var r=e.children[0].children.filter((function(e){if(e.children&&1===e.children.length&&"mainpage"===e.children[0].meta.target)return!0}));r.length>0&&this.$router.push(r[0].children[0].fullPath)},getMenuName:function(e,t){this.menuName=e,this.menuIcon=t,this.menuIcon.indexOf(".svg")>-1?this.menuIconClass=this.menuIcon.substring(0,this.menuIcon.lastIndexOf(".svg")):this.menuIcon="el-icon-"+this.menuIcon},getUnreadNum:function(){var e=this;return q(R().mark((function t(){var a,n,i;return R().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=0,n={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.defultMail.id,";")},t.next=4,e.$app.listdata("/mail/messageBox/listdata",n);case 4:i=t.sent,"success"===i.code&&i.body.pageInfo.list.forEach((function(e){return"INBOX"===e.boxType&&(a=e.notReadedNum),!1})),e.$bus.emit("updateInboxLMnum",a);case 7:case"end":return t.stop()}}),t)})))()},getdraftsNum:function(){var e=this;return q(R().mark((function t(){var a,n,i;return R().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0,n=JSON.parse(sessionStorage.getItem("currentMail")),i=n.id,e.$http({contentType:"application/x-www-form-urlencoded",url:"/mail/message/listdata?&usersetId="+i,params:{mailBoxType:"DRAFT",accountType:1},method:"POST"}).then((function(t){e.draftsNum=a=t.body.pageInfo.total})),e.$bus.emit("updateDraftsNum",a);case 5:case"end":return t.stop()}}),t)})))()},refreshIsFolder:function(){var e=this;console.log("refreshIsFolder",new Date),this.isFolder=!1,this.getFolder(),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))})),this.$nextTick((function(){e.isFolder=!0}))},gotoWrite:function(){this.gotoPages("writeMail")},gotoPages:function(e){var t=this.getMenuCode(e);if(t){var a;if(t.fullPath)a=t.fullPath;else switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},unread:function(e){var t=this;return q(R().mark((function a(){return R().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.unreadNum=e,t.$emit("getate",t.unreadNum),t.updataLM=!1,t.$nextTick((function(){t.updataLM=!0}));case 4:case"end":return a.stop()}}),a)})))()},drafts:function(e){var t=this;return q(R().mark((function a(){return R().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.draftsNum=e,t.updataLm=!1,t.$nextTick((function(){t.updataLm=!0}));case 3:case"end":return a.stop()}}),a)})))()},resetRoute:function(e){return e.meta&&"收件箱"===e.meta.title?e.children&&e.children.length>0&&this.unreadNum>0&&(e.children[0].alias="收件箱("+this.unreadNum+")",e.children[0].meta&&(e.children[0].meta.title="收件箱("+this.unreadNum+")")):e.meta&&"草稿箱"===e.meta.title&&e.children&&e.children.length>0&&this.draftsNum>0&&(e.children[0].alias="草稿箱"+this.draftsNum+")",e.children[0].meta&&(e.children[0].meta.title="草稿箱("+this.draftsNum+")")),e}}},ee=Z;n(6324);function te(e,t,a,n,i,r,o,s){var l,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=a,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},d._ssrRegister=l):i&&(l=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:d}}var ae=te(ee,s,l,!1,null,null,null),ne=ae.exports;function ie(e){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ie(e)}function re(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function oe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?re(Object(a),!0).forEach((function(t){se(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):re(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function se(e,t,a){return(t=le(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function le(e){var t=de(e,"string");return"symbol"==ie(t)?t:t+""}function de(e,t){if("object"!=ie(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ce=n(8097).A,ue=n(553).A,me={name:"MailLayout",components:{LeftMenu:ne},mixins:[ce],data:function(){return{i18npkg:"email",moduleCode:"emailWatch",valueMail:"",valueHead:null,accountList:[],defultMail:null,innerMail:null,outMail:null,loginUser:this.$store.getters.loginUser,accountDialog:!1,show:!0,awaitShow:!1,lastTimeLog:{},unreadNum:0}},computed:oe(oe(oe({},H(["routes"])),N({sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},showSettings:function(e){return e.settings.showSettings},needTagsView:function(e){return e.settings.tagsView},fixedHeader:function(e){return e.settings.fixedHeader}})),{},{classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}},showTopMenus:function(){return this.$store.state.settings.showTopMenus}}),beforeCreate:function(){},created:function(){this.$options.components["RightPanel"]=this.$loadComponent("@/wapp/common/components/RightPanel"),this.$options.components["AppMain"]=this.$loadComponent("@/wapp/common/layout/components/AppMain"),this.$options.components["Settings"]=this.$loadComponent("@/wapp/common/layout/components/Settings/index"),this.$options.components["TagsView"]=this.$loadComponent("@/wapp/common/layout/components/TagsView/index"),this.queryMyMailSetup(),this.queryLoginSysLog(),this.$bus.emit("showNavSearch",!1)},mounted:function(){this.$bus.on("queryMyMailSetup",this.queryMyMailSetup);var e=this;document.addEventListener("click",(function(t){if(e.$refs.imgHead){var a=e.$refs.imgHead.contains(t.target);a||(e.accountDialog=!1)}}))},beforeDestroy:function(){this.$bus.off("queryMyMailSetup",this.queryMyMailSetup),this.$bus.emit("showNavSearch",!0)},methods:{getate:function(e){this.unreadNum=e,console.log(e,140)},handleBodyOnClick:function(){this.$bus.emit("bodyOnClick",event)},queryMyMailSetup:function(){var e=this;sessionStorage.removeItem("currentMail"),this.show=!1,this.accountList=[];var t=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(a){t.loading=!1,"success"===a.code?(a.body.listdata.forEach((function(e){1===e.status&&t.accountList.push(e)})),t.accountList&&t.accountList.length>0?t.defultMail=t.accountList[0]:t.defultMail=null,t.defultMail?(sessionStorage.setItem("currentMail",JSON.stringify(t.defultMail)),t.valueMail=t.defultMail.emailAddr,t.valueHead=t.valueMail.substr(0,1),e.show=!0):e.show=!1,e.$bus.emit("refreshFolder"),e.awaitShow=!0):t.$message.error(a.message)}),(function(e){t.$message.error(e)}))},selectMail:function(e){e.id!==this.defultMail.id&&(this.valueMail=e.emailAddr,this.valueHead=e.emailAddr.substr(0,1),this.saveMailSetup(e),sessionStorage.setItem("currentMail",JSON.stringify(e)),this.$bus.emit("refreshFolder"),this.$bus.emit("refreshListData"),this.gotoPages("email.svg"),this.$refs.tagsView.closeAllTags())},saveMailSetup:function(e){var t=this;void 0!==e&&(e.isDefault=1,t.$http({method:"put",contentType:"application/x-www-form-urlencoded",data:e,url:"mail/userSetup/update"}).then((function(a){"success"===a.code&&(t.accountDialog=!1,t.defultMail=e,sessionStorage.setItem("currentMail",JSON.stringify(t.defultMail)),t.$bus.emit("changeEmail",e),t.valueHead=t.defultMail.emailAddr.substr(0,1))})))},colorDisplay:function(e){var t=new RegExp("[a-zA-Z0-9]");return t.test(e)?ue.getInitialColor(e,"letter"):ue.getInitialColor(e)},headDisplay:function(e){return 0===e.indexOf("<")?e.substr(1,1).toUpperCase():e.substr(0,1).toUpperCase()},queryLoginSysLog:function(){var e=this,t=[{compare:"=",field:"orgCode",value:this.loginUser.orgCode},{compare:"=",field:"personName",value:this.loginUser.personName},{compare:"=",field:"result",value:1},{compare:"like",field:"operateType",value:"login"}];this.$app.querydata("base/sysLog/querydata",t,"operateTime desc",1).then((function(t){"success"===t.code&&t.body.listdata&&t.body.listdata.length>0&&(e.lastTimeLog=t.body.listdata[0])}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a,query:{row:this.row}})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t}}},pe=me,he=(n(2342),te(pe,r,o,!1,null,"b27ea0b0",null)),fe=he.exports,_e=function(){var e=this,t=e._self._c;return t("div",{staticClass:"app-container"},[e.currentMail?t("data-table",{staticClass:"widthChange",attrs:{"on-cell-click":e.onCellClick,"module-info":e.moduleInfo,"tb-columns":e.tbColumns,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad,"on-list-data-loaded":e.onListDataLoaded,"on-selected-rows-change":e.selectedRowsChange,"on-delete-successed":e.onDeleteSuccessed}},[t("template",{slot:"toolbarLeft-slotLeft"},[t("div",{staticClass:"span"},[t("span",{staticClass:"spanChild",style:{color:"全部"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("全部")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"全部"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_qb"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"all",expression:"'all'"}]},[e._v("全部")])]),t("span",{staticClass:"spanChild",style:{color:"图片"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("图片")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"图片"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_tp"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"picture",expression:"'picture'"}]},[e._v("图片")])]),t("span",{staticClass:"spanChild",style:{color:"文档"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("文档")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"文档"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_wd"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"file",expression:"'file'"}]},[e._v("文档")])]),t("span",{staticClass:"spanChild",style:{color:"音频"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("音频")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"音频"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_yp"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"audio",expression:"'audio'"}]},[e._v("音频")])]),t("span",{staticClass:"spanChild",style:{color:"视频"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("视频")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"视频"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_sp"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"video",expression:"'video'"}]},[e._v("视频")])]),t("span",{staticClass:"spanChild",style:{color:"压缩包"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("压缩包")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"压缩包"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_ysb"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Compressed",expression:"'Compressed'"}]},[e._v("压缩包")])]),t("span",{staticClass:"spanChild",style:{color:"其他"===e.fileType?"#409EFF":""},on:{click:function(t){return e.fileTypeClick("其他")}}},[t("svg",{staticClass:"svg_stile",style:{fill:"其他"===e.fileType?"#409EFF":"#606266"},attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":"#icon-email_qt"}})]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"other",expression:"'other'"}]},[e._v("其他")])])])])],2):t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailInfo",expression:"'emailInfo'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1),t("Basicform",{attrs:{title:e.formTitle,"module-code":e.moduleInfo.moduleCode,"win-width":e.moduleInfo.winWidth,"win-height":e.moduleInfo.winHeight,"toolbar-btns":e.busiformBtns,"on-basic-form-before-open":e.onBasicFormBeforeOpen,"on-basic-form-opened":e.onBasicFormOpened,"on-basic-form-before-submit":e.onBasicFormBeforeSubmit,"on-basic-form-submited":e.onBasicFormSubmited},scopedSlots:e._u([{key:"default",fn:function(a){return[t("busi-form",{attrs:{vo:a.vo,"can-edit":a.canEdit,"module-info":e.moduleInfo}})]}}])})],1)},ge=[];function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}function ve(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function be(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(a),!0).forEach((function(t){Me(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ve(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Me(e,t,a){return(t=we(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function we(e){var t=xe(e,"string");return"symbol"==ye(t)?t:t+""}function xe(e,t){if("object"!=ye(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ye(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Le={data:function(){return{i18npkg:"email",moduleCode:"accessoryList",showView:"listpage",loginUser:{},moduleInfo:{formTemplate:"dcontent/busiformurl?vwtype=W&url=/wf/busiAttach/form.html",winWidth:1e3,delUrl:"mail/attach/delete",addNewUrl:"mail/attach/addNew",insertUrl:"mail/attach/insert",moduleCode:"busiAttach",winHeight:600,updateUrl:"mail/attach/update",listDataUrl:"mail/attach/listdata",getByIdUrl:"mail/attach/getById",listAdvSearchAllFields:0},tbColumns:[{field:"state",checkbox:!0,width:"45px",sortable:!1,align:"center"},{listAdvSearchElement:"",field:"index",width:"45px",sortable:!1,propType:"",align:"center",title:this.$tx("fields.index","序号"),searchable:!1},{propFormatter:"component:@/wapp/email/components/EmailTbColumns",listAdvSearchElement:"",field:"fileName",width:"px",sortable:!0,propType:"String",align:"left",title:this.$tx("email.accessoryList.fields.fileName","文件名称"),searchable:!0},{listAdvSearchElement:"input",listAdvSearchIndex:2,field:"fileSize",width:"100px",elementFormatter:"",sortable:!0,propType:"String",align:"center",title:this.$tx("email.accessoryList.fields.size","大小"),searchable:!1},{propFormatter:"format:YYYY年MM月dd日",listAdvSearchElement:"date",listAdvSearchIndex:0,field:"updateTime",width:"150px",elementFormatter:"111",sortable:!0,propType:"java.util.Date",align:"center",title:this.$tx("email.accessoryList.fields.date","日期"),searchable:!0}],listpageBtns:[{btnName:this.$tx("pageBtns.download","下载"),btnIcon:"download",btnClick:this.download,btnPermission:"download",id:"btn_edit",btnType:"column"},{btnName:this.$tx("pageBtns.forward","转发"),btnIcon:"edit",btnClick:this.transmit,btnPermission:"transmit",id:"btn_btn2",btnType:"toolbar"},{btnName:this.$tx("pageBtns.download","下载"),btnIcon:"download",btnClick:this.allDownload,btnPermission:"download",id:"btn_btn3",btnType:"toolbar"}],busiformBtns:[],formTitle:this.$tx("email.accessoryList.AttachmentFile","附件文件"),fileType:"全部",row:[],isOne:0,currentMail:null}},computed:be({},H(["routes","sidebar"])),watch:{$route:function(e,t){this.setShowView()}},created:function(){this.moduleInfo.listpageViewUrl="[ecyemail]-/wf/busiAttach/list.html";var e=this;this.listpageBtns.forEach((function(t){if(t.btnParams=null,"string"===typeof t.btnClick){var a=t.btnClick;if(-1!==t.btnClick.indexOf("(")){var n=a.substring(a.indexOf("(")+1,a.lastIndexOf(")"));""!==n&&(n=n.replace(/'/g,"").replace(/ /g,"").split(","),t.btnParams=n),a=a.split("(")[0]}e[a]&&(t.btnClick=e[a])}})),this.tbColumns[this.tbColumns.length]={field:"column_operate",title:this.$tx("pageBtns.operate","操作"),width:"70px",align:"center",valign:"middle"};var t=this.moduleInfo.formTemplate.split("url=")[1];t=t.replace(/\//g,"."),t="#/dcontent/vuebusiform/W/"+t.substring(1).replace(".html",".vue"),t+="?sysCode="+(this.$route.meta.sysCode||""),this.$options.components["BusiForm"]=this.$loadComponent(t)},beforeDestroy:function(){},mounted:function(){this.currentMail=sessionStorage.getItem("currentMail"),this.setShowView()},methods:{transmit:function(){if(this.row.length>0){var e=this.row.map((function(e){return e.fileName})),t=new Set(e);t.size===e.length?this.gotoPages("writeMail","1"):this.$message.error(this.$tx("email.messages.notSelectAttach","不能选择相同的附件,请重新选择"))}else this.$message.error(this.$tx("email.messages.selectAttach","请选择要转发的附件"))},gotoPages:function(e){var t=this.getMenuCode(e);if(console.log("toPath",t),t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.fullPath}this.$router.push({path:a,query:{row:this.row}})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},onCellClick:function(e){if(void 0!==e.id){var t=[".doc",".docx",".xls",".xlsx",".ppt",".pptx"],a=e.fileName.split("."),n="."+a[a.length-1];t.includes(n)?window.open("/apigw/mail/attach/downAttachment?topdf=true&inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath):window.open("/apigw/mail/attach/downAttachment?inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath)}},selectedRowsChange:function(e){this.row=e},allDownload:function(){if(this.row.length>0){var e="";this.row.forEach((function(t){""!==e&&(e+=","),e+=t.id})),window.open("/apigw//mail/attach/downAttachmentZip?inline=true&ids="+e+"&saveAs="+(this.row.length>1?encodeURIComponent(this.row[0].fileName.split(".")[0]):encodeURIComponent(this.row[0].fileName)))}else this.$message.error(this.$tx("email.messages.downAttach","请选择要下载的附件"))},download:function(e){void 0!==e.id&&window.open("/apigw/mail/attach/downAttachment?inline=false&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+encodeURIComponent(e.fileName)+"&id="+e.id+"&filePath="+e.filePath)},fileTypeClick:function(e){this.fileType=e,this.$bus.emit("refreshListData")},setShowView:function(){-1!==this.$route.fullPath.indexOf("itemurl=")?this.showView="mainform":this.showView="listpage"},onListDataBeforeLoad:function(e,t){var a;(t.orderBy="updateTime desc",this.loginUser=e.loginUser,null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail"))&&("全部"===this.fileType?t.urlsearch="fileType!:RUGULATOR;":(a="其他"===this.fileType?"fileType!:image,video,doc,audio,zip,RUGULATOR":"视频"===this.fileType?"fileType:video":"音频"===this.fileType?"fileType:audio":"图片"===this.fileType?"fileType:image":"文档"===this.fileType?"fileType:doc":"压缩包"===this.fileType?"fileType:zip":"",t.urlsearch=a));this.isOne++,console.log("wfBusiAttach listdata before load..")},onListDataLoaded:function(e,t){console.log("wfBusiAttach listdata loaded")},onDeleteSuccessed:function(e,t){console.log("wfBusiAttach delete successed")},onBasicFormBeforeOpen:function(e,t,a){console.log("wfBusiAttach form before open"),a.resolve(!0)},onBasicFormOpened:function(e,t){console.log("wfBusiAttach form opened")},onBasicFormBeforeSubmit:function(e,t,a){console.log("wfBusiAttach form submit validation success"),a.resolve(!0)},onBasicFormSubmited:function(e,t){console.log("wfBusiAttach form submited")}}},ke=Le,Te=(n(1527),te(ke,_e,ge,!1,null,"45c17f86",null)),Se=Te.exports,Ye=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",{staticClass:"left_account"},[t("div",{staticClass:"top"},[t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"grouping",expression:"'grouping'"}],attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("分组")]),t("i",{staticClass:"el-icon-delete",staticStyle:{float:"right","margin-right":"20px","line-height":"47.2px",height:"47.2px"},attrs:{"icon-class":"del"},on:{click:e.deleteMail}}),t("i",{staticClass:"el-icon-plus",staticStyle:{float:"right","margin-right":"10px","line-height":"47.2px",height:"47.2px"},on:{click:e.addEmail}})],1),t("el-checkbox-group",{on:{change:e.handleCheckedCitiesChange},model:{value:e.checkedCities,callback:function(t){e.checkedCities=t},expression:"checkedCities"}},[t("ul",[[e._l(e.accountList,(function(a){return t("li",{key:a,staticClass:"checkBoxlabel",class:e.dynamic,style:{position:"relative",backgroundColor:e.urlSechId===a.id?"#1890ff":""},on:{click:function(t){return t.target!==t.currentTarget?null:e.lineClick(a)}}},[t("el-checkbox",{staticStyle:{height:"14px","line-height":"14px"},attrs:{label:a.id,value:a.id},on:{click:function(t){return t.target!==t.currentTarget?null:e.checkboxClick.apply(null,arguments)}}},[t("span",{style:{color:e.urlSechId===a.id?"white":""},on:{click:function(t){return t.preventDefault(),e.lineClick(a)}}},[e._v(" "+e._s(a.groupName)+" "),e._l(e.mapNum,(function(n){return t("span",{key:n},[e._v(e._s(n.key===a.id?" ( ".concat(n.res," ) "):null))])}))],2)]),t("i",{key:a.id,staticClass:"el-icon-edit",style:{position:"absolute",right:"21px",top:" 39%",color:e.urlSechId===a.id?"white":""},attrs:{"icon-class":"followedit"},on:{click:function(t){return t.stopPropagation(),e.editingGroup(a.id)}}})],1)})),t("li",{style:{display:"inline-block",paddingLeft:"33px",fontSize:"14px",color:"#606266",backgroundColor:"0"===e.urlSechId?"#1890ff":""},on:{click:function(t){return e.lineClick("未分组")}}},[t("span",{style:{color:"0"===e.urlSechId?"white":""}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"notGroup",expression:"'notGroup'"}]},[e._v("未分组")]),e._l(e.mapNum,(function(a){return t("span",{key:a},[e._v(e._s("0"===a.key?" ( ".concat(a.res," ) "):null))])}))],2)]),t("li",{style:{display:"inline-block",paddingLeft:"33px",fontSize:"14px",color:"#606266",backgroundColor:e.urlSechId?"":"#1890ff"},on:{click:function(t){return e.lineClick("全部")}}},[t("span",{style:{color:e.urlSechId?"":"white"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"all",expression:"'all'"}]},[e._v("全部")]),e._l(e.mapNum,(function(a){return t("span",{key:a},[e._v(e._s(""===a.key?" ( ".concat(a.res," ) "):null))])}))],2)])]],2)])],1),t("RightPanel",[e.isTableList?t("data-table",{attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange,"on-list-data-before-load":e.onListDataBeforeLoad}}):e._e()],1),e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.address.BookGroup","通讯录分组"),visible:e.dialogFormVisible,width:"550px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{staticStyle:{margin:"10px 0px","text-align":"center"},attrs:{rules:e.rules,model:e.form}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"GroupName",expression:"'GroupName'"}]},[e._v("分组名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"分组名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"false",placeholder:e.$tx("email.address.GroupNameEnter","请输入分组名称")},model:{value:e.form.groupName,callback:function(t){e.$set(e.form,"groupName",t)},expression:"form.groupName"}})],1)]}}],null,!1,2830525282)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"order",expression:"'order'"}]},[e._v("排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"排序",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"false",placeholder:e.$tx("email.address.orderTip","请输入4位数字排序")},model:{value:e.form.ordreNo,callback:function(t){e.$set(e.form,"ordreNo",t)},expression:"form.ordreNo"}})],1)]}}],null,!1,3052659162)})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{icon:"el-icon-close"},on:{click:e.cancel}},[e._v("关 闭")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{type:"primary",icon:"el-icon-check"},on:{click:e.groupingConfirm}},[e._v("保 存")])],1)],1):e._e(),e.dialogFormVisibleTxl?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.address.mailList","通讯录"),visible:e.dialogFormVisibleTxl,width:"600px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisibleTxl=t}}},[t("el-form",{staticStyle:{margin:"10px 0px","text-align":"center"},attrs:{rules:e.rules,model:e.formTxl}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17",staticStyle:{"text-align":"right"}},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"name",expression:"'name'"}]},[e._v("姓名")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isUpdate?t("form-item",{ref:"flCreator",attrs:{field:{defaultValue:null,elementCanEdit:"{${canEdit}}",elementCssHeight:null,elementCssWidth:null,elementFormatter:null,elementReadonly:0,elementType:"input",emptyMessage:"请输入",errorMessage:null,formTdAlign:"text-left",formTdColspan:0,isRequired:0,onClickEvent:null,passenger:{},propComment:"姓名",propName:"name",propType:"String",textFormatter:"textfield",valueMaxLength:32,valueMinLength:null,model:"vo.flCreator",option:[],tbFieldName:"flcreator",dialog:1,dialogType:"staff",dialogMultiple:!1,dialogShowemail:!1,dialogShowmobile:!1,dialogShowaccount:!1,dialogOrgLevel:e.isShowGroup?"0":"",dialogSubOrgName:"",dialogOrgSelf:!1},vo:e.formTxl,"can-edit":1}}):t("span",[e._v(e._s(e.formTxl.name))])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required",staticStyle:{color:"red"}},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailAddress",expression:"'emailAddress'"}]},[e._v("邮箱地址")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isUpdate?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱地址",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"new-password",placeholder:e.$tx("email.address.emailAddressEnter","请输入邮箱地址")},model:{value:e.formTxl.email,callback:function(t){e.$set(e.formTxl,"email",t)},expression:"formTxl.email"}})],1)]}}],null,!1,1389631351)}):t("span",[e._v(e._s(e.formTxl.email))])],1)]),t("tr",[t("td",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"grouping",expression:"'grouping'"}],staticClass:"el-table__cell tdlbl tdw17",staticStyle:{"text-align":"right"}},[e._v("分组:")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isUpdate?t("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:e.$tx("email.address.groupingEnter","请选择分组")},on:{change:e.formTxlChange},model:{value:e.formTxl.groupName,callback:function(t){e.$set(e.formTxl,"groupName",t)},expression:"formTxl.groupName"}},e._l(e.accountList,(function(e){return t("el-option",{key:e.id,attrs:{label:e.groupName,value:e.id}})})),1):t("span",[e._v(e._s(e.formTxl.groupName))])],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{icon:"el-icon-close"},on:{click:function(t){e.dialogFormVisibleTxl=!1}}},[e._v("关 闭")]),e.isUpdate?e._e():t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"update",expression:"'update'"}],attrs:{type:"primary",icon:"el-icon-edit"},on:{click:function(t){e.isUpdate=!0}}},[e._v("修 改")]),e.isUpdate?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{type:"primary",icon:"el-icon-check"},on:{click:e.groupingConfirmTxl}},[e._v("保 存")]):e._e()],1)],1):e._e()],1)},De=[];function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function Ce(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ce=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==je(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(je(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Ae(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ie(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Ae(r,n,i,o,s,"next",e)}function s(e){Ae(r,n,i,o,s,"throw",e)}o(void 0)}))}}var Ee={components:{},props:{},data:function(){return{i18npkg:"email",moduleCode:"address",accountList:[],checkAll:!1,checkedCities:[],isIndeterminate:!1,dialogFormVisible:!1,dialogFormVisibleTxl:!1,form:{},formTxl:{},moduleInfo:{getByIdUrl:"/mail/linkman/getById",listDataUrl:"/mail/linkman/listdata",addNewUrl:"/mail/linkman/addNew",insertUrl:"/mail/linkman/insert",updateUrl:"/mail/linkman/update",uploadUrl:"/mail/linkman/upload",queryDataUrl:"/mail/linkman/querydata",updateGroupUrl:"/mail/linkman/updateGroup",delUrl:"/mail/linkman/delete",winWidth:1e3,winHeight:650},tableList:[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"名字",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"groupName",title:"分组",align:"left",width:"150px",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("pageBtns.operate","操作"),width:"100px",align:"center",valign:"middle"}],listpageBtns:[{btnName:"新增",btnIcon:"plus",btnClick:this.addContacts,btnPermission:"add",id:"btn_add",btnType:"toolbar"},{id:"btn_deleteIds",btnName:"删除",btnIcon:"delete",btnClick:this.delete,btnPermission:"deleteIds",btnType:"toolbar"},{id:"btn_btn3",btnName:"编辑",btnIcon:"edit",btnClick:this.editObjectId,btnPermission:"editObject",btnType:"column"},{id:"btn_btn4",btnName:"删除",btnIcon:"delete",btnClick:this.deleteIds,btnPermission:"deleteIds",btnType:"column"},{btnName:this.$tx("email.pageBtns.transferGroup","转移分组"),btnIcon:"export.svg",btnClick:"fastDetail();",btnPermission:"fastDetail",id:"btn_btn5",btnType:"toolbarBtnGroup"}],groupingUrl:{addNew:"/mail/linkmanGroup/addNew",delete:"/mail/linkmanGroup/delete",insert:"/mail/linkmanGroup/insert",update:"/mail/linkmanGroup/update",listdata:"/mail/linkmanGroup/querydata",getById:"/mail/linkmanGroup/getById"},usersetId:this.$store.getters.loginUser,row:[],addOrupdate:!0,addOrupdateContacts:!0,urlSechId:null,isTableList:!1,getXlGroupingList:[],firstGetGrouping:!1,mapNum:[],isUpdate:!1,emlUrl:"",selectGroundId:"",selectGroundName:"",isShowGroup:!1}},computed:{curUser:function(){return this.$store.getters.loginUser}},watch:{},created:function(){var e=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){e.emlUrl="@"+t.body.listdata[0].emailAddr.split("@")[1],console.log(e.emlUrl,"this.emlUrl")})),this.getGrouping(),this.getXlGrouping(),this.getGroupAuth()},beforeDestroy:function(){},mounted:function(){},methods:{onSelectStaffCompleted:function(e,t){var a=this;this.$http({method:"GET",contentType:"application/json",url:"/mail/linkman/getEmailMainByRootOrgId?rootOrgId="+e[0].orgFullId.split("-")[0]}).then((function(t){"success"===t.code?a.formTxl.email=e[0].account+t.body.emailMain:a.formTxl.email=e[0].account+a.emlUrl})),this.formTxl.name=e[0].name,this.formTxl.staffId=e[0].id,this.formTxl.account=e[0].account,console.log(e[0],this.$store.getters.loginUser,"selectedNodes")},deleteIdsLxr:function(e){var t=this;this.$confirm(this.$tx("email.messages.isDel","确定要删除该联系人吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function a(){var n,i;return Ce().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=[],n.push(e.id),a.next=4,t.$app.deleteByIds(t.moduleInfo.delUrl,n);case 4:i=a.sent,"success"===i.code?(t.$message.success(i.message),t.$bus.emit("refreshListData")):t.$message.error(i.message);case 6:case"end":return a.stop()}}),a)}))))},cellclick:function(e){this.editObjectId(e),this.isUpdate=!1},checkboxClick:function(){return!1},toExport:function(e){var t="/file/exportDetail.do?id="+e;window.open(t)},stafflzRow:function(e,t,a){var n=this;this.row.length>0?this.$confirm(this.$tx("email.messages.isTransfer","确定要转移选中的联系人吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function t(){var a,i,r;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=[],n.row.forEach((function(e){a.push(e.id)})),i={},n.$set(i,"email",null),n.$set(i,"groupId",e.id),n.$set(i,"groupName",e.btnName),n.$set(i,"id",null),n.$set(i,"orgCode",null),n.$set(i,"orgName",null),n.$set(i,"passenger",{ids:a}),n.$set(i,"personId",null),t.next=13,n.$app.update(n.moduleInfo.updateGroupUrl,i);case 13:r=t.sent,"success"===r.code?(n.$message.success(r.message),n.$bus.emit("refreshListData")):n.$message.error(r.message);case 15:case"end":return t.stop()}}),t)})))):this.$message.error(this.$tx("email.messages.selectTransfer","请选择要转移的联系人"))},editObjectId:function(e){var t=this;this.addOrupdateContacts=!1,this.$http({url:this.moduleInfo.getByIdUrl,method:"GET",params:{id:e.id}}).then((function(e){"success"===e.code?(t.formTxl=e.body.vo,t.formTxl.personId=t.usersetId.personId,t.dialogFormVisibleTxl=!0):t.$message.error(e.message)}))},lineClick:function(e){var t=this;e.groupName?(this.selectGroundName=e.groupName,this.selectGroundId=e.id):this.selectGroundName="未分组",this.isTableList=!1,"未分组"===e?(this.tableList=[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"姓名",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("fields.operate","操作"),width:"100px",align:"center",valign:"middle"}],this.urlSechId="0"):"全部"===e?(this.tableList=[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"姓名",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"groupName",title:"分组",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("fields.operate","操作"),width:"100px",align:"center",valign:"middle"}],this.urlSechId=null):(this.tableList=[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"name",title:"姓名",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"email",title:"邮箱",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"groupName",title:"分组",align:"left",valign:"middle",width:"150px",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("fields.operate","操作"),width:"100px",align:"center",valign:"middle"}],this.urlSechId=e.id),this.$nextTick((function(){t.isTableList=!0})),this.$bus.emit("refreshListData")},formTxlChange:function(e){this.formTxl.groupId=e},selectedRowsChange:function(e){this.row=e},getXlGrouping:function(){var e=this;this.isTableList=!1,this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.listdata,params:{orderBy:"ordreNo asc"},method:"POST",data:[{compare:"=",field:"orgCode",merge:!1,value:this.curUser.orgCode},{compare:"=",field:"personId",merge:!1,value:this.usersetId.personId}]}).then((function(t){if("success"===t.code){var a=[],n=[{btnName:"新增",btnIcon:"plus",btnClick:e.addContacts,btnPermission:"add",id:"btn_add",btnType:"toolbar"},{id:"btn_deleteIds",btnName:"删除",btnIcon:"delete",btnClick:e.delete,btnPermission:"deleteIds",btnType:"toolbar"},{id:"btn_btn3",btnName:"编辑",btnIcon:"edit",btnClick:e.editObjectId,btnPermission:"editObject",btnType:"column"},{id:"btn_btn4",btnName:"删除",btnIcon:"delete",btnClick:e.deleteIdsLxr,btnPermission:"deleteIds",btnType:"column"},{btnName:e.$tx("email.pageBtns.transferGroup","转移分组"),btnIcon:"export.svg",btnClick:"fastDetail();",btnPermission:"fastDetail",id:"btn_btn5",btnType:"toolbarBtnGroup"}];a=t.body.listdata,a.length>0&&a.forEach((function(t){n.push({btnName:t.groupName,btnIcon:"",btnClick:e.stafflzRow,btnPermission:"staffzz",id:t.id,btnType:"toolbarChildBtn",clickType:"custom_toolbar_click"})})),e.listpageBtns=n,e.isTableList=!0}else e.$message.error(t.message)}))},getGrouping:function(){var e=this;this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.listdata,method:"POST",params:{orderBy:"ordreNo asc"},data:[{compare:"=",field:"orgCode",merge:!1,value:this.curUser.orgCode},{compare:"=",field:"personId",merge:!1,value:this.usersetId.personId}]}).then((function(t){if("success"===t.code)for(var a in e.accountList=t.body.listdata,e.mapNum=[],t.body.map)e.mapNum.push({key:a,res:t.body.map[a]});else e.$message.error(t.message)}))},getGroupAuth:function(){var e=this;this.$http({url:"/base/apiOrganMgr/getOneGroupCorpStatus",method:"GET"}).then((function(t){"success"===t.code&&t.body?t.body.status?e.isShowGroup=!0:e.isShowGroup=!1:e.$message.error(t.message)}))},groupingConfirmTxl:function(){var e=this;this.formValidate(Ie(Ce().mark((function t(){var a,n;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.accountList.forEach((function(t){t.id===e.formTxl.groupId&&(e.formTxl.groupName=t.groupName)})),a=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,!e.formTxl.email||a.test(e.formTxl.email)){t.next=6;break}e.$alert(e.$tx("email.address.emailNot","邮件格式不正确!"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.next=17;break;case 6:if(n=null,!e.addOrupdateContacts){t.next=13;break}return t.next=10,e.$app.insert(e.moduleInfo.insertUrl,e.formTxl);case 10:n=t.sent,t.next=16;break;case 13:return t.next=15,e.$app.update(e.moduleInfo.updateUrl,e.formTxl);case 15:n=t.sent;case 16:"success"===n.code?(e.$message.success(n.message),e.dialogFormVisibleTxl=!1,e.formTxl={},e.$bus.emit("refreshListData")):e.$message.error(n.message);case 17:case"end":return t.stop()}}),t)}))),null,1)},addContacts:function(){var e=this;this.addOrupdateContacts=!0,this.isUpdate=!0,this.$http({url:this.moduleInfo.addNewUrl,method:"POST"}).then((function(t){"success"===t.code?(e.formTxl=t.body.vo,e.formTxl.groupName=e.selectGroundName,e.formTxl.groupId=e.selectGroundId?e.selectGroundId:"0",e.formTxl.personId=e.usersetId.personId):e.$message.error(t.message)})),this.dialogFormVisibleTxl=!0},delete:function(){var e=this;this.row.length>0?this.$confirm(this.$tx("email.messages.isSelectlxr","确定要删除选中的联系人吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function t(){var a,n;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=[],e.row.forEach((function(e){a.push(e.id)})),t.next=4,e.$app.deleteByIds(e.moduleInfo.delUrl,a);case 4:n=t.sent,"success"===n.code?(e.$message.success(n.message),e.$bus.emit("refreshListData")):e.$message.error(n.message);case 6:case"end":return t.stop()}}),t)})))):this.$message.error(this.$tx("email.messages.selectlxr","请选择要删除的联系人"))},transfer:function(){},editingGroup:function(e){var t=this;this.addOrupdate=!1,this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.getById,method:"GET",params:{id:e}}).then((function(e){"success"===e.code?(t.form=e.body.vo,t.dialogFormVisible=!0):t.$message.error(e.message)}))},cancel:function(){this.dialogFormVisible=!1},groupingConfirm:function(){var e=this,t=null;this.formValidate(Ie(Ce().mark((function a(){var n;return Ce().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!e.form.groupName||!e.form.ordreNo){a.next=17;break}if(n=/^\d{4}$/,n.test(e.form.ordreNo)){a.next=6;break}e.$alert(e.$tx("email.messages.isorderNUmber","请正确填写4位数字排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),a.next=17;break;case 6:if(e.form.personId=e.usersetId.personId,!e.addOrupdate){a.next=13;break}return a.next=10,e.$app.insert(e.groupingUrl.insert,e.form);case 10:t=a.sent,a.next=16;break;case 13:return a.next=15,e.$app.update(e.groupingUrl.update,e.form);case 15:t=a.sent;case 16:"success"===t.code?(e.$message.success(t.message),e.dialogFormVisible=!1,e.getGrouping(),e.getXlGrouping()):e.$message.error(t.message);case 17:case"end":return a.stop()}}),a)}))),null,1)},deleteMail:function(){var e=this;this.checkedCities.length>0?this.$confirm(this.$tx("email.messages.isDelGroup","确定要删除选中分组吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(Ie(Ce().mark((function t(){var a;return Ce().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$app.deleteByIds(e.groupingUrl.delete,e.checkedCities);case 2:a=t.sent,"success"===a.code?(e.$message.success(a.message),e.getGrouping(),e.getXlGrouping()):e.$message.error(a.message);case 4:case"end":return t.stop()}}),t)})))):this.$message.error(this.$tx("email.messages.selectDelGroup","请选择要删除的分组"))},handleCheckAllChange:function(){var e=[];this.accountList.forEach((function(t){e.push(t.id)})),this.checkedCities=this.checkAll?e:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){var t=e.length;this.checkAll=t===this.accountList.length,this.isIndeterminate=t>0&&t<this.accountList.length},addEmail:function(){var e=this;this.addOrupdate=!0,this.$http({contentType:"application/x-www-form-urlencoded",url:this.groupingUrl.addNew,method:"POST"}).then((function(t){"success"===t.code?e.form=t.body.vo:e.$message.error(t.message)})),this.dialogFormVisible=!0},onListDataBeforeLoad:function(e,t){var a=this;return Ie(Ce().mark((function n(){return Ce().wrap((function(n){while(1)switch(n.prev=n.next){case 0:a.getGrouping(),a.urlSechId?t.urlsearch="groupId:".concat(a.urlSechId,";personId:").concat(a.usersetId.personId,";orgCode:").concat(e.loginUser.orgCode):t.urlsearch="personId:".concat(a.usersetId.personId,";orgCode:").concat(e.loginUser.orgCode);case 2:case"end":return n.stop()}}),n)})))()}}},Oe=Ee,Pe=(n(1173),te(Oe,Ye,De,!1,null,"a78c7e32",null)),Ne=Pe.exports,He=function(){var e=this,t=e._self._c;return t("div",{staticClass:"helperMailCont"},[t("h4",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle",expression:"'guideTitle'"}]},[e._v("新网邮箱设置帮助指南")]),t("h5",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle1",expression:"'guideTitle1'"}]},[e._v("1、登录新网邮箱:http://ntmail.global-mail.cn")]),t("img",{attrs:{src:"./images/w-imgs/statistics/helpImg1.png",alt:""}}),t("h5",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle2",expression:"'guideTitle2'"}]},[e._v("2、登录邮箱后,点击 设置》客户端授权码》开启客户端授权码")]),t("img",{attrs:{src:"./images/w-imgs/statistics/helpImg2.png",alt:""}}),t("h5",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"guideTitle3",expression:"'guideTitle3'"}]},[e._v("3、设置客户端授权码")]),t("img",{attrs:{src:"./images/w-imgs/statistics/helpImg3.png",alt:""}})])},Fe=[],$e={components:{},props:[],data:function(){return{i18npkg:"email",moduleCode:"ecincMailHelp"}},computed:{},watch:function(){},created:function(){},beforeDestroy:function(){},mounted:function(){},methods:{}},ze=$e,Be=(n(2653),te(ze,He,Fe,!1,null,"556855f0",null)),We=Be.exports,Re=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{padding:"0 10px"}},[t("div",{staticClass:"mailtoolBtn"},[e.seeMail?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("forward")}}},[t("svg-icon",{attrs:{"icon-class":"email_zhuanfaIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"forward",expression:"'forward'"}]},[e._v("转发")])],1):e._e(),t("div",{ref:"deleteWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeDel}},[t("div",[t("span",{staticStyle:{"padding-right":"8px"}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delIcon"}})],1),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}]},[e._v("删除")]),t("i",{staticClass:"el-icon-arrow-down"})]),e.delPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}],on:{click:function(t){return e.setMailInfoFlag("deleted",1)}}},[e._v("删除")]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"comDel",expression:"'comDel'"}],on:{click:function(t){return e.setMailInfoFlag("thoroughDeleted",1)}}},[e._v("彻底删除")])]):e._e()]),t("div",{ref:"tagWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeBiaoji}},[t("div",[t("span",{staticStyle:{"padding-right":"8px"}},[t("svg-icon",{attrs:{"icon-class":"email_biaojiweiIcon"}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"MarkedAs",expression:"'MarkedAs'"}]},[e._v("标记为")]),t("i",{staticClass:"el-icon-arrow-down"})]),e.biaojiPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"read",expression:"'read'"}],on:{click:function(t){return e.setMailInfoFlag("readed",1)}}},[e._v("已读")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unread",expression:"'unread'"}],on:{click:function(t){return e.setMailInfoFlag("readed",0)}}},[e._v("未读")]),"FLAGGED"!==e.mailType?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"StarMarking",expression:"'StarMarking'"}],on:{click:function(t){return e.setMailInfoFlag("handle",1)}}},[e._v("标星")]):e._e(),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"StarMar",expression:"'StarMar'"}],on:{click:function(t){return e.setMailInfoFlag("handle",0)}}},[e._v("去除标星")])]):e._e()]),t("div",{ref:"moveWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeYidong}},[t("div",[t("span",{staticStyle:{"padding-right":"8px"}},[t("svg-icon",{attrs:{"icon-class":"email_yidongdaoIcon"}})],1),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"TransferTo",expression:"'TransferTo'"}]},[e._v("转移到")]),t("i",{staticClass:"el-icon-arrow-down"})]),e.yidongPopper?t("div",{staticClass:"changePopper"},[e.listwenjianjia&&e.listwenjianjia.length>0?e._l(e.listwenjianjia,(function(a){return t("div",{key:a},["DRAFT"!==a.boxType?t("span",{staticStyle:{cursor:"pointer"},on:{click:function(t){return e.moveBox(a)}}},[e._v(e._s(a.boxName))]):e._e()])})):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"not",expression:"'not'"}]},[e._v("无")])],2):e._e()]),e.seeMail?t("div",{staticClass:"mailtoolBtnInner",staticStyle:{flex:"1","text-align":"right","margin-right":"20px"}},[t("div",{staticClass:"back",on:{click:function(t){e.seeMail=!1}}},[t("svg-icon",{attrs:{"icon-class":"email_huifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"back",expression:"'back'"}]},[e._v("返回")])],1)]):e._e()]),e.seeMail?e._e():t("data-table",{ref:"dataTable",staticClass:"dataTable",attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange}}),e.mailInfo&&e.seeMail&&!e.loadingMail?[t("div",{staticStyle:{"padding-left":"10px",height:"calc(100vh - 207px)",overflow:"auto",position:"relative"}},[t("div",{staticClass:"text-left",staticStyle:{"overflow-y":"auto"},style:{height:e.quickDiv?"calc(100% - 36px)":"calc(100% - 10px)"}},[t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"theme",expression:"'theme'"}],staticClass:"detailPSize",staticStyle:{"font-size":"var(--portalFontSize14)","font-weight":"700"},attrs:{name:e.mailInfo.subject}},[e._v("主题:"+e._s(e.mailInfo.subject))]),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"detailPSize",attrs:{addr:e.mailInfo.fromAddr}},[e._v("发件人:"+e._s(e.mailInfo.fromAddr))]),null!=e.mailInfo.copyTo&&""!=e.mailInfo.copyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Copy",expression:"'Copy'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.copyTo}},[e._v("抄送:"+e._s(e.mailInfo.copyTo))]):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"detailPSize",attrs:{sendTo:e.mailInfo.sendTo}},[e._v("收件人:"+e._s(e.mailInfo.sendTo))]),null!=e.mailInfo.copyTo&&""!=e.mailInfo.copyTo?t("br"):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"time",expression:"'time'"}],staticClass:"detailPSize",attrs:{time:e.mailInfo.createTime}},[e._v("时间:"+e._s(e.mailInfo.createTime))]),e.mailInfo.attachsCount>0?t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content",expression:"'content'"}],staticClass:"detailPSize",attrs:{attachsCount:e.mailInfo.attachsCount}},[e._v("附件:共"+e._s(e.mailInfo.attachsCount)+"个附件")]),t("div",{staticStyle:{"margin-left":"30px","margin-top":"0","margin-bottom":"0"}},[e._l(e.mailInfo.attachments,(function(a){return[t("div",{key:a},[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px"},attrs:{src:e.imgUrl(a),alt:""}}),t("span",{staticClass:"glyphicon glyphicon-paperclip",staticStyle:{"margin-right":"5px","font-size":"var(--portalFontSize12)"}}),e._v(" "+e._s(a.fileName)+" "),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],attrs:{size:"small",type:"text"},on:{click:function(t){return e.downAttachment(a)}}},[e._v("下载")])],1)]}))],2)]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail?t("div",{staticStyle:{padding:"10px","border-top":"1px solid #ececec"}},[t("iframe",{ref:"mailInfoContent",attrs:{width:"100%",scrolling:"no",height:"800px",frameborder:"0"}})]):e._e()])])])]:e._e()],2)},Ue=[],qe=n(5373),Ge=n.n(qe);function Ve(e){return Ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ve(e)}function Je(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Je=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ve(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ve(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Qe(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ke(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Qe(r,n,i,o,s,"next",e)}function s(e){Qe(r,n,i,o,s,"throw",e)}o(void 0)}))}}function Xe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ze(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(a),!0).forEach((function(t){et(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Xe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function et(e,t,a){return(t=tt(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function tt(e){var t=at(e,"string");return"symbol"==Ve(t)?t:t+""}function at(e,t){if("object"!=Ve(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Ve(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var nt={components:{},props:{},data:function(){return{i18npkg:"email",moduleCode:"emailWatch",loginUser:this.$store.getters.loginUser,seeMail:!1,loadingMail:!1,listwenjianjia:null,moduleInfo:{listDataUrl:"mail/message/listdata",getByIdUrl:"mail/message/getMailInfoById",mailFlagUrl:"mail/message/setMailFlag",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft"},tableList:[{field:"state",checkbox:!0,width:"45px"},{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"ownerName",title:"监控对象",width:"200px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},sortable:!0,searchable:!0,listAdvSearchElement:"input",listAdvSearchIndex:3,elementFormatter:"",propFormatter:"function:operateActualSize"},{propFormatter:"component:@/wapp/email/components/EmailTbColumnsWatch?aaa",field:"subject",title:"邮件主题",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"sentdate",title:"发送时间",width:"150px",align:"center",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"date",elementFormatter:"format:yyyy-MM-dd HH:mm:ss\r\n",listAdvSearchIndex:4}],tableData:[],delPopper:!1,yidongPopper:!1,biaojiPopper:!1,currentMail:null,mailInfo:null,multipleSelection:[],newMailInfo:"",tipText:"",quickDiv:!1}},computed:Ze({},H(["routes","loginUser"])),watch:{},created:function(){console.log("emailWatch"),this.$bus.emit("showNavSearch",!0),null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")&&(this.currentMail=JSON.parse(sessionStorage.getItem("currentMail")))},beforeDestroy:function(){this.$bus.emit("showNavSearch",!1),this.$bus.off("changeEmail"),this.$bus.off("cellClick",this.onCellClickRows)},mounted:function(){var e=this,t=this;this.$bus.on("changeEmail",(function(t){e.currentMail=JSON.parse(sessionStorage.getItem("currentMail"))})),this.$bus.on("cellClick",this.onCellClickRows),document.addEventListener("click",(function(e){if(t.$refs.deleteWrap){var a=t.$refs.deleteWrap.contains(e.target);a||(t.delPopper=!1)}if(t.$refs.tagWrap){var n=t.$refs.tagWrap.contains(e.target);n||(t.biaojiPopper=!1)}if(t.$refs.moveWrap){var i=t.$refs.moveWrap.contains(e.target);i||(t.yidongPopper=!1)}}))},methods:{changeDel:function(){this.delPopper=!this.delPopper,this.delPopper&&(this.yidongPopper=!1,this.biaojiPopper=!1)},changeBiaoji:function(){this.biaojiPopper=!this.biaojiPopper,this.biaojiPopper&&(this.yidongPopper=!1,this.delPopper=!1)},changeYidong:function(){var e=this;return Ke(Je().mark((function t(){var a,n,i,r;return Je().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.yidongPopper=!e.yidongPopper,a={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.currentMail.id,";boxType!:REGULATE")},!e.yidongPopper){t.next=9;break}return t.next=5,e.$app.listdata("/mail/messageBox/listdata",a);case 5:n=t.sent,"success"===n.code&&(i=[],r=[],n.body.pageInfo.list.forEach((function(e,t){"DEFINED"===e.boxType?i.push(e):r.push(e)})),e.listwenjianjia=r.concat(i)),e.biaojiPopper=!1,e.delPopper=!1;case 9:case"end":return t.stop()}}),t)})))()},onCellClickRows:function(e){var t=this,a={};t.mailInfo=null,t.loadingMail=!0,t.seeMail=!0,a=e;var n=this.moduleInfo.getByIdUrl,i={mailBoxId:e.mailBoxId,messageId:a.mailMessageId,apigw:"apigw"};this.$http({method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:i,url:n}).then((function(e){"success"===e.code?(t.loadingMail=!1,t.mailInfo=e.body.vo,t.mailInfo.attachsCount=t.mailInfo.attachments.length,t.mailInfo.content&&t.seeMail&&t.$nextTick((function(){setTimeout((function(){t.$refs.mailInfoContent.contentWindow.document.write(t.mailInfo.content);var e=t.$refs.mailInfoContent.contentWindow.document.body.scrollHeight,a=t.$refs.mailInfoContent.contentWindow.document.documentElement.scrollHeight,n=Math.max(e,a);t.$refs.mailInfoContent.height=n}),100)})),t.newMailInfo=e.body.vo,t.tableData.forEach((function(e,n){e.mailMessageId===a.mailMessageId&&(t.tableData[n].readed=1)})),t.mailInfo.attachments.forEach((function(e){e.fmtFileSize=e.fileSize}))):(t.$message.error(e.message),t.seeMail=!1,t.loadingMail=!1)}),(function(e){t.$message.error(e)}))},selectedRowsChange:function(e){var t=this;t.mailInfo=null,t.loadingMail=!0,1===e.length?t.mailInfo=e[0]:this.multipleSelection=e},transIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailMessageId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailMessageId)})),e},transmailBoxIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailBoxId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailBoxId)})),e},imgUrl:function(e){var t=e.fileName||e.name;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png"},forwardMail:function(e){if(!this.mailInfo&&this.mailInfo.length<1)return this.$message.warning(this.$tx("email.messages.selectEmail","请先选择邮件")),!1;this.newMailInfo=this.mailInfo,this.newMailInfo.actionType=e,"forward"===e&&(this.newMailInfo.sendTo=null,this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.forwardSubject+":"+this.newMailInfo.subject),this.gotoPages("writeMail")},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a}),localStorage.setItem("newMailInfo",JSON.stringify(this.newMailInfo))}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},setMailInfoFlag:function(e,t,a){var n=this;if(!this.mailInfo&&this.multipleSelection.length<1)return this.$message.warning(this.$tx("email.messages.selectEmail","请先选择邮件")),!1;var i=[];i=this.transIds(),"deleted"===e?this.tipText=this.$tx("email.messages.isdelEmail","将删除该邮件, 是否继续?"):"thoroughDeleted"===e?this.tipText=this.$tx("email.messages.delEmailTip","将永久删除该邮件,删除后不可恢复, 是否继续?"):"readed"===e&&0===t?this.tipText=this.$tx("email.messages.signUnread","是否标记为未读?"):"readed"===e&&1===t?this.tipText=this.$tx("email.messages.signRead","是否标记为已读?"):"handle"===e&&0===t?this.tipText=this.$tx("email.messages.delSign","是否去除标星?"):"handle"===e&&1===t&&(this.tipText=this.$tx("email.messages.sign","是否标记为标星?")),a?this.setMailInfoFlagFuc(e,t,i):this.$confirm(this.tipText,this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确 定"),cancelButtonText:this.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){n.setMailInfoFlagFuc(e,t,i)})).catch((function(){}))},setMailInfoFlagFuc:function(e,t,a){var n=this,i=this,r=this.moduleInfo.mailFlagUrl;this.$http({method:"PUT",contentType:"application/x-www-form-urlencoded",params:{mailBoxId:this.tableData[0].mailBoxId,userSetupId:i.currentMail.id,messageIds:a,flagName:e,flagValue:t},paramsSerializer:function(e){return Ge().stringify(e,{indices:!1})},url:r}).then((function(r){"success"===r.code?(1===Number(t)?i.$message.success(r.message):i.$message.success(n.$tx("email.messages.successCancel","已成功取消")),"deleted"===e||"thoroughDeleted"===e?(!0===i.seeMail&&(i.seeMail=!1),i.$bus.emit("refreshListData"),i.mailInfo&&-1!==a.indexOf(i.mailInfo.mailMessageId)&&(i.mailInfo=null)):i.$bus.emit("refreshListData"),i.multipleSelection=[]):i.$message.error(r.message)}))},moveBox:function(e){var t=this;return Ke(Je().mark((function a(){var n,i,r;return Je().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=t,t.mailInfo||!(t.multipleSelection.length<1)){a.next=4;break}return t.$message.warning(t.$tx("email.messages.selectEmail","请先选择邮件")),a.abrupt("return",!1);case 4:return i={mailBoxId:e.id,passenger:{ids:t.transIds(),mailBoxId:t.transmailBoxIds()}},a.next=7,t.$app.update("/mail/message/moveToMailFolder",i);case 7:r=a.sent,"success"===r.code?(t.$message.success(t.$tx("email.messages.TransferSuccessful","转移成功!")),n.$bus.emit("refreshListData"),t.multipleSelection=[],t.mailInfo=null):t.$message.error(r.message);case 9:case"end":return a.stop()}}),a)})))()},downAttachment:function(e){if(null===this.mailInfo.mailBoxId)return!1;if(""===e.busiDataId||""===e.fileName)return!1;var t="/apigw/mail/attach/downAttachment?mailBoxId="+this.tableData[0].mailBoxId+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath;window.open(t,"_blank")},onListDataBeforeLoad:function(e,t){this.moduleInfo.listDataUrl="/mail/message/listdata?mailBoxType=REGULATE&usersetId="+this.currentMail.id+"&accountType="+this.currentMail.accountType},onListDataLoaded:function(e,t){console.log("vwfilefolder listdata loaded"),this.tableData=t.list}}},it=nt,rt=(n(8840),te(it,Re,Ue,!1,null,"c1a106ec",null)),ot=rt.exports,st=function(){var e=this,t=e._self._c;return t("LRLayout",{staticClass:"email_main",staticStyle:{padding:"0"},on:{click:function(t){e.visibleJump=!1}}},[null!==e.currentMail?t("LeftPanel",{ref:"LeftPanel",staticClass:"left",staticStyle:{width:"500px",height:"calc(100vh - 180px)",border:"none","border-right":"1px solid #eceff5"}},[t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticClass:"tbStyle",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark","highlight-current-row":""},on:{"selection-change":e.handleSelectionChange,"cell-click":e.readMail,"current-change":e.currentChangeFuc},model:{value:e.tableData,callback:function(t){e.tableData=t},expression:"tableData"}},[t("el-table-column",{attrs:{type:"selection",width:"30"}}),t("el-table-column",{scopedSlots:e._u([{key:"default",fn:function(a){return[t("p",{staticStyle:{margin:"0px",padding:"0",width:"100%",position:"relative",height:"23px","line-height":"23px"}},[1===a.row.mailWithdraw?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",float:"left","margin-top":"5px","margin-right":"5px"},attrs:{"icon-class":"wjzx_hsz_recolumn"}}):e._e(),t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"auto","max-width":"calc(100% - 100px)",float:"left",color:"#333333"},style:{fontWeight:0===a.row.readed?800:400}},[e._v(e._s("SENDED"!==e.mailType?a.row.passenger&&a.row.passenger.sendName?a.row.passenger.sendName:a.row.fromAddr:a.row.sendTo))]),1===a.row.containAttach?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",float:"left","margin-top":"5px","margin-left":"5px"},attrs:{"icon-class":"emailAttach"}}):e._e(),t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"80px","text-align":"right","padding-right":"8px",float:"right"}},[e._v(e._s(a.row.createTime))])],1),0===a.row.readed?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",position:"absolute",top:"36px",left:"-14px"},attrs:{"icon-class":"email_weidu"}}):e._e(),t("p",{staticStyle:{margin:"0px",padding:"0",width:"100%",position:"relative",height:"23px","line-height":"23px"}},[t("span",{staticClass:"listItem",staticStyle:{display:"inline-block",width:"calc(100% - 24px)",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},style:{fontWeight:0===a.row.readed?800:400,fontSize:0===a.row.readed?"15px":"13px"}},[a.row.mailSecret?t("span",{staticStyle:{"margin-right":"3px","font-size":"var(--portalFontSize13)",padding:"0px 5px",color:"rgb(255, 255, 255)",background:"#f12202","border-radius":"3px",position:"relative",top:"-1px"}},[e._v(e._s(a.row.mailSecret))]):e._e(),e._v(" "+e._s(a.row.subject)+" ")]),"DRAFT"!==e.mailType&&"DELETED"!==e.mailType?[0===a.row.flagged?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",position:"absolute",top:"6px"},attrs:{"icon-class":"fiveStar2"},on:{click:function(t){return t.stopPropagation(),e.setMailInfoFlag("handle",1,a.row.mailMessageId,a.row)}}}):e._e(),1===a.row.flagged?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",position:"absolute",top:"6px",fill:"#fab342"},attrs:{"icon-class":"fiveStar3"},on:{click:function(t){return t.stopPropagation(),e.setMailInfoFlag("handle",0,a.row.mailMessageId,a.row)}}}):e._e()]:e._e()],2)]}}],null,!1,32994551)},[t("template",{slot:"header"},[""===e.total&&0===e.multipleSelection.length?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailNum",expression:"'emailNum'"}],staticStyle:{display:"inline-block",float:"left","font-size":"var(--portalFontSize12)","line-height":"26px",color:"#666"},attrs:{disabled:"",readonly:""}},[e._v("共 0 封")]):e._e(),""!==e.total&&0===e.multipleSelection.length?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailNumIng",expression:"'emailNumIng'"}],staticStyle:{display:"inline-block",float:"left","font-size":"var(--portalFontSize12)","line-height":"26px",color:"#666"},attrs:{disabled:"",readonly:"",total:e.total}},[e._v("共"+e._s(e.total)+"封")]):e._e(),e.multipleSelection.length>0?t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"selectEmail",expression:"'selectEmail'"}],attrs:{count:e.multipleSelection.length}},[e._v(e._s("已选"+e.multipleSelection.length+"封"))]):e._e(),e.multipleSelection.length>0?t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],staticStyle:{color:"#409eff",cursor:"pointer","margin-left":"5px"},on:{click:function(t){return e.toggleSelection()}}},[e._v("取消")]):e._e(),t("div",{staticStyle:{"line-height":"26px",float:"right","padding-left":"0","padding-right":"0",color:"#333"}},[t("span",{ref:"jumpPopoverCopy",staticStyle:{"margin-right":"10px"}},[e._v(e._s(e.currentPage+"/"+e.totalPage))]),t("span",{staticStyle:{"padding-right":"10px",cursor:"pointer"}},[t("i",{staticClass:"el-icon-back",staticStyle:{"margin-right":"10px","font-weight":"700"},style:{color:1===e.currentPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(0)}}}),t("i",{staticClass:"el-icon-right",staticStyle:{"font-weight":"700"},style:{color:e.currentPage===e.totalPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(1)}}})])])])],2)],1),e.visibleJump?t("div",{ref:"jumpPopover",staticClass:"jumpPopover"},[t("div",{staticStyle:{"margin-bottom":"20px",height:"25px","line-height":"25px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"JumpTo",expression:"'JumpTo'"}]},[e._v("跳转到")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.jumpPage,expression:"jumpPage"}],staticClass:"jumpInput",attrs:{placeholder:""},domProps:{value:e.jumpPage},on:{input:function(t){t.target.composing||(e.jumpPage=t.target.value)}}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"page",expression:"'page'"}]},[e._v("页")])]),t("div",{staticStyle:{"text-align":"right",margin:"0"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{size:"mini"},on:{click:e.jumpPageCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",size:"mini"},on:{click:e.jumpPageFuc}},[e._v("确定")])],1)]):e._e()],1)]):e._e(),null!==e.currentMail?t("RightPanel",{staticClass:"right",staticStyle:{width:"calc(100% - 500px)",height:"calc(100vh - 180px)","margin-left":"0"}},[t("div",[t("div",{staticClass:"mailtoolBtn"},["DRAFT"===e.mailType&&(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.gotoPages("writeMail","1")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_edit"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"edit",expression:"'edit'"}]},[e._v("编辑")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"DRAFT"!==e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("respAll")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_quanbuhuifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"ReplyAll",expression:"'ReplyAll'"}]},[e._v("全部回复")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"DRAFT"!==e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("resp")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_huifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"reply",expression:"'reply'"}]},[e._v("回复")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"SENDED"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("witedraw")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"wjzx_hsz_recolumn"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"withdraw",expression:"'withdraw'"}]},[e._v("撤回")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"SENDED"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("resend")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_quanbuhuifuIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"SendAgain",expression:"'SendAgain'"}]},[e._v("再次发送")])],1):e._e(),(0===e.multipleSelection.length||e.multipleSelection.length>0&&e.mailInfo)&&"DRAFT"!==e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.forwardMail("forward")}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_zhuanfaIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"forward",expression:"'forward'"}]},[e._v("转发")])],1):e._e(),"DELETED"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.setMailInfoFlag("thoroughDeleted",1)}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delthorough"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"comDel",expression:"'comDel'"}]},[e._v("彻底删除")])],1):e._e(),"DRAFT"===e.mailType?t("div",{staticClass:"mailtoolBtnInner",on:{click:function(t){return e.deleteDraft()}}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}]},[e._v("删除")])],1):e._e(),"DELETED"!==e.mailType&&"DRAFT"!==e.mailType?t("div",{ref:"deleteWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeDel}},[t("div",[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_delIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}]},[e._v("删除")]),t("i",{staticClass:"el-icon-arrow-down"})],1),e.delPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"del",expression:"'del'"}],on:{click:function(t){return e.setMailInfoFlag("deleted",1)}}},[e._v("删除")]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"comDel",expression:"'comDel'"}],on:{click:function(t){return e.setMailInfoFlag("thoroughDeleted",1)}}},[e._v("彻底删除")])]):e._e()]):e._e(),"DRAFT"!==e.mailType&&null===e.mailInfo?t("div",{ref:"tagWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeBiaoji}},[t("div",[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_biaojiweiIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"MarkedAs",expression:"'MarkedAs'"}]},[e._v("标记为")]),t("i",{staticClass:"el-icon-arrow-down"})],1),e.biaojiPopper?t("div",{staticClass:"changePopper"},[t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"read",expression:"'read'"}],on:{click:function(t){return e.setMailInfoFlag("readed",1)}}},[e._v("已读")]),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"unRead",expression:"'unRead'"}],on:{click:function(t){return e.setMailInfoFlag("readed",0)}}},[e._v("未读")]),"FLAGGED"!==e.mailType&&"DELETED"!==e.mailType?t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"StarMarking",expression:"'StarMarking'"}],on:{click:function(t){return e.setMailInfoFlag("handle",1)}}},[e._v("标星")]):e._e(),"DELETED"!==e.mailType?t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"StarMar",expression:"'StarMar'"}],on:{click:function(t){return e.setMailInfoFlag("handle",0)}}},[e._v("去除标星")]):e._e()]):e._e()]):e._e(),"DRAFT"!==e.mailType&&"FLAGGED"!==e.mailType?t("div",{ref:"moveWrap",staticClass:"mailtoolBtnInner",on:{click:e.changeYidong}},[t("div",[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_yidongdaoIcon"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"TransferTo",expression:"'TransferTo'"}]},[e._v("转移到")]),t("i",{staticClass:"el-icon-arrow-down"})],1),e.yidongPopper?t("div",{staticClass:"changePopper"},[e.listwenjianjia&&e.listwenjianjia.length>0?e._l(e.listwenjianjia,(function(a){return t("div",{key:a},["DRAFT"!==a.boxType&&e.folderId?t("span",{style:{color:""!==e.folderId&&e.folderId===a.id?"#999":"",cursor:""!==e.folderId&&e.folderId===a.id?"default":"pointer"},on:{click:function(t){return e.moveBox(a,e.folderId===a.id)}}},[e._v(e._s(a.boxName))]):e._e(),"DRAFT"===a.boxType||e.folderId?e._e():t("span",{style:{color:a.boxType===e.mailType?"#999":"",cursor:a.boxType===e.mailType?"default":"pointer"},on:{click:function(t){return e.moveBox(a,a.boxType===e.mailType)}}},[e._v(e._s(a.boxName))])])})):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"not",expression:"'not'"}]},[e._v("无")])],2):e._e()]):e._e(),e.mailInfo&&"SENDED"===e.mailType&&1===e.mailInfo.receipt?t("div",{staticClass:"mailtoolBtnInner",on:{click:e.viewReadingLog}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"fl_bmbh"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"readingLog",expression:"'readingLog'"}]},[e._v("阅读记录")])],1):e._e(),e.multipleSelection.length>0?t("div",{staticClass:"mailtoolBtnInner",on:{click:e.downloadMail}},[t("svg-icon",{staticStyle:{fill:"#666"},attrs:{"icon-class":"email_ysb"}}),t("span",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}]},[e._v("下载")])],1):e._e()]),t("div",{staticClass:"div_content",staticStyle:{"padding-left":"10px",height:"calc(100vh - 207px)",overflow:"auto",position:"relative"},attrs:{span:18}},[null===e.currentMail||null!==e.mailInfo||e.seeMail||e.loadingMail?e._e():t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"tipOne",expression:"'tipOne'"}],staticStyle:{"font-size":"var(--portalFontSize14)",color:"#333",margin:"29px 0"}},[e._v("单击一封邮件在此处显示")])],1),null!==e.currentMail&&e.seeMail&&e.loadingMail?t("div",{staticClass:"text-center",staticStyle:{"padding-top":"180px"}},[t("i",{staticClass:"el-icon-loading",staticStyle:{"font-size":"20px"}})]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail?t("div",{staticClass:"text-left",staticStyle:{"overflow-y":"auto"},style:{height:"INBOX"===e.mailType?e.quickDiv?"calc(100% - 200px)":"calc(100% - 85px)":""}},[t("div",[t("p",{staticClass:"detailPSize",staticStyle:{"font-size":"var(--portalFontSize14)","font-weight":"700"}},[e._v(" "+e._s(e.mailInfo.subject)+" "),e.mailInfo.mailSecret?t("span",{staticStyle:{"margin-left":"3px",padding:"0px 5px",color:"rgb(255, 255, 255)",background:"#f12202","border-radius":"3px"}},[e._v(e._s(e.mailInfo.mailSecret))]):e._e()]),t("p",{staticClass:"detailPSize"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender2",expression:"'Sender2'"}],attrs:{to:e.mailInfo.fromAddr}},[e._v("发件人:"+e._s(e.mailInfo.ownerName)+"/"+e._s(e.mailInfo.fromAddr))]),t("i",{class:[e.isExpand?"el-icon-caret-top":"el-icon-caret-bottom"],staticStyle:{color:"#999","font-size":"var(--portalFontSize15)","margin-left":"5px",cursor:"pointer"},on:{click:function(t){e.isExpand=!e.isExpand}}})]),e.isExpand?[e.mailInfo.copyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender2",expression:"'Sender2'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.copyTo}},[e._v("抄送:"+e._s(e.mailInfo.copyTo))]):e._e(),"SENDED"===e.mailType&&e.mailInfo.blindCopyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"bcc",expression:"'bcc'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.blindCopyTo}},[e._v("密送:"+e._s(e.mailInfo.blindCopyTo))]):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addressee2",expression:"'addressee2'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.sendTo}},[t("span",[e._v("收件人:"+e._s(e.mailInfo.sendTo))]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],staticStyle:{"font-size":"14px"},attrs:{size:"small",type:"text"},on:{click:function(t){return e.copy(e.mailInfo.sendTo)}}},[e._v("复制")])],1),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"time",expression:"'time'"}],staticClass:"detailPSize",attrs:{to:e.mailInfo.createTime}},[e._v("时间:"+e._s(e.mailInfo.createTime))])]:e._e(),t("div",[1===e.newMailInfo.mailWithdraw?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"walStatus",expression:"'walStatus'"}],staticClass:"detailPSize"},[e._v("撤回状态:已撤回")]):e._e()]),e.mailInfo.attachsCount>0?t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content1",expression:"'content1'"}],staticClass:"detailPSize",attrs:{attachsCount:e.mailInfo.attachsCount}},[e._v("附件:共"+e._s(e.mailInfo.attachsCount)+"个附件")]),t("div",{staticStyle:{"margin-left":"30px","margin-top":"0","margin-bottom":"0"}},[e._l(e.mailInfo.attachments,(function(a){return t("div",{key:a},[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px"},attrs:{src:e.imgUrl(a),alt:""}}),t("span",{staticClass:"glyphicon glyphicon-paperclip",staticStyle:{"font-size":"var(--portalFontSize12)"}},[e._v(" "+e._s(a.fileName)+" "),a.fileLevel?t("span",{staticStyle:{"font-size":"var(--portalFontSize12)",padding:"0px 5px",color:"rgb(255, 255, 255)",background:"#f12202","border-radius":"3px",position:"relative",top:"-1px"}},[e._v(e._s(a.fileLevel))]):e._e(),e._v(" "),t("span",{staticStyle:{color:"#999"}},[e._v(e._s(a.fileSize))])]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],attrs:{size:"small",type:"text"},on:{click:function(t){return e.downAttachment(a)}}},[e._v("下载")])],1)}))],2)]):e._e(),null!==e.mailInfo&&e.seeMail?t("div",{staticStyle:{padding:"10px","border-top":"1px solid #ececec"}},[t("iframe",{ref:"mailInfoContent",attrs:{width:"100%",scrolling:"no",frameborder:"0"}})]):e._e()],2)]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail&&"INBOX"===e.mailType?t("div",{staticStyle:{padding:"20px 0",position:"absolute",right:"10px",bottom:"10px",left:"10px",background:"#fff"}},[e.quickDiv?e._e():t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content2",expression:"'content2'"}],staticStyle:{border:"1px solid #ebedf0",color:"#999",cursor:"pointer",padding:"10px","font-size":"var(--portalFontSize13)","border-radius":"4px",background:"#f7f8fa"},attrs:{fromAddr:e.mailInfo.fromAddr},on:{click:function(t){e.quickDiv=!0}}},[e._v("快捷回复给:"+e._s(e.mailInfo.fromAddr))]),e.quickDiv?t("div",[t("el-input",{staticClass:"lyy-bg",attrs:{type:"textarea",rows:5,placeholder:e.$tx("email.list.content2",{fromAddr:e.mailInfo.fromAddr},"快捷回复给:{fromAddr}")},model:{value:e.quickContent,callback:function(t){e.quickContent=t},expression:"quickContent"}}),t("div",{staticStyle:{"padding-top":"10px"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"send",expression:"'send'"}],attrs:{type:"primary",loading:e.sendLoading},on:{click:e.saveDraft}},[e._v("发送")]),e.sendLoading?e._e():t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{plain:""},on:{click:function(t){e.quickDiv=!1,e.quickContent=""}}},[e._v(" 取消 ")])],1)],1):e._e()]):e._e()])])]):e._e(),null===e.currentMail?t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"content3",expression:"'content3'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1):e._e(),e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.list.AdvancedSearch","高级搜索"),visible:e.dialogFormVisible,width:"800px","close-on-click-modal":!1,"destroy-on-close":""},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{staticStyle:{"text-align":"center"},attrs:{model:e.adVo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper",staticStyle:{height:"unset"}},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.list.content5","请输入发件人/邮箱地址")},model:{value:e.adVo.fromAddr,callback:function(t){e.$set(e.adVo,"fromAddr",t)},expression:"adVo.fromAddr"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("收件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.list.content6","请输入收件人/邮箱地址")},model:{value:e.adVo.sendTo,callback:function(t){e.$set(e.adVo,"sendTo",t)},expression:"adVo.sendTo"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailTitle",expression:"'emailTitle'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("邮件主题")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.list.emailTitleEnter","请输入邮件主题")},model:{value:e.adVo.subject,callback:function(t){e.$set(e.adVo,"subject",t)},expression:"adVo.subject"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendTime",expression:"'sendTime'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发送时间")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.list.startTime","请选择发送时间(开始)")},model:{value:e.adVo.sentdate_START,callback:function(t){e.$set(e.adVo,"sentdate_START",t)},expression:"adVo.sentdate_START"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.to",expression:"'common.to'"}],staticStyle:{"padding-left":"5px","padding-right":"5px"}},[e._v("至")]),t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.list.endTime","选择发送时间(结束)")},model:{value:e.adVo.sentdate_END,callback:function(t){e.$set(e.adVo,"sentdate_END",t)},expression:"adVo.sentdate_END"}})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{icon:"el-icon-close",disabled:e.doing},on:{click:e.adSeachCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",disabled:e.doing,icon:"el-icon-check"},on:{click:e.adSeachConfirm}},[e._v("确定")])],1)],1):e._e(),t("ViewReadingLog")],1)},lt=[],dt=n(9274),ct=n.n(dt),ut=function(){var e=this,t=e._self._c;return e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.pageBtns.readingLog","阅读记录"),visible:e.dialogFormVisible,width:"800px","close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("data-table",{attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-before-load":e.onListDataBeforeLoad}})],1):e._e()},mt=[],pt={components:{},props:{},data:function(){return{dialogFormVisible:!1,mailInfo:{},moduleInfo:{listDataUrl:"/mail/message/listReceipt"},tableList:[{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"ownerName",title:"收件人",align:"center",valign:"middle",width:"120px",searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:1},{field:"sentDate",title:"发送时间",align:"center",valign:"middle",searchable:!1,listAdvSearchElement:"date",listAdvSearchIndex:2},{field:"readed",title:"是否已读",align:"center",valign:"middle",width:"100px",searchable:!1,elementFormatter:"1:已读\r\n0:未读\r\n",listAdvSearchElement:"select",listAdvSearchIndex:3},{field:"readingTime",title:"阅读时间",align:"center",valign:"middle",searchable:!1,listAdvSearchElement:"input",listAdvSearchIndex:4}],listpageBtns:[]}},computed:{},created:function(){this.$bus.on("viewReadingLog",this.viewReadingLog)},beforeDestory:function(){this.$bus.off("viewReadingLog",this.viewReadingLog)},mounted:function(){},watch:{},methods:{viewReadingLog:function(e){this.moduleInfo.listDataUrl="/mail/message/listReceipt?messageId=1&urlsearch=mailMessageId:"+e.mailMessageId+";mailBoxId!:"+e.mailBoxId,this.dialogFormVisible=!0},onListDataBeforeLoad:function(e,t){t.orderBy||(t.orderBy="sentDate"),console.log("role listdata before load..")}}},ht=pt,ft=te(ht,ut,mt,!1,null,"4f18cde2",null),_t=ft.exports;function gt(e){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gt(e)}function yt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */yt=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==gt(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(gt(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function vt(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function bt(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){vt(r,n,i,o,s,"next",e)}function s(e){vt(r,n,i,o,s,"throw",e)}o(void 0)}))}}function Mt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function wt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(a),!0).forEach((function(t){xt(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Mt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function xt(e,t,a){return(t=Lt(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Lt(e){var t=kt(e,"string");return"symbol"==gt(t)?t:t+""}function kt(e,t){if("object"!=gt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=gt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Tt=n(5093),St={name:"",components:{ViewReadingLog:_t},data:function(){return{i18npkg:"email",moduleCode:"list",search:"",canEdit:0,moduleInfo:{listDataUrl:"mail/message/listdata",getByIdUrl:"mail/message/getMailInfoById",mailFlagUrl:"mail/message/setMailFlag",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft"},quickMailInfo:null,tableData:[],multipleSelection:[],multipleSelectionLen:null,usersetId:this.$store.getters.loginUser,total:"",totalPage:1,currentPage:1,jumpPage:"",pageSize:50,mailType:"",mailInfo:null,loading:!0,sendLoading:!1,loadingMail:!1,seeMail:!1,mailBoxId:"",newMailInfo:"",tipText:"",value:"",accountList:[],currentMail:null,selColumnVisible:!1,selColumnVisibleBiaoji:!1,visibleType:"",clickNum:0,delPopper:!1,biaojiPopper:!1,yidongPopper:!1,visibleJump:!1,listwenjianjia:null,quickContent:"",quickDiv:!1,menhuRow:"",menhu:!1,api:"/apigw",isExpand:!1,dialogFormVisible:!1,adVo:{fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""}}},computed:wt({},H(["routes","loginUser"])),props:{isCustom:{type:Boolean,default:function(){return!1}},folderId:{type:String,default:function(){return""}}},watch:{},created:function(){if(this.isCustom)this.mailType="DEFINED";else{this.$route.query.urlsearch;var e=this.$route.meta.params,t=e.indexOf("=");this.mailType=e.slice(t+1,e.length)}this.$bus.on("searchListData",this.adSeach),null!==sessionStorage.getItem("currentMail")&&"undefined"!==sessionStorage.getItem("currentMail")&&(this.currentMail=JSON.parse(sessionStorage.getItem("currentMail")),this.loadList("",this.adVo),this.$route.query.messageId&&this.$route.query.mailBoxId&&(this.menhu=!0,this.menhuRow=this.$route.query.messageId,this.readMail(this.$route.query.messageId))),console.log("currentMail===",this.currentMail),this.$bus.emit("hiddenAdvSearch",!1)},beforeDestroy:function(){this.$bus.off("searchListData",this.adSeach),this.$bus.off("changeEmail"),this.$bus.emit("hiddenAdvSearch",!0)},mounted:function(){var e=this;this.$route.query.rowsSelected&&this.$nextTick((function(){setTimeout((function(){e.gotoPages("writeMail","1")}),200)})),this.dragControllerDiv(),this.$bus.on("changeEmail",(function(t){e.currentMail=JSON.parse(sessionStorage.getItem("currentMail")),e.currentPage=1,e.loadList("",e.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1}));var t=this;document.addEventListener("click",(function(e){if(t.$refs.jumpPopover){var a=t.$refs.jumpPopover.contains(e.target)||t.$refs.jumpPopoverCopy.contains(e.target);a||(t.visibleJump=!1)}if(t.$refs.deleteWrap){var n=t.$refs.deleteWrap.contains(e.target);n||(t.delPopper=!1)}if(t.$refs.tagWrap){var i=t.$refs.tagWrap.contains(e.target);i||(t.biaojiPopper=!1)}if(t.$refs.moveWrap){var r=t.$refs.moveWrap.contains(e.target);r||(t.yidongPopper=!1)}}))},methods:{copy:function(e){var t=this;return bt(yt().mark((function a(){return yt().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(!navigator.clipboard||!navigator.clipboard.writeText){a.next=10;break}return a.prev=1,a.next=4,navigator.clipboard.writeText(e);case 4:t.$message.success("复制成功"),a.next=10;break;case 7:a.prev=7,a.t0=a["catch"](1),console.warn("Clipboard API失败,使用传统方法");case 10:return a.abrupt("return",Promise.resolve(t.legacyCopyToClipboard(e)));case 11:case"end":return a.stop()}}),a,null,[[1,7]])})))()},legacyCopyToClipboard:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.onSuccess,n=void 0===a?null:a,i=t.onError,r=void 0===i?null:i,o=t.showMessage,s=void 0===o||o;if("string"!==typeof e)return console.error("复制内容必须是字符串"),r&&r("内容类型错误"),!1;if(""===e.trim())return console.warn("复制内容为空"),r&&r("内容为空"),!1;var l=document.createElement("textarea");l.value=e,l.setAttribute("readonly",""),l.style.cssText="\n position: fixed !important;\n left: -9999px !important;\n top: -9999px !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: 0 !important;\n border: none !important;\n outline: none !important;\n background: transparent !important;\n opacity: 0 !important;\n pointer-events: none !important;\n user-select: text !important;\n ",document.body.appendChild(l);var d=!1;try{if(l.focus(),l.select(),l.setSelectionRange(0,e.length),d=document.execCommand("copy"),!d)throw new Error("execCommand返回false");console.log("复制成功:",e.substring(0,50)+(e.length>50?"...":"")),s&&this.$message.success("复制成功"),n&&n(e)}catch(c){console.error("复制操作失败:",c),s&&showCopyMessage("复制成功!","success"),r&&r(c.message),l.focus(),l.select()}finally{setTimeout((function(){l.parentNode&&l.parentNode.removeChild(l)}),100)}return d},adSeach:function(e,t){"and"===t?this.dialogFormVisible=!0:this.searchListData(e)},adSeachCancle:function(){this.dialogFormVisible=!1,this.adVo={fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""},this.loadList("",this.adVo),this.$bus.emit("clearSearchText"),this.mailInfo=null,this.loadingMail=!1,this.seeMail=!1},adSeachConfirm:function(){Date.parse(this.adVo.sentdate_END)<Date.parse(this.adVo.sentdate_START)?this.$alert(this.$tx("email.messages.content7","发送时间(结束)不能小于发送时间(开始)"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):(this.adVo.sentdate_START=this.adVo.sentdate_START?Tt(this.adVo.sentdate_START).format("YYYY-MM-DD HH:mm:ss"):"",this.adVo.sentdate_END=this.adVo.sentdate_END?Tt(this.adVo.sentdate_END).format("YYYY-MM-DD HH:mm:ss"):"",this.loadList("",this.adVo),this.dialogFormVisible=!1,this.mailInfo=null,this.loadingMail=!1,this.seeMail=!1,this.$bus.emit("clearSearchText"))},getUnreadNum:function(){var e=this;return bt(yt().mark((function t(){var a,n,i;return yt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=0,n={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.currentMail.id,";")},t.next=4,e.$app.listdata("/mail/messageBox/listdata",n);case 4:i=t.sent,"success"===i.code&&i.body.pageInfo.list.forEach((function(e){return"INBOX"===e.boxType&&(a="oneGroupCorp"===e.searchMode?e.allNotReadedNum:e.notReadedNum),!1})),e.$bus.emit("updateInboxLMnum",a);case 7:case"end":return t.stop()}}),t)})))()},getdraftsNum:function(){var e=this;return bt(yt().mark((function t(){var a,n,i;return yt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:a=0,n=JSON.parse(sessionStorage.getItem("currentMail")),i=n.id,e.$http({contentType:"application/x-www-form-urlencoded",url:"/mail/message/listdata?&usersetId="+i,params:{mailBoxType:"DRAFT",accountType:1},method:"POST"}).then((function(e){a=e.body.pageInfo.total,console.log(a,545)})),e.$bus.emit("updateDraftsNum",a);case 5:case"end":return t.stop()}}),t)})))()},currentChangeFuc:function(e,t){},searchListData:function(e,t,a){this.loadList(e)},changePageNumber:function(e){1===e?this.currentPage<this.totalPage&&(this.currentPage++,this.loadList("",this.adVo)):this.currentPage>1&&(this.currentPage--,this.loadList("",this.adVo))},jumpPageCancle:function(){this.visibleJump=!1,this.jumpPage=""},jumpPageFuc:function(){if(Number(this.jumpPage)<1||Number(this.jumpPage)>this.totalPage)return this.$message.warning(this.$tx("email.messages.content8",{totalPage:this.totalPage},"跳转范围在 1 - {totalPage} 页")),this.jumpPage="",!1;this.currentPage=this.jumpPage,this.visibleJump=!1,this.jumpPage="",this.loadList("",this.adVo)},transPageSize:function(e){var t=1===e?10:2===e?20:3===e?50:100;return t},loadList:function(e,t){var a=this;return bt(yt().mark((function n(){var i,r,o;return yt().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=a,i.loading=!0,r=new FormData,r.append("pageNum",i.currentPage),r.append("pageSize",a.transPageSize(i.currentMail.pageSize)),t?(r.append("searchAndOr","and"),r.append("searchMap[fromAddr]",a.adVo.fromAddr),r.append("searchMap[sendTo]",a.adVo.sendTo),r.append("searchMap[subject]",a.adVo.subject),r.append("searchMap[sentdate_START]",a.adVo.sentdate_START),r.append("searchMap[sentdate_END]",a.adVo.sentdate_END)):(r.append("searchAndOr","or"),r.append("searchMap[searchText]",e)),o="",o=""===i.folderId?"FLAGGED"===i.mailType?i.moduleInfo.listDataUrl+"?mailBoxType=ALL&filter=flagged&usersetId="+i.currentMail.id+"&accountType="+i.currentMail.accountType:i.moduleInfo.listDataUrl+"?mailBoxType="+i.mailType+"&usersetId="+i.currentMail.id+"&accountType="+i.currentMail.accountType:i.moduleInfo.listDataUrl+"?mailBoxType="+i.mailType+"&usersetId="+i.currentMail.id+"&mailBoxTypeId="+i.folderId+"&accountType="+i.currentMail.accountType,n.next=10,i.$http({method:"POST",data:r,url:o}).then((function(e){i.loading=!1,"success"===e.code?(e.body.pageInfo.total>0?(i.tableData=e.body.pageInfo.list,i.tableData.forEach((function(e,t){e.createTime=ct().filter("formatTime")(e.createTime)})),i.total=e.body.pageInfo.total,i.totalPage=e.body.pageInfo.pages):(i.tableData=e.body.pageInfo.list,i.total=e.body.pageInfo.total,i.totalPage=1),"INBOX"===i.mailType&&i.getUnreadNum(),"DRAFT"===i.mailType&&i.getdraftsNum()):i.$message.error(e.message)}),(function(e){i.loading=!1,i.$message.error(e)}));case 10:case"end":return n.stop()}}),n)})))()},handleSelectionChange:function(e){this.multipleSelection=e,this.changeLength(),this.mailInfo=null},toggleSelection:function(e){var t=this;e?e.forEach((function(e){t.$refs.multipleTable.toggleRowSelection(e)})):this.$refs.multipleTable.clearSelection()},readMail:function(e,t,a,n){var i=this;this.isExpand=!1,this.show=!1;var r=this;r.seeMail=!0,r.loadingMail=!0;var o=this.moduleInfo.getByIdUrl,s={mailBoxId:e.mailBoxId,messageId:e.mailMessageId,apigw:"apigw"};r.menhu&&void 0===t&&(s={mailBoxId:r.$route.query.mailBoxId,messageId:e,apigw:"apigw"}),this.$http({method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:s,url:o}).then((function(t){"success"===t.code?(r.loadingMail=!1,r.mailInfo=t.body.vo,r.mailInfo.attachsCount=r.mailInfo.attachments.length,r.mailInfo.content&&i.$nextTick((function(){this.$refs.mailInfoContent.contentWindow.document.write(r.mailInfo.content);var e=this.$refs.mailInfoContent.contentWindow.document.body.scrollHeight,t=this.$refs.mailInfoContent.contentWindow.document.documentElement.scrollHeight,a=Math.max(e,t);this.$refs.mailInfoContent.height=a})),r.newMailInfo=t.body.vo,r.tableData.forEach((function(t,a){t.mailMessageId===e.mailMessageId&&(r.tableData[a].readed=1)})),r.mailInfo.attachments.forEach((function(e){e.fmtFileSize=e.fileSize})),"INBOX"===r.mailType&&r.getUnreadNum(),"DRAFT"===r.mailType&&r.getdraftsNum(),console.log("newMailInfo",r.newMailInfo)):(r.mailInfo=null,r.$message.error(t.message),r.seeMail=!1,r.loadingMail=!1)}),(function(e){r.mailInfo=null,r.seeMail=!1,r.loadingMail=!1,r.$message.error(e)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(console.log("modelCode",e),console.log("toPath",t),t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.fullPath}if("youxiangshezhi.svg"===e)this.$router.push({path:a});else{if(null===this.mailInfo&&!this.$route.query.rowsSelected)return this.$message.warning(this.$tx("email.messages.emailTip","请选择邮件")),!1;if(this.$route.query.rowsSelected)return this.$route.query.rowsSelected.forEach((function(e){e.fileName=e.name?e.name:e.fileName,e.fileSize=e.size?e.size:e.fileSize,e.id=e.fileId?e.fileId:e.id})),void this.$router.push({path:a,query:{row:this.$route.query.rowsSelected,srcBusiDataId:"099999"}});console.log("转发邮件",this.newMailInfo),this.$router.push({path:a}),localStorage.setItem("newMailInfo",JSON.stringify(this.newMailInfo))}}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},changeLength:function(){this.multipleSelectionLen=this.multipleSelection.length,this.multipleSelectionLen>0&&document.getElementById("tipCont")},forwardMail:function(e){var t=this;if(null===this.mailInfo)return this.$message.warning(this.$tx("email.messages.emailTip21","请先打开邮件")),!1;if(this.newMailInfo=this.mailInfo,this.newMailInfo.actionType=e,"forward"===e)this.newMailInfo.sendTo=null,this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.forwardSubject+":"+this.newMailInfo.subject;else if("resp"===e)this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null;else if("respAll"===e)this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null;else if("resend"===e);else if("witedraw"===e){var a=new Date(this.newMailInfo.withdrawalTimeLimit),n=new Date;return 2==this.newMailInfo.mailWithdraw?void this.$alert(this.$tx("email.messages.emailTip22","当前邮件已读无法撤回"),this.$tx("common.operationTip","操作提示"),{type:"error"}):this.isGreaterThan(n,a)?void this.$alert(this.$tx("email.messages.emailTip23","超过24小时的邮件无法撤回"),this.$tx("common.operationTip","操作提示"),{type:"error"}):(console.log(123123,this,"ssss"),void this.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:{mailMessageId:this.newMailInfo.mailMessageId},url:"/mail/message/withdrawEmailByMailMessageId"}).then((function(e){"success"===e.code?(t.$message.success(t.$tx("email.messages.emailTip24","撤回成功!")),console.log(e,"res")):t.$alert(e.message,t.$tx("common.operationTip","操作提示"),{type:"error"})})))}this.gotoPages("writeMail")},isGreaterThan:function(e,t){return e.getTime()>t.getTime()},setMailInfoFlag:function(e,t,a,n){var i=this,r=[];if(console.log("flagPosition",a),a)r.push(a);else if(r=this.transIds(),0===r.length)return void this.$message.warning(this.$tx("email.messages.emailTip","请选择邮件"));if("deleted"===e)this.tipText=this.$tx("email.messages.emailTip5","将删除该邮件, 是否继续?");else if("thoroughDeleted"===e)this.tipText=this.$tx("email.messages.emailTip6","将永久删除该邮件,删除后不可恢复, 是否继续?");else if("readed"===e&&0===t){if(this.tipText=this.$tx("email.messages.emailTip7","是否标记为未读?"),!this.multipleSelection.length&&0===this.newMailInfo.readed)return void this.$message({message:this.$tx("email.messages.emailTip8","该邮件是未读邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var o=this.multipleSelection.every((function(e){return 0===e.readed}));if(o)return void this.$message({message:this.$tx("email.messages.emailTip9","所选邮件均是未读邮件,无需重复操作。"),type:"warning"})}}else if("readed"===e&&1===t){if(this.tipText=this.$tx("email.list.emailTip10","是否标记为已读?"),!this.multipleSelection.length&&1===this.newMailInfo.readed)return void this.$message({message:this.$tx("email.messages.emailTip11","该邮件是已读邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var s=this.multipleSelection.every((function(e){return 1===e.readed}));if(s)return void this.$message({message:this.$tx("email.messages.emailTip12","所选邮件均是已读邮件,无需重复操作。"),type:"warning"})}}else if("handle"===e&&0===t){if(this.tipText=this.$tx("email.list.emailTip13","是否去除标星?"),!this.multipleSelection.length&&!a&&0===this.newMailInfo.flagged)return void this.$message({message:this.$tx("email.messages.emailTip14","该邮件是未标星邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var l=this.multipleSelection.every((function(e){return 0===e.flagged}));if(l)return void this.$message({message:this.$tx("email.messages.emailTip15","所选邮件均是未标星邮件,无需重复操作。"),type:"warning"})}}else if("handle"===e&&1===t){if(this.tipText=this.$tx("email.list.emailTip16","是否标记为标星?"),!this.multipleSelection.length&&!a&&1===this.newMailInfo.flagged)return void this.$message({message:this.$tx("email.messages.emailTip17","该邮件是已标星邮件,无需重复操作。"),type:"warning"});if(this.multipleSelection&&!a){var d=this.multipleSelection.every((function(e){return 1===e.flagged}));if(d)return void this.$message({message:this.$tx("email.messages.emailTip18","所选邮件均是标星邮件,无需重复操作。"),type:"warning"})}}a?this.setMailInfoFlagFuc(e,t,r,n):this.$confirm(this.tipText,this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确定"),cancelButtonText:this.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){i.selColumnVisible=!1,i.selColumnVisibleBiaoji=!1,i.setMailInfoFlagFuc(e,t,r,n)})).catch((function(){}))},setMailInfoFlagFuc:function(e,t,a,n){var i=this,r=this;console.log("enterrrr",n,this.mailType,this.tableData);var o=this.moduleInfo.mailFlagUrl,s="FLAGGED"===this.mailType?"starBox":n&&n.mailBoxId?n.mailBoxId:this.tableData[0].mailBoxId;console.log("currentMail",r.currentMail),console.log("newMailInfo",r.newMailInfo),console.log("messageIds",a),r.loading=!0,this.$http({method:"PUT",contentType:"application/x-www-form-urlencoded",params:{mailBoxId:s,messageIds:a,flagName:e,flagValue:t,userSetupId:r.currentMail.id},paramsSerializer:function(e){return Ge().stringify(e,{indices:!1})},url:o}).then((function(t){r.loading=!1,"success"===t.code?(r.$message.success(t.message),"deleted"===e||"thoroughDeleted"===e?(r.loadList("",i.adVo),r.mailInfo&&-1!==a.indexOf(r.mailInfo.mailMessageId)&&(r.mailInfo=null)):(r.mailInfo=t.body.listdata[0],r.newMailInfo=t.body.listdata[0],r.loadList("",i.adVo)),r.multipleSelection=[]):r.$message.error(t.message)}))},deleteDraft:function(){var e=this,t=this,a=this.transIds();a&&a.length>0?this.$confirm(this.$tx("email.messages.isDelFile","将永久删除该文件, 是否继续?"),this.$tx("common.operationTip","操作提示"),{confirmButtonText:this.$tx("pageBtns.sure","确定"),cancelButtonText:this.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){e.$http({method:"DELETE",contentType:"application/x-www-form-urlencoded",params:{ids:a},paramsSerializer:function(e){return Ge().stringify(e,{indices:!1})},url:e.moduleInfo.deleteDraftUrl}).then((function(e){"success"===e.code?(t.mailInfo&&-1!==a.indexOf(t.mailInfo.mailMessageId)&&(t.mailInfo=null),t.$message.success(e.message),t.loadList("",t.adVo),t.multipleSelection=[]):t.$message.error(e.message)}))})).catch((function(){})):this.$message.warning(this.$tx("email.messages.selectDelFile","请先选择需要删除的邮件"))},downAttachment:function(e){if(null===this.mailInfo.mailBoxId)return!1;if(""===e.busiDataId||""===e.fileName)return!1;var t="/apigw/mail/attach/downAttachment?mailBoxId="+this.tableData[0].mailBoxId+"&messageId="+e.busiDataId+"&attachName="+encodeURIComponent(e.fileName)+"&id="+e.id+"&filePath="+e.filePath;window.open(t,"_blank")},changeDel:function(){this.delPopper=!this.delPopper,this.delPopper&&(this.yidongPopper=!1,this.biaojiPopper=!1)},changeBiaoji:function(){this.biaojiPopper=!this.biaojiPopper,this.biaojiPopper&&(this.yidongPopper=!1,this.delPopper=!1)},changeYidong:function(){var e=this;return bt(yt().mark((function t(){var a,n,i,r;return yt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.yidongPopper=!e.yidongPopper,a={orderBy:"orderNo asc",urlsearch:"usersetId:".concat(e.currentMail.id,";boxType!:REGULATE")},!e.yidongPopper){t.next=9;break}return t.next=5,e.$app.listdata("/mail/messageBox/listdata",a);case 5:n=t.sent,"success"===n.code&&(i=[],r=[],n.body.pageInfo.list.forEach((function(e,t){"DEFINED"===e.boxType?i.push(e):r.push(e)})),e.listwenjianjia=r.concat(i)),e.biaojiPopper=!1,e.delPopper=!1;case 9:case"end":return t.stop()}}),t)})))()},moveBox:function(e,t){var a=this;return bt(yt().mark((function n(){var i,r;return yt().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(null!==a.mailInfo||0!==a.multipleSelection.length){n.next=3;break}return a.$message.warning(a.$tx("email.messages.selectEmailFile","请先选择邮件!")),n.abrupt("return",!1);case 3:if(!t){n.next=7;break}return a.$message.warning(a.$tx("email.messages.notOneself","不能转移到自身文件夹!")),a.yidongPopper=!0,n.abrupt("return",!1);case 7:return i={mailBoxId:e.id,passenger:{ids:a.transIds(),mailBoxId:a.transmailBoxIds()}},n.next=10,a.$app.update("/mail/message/moveToMailFolder",i);case 10:r=n.sent,"success"===r.code?(a.$message.success(a.$tx("email.messages.TransferSu","转移成功!")),a.loadList("",a.adVo),a.multipleSelection=[],a.mailInfo=null,a.loadingMail=!1,a.seeMail=!1):a.$message.error(r.message);case 12:case"end":return n.stop()}}),n)})))()},transIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailMessageId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailMessageId)})),e},transmailBoxIds:function(){var e=[];return this.mailInfo?e.push(this.mailInfo.mailBoxId):this.multipleSelection.length>0&&this.multipleSelection.forEach((function(t,a){e.push(t.mailBoxId)})),e},dragControllerDiv:function(){for(var e=document.getElementsByClassName("resize"),t=document.getElementsByClassName("left"),a=function(a){e[a].onmousedown=function(n){e[a].style.background="#818181";var i=n.clientX;return e[a].left=e[a].offsetLeft,document.onmousemove=function(n){var r=n.clientX,o=e[a].left+(r-i);o<320&&(o=320),o>600&&(o=600),e[a].style.left=o;for(var s=0;s<t.length;s++)t[s].style.width=o+"px"},document.onmouseup=function(t){e[a].style.background="#d6d6d6",document.onmousemove=null,document.onmouseup=null,e[a].releaseCapture&&e[a].releaseCapture()},e[a].setCapture&&e[a].setCapture(),!1}},n=0;n<e.length;n++)a(n)},saveDraft:function(e){var t=this,a=this;if(a.quickMailInfo={},a.quickMailInfo.sendTo=a.mailInfo.fromAddr,a.quickMailInfo.fromAddr=a.currentMail.emailAddr,a.quickMailInfo.content=a.quickContent+"<hr/>"+a.mailInfo.content,a.quickMailInfo.subject=a.mailInfo.subject,a.quickMailInfo.mailType=1,a.quickMailInfo.usersetId=a.currentMail.id,""!==a.quickContent.trim()){a.sendLoading=!0,a.quickMailInfo.onlyOne=0;var n=a.moduleInfo.saveDraftUrl,i={userSetupId:a.currentMail.id};return new Promise((function(e,r){t.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:i,data:t.quickMailInfo,url:n}).then((function(t){"success"===t.code?(a.sendLoading=!1,a.quickMailInfo.mailMessageId=t.body.mailMessageId,a.quickMailInfo.id=t.body.shipId,a.sendMail()):(a.sendLoading=!1,a.$message.error(t.message)),e(t)})).catch((function(e){r(e)}))}))}this.$message.warning(this.$tx("email.messages.enterContent","请输入回复内容!"))},sendMail:function(){var e=this;e.sendLoading=!0,e.quickMailInfo.usersetId=e.currentMail.id;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.currentMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.quickMailInfo,url:t}).then((function(t){"success"===t.code?(e.sendLoading=!1,e.quickContent="",e.$message.success(t.message),e.loadList("",e.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1):(e.sendLoading=!1,e.$message.error(t.message))})).catch((function(t){e.$message.error(t)}))},viewReadingLog:function(){this.$bus.emit("viewReadingLog",this.mailInfo)},downloadMail:function(){var e=this,t=[];this.multipleSelection.forEach((function(e,a){t.push(e.mailMessageId)})),this.$confirm("确认要下载选择的邮件吗?",this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then((function(){e.$http({method:"post",contentType:"application/x-www-form-urlencoded",data:t,url:"mail/message/downloadMail?mailBoxId="+e.multipleSelection[0].mailBoxId}).then((function(t){if("success"===t.code){var a=t.body,n='<br/>下载地址:<a href="/apigw/'+a.zipurl+'" target="_blank">'+a.zipname+"</a>";e.$alert(t.message+n,e.$tx("common.operationTip","操作提示"),{type:"success",dangerouslyUseHTMLString:!0,callback:function(e){"confirm"===e&&window.open("/apigw/"+t.body.zipurl,"_black")}})}else e.$message({type:"warning",message:t.message})}),(function(t){e.$message.error(t)}))})).catch((function(){}))},imgUrl:function(e){if(1===Number(e.resoureType))return"images/w-imgs/email/folder.png";var t=e.fileName||e.name;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png"}}},Yt=St,Dt=(n(2411),n(8407),te(Yt,st,lt,!1,null,"2652a5fc",null)),jt=Dt.exports,Ct=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sendMail",on:{click:function(t){e.closeLink=!1}}},[t("div",{staticStyle:{display:"flex",margin:"0"}},[t("div",{staticStyle:{"min-width":"500px",width:"calc(100% - 300px)",padding:"0 10px 0 0","border-right":"1px solid #ebeef5"}},[null!==e.defultMail?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"mailWrap"},[t("el-row",{staticClass:"lineRow",staticStyle:{"border-bottom":"none"}},[t("el-col",{directives:[{name:"show",rawName:"v-show",value:null!==e.defultMail&&!e.mailInfo.sended,expression:"defultMail !== null && !mailInfo.sended"}],attrs:{span:24}},[t("div",{staticClass:"grid-content bg-purple-dark",staticStyle:{width:"100%","padding-left":"unset"}},[t("div",{staticStyle:{float:"left",width:"calc(100% - 300px)"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"send",expression:"'send'"}],attrs:{size:"small",type:"primary",icon:"el-icon-s-promotion"},on:{click:function(t){return e.saveDraft("send")}}},[e._v("发送")]),t("div",{staticStyle:{display:"inline-block","margin-left":"30px"},on:{click:function(t){return e.saveDraft("Draft")}}},[t("el-link",{attrs:{underline:!1}},[t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize14)"},attrs:{"icon-class":"emailcg"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"SaveDraft",expression:"'SaveDraft'"}]},[e._v("存草稿")])],1)],1)],1),t("div",{staticStyle:{float:"right"}},[t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"32px",cursor:"pointer"}},[t("el-checkbox",{attrs:{"true-label":1,"false-label":0},model:{value:e.mailInfo.receipt,callback:function(t){e.$set(e.mailInfo,"receipt",t)},expression:"mailInfo.receipt"}},[e._v(e._s(e.$tx("email.xieyoujian.Receipt","已读回执")))])],1),e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"32px",cursor:"pointer","margin-left":"20px"},on:{click:e.csTagChange}},[e._v(e._s(e.csr?e.$tx("email.xieyoujian.DelCC","删除抄送"):e.$tx("email.xieyoujian.AddCC","添加抄送")))]),e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"32px",cursor:"pointer","margin-left":"20px"},on:{click:e.msTagChange}},[e._v(e._s(e.msr?e.$tx("email.xieyoujian.DelSecret","删除密送"):e.$tx("email.xieyoujian.AddSecret","添加密送")))])])])])],1),t("div",{staticStyle:{"margin-top":"9px","margin-bottom":"10px"}},[t("div",{staticClass:"workspaceContainer"},[e.linkManEmail.length>0&&e.closeLink?t("div",{staticClass:"linkEmail",style:{top:1===e.focusInput?"135px":2===e.focusInput?"175px":"215px"}},[t("div",[e._l(e.linkManEmail,(function(a,n){return[t("p",{key:a,style:{color:e.linkIndex===n?"#409eff":""},on:{click:function(t){return e.clickLink(a.name)}}},[e._v(e._s(a.name))])]}))],2)]):e._e(),t("form",{directives:[{name:"show",rawName:"v-show",value:null!==e.defultMail&&!e.mailInfo.sended,expression:"defultMail !== null && !mailInfo.sended"}],staticClass:"form-horizontal",attrs:{id:"busiForm",name:"busiForm",method:"post",autocomplete:"off"}},[t("div",{staticClass:"lineRow",on:{click:function(t){return t.stopPropagation(),e.clickArea("sendTo")}}},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticStyle:{color:"#409eff"}},[e._v("收件人")])]),t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticClass:"inputWrap"},[t("el-scrollbar",[e.sendList.length>0?e._l(e.sendList,(function(a,n){return t("div",{key:a,staticClass:"emailAddrStyle"},[t("div",[t("span",[e._v(e._s(a))]),t("i",{staticClass:"el-icon-close",staticStyle:{padding:"3px 5px","border-left":"1px solid #d8d8d8"},on:{click:function(t){return t.stopPropagation(),e.removeMail(a,n,1)}}})])])})):e._e(),t("el-input",{ref:"sendTo",staticClass:"btnBorder",staticStyle:{display:"inline-block","margin-bottom":"8px",width:"290px"},attrs:{type:"text",name:"sendTo",placeholder:e.qfdx?e.$tx("email.xieyoujian.content","群发的邮件,采用一对一发送,每个收件人只能看到自己的地址"):e.$tx("email.xieyoujian.address","请输入邮件地址,内部邮箱可以输入联系人姓名"),autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(1)},blur:e.keyUpFuc,change:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(1)}},model:{value:e.sendListInput,callback:function(t){e.sendListInput=t},expression:"sendListInput"}})],2)],1)])]),e.csr||e.copyToList.length>0?t("div",{staticClass:"lineRow",on:{click:function(t){return t.stopPropagation(),e.clickArea("copyTo")}}},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"CCrecipient",expression:"'CCrecipient'"}],staticStyle:{color:"#409eff"}},[e._v("抄送人:")])]),t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticClass:"inputWrap"},[t("el-scrollbar",[e.copyToList.length>0?e._l(e.copyToList,(function(a,n){return t("div",{key:a,staticClass:"emailAddrStyle"},[t("div",[t("span",[e._v(e._s(a))]),t("i",{staticClass:"el-icon-close",staticStyle:{padding:"3px 5px","border-left":"1px solid #d8d8d8"},on:{click:function(t){return t.stopPropagation(),e.removeMail(a,n,2)}}})])])})):e._e(),t("el-input",{ref:"copyTo",staticClass:"btnBorder",staticStyle:{display:"inline-block","margin-bottom":"8px",width:"290px"},attrs:{type:"text",name:"copyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(2)},blur:e.keyUpFuc,change:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(2)}},model:{value:e.copyToInput,callback:function(t){e.copyToInput=t},expression:"copyToInput"}})],2)],1)])]):e._e(),e.msr||e.blindCopyToList.length>0?t("div",{staticClass:"lineRow",on:{click:function(t){return t.stopPropagation(),e.clickArea("blindCopyTo")}}},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"SecretPerson",expression:"'SecretPerson'"}],staticStyle:{color:"#409eff"}},[e._v("密送人:")])]),t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticClass:"inputWrap"},[t("el-scrollbar",[e.blindCopyToList.length>0?e._l(e.blindCopyToList,(function(a,n){return t("div",{key:a,staticClass:"emailAddrStyle"},[t("div",[t("span",[e._v(e._s(a))]),t("i",{staticClass:"el-icon-close",staticStyle:{padding:"3px 5px","border-left":"1px solid #d8d8d8"},on:{click:function(t){return t.stopPropagation(),e.removeMail(a,n,3)}}})])])})):e._e(),t("el-input",{ref:"blindCopyTo",staticClass:"btnBorder",staticStyle:{display:"inline-block","margin-bottom":"8px",width:"290px"},attrs:{type:"text",name:"blindCopyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(3)},blur:e.keyUpFuc,change:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(3)}},model:{value:e.blindCopyToInput,callback:function(t){e.blindCopyToInput=t},expression:"blindCopyToInput"}})],2)],1)])]):e._e(),t("div",{staticClass:"lineRow"},[t("div",{staticStyle:{color:"#409eff","line-height":"40px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Theme",expression:"'Theme'"}],staticStyle:{color:"#333"}},[e._v("主 题:")])]),t("div",{staticClass:"grid-content bg-purple-dark",staticStyle:{"margin-left":"2px"}},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"主题",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticClass:"btnBorder el-inputLyy__inner",staticStyle:{width:"100%"},attrs:{type:"text",name:"subject",autocomplete:"lyy-off",placeholder:e.$tx("email.xieyoujian.ThemeEnter","请输入邮件主题")},model:{value:e.mailInfo.subject,callback:function(t){e.$set(e.mailInfo,"subject",t)},expression:"mailInfo.subject"}})],1)]}}],null,!1,142323119)})],1)]),t("div",{staticClass:"lineRow attach-bar",staticStyle:{"border-bottom":"none"}},[t("div",{staticStyle:{width:"100%"}},[t("div",{staticClass:"grid-content bg-purple-dark",staticStyle:{height:"unset","padding-left":"unset"}},[t("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{action:"",limit:e.limitNum,"file-list":e.readyList,"auto-upload":!1,"before-upload":e.before_upload,"on-change":function(t,a){e.handleChange(t,a,e.module,e.busiDataId,e.attachsType,e.attachsSize,t)},"http-request":e.allUpload,"on-remove":e.handleRemove,"on-exceed":e.handleExceed,"show-file-list":!1,multiple:""}},[t("div",{staticStyle:{height:"40px",display:"flex","align-items":"center"}},[t("i",{staticClass:"el-icon-upload"}),e._v(" 添加附件(单个文件最大1G) ")])])],1),t("div",e._l(e.readyList,(function(a,n){return t("div",{key:a.uid,staticClass:"readyFile"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{width:"29px",height:"36px"},attrs:{src:e.imgUrl(a),alt:""}}),t("div",{staticStyle:{width:"240px","margin-left":"16px"}},[t("div",{staticStyle:{"margin-top":"2px","font-size":"var(--portalFontSize12)",color:"#333",width:"100%",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},[e._v(e._s(a.name))]),t("div",{staticStyle:{"font-size":"var(--portalFontSize12)",color:"#999","margin-top":"6px"}},[t("span",[e._v(e._s(-1!==a.fileSize.indexOf("K")||-1!==a.fileSize.indexOf("MB")?a.fileSize:a.fileSize+"K"))]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"上传成功",expression:"'上传成功'"}],staticStyle:{"margin-left":"10px"}},[e._v("上传成功")])])])]),t("i",{staticClass:"el-icon-close",staticStyle:{color:"#c0c4cc",position:"relative",top:"-9px",cursor:"pointer"},on:{click:function(t){return e.handleRemoveCopy(a.uid,n)}}})])})),0)])]),e.showeditor?t("div",{staticClass:"RichtextEditor",staticStyle:{border:"1px solid #eceff5",height:"calc(100vh - 364px - 47px)"},attrs:{id:"richA"}},[t("RichtextEditor",{staticStyle:{height:"100%"},attrs:{toolbar:"mini","can-edit":e.canEdit,"image-upload-url":e.api+"/mail/attach/uploadBodyPicture?module=DRAFT&busiDataId=mail&attachsType=BODY&apigw=apigw"},model:{value:e.mailInfo.content,callback:function(t){e.$set(e.mailInfo,"content",t)},expression:"mailInfo.content"}})],1):e._e()]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.mailInfo.sended,expression:"mailInfo.sended"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{width:"56px",height:"56px"},attrs:{"icon-class":"email_sendsuccess"}}),t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"sendSu",expression:"'sendSu'"}],staticStyle:{"font-size":"20px",color:"#333333",margin:"10px"}},[e._v("发送成功")]),t("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[t("div",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailTip",expression:"'emailTip'"}],staticStyle:{"font-size":"var(--portalFontSize13)",color:"#999999","margin-top":"4px"}},[e._v("邮件已保存到“已发送”")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"WriteAn",expression:"'WriteAn'"}],attrs:{type:"text"},on:{click:function(t){e.mailInfo={},e.newMail("againMail")}}},[e._v(" 再写一封 ")]),t("div",{staticStyle:{width:"1px",background:"#d8d8d8",height:"13px"}}),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"goEmail",expression:"'goEmail'"}],staticStyle:{margin:"0"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("email.svg")}}},[e._v("去收件箱")])],1)],1)])])],1):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:null===e.defultMail,expression:"defultMail === null"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"setUpInfo",expression:"'setUpInfo'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1)]),null!==e.defultMail&&void 0!==e.defultMail.emailReceiveType?t("div",{staticStyle:{width:"298px","font-size":"var(--portalFontSize14)",padding:"0"}},[t("div",[t("div",{staticStyle:{height:"calc(100vh - 180px)",padding:"0 0 5px 10px"}},[t("txl",{ref:"txl",model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}})],1)])]):e._e()])])},At=[],It=function(){var e=this,t=e._self._c;return t("div",{staticClass:"right_address_book",staticStyle:{height:"100%"}},[t("el-input",{staticStyle:{width:"100%","margin-top":"10px","padding-right":"10px"},attrs:{placeholder:e.$tx("email.components.searchKey","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1),t("div",{staticClass:"books_tree"},[t("el-scrollbar",{attrs:{native:!1,tag:"div"}},[null!==e.defultMail?t("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"unique-opened":"","default-active":"3"},on:{open:e.handleOpen,close:e.handleClose}},[t("el-submenu",{attrs:{index:"1"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"AddressBook",expression:"'AddressBook'"}],model:{value:e.pubChecked,callback:function(t){e.pubChecked=t},expression:"pubChecked"}},[e._v("公共通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{staticClass:"xhiden",attrs:{nodes:e.treeData,showemail:"true",multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}}),null===e.treeData||0===e.treeData.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeData?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"2"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"PersonalAddress",expression:"'PersonalAddress'"}],model:{value:e.perChecked,callback:function(t){e.perChecked=t},expression:"perChecked"}},[e._v("个人通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatatxl",staticClass:"xhiden",attrs:{nodes:e.treeDatatxl,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedtxl,onClick:e.onTreeNodeClickPerson,onCheck:e.onTreeNodeCheckPerson}}),null===e.treeDatatxl||0===e.treeDatatxl.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatatxl?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"3"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"recentContacts",expression:"'recentContacts'"}],model:{value:e.lateChecked,callback:function(t){e.lateChecked=t},expression:"lateChecked"}},[e._v("最近联系人")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatalatey",staticClass:"xhiden",attrs:{nodes:e.treeDatalatey,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedlatey,onClick:e.onTreeNodeClicklatey,onCheck:e.onTreeNodeCheckLatey}}),null===e.treeDatalatey||0===e.treeDatalatey.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatalatey?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2)],1):e._e()],1)],1)],1)},Et=[];function Ot(e){return Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(e)}function Pt(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Pt=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ot(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ot(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Nt(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ht(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Nt(r,n,i,o,s,"next",e)}function s(e){Nt(r,n,i,o,s,"throw",e)}o(void 0)}))}}var Ft=[],$t={components:{},props:{defultMail:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"components",treeData:null,treeDatatxl:null,treeDatalatey:null,treeDatanbyx:null,treeData2:null,loginUser:this.$store.getters.loginUser,openIndex:"3",showIcon:!0,showLine:!0,selectedNodes:[],treeDataBak:[],treeDataBaktxl:[],treeDataBaklatey:[],zTree:{},zTreetxl:{},zTreelatey:{},zTreelateynbyx:{},searchkey:"",accountList:[],pubChecked:!1,perChecked:!1,lateChecked:!1,nbChecked:!1}},computed:{},watch:{pubChecked:function(e,t){e?this.zTree.checkAllNodes(!0):this.zTree.checkAllNodes(!1),this.allEmail()},perChecked:function(e,t){e?this.zTreetxl.checkAllNodes(!0):this.zTreetxl.checkAllNodes(!1),this.allEmail()},lateChecked:function(e,t){e?this.zTreelatey.checkAllNodes(!0):this.zTreelatey.checkAllNodes(!1),this.allEmail()},nbChecked:function(e,t){e?this.zTreelateynbyx.checkAllNodes(!0):this.zTreelateynbyx.checkAllNodes(!1),this.allEmail()}},created:function(){this.$bus.on("handleFocusChange",this.handleFocusChange)},beforeDestroy:function(){this.$bus.off("quickSearchPerson"),this.$bus.off("changeEmail"),this.$bus.off("handleFocusChange")},mounted:function(){var e=this;this.queryMyMailList(),this.defultMail=this.defultMail||JSON.parse(sessionStorage.getItem("currentMail")),this.loadTypeTree(),this.loadTypeTreetxl(),this.loadTypeTreelatey(),this.$bus.on("quickSearchPerson",(function(t){e.quickSearch(t)})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))}))},methods:{handleFocusChange:function(e){var t=this,a=e.split(",");a.length&&a.forEach((function(e){var a=t.zTree.getNodeByParam("name",e,null);a&&t.zTree.checkNode(a,!a.checked,!0);var n=t.zTreelatey.getNodeByParam("name",e,null);n&&t.zTreelatey.checkNode(n,!n.checked,!0);var i=t.zTreetxl.getNodeByParam("name",e,null);i&&t.zTreetxl.checkNode(i,!i.checked,!0)}))},queryMyMailList:function(){var e=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?t.body.listdata.forEach((function(t){1===t.status&&e.accountList.push(t)})):e.$message.error(t.message)}),(function(t){e.$message.error(t)}))},handleOpen:function(e,t){this.openIndex=e,null===this.treeDatatxl&&this.loadTypeTreetxl(),null===this.treeData&&this.loadTypeTree(),null===this.treeDatalatey&&this.loadTypeTreelatey()},handleClose:function(e,t){},searchTreeNode:function(){var e=this,t=this.searchkey;this.searchDoading=!0,""===t?(0!==this.treeDataBak.length&&(this.treeData=this.treeDataBak,this.treeDataBak=""),0!==this.treeDataBaktxl.length&&(this.treeDatatxl=this.treeDataBaktxl,this.treeDataBaktxl=""),0!==this.treeDataBaklatey.length&&(this.treeDatalatey=this.treeDataBaklatey,this.treeDataBaklatey="")):(0===this.treeDataBak.length?this.treeDataBak=JSON.parse(JSON.stringify(this.treeData)):this.treeData=JSON.parse(JSON.stringify(this.treeDataBak)),0===this.treeDataBaktxl.length?this.treeDataBaktxl=JSON.parse(JSON.stringify(this.treeDatatxl)):this.treeDatatxl=JSON.parse(JSON.stringify(this.treeDataBaktxl)),0===this.treeDataBaklatey.length?this.treeDataBaklatey=JSON.parse(JSON.stringify(this.treeDatalatey)):this.treeDatalatey=JSON.parse(JSON.stringify(this.treeDataBaklatey)),null!==this.treeData&&0!==this.treeData.length&&(this.treeData=this.treeDataBak,setTimeout((function(){var a=e.zTree.getNodesByParamFuzzy("name",t);e.treeData=a}),100)),null!==this.treeDatatxl&&0!==this.treeDatatxl.length&&(this.treeDatatxl=this.treeDataBaktxl,setTimeout((function(){var a=e.zTreetxl.getNodesByParamFuzzy("tname",t);e.treeDatatxl=a}),100)),null!==this.treeDatalatey&&0!==this.treeDatalatey.length&&(this.treeDatalatey=this.treeDataBaklatey,setTimeout((function(){var a=e.zTreelatey.getNodesByParamFuzzy("tname",t);e.treeDatalatey=a}),100))),this.handleOpen(1);var a="";document.querySelector(".el-menu .el-submenu.is-opened > .el-submenu__title .el-icon-arrow-right")?console.log(123):(a=document.querySelector(".el-menu .el-submenu > .el-submenu__title .el-icon-arrow-right"),a&&a.click()),this.searchDoading=!1,this.searchkey=t},quickSearch:function(e){var t=this.treeData,a=this.treeDatatxl,n=this.treeDatalatey,i=(this.treeDatanbyx,[]),r=[],o=[],s=[];null!==t&&0!==t.length&&(i=this.zTree.getNodesByParamFuzzy("name",e)),null!==a&&0!==a.length&&(r=this.zTreetxl.getNodesByParamFuzzy("tname",e)),null!==n&&0!==n.length&&(o=this.zTreelatey.getNodesByParamFuzzy("tname",e)),i.concat(r,o,s),this.$bus.emit("quickdataFuc",i)},loadTypeTree:function(){var e=this;return Ht(Pt().mark((function t(){return Pt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"mail/message/findOrganPerson"}).then((function(t){"success"===t.code?e.treeData=e.treeDataAdapter(t.body.listdata):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreetxl:function(){var e=this;return Ht(Pt().mark((function t(){return Pt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",url:"mail/linkmanGroup/selectTreeGroup"}).then((function(t){"success"===t.code?e.treeDatatxl=e.treeDataAdapter1(t.body.treeList):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreelatey:function(){var e=this;return Ht(Pt().mark((function t(){return Pt().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",params:{orderBy:"updateTime desc",count:20},data:[{compare:"string",field:"emailType",merge:!0,value:null===e.defultMail.emailReceiveType?2:1}],url:"mail/linkmanGroup/selectLatelyLinkman"}).then((function(t){"success"===t.code?e.treeDatalatey=e.treeDataAdapter1(t.body.treeList):e.$message.error(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},treeDataAdapter:function(e){var t=this;this.showIcon=!0,this.showLine=!0;var a=this.getPrevSelected();return e=e.filter((function(e,t){if("rootOrg"!==e.type)return e})),e.forEach((function(e,n){if(e.personId){e.icon=t.user,e.personName=e.name;var i=t,r=i.accountList.findIndex((function(e){return 1===e.accountType&&1===e.status}));if(r>-1)e.name=e.name+"/"+e.emailAddr;else{var o=e.email?e.email:"无";e.name=e.name+"/"+o}e.pId=e.orgId||e.parentId||e.groupId,e.icon=t.user,e.mailAdress=e.email||"无",e.title=e.name,a.indexOf(e.account)>-1&&(e.checked=!0),e.canSelect=!0}else e.pId=e.parentID||e.parentId,e.name=e.nName||e.name,e.title=e.fullName||e.orgFullName,e.title=e.title.replace(/[&\|\\\*^%$#@\-]/g,"-"),-1!==e.title.indexOf("-")&&(e.title=e.title.substring(e.title.indexOf("-")+1)),e.canSelect=!1,e.icon=t.folderUser})),e},treeDataAdapter1:function(e){var t=this;return e.forEach((function(e){null===e.parentId?(e.pId=t.root.id,e.name=e.tname):void 0!==e.parentId&&null!==e.parentId?(e.pId=e.parentId,e.name=e.tname,e.title=e.name):e.title=e.name})),e},getPrevSelected:function(){var e="";return this.selectedNodes.forEach((function(t){""!==e&&(e+=","),e+=t.account})),e},refreshTreeData:function(e){null===e?this.loadTypeTree():this.treeData=this.treeDataAdapter([this.root].concat(e))},onTreeCreated:function(e){if(this.zTree=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedtxl:function(e){if(this.zTreetxl=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedlatey:function(e){if(this.zTreelatey=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeNodeClick:function(e,t,a){this.zTree.checkNode(a,!a.checked,!0),this.onTreeNodeCheck("","",a)},onTreeNodeClickPerson:function(e,t,a){this.zTreetxl.checkNode(a,!a.checked,!0),this.onTreeNodeCheckPerson("","",a)},onTreeNodeClicklatey:function(e,t,a){this.zTreelatey.checkNode(a,!a.checked,!0),this.onTreeNodeCheckLatey("","",a)},onTreeNodeCheck:function(e,t,a){if(a&&a.checked){var n=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),i=n.reduce((function(e,t){return e[t.account]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),o=[];r.forEach((function(e){o.push(e.name)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTree.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckPerson:function(e,t,a){if(a&&a.checked){var n=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreetxl.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckLatey:function(e,t,a){if(a&&a.checked){var n=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreelatey.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},allEmail:function(){this.onTreeNodeCheck("","",{checked:this.pubChecked}),this.onTreeNodeCheckPerson("","",{checked:this.perChecked}),this.onTreeNodeCheckLatey("","",{checked:this.lateChecked})},recursionChildren:function(e){var t=this;e.children&&e.children.length>0?e.children.forEach((function(e){e.children&&e.children.length>0?t.recursionChildren(e):e.personId&&Ft.push(e)})):e.personId&&Ft.push(e)}}},zt=$t,Bt=(n(7384),te(zt,It,Et,!1,null,"0d337f2c",null)),Wt=Bt.exports;function Rt(e){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rt(e)}function Ut(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ut=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Rt(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Rt(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function qt(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Gt(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){qt(r,n,i,o,s,"next",e)}function s(e){qt(r,n,i,o,s,"throw",e)}o(void 0)}))}}function Vt(e){return Xt(e)||Kt(e)||Qt(e)||Jt()}function Jt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Qt(e,t){if(e){if("string"==typeof e)return Zt(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Zt(e,t):void 0}}function Kt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Xt(e){if(Array.isArray(e))return Zt(e)}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function ea(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ta(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ea(Object(a),!0).forEach((function(t){aa(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ea(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function aa(e,t,a){return(t=na(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function na(e){var t=ia(e,"string");return"symbol"==Rt(t)?t:t+""}function ia(e,t){if("object"!=Rt(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Rt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ra={components:{txl:Wt},props:{newMailInfo:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"xieyoujian",content:" ",loading:!1,editorOption:{},canEdit:1,moduleInfo:{getByIdUrl:"mail/message/getMailInfoById",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup"},mailInfo:{},uploadAttach:"",mailContent:"",isParams:"",httpPort:"",readyList:[],uploadDdta:{},api:"/apigw",imageUploadUrl:"/apigw/mail/attach/upload",valueMail:"",accountList:[],defultMail:null,linkManEmail:[],editerHeight:"calc(100vh - 354px)",showeditor:!1,csr:!1,msr:!1,qfdx:!1,closeLink:!1,sendList:[],copyToList:[],blindCopyToList:[],sendListInput:"",copyToInput:"",blindCopyToInput:"",focusInput:1,inMail:!1,loginUser:this.$store.getters.loginUser,moveFile:[],topBarHeight:"180px",attachBarHeight:"43px",itemlist:[],limitNum:5}},computed:ta({curUser:function(){return this.$store.getters.loginUser}},H(["routes"])),watch:{defultMail:function(e){var t=this;if(null===e)return this.$message.error(this.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;this.$nextTick((function(){t.showeditor=!0,t.attachBarHeight=document.querySelector(".attach-bar").clientHeight+"px"}));var a=this;console.log("_this.$route.query",a.$route.query),a.$route.query?(console.log("走不走这里"),a.newMail()):(a.isParams="againMail",a.newMail(a.isParams))},readyList:function(){var e=this;this.$nextTick((function(){e.attachBarHeight=document.querySelector(".attach-bar").clientHeight+"px"}))}},created:function(){var e=this;if(this.$route.query.row)if(this.$route.query.srcBusiDataId)this.readyList=this.$route.query.row.filter((function(t,a){return t.name=t.fileName,a!==e.$route.query.row.length}));else{var t=[];for(var a in this.$route.query.row)t.push({name:this.$route.query.row[a].fileName,id:this.$route.query.row[a].id,fileSize:this.$route.query.row[a].fileSize});this.readyList=t.filter((function(t,a){return a!==e.$route.query.row.length}))}else this.newMailInfo!=={}&&(this.mailInfo=this.newMailInfo,this.mailInfo.attachments&&(this.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel),e.readyList.push({name:t.fileName,status:"ready",size:t.fileRealSize,percentage:0})})),console.log(this.itemlist,"this.itemlist")));this.httpPort=location.port,this.$bus.emit("showNavSearch",!1),this.getDefultMail()},beforeDestroy:function(){document.getElementById("richA").style.display="none",this.$bus.emit("showNavSearch",!0),this.$bus.off("quickdataFuc"),this.$bus.off("checkEmail"),this.$bus.off("checkEmailPerson"),this.$bus.off("changeEmail"),this.$bus.off("cancleCheck")},mounted:function(){var e=this;this.$nextTick((function(){e.$refs.sendTo.focus(),e.mailInfo.attachments&&e.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel)}))})),this.$route.query.srcBusiDataId&&(this.topBarHeight="0px"),this.$bus.on("cancleCheck",(function(t){t.forEach((function(t){e.sendList=e.sendList.filter((function(e){return e!==t})),e.copyToList=e.copyToList.filter((function(e){return e!==t})),e.blindCopyToList=e.blindCopyToList.filter((function(e){return e!==t}))}))})),this.$bus.on("quickdataFuc",(function(t){e.linkManEmail=e.unique(t),console.log("linkManEmail====",e.linkManEmail),t.length>0?e.closeLink=!0:e.closeLink=!1})),this.$bus.on("checkEmail",(function(t){if("string"===typeof t)if("无"===t.split("/")[1]);else{var a=0;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t.split("/")[1].indexOf("@");if(i>-1&&-1===t.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a||(1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t))}else for(var r,o=function(){if("无"===t[s].name.split("/")[1])return e.$message.warning(e.$tx("email.xieyoujian.notEmail","当前项无邮箱地址,不支持选择")),{v:!1};var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t[s].name.split("/")[1].indexOf("@"),r=t[s].name.split("/")[1]&&t[s].name.split("/")[1].split("@")[0]===t[s].account;if(!r&&i>-1&&-1===t[s].name.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱","已存在该抄送人!"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}}if((1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[s].name&&(a=1)})),1===a)return 1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!")),{v:!1};1===e.focusInput?e.sendList.push(t[s].name):2===e.focusInput?e.copyToList.push(t[s].name):e.blindCopyToList.push(t[s].name)},s=0;s<t.length;s++)if(r=o(),r)return r.v})),this.$bus.on("checkEmailPerson",(function(t){if(console.log("走不走"),"string"===typeof t){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t.indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a?(1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!"))):1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t)}else{console.log("数组",t);for(var i,r=function(){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t[o].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[o]&&(a=1)})),1===a?(e.focusInput,e.focusInput,e.focusInput):(1===e.focusInput?e.sendList.push(t[o]):2===e.focusInput?e.copyToList.push(t[o]):e.blindCopyToList.push(t[o]),console.log("uuuuu",t[o],e.sendList))},o=0;o<t.length;o++)if(i=r(),i)return i.v}})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))})),document.addEventListener("keydown",(function(t){e.closeLink&&e.linkManEmail.length>0&&(38===t.keyCode?e.linkIndex>0&&e.linkIndex--:40===t.keyCode?e.linkIndex<e.linkManEmail.length+1&&e.linkIndex++:13===t.keyCode&&(1===e.linkManEmail.length?e.clickLink(e.linkManEmail[0].name):e.clickLink(e.linkManEmail[e.linkIndex].name)))}))},methods:{clickArea:function(e){this.$refs[e].focus()},filterTree:function(e){var t=this,a=this.$refs.txl.zTree.getNodes(),n=this.$refs.txl.zTreetxl.getNodes(),i=this.$refs.txl.zTreelatey.getNodes(),r=this.$refs.txl.zTree.transformToArray(a),o=this.$refs.txl.zTreetxl.transformToArray(n),s=this.$refs.txl.zTreelatey.transformToArray(i);if(r.forEach((function(a){a.name===e&&t.$refs.txl.zTree.checkNode(a,!1,!0)})),o.forEach((function(a){a.email===e&&t.$refs.txl.zTreetxl.checkNode(a,!1,!0)})),s.forEach((function(a){a.email===e&&t.$refs.txl.zTreelatey.checkNode(a,!1,!0)})),0===this.$refs.txl.zTree.getCheckedNodes(!0).length)this.$refs.txl.pubChecked=!1;else if(this.$refs.txl.zTree.getCheckedNodes(!0).length>0){var l=0;a.forEach((function(e){t.$refs.txl.zTree.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&l++}))})),this.$refs.txl.pubChecked=l===a.length}if(0===this.$refs.txl.zTreetxl.getCheckedNodes(!0).length)this.$refs.txl.perChecked=!1;else if(this.$refs.txl.zTreetxl.getCheckedNodes(!0).length>0){var d=0;n.forEach((function(e){t.$refs.txl.zTreetxl.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&d++}))})),this.$refs.txl.perChecked=d===n.length}0===this.$refs.txl.zTreelatey.getCheckedNodes(!0).length&&(this.$refs.txl.lateChecked=!1)},csTagChange:function(){var e=this;this.csr=!this.csr,this.focusInput=this.csr?2:1,this.csr?this.$nextTick((function(){e.$refs.copyTo.focus()})):this.copyToList.length>0&&this.copyToList.forEach((function(t){e.filterTree(t)})),this.copyToList=[]},msTagChange:function(){var e=this;this.msr=!this.msr,this.focusInput=this.msr?3:1,this.msr?this.$nextTick((function(){e.$refs.blindCopyTo.focus()})):this.blindCopyToList.length>0&&this.blindCopyToList.forEach((function(t){e.filterTree(t)})),this.blindCopyToList=[]},qfdxTagChange:function(){this.qfdx=!this.qfdx,this.qfdx&&(this.csr=!1,this.msr=!1),this.copyToList=[],this.blindCopyToList=[]},deleteCg:function(){this.$emit("deleteDraft")},loadInternetList:function(){var e=this,t=this;t.loading=!1,this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(a){t.loading=!1,"success"===a.code?(a.body.listdata.forEach((function(e){1===e.status&&t.accountList.push(e)})),t.accountList&&t.accountList.length>0&&(t.defultMail=t.accountList[0]),t.defultMail&&(t.valueMail=t.defultMail.emailAddr)):t.$alert(a.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}),(function(e){t.$message.error(e)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.fullPath;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}"shoujianxiang.svg"===e?this.$router.push({path:a,query:this.newMailInfo}):"email.svg"===e&&this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},onSelectStaffCompleted:function(e,t){var a="";e.forEach((function(e){""!==a&&(a+="、"),a+=e.name})),"sendTo"===t.name?this.$set(this.mailInfo,"sendTo",a):this.$set(this.mailInfo,"copyTo",a)},newMail:function(e){var t=this;if(this.loading=!0,this.sendList=[],"againMail"===e)this.mailInfo={},this.mailInfo.sendTo="",this.mailInfo.sended=!1;else{var a=localStorage.getItem("newMailInfo");a&&"{}"!==a&&(a=JSON.parse(a),this.mailInfo.sentdate&&delete a.id,this.mailInfo=a,localStorage.removeItem("newMailInfo"))}if(void 0!==this.mailInfo.srcBusiDataId)this.wflowForwardMail();else if(null==this.mailInfo.mailMessageId)this.mailContent="<br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"));else if(null==this.mailInfo.sentdate){if(this.sendList=[],this.copyToList=[],this.blindCopyToList=[],null!==this.mailInfo.sendTo&&""!==this.mailInfo.sendTo){var n=this.mailInfo.sendTo.split(",");this.sendList=this.sendList.concat(n)}if(null!==this.mailInfo.copyTo&&""!==this.mailInfo.copyTo){var i=this.mailInfo.copyTo.split(",");this.copyToList=this.copyToList.concat(i)}if(null!==this.mailInfo.blindCopyTo&&""!==this.mailInfo.blindCopyTo){var r=this.mailInfo.blindCopyTo.split(",");this.blindCopyToList=this.blindCopyToList.concat(r)}var o;if(this.mailContent=this.mailInfo.content,this.mailInfo.attachments)this.readyList=(o=this.readyList).concat.apply(o,Vt(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)})),console.log("this.mailInfo",this.mailInfo)}else if(this.mailInfo.actionType){if("respAll"===this.mailInfo.actionType){var s=this.mailInfo.sendTo.split(","),l=this.mailInfo.fromAddr.split(","),d=this.mailInfo.copyTo.split(",");s.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),l.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),d.forEach((function(e,a){""!==e&&-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&(t.copyToList.push(e),t.csr=!0)}))}else if("resp"===this.mailInfo.actionType)this.sendList.push(this.mailInfo.fromAddr),this.mailInfo.fromAddr=this.defultMail.emailAddr;else if("resend"===this.mailInfo.actionType){var c;if(this.sendList.push(this.mailInfo.sendTo),this.mailInfo.attachments.length>0)(c=this.readyList).push.apply(c,Vt(this.mailInfo.attachments))}else if("forward"===this.mailInfo.actionType){var u;if(this.mailInfo.fromAddr=this.defultMail.emailAddr,this.sendList=[],this.mailInfo.attachments)if(this.mailInfo.attachments.length>0)(u=this.readyList).push.apply(u,Vt(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)}))}"resend"!==this.mailInfo.actionType&&(this.mailInfo.fromAddr=this.defultMail.emailAddr,this.mailContent="<br/><br/><br/><br/><br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>")),this.mailContent+="<hr/>------------------ 原始邮件 ------------------<br/>"),this.mailContent+=this.mailInfo.content,this.mailInfo.mailMessageId=null,this.mailInfo.id=null,this.mailInfo.sentdate=null}this.$set(this.mailInfo,"receipt",1),this.loading=!1,this.mailInfo.content=this.mailContent,this.newMailInfo=null,this.$forceUpdate()},wflowForwardMail:function(){var e=this,t=this;this.$http({method:"GET",contentType:"application/json",params:{module:this.$route.query.busiCode,busiDataId:this.$route.query.srcBusiDataId},url:this.$route.query.wfEngineUrl.split("/")[0]+"/webForm/forwardMail"}).then((function(a){if("success"===a.code){t.$set(t.mailInfo,"subject","【"+a.body.wfInstance.wfName+"】"+a.body.wfInstance.title),t.mailContent=a.body.content,t.mailInfo.content=t.mailContent;var n=e.mailInfo.attachments||[];a.body.attachs.forEach((function(e){t.$route.query.fileId&&-1!==t.$route.query.fileId.indexOf(e.id)&&(n.push(e),e.name=e.fileName)})),t.readyList=n}else t.$message.error(a.message)}),(function(e){t.$message.error(e)}))},handleRemoveCopy:function(e,t){var a=this.readyList.findIndex((function(t){return t.uid===e}));this.itemlist.splice(t,1),this.readyList.splice(a,1)},handleRemove:function(e,t){this.readyList=t,this.moveFile.push(e)},allUpload:function(e){console.log(e,"params")},handleChange:function(e,t){if(this.uploadAttach=e,this.readyList.length>0){for(var a=0;a<this.readyList.length;a++)if(e.name===this.readyList[a].name)return this.$message.warning(this.$tx("email.messages.fileName",{fileName:e.name},"“{fileName}” 文件重复,已覆盖该文件")),this.readyList.splice(a--,1),this.readyList.push(e),!1;this.readyList.push(e)}else this.readyList.push(e);for(var n in this.mailInfo.subject||this.$set(this.mailInfo,"subject",e.name.split(".")[0]),this.itemlist.push(""),this.mailInfo.attachments=this.readyList,this.mailInfo.attachsCount=this.mailInfo.attachments.length,this.readyList)this.readyList[n].size&&(this.readyList[n].fileSize=(this.readyList[n].size/this.pow1024(1)).toFixed(2))},pow1024:function(e){return Math.pow(1024,e)},handleExceed:function(e,t){return this.$message.warning(this.$tx("email.messages.maxFileUpload",{limitNum:this.limitNum},"最多只能上传{limitNum}个文件")),!1},selectMail:function(e){e&&(this.inMail=!0),this.valueMail=e.emailAddr,this.saveMailSetup(e)},saveDraft:function(e){var t=this,a=this;if(a.mailInfo.usersetId=a.defultMail.id,!(a.sendList.length>0))return a.$message.error(this.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;a.mailInfo.sendTo=this.sendList.toString(),a.mailInfo.copyTo=this.copyToList.toString(),a.mailInfo.blindCopyTo=this.blindCopyToList.toString(),console.log(this.readyList,"this.readyList"),a.formValidate((function(){a.loading=!0,a.mailInfo.onlyOne=a.qfdx?1:0;var n=a.moduleInfo.saveDraftUrl,i={userSetupId:a.defultMail.id};return new Promise((function(r,o){a.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:i,data:a.mailInfo,url:n}).then((function(n){"success"===n.code?(a.mailInfo.mailMessageId=n.body.mailMessageId,a.mailInfo.id=n.body.shipId,a.mailInfo.mailType=n.body.mailType,null!=a.readyList&&a.readyList.length>0?a.fileUploadFuc(e):"send"===e?a.sendMail():(a.loading=!1,a.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))):(a.loading=!1,a.$message.error(n.message)),r(n)})).catch((function(e){o(e)}))}))}))},fileUploadFuc:function(e){var t=this;return Gt(Ut().mark((function a(){var n,i,r,o;return Ut().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n=t,i="/mail/attach/upload",0!==n.readyList.length){a.next=6;break}n.$messages.info(t.$tx("email.messages.selectExportFile","请选择导入文件")),a.next=15;break;case 6:n.mailInfo.attachments=[],r=Ut().mark((function e(){var t,a,r;return Ut().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=n.readyList[o],a=new FormData,a.append("module","DRAFT"),a.append("fileLevel",n.itemlist[o]),r=[],n.moveFile.length>0&&n.moveFile.forEach((function(e){e.id&&r.push(e.id)})),r.length>0&&n.$app.deleteByIds("/mail/attach/deleted",r),!t.id){e.next=17;break}if(!(n.mailInfo.actionType&&("forward"===n.mailInfo.actionType||"resend"===n.mailInfo.actionType)||n.$route.query.srcBusiDataId||n.$route.query.row)){e.next=14;break}return n.$route.query.srcBusiDataId?(i="/mail/attach/forwardUpload",t.busiDataId=n.mailInfo.mailMessageId,n.uploadDdta=t):(n.mailInfo.actionType&&("forward"===n.mailInfo.actionType||"resend"===n.mailInfo.actionType)||n.$route.query.row)&&(i="/mail/attach/tranUpload",a.append("id",t.id),a.append("busiDataId",n.mailInfo.id),a.append("usersetId",n.defultMail.id),n.uploadDdta=a),e.next=12,n.$http({method:"POST",url:i,data:n.uploadDdta}).then((function(e){if("success"!==e.code)return n.$message.error(e.message),!1;var t;e.body.uploadAttach.length>0&&(t=n.mailInfo.attachments).push.apply(t,Vt(e.body.uploadAttach))}));case 12:e.next=15;break;case 14:n.mailInfo.attachments.push(t);case 15:e.next=27;break;case 17:return a.append("busiDataId",n.mailInfo.id),a.append("attachsType","ATTACH"),a.append("attachsSize",t.size),a.append("attachsName",t.name),a.append("file",t.raw),a.append("usersetId",n.defultMail.id),i="/mail/attach/upload",n.uploadDdta=a,e.next=27,n.$http({method:"POST",url:i,data:n.uploadDdta}).then((function(e){if("success"!==e.code)return n.loading=!1,n.$message.error(e.message),!1;n.readyList[o].id=e.body.uploadAttachList[0].id,n.mailInfo.attachments.push(e.body.uploadAttachList[0])}));case 27:case"end":return e.stop()}}),e)})),o=0;case 9:if(!(o<n.readyList.length)){a.next=14;break}return a.delegateYield(r(),"t0",11);case 11:o++,a.next=9;break;case 14:"send"===e?n.sendMail():(n.loading=!1,n.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")),n.readyList=n.mailInfo.attachments,n.mailInfo.actionType&&delete n.mailInfo.actionType,n.$route.query.row&&delete n.$route.query.row);case 15:case"end":return a.stop()}}),a)})))()},sendMail:function(){var e=this;if(e.mailInfo.usersetId=e.defultMail.id,!(e.sendList.length>0))return e.$message.error(this.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;e.mailInfo.sendTo=this.sendList.toString(),e.mailInfo.copyTo=this.copyToList.toString(),e.mailInfo.blindCopyTo=this.blindCopyToList.toString(),this.formValidate((function(){e.loading=!0;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.defultMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.mailInfo,url:t}).then((function(t){e.loading=!1,"success"===t.code?e.$route.query.srcBusiDataId?(e.$alert(t.message,this.$tx("common.operationTip","操作提示"),{type:"success"}),window.setTimeout((function(){window.close()}),1500)):(e.$message.success(t.message),e.mailInfo.sended=!0,e.readyList=[]):t.message.indexOf("Authentication failed")>0?this.$alert(this.$tx("email.messages.emailTip4","请前往邮箱中心检验邮箱用户密码或授权码是否正确"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$message.error(t.message)})).catch((function(t){e.$message.error(t),e.loading=!1}))}))},selectEmailFuc:function(e){var t=this,a=1===e?t.sendListInput:2===e?t.copyToInput:t.blindCopyToInput;if(""===a.trim())return t.closeLink=!1,!1;var n="";clearTimeout(n),n=setTimeout((function(){t.$bus.emit("quickSearchPerson",a)}),500)},saveMailSetup:function(e){var t=this;e.isDefault=1,t.$http({method:"put",contentType:"application/x-www-form-urlencoded",data:e,url:"mail/userSetup/update"}).then((function(a){"success"===a.code&&(t.defultMail=e)}))},clickLink:function(e){if(console.log("选择快速匹配出来的人",e),"无"===e.split("/")[1])return this.$message.warning(this.$tx("email.xieyoujian.notEmail","当前项无邮箱地址,不支持选择")),!1;var t=null;if((1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(a,n){a===e&&(t=1)})),1===t)return this.$message.warning(this.$tx("email.messages.emailTip1","已存在该收件人!")),!1;1===this.focusInput?(this.sendList.push(e),this.sendListInput=""):2===this.focusInput?(this.copyToList.push(e),this.copyToInput=""):(this.blindCopyToList.push(e),this.blindCopyToInput=""),this.closeLink=!1},keyUpFuc:function(){var e=this;return Gt(Ut().mark((function t(){var a,n,i;return Ut().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(""===(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput).trim()){t.next=25;break}if(a=null,!1!==e.closeLink){t.next=25;break}return t.next=5,e.isEmail(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput);case 5:if(n=t.sent,!n){t.next=25;break}if(i=null,null!==e.defultMail.emailReceiveType){t.next=15;break}if(a="@"+e.defultMail.emailAddr.split("@")[1],e.defultMail.internetEmailAddr){t.next=15;break}if(-1!==(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput).indexOf(a)){t.next=15;break}return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),1===e.focusInput?e.sendListInput="":2===e.focusInput?e.copyToInput="":e.blindCopyToInput="",t.abrupt("return",!1);case 15:if((1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(t,a){t===(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput)&&(i=1)})),1!==i){t.next=24;break}return 1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!")),t.abrupt("return",!1);case 24:1===e.focusInput?(e.sendList.push(e.sendListInput),e.sendListInput=""):2===e.focusInput?(e.copyToList.push(e.copyToInput),e.copyToInput=""):(e.blindCopyToList.push(e.blindCopyToInput),e.blindCopyToInput="");case 25:case"end":return t.stop()}}),t)})))()},removeMail:function(e,t,a){1===a?this.sendList.splice(t,1):2===a?this.copyToList.splice(t,1):this.blindCopyToList.splice(t,1),this.filterTree(e)},isEmail:function(e){var t=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;return!!t.test(e)||(this.$message.error(this.$tx("email.xieyoujian.emailTip5","邮件格式不正确!请重新输入")),1===this.focusInput?this.sendListInput="":2===this.focusInput?this.copyToInput="":this.blindCopyToInput="",!1)},focusInputFuc:function(e){this.focusInput=e,this.selectEmailFuc(e);var t=["sendTo","copyTo","blindCopyTo"];this.$refs[t[e-1]].focus()},unique:function(e){for(var t=[],a={},n=0;n<e.length;n++)a[e[n].name]||(a[e[n].name]=1,t.push(e[n]));return t},getDefultMail:function(){var e=this,t=sessionStorage.getItem("currentMail");if(null===t||""===t||void 0===t){this.accountList=[];var a=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?(t.body.listdata.forEach((function(e){1===e.status&&a.accountList.push(e)})),a.accountList&&a.accountList.length>0&&(a.defultMail=a.accountList[0])):a.$message.error(t.message),e.loading=!1}),(function(e){a.$message.error(e)}))}else this.defultMail=JSON.parse(t)},imgUrl:function(e){e.name=e.name?e.name:e.fileName;var t=e.name.substring(e.name.lastIndexOf(".")),a=[["image",".gif",".bmp",".jpg",".tga",".png",".jpeg",".svg"],["doc",".ppt",".pptx",".xls",".xlsx",".doc",".docx",".pdf",".pdfx",".txt"],["zip",".zip",".rar",".7z",".z"],["video",".wmv",".asf",".asx",".rm",".rmvb",".mp4",".3gp",".mov",".m4v",".avij",".mk",".f1v",".vob"],["audio",".wav",".midi",".cda",".mp3",".mp3pro",".wma",".sacd"]],n=null,i=null;for(var r in a)for(var o in a[r])if(a[r][o]===t){n=r,i=o;break}if(!n)return"images/w-imgs/email/other.png";if("doc"===a[n][0]){if(".doc"===a[n][i]||".docx"===a[n][i])return"images/w-imgs/email/word.png";if(".ppt"===a[n][i]||".pptx"===a[n][i])return"images/w-imgs/email/ppt.png";if(".xls"===a[n][i]||".xlsx"===a[n][i])return"images/w-imgs/email/excel.png";if(".pdf"===a[n][i])return"images/w-imgs/email/pdf.png";if(".txt"===a[n][i])return"images/w-imgs/email/txt.png"}else{if("audio"===a[n][0])return"images/w-imgs/email/audio.png";if("video"===a[n][0])return"images/w-imgs/email/video.png";if("zip"===a[n][0])return"images/w-imgs/email/zip.png";if("image"===a[n][0])return"images/w-imgs/email/picture.png"}}}},oa=ra,sa=(n(5421),te(oa,Ct,At,!1,null,"6252c928",null)),la=sa.exports,da=function(){var e=this,t=e._self._c;return t("LRLayout",[t("LeftPanel",{staticClass:"left_account"},[t("div",{staticClass:"top"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"EmailCenter",expression:"'EmailCenter'"}],staticStyle:{"font-size":"var(--portalFontSize14)",color:"#606266","font-weight":"500"}},[e._v("邮件中心")]),t("i",{staticClass:"el-icon-plus",staticStyle:{float:"right",padding:"0 10px","line-height":"47.2px",height:"47.2px"},on:{click:e.addEmail}})]),t("ul",e._l(e.accountList,(function(a,n){return t("li",{key:a,staticClass:"checkBoxlabel",style:{backgroundColor:e.urlSechId===a.id?"#1890ff":""},on:{click:function(t){return t.target!==t.currentTarget?null:e.selectEmail(t,n)}}},[t("span",{style:{color:e.urlSechId===a.id?"white":""},on:{click:function(t){return t.preventDefault(),e.selectEmail(t,n)}}},[e._v(e._s(a.emailAddr))]),2===a.accountType?t("i",{staticClass:"el-icon-delete",style:{float:"right",marginRight:"10px",lineHeight:" 47.2px",height:"47.2px",color:e.urlSechId===a.id?"white":"#606266"},attrs:{"icon-class":"del"},on:{click:function(t){return e.deleteMail(a)}}}):e._e()])})),0)]),t("RightPanel",[t("pageContent",{attrs:{title:e.formTitle}},[t("el-form",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[e.tbody?t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailAddress",expression:"'EmailAddress'"}]},[e._v("电子邮箱地址")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.vo.accountType?t("span",[e._v(e._s(e.vo.emailAddr))]):t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"电子邮箱地址",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[e.isOther?t("el-input",{ref:"emailAddr",attrs:{type:"text",autocomplete:"new-password",placeholder:""},on:{input:e.setPasswordLbl},model:{value:e.vo.emailAddr,callback:function(t){e.$set(e.vo,"emailAddr",t)},expression:"vo.emailAddr"}}):t("el-input",{ref:"emailAddr",attrs:{type:"text",autocomplete:"new-password",placeholder:""},on:{change:e.setPasswordLbl},model:{value:e.vo.emailAddr,callback:function(t){e.$set(e.vo,"emailAddr",t)},expression:"vo.emailAddr"}})],1)]}}],null,!1,687107226)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailUserName",expression:"'EmailUserName'"}]},[e._v("邮箱用户名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.vo.accountType?t("span",[e._v(e._s(e.vo.emailUsername||e.loginUser.personName))]):t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱用户名称",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailUsername",attrs:{type:"text",autocomplete:"new-password",placeholder:""},model:{value:e.vo.emailUsername,callback:function(t){e.$set(e.vo,"emailUsername",t)},expression:"vo.emailUsername"}})],1)]}}],null,!1,2807694645)})],1)]),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailUserAccount",expression:"'EmailUserAccount'"}]},[e._v("邮箱用户帐号")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[1===e.vo.accountType?t("span",[e._v(e._s(e.vo.emailAccount))]):t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱用户帐号",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailAccount",attrs:{type:"text",autocomplete:"new-password",placeholder:""},model:{value:e.vo.emailAccount,callback:function(t){e.$set(e.vo,"emailAccount",t)},expression:"vo.emailAccount"}})],1)]}}],null,!1,151269909)})],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),null==e.passwordLbl?t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailPass",expression:"'emailPass'"}]},[e._v("邮箱用户密码/授权码")]):e._e(),null!=e.passwordLbl?t("a",{staticStyle:{color:"#409eff"},on:{click:function(t){return e.linkHelper(e.vo.emailAddr)}}},[e._v(e._s(e.passwordLbl))]):e._e()]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"邮箱用户密码/授权码",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailPassword",attrs:{type:"password",autocomplete:"new-password",placeholder:""},model:{value:e.vo.emailPassword,callback:function(t){e.$set(e.vo,"emailPassword",t)},expression:"vo.emailPassword"}})],1)]}}],null,!1,1521699703)})],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"accountType",expression:"'accountType'"}]},[e._v("用户账户类型")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-radio-group",{on:{change:e.emailReceiveTypeChange},model:{value:e.vo.emailReceiveType,callback:function(t){e.$set(e.vo,"emailReceiveType",t)},expression:"vo.emailReceiveType"}},[t("el-radio",{attrs:{label:"IMAP"}},[e._v("IMAP")])],1)],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"ReceivingServer",expression:"'ReceivingServer'"}]},[e._v("接收邮件服务器")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"接收邮件服务器",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailReceiveServer",attrs:{type:"text",autocomplete:"false",placeholder:""},model:{value:e.vo.emailReceiveServer,callback:function(t){e.$set(e.vo,"emailReceiveServer",t)},expression:"vo.emailReceiveServer"}})],1)]}}],null,!1,1135888742)})],1)]):e._e(),1!==e.vo.accountType?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"outgoingMail",expression:"'outgoingMail'"}]},[e._v("发送邮件服务器")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"发送邮件服务器",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"emailSmtpServer",attrs:{type:"text",autocomplete:"false",placeholder:""},model:{value:e.vo.emailSmtpServer,callback:function(t){e.$set(e.vo,"emailSmtpServer",t)},expression:"vo.emailSmtpServer"}})],1)]}}],null,!1,37264710)})],1)]):e._e(),1===e.vo.accountType?t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"emailAddress",expression:"'emailAddress'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("绑定外部邮箱地址")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-select",{staticStyle:{width:"100%"},attrs:{clearable:"",placeholder:e.$tx("email.youxiangshezhi.EmailTip","请选择外部邮箱地址,用于内部邮箱给外部邮箱发送邮件")},on:{change:e.formTxlChange},model:{value:e.vo.internetEmailAddr,callback:function(t){e.$set(e.vo,"internetEmailAddr",t)},expression:"vo.internetEmailAddr"}},e._l(e.accountList,(function(a){return t("div",{key:a.id},[2===a.accountType?t("el-option",{attrs:{label:a.emailAddr,value:a.emailAddr}}):e._e()],1)})),0)],1)]):e._e(),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"pageMax",expression:"'pageMax'"}]},[e._v("每页最多显示邮件数")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"每页最多显示邮件数",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.pageSize,callback:function(t){e.$set(e.vo,"pageSize",t)},expression:"vo.pageSize"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum10",expression:"'fileNum10'"}],attrs:{label:1}},[e._v("10封")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum20",expression:"'fileNum20'"}],attrs:{label:2}},[e._v("20封")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum50",expression:"'fileNum50'"}],attrs:{label:3}},[e._v("50封")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"fileNum100",expression:"'fileNum100'"}],attrs:{label:4}},[e._v("100封")])],1)],1)]}}],null,!1,2497114557)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"forwardingEmail",expression:"'forwardingEmail'"}]},[e._v("转发邮件时主题显示")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.forwardingEmail","转发邮件时主题显示"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.forwardSubject,callback:function(t){e.$set(e.vo,"forwardSubject",t)},expression:"vo.forwardSubject"}},[t("el-radio",{attrs:{label:"Fw"}},[e._v("Fw")]),t("el-radio",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"forward",expression:"'forward'"}],attrs:{label:"转发"}},[e._v("转发")])],1)],1)]}}],null,!1,3398201926)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"replyingToem",expression:"'replyingToem'"}]},[e._v("回复邮件时主题显示")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.replyingToem","回复邮件时主题显示"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.replySubject,callback:function(t){e.$set(e.vo,"replySubject",t)},expression:"vo.replySubject"}},[t("el-radio",{attrs:{label:"Re"}},[e._v("Re")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"reply",expression:"'reply'"}],attrs:{label:"回复"}},[e._v("回复")])],1)],1)]}}],null,!1,119119055)})],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addSignature",expression:"'addSignature'"}]},[e._v("发送邮件时是否添加签名")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.addSignature","发送邮件时是否添加签名"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.vo.signFlag,callback:function(t){e.$set(e.vo,"signFlag",t)},expression:"vo.signFlag"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.yes",expression:"'common.yes'"}],attrs:{label:1}},[e._v("是")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.no",expression:"'common.no'"}],attrs:{label:2}},[e._v("否")])],1)],1)]}}],null,!1,3050812077)})],1)]),1===e.vo.signFlag?t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendContent",expression:"'sendContent'"}]},[e._v("发送邮件时添加签名内容")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:e.$tx("email.youxiangshezhi.sendContent","发送邮件时添加签名内容"),rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.youxiangshezhi.contentEnter","请输入内容")},model:{value:e.vo.signContent,callback:function(t){e.$set(e.vo,"signContent",t)},expression:"vo.signContent"}})],1)]}}],null,!1,2406418358)})],1)]):e._e()])])]):e._e()])]),t("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{size:"small",plain:"",icon:"el-icon-check"},on:{click:function(t){return e.saveMailSetup()}}},[e._v("保 存")])],1)],1)],1),t("el-dialog",{attrs:{title:e.$tx("email.youxiangshezhi.emailType","邮箱类型"),visible:e.dialogVisible,width:"600px","before-close":e.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"emailWrap"},e._l(e.emailList,(function(a){return t("div",{key:a.value,staticClass:"emialLine",on:{click:function(t){return e.selAddEmail(a)}}},[t("img",{staticStyle:{width:"30px",height:"30px","margin-right":"10px","border-radius":"4px",overflow:"hidden"},attrs:{src:a.imageUrl,alt:""}}),e._v(" "+e._s(a.name)+" ")])})),0),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{plain:"",icon:"el-icon-close"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("关 闭")])],1)])],1)},ca=[];function ua(e){return ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ua(e)}function ma(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function pa(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ma(Object(a),!0).forEach((function(t){ha(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ma(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function ha(e,t,a){return(t=fa(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function fa(e){var t=_a(e,"string");return"symbol"==ua(t)?t:t+""}function _a(e,t){if("object"!=ua(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ua(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function ga(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ga=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==ua(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(ua(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function ya(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function va(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){ya(r,n,i,o,s,"next",e)}function s(e){ya(r,n,i,o,s,"throw",e)}o(void 0)}))}}var ba={components:{},props:{},data:function(){return{i18npkg:"email",moduleCode:"youxiangshezhi",dialogVisible:!1,isOther:!1,emailList:[{imageUrl:n(2622),name:this.$tx("email.youxiangshezhi.emailqq","QQ邮箱"),value:"qq",subStr:"@qq.com"},{imageUrl:n(4017),name:this.$tx("email.youxiangshezhi.email139","139邮箱"),value:"139",subStr:"@139.com"},{imageUrl:n(9244),name:this.$tx("email.youxiangshezhi.email163","163邮箱"),value:"163",subStr:"@163.com"},{imageUrl:n(9162),name:this.$tx("email.youxiangshezhi.other","其他"),value:"other",subStr:""}],loginUser:this.$store.getters.loginUser,formTitle:this.$tx("email.youxiangshezhi.Emailstting","邮箱设置"),moduleInfo:{updateUrl:"mail/userSetup/update",insertUrl:"mail/userSetup/insert",queryDataUrl:"mail/userSetup/queryMyMailSetup",addNewUrl:"mail/userSetup/addNew",delete:"mail/userSetup/delete"},vo:{accountType:2,emailUsername:"",emailReceiveType:"IMAP",emailAccount:"",emailAddr:"",emailPassword:"",emailReceiveServer:"",emailSmtpServer:"",isDefault:"",pageSize:"",forwardSubject:"",replySubject:"",signFlag:"",signContent:"",status:1},passwordLbl:null,helpurl:"",loading:"",accountList:[],interiorAccountList:null,isIndeterminate:!1,checkAll:!1,checkedCities:[],tbody:!0,urlSechId:null,iScompile:!1,voListdata:!1,ul:!0}},computed:{curUser:function(){return this.$store.getters.loginUser}},watch:{vo:{handler:function(e){this.urlSechId=e.id}}},created:function(){this.$bus.emit("showNavSearch",!1)},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("changeEmail")},mounted:function(){var e=this;this.loadingAccount(),this.$bus.on("changeEmail",(function(t){e.loadingAccount()}))},methods:{deleteMail:function(e){var t=this;this.$confirm(this.$tx("email.youxiangshezhi.isdelEmail",{emailAddr:e.emailAddr},"确定要删除{emailAddr}邮箱及其下文件夹吗?"),this.$tx("common.confirmOperate","确认操作"),{type:"warning"}).then(va(ga().mark((function a(){var n,i;return ga().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=[],n.push(e.id),a.next=4,t.$app.deleteByIds(t.moduleInfo.delete,n);case 4:i=a.sent,"success"===i.code?(t.$message.success(i.message),t.loadingAccount(),t.$bus.emit("queryMyMailSetup")):t.$message.error(i.message);case 6:case"end":return a.stop()}}),a)}))))},handleCheckAllChange:function(e){this.checkedCities=e?this.accountList:[],this.isIndeterminate=!1},handleCheckedCitiesChange:function(e){var t=e.length;this.checkAll=t===this.accountList.length,this.isIndeterminate=t>0&&t<this.accountList.length},linkHelper:function(e){e?-1!==e.indexOf("@qq.")?window.open("https://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1001256&&id=28","_blank"):-1!==e.indexOf("@ecinc.")?window.open("/plugins/email/ecincMailHelp.html","_blank"):-1!==e.indexOf("@139.")?window.open("http://help.mail.10086.cn/statichtml/1/Content/3620.html","_blank"):-1!==e.indexOf("@163.")&&window.open("http://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2cda80145a1742516","_blank"):this.$alert(this.$tx("email.youxiangshezhi.EmailassEnter","请先输入电子邮箱地址再进行操作!"),this.$tx("common.operationTip","操作提示"),{type:"warning"})},selectEmail:function(e,t){this.tbody=!0,this.vo=pa({},this.accountList[t]),this.vo.isUpdate=1,1!==this.vo.accountType&&(this.isOther=!0),this.setPasswordLbl()},refreshAccount:function(){var e=this;this.accountList=[];var t=this;this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(a){if(a.body.listdata.forEach((function(t){1===t.status&&e.accountList.push(t)})),e.accountList&&e.accountList.length>0){var n=e.accountList.findIndex((function(e){return 1===e.accountType}));if(n>-1){var i=e.accountList[n];e.accountList.splice(n,1),e.accountList.unshift(i)}a.body.listdata.forEach((function(e){1===e.status&&t.accountList.push(e)})),t.accountList&&t.accountList.length>0?t.defultMail=t.accountList[0]:t.defultMail=null,t.defultMail&&sessionStorage.setItem("currentMail",JSON.stringify(t.defultMail))}}))},loadingAccount:function(e){var t=this,a=this;a.loading=!0,this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(e){if("success"===e.code){var n=[];if(e.body.listdata.forEach((function(e){1===e.status&&n.push(e)})),t.voListdata=n,a.loading=!1,t.voListdata.length>0?(t.vo=t.voListdata[0],t.vo.isUpdate=1,t.urlSechId=t.vo.id,t.setPasswordLbl()):t.addEmail(),t.accountList=n,t.accountList&&t.accountList.length>0){var i=t.accountList.findIndex((function(e){return 1===e.accountType}));if(i>-1){var r=t.accountList[i];t.accountList.splice(i,1),t.accountList.unshift(r)}}}else a.loading=!1,a.$message.error(e.message)}),(function(e){a.loading=!1,a.$message.error(e)}))},setPasswordLbl:function(e){-1!==this.vo.emailAddr.indexOf("@ecinc.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.appCode","客户端授权密码"),this.helpurl="/myEmail/ecincMailHelp.html"):-1!==this.vo.emailAddr.indexOf("@qq.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.code_qq","QQ邮箱16位授权码"),this.helpurl="https://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1001256&&id=28"):-1!==this.vo.emailAddr.indexOf("@139.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.code_139","139邮箱登录密码"),this.helpurl="http://help.mail.10086.cn/statichtml/1/Content/3620.html"):-1!==this.vo.emailAddr.indexOf("@163.")?(this.passwordLbl=this.$tx("email.youxiangshezhi.code_163","163邮箱授权码"),this.helpurl="http://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2cda80145a1742516"):(this.passwordLbl=null,this.helpurl=null),e&&e.lastIndexOf("@")>0&&(this.vo.emailReceiveServer=this.vo.emailReceiveType.toLowerCase()+"."+e.substring(e.lastIndexOf("@")+1),this.vo.emailSmtpServer="smtp."+e.substring(e.lastIndexOf("@")+1))},saveMailSetup:function(){var e=this,t=this;this.formValidate((function(){var a="";if(e.vo.emailAddr&&-1!==e.vo.emailAddr.indexOf("@ecinc.")&&(a=e.$tx("email.youxiangshezhi.describe","您设置的是易臣企业邮箱,请确认已获取正确的客户端授权密码,并设置IMAP收取全部邮件。"),"smtp.ecinc.com.cn"!==t.vo.emailSmtpServer||"imap.ecinc.com.cn"!==t.vo.emailReceiveServer))return t.$message.error(e.$tx("email.youxiangshezhi.configure","接收或发送邮件服务器配置错误")),!1;if(""===a){t.loading=!0;var n=/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;if(!n.test(e.vo.emailAddr))return e.$alert(e.$tx("email.youxiangshezhi.EmailNot","邮箱格式不正确"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),void(t.loading=!1);e.vo.accountType=1===e.vo.isUpdate?e.vo.accountType:2,t.$http({method:1===e.vo.isUpdate?"PUT":"POST",contentType:"application/x-www-form-urlencoded",data:e.vo,url:1===e.vo.isUpdate?e.moduleInfo.updateUrl:e.moduleInfo.insertUrl}).then((function(e){if(t.loading=!1,"success"===e.code){if(t.$message.success(e.message),t.refreshAccount(),-1===t.vo.isUpdate){for(var a in t.accountList)t.accountList[a].id===e.body.vo.id&&(t.vo=t.accountList[a]);t.vo.isUpdate=1}t.$bus.emit("queryMyMailSetup")}else t.$message.error(e.message)}),(function(e){t.loading=!1,t.$message.error(e)}))}else t.$confirm(a,e.$tx("common.operationTip","操作提示"),{confirmButtonText:e.$tx("pageBtns.sure","确定"),cancelButtonText:e.$tx("pageBtns.cancel","取消"),type:"warning"}).then((function(){e.vo.accountType=1===e.vo.isUpdate?e.vo.accountType:2,t.loading=!0,t.$http({method:1===t.vo.isUpdate?"PUT":"POST",contentType:"application/x-www-form-urlencoded",data:t.vo,url:1===t.vo.isUpdate?t.moduleInfo.updateUrl:t.moduleInfo.insertUrl}).then((function(e){if(t.loading=!1,"success"===e.code){if(t.$message.success(e.message),t.refreshAccount(),-1===t.vo.isUpdate){for(var a in t.accountList)t.accountList[a].id===e.body.vo.id&&(t.vo=t.accountList[a]);t.vo.isUpdate=1}t.$bus.emit("queryMyMailSetup")}else t.$message.error(e.message)}),(function(e){t.loading=!1,t.$message.error(e)}))})).catch((function(){return t.loading=!1,!1}))}),null,1)},addEmail:function(){this.dialogVisible=!0,this.showAddEmail()},selAddEmail:function(e){this.dialogVisible=!1,this.showAddEmail(e.subStr),this.isOther="other"===e.value},showAddEmail:function(e){var t=this;this.checkedCities=[],this.checkAll=!1,this.passwordLbl=null,this.$http({method:"POST",url:this.moduleInfo.addNewUrl,data:this.vo}).then((function(a){"success"===a.code?(t.vo=a.body.vo,t.vo.emailReceiveType="IMAP",t.vo.emailIsReceive=1,t.vo.emailUsername=t.curUser.personName,t.vo.isDefault=0,t.vo.status=1,t.vo.isUpdate=-1,t.$set(t.vo,"pageSize",2),t.$set(t.vo,"forwardSubject","转发"),t.$set(t.vo,"replySubject","Re"),t.$set(t.vo,"signFlag",1),t.$set(t.vo,"signContent",""),e?(-1!==e.indexOf("@ecinc.")?(t.passwordLbl=t.$tx("email.youxiangshezhi.appCode","客户端授权密码"),t.helpurl="/myEmail/ecincMailHelp.html"):-1!==e.indexOf("@qq.")?(t.passwordLbl=t.$tx("email.youxiangshezhi.code_qq","QQ邮箱16位授权码"),t.helpurl="https://service.mail.qq.com/cgi-bin/help?subtype=1&&no=1001256&&id=28"):-1!==e.indexOf("@139.")?(t.passwordLbl=t.$tx("email.youxiangshezhi.code_139","139邮箱登录密码"),t.helpurl="http://help.mail.10086.cn/statichtml/1/Content/3620.html"):-1!==e.indexOf("@163.")&&(t.passwordLbl=t.$tx("email.youxiangshezhi.code_163","163邮箱授权码"),t.helpurl="http://help.mail.163.com/faqDetail.do?code=d7a5dc8471cd0c0e8b4b8f4f8e49998b374173cfe9171305fa1ce630d7f67ac2cda80145a1742516"),e.lastIndexOf("@")>-1&&(t.vo.emailReceiveServer=t.vo.emailReceiveType.toLowerCase()+"."+e.substring(e.lastIndexOf("@")+1),t.vo.emailSmtpServer="smtp."+e.substring(e.lastIndexOf("@")+1))):(t.passwordLbl=null,t.helpurl=null)):t.$message.error(a.message)}))},emailReceiveTypeChange:function(e){this.vo.emailAddr&&this.vo.emailAddr.lastIndexOf("@")>0&&(this.vo.emailReceiveServer=e.toLowerCase()+"."+this.vo.emailAddr.substring(this.vo.emailAddr.lastIndexOf("@")+1))}}},Ma=ba,wa=(n(8416),te(Ma,da,ca,!1,null,"9845490c",null)),xa=wa.exports,La=function(){var e=this,t=e._self._c;return t("div",{ref:"EmailElement",attrs:{id:"Email-body"}},[t("BlockFrame",{attrs:{header:{title:e.appletData.name,icon:e.appletData.icon,more:!0,code:"email.svg"}}},[t("div",{ref:"emailContent"},[t("el-table",{attrs:{data:e.listdata,border:!0,"show-header":!0,"row-class-name":"rowClass"},on:{"row-click":e.openWorkFlow}},[t("el-table-column",{attrs:{type:"index",label:e.$tx("fields.index","序号"),width:"45",align:"center"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{class:a?"no1":"no2"},[e._v(e._s(""))])]}}])}),t("el-table-column",{attrs:{prop:"subject",label:e.$tx("email.portletEmail.subject","邮件主题"),align:"left","min-width":"100","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"fromAddr",label:e.$tx("email.portletEmail.fromAddr","发送人"),width:"180",align:"center","show-overflow-tooltip":!0}}),t("el-table-column",{attrs:{prop:"createTime",label:e.$tx("email.portletEmail.createTime","发送时间"),width:"150",align:"center",formatter:e.columnFormatter,"show-overflow-tooltip":!0}}),t("div",{staticStyle:{"text-align":"center","padding-top":"30px"},attrs:{slot:"empty"},slot:"empty"},[t("img",{staticStyle:{"max-width":"180px"},attrs:{src:"images/w-imgs/nomessage.png"}}),t("br"),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.noData",expression:"'common.noData'"}],staticStyle:{"font-size":"var(--portalFontSize15)",color:"#dbdbdb"}},[e._v("暂无数据")])])],1)],1)])],1)},ka=[];function Ta(e){return Ta="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ta(e)}function Sa(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Sa=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ta(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ta(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Ya(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Da(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Ya(r,n,i,o,s,"next",e)}function s(e){Ya(r,n,i,o,s,"throw",e)}o(void 0)}))}}function ja(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ca(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?ja(Object(a),!0).forEach((function(t){Aa(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):ja(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Aa(e,t,a){return(t=Ia(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ia(e){var t=Ea(e,"string");return"symbol"==Ta(t)?t:t+""}function Ea(e,t){if("object"!=Ta(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Ta(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Oa=n(5093),Pa={name:"Email",props:{appletData:{type:Object,default:function(){return{}}}},data:function(){return{loginUser:this.$store.getters.loginUser,listdata:[],pageSize:6,email:"",usersetId:""}},computed:Ca({},H(["routes"])),created:function(){this.$options.components["BlockFrame"]=this.$loadComponent("@/wapp/common/components/BlockFrame/index"),this.loadInternetList()},methods:{loadInternetList:function(){var e=this;return Da(Sa().mark((function t(){var a;return Sa().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=e,t.next=3,e.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){if(a.loading=!1,"success"===t.code){var n=[];t.body.listdata.forEach((function(e){1===e.status&&n.push(e)})),e.usersetId=n.length>0?n[0].id:"",e.usersetId&&e.getEmail()}else a.$toast(t.message)}),(function(e){a.$toast(e)}));case 3:case"end":return t.stop()}}),t)})))()},getEmail:function(){var e=this;return Da(Sa().mark((function t(){var a,n,i,r,o;return Sa().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a={pageSize:e.pageSize,pageNum:1},t.next=3,e.$app.listdata("/mail/message/listdata?mailBoxType=INBOX&accountType=1&usersetId="+e.usersetId,a);case 3:if(n=t.sent,"success"===n.code){if(e.email=" ("+n.body.email+" )",i=n.body.pageInfo.list,r=i.length,r<5&&r>0)for(o=0;o<5-r;o++)i.push({});e.listdata=i}case 5:case"end":return t.stop()}}),t)})))()},cutTime:function(e){var t="";return""!==e&&(t=this.isToday(e)?Oa(e).format("HH:mm"):Oa(e).format("MM-DD")),t},isToday:function(e){var t=new Date(e).setHours(0,0,0,0),a=(new Date).setHours(0,0,0,0);return t-a===0},openWorkFlow:function(e){if(e.id){var t=this.getMenuCode("email.svg");if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a,query:{messageId:e.mailMessageId,mailBoxId:e.mailBoxId}})}}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t}}},Na=Pa,Ha=(n(8800),te(Na,La,ka,!1,null,"48c2564b",null)),Fa=Ha.exports,$a=function(){var e=this,t=e._self._c;return t("div",[e.crow.id?t("el-button-group",[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"back",expression:"'back'"}],staticStyle:{height:"33px"},attrs:{size:"small",icon:"el-icon-back"},on:{click:e.goBack}},[e._v("退回")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"ShippingBox",expression:"'ShippingBox'"}],attrs:{size:"small",type:"SENDED"===e.mailType?"primary":""},on:{click:function(t){return e.changeType("SENDED")}}},[e._v("发件箱")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"Inbox",expression:"'Inbox'"}],attrs:{size:"small",type:"INBOX"===e.mailType?"primary":""},on:{click:function(t){return e.changeType("INBOX")}}},[e._v("收件箱")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"Deleted",expression:"'Deleted'"}],attrs:{size:"small",type:"DELETED"===e.mailType?"primary":""},on:{click:function(t){return e.changeType("DELETED")}}},[e._v("已删除")])],1):e._e(),t("LRLayout",{staticClass:"email_main",staticStyle:{padding:"0"},on:{click:function(t){e.visibleJump=!1}}},[e.currentMail?t("LeftPanel",{ref:"LeftPanel",staticClass:"left",staticStyle:{width:"320px",height:"calc(100vh - 180px)",border:"none","border-right":"1px solid #eceff5"}},[t("div",[t("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark","highlight-current-row":""},on:{"cell-click":e.readMail,"current-change":e.currentChangeFuc},model:{value:e.tableData,callback:function(t){e.tableData=t},expression:"tableData"}},[t("el-table-column",{scopedSlots:e._u([{key:"default",fn:function(a){return[t("p",{staticStyle:{margin:"0",padding:"0",width:"100%",position:"relative",height:"20px"}},[t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"auto","max-width":"calc(100% - 100px)",float:"left",color:"#333333","font-weight":"700"}},[e._v(e._s("SENDED"!==e.mailType?a.row.fromAddr:a.row.sendTo))]),1===a.row.containAttach?t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize12)",float:"left","margin-top":"5px","margin-left":"5px"},attrs:{"icon-class":"emailAttach"}}):e._e(),t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"80px","text-align":"right","padding-right":"8px",float:"right"}},[e._v(e._s(a.row.createTime))])],1),t("p",{staticStyle:{margin:"0",padding:"0",width:"100%",position:"relative",height:"20px"}},[t("span",{staticClass:"mailListP",staticStyle:{display:"inline-block",width:"calc(100% - 24px)"}},[e._v(e._s(a.row.subject))])])]}}],null,!1,242746279)},[t("template",{slot:"header"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"total",expression:"'total'"}],staticStyle:{display:"inline-block",float:"left","font-size":"var(--portalFontSize12)","line-height":"26px",color:"#666"},attrs:{disabled:"",readonly:"",total:e.total}},[e._v("共 "+e._s(e.total)+" 封")]),t("div",{staticStyle:{"line-height":"26px",float:"right","padding-left":"0","padding-right":"0",color:"#333"}},[t("span",{ref:"jumpPopoverCopy",staticStyle:{"margin-right":"10px"}},[e._v(e._s(e.currentPage+"/"+e.totalPage))]),t("span",{staticStyle:{"padding-right":"10px",cursor:"pointer"}},[t("i",{staticClass:"el-icon-back",staticStyle:{"margin-right":"10px","font-weight":"700"},style:{color:1===e.currentPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(0)}}}),t("i",{staticClass:"el-icon-right",staticStyle:{"font-weight":"700"},style:{color:e.currentPage===e.totalPage?"#E0E0E0":""},on:{click:function(t){return e.changePageNumber(1)}}})])])])],2)],1),e.visibleJump?t("div",{ref:"jumpPopover",staticClass:"jumpPopover"},[t("div",{staticStyle:{"margin-bottom":"20px",height:"25px","line-height":"25px","font-size":"var(--portalFontSize14)"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"JumpTo",expression:"'JumpTo'"}]},[e._v("跳转到")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.jumpPage,expression:"jumpPage"}],staticClass:"jumpInput",attrs:{placeholder:""},domProps:{value:e.jumpPage},on:{input:function(t){t.target.composing||(e.jumpPage=t.target.value)}}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"page",expression:"'page'"}]},[e._v("页")])]),t("div",{staticStyle:{"text-align":"right",margin:"0"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{size:"mini"},on:{click:e.jumpPageCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",size:"mini"},on:{click:e.jumpPageFuc}},[e._v("确定")])],1)]):e._e()],1)]):e._e(),e.currentMail?t("RightPanel",{staticClass:"right",staticStyle:{width:"calc(100% - 320px)",height:"calc(100vh - 180px)","margin-left":"0"}},[t("div",[t("div",{staticClass:"div_content",staticStyle:{"padding-left":"10px",height:"calc(100vh - 207px)",overflow:"auto",position:"relative"},attrs:{span:18}},[null===e.currentMail||null!==e.mailInfo||e.seeMail||e.loadingMail?e._e():t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"singleClick",expression:"'singleClick'"}],staticStyle:{"font-size":"var(--portalFontSize14)",color:"#333",margin:"29px 0"}},[e._v("单击一封邮件在此处显示")])],1),null!==e.currentMail&&e.seeMail&&e.loadingMail?t("div",{staticClass:"text-center",staticStyle:{"padding-top":"180px"}},[t("i",{staticClass:"el-icon-loading",staticStyle:{"font-size":"20px"}})]):e._e(),null!==e.mailInfo&&e.seeMail&&!e.loadingMail?t("div",{staticClass:"text-left",staticStyle:{"overflow-y":"auto"},style:{height:"INBOX"===e.mailType?"calc(100% - 85px)":""}},[t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"theme",expression:"'theme'"}],staticClass:"detailPSize",staticStyle:{"font-size":"var(--portalFontSize14)","font-weight":"700"},attrs:{subject:e.mailInfo.subject}},[e._v("主题:"+e._s(e.mailInfo.subject))]),t("p",{staticClass:"detailPSize"},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Sender",expression:"'Sender'"}],attrs:{addr:e.mailInfo.fromAddr}},[e._v("发件人:"+e._s(e.mailInfo.fromAddr))]),t("i",{class:[e.isExpand?"el-icon-caret-top":"el-icon-caret-bottom"],staticStyle:{color:"#999","font-size":"var(--portalFontSize15)","margin-left":"5px",cursor:"pointer"},on:{click:function(t){e.isExpand=!e.isExpand}}})]),e.isExpand?[e.mailInfo.copyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"Copy",expression:"'Copy'"}],staticClass:"detailPSize",attrs:{copyTo:e.mailInfo.copyTo}},[e._v("抄送:"+e._s(e.mailInfo.copyTo))]):e._e(),"SENDED"===e.mailType&&e.mailInfo.blindCopyTo?t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"bcc",expression:"'bcc'"}],staticClass:"detailPSize",attrs:{blindCopyTo:e.mailInfo.blindCopyTo}},[e._v("密送:"+e._s(e.mailInfo.blindCopyTo))]):e._e(),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"detailPSize",attrs:{sendTo:e.mailInfo.sendTo}},[e._v("收件人:"+e._s(e.mailInfo.sendTo))]),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"time",expression:"'time'"}],staticClass:"detailPSize",attrs:{time:e.mailInfo.createTime}},[e._v("时间:"+e._s(e.mailInfo.createTime))])]:e._e(),e.mailInfo.attachsCount>0?t("div",[t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"AttatcNum",expression:"'AttatcNum'"}],staticClass:"detailPSize",attrs:{attachsCount:e.mailInfo.attachsCount}},[e._v("附件:共"+e._s(e.mailInfo.attachsCount)+"个附件")]),t("div",{staticStyle:{"margin-left":"30px","margin-top":"0","margin-bottom":"0"}},[e._l(e.mailInfo.attachments,(function(a){return t("div",{key:a},[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px"},attrs:{src:e.imgUrl(a),alt:""}}),t("span",{staticClass:"glyphicon glyphicon-paperclip",staticStyle:{"margin-right":"5px","font-size":"var(--portalFontSize12)"}},[e._v(" "+e._s(a.fileName)+" "),t("span",{staticStyle:{color:"#999"}},[e._v(e._s(a.fileSize))])]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"download",expression:"'download'"}],attrs:{size:"small",type:"text"},on:{click:function(t){return e.downAttachment(a)}}},[e._v("下载")])],1)}))],2)]):e._e(),null!==e.mailInfo&&e.seeMail?t("div",{staticStyle:{padding:"10px","border-top":"1px solid #ececec"}},[t("iframe",{ref:"mailInfoContent",attrs:{width:"100%",scrolling:"no",frameborder:"0"}})]):e._e()],2)]):e._e()])])]):e._e()],1),e.dialogFormVisible?t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],attrs:{title:e.$tx("email.components.AdvancedSearch","高级搜索"),visible:e.dialogFormVisible,width:"613px","close-on-click-modal":!1,"destroy-on-close":""},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("el-form",{staticStyle:{"text-align":"center"},attrs:{model:e.adVo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper",staticStyle:{height:"unset"}},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.components.SenderAss","请输入发件人/邮箱地址")},model:{value:e.adVo.fromAddr,callback:function(t){e.$set(e.adVo,"fromAddr",t)},expression:"adVo.fromAddr"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("收件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.components.addresseeAss","请输入收件人/邮箱地址")},model:{value:e.adVo.sendTo,callback:function(t){e.$set(e.adVo,"sendTo",t)},expression:"adVo.sendTo"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"EmailSubject",expression:"'EmailSubject'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("请输入邮件主题")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-input",{attrs:{placeholder:e.$tx("email.components.EmailSubEnter","请输入邮件主题")},model:{value:e.adVo.subject,callback:function(t){e.$set(e.adVo,"subject",t)},expression:"adVo.subject"}})],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"sendTime",expression:"'sendTime'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发送时间")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.components.selectSendtimeStart","请选择发送时间(开始)")},model:{value:e.adVo.sentdate_START,callback:function(t){e.$set(e.adVo,"sentdate_START",t)},expression:"adVo.sentdate_START"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"common.to",expression:"'common.to'"}]},[e._v("至")]),t("el-date-picker",{attrs:{type:"datetime",placeholder:e.$tx("email.components.selectSendtimeEnd","选择发送时间(结束)")},model:{value:e.adVo.sentdate_END,callback:function(t){e.$set(e.adVo,"sentdate_END",t)},expression:"adVo.sentdate_END"}})],1)])])])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"cancel",expression:"'cancel'"}],attrs:{icon:"el-icon-close",disabled:e.doing},on:{click:e.adSeachCancle}},[e._v("取消")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"sure",expression:"'sure'"}],attrs:{type:"primary",disabled:e.doing,icon:"el-icon-check"},on:{click:e.adSeachConfirm}},[e._v("确定")])],1)],1):e._e()],1)},za=[];function Ba(e){return Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ba(e)}function Wa(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Wa=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==Ba(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(Ba(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Ra(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Ua(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Ra(r,n,i,o,s,"next",e)}function s(e){Ra(r,n,i,o,s,"throw",e)}o(void 0)}))}}function qa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Ga(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(a),!0).forEach((function(t){Va(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):qa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Va(e,t,a){return(t=Ja(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Ja(e){var t=Qa(e,"string");return"symbol"==Ba(t)?t:t+""}function Qa(e,t){if("object"!=Ba(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Ba(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var Ka=n(5093),Xa={name:"",components:{},props:{crow:{type:Object,default:function(){return{}}}},data:function(){return{search:"",canEdit:0,i18npkg:"email",moduleCode:"components",moduleInfo:{listDataUrl:"mail/message/listdata",getByIdUrl:"mail/message/getMailInfoById",mailFlagUrl:"mail/message/setMailFlag",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft"},quickMailInfo:null,tableData:[],multipleSelection:[],multipleSelectionLen:null,usersetId:this.$store.getters.loginUser,total:0,totalPage:1,currentPage:1,jumpPage:"",pageSize:50,mailType:"SENDED",mailInfo:null,loading:!0,sendLoading:!1,loadingMail:!1,seeMail:!1,mailBoxId:"",newMailInfo:"",tipText:"",value:"",accountList:[],currentMail:null,selColumnVisible:!1,selColumnVisibleBiaoji:!1,visibleType:"",clickNum:0,delPopper:!1,biaojiPopper:!1,yidongPopper:!1,visibleJump:!1,listwenjianjia:null,api:"/apigw",isExpand:!1,dialogFormVisible:!1,adVo:{fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""}}},computed:Ga({},H(["routes","loginUser"])),watch:{},created:function(){this.$bus.on("searchListData",this.adSeach),this.$bus.emit("showNavSearch",!0),this.loadList("",this.adVo)},beforeDestroy:function(){this.$bus.off("searchListData",this.adSeach),this.$bus.emit("showNavSearch",!0),this.$bus.off("changeEmail")},mounted:function(){var e=this;this.dragControllerDiv(),this.$bus.on("changeEmail",(function(t){e.currentMail=JSON.parse(sessionStorage.getItem("currentMail")),e.currentPage=1,e.loadList("",e.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1}));var t=this;document.addEventListener("click",(function(e){if(t.$refs.jumpPopover){var a=t.$refs.jumpPopover.contains(e.target)||t.$refs.jumpPopoverCopy.contains(e.target);a||(t.visibleJump=!1)}}))},methods:{adSeach:function(){this.dialogFormVisible=!0},adSeachCancle:function(){this.dialogFormVisible=!1,this.adVo={fromAddr:"",sendTo:"",subject:"",sentdate_START:"",sentdate_END:""},this.loadList("",this.adVo)},adSeachConfirm:function(){Date.parse(this.adVo.sentdate_END)<Date.parse(this.adVo.sentdate_START)?this.$alert("发送时间(结束)不能小于发送时间(开始)","操作提示",{type:"warning"}):(this.adVo.sentdate_START=this.adVo.sentdate_START?Ka(this.adVo.sentdate_START).format("YYYY-MM-DD HH:mm:ss"):"",this.adVo.sentdate_END=this.adVo.sentdate_END?Ka(this.adVo.sentdate_END).format("YYYY-MM-DD HH:mm:ss"):"",this.loadList("",this.adVo),this.dialogFormVisible=!1)},goBack:function(){this.$parent.goBack()},changeType:function(e){this.mailType=e,this.mailInfo=null,this.seeMail=!1,this.loadingMail=!1,this.loadList("",this.adVo)},currentChangeFuc:function(e,t){},searchListData:function(e,t,a){this.loadList(e,this.adVo)},changePageNumber:function(e){1===e?this.currentPage<this.totalPage&&(this.currentPage++,this.loadList("",this.adVo)):this.currentPage>1&&(this.currentPage--,this.loadList("",this.adVo))},jumpPageCancle:function(){this.visibleJump=!1,this.jumpPage=""},jumpPageFuc:function(){if(Number(this.jumpPage)<1||Number(this.jumpPage)>this.totalPage)return this.$message.warning("跳转范围在 1 -"+this.totalPage+"页"),this.jumpPage="",!1;this.currentPage=this.jumpPage,this.visibleJump=!1,this.jumpPage="",this.loadList("",this.adVo)},transPageSize:function(e){var t=1===e?10:2===e?20:3===e?50:100;return t},loadList:function(e,t){var a=this;return Ua(Wa().mark((function n(){var i,r,o;return Wa().wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=a,i.crow.id){n.next=3;break}return n.abrupt("return");case 3:return i.loading=!0,a.currentMail=null,r=new FormData,r.append("pageNum",i.currentPage),r.append("pageSize",a.transPageSize(i.crow.pageSize)),r.append("searchMap[searchText]",e),t&&(r.append("searchAndOr","and"),r.append("searchMap[fromAddr]",a.adVo.fromAddr),r.append("searchMap[sendTo]",a.adVo.sendTo),r.append("searchMap[subject]",a.adVo.subject),r.append("searchMap[sentdate_START]",a.adVo.sentdate_START),r.append("searchMap[sentdate_END]",a.adVo.sentdate_END)),o=i.moduleInfo.listDataUrl+"?mailBoxType="+i.mailType+"&usersetId="+i.crow.id+"&accountType="+i.crow.accountType,n.next=13,i.$http({method:"POST",data:r,url:o}).then((function(e){i.loading=!1,"success"===e.code?(e.body.pageInfo.total>0?(i.tableData=e.body.pageInfo.list,i.tableData.forEach((function(e,t){e.createTime=ct().filter("formatTime")(e.createTime)})),i.total=e.body.pageInfo.total,i.totalPage=e.body.pageInfo.pages):(i.tableData=e.body.pageInfo.list,i.total=e.body.pageInfo.total,i.totalPage=1),a.currentMail=Ga({},a.crow)):i.$message.error(e.message)}),(function(e){i.$message.error(e)}));case 13:case"end":return n.stop()}}),n)})))()},readMail:function(e,t,a,n){var i=this;this.isExpand=!1,this.show=!1;var r=this;r.mailInfo=null,r.seeMail=!0,r.loadingMail=!0;var o=this.moduleInfo.getByIdUrl,s={mailBoxId:e.mailBoxId,messageId:e.mailMessageId,apigw:"apigw"};r.menhu&&void 0===t&&(s={mailBoxId:r.$route.query.mailBoxId,messageId:e,apigw:"apigw"}),this.$http({method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},params:s,url:o}).then((function(t){"success"===t.code?(r.loadingMail=!1,r.mailInfo=t.body.vo,r.mailInfo.attachsCount=r.mailInfo.attachments.length,r.mailInfo.content&&i.$nextTick((function(){this.$refs.mailInfoContent.contentWindow.document.write(r.mailInfo.content);var e=this.$refs.mailInfoContent.contentWindow.document.body.scrollHeight,t=this.$refs.mailInfoContent.contentWindow.document.documentElement.scrollHeight,a=Math.max(e,t);this.$refs.mailInfoContent.height=a})),r.newMailInfo=t.body.vo,r.tableData.forEach((function(t,a){t.mailMessageId===e.mailMessageId&&(r.tableData[a].readed=1)})),r.mailInfo.attachments.forEach((function(e){e.fmtFileSize=e.fileSize}))):(r.$message.error(t.message),r.seeMail=!1,r.loadingMail=!1)}),(function(e){r.seeMail=!1,r.loadingMail=!1,r.$message.error(e)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},forwardMail:function(e){if(null===this.mailInfo)return this.$message.warning("请先打开邮件"),!1;this.newMailInfo=this.mailInfo,this.newMailInfo.actionType=e,"forward"===e?(this.newMailInfo.sendTo=null,this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.forwardSubject+":"+this.newMailInfo.subject):"resp"===e?(this.newMailInfo.copyTo=null,this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null):"respAll"===e&&(this.newMailInfo.subject=this.currentMail.replySubject+":"+this.newMailInfo.subject,this.newMailInfo.attachments=null),this.gotoPages("writeMail")},downAttachment:function(e){if(null===this.mailInfo.mailBoxId)return!1;if(""===e.busiDataId||""===e.fileName)return!1;var t="/apigw/mail/attach/downAttachment?mailBoxId="+this.tableData[0].mailBoxId+"&messageId="+e.busiDataId+"&attachName="+encodeURIComponent(e.fileName)+"&id="+e.id+"&filePath="+e.filePath;window.open(t,"_blank")},dragControllerDiv:function(){for(var e=document.getElementsByClassName("resize"),t=document.getElementsByClassName("left"),a=function(a){e[a].onmousedown=function(n){e[a].style.background="#818181";var i=n.clientX;return e[a].left=e[a].offsetLeft,document.onmousemove=function(n){var r=n.clientX,o=e[a].left+(r-i);o<320&&(o=320),o>600&&(o=600),e[a].style.left=o;for(var s=0;s<t.length;s++)t[s].style.width=o+"px"},document.onmouseup=function(t){e[a].style.background="#d6d6d6",document.onmousemove=null,document.onmouseup=null,e[a].releaseCapture&&e[a].releaseCapture()},e[a].setCapture&&e[a].setCapture(),!1}},n=0;n<e.length;n++)a(n)},saveDraft:function(e){var t=this,a=this;if(a.quickMailInfo={},a.quickMailInfo.sendTo=a.mailInfo.fromAddr,a.quickMailInfo.fromAddr=a.currentMail.emailAddr,a.quickMailInfo.content=a.mailInfo.content,a.quickMailInfo.subject=a.mailInfo.subject,a.quickMailInfo.mailType=2,a.quickMailInfo.usersetId=a.currentMail.id,""!==a.quickContent.trim()){a.sendLoading=!0,a.quickMailInfo.onlyOne=0;var n=a.moduleInfo.saveDraftUrl,i={userSetupId:a.currentMail.id};return new Promise((function(e,r){t.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:i,data:t.quickMailInfo,url:n}).then((function(t){"success"===t.code?(a.sendLoading=!1,a.quickMailInfo.mailMessageId=t.body.mailMessageId,a.quickMailInfo.id=t.body.shipId,a.sendMail()):(a.sendLoading=!1,a.$message.error(t.message)),e(t)})).catch((function(e){r(e)}))}))}this.$message.warning(this.$tx("email.messages.contentEnter","请输入回复内容!"))},sendMail:function(){var e=this;e.sendLoading=!0,e.quickMailInfo.usersetId=e.currentMail.id;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.currentMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.quickMailInfo,url:t}).then((function(t){"success"===t.code?(e.sendLoading=!1,e.quickContent="",e.$message.success(t.message),e.loadList("",this.adVo),e.mailInfo=null,e.loadingMail=!1,e.seeMail=!1):(e.sendLoading=!1,e.$message.error(t.message))})).catch((function(t){e.$message.error(t)}))},imgUrl:function(e){if(1===Number(e.resoureType))return"images/w-imgs/email/folder.png";var t=e.fileName||e.name;return t=t.substring(t.lastIndexOf(".")),".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":".audio"===t||".amr"===t||".mp3"===t||".wav"===t?"images/w-imgs/email/audio.png":".video"===t||".mp4"===t||".mov"===t?"images/w-imgs/email/video.png":".zip"===t||".rar"===t?"images/w-imgs/email/zip.png":".image"===t||".mp4"===t||".jpg"===t||".jpeg"===t||".png"===t||".gif"===t||".bmp"===t||".svg"===t?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png"}}},Za=Xa,en=(n(7025),n(6601),te(Za,$a,za,!1,null,"1f18f259",null)),tn=en.exports,an=function(){var e=this,t=e._self._c;return t("div",[e.usersetId?[0===e.folderStatus?t("div",[t("list",{attrs:{"is-custom":!0,"folder-id":e.folderId}})],1):e._e(),t("div",[1===e.folderStatus?t("data-table",{staticStyle:{padding:"10px"},attrs:{"module-info":e.moduleInfo,"tb-columns":e.tableList,"toolbar-btns":e.listpageBtns,"on-list-data-loaded":e.onListDataLoaded,"on-cell-click":e.cellclick,"on-selected-rows-change":e.selectedRowsChange,"on-list-data-before-load":e.onListDataBeforeLoad}}):e._e()],1),t("el-dialog",{directives:[{name:"el-drag-dialog",rawName:"v-el-drag-dialog"}],staticClass:"dialog0",attrs:{title:e.$tx("email.components.ManageFolder","管理文件夹"),visible:e.dialogVisible,width:"1000px","before-close":e.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogVisible=t},closed:function(t){e.isCompile=!0}}},[t("el-form",{ref:"form",attrs:{model:e.folderObj}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("table",{staticClass:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("tbody",[t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"FolderName",expression:"'FolderName'"}]},[e._v("文件夹名称")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"文件夹名称",rules:{required:!0,valueMaxLength:4,valueMinLength:4}},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"boxName",attrs:{type:"text",placeholder:e.$tx("email.components.FolderNameEnter","请输入文件夹名称")},model:{value:e.folderObj.boxName,callback:function(t){e.$set(e.folderObj,"boxName",t)},expression:"folderObj.boxName"}})],1)]}}],null,!1,3585753659)}):t("span",[e._v(e._s(e.folderObj.boxName))])],1)]),t("tr",[t("td",{staticClass:"el-table__cell tdlbl tdw17"},[t("span",{staticClass:"required"},[e._v("*")]),t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"order",expression:"'order'"}]},[e._v("排序")])]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"排序",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{ref:"orderNo",attrs:{type:"text",placeholder:e.$tx("email.components.orderLength","请输入4位数字排序")},model:{value:e.folderObj.orderNo,callback:function(t){e.$set(e.folderObj,"orderNo",t)},expression:"folderObj.orderNo"}})],1)]}}],null,!1,1146215750)}):t("span",[e._v(e._s(e.folderObj.orderNo))])],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"specifiedEmail",expression:"'specifiedEmail'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("接受指定邮件")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailTip",expression:"'emailTip'"}],attrs:{disabled:!e.isCompile},on:{change:e.isAutoChange},model:{value:e.isAuto,callback:function(t){e.isAuto=t},expression:"isAuto"}},[e._v("将符合以下规则的邮件,自动放入该文件夹")]):t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailTip",expression:"'emailTip'"}]},[e._v("将符合以下规则的邮件,自动放入该文件夹")])],1)]),e.isAuto&&e.isCompile||!e.isCompile?[t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"Sender",expression:"'Sender'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("发件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"发件人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.isSendContain,callback:function(t){e.isSendContain=t},expression:"isSendContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,value:2}},[e._v("不包含")])],1)],1),t("el-input",{staticStyle:{width:"90%"},attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.components.enterSenderEmail","请选择或输入发件人邮箱地址,多个用英文逗号分开")},on:{blur:function(t){return e.keyUpFuc("发件人")},focus:function(t){return e.handleFocus(e.folderObj.addresserContent)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc("发件人")}},model:{value:e.folderObj.addresserContent,callback:function(t){e.$set(e.folderObj,"addresserContent",t)},expression:"folderObj.addresserContent"}}),t("span",{staticStyle:{position:"absolute",right:"19px",top:"50%",color:"#409eff",cursor:"pointer"},on:{click:function(t){return e.selectAddress("发件人",e.folderObj.recipientsContent)}}},[t("i",{staticClass:"el-icon-user",staticStyle:{"font-size":"20px","margin-right":"6px",top:"3px",position:"relative"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"select",expression:"'select'"}]},[e._v("选择")])])]}}],null,!1,87366572)}):t("div",[t("el-radio-group",{model:{value:e.isSendContain,callback:function(t){e.isSendContain=t},expression:"isSendContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,disabled:!0,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,disabled:!0,value:2}},[e._v("不包含")])],1),t("div",[e._v(e._s(e.folderObj.addresserContent))])],1)],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("收件人")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收件人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.isInboxContain,callback:function(t){e.isInboxContain=t},expression:"isInboxContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,value:2}},[e._v("不包含")])],1)],1),t("el-input",{staticStyle:{width:"90%"},attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.components.enterAddressee","请选择或输入收件人邮箱地址,多个用英文逗号分开")},on:{blur:function(t){return e.keyUpFuc("收件人")},focus:function(t){return e.handleFocus(e.folderObj.recipientsContent)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc("收件人")}},model:{value:e.folderObj.recipientsContent,callback:function(t){e.$set(e.folderObj,"recipientsContent",t)},expression:"folderObj.recipientsContent"}}),t("span",{staticStyle:{position:"absolute",right:"19px",top:"50%",color:"#409eff",cursor:"pointer"},on:{click:function(t){return e.selectAddress("收件人",e.folderObj.recipientsContent)}}},[t("i",{staticClass:"el-icon-user",staticStyle:{"font-size":"20px","margin-right":"6px",top:"3px",position:"relative"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"select",expression:"'select'"}]},[e._v("选择")])])]}}],null,!1,2307826035)}):t("div",[t("el-radio-group",{model:{value:e.isInboxContain,callback:function(t){e.isInboxContain=t},expression:"isInboxContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,disabled:!0,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,disabled:!0,value:2}},[e._v("不包含")])],1),t("div",[e._v(e._s(e.folderObj.recipientsContent))])],1)],1)]),t("tr",[t("td",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"theme",expression:"'theme'"}],staticClass:"el-table__cell tdlbl tdw17"},[e._v("主题")]),t("td",{staticClass:"el-table__cell tdcont tdw83"},[e.isCompile?t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"收件人",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-radio-group",{model:{value:e.isSubjectContain,callback:function(t){e.isSubjectContain=t},expression:"isSubjectContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,value:2}},[e._v("不包含")])],1)],1),t("el-input",{attrs:{type:"textarea",rows:2,placeholder:e.$tx("email.components.enterTheme","请输入邮件主题关键字,多个用英文逗号分开")},model:{value:e.folderObj.themeContent,callback:function(t){e.$set(e.folderObj,"themeContent",t)},expression:"folderObj.themeContent"}})]}}],null,!1,43989042)}):t("div",[t("el-radio-group",{model:{value:e.isSubjectContain,callback:function(t){e.isSubjectContain=t},expression:"isSubjectContain"}},[t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"contain",expression:"'contain'"}],attrs:{label:1,disabled:!0,value:1}},[e._v("包含")]),t("el-radio",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"unContain",expression:"'unContain'"}],attrs:{label:2,disabled:!0,value:2}},[e._v("不包含")])],1),t("div",[e._v(e._s(e.folderObj.themeContent))])],1)],1)])]:e._e(),t("tr")],2)])])])]),t("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"close",expression:"'close'"}],attrs:{icon:"el-icon-close"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("关 闭")]),e.isCompile?t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"save",expression:"'save'"}],attrs:{type:"primary",icon:"el-icon-check"},on:{click:e.onSubmit}},[e._v("保 存")]):e._e()],1)],1),t("div",{staticClass:"div"},[t("el-dialog",{ref:"dialog",class:[e.dilongOffsetLef<1300?"dialog dialog1":"dialog1"],attrs:{visible:e.dialogFormVisible,title:e.$tx("email.components.txl","通讯录"),width:"100%",offset:"50",modal:!1,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[t("div",{staticClass:"el-dialog-div"},[t("txl",{ref:"dialogTxl"})],1)])],1)]:t("div",{staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("div",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-top":"30px",color:"#333"}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"emailStting",expression:"'emailStting'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1)],2)},nn=[];function rn(e){return rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rn(e)}function on(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */on=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==rn(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(rn(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function sn(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function ln(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){sn(r,n,i,o,s,"next",e)}function s(e){sn(r,n,i,o,s,"throw",e)}o(void 0)}))}}function dn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function cn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?dn(Object(a),!0).forEach((function(t){un(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):dn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function un(e,t,a){return(t=mn(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function mn(e){var t=pn(e,"string");return"symbol"==rn(t)?t:t+""}function pn(e,t){if("object"!=rn(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=rn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var hn={components:{list:jt,txl:Wt},props:{},data:function(){return{i18npkg:"email",moduleCode:"components",dialogFormVisible:!1,folderId:"",folderName:"",folderStatus:1,folderObj:{},moduleInfo:{getByIdUrl:"/mail/messageBox/getById",listDataUrl:"/mail/messageBox/listdata",addNewUrl:"/mail/messageBox/addNew",insertUrl:"/mail/messageBox/insert",updateUrl:"/mail/messageBox/update",uploadUrl:"/mail/messageBox/upload",queryDataUrl:"/mail/messageBox/listdata",updateGroupUrl:"/mail/messageBox/updateGroup",delUrl:"/mail/messageBox/delete",winWidth:1e3,winHeight:650},errorMail:"",tableList:[{field:"index",title:"序号",width:"45px",align:"center",valign:"middle"},{field:"boxName",title:"文件夹名称",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"orderNo",title:"排序号",width:"150px",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!0,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"notReadedNum",title:"未读邮件数",width:"150px",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"mailNum",title:"总邮件数",width:"150px",align:"left",valign:"middle",cellStyle:{css:{cursor:"pointer"}},searchable:!1,sortable:!0,listAdvSearchElement:"input",listAdvSearchIndex:0},{field:"column_operate",title:this.$tx("pageBtns.operate","操作"),width:"100px",align:"center",valign:"middle"}],listpageBtns:[{btnName:"新增",btnIcon:"plus",btnClick:this.addContacts,btnPermission:"add",id:"btn_add",btnType:"toolbar"},{id:"btn_btn3",btnName:"编辑",btnIcon:"edit",btnClick:this.editObjectId,btnPermission:"editObject",btnType:"column"},{id:"btn_btn4",btnName:"删除",btnIcon:"delete",btnClick:this.deleteIds,btnPermission:"deleteIds",btnType:"column"}],dialogVisible:!1,usersetId:null,isInboxContain:null,isSendContain:null,isSubjectContain:null,addOrupdateContacts:!0,sendList:[],isCompile:!0,sendListFjr:[],type:"发件人",dilongOffsetLef:null,internetUsersetId:null,isAuto:!1}},computed:cn({},H(["routes"])),watch:{$route:function(e){this.getFolderInfo()},dialogVisible:{handler:function(e){!1===e&&(this.sendList=[],this.sendListFjr=[],this.$refs.dialogTxl.pubChecked=!1,this.$refs.dialogTxl.perChecked=!1,this.$refs.dialogTxl.lateChecked=!1,this.dialogFormVisible=!1)}},isSendContain:{handler:function(e){1===e?(this.folderObj.sendNotContain="",this.folderObj.sendContain=this.folderObj.addresserContent||""):2===e&&(this.folderObj.sendContain="",this.folderObj.sendNotContain=this.folderObj.addresserContent||"")}},isInboxContain:{handler:function(e){1===e?(this.folderObj.inboxNotContain="",this.folderObj.inboxContain=this.folderObj.recipientsContent||""):2===e&&(this.folderObj.inboxContain="",this.folderObj.inboxNotContain=this.folderObj.recipientsContent||"")}},isSubjectContain:{handler:function(e){1===e?(this.folderObj.subjectNotContain="",this.folderObj.subjectContain=this.folderObj.themeContent||""):2===e&&(this.folderObj.subjectContain="",this.folderObj.subjectNotContain=this.folderObj.themeContent||"")}},isCompile:function(e){!0===e?(this.folderObj.addresserContent||this.folderObj.recipientsContent||this.folderObj.themeContent)&&(this.isAuto=!0):this.isAuto=!1}},created:function(){this.$bus.emit("showNavSearch",!1),this.usersetId=JSON.parse(sessionStorage.getItem("currentMail"))?JSON.parse(sessionStorage.getItem("currentMail")).id:""},beforeDestroy:function(){this.$bus.off("changeEmail"),this.$bus.emit("showNavSearch",!0),this.$bus.$off("checkEmail"),this.$bus.$off("checkEmailPerson"),this.$bus.off("cancleCheck")},mounted:function(){var e=this;window.onresize=function(){return function(){e.dilongOffsetLef=null;var t=document.querySelector(".dialog1");e.dilongOffsetLef=t.offsetLeft}()},this.getFolderInfo(),this.$bus.$on("checkEmail",(function(t){if("发件人"===e.type)for(var a=0;a<t.length;a++){var n=t[a];if(n.email||n.account){var i=null;n.tname=n.name;var r=RegExp(n.tname);if(""!==e.folderObj.addresserContent&&e.folderObj.addresserContent.match(r)&&(i=1),1===i)return e.$message.error(e.$tx("email.messages.senderAlreadying",{tname:n.tname},'"${resobj.tname}"已存在该发件人!')),!1;""!==e.folderObj.addresserContent?e.folderObj.addresserContent+=","+n.tname:e.folderObj.addresserContent=n.tname}}else for(var o=0;o<t.length;o++){var s=t[o];if(s.email){var l=null;s.tname=s.name;var d=RegExp(s.tname);if(e.folderObj.recipientsContent.match(d)&&(l=1),1===l)return e.$message.error(e.$tx("email.messages.senderAlreadying",{tname:s.tname},'"${resobj.tname}"已存在该发件人!')),!1;""!==e.folderObj.recipientsContent?e.folderObj.recipientsContent+=","+s.tname:e.folderObj.recipientsContent=s.tname}}})),this.$bus.$on("checkEmailPerson",(function(t){if("发件人"===e.type){var a=null,n=RegExp(t);if(e.folderObj.addresserContent.match(n)&&(a=1),1===a)return e.$message.error(e.$tx("email.messages.senderAlready","已存在该发件人!")),!1;""!==e.folderObj.addresserContent?e.folderObj.addresserContent+=","+t:e.folderObj.addresserContent=t}else{var i=null,r=RegExp(t);if(e.folderObj.recipientsContent.match(r)&&(i=1),1===i)return e.$message.error(e.$tx("email.components.recipientAlready","已存在该收件人!")),!1;""!==e.folderObj.recipientsContent?e.folderObj.recipientsContent+=","+t:e.folderObj.recipientsContent=t}}))},methods:{isAutoChange:function(e){this.isInboxContain=null,this.isSendContain=null,this.isSubjectContain=null,this.folderObj.addresserContent="",this.folderObj.recipientsContent="",this.folderObj.themeContent="",this.folderObj.inboxContain="",this.folderObj.inboxNotContain="",this.folderObj.sendContain="",this.folderObj.sendNotContain="",this.folderObj.subjectContain="",this.folderObj.subjectNotContain=""},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},deleteIds:function(e){var t=this;this.$confirm(this.$tx("email.messages.isDelBox","确定要删除该文件夹吗?"),this.$tx("email.messages.isSure","确认操作"),{type:"warning"}).then(ln(on().mark((function a(){var n,i;return on().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return n=[],n.push(e.id),a.next=4,t.$app.deleteByIds(t.moduleInfo.delUrl,n);case 4:i=a.sent,"success"===i.code?(t.$message.success(i.message),t.$bus.emit("refreshListData"),t.$bus.emit("refreshFolder")):t.$message.error(i.message);case 6:case"end":return a.stop()}}),a)}))))},keyUpFuc:function(e){this.type=e},isEmail:function(e){var t=this;"发件人"===this.type?""!==this.folderObj.addresserContent&&this.folderObj.addresserContent.split(",").forEach((function(e,a){var n=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;n.test(e)||t.$message.error(t.$tx("email.messages.emailNot","邮件格式不正确!"))})):this.folderObj.recipientsContent.split(",").forEach((function(e,a){var n=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;n.test(e)||t.$message.error(t.$tx("email.messages.emailNot","邮件格式不正确!"))}))},removeMail:function(e,t){"收件人"===e?this.sendList.splice(t,1):this.sendListFjr.splice(t,1)},cellclick:function(e){var t=this;this.isCompile=!1,this.isInboxContain=null,this.isSendContain=null,this.isSubjectContain=null,this.$http({url:this.moduleInfo.getByIdUrl,method:"GET",params:{id:e.id}}).then((function(e){"success"===e.code?(t.folderObj=e.body.vo,t.folderObj.inboxContain&&(t.isInboxContain=1,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxContain)),t.folderObj.inboxNotContain&&(t.isInboxContain=2,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxNotContain)),t.folderObj.sendContain&&(t.isSendContain=1,t.$set(t.folderObj,"addresserContent",t.folderObj.sendContain)),t.folderObj.sendNotContain&&(t.isSendContain=2,t.$set(t.folderObj,"addresserContent",t.folderObj.sendNotContain)),t.folderObj.subjectContain&&(t.isSubjectContain=1,t.$set(t.folderObj,"themeContent",t.folderObj.subjectContain)),t.folderObj.subjectNotContain&&(t.isSubjectContain=2,t.$set(t.folderObj,"themeContent",t.folderObj.subjectNotContain)),t.dialogVisible=!0):t.$message.error(e.message)}))},selectAddress:function(e,t){var a=this,n=this;n.dialogFormVisible=!1,setTimeout((function(){n.dialogFormVisible=!0,a.$refs.dialogTxl.searchkey="",a.type=e,a.$nextTick((function(){a.dilongOffsetLef=null;var e=document.querySelector(".dialog1");a.dilongOffsetLef=e.offsetLeft})),a.$bus.emit("handleFocusChange",t)}),200)},editObjectId:function(e){var t=this;return ln(on().mark((function a(){return on().wrap((function(a){while(1)switch(a.prev=a.next){case 0:t.addOrupdateContacts=!1,t.$http({url:t.moduleInfo.getByIdUrl,method:"GET",params:{id:e.id}}).then((function(e){"success"===e.code?(t.isInboxContain=null,t.isSendContain=null,t.isSubjectContain=null,t.folderObj=e.body.vo,null!==t.folderObj.inboxContain&&""!==t.folderObj.inboxContain&&(t.isInboxContain=1,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxContain)),null!==t.folderObj.inboxNotContain&&""!==t.folderObj.inboxNotContain&&(t.isInboxContain=2,t.$set(t.folderObj,"recipientsContent",t.folderObj.inboxNotContain)),t.folderObj.inboxNotContain&&""!==t.folderObj.inboxNotContain||t.folderObj.inboxContain&&""!==t.folderObj.inboxContain||t.$set(t.folderObj,"recipientsContent",""),t.folderObj.sendContain&&""!==t.folderObj.sendContain&&(t.isSendContain=1,t.$set(t.folderObj,"addresserContent",t.folderObj.sendContain)),t.folderObj.sendNotContain&&""!==t.folderObj.sendNotContain&&(t.isSendContain=2,t.$set(t.folderObj,"addresserContent",t.folderObj.sendNotContain)),t.folderObj.sendContain&&""!==t.folderObj.sendContain||t.folderObj.sendNotContain&&""!==t.folderObj.sendNotContain||t.$set(t.folderObj,"addresserContent",""),t.folderObj.subjectContain&&(t.isSubjectContain=1,t.$set(t.folderObj,"themeContent",t.folderObj.subjectContain)),t.folderObj.subjectNotContain&&(t.isSubjectContain=2,t.$set(t.folderObj,"themeContent",t.folderObj.subjectNotContain)),t.folderObj.addresserContent||t.folderObj.recipientsContent||t.folderObj.themeContent?t.isAuto=!0:t.isAuto=!1,t.dialogVisible=!0):t.$message.error(e.message)}));case 2:case"end":return a.stop()}}),a)})))()},onSubmit:function(){var e=this;return ln(on().mark((function t(){var a,n,i,r,o;return on().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.folderObj.boxName){t.next=9;break}for(a=e.folderObj.boxName.length,n=0,i=0;i<a;i++)e.folderObj.boxName.charCodeAt(i)<27||e.folderObj.boxName.charCodeAt(i)>126?n+=2:n++;if(!(n>12)){t.next=7;break}return e.$alert(e.$tx("email.messages.boxNameMax","文件夹名称最多可输入12位字符"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 7:t.next=11;break;case 9:return e.$alert(e.$tx("email.messages.boxNametTip","文件夹名称为必填"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 11:if(r=/^\d{4}$/,r.test(e.folderObj.orderNo)){t.next=15;break}return e.$alert(e.$tx("email.messages.correctTip","请正确填写4位数字排序号"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 15:if(!e.isAuto){t.next=28;break}if(!(e.isSendContain&&e.folderObj.addresserContent||e.isInboxContain&&e.folderObj.recipientsContent||e.isSubjectContain&&e.folderObj.themeContent)){t.next=26;break}1===e.isSendContain&&(e.folderObj.sendContain=e.folderObj.addresserContent),2===e.isSendContain&&(e.folderObj.sendNotContain=e.folderObj.addresserContent),1===e.isInboxContain&&(e.folderObj.inboxContain=e.folderObj.recipientsContent),2===e.isInboxContain&&(e.folderObj.inboxNotContain=e.folderObj.recipientsContent),1===e.isSubjectContain&&(e.folderObj.subjectContain=e.folderObj.themeContent),2===e.isSubjectContain&&(e.folderObj.subjectNotContain=e.folderObj.themeContent),(e.folderObj.inboxContain||e.folderObj.inboxContain||e.folderObj.subjectNotContain)&&(e.folderObj.isRule=1),t.next=28;break;case 26:return e.$alert(e.$tx("email.messages.emailTipbc","请将邮件放置规则补充完整"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),t.abrupt("return");case 28:if(o=null,!e.addOrupdateContacts){t.next=35;break}return t.next=32,e.$app.insert(e.moduleInfo.insertUrl,e.folderObj);case 32:o=t.sent,t.next=38;break;case 35:return t.next=37,e.$app.update(e.moduleInfo.updateUrl,e.folderObj);case 37:o=t.sent;case 38:"success"===o.code?(e.$message.success(o.message),e.dialogVisible=!1,e.$bus.emit("refreshFolder"),e.$bus.emit("refreshListData")):e.$message.error(o.message);case 39:case"end":return t.stop()}}),t)})))()},getFolderInfo:function(){this.folderId=this.$route.meta.id,this.folderName=this.$route.meta.title,"glwjj"===this.folderId?this.folderStatus=1:this.folderStatus=0},addContacts:function(){var e=this;this.isInboxContain=null,this.isSendContain=null,this.isSubjectContain=null,this.addOrupdateContacts=!0,this.$http({url:this.moduleInfo.addNewUrl,method:"POST"}).then((function(t){"success"===t.code?(e.folderObj=t.body.vo,e.dialogVisible=!0,e.$set(e.folderObj,"recipientsContent",""),e.$set(e.folderObj,"addresserContent",""),e.$set(e.folderObj,"themeContent",null),e.$set(e.folderObj,"boxType","DEFINED"),e.$set(e.folderObj,"newRecipientsContent",null),e.$set(e.folderObj,"newAddresserContent",null),e.$set(e.folderObj,"internetUsersetId",e.internetUsersetId),e.folderObj.usersetId=e.usersetId):e.$message.error(t.message)}))},onListDataBeforeLoad:function(e,t){return ln(on().mark((function e(){return on().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.orderBy="orderNo asc",t.urlsearch="boxType:DEFINED;usersetId:".concat(JSON.parse(sessionStorage.getItem("currentMail")).id);case 2:case"end":return e.stop()}}),e)})))()},handleFocus:function(e){var t=this,a=this;a.$refs.dialogTxl&&(a.$refs.dialogTxl.pubChecked=!1,a.$refs.dialogTxl.perChecked=!1,a.$refs.dialogTxl.lateChecked=!1,a.$refs.dialogTxl.zTree.checkAllNodes(!1),a.$refs.dialogTxl.zTreetxl.checkAllNodes(!1),a.$refs.dialogTxl.zTreelatey.checkAllNodes(!1),a.dialogFormVisible=!1,setTimeout((function(){a.dialogFormVisible=!0,t.$bus.emit("handleFocusChange",e)}),200))}}},fn=hn,_n=(n(1598),te(fn,an,nn,!1,null,"ad99ca52",null)),gn=_n.exports,yn=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{cursor:"pointer"}},e._l(e.listData,(function(a){return t("div",{key:a,staticClass:"pcgl-btn",on:{click:function(t){return e.onCellClick(e.row)}}},[t("span",[t("img",{staticStyle:{width:"16px",position:"relative",top:"4px",margin:"0 10px"},attrs:{src:e.imgUrl(a),alt:""}}),e._v(" "+e._s(a.fileName)+" ")])])})),0)},vn=[],bn={props:{column:{type:Object,default:null},row:{type:Object,default:null},index:{type:Number,default:null}},data:function(){return{i18npkg:"email",moduleCode:"components",editBtn:!1,listData:[]}},watch:{row:{handler:function(e){this.listData=[],this.listData.push(e)}}},created:function(){this.listData.push(this.row)},mounted:function(){},beforeDestroy:function(){},methods:{onCellClick:function(e){if(void 0!==e.id){var t=[".doc",".docx",".xls",".xlsx",".ppt",".pptx"],a=e.fileName.split("."),n="."+a[a.length-1];t.includes(n)?window.open("/apigw/mail/attach/downAttachment?topdf=true&inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath):window.open("/apigw/mail/attach/downAttachment?inline=true&mailBoxId="+e.fileMd5+"&messageId="+e.busiDataId+"&attachName="+e.fileName+"&id="+e.id+"&filePath="+e.filePath)}},imgUrl:function(e){if("doc"!==e.fileType)return"audio"===e.fileType?"images/w-imgs/email/audio.png":"video"===e.fileType?"images/w-imgs/email/video.png":"zip"===e.fileType?"images/w-imgs/email/zip.png":"image"===e.fileType?"images/w-imgs/email/picture.png":"images/w-imgs/email/other.png";var t=e.fileName.substring(e.fileName.lastIndexOf("."));return".doc"===t||".docx"===t?"images/w-imgs/email/word.png":".ppt"===t||".pptx"===t?"images/w-imgs/email/ppt.png":".xls"===t||".xlsx"===t?"images/w-imgs/email/excel.png":".pdf"===t?"images/w-imgs/email/pdf.png":".txt"===t?"images/w-imgs/email/txt.png":void 0},showForm:function(){this.$vnode.context.moduleInfo.sendcar=[],this.$vnode.context.$parent.formTitle=this.$tx("email.components.DispatchDet","派车详情"),this.$vnode.context.$parent.busiformBtns=[{id:"btn_close",btnName:"关闭",btnIcon:"close",btnClick:"closeDialog",btnPermission:"",btnType:"default"}],this.$bus.emit("openBusiform",this.$vnode.context.moduleInfo,this.row,0)},finished:function(){var e=this,t=this;t.$confirm(this.$tx("email.messages.isDataSure","您是否确认结束选择的数据"),{type:"warning"}).then((function(){t.$http({method:"POST",contentType:"application/json charset=utf-8",url:"/zcgl/check/checkTask/checkOver?id=".concat(e.row.id)}).then((function(a){"success"===a.code?(t.$message({message:e.$tx("email.messages.success","操作成功"),type:"success"}),t.$bus.emit("refreshListData")):t.$alert(a.message,{type:"error"})}))}))}}},Mn=bn,wn=(n(5674),te(Mn,yn,vn,!1,null,"e36757d2",null)),xn=wn.exports,Ln=function(){var e=this,t=e._self._c;return t("div",{staticStyle:{cursor:"pointer"}},e._l(e.listData,(function(a){return t("div",{key:a,staticClass:"pcgl-btn",on:{click:function(t){return t.stopPropagation(),e.onCellClick(e.row)}}},[t("span",[0===a.readed?t("svg-icon",{staticStyle:{width:"16px",position:"relative","margin-right":"10px",cursor:"auto"},attrs:{"icon-class":"email_weidu"}}):e._e(),1===a.flagged?t("svg-icon",{staticStyle:{width:"16px",position:"relative","margin-right":"10px",fill:"#FAB342",cursor:"auto"},attrs:{"icon-class":"fiveStar3"}}):e._e(),0===a.flagged?t("svg-icon",{staticStyle:{width:"16px",position:"relative","margin-right":"10px",cursor:"auto"},attrs:{"icon-class":"fiveStar2"}}):e._e(),e._v(" "+e._s(a.subject)+" ")],1)])})),0)},kn=[],Tn={props:{column:{type:Object,default:null},row:{type:Object,default:null},index:{type:Number,default:null}},data:function(){return{editBtn:!1,listData:[]}},watch:{row:{handler:function(e){this.listData=[],this.listData.push(e)}}},created:function(){this.listData.push(this.row)},mounted:function(){},beforeDestroy:function(){},methods:{onCellClick:function(e){this.$bus.emit("cellClick",e)}}},Sn=Tn,Yn=(n(6994),te(Sn,Ln,kn,!1,null,"0088706c",null)),Dn=Yn.exports,jn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"sendMailMain"},[t("div",{staticClass:"header-title"},[t("div",{staticClass:"section-title"},[t("svg-icon",{staticStyle:{"font-size":"36px",color:"#2f477e","margin-right":"6px"},attrs:{"icon-class":"wjzx_yjzf"}}),t("p",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"source",expression:"'source'"}],attrs:{srcName:e.srcName}},[e._v("来源:"+e._s(e.srcName))])],1),t("div",{staticStyle:{"margin-right":"20px"}},[t("div",{staticClass:"buttonTitle"},[t("el-button",{attrs:{id:"styleBagrand"},on:{click:function(t){return e.saveDraft("Draft")}}},[t("svg-icon",{staticStyle:{"font-size":"var(--portalFontSize14)","margin-right":"10px"},attrs:{"icon-class":"emailcg"}}),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"SaveDraft",expression:"'SaveDraft'"}]},[e._v("存草稿")])],1),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"send",expression:"'send'"}],staticClass:"styleBagrand",attrs:{icon:"el-icon-s-promotion"},on:{click:function(t){return e.saveDraft("send")}}},[e._v("发 送")])],1)])]),t("div",{staticClass:"sendmail-content"},[t("el-scrollbar",{attrs:{native:!1,tag:"div"}},[t("div",{staticClass:"sendMail",on:{click:function(t){e.closeLink=!1}}},[t("el-row",{staticClass:"mail_content_row",staticStyle:{margin:"0"},attrs:{gutter:10}},[t("el-col",{staticClass:"mail_content_leftcell",attrs:{span:19}},[null!==e.defultMail?t("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticClass:"row",staticStyle:{height:"100%"}},[t("el-row",{staticClass:"lineRow",staticStyle:{"border-bottom":"none"}},[null===e.defultMail||e.mailInfo.sended?e._e():t("el-col",{attrs:{span:24}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",{staticStyle:{float:"right"}},[e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"46px",cursor:"pointer"},on:{click:e.csTagChange}},[e._v(e._s(e.csr?e.$tx("email.sendMail.DelCC","删除抄送"):e.$tx("email.sendMail.AddCC","添加抄送")))]),e.qfdx?e._e():t("span",{staticStyle:{color:"#286caf","font-size":"var(--portalFontSize13)","line-height":"46px",cursor:"pointer","margin-left":"20px"},on:{click:e.msTagChange}},[e._v(e._s(e.msr?e.$tx("email.sendMail.DelSecret","删除密送"):e.$tx("email.sendMail.AddSecret","添加密送")))])])])])],1),t("div",{staticStyle:{height:"calc(100% - 46px)"}},[t("div",{staticClass:"workspaceContainer"},[e.linkManEmail.length>0&&e.closeLink?t("div",{staticClass:"linkEmail",style:{top:1===e.focusInput?"85px":2===e.focusInput?"133px":"181px"}},e._l(e.linkManEmail,(function(a,n){return t("p",{key:a,style:{color:e.linkIndex===n?"#409eff":""},on:{click:function(t){return e.clickLink(a.name)}}},[e._v(e._s(a.name))])})),0):e._e(),null===e.defultMail||e.mailInfo.sended?e._e():t("form",{staticClass:"form-horizontal",attrs:{id:"busiForm",name:"busiForm",method:"post",autocomplete:"off"}},[t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{staticClass:"margin10",attrs:{type:"text",size:"small",name:"sendTo"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"addressee",expression:"'addressee'"}],staticStyle:{color:"#409eff"}},[e._v("收件人:")])])],1)]),t("el-col",{attrs:{span:23,xs:22,sm:22,md:22,lg:22,xl:23}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",[e.sendList.length>0?t("div",{staticClass:"emailAddrStyle",staticStyle:{"marginn-left":"15px"}},e._l(e.sendList,(function(a,n){return t("span",{key:a},[e._v(" "+e._s(a)+" "),t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeMail(a,n,1)}}})])})),0):e._e(),t("el-input",{staticClass:"margin10 btnBorder",style:{width:e.qfdx?"390px":"300px"},attrs:{type:"text",name:"sendTo",placeholder:e.qfdx?e.$tx("email.sendMail.sendEmailTip1","群发的邮件,采用一对一发送,每个收件人只能看到自己的地址"):e.$tx("email.sendMail.sendEmailTip","请输入邮件地址,内部邮箱可以输入联系人姓名"),autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(1)},blur:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(1)}},model:{value:e.sendListInput,callback:function(t){e.sendListInput=t},expression:"sendListInput"}})],1)])])],1),e.csr||e.copyToList.length>0?t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],staticClass:"margin10",attrs:{showemail:"true",multiple:!0,size:"small",type:"text",name:"copyTo"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"CCRecipient",expression:"'CCRecipient'"}],staticStyle:{color:"#409eff"}},[e._v("抄送人:")])])],1)]),t("el-col",{staticStyle:{"margin-left":"10px"},attrs:{span:22}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",[e.copyToList.length>0?t("div",{staticClass:"emailAddrStyle"},e._l(e.copyToList,(function(a,n){return t("span",{key:a},[e._v(" "+e._s(a)+" "),t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeMail(a,n,2)}}})])})),0):e._e(),t("el-input",{staticClass:"margin10 btnBorder",staticStyle:{width:"380px"},attrs:{type:"text",name:"copyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(2)},blur:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(2)}},model:{value:e.copyToInput,callback:function(t){e.copyToInput=t},expression:"copyToInput"}})],1)])])],1):e._e(),e.msr||e.blindCopyToList.length>0?t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{directives:[{name:"select-dialog",rawName:"v-select-dialog",value:"staff",expression:"'staff'"}],staticClass:"margin10",attrs:{showemail:"true",multiple:!0,size:"small",type:"text",name:"blindCopyTo"}},[t("span",{directives:[{name:"field-lbl",rawName:"v-field-lbl",value:"SecretDvyPerson",expression:"'SecretDvyPerson'"}],staticStyle:{color:"#409eff"}},[e._v("密送人:")])])],1)]),t("el-col",{staticStyle:{"margin-left":"10px"},attrs:{span:22}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("div",[e.blindCopyToList.length>0?t("div",{staticClass:"emailAddrStyle"},e._l(e.blindCopyToList,(function(a,n){return t("span",{key:a},[e._v(" "+e._s(a)+" "),t("i",{staticClass:"el-icon-close",on:{click:function(t){return e.removeMail(a,n,3)}}})])})),0):e._e(),t("el-input",{staticClass:"margin10 btnBorder",staticStyle:{width:"380px"},attrs:{type:"text",name:"blindCopyTo",autocomplete:"lyy-off"},on:{focus:function(t){return e.focusInputFuc(3)},blur:e.keyUpFuc,keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.keyUpFuc.apply(null,arguments)},input:function(t){return e.selectEmailFuc(3)}},model:{value:e.blindCopyToInput,callback:function(t){e.blindCopyToInput=t},expression:"blindCopyToInput"}})],1)])])],1):e._e(),t("el-row",{staticClass:"lineRow form_edit_top"},[t("el-col",{attrs:{span:1}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"Theme",expression:"'Theme'"}],staticClass:"margin10",staticStyle:{color:"#333333"},attrs:{size:"small",type:"text"}},[e._v("主 题:")])],1)]),t("el-col",{staticStyle:{"margin-left":"10px"},attrs:{span:22}},[t("div",{staticClass:"grid-content bg-purple-dark"},[t("ValidationProvider",{ref:"ValidationProvider",attrs:{name:"主题",rules:"required"},scopedSlots:e._u([{key:"default",fn:function(a){var n=a.errors;return[t("el-tooltip",{class:{"invalid-field":void 0!==n[0]},attrs:{disabled:void 0===n[0],content:n[0],"popper-class":"error-popper-class",placement:"right-start",effect:"dark"}},[t("el-input",{staticClass:"margin10 btnBorder",attrs:{type:"text",name:"subject",autocomplete:"lyy-off",placeholder:e.$tx("email.sendMail.ThemeEnter","请输入邮件主题")},model:{value:e.mailInfo.subject,callback:function(t){e.$set(e.mailInfo,"subject",t)},expression:"mailInfo.subject"}})],1)]}}],null,!1,1458362729)})],1)])],1),t("el-row",{staticClass:"lineRow attach-bar form_edit_top"},[t("el-col",{attrs:{span:24}},[t("div",{staticClass:"grid-content bg-purple-dark bgpadding"},[t("el-upload",{ref:"upload",attrs:{accept:"*.*",limit:e.limitNum,multiple:!0,action:"","auto-upload":!1,disabled:e.uploadProp,"before-upload":e.before_upload,"on-success":e.allHandleSuccess,"on-change":function(t,a){e.handleChange(t,a,e.module,e.busiDataId,e.attachsType,e.attachsSize,t)},"file-list":e.readyList,"http-request":e.allUpload,"with-credentials":!0,"on-remove":e.handleRemove,"on-exceed":e.handleExceed,"show-file-list":!1},model:{value:e.uploadAttach,callback:function(t){e.uploadAttach=t},expression:"uploadAttach"}},[t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"addAttacg",expression:"'addAttacg'"}],staticClass:"margin10",staticStyle:{color:"#333"},attrs:{size:"small",type:"text"}},[e._v("添加附件:")]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"maxFile",expression:"'maxFile'"}],staticClass:"margin10 spanLH"},[e._v("( 单个文件最大20M )")])],1)],1),t("el-row",[t("el-col",{attrs:{span:24}},e._l(e.readyList,(function(a){return t("div",{key:a.uid,staticClass:"readyFile"},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("img",{staticStyle:{width:"29px",height:"36px"},attrs:{src:e.imgUrl(a),alt:""}}),t("div",{staticStyle:{width:"200px","margin-left":"16px"}},[t("div",{staticStyle:{"margin-top":"2px","font-size":"var(--portalFontSize12)",color:"#333",width:"100%",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},[e._v(e._s(a.name))]),t("div",{staticStyle:{"font-size":"var(--portalFontSize12)",color:"#999","margin-top":"6px"}},[t("span",[e._v(e._s(-1!==a.fileSize.indexOf("K")?a.fileSize:a.fileSize+"K"))]),t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"uploadSu",expression:"'uploadSu'"}],staticStyle:{"margin-left":"10px"}},[e._v("上传成功")])])])]),t("el-link",{attrs:{title:e.$tx("pageBtns.edit","编辑")},on:{click:function(t){return e.handleOpenEditor(e.attach)}}},[t("i",{class:"el-icon-edit",staticStyle:{"font-size":"16px"}})]),t("i",{staticClass:"el-icon-close",staticStyle:{color:"#c0c4cc",position:"relative",top:"-9px",cursor:"pointer"},on:{click:function(t){return e.handleRemoveCopy(a.uid)}}})],1)})),0)],1)],1)],1),t("div",{staticClass:"editor_box"},[e.showeditor&&e.wflowEditor&&e.editorHeight>0?t("RichtextEditor",{attrs:{"image-upload-url":e.api+"/mail/attach/uploadBodyPicture?module=DRAFT&busiDataId=mail&attachsType=BODY&apigw=apigw",height:e.editorHeight},model:{value:e.mailInfo.content,callback:function(t){e.$set(e.mailInfo,"content",t)},expression:"mailInfo.content"}}):e._e()],1)],1),t("div",{directives:[{name:"show",rawName:"v-show",value:e.mailInfo.sended,expression:"mailInfo.sended"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"sendSuTip",expression:"'sendSuTip'"}]},[e._v("发送成功,邮件已保存到“已发送”。")]),t("el-button",{attrs:{type:"text"},on:{click:function(t){e.mailInfo={},e.newMail("againMail")}}},[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"WriteAnother",expression:"'WriteAnother'"}]},[e._v("再写一封")])]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"goEmail",expression:"'goEmail'"}],attrs:{type:"text"},on:{click:function(t){return e.gotoPages("email.svg")}}},[e._v("去收件箱")])],1)],1)])])],1):e._e(),t("div",{directives:[{name:"show",rawName:"v-show",value:null===e.defultMail,expression:"defultMail === null"}],staticClass:"text-center",staticStyle:{"padding-top":"100px"}},[t("svg-icon",{staticStyle:{"font-size":"100px"},attrs:{"icon-class":"emailIcon"}}),t("h4",[t("span",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"notStting",expression:"'notStting'"}]},[e._v("您还没有设置邮箱信息,")]),t("el-button",{directives:[{name:"pageBtn-lbl",rawName:"v-pageBtn-lbl",value:"nowSeting",expression:"'nowSeting'"}],staticStyle:{padding:"0","font-size":"16px"},attrs:{type:"text"},on:{click:function(t){return e.gotoPages("youxiangshezhi.svg")}}},[e._v("现在设置")])],1)],1)]),null!==e.defultMail&&void 0!==e.defultMail.emailReceiveType?t("el-col",{staticClass:"mail_content_rightcell",staticStyle:{"font-size":"var(--portalFontSize14)"},attrs:{span:5}},[t("div",{staticStyle:{height:"100%"}},[t("div",{staticClass:"txl",staticStyle:{border:"solid 1px #eeeeee","border-bottom":"none","border-right":"none","border-top":"none",padding:"0 10px",height:"100%"}},[t("txl",{ref:"txl",model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}})],1)])]):e._e()],1)],1)])],1),t("div",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false && uploadForm"}],staticClass:"mail-original-form"},[t("div",{class:{"wflow-container-paper":"WEB"!==e.frmViewStyle}},[t("div",{staticClass:"form-container"},[t("div",{staticClass:"form-header"},[t("div",{staticClass:"form-title"},[e._v(e._s(e.vo.flFormName))])]),t("el-form",{staticClass:"wflow-busiform",attrs:{model:e.vo}},[t("div",{staticClass:"el-table el-table--fit el-table--border"},[t("div",{staticClass:"el-table__body-wrapper"},[t("BusiForm",{ref:"busiForm",attrs:{vo:e.vo,"cur-t-n":e.curTN,"can-edit":0}})],1)])]),t("HandleIdea",{staticClass:"wfIdeas-container",attrs:{"wf-idea-list":e.wfIdeaList,"wf-json-data":e.wfJsonData}})],1)])])])},Cn=[],An=function(){var e=this,t=e._self._c;return t("div",{staticClass:"right_address_book",staticStyle:{height:"100%"}},[t("el-input",{staticStyle:{width:"100%","margin-top":"10px","padding-right":"10px"},attrs:{placeholder:e.$tx("email.components.searchKey","请输入搜索关键字")},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchTreeNode.apply(null,arguments)}},model:{value:e.searchkey,callback:function(t){e.searchkey=t},expression:"searchkey"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.searchTreeNode},slot:"append"})],1),t("div",{staticClass:"books_tree"},[t("el-scrollbar",{attrs:{native:!1,tag:"div"}},[null!==e.defultMail?t("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"unique-opened":"","default-active":"3"},on:{open:e.handleOpen,close:e.handleClose}},[t("el-submenu",{attrs:{index:"1"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"AddressBook",expression:"'AddressBook'"}],model:{value:e.pubChecked,callback:function(t){e.pubChecked=t},expression:"pubChecked"}},[e._v("公共通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{staticClass:"xhiden",attrs:{nodes:e.treeData,showemail:"true",multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreated,onClick:e.onTreeNodeClick,onCheck:e.onTreeNodeCheck}}),null===e.treeData||0===e.treeData.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeData?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"2"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"PersonalAddress",expression:"'PersonalAddress'"}],model:{value:e.perChecked,callback:function(t){e.perChecked=t},expression:"perChecked"}},[e._v("个人通讯录")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatatxl",staticClass:"xhiden",attrs:{nodes:e.treeDatatxl,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedtxl,onClick:e.onTreeNodeClickPerson,onCheck:e.onTreeNodeCheckPerson}}),null===e.treeDatatxl||0===e.treeDatatxl.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatatxl?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2),t("el-submenu",{attrs:{index:"3"},model:{value:e.defultMail,callback:function(t){e.defultMail=t},expression:"defultMail"}},[t("template",{slot:"title"},[t("i",{staticClass:"el-icon-arrow-right",staticStyle:{"margin-top":"5px"}}),t("el-checkbox",{directives:[{name:"text-lbl",rawName:"v-text-lbl",value:"recentContacts",expression:"'recentContacts'"}],model:{value:e.lateChecked,callback:function(t){e.lateChecked=t},expression:"lateChecked"}},[e._v("最近联系人")])],1),t("el-menu-item-group",[t("GiantTree",{ref:"treeDatalatey",staticClass:"xhiden",attrs:{nodes:e.treeDatalatey,multiple:!0,"show-icon":e.showIcon,"show-line":e.showLine},on:{onCreated:e.onTreeCreatedlatey,onClick:e.onTreeNodeClicklatey,onCheck:e.onTreeNodeCheckLatey}}),null===e.treeDatalatey||0===e.treeDatalatey.length?t("div",{staticStyle:{"text-align":"center","font-size":"var(--portalFontSize14)"}},[t("span",{staticStyle:{color:"#909399"}},[e._v(e._s(null===e.treeDatalatey?e.$tx("common.loading","正在加载..."):e.$tx("common.noData","暂无数据")))])]):e._e()],1)],2)],1):e._e()],1)],1)],1)},In=[];function En(e){return En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},En(e)}function On(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */On=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,i=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function d(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof g?t:g,o=Object.create(r.prototype),s=new j(n||[]);return i(o,"_invoke",{value:T(e,a,s)}),o}function u(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var m="suspendedStart",p="suspendedYield",h="executing",f="completed",_={};function g(){}function y(){}function v(){}var b={};d(b,o,(function(){return this}));var M=Object.getPrototypeOf,w=M&&M(M(C([])));w&&w!==a&&n.call(w,o)&&(b=w);var x=v.prototype=g.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function a(i,r,o,s){var l=u(e[i],e,r);if("throw"!==l.type){var d=l.arg,c=d.value;return c&&"object"==En(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){a("next",e,o,s)}),(function(e){a("throw",e,o,s)})):t.resolve(c).then((function(e){d.value=e,o(d)}),(function(e){return a("throw",e,o,s)}))}s(l.arg)}var r;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){a(e,n,t,i)}))}return r=r?r.then(i,i):i()}})}function T(t,a,n){var i=m;return function(r,o){if(i===h)throw Error("Generator is already running");if(i===f){if("throw"===r)throw o;return{value:e,done:!0}}for(n.method=r,n.arg=o;;){var s=n.delegate;if(s){var l=S(s,n);if(l){if(l===_)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===m)throw i=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var d=u(t,a,n);if("normal"===d.type){if(i=n.done?f:p,d.arg===_)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(i=f,n.method="throw",n.arg=d.arg)}}}function S(t,a){var n=a.method,i=t.iterator[n];if(i===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,S(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),_;var r=u(i,t.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,_;var o=r.arg;return o?o.done?(a[t.resultName]=o.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,_):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,_)}function Y(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Y,this),this.reset(!0)}function C(t){if(t||""===t){var a=t[o];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function a(){for(;++i<t.length;)if(n.call(t,i))return a.value=t[i],a.done=!1,a;return a.value=e,a.done=!0,a};return r.next=r}}throw new TypeError(En(t)+" is not iterable")}return y.prototype=v,i(x,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=d(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,d(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},L(k.prototype),d(k.prototype,s,(function(){return this})),t.AsyncIterator=k,t.async=function(e,a,n,i,r){void 0===r&&(r=Promise);var o=new k(c(e,a,n,i),r);return t.isGeneratorFunction(a)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},L(x),d(x,l,"Generator"),d(x,o,(function(){return this})),d(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=C,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(D),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function i(n,i){return s.type="throw",s.arg=t,a.next=n,i&&(a.method="next",a.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),d=n.call(o,"finallyLoc");if(l&&d){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!d)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var o=r?r.completion:{};return o.type=e,o.arg=t,r?(this.method="next",this.next=r.finallyLoc,_):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),D(a),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var i=n.arg;D(a)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:C(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),_}},t}function Pn(e,t,a,n,i,r,o){try{var s=e[r](o),l=s.value}catch(e){return void a(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function Nn(e){return function(){var t=this,a=arguments;return new Promise((function(n,i){var r=e.apply(t,a);function o(e){Pn(r,n,i,o,s,"next",e)}function s(e){Pn(r,n,i,o,s,"throw",e)}o(void 0)}))}}var Hn=[],Fn={components:{},props:{defultMail:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"components",treeData:null,treeDatatxl:null,treeDatalatey:null,treeDatanbyx:null,treeData2:null,loginUser:this.$store.getters.loginUser,openIndex:"3",showIcon:!0,showLine:!0,selectedNodes:[],treeDataBak:[],treeDataBaktxl:[],treeDataBaklatey:[],zTree:{},zTreetxl:{},zTreelatey:{},zTreelateynbyx:{},searchkey:"",accountList:[],pubChecked:!1,perChecked:!1,lateChecked:!1,nbChecked:!1}},computed:{},watch:{pubChecked:function(e,t){e?this.zTree.checkAllNodes(!0):this.zTree.checkAllNodes(!1),this.allEmail()},perChecked:function(e,t){e?this.zTreetxl.checkAllNodes(!0):this.zTreetxl.checkAllNodes(!1),this.allEmail()},lateChecked:function(e,t){e?this.zTreelatey.checkAllNodes(!0):this.zTreelatey.checkAllNodes(!1),this.allEmail()},nbChecked:function(e,t){e?this.zTreelateynbyx.checkAllNodes(!0):this.zTreelateynbyx.checkAllNodes(!1),this.allEmail()}},created:function(){this.$bus.on("handleFocusChange",this.handleFocusChange)},beforeDestroy:function(){this.$bus.off("quickSearchPerson"),this.$bus.off("changeEmail"),this.$bus.off("handleFocusChange")},mounted:function(){var e=this;this.queryMyMailList(),this.defultMail=this.defultMail||JSON.parse(sessionStorage.getItem("currentMail")),this.loadTypeTree(),this.loadTypeTreetxl(),this.loadTypeTreelatey(),this.$bus.on("quickSearchPerson",(function(t){e.quickSearch(t)})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))}))},methods:{handleFocusChange:function(e){var t=this,a=e.split(",");a.length&&a.forEach((function(e){var a=t.zTree.getNodeByParam("name",e,null);a&&t.zTree.checkNode(a,!a.checked,!0);var n=t.zTreelatey.getNodeByParam("name",e,null);n&&t.zTreelatey.checkNode(n,!n.checked,!0);var i=t.zTreetxl.getNodeByParam("name",e,null);i&&t.zTreetxl.checkNode(i,!i.checked,!0)}))},queryMyMailList:function(){var e=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?t.body.listdata.forEach((function(t){1===t.status&&e.accountList.push(t)})):e.$message.error(t.message)}),(function(t){e.$message.error(t)}))},handleOpen:function(e,t){this.openIndex=e,null===this.treeDatatxl&&this.loadTypeTreetxl(),null===this.treeData&&this.loadTypeTree(),null===this.treeDatalatey&&this.loadTypeTreelatey()},handleClose:function(e,t){},searchTreeNode:function(){var e=this,t=this.searchkey;this.searchDoading=!0,""===t?(0!==this.treeDataBak.length&&(this.treeData=this.treeDataBak,this.treeDataBak=""),0!==this.treeDataBaktxl.length&&(this.treeDatatxl=this.treeDataBaktxl,this.treeDataBaktxl=""),0!==this.treeDataBaklatey.length&&(this.treeDatalatey=this.treeDataBaklatey,this.treeDataBaklatey="")):(0===this.treeDataBak.length?this.treeDataBak=JSON.parse(JSON.stringify(this.treeData)):this.treeData=JSON.parse(JSON.stringify(this.treeDataBak)),0===this.treeDataBaktxl.length?this.treeDataBaktxl=JSON.parse(JSON.stringify(this.treeDatatxl)):this.treeDatatxl=JSON.parse(JSON.stringify(this.treeDataBaktxl)),0===this.treeDataBaklatey.length?this.treeDataBaklatey=JSON.parse(JSON.stringify(this.treeDatalatey)):this.treeDatalatey=JSON.parse(JSON.stringify(this.treeDataBaklatey)),null!==this.treeData&&0!==this.treeData.length&&(this.treeData=this.treeDataBak,setTimeout((function(){var a=e.zTree.getNodesByParamFuzzy("name",t);e.treeData=a}),100)),null!==this.treeDatatxl&&0!==this.treeDatatxl.length&&(this.treeDatatxl=this.treeDataBaktxl,setTimeout((function(){var a=e.zTreetxl.getNodesByParamFuzzy("tname",t);e.treeDatatxl=a}),100)),null!==this.treeDatalatey&&0!==this.treeDatalatey.length&&(this.treeDatalatey=this.treeDataBaklatey,setTimeout((function(){var a=e.zTreelatey.getNodesByParamFuzzy("tname",t);e.treeDatalatey=a}),100))),this.handleOpen(1);var a="";document.querySelector(".el-menu .el-submenu.is-opened > .el-submenu__title .el-icon-arrow-right")?console.log(123):(a=document.querySelector(".el-menu .el-submenu > .el-submenu__title .el-icon-arrow-right"),a&&a.click()),this.searchDoading=!1,this.searchkey=t},quickSearch:function(e){var t=this.treeData,a=this.treeDatatxl,n=this.treeDatalatey,i=(this.treeDatanbyx,[]),r=[],o=[],s=[];null!==t&&0!==t.length&&(i=this.zTree.getNodesByParamFuzzy("name",e)),null!==a&&0!==a.length&&(r=this.zTreetxl.getNodesByParamFuzzy("tname",e)),null!==n&&0!==n.length&&(o=this.zTreelatey.getNodesByParamFuzzy("tname",e)),i.concat(r,o,s),this.$bus.emit("quickdataFuc",i)},loadTypeTree:function(){var e=this;return Nn(On().mark((function t(){return On().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"get",contentType:"application/x-www-form-urlencoded",url:"mail/message/findOrganPerson"}).then((function(t){"success"===t.code?e.treeData=e.treeDataAdapter(t.body.listdata):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreetxl:function(){var e=this;return Nn(On().mark((function t(){return On().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",url:"mail/linkmanGroup/selectTreeGroup"}).then((function(t){"success"===t.code?e.treeDatatxl=e.treeDataAdapter1(t.body.treeList):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},loadTypeTreelatey:function(){var e=this;return Nn(On().mark((function t(){return On().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$http({method:"post",contentType:"application/x-www-form-urlencoded",params:{orderBy:"updateTime desc",count:20},data:[{compare:"string",field:"emailType",merge:!0,value:null===e.defultMail.emailReceiveType?2:1}],url:"mail/linkmanGroup/selectLatelyLinkman"}).then((function(t){"success"===t.code?e.treeDatalatey=e.treeDataAdapter1(t.body.treeList):e.$message.error(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}));case 2:case"end":return t.stop()}}),t)})))()},treeDataAdapter:function(e){var t=this;this.showIcon=!0,this.showLine=!0;var a=this.getPrevSelected();return e=e.filter((function(e,t){if("rootOrg"!==e.type)return e})),e.forEach((function(e,n){if(e.personId){e.icon=t.user,e.personName=e.name;var i=t,r=i.accountList.findIndex((function(e){return 1===e.accountType&&1===e.status}));if(r>-1)e.name=e.name+"/"+e.emailAddr;else{var o=e.email?e.email:"无";e.name=e.name+"/"+o}e.pId=e.orgId||e.parentId||e.groupId,e.icon=t.user,e.mailAdress=e.email||"无",e.title=e.name,a.indexOf(e.account)>-1&&(e.checked=!0),e.canSelect=!0}else e.pId=e.parentID||e.parentId,e.name=e.nName||e.name,e.title=e.fullName||e.orgFullName,e.title=e.title.replace(/[&\|\\\*^%$#@\-]/g,"-"),-1!==e.title.indexOf("-")&&(e.title=e.title.substring(e.title.indexOf("-")+1)),e.canSelect=!1,e.icon=t.folderUser})),e},treeDataAdapter1:function(e){var t=this;return e.forEach((function(e){null===e.parentId?(e.pId=t.root.id,e.name=e.tname):void 0!==e.parentId&&null!==e.parentId?(e.pId=e.parentId,e.name=e.tname,e.title=e.name):e.title=e.name})),e},getPrevSelected:function(){var e="";return this.selectedNodes.forEach((function(t){""!==e&&(e+=","),e+=t.account})),e},refreshTreeData:function(e){null===e?this.loadTypeTree():this.treeData=this.treeDataAdapter([this.root].concat(e))},onTreeCreated:function(e){if(this.zTree=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedtxl:function(e){if(this.zTreetxl=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeCreatedlatey:function(e){if(this.zTreelatey=e,0===this.selectedNodes.length){var t=e.getCheckedNodes();this.selectedNodes=t}},onTreeNodeClick:function(e,t,a){this.zTree.checkNode(a,!a.checked,!0),this.onTreeNodeCheck("","",a)},onTreeNodeClickPerson:function(e,t,a){this.zTreetxl.checkNode(a,!a.checked,!0),this.onTreeNodeCheckPerson("","",a)},onTreeNodeClicklatey:function(e,t,a){this.zTreelatey.checkNode(a,!a.checked,!0),this.onTreeNodeCheckLatey("","",a)},onTreeNodeCheck:function(e,t,a){if(a&&a.checked){var n=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),i=n.reduce((function(e,t){return e[t.account]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTree.getChangeCheckedNodes().filter((function(e){return e.personId})),o=[];r.forEach((function(e){o.push(e.name)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTree.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckPerson:function(e,t,a){if(a&&a.checked){var n=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreetxl.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreetxl.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},onTreeNodeCheckLatey:function(e,t,a){if(a&&a.checked){var n=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),i=n.reduce((function(e,t){return e[t.tname]=t,e}),{});n=Object.values(i),this.$bus.emit("checkEmail",n)}if(a&&!a.checked){var r=this.zTreelatey.getChangeCheckedNodes().filter((function(e){return e.email})),o=[];r.forEach((function(e){o.push(e.tname)})),this.$bus.emit("cancleCheck",o)}for(var s=this.zTreelatey.getChangeCheckedNodes(),l=0,d=s.length;l<d;l++)s[l].checkedOld=s[l].checked},allEmail:function(){this.onTreeNodeCheck("","",{checked:this.pubChecked}),this.onTreeNodeCheckPerson("","",{checked:this.perChecked}),this.onTreeNodeCheckLatey("","",{checked:this.lateChecked})},recursionChildren:function(e){var t=this;e.children&&e.children.length>0?e.children.forEach((function(e){e.children&&e.children.length>0?t.recursionChildren(e):e.personId&&Hn.push(e)})):e.personId&&Hn.push(e)}}},$n=Fn,zn=(n(5501),te($n,An,In,!1,null,"391f7e88",null)),Bn=zn.exports;function Wn(e){return Wn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn(e)}function Rn(e){return Vn(e)||Gn(e)||qn(e)||Un()}function Un(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qn(e,t){if(e){if("string"==typeof e)return Jn(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Jn(e,t):void 0}}function Gn(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Vn(e){if(Array.isArray(e))return Jn(e)}function Jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a<t;a++)n[a]=e[a];return n}function Qn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Kn(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Qn(Object(a),!0).forEach((function(t){Xn(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Qn(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Xn(e,t,a){return(t=Zn(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function Zn(e){var t=ei(e,"string");return"symbol"==Wn(t)?t:t+""}function ei(e,t){if("object"!=Wn(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=Wn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ti={components:{txl:Bn},props:{newMailInfo:{type:String,default:function(){return{}}}},data:function(){return{i18npkg:"email",moduleCode:"sendMail",content:"",loading:!1,editorOption:{},canEdit:1,moduleInfo:{getByIdUrl:"mail/message/getMailInfoById",sendMailUrl:"mail/message/sendMail",saveDraftUrl:"mail/message/saveDraft",deleteDraftUrl:"mail/message/deleteDraft",queryDataUrl:"mail/userSetup/queryMyMailSetup"},mailInfo:{content:""},uploadAttach:"",mailContent:"",isParams:"",httpPort:"",readyList:[],uploadDdta:{},api:"/apigw",imageUploadUrl:"/apigw/mail/attach/upload",valueMail:"",accountList:null,defultMail:null,linkManEmail:[],editerHeight:"",showeditor:!1,csr:!1,msr:!1,qfdx:!1,closeLink:!1,sendList:[],copyToList:[],blindCopyToList:[],sendListInput:"",copyToInput:"",blindCopyToInput:"",focusInput:1,inMail:!1,loginUser:this.$store.getters.loginUser,moveFile:[],"10px":"180px",attachBarHeight:"43px",limitNum:5,srcName:"",commandBar:[{btnAlign:1,btnCode:"Draft",btnGroupId:null,btnIcon:"emailcg",btnJavascript:this.saveDraft,btnName:this.$tx("email.sendMail.notStting","您还没有设置邮箱信息,"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:"send",btnGroupId:null,btnIcon:"el-icon-s-promotion",btnJavascript:this.saveDraft,btnName:this.$tx("pageBtns.send","发送"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0},{btnAlign:1,btnCode:null,btnGroupId:null,btnIcon:"off",btnJavascript:"btnCloseClick()",btnName:this.$tx("pageBtns.close","关闭"),btnOrderNo:null,btnShow:null,btnType:"1",id:null,nodeId:null,passenger:{},visitType:0}],styleBagrand:"",styleBagrand1:"",formEvents:null,wfIdeaList:[],wfJsonData:{},wfInstance:{},curTN:{},vo:{},wfParams:{},attachments:[],uploadForm:!0,wflowEditor:!1,editorHeight:0,frmViewStyle:"WEB",itemlist:[]}},computed:Kn({curUser:function(){return this.$store.getters.loginUser}},H(["routes"])),watch:{defultMail:function(e){var t=this;if(null!==e){this.$nextTick((function(){t.showeditor=!0}));var a=this;a.$route.query?a.newMail():(a.isParams="againMail",a.newMail(a.isParams))}},formEvents:function(){null!==this.formEvents&&(this.formEvents.onWflowFormOpened(this,this.wfParams,this.wfParams,this.wfEngineUrl),this.loadForm(!0))},wflowEditor:function(e){var t=this;e&&this.$nextTick((function(){setTimeout((function(){t.onresize()}),500)}))},readyList:function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.onresize()}),500)}))},sendList:function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.onresize()}),500)}))}},created:function(){var e=this;if(this.$route.query.row){if(this.$route.query.srcBusiDataId){this.srcName=this.$route.query.srcBusiDataId;var t=Rn(JSON.parse(this.$route.query.row));this.readyList=t.filter((function(e,a){return e.name=e.fileName,a!==t.length}))}else{var a=[];for(var n in this.$route.query.row)a.push({name:this.$route.query.row[n].fileName,id:this.$route.query.row[n].id,fileSize:this.$route.query.row[n].fileSize});this.readyList=a.filter((function(t,a){return a!==e.$route.query.row.length}))}this.styleBagrand=this.Cookies.get("uiStyle"),this.styleBagrand1=this.Cookies.get("uiStyle")}else this.newMailInfo&&(this.mailInfo=this.newMailInfo,this.mailInfo.attachments&&this.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel),e.readyList.push({name:t.fileName,status:"ready",size:t.fileRealSize,percentage:0})})));this.httpPort=location.port,this.$bus.emit("showNavSearch",!1),this.getDefultMail()},beforeDestroy:function(){this.$bus.emit("showNavSearch",!0),this.$bus.off("quickdataFuc"),this.$bus.off("checkEmail"),this.$bus.off("checkEmailPerson"),this.$bus.off("changeEmail"),this.$bus.off("cancleCheck"),window.removeEventListener("resize",this.onresize)},mounted:function(){var e=this;this.$nextTick((function(){e.$refs.sendTo.focus(),e.mailInfo.attachments&&e.mailInfo.attachments.forEach((function(t){e.itemlist.push(t.fileLevel)}))})),window.addEventListener("resize",this.onresize),this.$bus.on("quickdataFuc",(function(t){e.linkManEmail=e.unique(t),t.length>0?e.closeLink=!0:e.closeLink=!1})),this.$bus.on("cancleCheck",(function(t){t.forEach((function(t){e.sendList=e.sendList.filter((function(e){return e!==t})),e.copyToList=e.copyToList.filter((function(e){return e!==t})),e.blindCopyToList=e.blindCopyToList.filter((function(e){return e!==t}))}))})),this.$bus.on("checkEmail",(function(t){if("string"===typeof t)if("无"===t.split("/")[1]);else{var a=0;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t.split("/")[1].indexOf("@");if(i>-1&&-1===t.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a||(1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t))}else for(var r,o=function(){if("无"===t[s].name.split("/")[1])return e.$message.warning(e.$tx("email.xieyoujian.notEmail","当前项无邮箱地址,不支持选择")),{v:!1};var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr){var i=t[s].name.split("/")[1].indexOf("@"),r=t[s].name.split("/")[1]&&t[s].name.split("/")[1].split("@")[0]===t[s].account;if(!r&&i>-1&&-1===t[s].name.split("/")[1].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱","已存在该抄送人!"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}}if((1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[s].name&&(a=1)})),1===a)return 1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!")),{v:!1};1===e.focusInput?e.sendList.push(t[s].name):2===e.focusInput?e.copyToList.push(t[s].name):e.blindCopyToList.push(t[s].name)},s=0;s<t.length;s++)if(r=o(),r)return r.v})),this.$bus.on("checkEmailPerson",(function(t){if(console.log("走不走"),"string"===typeof t){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t.indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),!1}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t&&(a=1)})),1===a?(1===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip1","已存在该收件人!")),2===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip2","已存在该抄送人!")),3===e.focusInput&&e.$message.warning(e.$tx("email.messages.emailTip3","已存在该密送人!"))):1===e.focusInput?e.sendList.push(t):2===e.focusInput?e.copyToList.push(t):e.blindCopyToList.push(t)}else{console.log("数组",t);for(var i,r=function(){var a=null;if(null===e.defultMail.emailReceiveType){var n="@"+e.defultMail.emailAddr.split("@")[1];if(!e.defultMail.internetEmailAddr&&-1===t[o].indexOf(n))return e.$alert(e.$tx("email.xieyoujian.content2","当前账号为内部使用邮箱,如您需往外部邮箱发送邮件,请先前往邮箱中心将本账号绑定外部邮箱"),e.$tx("common.operationTip","操作提示"),{type:"warning"}),{v:!1}}(1===e.focusInput?e.sendList:2===e.focusInput?e.copyToList:e.blindCopyToList).forEach((function(e,n){e===t[o]&&(a=1)})),1===a?(e.focusInput,e.focusInput,e.focusInput):(1===e.focusInput?e.sendList.push(t[o]):2===e.focusInput?e.copyToList.push(t[o]):e.blindCopyToList.push(t[o]),console.log("uuuuu",t[o],e.sendList))},o=0;o<t.length;o++)if(i=r(),i)return i.v}})),this.$bus.on("changeEmail",(function(t){e.defultMail=JSON.parse(sessionStorage.getItem("currentMail"))})),document.addEventListener("keydown",(function(t){e.closeLink&&e.linkManEmail.length>0&&(38===t.keyCode?e.linkIndex>0&&e.linkIndex--:40===t.keyCode?e.linkIndex<e.linkManEmail.length+1&&e.linkIndex++:13===t.keyCode&&(1===e.linkManEmail.length?e.clickLink(e.linkManEmail[0].name):e.clickLink(e.linkManEmail[e.linkIndex].name)))}))},methods:{onresize:function(){var e=this,t=document.querySelector(".mail_content_row");t.style.height="calc(100vh - 103px)",this.$nextTick((function(){t=document.querySelector(".mail_content_row");var a=document.querySelector(".form-horizontal"),n=document.querySelectorAll(".form_edit_top"),i=null!==a?a.offsetHeight:0,r=0;if(null!==n||n.length>0)for(var o=0;o<n.length;o++)r+=n[o].offsetHeight;i>0&&r>0&&(e.editorHeight=0,e.$nextTick((function(){setTimeout((function(){e.editorHeight=i-r-40>460?i-r-40:460,t.style.height=i-r-40<=460?r+566+"px":"calc(100vh - 103px)"}),0)})))}))},filterTree:function(e){var t=this,a=this.$refs.txl.zTree.getNodes(),n=this.$refs.txl.zTreetxl.getNodes(),i=this.$refs.txl.zTreelatey.getNodes(),r=this.$refs.txl.zTree.transformToArray(a),o=this.$refs.txl.zTreetxl.transformToArray(n),s=this.$refs.txl.zTreelatey.transformToArray(i);if(r.forEach((function(a){a.name===e&&t.$refs.txl.zTree.checkNode(a,!1,!0)})),o.forEach((function(a){a.email===e&&t.$refs.txl.zTreetxl.checkNode(a,!1,!0)})),s.forEach((function(a){a.email===e&&t.$refs.txl.zTreelatey.checkNode(a,!1,!0)})),0===this.$refs.txl.zTree.getCheckedNodes(!0).length)this.$refs.txl.pubChecked=!1;else if(this.$refs.txl.zTree.getCheckedNodes(!0).length>0){var l=0;a.forEach((function(e){t.$refs.txl.zTree.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&l++}))})),this.$refs.txl.pubChecked=l===a.length}if(0===this.$refs.txl.zTreetxl.getCheckedNodes(!0).length)this.$refs.txl.perChecked=!1;else if(this.$refs.txl.zTreetxl.getCheckedNodes(!0).length>0){var d=0;n.forEach((function(e){t.$refs.txl.zTreetxl.getCheckedNodes(!0).forEach((function(t){t.id===e.id&&d++}))})),this.$refs.txl.perChecked=d===n.length}0===this.$refs.txl.zTreelatey.getCheckedNodes(!0).length&&(this.$refs.txl.lateChecked=!1)},csTagChange:function(){var e=this;this.csr=!this.csr,this.focusInput=this.csr?2:1,this.csr?this.$nextTick((function(){e.$refs.copyTo.focus()})):this.copyToList.length>0&&this.copyToList.forEach((function(t){e.filterTree(t)})),this.copyToList=[]},msTagChange:function(){var e=this;this.msr=!this.msr,this.focusInput=this.msr?3:1,this.msr?this.$nextTick((function(){e.$refs.blindCopyTo.focus()})):this.blindCopyToList.length>0&&this.blindCopyToList.forEach((function(t){e.filterTree(t)})),this.blindCopyToList=[]},qfdxTagChange:function(){this.qfdx=!this.qfdx,this.qfdx&&(this.csr=!1,this.msr=!1),this.copyToList=[],this.blindCopyToList=[]},deleteCg:function(){this.$emit("deleteDraft")},loadInternetList:function(){var e=this;e.loading=!1,this.$http({method:"GET",contentType:"application/json",url:this.moduleInfo.queryDataUrl}).then((function(t){e.loading=!1,"success"===t.code?(e.accountList=t.body.listdata,e.accountList&&e.accountList.length>0&&(e.defultMail=e.accountList[0]),e.defultMail&&(e.valueMail=e.defultMail.emailAddr)):e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}),(function(t){e.$message.error(t)}))},gotoPages:function(e){var t=this.getMenuCode(e);if(t&&t.path){var a;switch(t.meta.level){case 3:a=t.meta.activeMenu||t.path;break;case 4:a=t.meta.activeMenu+"/"+t.path;break;default:a=t.path}"shoujianxiang.svg"===e?this.$router.push({path:a,query:this.newMailInfo}):"email.svg"===e&&this.$router.push({path:a})}},getMenuCode:function(e){var t;function a(n){n.forEach((function(n){if(n.children&&a(n.children),!n.children&&n.meta&&n.meta.code===e)return t=n,!1}))}return a(this.routes),t},onSelectStaffCompleted:function(e,t){var a="";e.forEach((function(e){""!==a&&(a+="、"),a+=e.name})),"sendTo"===t.name?this.$set(this.mailInfo,"sendTo",a):this.$set(this.mailInfo,"copyTo",a)},newMail:function(e){var t=this;if(this.loading=!0,"againMail"===e)this.mailInfo={},this.mailInfo.sendTo="",this.mailInfo.sended=!1;else{var a=Object.keys(this.$route.query);a.length>2&&(this.mailInfo=this.$route.query)}if(void 0!==this.mailInfo.srcBusiDataId)this.wflowForwardMail();else if(null==this.mailInfo.mailMessageId)this.wflowEditor=!0,this.mailContent="<br/><br/><br/><br/><br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"));else if(null==this.mailInfo.sentdate){if(this.wflowEditor=!0,this.sendList=[],this.copyToList=[],this.blindCopyToList=[],null!==this.mailInfo.sendTo&&""!==this.mailInfo.sendTo){var n=this.mailInfo.sendTo.split(",");this.sendList=this.sendList.concat(n)}if(null!==this.mailInfo.copyTo&&""!==this.mailInfo.copyTo){var i=this.mailInfo.copyTo.split(",");this.copyToList=this.copyToList.concat(i)}if(null!==this.mailInfo.blindCopyTo&&""!==this.mailInfo.blindCopyTo){var r=this.mailInfo.blindCopyTo.split(",");this.blindCopyToList=this.blindCopyToList.concat(r)}var o;if(this.mailContent=this.mailInfo.content,this.mailInfo.attachments)if(this.mailInfo.attachments.length>0)this.readyList=(o=this.readyList).concat.apply(o,Rn(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)}))}else if(this.mailInfo.actionType){if(this.wflowEditor=!0,"respAll"===this.mailInfo.actionType){var s=this.mailInfo.sendTo.split(","),l=this.mailInfo.fromAddr.split(","),d=this.mailInfo.copyTo.split(",");s.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),l.forEach((function(e,a){-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&t.sendList.push(e)})),d.forEach((function(e,a){""!==e&&-1===e.indexOf(t.defultMail.emailAddr)&&-1===e.indexOf(t.defultMail.emailAddr.split("@")[0])&&(t.copyToList.push(e),t.csr=!0)}))}else if("resp"===this.mailInfo.actionType)this.wflowEditor=!0,this.sendList.push(this.mailInfo.fromAddr),this.mailInfo.fromAddr=this.defultMail.emailAddr;else if("resend"===this.mailInfo.actionType){var c;if(this.wflowEditor=!0,this.sendList.push(this.mailInfo.sendTo),this.mailInfo.attachments.length>0)(c=this.readyList).push.apply(c,Rn(this.mailInfo.attachments))}else if("forward"===this.mailInfo.actionType){var u;if(this.wflowEditor=!0,this.mailInfo.fromAddr=this.defultMail.emailAddr,this.sendList=[],this.mailInfo.attachments)if(this.mailInfo.attachments.length>0)(u=this.readyList).push.apply(u,Rn(this.mailInfo.attachments)),this.readyList.forEach((function(e){e.name||(e.name=e.fileName)}))}"resend"!==this.mailInfo.actionType&&(this.mailInfo.fromAddr=this.defultMail.emailAddr,this.mailContent="<br/><br/><br/><br/><br/>",1===this.defultMail.signFlag&&(this.mailContent+=this.defultMail.signContent.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>")),this.mailContent+="<hr/>------------------ 原始邮件 ------------------<br/>"),delete this.mailInfo.actionType,this.mailContent+=this.mailInfo.content,this.mailInfo.mailMessageId=null,this.mailInfo.id=null,this.mailInfo.sentdate=null,null!=this.mailInfo.attachments&&this.mailInfo.attachments.forEach((function(e){e.id=null}))}this.loading=!1,this.mailInfo.content=this.mailContent,this.mailInfo.mailType=2,this.newMailInfo=null,this.$forceUpdate()},wflowForwardMail:function(){var e=this,t=this;this.wfParams={wfEngineUrl:this.$route.query.wfEngineUrl,busiDataId:this.$route.query.srcBusiDataId},t.$wfEngine.loadWfInstance(this,this.wfParams).then((function(a){if("success"===a.code){t.$set(t.mailInfo,"subject","【"+t.wfInstance.wfName+"】"+t.wfInstance.title),t.curTN.tnCanEdit=0,t.curTN.tnNodeID=null,t.curTN.tnNodeName=null,t.srcName=t.vo.flFormName;var n=e.mailInfo.attachments||[];t.attachments.forEach((function(e){t.$route.query.fileId&&-1!==t.$route.query.fileId.indexOf(e.id)&&(n.push(e),e.name=e.fileName)})),t.readyList=n,new Promise((function(a,n){t.loadForm=function(e){e&&a()};var i=e.curTN.workform||e.wfInstance.workForm;0===i.indexOf("@/")?(i=i.replace(/@\/mapp/g,"@/wapp"),t.$options.components["BusiForm"]=t.$loadComponent(i),t.$nextTick((function(){t.formEvents={onWflowFormOpened:t.$options.components["BusiForm"].methods.onWflowFormOpened}}))):-1!==i.indexOf("/dcontent")&&(i=i.split("/dcontent")[1],"/"===i.substring(i.length-1)&&(i=i.substring(0,i.length-1)),i="#/dcontent/vuebusiform/W/"+i+".vue?sysCode="+t.wfInstance.sysCode,t.$options.components["BusiForm"]=t.$loadComponent(i))})).then((function(){var a="",n=document.querySelector(".mail-original-form"),i='\t<style>\r\n\t\t.form-container form{border:none;padding:0;}\r\n\t \t\t.form-container .form-header .form-title{font-size: 24px;font-weight: normal;text-align: center;color: #545454;}\r\n\t \t\t.form-container .form-header .section-title{overflow: hidden;line-height: 22px;}\r\n\t \t\t.form-container .form-header .section-title .l-text{float: left;margin-bottom: 0px;}\r\n\t \t\t.form-container .el-table__body{width:100%;margin:0 auto;border:none!important;border-top: 1px solid #EBEEF5!important;border-left: 1px solid #EBEEF5!important} \r\n\t \t\t.form-container .el-table__body td{padding: 4px;height: 39px;line-height: 39px;border:none!important;border-right: 1px solid #EBEEF5!important;border-bottom: 1px solid #EBEEF5!important;} \r\n\t \t\t.form-container .el-table__body .tdlbl{text-align: right;font-weight: 600;} \r\n\t \t\t.form-container .el-table__body .tdcont{text-align: left;font-weight: 400;} \r\n\t \t\t.form-container .el-table__body .tdw17{width:17%} \r\n\t \t\t.form-container .el-table__body .tdw33{width:33%}\r\n\t \t\t.form-container .el-table__body .tdw83{width:83%}\r\n\t \t\t.form-container .wfIdeas-container td{line-height:20px;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv{ margin: 5px 0;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv p {margin-top: 0px; margin-bottom: 0px;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv span {display:inline-block;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv{min-height: 55px;}\r\n\t \t\t.form-container .wfIdeas-container .ideaDiv .ideaSignature{max-width:100px;max-height:50px;}\r\n\t\t\t.wflow-container-paper .form-container .form-title{color: #E94243;font-size: 32px;font-weight: bold;text-align: center;margin-bottom: 32px;margin-top: 42px;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform{position: relative;padding: 50px 65px;box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.3);border: 2px solid #BEC0C9;background: #fff;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table__body{border-top-color: #E94243!important;border-left-color: #E94243!important;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td{border-right-color: #E94243!important;border-bottom-color: #E94243!important;font-size: 18px;line-height: normal;height: 70px;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl{ color: #E94243;background: none;text-align: left;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl .required{display: none;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.tdlbl ::after{content: ":";}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable p{margin:0}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable{line-height: 65px!important;padding: 14px;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable div{line-height: normal!important;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv{line-height: normal;margin-top: 15px;margin-bottom: 0;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv{height: 100%;margin: 0;}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv p:nth-child(even){ text-align: right; margin-top:15px}\r\n\t\t\t.wflow-container-paper .form-container .el-form.wflow-busiform .el-table--border .el-table__body td.udm-ideaLable .ideaContentDiv .ideaDiv p span{ width: 50px!important;}\r\n\t</style>\r\n\t',r=n.innerHTML.replace(/src="\/apigw\//g,'src="'+location.href.split("/#")[0]+"/apigw/");a=i+r+"<p></p>",t.uploadForm=!1,t.curTN.tnCanEdit=1,e.$nextTick((function(){e.mailInfo.content=a,e.wflowEditor=!0}))}))}else e.$alert(a.message,e.$tx("common.operationTip","操作提示"),{type:"error"})}))},handleRemoveCopy:function(e,t){var a=this.readyList.findIndex((function(t){return t.uid===e}));this.itemlist.splice(t,1),this.readyList.splice(a,1)},handleRemove:function(e,t){this.readyList=t,this.moveFile.push(e)},handleChange:function(e,t){if(this.uploadAttach=e,this.readyList.length>0){for(var a=0;a<this.readyList.length;a++)if(e.name===this.readyList[a].name)return this.$message.warning(this.$tx("email.messages.fileName",{fileName:e.name},"“{{fileName}}” 文件重复,已覆盖该文件")),this.readyList.splice(a--,1),this.readyList.push(e),!1;this.readyList.push(e)}else e.fileName=e.name,this.readyList.push(e);for(var n in this.itemlist.push(""),this.mailInfo.attachments=this.readyList,this.mailInfo.attachsCount=this.mailInfo.attachments.length,this.readyList)this.readyList[n].fileSize=(this.readyList[n].size/this.pow1024(1)).toFixed(2)},pow1024:function(e){return Math.pow(1024,e)},handleExceed:function(e,t){return this.$message.warning(this.$tx("email.messages.maxFileUpload",{limitNum:this.limitNum},"最多只能上传{{limitNum}}个文件")),!1},selectMail:function(e){e&&(this.inMail=!0),this.valueMail=e.emailAddr,this.saveMailSetup(e)},saveDraft:function(e){var t=this;if(t.mailInfo.usersetId=t.defultMail.id,!(t.sendList.length>0))return t.$message.error(t.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;t.mailInfo.sendTo=this.sendList.toString(),t.mailInfo.copyTo=this.copyToList.toString(),t.mailInfo.blindCopyTo=this.blindCopyToList.toString(),t.formValidate((function(){t.loading=!0,t.mailInfo.onlyOne=t.qfdx?1:0;var a=t.moduleInfo.saveDraftUrl,n={userSetupId:t.defultMail.id};return new Promise((function(i,r){t.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:n,data:t.mailInfo,url:a}).then((function(a){"success"===a.code?(t.mailInfo.mailMessageId=a.body.mailMessageId,t.mailInfo.id=a.body.shipId,null!=t.readyList&&t.readyList.length>0?t.fileUploadFuc(e):"send"===e?t.sendMail():(t.loading=!1,t.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))):(t.loading=!1,t.$message.error(a.message)),i(a)})).catch((function(e){r(e)}))}))}))},fileUploadFuc:function(e){var t=this,a="/mail/attach/upload";0===t.readyList.length?t.$messages.info(t.$tx("email.messages.selectExportFile","请选择导入文件")):(t.mailInfo.attachments=[],t.readyList.forEach((function(n,i){var r=new FormData;r.append("module","DRAFT"),r.append("fileLevel",t.itemlist[n]);var o=[];t.moveFile.length>0&&t.moveFile.forEach((function(e){e.id&&o.push(e.id)})),o.length>0&&t.$app.deleteByIds("/mail/attach/deleted",o),n.id||t.$route.query.srcBusiDataId?("success"!==t.readyList[0].status||t.$route.query.busiCode?"ready"!==t.readyList[0].status||t.$route.query.busiCode?(console.log("789"),a="/mail/attach/forwardUpload",t.uploadDdta=n,t.uploadDdta.busiDataId=t.mailInfo.id):(console.log("456"),r.append("busiDataId",t.mailInfo.mailMessageId),r.append("attachsType","ATTACH"),r.append("attachsSize",n.size),r.append("attachsName",n.name),r.append("file",n.raw),r.append("usersetId",t.defultMail.id),a="/mail/attach/upload",t.uploadDdta=r):(console.log("123"),a="/mail/attach/tranUpload",r.append("usersetId",t.defultMail.id),r.append("id",n.id),r.append("busiDataId",t.mailInfo.mailMessageId),null===t.mailInfo.sentdate&&(r.append("isDraft",1),t.mailInfo.attachments.push(n)),t.uploadDdta=r),t.$http({method:"POST",url:a,data:t.uploadDdta}).then((function(a){if("success"!==a.code)return t.$message.error(a.message),!1;var n;a.body.uploadAttach&&a.body.uploadAttach.length>0&&(n=t.mailInfo.attachments).push.apply(n,Rn(a.body.uploadAttach)),"send"===e&&i===t.readyList.length-1?t.readyList.length&&"send"===e&&t.sendMail():(t.loading=!1,i===t.readyList.length-1&&t.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))}))):(r.append("busiDataId",t.mailInfo.mailMessageId),r.append("attachsType","ATTACH"),r.append("attachsSize",n.size),r.append("attachsName",n.name),r.append("file",n.raw),r.append("usersetId",t.defultMail.id),a="/mail/attach/upload",t.uploadDdta=r,t.$http({method:"POST",url:a,data:t.uploadDdta}).then((function(a){if("success"!==a.code)return t.loading=!1,t.$message.error(a.message),!1;t.mailInfo.attachments.push(a.body.uploadAttachList[0]),"send"===e&&i===t.readyList.length-1?t.readyList.length&&"send"===e&&t.sendMail():(t.loading=!1,i===t.readyList.length-1&&t.$message.success(t.$tx("email.messages.SaveDraftsu","保存草稿成功")))})))})))},sendMail:function(){var e=this;if(e.mailInfo.usersetId=e.defultMail.id,!(e.sendList.length>0))return e.$message.error(e.$tx("email.messages.addresseeEnter","请输入收件人!")),!1;e.mailInfo.sendTo=this.sendList.toString(),e.mailInfo.copyTo=this.copyToList.toString(),e.mailInfo.blindCopyTo=this.blindCopyToList.toString(),this.formValidate((function(){e.loading=!0;var t=e.moduleInfo.sendMailUrl,a={userSetupId:e.defultMail.id};e.$http({method:"POST",contentType:"application/x-www-form-urlencoded",params:a,data:e.mailInfo,url:t}).then((function(t){e.loading=!1,"success"===t.code?e.$route.query.srcBusiDataId?(e.$alert(t.message,e.$tx("common.operationTip","操作提示"),{type:"success"}),window.setTimeout((function(){window.close()}),1500)):(e.$message.success(t.message),e.mailInfo.sended=!0,e.readyList=[]):t.message.indexOf("Authentication failed")>0?this.$alert(this.$tx("email.messages.emailTip4","请前往邮箱中心检验邮箱用户密码或授权码是否正确"),this.$tx("common.operationTip","操作提示"),{type:"warning"}):e.$message.error(t.message)})).catch((function(t){e.$message.error(t),e.loading=!1}))}))},selectEmailFuc:function(e){var t=this,a=1===e?t.sendListInput:2===e?t.copyToInput:t.blindCopyToInput;if(""===a.trim())return t.closeLink=!1,!1;var n="";clearTimeout(n),n=setTimeout((function(){t.$bus.emit("quickSearchPerson",a)}),500)},saveMailSetup:function(e){var t=this;e.isDefault=1,t.$http({method:"put",contentType:"application/x-www-form-urlencoded",data:e,url:"mail/userSetup/update"}).then((function(a){"success"===a.code&&(t.defultMail=e)}))},clickLink:function(e){var t=null;if((1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(a,n){a===e&&(t=1)})),1===t)return this.$message.warning(this.$tx("email.messages.emailTip1","已存在该收件人!")),!1;1===this.focusInput?(this.sendList.push(e),this.sendListInput=""):2===this.focusInput?(this.copyToList.push(e),this.copyToInput=""):(this.blindCopyToList.push(e),this.blindCopyToInput=""),this.closeLink=!1},keyUpFuc:function(){var e=this,t=null;if(!1===this.closeLink&&""!==(1===this.focusInput?this.sendListInput:2===this.focusInput?this.copyToInput:this.blindCopyToInput).trim()){var a=null;if(null===this.defultMail.emailReceiveType&&(t="@"+this.defultMail.emailAddr.split("@")[1],!this.defultMail.internetEmailAddr&&-1===(1===this.focusInput?this.sendListInput:2===this.focusInput?this.copyToInput:this.blindCopyToInput).indexOf(t)))return this.$alert(this.$tx("email.messages.BindExterEmail","请先前往邮箱中心绑定外部邮箱"),this.$tx("common.operationTip","操作提示"),{type:"warning"}),!1;if((1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(t,n){t===(1===e.focusInput?e.sendListInput:2===e.focusInput?e.copyToInput:e.blindCopyToInput)&&(a=1)})),1===a)return 1===this.focusInput&&this.$message.warning(this.$tx("email.messages.emailTip1","已存在该收件人!")),2===this.focusInput&&this.$message.warning(this.$tx("email.messages.emailTip2","已存在该抄送人!")),3===this.focusInput&&this.$message.warning(this.$tx("email.messages.emailTip3","已存在该密送人!")),!1;1===this.focusInput?(this.sendList.push(this.sendListInput),this.isEmail(this.sendListInput),this.sendListInput=""):2===this.focusInput?(this.copyToList.push(this.copyToInput),this.isEmail(this.copyToInput),this.copyToInput=""):(this.blindCopyToList.push(this.blindCopyToInput),this.isEmail(this.blindCopyToInput),this.blindCopyToInput="")}},removeMail:function(e,t,a){1===a?this.sendList.splice(t,1):2===a?this.copyToList.splice(t,1):this.blindCopyToList.splice(t,1),this.filterTree(e)},isEmail:function(e){var t=this;(1===this.focusInput?this.sendList:2===this.focusInput?this.copyToList:this.blindCopyToList).forEach((function(a,n){var i=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;a===e&&(i.test(e)||((1===t.focusInput?t.sendList:2===t.focusInput?t.copyToList:t.blindCopyToList).splice(n,1),t.$message.error(t.$tx("email.messages.emailNot","邮件格式不正确!"))))}))},focusInputFuc:function(e){this.focusInput=e},unique:function(e){for(var t=[],a={},n=0;n<e.length;n++)a[e[n].name]||(a[e[n].name]=1,t.push(e[n]));return t},getDefultMail:function(){var e=this,t=sessionStorage.getItem("currentMail");if(null===t||""===t||void 0===t){var a=this;this.$http({method:"GET",contentType:"application/json",url:"mail/userSetup/queryMyMailSetup"}).then((function(t){"success"===t.code?(a.accountList=t.body.listdata,a.accountList&&a.accountList.length>0&&(a.defultMail=a.accountList[0])):a.$message.error(t.message),e.loading=!1}),(function(e){a.$message.error(e)}))}else this.defultMail=JSON.parse(t)},imgUrl:function(e){var t=e.name.substring(e.name.lastIndexOf(".")),a=[["image",".gif",".bmp",".jpg",".tga",".png",".jpeg",".svg"],["doc",".ppt",".pptx",".xls",".xlsx",".doc",".docx",".pdf",".pdfx",".txt"],["zip",".zip",".rar",".7z",".z"],["video",".wmv",".asf",".asx",".rm",".rmvb",".mp4",".3gp",".mov",".m4v",".avij",".mk",".f1v",".vob"],["audio",".wav",".midi",".cda",".mp3",".mp3pro",".wma",".sacd"]],n=null,i=null;for(var r in a)for(var o in a[r])if(a[r][o]===t){n=r,i=o;break}if(!n)return"images/w-imgs/email/other.png";if("doc"===a[n][0]){if(".doc"===a[n][i]||".docx"===a[n][i])return"images/w-imgs/email/word.png";if(".ppt"===a[n][i]||".pptx"===a[n][i])return"images/w-imgs/email/ppt.png";if(".xls"===a[n][i]||".xlsx"===a[n][i])return"images/w-imgs/email/excel.png";if(".pdf"===a[n][i])return"images/w-imgs/email/pdf.png";if(".txt"===a[n][i])return"images/w-imgs/email/txt.png"}else{if("audio"===a[n][0])return"images/w-imgs/email/audio.png";if("video"===a[n][0])return"images/w-imgs/email/video.png";if("zip"===a[n][0])return"images/w-imgs/email/zip.png";if("image"===a[n][0])return"images/w-imgs/email/picture.png"}},handleOpenEditor:function(e){this.$bus.emit("btnEditAttachClick",e)}}},ai=ti,ni=(n(2457),te(ai,jn,Cn,!1,null,"c807af5e",null)),ii=ni.exports;function ri(e){return ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ri(e)}function oi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function si(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(a),!0).forEach((function(t){li(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oi(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function li(e,t,a){return(t=di(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function di(e){var t=ci(e,"string");return"symbol"==ri(t)?t:t+""}function ci(e,t){if("object"!=ri(e)||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var n=a.call(e,t||"default");if("object"!=ri(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var ui={EmailIndex:fe,EmailAccessoryList:Se,EmailAddress:Ne,EmailEcincMailHelp:We,EmailEmailWatch:ot,EmailList:jt,EmailXieyoujian:la,EmailYouxiangshezhi:xa,EmailportlelEmail:Fa,EmailBackupEmailDetail:tn,EmailFolder:gn,EmailLeftMenu:ne,EmailTbColumns:xn,EmailTbColumnsWatch:Dn,EmailTxl:Wt,EmailSendMail:ii},mi=function e(t){e.installed||(e.installed=!0,Object.keys(ui).forEach((function(e){t.component(e,ui[e])})))};"undefined"!==typeof window&&window.Vue&&mi(window.Vue);var pi=n(5658),hi=si(si({install:mi},ui),{},{$messages:pi}),fi=hi}(),i}()}));
|