1/*! For license information please see 3984_mailbox_info_v1.751737f6f36ae6e48e6e.js.LICENSE.txt */ 2"use strict";(self.webpackChunkblockman_pc=self.webpackChunkblockman_pc||[]).push([[3984],{93731:function(t,e,a){a.r(e),a.d(e,{default:function(){return m}});a(27495),a(25440);var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"bm-mailbox-info"},[e("header",[e("span",{staticClass:"cr",on:{click:function(e){return t.$router.push({path:"/mailbox"})}}},[e("div",{staticClass:"bm-back"}),t._v(" "),e("h2",[t._v(t._s(t.$t("mail.return")))])])]),t._v(" "),e("div",{staticClass:"bm-mailbox-main"},[e("div",{staticClass:"bm-mailbox-top"},[e("div",{staticClass:"bm-mail-title"},[t._v(t._s(t.mailbox_content.title))]),t._v(" "),e("div",{staticClass:"bm-mail-header"},[e("img",{staticClass:"bm-avatar",attrs:{src:"/static/images/header/bg_logo.png"}}),t._v(" "),e("div",{staticClass:"bm-mail-header-info"},[e("span",{staticClass:"bm-mail-sender"},[t._v(t._s(t.$config.sTitle))]),t._v(" "),e("div",{staticClass:"bm-mail-date"},[t._v(t._s(t.$util.dateFormat(t.mailbox_content.sendDate,"yyyy-MM-dd")))])])]),t._v(" "),e("div",{staticClass:"bm-mail-content"},[t.showMailContent?e("div",{domProps:{innerHTML:t._s(t.mailbox_content.content)}}):t._e()]),t._v(" "),e("div",{staticClass:"bm-mail-bottom-hint"},[t._v(t._s(t.$t("mail.dey_to_delete").replace("{day}",t.getDuration(t.residue_date))))]),t._v(" "),e("div",[e("null-data",{attrs:{show:!t.mailbox_content.title}},[e("p",[t._v(t._s(t.$t("global['No data']")))])])],1)]),t._v(" "),t.mailbox_content.type<2?e("div",{staticClass:"bm-mailbox-bottom"},[t.haveAttachment?e("div",[e("div",{staticClass:"fl bm-mail-accessory-title"},[t._v(t._s(t.$t("mail.enclosure")))]),t._v(" "),t.mailbox_content.attachment?e("section",{staticClass:"bm-maill-attachment-box"},t._l(t.mailbox_content.attachment,function(a,i){return e("div",{key:i,staticClass:"bm-maill-attachment-item clearfix"},[e("div",{staticClass:"bm-mail-attachment-img fl",attrs:{active:2==t.mailbox_content.status?"1":"0"}},[e("img",{attrs:{src:a.icon,alt:""}}),t._v(" "),2==t.mailbox_content.status?e("img",{staticClass:"attachment-received",attrs:{src:"/static/images/me/hook.png"}}):t._e()]),t._v(" "),a.qty>0?e("span",{staticClass:"bm-mail-qty noselect"},[t._v(t._s(a.qty))]):t._e()])}),0):t._e(),t._v(" "),1==t.mailbox_content.status?e("div",[e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){t.get_award(),t.$td("ç¹å»âæ¥æ¶éä»¶â","mail_receive")}}},[t._v(t._s(t.$t("mail.receive"))+"\n ")])],1):2==t.mailbox_content.status?e("div",[e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){t.$store.state.global_event.show_ask_dialog({title:t.$t("mail.deleted"),message:t.$t("mail.delete_mail"),class:"bm-delete-bg",rightBtn:t.$t("mail.deleted"),confirm:function(){t.$store.state.global_event.delete_readed_mail([t.mail_id],function(){t.$router.push({path:"/mailbox"})})}}),t.$td("ç¹å»âå é¤é®ä»¶â","mail_delete")}}},[t._v(t._s(t.$t("mail.deleted")))])],1):3==t.mailbox_content.status?e("div",[t._v(t._s(t.$t("mail.deleted")))]):t._e()]):t.mailbox_content.title.indexOf("Invitation")>=0?e("div",[e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){return t.$store.state.global_event.router_to("/game-details/g1031",{},!0)}}},[t._v("\n "+t._s(t.$t("mail.go_play")))]),t._v(" "),e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){t.$store.state.global_event.show_ask_dialog({title:t.$t("mail.deleted"),message:t.$t("mail.delete_mail"),class:"bm-delete-bg",rightBtn:t.$t("mail.deleted"),confirm:function(){t.$store.state.global_event.delete_readed_mail([t.mail_id],function(){t.$router.push({path:"/mailbox"})})}})}}},[t._v(t._s(t.$t("mail.deleted")))])],1):e("div",[e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){t.$store.state.global_event.show_ask_dialog({title:t.$t("mail.deleted"),message:t.$t("mail.delete_mail"),class:"bm-delete-bg",rightBtn:t.$t("mail.deleted"),confirm:function(){t.$store.state.global_event.delete_readed_mail([t.mail_id],function(){t.$router.push({path:"/mailbox"})})}}),t.$td("ç¹å»âå é¤é®ä»¶â","mail_delete")}}}
2,[t._v(t._s(t.$t("mail.deleted")))])],1)]):e("div",{staticClass:"bm-mailbox-bottom"},[e("el-button",{staticClass:"bm-btn bm-btn-active w210",attrs:{type:"text"},on:{click:function(e){t.$store.state.global_event.show_ask_dialog({title:t.$t("mail.deleted"),message:t.$t("mail.delete_mail"),class:"bm-delete-bg",rightBtn:t.$t("mail.deleted"),confirm:function(){t.$store.state.global_event.delete_readed_mail([t.mail_id],function(){t.$router.push({path:"/mailbox"})})}})}}},[t._v(t._s(t.$t("mail.deleted")))])],1)])]),t._v(" "),e("vipRevert",{attrs:{name:"revertDialogVisible",visible:t.revertDialogVisible,data:t.vipRevertObj},on:{close:t.close_event}})],1)};i._withStripped=!0;a(52675),a(89463),a(40875),a(79432),a(10287),a(26099),a(3362),a(23500);var n=a(90517);function o(){var t,e,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",n=a.toStringTag||"@@toStringTag";function l(a,i,n,o){var l=i&&i.prototype instanceof c?i:c,m=Object.create(l.prototype);return s(m,"_invoke",function(a,i,n){var o,s,l,c=0,m=n||[],_=!1,u={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(e,a){return o=e,s=0,l=t,u.n=a,r}};function v(a,i){for(s=a,l=i,e=0;!_&&c&&!n&&e<m.length;e++){var n,o=m[e],v=u.p,d=o[2];a>3?(n=d===i)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=t):o[0]<=v&&((n=a<2&&v<o[1])?(s=0,u.v=i,u.n=o[1]):v<d&&(n=a<3||o[0]>i||i>d)&&(o[4]=a,o[5]=i,u.n=d,s=0))}if(n||a>1)return r;throw _=!0,i}return function(n,m,d){if(c>1)throw TypeError("Generator is already running");for(_&&1===m&&v(m,d),s=m,l=d;(e=s<2?t:l)||!_;){o||(s?s<3?(s>1&&(u.n=-1),v(s,l)):u.n=l:u.v=l);try{if(c=2,o){if(s||(n="next"),e=o[n]){if(!(e=e.call(o,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,s<2&&(s=0)}else 1===s&&(e=o.return)&&e.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+n+"' method"),s=1);o=t}else if((e=(_=u.n<0)?l:a.call(i,u))!==r)break}catch(e){o=t,s=1,l=e}finally{c=1}}return{value:e,done:_}}}(a,n,o),!0),m}var r={};function c(){}function m(){}function _(){}e=Object.getPrototypeOf;var u=[][i]?e(e([][i]())):(s(e={},i,function(){return this}),e),v=_.prototype=c.prototype=Object.create(u);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,s(t,n,"GeneratorFunction")),t.prototype=Object.create(v),t}return m.prototype=_,s(v,"constructor",_),s(_,"constructor",m),m.displayName="GeneratorFunction",s(_,n,"GeneratorFunction"),s(v),s(v,n,"Generator"),s(v,i,function(){return this}),s(v,"toString",function(){return"[object Generator]"}),(o=function(){return{w:l,m:d}})()}function s(t,e,a,i){var n=Object.defineProperty;try{n({},"",{})}catch(t){n=0}s=function(t,e,a,i){function o(e,a){s(t,e,function(t){return this._invoke(e,a,t)})}e?n?n(t,e,{value:a,enumerable:!i,configurable:!i,writable:!i}):t[e]=a:(o("next",0),o("throw",1),o("return",2))},s(t,e,a,i)}function l(t,e,a,i,n,o,s){try{var l=t[o](s),r=l.value}catch(t){return void a(t)}l.done?e(r):Promise.resolve(r).then(i,n)}function r(t){return function(){var e=this,a=arguments;return new Promise(function(i,n){var o=t.apply(e,a);function s(t){l(o,i,n,s,r,"next",t)}function r(t){l(o,i,n,s,r,"throw",t)}s(void 0)})}}var c={name:"MailboxInfo",data:function(){return{mail_id:this.$route.params.id,mailbox_search_result:null,mailbox_content:{},attachment_show:!1,residue_date:"",revertDialogVisible:!1,vipRevertObj:{}}},components:{vipRevert:a(95404).A},computed:{mailbox_list:function(){return this.$store.state.mailbox_list},showMailContent:function(){return this.mailbox_content.content&&"null"!==this.mailbox_content.content},haveAttachment:function(){return this.mailbox_content.attachment&&0!=this.mailbox_content.attachment.length},close_event:function(t,e,a){this[t]=e}},created:function(){var t=this;return r(o().m(function e(){return o().w(function(e){for(;;)switch(e.n){case 0:if(0!==t.mailbox_list.length){e.n=1;break}return e.n=1,t.$store.state.global_event.get_user_mailbox_list(function(){});case 1:if(t.mailbox_search_result=t.mailbox_list._indexOf(t.$route.params.id,"id"),t.mailbox_content=t.mailbox_list[t.mailbox_search_result]||{},t.residue_date=t.mailbox_content.sendDate+1296e6-(new Date).getTime(),t.$messager.closeAll(),1!==t.mailbox_content.status||t.haveAttachment){e.n=2;break}return e.n=2,(0,n._s)({status:2,ids:[t.mail_id]});case 2:return e.a(2)}},e)}))()},methods:{getDuration:function(t){var e=t/1e3/60/60/24;return Math.floor(e)+1},get_award:function(){var t=this;return r(o().m(function e(){var a,i;return o().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,(0,n.Rn)({mailId:t.mail_id});case 1:1==(a=e.v).data.code?(t.$messager.success(t.$t("mail.get_the_success")),t.$store.state.global_event.get_user_mailbox_list(function(){t.mailbox_content=t.mailbox_list[t.mailbox_search_result]}),a.data.data.length>0&&(i=[],a.data.data.forEach(function(t){t.vipTransformInfo&&i.push(t.vipTransformInfo)}),t.vipRevertObj=_vue.$util.vipRevertSum(i),t.revertDialogVisible=Object.keys(t.vipRevertObj).length>0)):t.$messager.error(a.data.message);case 2:return e.a(2)}},e)}))()}},beforeRouteLeave:function(t,e,a){this.$messager.closeAll(),a()}},m=(0,a(14486).A)(c,i,[],!1,null,"7a199cfb",null).exports},95404:function(t,e,a){a.d(e,{A:function(){return o}});a(62010);var i=function(){var t=this,e=t._self._c;return e("bm-dialog",{staticClass:"bm-revert-dialog",attrs:{name:t.name,dialog_show:t.visible},on:{"update:dialog_show":function(e){t.visible=e},close:t.close_event}},[e("p",[t._v("ä½ å·²ç»æ¯"+t._s(t.currentVip))]),t._v(" "),e("p",[t._v("è·å¾äºä¸åç级çVIPï¼å°ææVIPç»ä¸è½¬å为å½åæé«ç级ã")]),t._v(" "),t._l(t.data,function(a,i){return e("div",{key:i,staticClass:"vip-revert-box"},[e("div",{staticClass:"vip-box"},[e("div",{staticClass:"vip-img-box",class:"is-vip"+i}),t._v(" "),e("label",[t._v(t._s(t.$config.vip_code_type[i])+"("+t._s(a.days)+"天)")])]),t._v(" "),e("div",{staticClass:"arrow-image"},[e("img",{attrs:{src:"".concat(t.$config.cdn_src,"static/images/mail/arrow_red.png")}})]),t._v(" "),e("div",{staticClass:"vip-box"},[e("div",{staticClass:"vip-img-box",class:"is-vip"+a.vipNow}),t._v(" "),e("label",[t._v(t._s(t.$config.vip_code_type[a.vipNow])+"("+t._s(a.addDays)+"天)")])])])})],2)};i._withStripped=!0;var n={name:"VipRevert",data:function(){return{}},props:["visible","name","data"],computed:{currentVip:function(){var t=0;for(var e in this.data)t=this.data[e].vipNow;return this.$config.vip_code_type[t]}},methods:{close_event:function(t,e,a){this.$emit("close",t,e,a)}}},o=(0,a(14486).A)(n,i,[],!1,null,null,null).exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.