cus-recording.263bd153.js 20 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cus-recording"],{5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,a){var n=a("1d80"),s=a("5899"),r="["+s+"]",o=RegExp("^"+r+r+"*"),l=RegExp(r+r+"*$"),c=function(e){return function(t){var a=String(n(t));return 1&e&&(a=a.replace(o,"")),2&e&&(a=a.replace(l,"")),a}};e.exports={start:c(1),end:c(2),trim:c(3)}},6766:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"custom_Recording"}},[a("div",{staticClass:"crm-title-box"},[a("div",{staticClass:"tit"},[a("span",{directives:[{name:"t",rawName:"v-t",value:"Home.page_customer.item7",expression:"'Home.page_customer.item7'"}]})])]),a("div",{staticClass:"main-content"},[a("div",{staticClass:"search crm_search"},[a("div",{staticClass:"search-btn"},[a("el-form",{ref:"form",attrs:{"label-position":"top",model:e.search,"label-width":"80px"}},[a("el-form-item",{staticStyle:{"margin-right":"10px"}},[a("el-select",{staticClass:"crm_search_down_tit select_down",attrs:{filterable:"",size:"small",placeholder:e.$t("placeholder.choose")},model:{value:e.search.type,callback:function(t){e.$set(e.search,"type",t)},expression:"search.type"}},[a("el-option",{attrs:{label:e.$t("Custom.Recording.NewAccount"),value:1}}),a("el-option",{attrs:{label:e.$t("Custom.Recording.LeverageApply"),value:2}}),a("el-option",{attrs:{label:e.$t("Custom.Recording.InternalTransfer"),value:3}}),a("el-option",{attrs:{label:e.$t("Custom.Recording.ActivitiesApply"),value:4}}),a("el-option",{attrs:{label:e.$t("Home.page_customer.item8"),value:5}})],1)],1),a("el-form-item",[a("el-date-picker",{staticClass:"crm_date_pick crm-border-radius-no",attrs:{type:"daterange",align:"right","unlink-panels":"","value-format":"yyyy-MM-dd","range-separator":"-",size:"small","start-placeholder":e.$t("placeholder.Start"),"end-placeholder":e.$t("placeholder.End")},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}}),a("el-button",{staticClass:"crm-border-radius-no crm-border-left-no",attrs:{size:"small",icon:"el-icon-search"},on:{click:e.handleSearch}})],1)],1)],1)]),1==e.search.type?a("div",{staticClass:"tab"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("el-table-column",{attrs:{align:"center","header-align":"center",label:e.$t("Custom.Recording.Platform")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.platform||"--"))]}}],null,!1,2799070434)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.AccountType")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.ClassicAccount",expression:"'AccountType.ClassicAccount'"}]}):e._e(),2==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SeniorAccount",expression:"'AccountType.SeniorAccount'"}]}):e._e(),3==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.AgencyAccount",expression:"'AccountType.AgencyAccount'"}]}):e._e(),5==t.row.type?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SpeedAccount",expression:"'AccountType.SpeedAccount'"}]}):e._e()]}}],null,!1,3431283441)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.CurrencyType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.currency||"--"))])]}}],null,!1,2772594689)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.Lever")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.leverage?a("span",[e._v("1:")]):e._e(),e._v(e._s(t.row.leverage||"--")+" ")]}}],null,!1,4215800317)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.ApplicationDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Status")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state"}):e._e(),2==t.row.status&&2==t.row.accountStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Completed",expression:"'State.Completed'"}],staticClass:"state"}):e._e(),2!=t.row.status||1!=t.row.accountStatus&&t.row.accountStatus?e._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state"}),3==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state"}):e._e()]}}],null,!1,2930527840)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):a("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}],null,!1,2720758573)})],1)],1):e._e(),2==e.search.type?a("div",{staticClass:"tab"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("el-table-column",{attrs:{align:"center","header-align":"center",label:e.$t("Custom.Recording.TradingAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.login||"--"))]}}],null,!1,978293022)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.OldLever")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.oldLeverage?a("span",[e._v("1:")]):e._e(),e._v(e._s(t.row.oldLeverage||"--")+" ")]}}],null,!1,160636893)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.NewLever")},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.newLeverage?a("span",[e._v("1:")]):e._e(),e._v(e._s(t.row.newLeverage||"--")+" ")]}}],null,!1,2358600669)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.ApplicationDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Status")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state"}):e._e(),2==t.row.status&&2==t.row.leverageStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Completed",expression:"'State.Completed'"}],staticClass:"state"}):e._e(),2==t.row.status&&1==t.row.leverageStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state"}):e._e(),3==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state"}):e._e()]}}],null,!1,1549178261)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):a("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}],null,!1,2720758573)})],1)],1):e._e(),3==e.search.type?a("div",{staticClass:"tab"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("el-table-column",{attrs:{align:"center","header-align":"center",label:e.$t("Custom.Recording.TransferAccounts")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.withdrawLogin||"--"))]}}],null,!1,2036140092)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.IntoAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.depositLogin||"--")+" ")]}}],null,!1,4155511278)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.CurrencyType")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.withdrawCurrency||"--"))])]}}],null,!1,362527587)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Amount")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v("-"+e._s(e._f("NumberFormat")(t.row.withdrawAmount||"--")))])]}}],null,!1,413438455)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.ApplicationDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Status")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state"}):e._e(),2==t.row.status&&2==t.row.withdrawStatus&&2==t.row.depositStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Completed",expression:"'State.Completed'"}],staticClass:"state"}):e._e(),2!=t.row.status||1!=t.row.withdrawStatus&&1!=t.row.depositStatus?e._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state"}),3==t.row.status||3==t.row.withdrawStatus||3==t.row.depositStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state"}):e._e()]}}],null,!1,3233706181)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):a("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}],null,!1,2720758573)})],1)],1):e._e(),4==e.search.type?a("div",{staticClass:"tab"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("el-table-column",{attrs:{align:"center","header-align":"center",label:e.$t("Custom.Recording.TradingAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.login||"--"))]}}],null,!1,978293022)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.AccountType")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.loginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.ClassicAccount",expression:"'AccountType.ClassicAccount'"}]}):e._e(),2==t.row.loginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SeniorAccount",expression:"'AccountType.SeniorAccount'"}]}):e._e(),3==t.row.loginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.AgencyAccount",expression:"'AccountType.AgencyAccount'"}]}):e._e(),5==t.row.loginType?a("span",{directives:[{name:"t",rawName:"v-t",value:"AccountType.SpeedAccount",expression:"'AccountType.SpeedAccount'"}]}):e._e()]}}],null,!1,3706159857)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.ActivityName")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.title||"--"))])]}}],null,!1,1424402662)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.ApplicationDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Status")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state"}):e._e(),2==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Completed",expression:"'State.Completed'"}],staticClass:"state"}):e._e(),3==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state"}):e._e()]}}],null,!1,2869853882)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):a("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}],null,!1,2720758573)})],1)],1):e._e(),5==e.search.type?a("div",{staticClass:"tab"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.pictLoading,expression:"pictLoading"}],staticClass:"crm_tab",staticStyle:{width:"100%"},attrs:{data:e.tableData,stripe:"","element-loading-background":"rgba(43, 48, 67, 0.05)","element-loading-spinner":"el-icon-loading"}},[a("el-table-column",{attrs:{align:"center",label:e.$t("Label.SerialNumber")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(t.row.serial||"--"))])]}}],null,!1,2067698342)}),a("el-table-column",{attrs:{align:"center","header-align":"center",label:e.$t("Custom.Recording.TransferAccounts")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(e._s(t.row.withdrawLogin||"--"))]}}],null,!1,2036140092)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.IntoAccount")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.depositLogin||"--")+" ")]}}],null,!1,4155511278)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Amount")},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",[e._v(e._s(e._f("NumberFormat")(t.row.amount||"--")))])]}}],null,!1,2951630291)}),a("el-table-column",{attrs:{align:"center",width:e.lang?"110":"",label:e.$t("Custom.Recording.ApplicationDate")},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v(" "+e._s(t.row.addTime||"--")+" ")]}}],null,!1,457315401)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Status")},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.status?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.ToBeProcessed",expression:"'State.ToBeProcessed'"}],staticClass:"state"}):e._e(),2==t.row.status&&2==t.row.withdrawStatus&&2==t.row.depositStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Completed",expression:"'State.Completed'"}],staticClass:"state"}):e._e(),2!=t.row.status||1!=t.row.withdrawStatus&&1!=t.row.depositStatus&&0!=t.row.withdrawStatus&&0!=t.row.depositStatus?e._e():a("span",{directives:[{name:"t",rawName:"v-t",value:"State.InTheProcessing",expression:"'State.InTheProcessing'"}],staticClass:"state"}),3==t.row.status||3==t.row.withdrawStatus||3==t.row.depositStatus?a("span",{directives:[{name:"t",rawName:"v-t",value:"State.Refused",expression:"'State.Refused'"}],staticClass:"state"}):e._e()]}}],null,!1,3543450327)}),a("el-table-column",{attrs:{align:"center",label:e.$t("Custom.Recording.Note")},scopedSlots:e._u([{key:"default",fn:function(t){return[e.reasons[t.row.approveDesc]?a("span",[e._v(e._s("cn"==e.Session.Get("lang")?e.reasons[t.row.approveDesc].content:e.reasons[t.row.approveDesc].enContent))]):a("span",[e._v(e._s(t.row.approveDesc||"--"))])]}}],null,!1,2720758573)})],1)],1):e._e(),e.pagerInfo.rowTotal?a("div",{staticClass:"crm_pagination"},[a("el-pagination",{staticClass:"page",attrs:{background:"",layout:"prev, pager, next","page-size":e.pagerInfo.row,total:e.pagerInfo.rowTotal},on:{"current-change":e.handleCurrentChange}})],1):e._e()])])},s=[],r=(a("a9e3"),a("ac1f"),a("841c"),a("5530")),o=(a("96cf"),a("1da1")),l=a("6df7"),c=a("f121"),i=a.n(c),u=i.a.Code,d={name:"Recording",data:function(){return{flag:!1,reasons:{},pictLoading:!1,tableData:[],search:{type:1,date:[],startDate:"",endDate:""},pagerInfo:{row:10,current:1,pageTotal:0,rowTotal:0}}},computed:{lang:function(){return"en"==this.Session.Get("lang")&&document.body.clientWidth<1300}},methods:{handleSearch:function(){this.pagerInfo.current=1,this.searchFunc()},searchFunc:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.flag){t.next=4;break}return t.abrupt("return");case 4:e.flag=!0;case 5:if(e.pictLoading=!0,null==e.search.date||0==e.search.date.length?(e.search.startDate="",e.search.endDate=""):(e.search.startDate=e.search.date[0],e.search.endDate=e.search.date[1]),5==e.search.type){t.next=13;break}return t.next=10,l["a"].CustomRecordAccount(Object(r["a"])(Object(r["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 10:a=t.sent,t.next=16;break;case 13:return t.next=15,l["a"].CustomRecordSynonymTransfer(Object(r["a"])(Object(r["a"])({},e.search),{},{page:{current:e.pagerInfo.current,row:e.pagerInfo.row}}));case 15:a=t.sent;case 16:a.code==u.StatusOK?(e.tableData=a.data,e.pagerInfo.rowTotal=a.page.rowTotal,e.pagerInfo.pageTotal=a.page.pageTotal,e.$pigeon.MessageOK(e.$i18n.t("Msg.SearchSuccess")),e.pictLoading=!1,e.flag=!1):(e.$pigeon.MessageError(a.msg),e.pictLoading=!1,e.flag=!1);case 17:case"end":return t.stop()}}),t)})))()},searchReasons:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,l["a"].reasonsRefusalList({type:null});case 2:a=t.sent,a.code==u.StatusOK?null==a.data?e.reasons={}:e.reasons=a.data:e.$pigeon.MessageError(a.msg);case 4:case"end":return t.stop()}}),t)})))()},handleSizeChange:function(e){this.pagerInfo.row=e,this.searchFunc()},handleCurrentChange:function(e){this.pagerInfo.current=e,this.searchFunc()}},mounted:function(){this.search.type=this.$route.query.type?Number(this.$route.query.type):1,this.searchFunc(),this.searchReasons()},watch:{"search.type":function(){this.searchFunc()}}},p=d,g=(a("82a2"),a("7493"),a("2877")),m=Object(g["a"])(p,n,s,!1,null,"26a06e5b",null);t["default"]=m.exports},7156:function(e,t,a){var n=a("861d"),s=a("d2bb");e.exports=function(e,t,a){var r,o;return s&&"function"==typeof(r=t.constructor)&&r!==a&&n(o=r.prototype)&&o!==a.prototype&&s(e,o),e}},7493:function(e,t,a){"use strict";var n=a("9d7f"),s=a.n(n);s.a},"82a2":function(e,t,a){"use strict";var n=a("98e1"),s=a.n(n);s.a},"98e1":function(e,t,a){},"9d7f":function(e,t,a){},a9e3:function(e,t,a){"use strict";var n=a("83ab"),s=a("da84"),r=a("94ca"),o=a("6eeb"),l=a("5135"),c=a("c6b6"),i=a("7156"),u=a("c04e"),d=a("d039"),p=a("7c73"),g=a("241c").f,m=a("06cf").f,f=a("9bf2").f,v=a("58a8").trim,w="Number",_=s[w],b=_.prototype,h=c(p(b))==w,S=function(e){var t,a,n,s,r,o,l,c,i=u(e,!1);if("string"==typeof i&&i.length>2)if(i=v(i),t=i.charCodeAt(0),43===t||45===t){if(a=i.charCodeAt(2),88===a||120===a)return NaN}else if(48===t){switch(i.charCodeAt(1)){case 66:case 98:n=2,s=49;break;case 79:case 111:n=8,s=55;break;default:return+i}for(r=i.slice(2),o=r.length,l=0;l<o;l++)if(c=r.charCodeAt(l),c<48||c>s)return NaN;return parseInt(r,n)}return+i};if(r(w,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var y,C=function(e){var t=arguments.length<1?0:e,a=this;return a instanceof C&&(h?d((function(){b.valueOf.call(a)})):c(a)!=w)?i(new _(S(t)),a,C):S(t)},A=n?g(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;A.length>T;T++)l(_,y=A[T])&&!l(C,y)&&f(C,y,m(_,y));C.prototype=b,b.constructor=C,o(s,w,C)}}}]);