@xysfe/actui 1.5.86 → 1.5.87

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.
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/PhotoBox/index.js"),require("@xysfe/actui/es/assets/img/tip.png"),require("@xysfe/actui/es/assets/img/upload.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/svgicon.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/GoldElement/index.js","@xysfe/actui/es/PhotoBox/index.js","@xysfe/actui/es/assets/img/tip.png","@xysfe/actui/es/assets/img/upload.png"],t):"object"==typeof exports?exports.GoldAml=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/PhotoBox/index.js"),require("@xysfe/actui/es/assets/img/tip.png"),require("@xysfe/actui/es/assets/img/upload.png")):e.GoldAml=t(e["@xysfe/actui/es/assets/utils/create/index.js"],e["@xysfe/actui/es/assets/mixins/visible.js"],e["@xysfe/actui/es/assets/utils/helpers.js"],e["@xysfe/actui/es/assets/svgicon.js"],e["@xysfe/actui/es/FileUpload/index.js"],e["@xysfe/actui/es/GoldElement/index.js"],e["@xysfe/actui/es/PhotoBox/index.js"],e["@xysfe/actui/es/assets/img/tip.png"],e["@xysfe/actui/es/assets/img/upload.png"])}("undefined"!=typeof self?self:this,function(e,t,i,n,r,o,a,s,c){return function(e){function t(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=1572)}({0:function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},1:function(e,t,i){var n=i(27)("wks"),r=i(24),o=i(0).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=n},10:function(e,t,i){var n=i(0),r=i(2),o=i(17),a=i(5),s=i(7),c=function(e,t,i){var u,f,l,d=e&c.F,p=e&c.G,v=e&c.S,y=e&c.P,h=e&c.B,m=e&c.W,b=p?r:r[t]||(r[t]={}),g=b.prototype,x=p?n:v?n[t]:(n[t]||{}).prototype;p&&(i=t);for(u in i)(f=!d&&x&&void 0!==x[u])&&s(b,u)||(l=f?x[u]:i[u],b[u]=p&&"function"!=typeof x[u]?i[u]:h&&f?o(l,n):m&&x[u]==l?function(e){var t=function(t,i,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):y&&"function"==typeof l?o(Function.call,l):l,y&&((b.virtual||(b.virtual={}))[u]=l,e&c.R&&g&&!g[u]&&a(g,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},106:function(e,t){e.exports=n},1072:function(e,t,i){"use strict";var n=i(651),r=i.n(n),o=i(1575),a=i.n(o),s=i(66),c=i.n(s),u=i(65),f=i.n(u),l=i(171),d=i.n(l),p=i(155),v=i.n(p),y=i(114),h=i.n(y),m=i(32),b=i.n(m),g=i(284),x=i.n(g),T=i(901),_=i.n(T),k=i(669),C=i.n(k),w=i(35),j=(i.n(w),i(106)),S=i.n(j),I={0:"身份证",1:"出生证",2:"护照",3:"港澳通行证",4:"台胞证",5:"军官证",6:"户口本",7:"大陆通行证",8:"回乡证",9:"警官证",10:"港澳台通行证",11:"士兵证",12:"台湾通行证",13:"港澳居住证",14:"社会统一信用代码",15:"组织机构代码证",16:"税务登记证",17:"工商营业执照号",18:"港澳台居住证",99:"其他"};t.a={name:"ActGoldAml",mixins:[b.a],components:{PhotoBox:_.a,svgIcon:S.a,ActGoldElement:C.a},props:{applicant:{type:Object,default:function(){return{}}},insureds:{type:Array,default:function(){return[]}},bank:{type:Object,default:function(){return{}}},antiMoneyCfg:{type:Object,default:function(){return{}}},ext:{type:Object,default:function(){return{}}},appId:{type:String,default:""},sourceType:{type:Array,default:function(){return["camera"]}},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},reason:{type:String,default:""},antiMoneyTitle:{type:String,default:""},platform:{type:[Number,String],default:0},relation:{type:Object,default:function(){return{}}},showOcrFailDialog:{type:Boolean,default:!1},idValidFailConfirmText:{type:String,default:"去修改"}},data:function(){return{elements:[],personText:"",applicantData:null,insuredsData:null,bankData:null,antiMoneyCfgData:null,bodyOverflowOrigin:null,cacheIdtype:{},beneIdType:{},guardianIdType:{},hasPersionMap:[],imagePreview:null,relationElement:{},relationData:{},presetRelationPics:[]}},created:function(){this.bodyOverflowOrigin=document.body.style.overflow,document.body.style.overflow="hidden",this._initPage()},computed:{extraZindex:function(){return 2+~~this.zIndex},applicantInfo:function(){return this.applicantData||this.applicant},insuredsInfo:function(){return this.insuredsData||this.insureds},bankInfo:function(){return this.bankData||this.bank},relationInfo:function(){return this.relation||this.relationData||{}},antiMoneyConfig:function(){return this.antiMoneyCfgData||this.antiMoneyCfg},canConfirm:function(){var e=!0;if(this.elements&&this.elements.length)for(var t=this.elements,i=Array.isArray(t),n=0,t=i?t:h()(t);;){var r;if(i){if(n>=t.length)break;r=t[n++]}else{if(n=t.next(),n.done)break;r=n.value}var o=r;if(!(o.site||o.picId&&o.picBase)){e=!1;break}}else e=!1;return this.presetRelationPics.length||1!=~~this.relationInfo.needRelation||(e=!1),e},computedBrandColor:function(){return this.brandColor||"#8c7fee"},idTypeValidShow:function(){return this.antiMoneyConfig.applicant&&Number(this.antiMoneyConfig.applicant.idTypeValidShow)},list:function(){return this.presetRelationPics.map(function(e){return e.picUrl})}},methods:{handleBankNo:function(e){var t=/(\d{4})/g;return e.replace(t,"$1 ")},reset:function(){this.elements&&this.elements.forEach(function(e){e.picBase="",e.picId=""})},setData:function(e){var t=e.applicant,i=e.insureds,n=e.bank,r=e.antiMoneyCfg,o=e.relation;e.relationPics;this.applicantData=t,this.insuredsData=i,this.bankData=n,this.antiMoneyCfgData=r,this.relationData=o,this._initPage()},_initPage:function(){var e=this;this.hasPersionMap=[];var t=this.applicantInfo,i=this.insuredsInfo,n=this._getBeneficiaries(this.insuredsInfo),r=this._getGuardians(this.insuredsInfo),o=this.bankInfo,a=this.antiMoneyConfig,s=a.insured&&a.insured.id_config||[],c=a.beneficiary&&a.beneficiary.id_config||[],u=a.guardian&&a.guardian.id_config||[],f=[],l=[],p=[],y=[],m=[];if(t.cname&&t.certificate&&t.certificate.id){var b=t.cname,g=t.certificate,x=g.id,T=g.idType,_=g.presetIdPics,k=void 0===_?{}:_,C=g.idValidStartTime,w=g.idValidEndTime,j=g.idValidType,S=t.mobileOwners,I=void 0===S?[]:S,P=k.side1;P=void 0===P?{}:P;var O=P.picUrl,N=void 0===O?"":O,V=P.picid,E=void 0===V?"":V,M=k.side2;M=void 0===M?{}:M;var B=M.picUrl,U=void 0===B?"":B,D=M.picid,A=void 0===D?"":D;this.hasPersionMap.push({name:b,id:x,idType:T});var R={key:"applicant",name:b,id:x,idType:T,picBase:N,picId:E,side:"1",isCheck:!0,picType:0,desc:"投保人"+b+"身份证(头像面)",applicableType:1,errCount:0,hasUpdate:!0},F={key:"applicant",name:b,id:x,idType:T,idValidStartTime:C,idValidEndTime:w,idValidType:j,picBase:U,picId:A,side:"2",isCheck:!0,picType:0,desc:"投保人"+b+"身份证(国徽面)",applicableType:1,errCount:0,hasUpdate:!0};if(f.push(R),f.push(F),I&&I.length&&I[0].cname&&I[0].certificate&&I[0].certificate.id){var L=I[0],G=L.cname,q=L.certificate,$=q.id,z=q.idType,W=q.presetIdPics,Z=void 0===W?{}:W,H=Z.side1;H=void 0===H?{}:H;var K=H.picUrl,Y=void 0===K?"":K,J=H.picid,X=void 0===J?"":J,Q=Z.side2;Q=void 0===Q?{}:Q;var ee=Q.picUrl,te=void 0===ee?"":ee,ie=Q.picid,ne=void 0===ie?"":ie,re={key:"applicant",name:G,id:$,idType:z,picBase:Y,picId:X,side:"1",isCheck:!0,picType:0,desc:"投保人手机号机主"+G+"身份证(头像面)",applicableType:1,errCount:0,hasUpdate:!0},oe={key:"applicant",name:G,id:$,idType:z,picBase:te,picId:ne,side:"2",isCheck:!0,picType:0,desc:"投保人手机号机主"+G+"身份证(国徽面)",applicableType:1,errCount:0,hasUpdate:!0};f.push(re),f.push(oe)}if(this.antiMoneyConfig.applicant&&1===Number(this.antiMoneyConfig.applicant.idTypeValidShow)){var ae=this._initDateElements("applicant",x,b,C,w,j);f.push.apply(f,ae)}}for(var se=f.length,ce=i,ue=Array.isArray(ce),fe=0,ce=ue?ce:h()(ce);;){var le;if(ue){if(fe>=ce.length)break;le=ce[fe++]}else{if(fe=ce.next(),fe.done)break;le=fe.value}var de=le;if(1!==Number(de.relationToApply)||!se){var pe=de.cname,ve=de.certificate,ye=void 0===ve?{}:ve,he=de.presetRelationPics,me=void 0===he?[]:he,be=de.mobileOwners,ge=void 0===be?[]:be,xe=ye.id,Te=ye.idType,_e=ye.presetIdPics,ke=void 0===_e?{}:_e,Ce=ye.idValidStartTime,we=ye.idValidEndTime,je=ye.idValidType;if(pe&&xe){this.hasPersionMap.push({name:pe,id:xe,idType:Te}),this.cacheIdtype[Number(Te)]=1;var Se=this._getElementsInfo(Te,pe,xe,s,ke,Ce,we,je);if(ge&&ge.length&&ge[0].cname&&ge[0].certificate&&ge[0].certificate.id){var Ie=ge[0],Pe=Ie.cname,Oe=Ie.certificate,Ne=Oe.id,Ve=Oe.idType,Ee=Oe.presetIdPics,Me=void 0===Ee?{}:Ee,Be=Me.side1;Be=void 0===Be?{}:Be;var Ue=Be.picUrl,De=void 0===Ue?"":Ue,Ae=Be.picid,Re=void 0===Ae?"":Ae,Fe=Me.side2;Fe=void 0===Fe?{}:Fe;var Le=Fe.picUrl,Ge=void 0===Le?"":Le,qe=Fe.picid,$e=void 0===qe?"":qe;Se.push({key:"insured",needRelation:!0,name:Pe,id:Ne,idType:Ve,picBase:De,picId:Re,side:"1",isCheck:!0,picType:0,applicableType:2,desc:"被保人手机号机主"+Pe+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"insured",needRelation:!0,name:Pe,id:Ne,idType:Ve,picBase:Ge,picId:$e,side:"2",isCheck:!0,picType:0,applicableType:2,desc:"被保人手机号机主"+Pe+"身份证(国徽面)",errCount:0,hasUpdate:!0})}if(1==~~this.relationInfo.needRelation&&(this.relationElement={key:"presetRelationPics",name:pe,id:xe,idType:19,side:"1",isCheck:!0,picType:19,applicableType:2,desc:"投被保人关系证明",errCount:0,hasUpdate:!0},this.presetRelationPics=me),!Se)return!1;l=l.concat(Se)}}}for(var ze=n,We=Array.isArray(ze),Ze=0,ze=We?ze:h()(ze);;){var He;if(We){if(Ze>=ze.length)break;He=ze[Ze++]}else{if(Ze=ze.next(),Ze.done)break;He=Ze.value}var Ke=He,Ye=function(t){var i=t.cname,n=t.certificate,r=void 0===n?{}:n,o=r.id,a=r.idType,s=r.presetIdPics,u=void 0===s?{}:s,f=r.idValidStartTime,l=r.idValidEndTime,d=r.idValidType;if(!(i&&o&&a))return"continue";if(e.hasPersionMap.find(function(e){return e.name===i&&e.id===o&&e.idType===a}))return"continue";e.hasPersionMap.push({name:i,id:o,idType:a}),e.beneIdType[Number(a)]=1;var v=e._genBeneElement({idType:a,name:i,id:o,idConfig:c,presetIdPics:u,idValidStartTime:f,idValidEndTime:l,idValidType:d});if(!v)return{v:!1};p=p.concat(v)}(Ke);switch(Ye){case"continue":continue;default:if("object"===(void 0===Ye?"undefined":d()(Ye)))return Ye.v}}for(var Je=r,Xe=Array.isArray(Je),Qe=0,Je=Xe?Je:h()(Je);;){var et;if(Xe){if(Qe>=Je.length)break;et=Je[Qe++]}else{if(Qe=Je.next(),Qe.done)break;et=Qe.value}var tt=et,it=function(t){var i=t.cname,n=t.certificate,r=void 0===n?{}:n,o=r.id,a=r.idType,s=r.presetIdPics,c=void 0===s?{}:s,f=r.idValidStartTime,l=r.idValidEndTime,d=r.idValidType;if(!(i&&o&&a))return"continue";if(e.hasPersionMap.find(function(e){return e.name===i&&e.id===o&&e.idType===a}))return"continue";e.hasPersionMap.push({name:i,id:o,idType:a}),e.guardianIdType[Number(a)]=1;var p=e._getGuardianElement({idType:a,name:i,id:o,idConfig:u,presetIdPics:c,idValidStartTime:f,idValidEndTime:l,idValidType:d});if(!p)return{v:!1};y=y.concat(p)}(tt);switch(it){case"continue":continue;default:if("object"===(void 0===it?"undefined":d()(it)))return it.v}}var nt=p.length,rt=y.length;if(o&&o.cname&&o.bankNo){var ot=o.cname,at=o.certificateId,st=o.needBankCard,ct=o.presetBankPics,ut=o.bankNo,ft=ct||{},lt=ft.side1;lt=void 0===lt?{}:lt;var dt=lt.picUrl,pt=void 0===dt?"":dt,vt=lt.picid,yt=void 0===vt?"":vt,ht=ft.side2;ht=void 0===ht?{}:ht;var mt=ht.picUrl,bt=void 0===mt?"":mt,gt=ht.picid,xt=void 0===gt?"":gt,Tt=2===Number(st)||4===Number(st),_t=3===Number(st)||4===Number(st),kt={bankInfo:o},Ct={key:"bank",name:ot,id:at,bankNo:ut,picBase:pt,picId:yt,side:"1",isCheck:Tt,picType:1,applicableType:1,desc:"投保人"+ot+"银行卡正面照片",extParams:kt,errCount:0,hasUpdate:!0};if(m.push(Ct),_t){var wt={name:ot,id:at,picBase:bt,picId:xt,side:"2",isCheck:Tt,picType:1,applicableType:1,desc:"投保人"+ot+"银行卡反面照片",extParams:kt,errCount:0,hasUpdate:!0};m.push(wt)}}var jt=l.length,St=[].concat(f,l,p,y,m);if(0===St.length)return this.showDialog({dialogType:1,dialogData:["反洗钱数据异常,可联系客服协助解决,客服电话:"+(1===Number(this.platform)?"400-646-9898":"400-919-7788")],confirmbtnText:"关闭"}),!1;this.elements=St,se&&jt?(this.personText="投、被保人身份证正反面照片",v()(this.cacheIdtype).map(function(t){"6"===t&&(e.personText+="、被保人户口本"),"1"===t&&(e.personText+="、被保人出生证")})):se?this.personText="投保人身份证正反面照片":jt&&v()(this.cacheIdtype).map(function(t){"0"===t&&(e.personText="被保人身份证正反面照片"),"6"===t&&(e.personText+="、被保人户口本"),"1"===t&&(e.personText+="、被保人出生证")}),nt&&v()(this.beneIdType).map(function(t){"0"===t&&(e.personText+="、受益人身份证正反面照片"),"6"===t&&(e.personText+="、受益人户口本"),"1"===t&&(e.personText+="、受益人出生证")}),rt&&v()(this.guardianIdType).map(function(t){"0"===t&&(e.personText+="、监护人身份证正反面照片")});var It=m.length;It&&(this.personText+=1===It?"、投保人银行卡正面照片":"、投保人银行卡正反面照片")},_getElementsInfo:function(e,t,i,n,r,o,a,s){var c=this,u=n.find(function(t){return 0!==Number(t.id_type)&&Number(t.id_type)===Number(e)})||null,f=this.antiMoneyConfig.insured&&1===Number(this.antiMoneyConfig.insured.idTypeValidShow);if(n.length&&0!==Number(e)&&(!u||0!==Number(u.id_type)&&0===Number(u.rule))){var l=I[e],d=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:"提示",content:"被保人:"+t+"购买本产品累计总保费已超过20万,暂不支持"+l+",请使用身份证进行投保",buttonType:"sticky",confirmButtonText:"确定",confirmButtonColor:this.brandColor,onConfirm:function(){c.hide(),d&&d.remove()}});return d.show(),!1}if(0===Number(e)){var p=r.side1;p=void 0===p?{}:p;var v=p.picUrl,y=void 0===v?"":v,h=p.picid,m=void 0===h?"":h,b=r.side2;b=void 0===b?{}:b;var g=b.picUrl,x=void 0===g?"":g,T=b.picid,_=void 0===T?"":T,k=[{key:"insured",needRelation:!0,name:t,id:i,idType:e,picBase:y,picId:m,side:"1",isCheck:!0,picType:0,applicableType:2,desc:"被保人"+t+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"insured",needRelation:!0,name:t,id:i,idType:e,idValidStartTime:o,idValidEndTime:a,idValidType:s,picBase:x,picId:_,side:"2",isCheck:!0,picType:0,applicableType:2,desc:"被保人"+t+"身份证(国徽面)",errCount:0,hasUpdate:!0}];if(f){var C=this._initDateElements("insured",i,t,o,a,s);k.push.apply(k,C)}return k}if(1===Number(e)){var w=n.length&&n.find(function(t){return Number(t.id_type)===Number(e)});return[{name:t,id:i,idType:e,picBase:"",picId:"",side:"1",isCheck:w&&2===Number(w.rule),picType:0,applicableType:2,desc:"被保人"+t+"出生证",errCount:0,hasUpdate:!0}]}if(6===Number(e)){var j=n.length&&n.find(function(t){return Number(t.id_type)===Number(e)}),S=r.side1;S=void 0===S?{}:S;var P=S.picUrl,O=void 0===P?"":P,N=S.picid,V=void 0===N?"":N,E=r.side2;E=void 0===E?{}:E;var M=E.picUrl,B=void 0===M?"":M,U=E.picid,D=void 0===U?"":U;return!j||3!==Number(j.rule)&&4!==Number(j.rule)?[{name:t,id:i,needRelation:!0,idType:e,picBase:O,picId:V,side:"1",isCheck:j&&2===Number(j.rule),picType:0,applicableType:2,desc:"被保人"+t+"户口本(被保人信息页)",errCount:0,hasUpdate:!0}]:[{name:t,id:i,needRelation:!0,idType:e,picBase:O,picId:V,side:"2",isCheck:j&&4===Number(j.rule),picType:0,applicableType:2,desc:"被保人"+t+"户口本(户主页)",errCount:0,hasUpdate:!0},{name:t,id:i,needRelation:!0,idType:e,picBase:B,picId:D,side:"1",isCheck:j&&4===Number(j.rule),picType:0,applicableType:2,desc:"被保人"+t+"户口本(被保人信息页)",errCount:0,hasUpdate:!0}]}return[]},_getBeneficiaries:function(e){var t=[];if(!e&&!e.length)return[];for(var i=e,n=Array.isArray(i),r=0,i=n?i:h()(i);;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;if(a.dutyBeneficiarys||"[object Object]"===Object.prototype.toString.call(a.dutyBeneficiarys)){var s=a.dutyBeneficiarys;for(var c in s)if(s[c].beneficiaries.length)for(var u=s[c].beneficiaries,f=u,l=Array.isArray(f),d=0,f=l?f:h()(f);;){var p;if(l){if(d>=f.length)break;p=f[d++]}else{if(d=f.next(),d.done)break;p=d.value}var v=p;!function(e){t.find(function(t){return t.cname===e.cname&&t.certificate.idType===e.certificate.idType&&t.certificate.id===e.certificate.id})||t.push(e)}(v)}}}return t},_genBeneElement:function(e){var t=this,i=e.idType,n=e.name,r=e.id,o=e.idConfig,a=e.presetIdPics,s=e.idValidStartTime,c=e.idValidEndTime,u=e.idValidType,f=o.find(function(e){return 0!==Number(e.id_type)&&Number(e.id_type)===Number(i)})||null,l=this.antiMoneyConfig.beneficiary&&1===Number(this.antiMoneyConfig.beneficiary.idTypeValidShow);if(o.length&&0!==Number(i)&&(!f||0!==Number(f.id_type)&&1===Number(f.rule))){var d=I[i],p=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:"提示",content:"受益人:"+n+"购买本产品累计总保费已超过20万,暂不支持"+d+",请使用身份证进行投保",buttonType:"sticky",confirmButtonText:"确定",confirmButtonColor:this.brandColor,onConfirm:function(){t.hide(),p&&p.remove()}});return p.show(),!1}if(0===Number(i)){var v=a.side1;v=void 0===v?{}:v;var y=v.picUrl,h=void 0===y?"":y,m=v.picid,b=void 0===m?"":m,g=a.side2;g=void 0===g?{}:g;var x=g.picUrl,T=void 0===x?"":x,_=g.picid,k=void 0===_?"":_,C=[{key:"beneficiary",name:n,id:r,idType:i,picBase:h,picId:b,side:"1",isCheck:!0,picType:0,applicableType:3,desc:"受益人"+n+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"beneficiary",name:n,id:r,idType:i,picBase:T,picId:k,side:"2",isCheck:!0,picType:0,applicableType:3,desc:"受益人"+n+"身份证(国徽面)",errCount:0,hasUpdate:!0}];if(l){var w=this._initDateElements("beneficiary",r,n,s,c,u);C.push.apply(C,w)}return C}if(1===Number(i)){var j=o.length&&o.find(function(e){return Number(e.id_type)===Number(i)});return[{name:n,id:r,idType:i,picBase:"",picId:"",side:"1",isCheck:j&&3===Number(j.rule),picType:0,applicableType:3,desc:"受益人"+n+"出生证",errCount:0,hasUpdate:!0}]}if(6===Number(i)){var S=o.length&&o.find(function(e){return Number(e.id_type)===Number(i)}),P=a.side1;P=void 0===P?{}:P;var O=P.picUrl,N=void 0===O?"":O,V=P.picid,E=void 0===V?"":V,M=a.side2;M=void 0===M?{}:M;var B=M.picUrl,U=void 0===B?"":B,D=M.picid,A=void 0===D?"":D;return!S||4!==Number(S.rule)&&5!==Number(S.rule)?[{name:n,id:r,idType:i,picBase:N,picId:E,side:"1",isCheck:S&&3===Number(S.rule),picType:0,applicableType:3,desc:"受益人"+n+"户口本(受益人信息页)",errCount:0,hasUpdate:!0}]:[{name:n,id:r,idType:i,picBase:N,picId:E,side:"2",isCheck:S&&5===Number(S.rule),picType:0,applicableType:3,desc:"受益人"+n+"户口本(户主页)",errCount:0,hasUpdate:!0},{name:n,id:r,idType:i,picBase:U,picId:A,side:"1",isCheck:S&&5===Number(S.rule),picType:0,applicableType:3,desc:"受益人"+n+"户口本(受益人信息页)",errCount:0,hasUpdate:!0}]}return[]},_getGuardians:function(e){var t=[];if(!e||!e.length)return[];for(var i=e,n=Array.isArray(i),r=0,i=n?i:h()(i);;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;if(a.guardians&&Object(w.isArray)(a.guardians))for(var s=a.guardians,c=s,u=Array.isArray(c),f=0,c=u?c:h()(c);;){var l;if(u){if(f>=c.length)break;l=c[f++]}else{if(f=c.next(),f.done)break;l=f.value}var d=l;!function(e){var i=e.cname,n=e.certificate,r=n.id,o=n.idType;t.find(function(e){return e.cname===i&&r===e.certificate.id&&o===e.certificate.idType})||t.push(e)}(d)}}return t},_getGuardianElement:function(e){var t=this,i=e.idType,n=e.name,r=e.id,o=e.idConfig,a=e.presetIdPics,s=e.idValidStartTime,c=e.idValidEndTime,u=e.idValidType,f=o.find(function(e){return 0!==Number(e.id_type)&&Number(e.id_type)===Number(i)})||null,l=this.antiMoneyConfig.guardian&&1===Number(this.antiMoneyConfig.guardian.idTypeValidShow);if(o.length&&0!==Number(i)&&(!f||0!==Number(f.id_type)&&1===Number(f.rule))){var d=I[i],p=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:"提示",content:"监护人:"+n+"购买本产品累计总保费已超过20万,暂不支持"+d+",请使用身份证进行投保",buttonType:"sticky",confirmButtonText:"确定",confirmButtonColor:this.brandColor,onConfirm:function(){t.hide(),p&&p.remove()}});return p.show(),!1}if(0===Number(i)){var v=a.side1;v=void 0===v?{}:v;var y=v.picUrl,h=void 0===y?"":y,m=v.picid,b=void 0===m?"":m,g=a.side2;g=void 0===g?{}:g;var x=g.picUrl,T=void 0===x?"":x,_=g.picid,k=void 0===_?"":_,C=[{key:"guarndian",name:n,id:r,idType:i,picBase:h,picId:b,side:"1",isCheck:!0,picType:0,applicableType:3,desc:"监护人"+n+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"guarndian",name:n,id:r,idType:i,picBase:T,picId:k,side:"2",isCheck:!0,picType:0,applicableType:3,desc:"监护人"+n+"身份证(国徽面)",errCount:0,hasUpdate:!0}];if(l){var w=this._initDateElements("guardian",r,n,s,c,u);C.push.apply(C,w)}return C}return[]},_chooseFile:function(e){var t=this;if(~~e.errCount>3)return this.showDialog({dialogType:1,dialogData:["您已多次识别失败,可联系客服协助解决,客服电话:"+(1===Number(this.platform)?"400-646-9898":"400-919-7788")],confirmbtnText:"关闭"}),!1;var i=this.appId||"",n=e.id,r=e.name,o=e.side,a=e.picType,s=e.extParams,u=void 0===s?{}:s,l=e.idType,d=void 0===l?"":l,p=e.applicableType,v=this.ext,y={picType:a,idtype:d,identity:n,name:r,applicableType:p,side:o};0==~~e.idType&&2==~~e.side&&["insured","applicant"].includes(e.key)&&(y.idValidStartTime=e.idValidStartTime||"",y.idValidEndTime=e.idValidEndTime||"",y.idValidType=e.idValidType||-1);var h=f()(y,u,v);x.a.ocr({sourceType:this.sourceType,appId:i,url:"/file/checkAntiMoneyPic",ext:h,beforeUpload:function(){t.showToast("上传中,请稍等...",0)},complete:function(){t.hideToast()}}).then(function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=i.ret,o=i.data,a=i.errmsg;if(0===Number(n)){var s=o||{},u=s.dataBase,f=s.localId,l=s.picId,p=s.url,v=s.ocrResult;if(e.key&&t.antiMoneyConfig[e.key]&&1===Number(t.antiMoneyConfig[e.key].idTypeValidShow)&&2==~~e.side){var y=v||{},h=y.idValidStartTime,m=void 0===h?"":h,b=y.idValidEndTime,g=void 0===b?"":b,x=y.idValidType,T=void 0===x?1:x,_=t.elements.find(function(t){return t.key===e.key+".idValidStartTime"}),k=t.elements.find(function(t){return t.key===e.key+".idValidEndTime"}),C=t.elements.find(function(t){return t.key===e.key+".idValidType"});_.defaultValue=m,k.defaultValue=g,C.defaultValue=T,k.display=~~T}if("presetRelationPics"===e.key)return void t.presetRelationPics.push({picUrl:p||u||f,picid:l});e.picBase=p||u||f,e.picId=l}else{if(!(t.showOcrFailDialog&&o&&o.detail_err&&o.detail_err.codes))return c.a.reject({errmsg:a});t.toOcrFail({code:o.detail_err.codes,idType:d,name:r})}}).catch(function(i){t.hideToast(),e.errCount+=1;var n=Object(w.getErrmsg)(i),r=i&&Object(w.isObject)(i)&&i.isWxInterfaceFail;t.showDialog({dialogType:1,dialogData:r?["系统异常,操作失败,请重试"]:[n],confirmbtnText:r?"我知道了":"重新上传",onConfirm:function(){r&&location.reload()}})})},toOcrFail:function(e){var t=this,i=e.code,n=e.idType,r=e.name,o=[],a="",s="重新上传";"ocr_fail"===i?(a=""+r+I[n]+"识别失败,请重新上传",o=['<p style="text-align:center;">'+I[n]+"识别失败,请重新上传</p>","请按要求上传证件,并确保上传的证件边框完整、字迹清晰、亮度均匀。","若确认照片无误,您也可以选择咨询客服"]):["name_neq","id_neq"].includes(i)?(a=""+r+I[n]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。",o=[I[n]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。","若确认照片无误,您也可以选择咨询客服。"]):["id_valid_start_neq","id_valid_end_neq"].includes(i)&&(s=this.idValidFailConfirmText,a=""+r+I[n]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。",o=[I[n]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。"]),this.showDialog({dialogType:2,dialogData:o,confirmbtnText:s,cancelbtnText:"咨询客服",onCancel:function(){window.XYSConsultV3&&window.XYSConsultV3.genConsultUrl({scene:"ocr",businessParam:{productTitle:"",errorWriting:a,tpl:"ocrfailed"}}).then(function(e){location.href=e})},onConfirm:function(){"去修改"===s&&t.$emit("amlOcrFailToModify")}})},_checkReady:function(){var e=this.elements||[],t=!0;if(e.length)for(var i=e,n=Array.isArray(i),r=0,i=n?i:h()(i);;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;if(!a.picId||!a.picBase){t=!1;break}}t&&this._getResult()},_getResult:function(){var e=this.elements||[],t=a()(null);if(e.length)for(var i=e,n=Array.isArray(i),o=0,i=n?i:h()(i);;){var s;if(n){if(o>=i.length)break;s=i[o++]}else{if(o=i.next(),o.done)break;s=o.value}var c=s,u=c.name,f=c.id,l="";if(l=c.site?c.cname+"_"+f:u+"_"+f,t[l]||(t[l]={name:u,id:f,picInfo:[]}),c.site){var d=c.key.split(".")[1];t[l].certificate=t[l].certificate||{},t[l].certificate[d]=c.defaultValue}else{c.needRelation&&1==~~this.relationInfo.needRelation&&(t[l].relationPicId=this.presetRelationPics.map(function(e){return e.picid}));var p=Number(c.picType),v=Number(c.side),y=c.picId;0===p?1===v?(t[l].frontId=y,t[l].picInfo.push({idType:Number(c.idType),picId:y,side:v})):2===v&&(t[l].backId=y,t[l].picInfo.push({idType:Number(c.idType),picId:y,side:v})):1===p&&(1===v?t[l].frontBankId=y:2===v&&(t[l].backBankId=y))}}var m=r()(t);this.completed(m)},completed:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.$emit("completed",e)},refreshScroll:function(){var e=this;this.$nextTick(function(){e.$refs.scroll&&e.$refs.scroll.refresh()})},showDialog:function(e){var t=e.dialogType,i=void 0===t?1:t,n=e.dialogTitle,r=void 0===n?"":n,o=e.dialogData,a=e.cancelbtnText,s=void 0===a?"取消":a,c=e.confirmbtnText,u=void 0===c?"确定":c,f=e.onConfirm,l=void 0===f?function(){}:f,d=e.onCancel,p=void 0===d?function(){}:d,v=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:r,content:o.join("<br/>"),buttonType:"sticky",showCancelButton:1!==Number(i),cancelButtonText:s,confirmButtonText:u,confirmButtonColor:this.brandColor,onConfirm:function(){v&&v.remove(),l()},onCancel:function(){v&&v.remove(),p()}});v.show()},showToast:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast({zIndex:this.extraZindex})),this.toast.show(e,t)},hideToast:function(){this.toast&&this.toast.hide()},resetBodyOverflow:function(){document.body.style.overflow=this.bodyOverflowOrigin||"auto"},error:function(e){this.$emit("error",e)},toBack:function(){this.hide(),this.$emit("back")},confirm:function(){if(!this.canConfirm)return this.showToast("请上传所有图片",1e3),!1;this._getResult()},changeValue:function(e,t){var i=t.key,n=t.value;t.site;e.defaultValue=n;var r=i.split(".")[0];if(i.includes("idValidType")){var o=this.elements.find(function(e){return e.key===r+".idValidEndTime"});o&&0===Number(n)&&(o.display=0),o&&1===Number(n)&&(o.display=1)}console.log("key",i,"value",n)},_initDateElements:function(e,t,i,n,r,o){var a=(new Date).getFullYear(),s=a-50,c=((new Date).getMonth()+1+"").padStart(2,"0"),u=((new Date).getDate()+"").padStart(2,"0"),f=s+c+u;return[{id:t,cname:i,key:e+".idValidType",site:[""+e],name:"证件有效期",defaultValue:o||"1",attributeValues:[{value:"0",text:"长期",status:1},{value:"1",text:"非长期",status:1}],desc:"长期",type:"5",tips:"",display:1,element_attr:"",errorRemind:"",valueUnit:"0",defaultRemind:"请选择投保人证件有效期",pureDisplay:"1"},{id:t,cname:i,key:e+".idValidStartTime",site:[""+e],name:"证件有效起期",defaultValue:n||a-10+c+u,attributeValues:[{max:a+c+u,conMax:1,min:f,conMin:1}],type:"7",tips:"",display:1,element_attr:"",errorRemind:"",valueUnit:"0",defaultRemind:"请选择",pureDisplay:"1"},{id:t,cname:i,key:e+".idValidEndTime",site:[""+e],name:"证件有效止期",defaultValue:r||a+10+c+u,attributeValues:[{max:a+50+c+u,conMax:1,min:a+c+u,conMin:1}],type:"7",tips:"",display:1==~~o?1:0,element_attr:"",errorRemind:"",valueUnit:"0",defaultRemind:"请选择",pureDisplay:"1"}]},preview:function(e){this.imagePreview?this.imagePreview.setData(this.list,e):this.imagePreview=this.$createImagePreview({images:this.list,start:e,zIndex:this.zIndex}),this.imagePreview.show()},deleteImg:function(e){this.presetRelationPics.splice(e,1)}},beforeDestroy:function(){this.resetBodyOverflow()},watch:{isVisible:function(e){e?this.refreshScroll():this.resetBodyOverflow()}}}},11:function(e,t){e.exports={}},112:function(e,t,i){t.f=i(1)},113:function(e,t,i){var n=i(0),r=i(2),o=i(18),a=i(112),s=i(9).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},114:function(e,t,i){e.exports={default:i(117),__esModule:!0}},117:function(e,t,i){i(48),i(45),e.exports=i(118)},118:function(e,t,i){var n=i(4),r=i(53);e.exports=i(2).getIterator=function(e){var t=r(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},12:function(e,t,i){var n=i(30),r=i(16);e.exports=function(e){return n(r(e))}},125:function(e,t,i){var n=i(37),r=i(28).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},13:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},131:function(e,t,i){var n=i(24)("meta"),r=i(6),o=i(7),a=i(9).f,s=0,c=Object.isExtensible||function(){return!0},u=!i(13)(function(){return c(Object.preventExtensions({}))}),f=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},l=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!c(e))return"F";if(!t)return"E";f(e)}return e[n].i},d=function(e,t){if(!o(e,n)){if(!c(e))return!0;if(!t)return!1;f(e)}return e[n].w},p=function(e){return u&&v.NEED&&c(e)&&!o(e,n)&&f(e),e},v=e.exports={KEY:n,NEED:!1,fastKey:l,getWeak:d,onFreeze:p}},14:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},15:function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:i)(e)}},153:function(e,t,i){var n=i(14);e.exports=Array.isArray||function(e){return"Array"==n(e)}},155:function(e,t,i){e.exports={default:i(168),__esModule:!0}},156:function(e,t,i){var n=i(10),r=i(2),o=i(13);e.exports=function(e,t){var i=(r.Object||{})[e]||Object[e],a={};a[e]=t(i),n(n.S+n.F*o(function(){i(1)}),"Object",a)}},1572:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(22),r=i.n(n),o=i(1573);o.a.install=function(e){e.component(o.a.name,o.a),e.prototype.$createGoldAml=r()(o.a,e)},t.default=o.a},1573:function(e,t,i){"use strict";function n(e){s||i(1574)}var r=i(1072),o=i(1578),a=i(8),s=!1,c=n,u=Object(a.a)(r.a,o.a,o.b,!1,c,"data-v-b9b9c744",null);u.options.__file="src\\components\\GoldAml\\src\\index.vue",t.a=u.exports},1574:function(e,t){},1575:function(e,t,i){e.exports={default:i(1576),__esModule:!0}},1576:function(e,t,i){i(1577);var n=i(2).Object;e.exports=function(e,t){return n.create(e,t)}},1577:function(e,t,i){var n=i(10);n(n.S,"Object",{create:i(46)})},1578:function(e,t,i){"use strict";i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r});var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"act-aml-box",style:{"z-index":e.zIndex},on:{click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"act-aml-hd"},[n("div",{staticClass:"act-aml-hd-tit"},[e._v("\n "+e._s(e.antiMoneyTitle?e.antiMoneyTitle:"尊敬的客户,"+(e.reason||"您购买本产品累计总保费已超过20万")+",按照监管要求,需要提供"+e.personText+"。上传验证过程需要5-7秒,请耐心等待。")+"\n ")])]),e._v(" "),e.elements&&e.elements.length?[n("div",{staticClass:"act-aml-list-box"},[n("div",{staticClass:"act-aml-tips"},[n("svg-icon",{attrs:{iconClass:"exclamation-mark"}}),e._v(" "),n("div",{staticClass:"title"},[n("span",[e._v("请确保证件边框完整,字体清晰,亮度均匀")])])],1),e._v(" "),n("div",{staticClass:"act-aml-bd"},[e._l(e.elements,function(t,r){return["bank"===t.key&&t.bankNo?n("div",{key:"tips"+t.key+r,staticClass:"act-title-tips"},[n("h5",{staticClass:"act-title"},[e._v("\n 上传银行卡\n ")]),e._v(" "),n("div",{staticClass:"act-tips"},[n("div",{staticClass:"bank-id"},[e._v("\n 银行卡号:"),n("span",[e._v(e._s(e.handleBankNo(t.bankNo)))])]),e._v(" "),n("p",{staticClass:"tip"},[n("img",{attrs:{src:i(902),alt:""}}),e._v(" "),n("span",[e._v("请核对银行卡号与上传银行卡影响是否一致")])])])]):e._e(),e._v(" "),t.site?n("act-gold-element",{key:""+t.key+r,attrs:{element:t,zIndex:e.zIndex,brandColor:e.brandColor,btnColor:e.btnColor},on:{change:function(i){for(var n=arguments.length,r=Array(n);n--;)r[n]=arguments[n];return e.changeValue.apply(void 0,[t].concat(r))}}}):n("photo-box",{key:""+t.key+r,attrs:{element:t},on:{chooseFile:e._chooseFile,updateFile:e._chooseFile}})]})],2)])]:e._e(),e._v(" "),1==~~e.relationInfo.needRelation?[n("div",{staticClass:"act-aml-relation"},[n("h5",{staticClass:"act-aml-relation-title"},[e._v("\n 请上传投被保人关系证明照片\n ")]),e._v(" "),n("ul",{staticClass:"act-aml-relation-tip"},[n("li",[e._v("1.出生证明")]),e._v(" "),n("li",[e._v("2.居民户口薄索引页,若没有户口薄索引页,则传户口薄户主页、投保人本人页、被保人本人页")]),e._v(" "),n("li",[e._v("3.居委会、村委会、派出所开具的关系证明")])]),e._v(" "),n("div",{staticClass:"act-aml-relation-upload"},[n("ul",{staticClass:"relation-upload-list"},[e._l(e.presetRelationPics,function(t,i){return n("li",{key:"pic_"+i,staticClass:"relation-upload-item"},[n("img",{attrs:{src:t.picUrl,alt:""},on:{click:function(t){return t.stopPropagation(),e.preview(i)}}}),e._v(" "),n("p",{staticClass:"relation-upload-delete",on:{click:function(t){return t.stopPropagation(),e.deleteImg(i)}}},[e._v("\n ×\n ")])])}),e._v(" "),e.presetRelationPics.length<3?n("li",{key:"upload",staticClass:"relation-upload-add",on:{click:function(t){return e._chooseFile(e.relationElement)}}},[n("img",{attrs:{src:i(1579),alt:""}}),e._v(" "),n("p",[e._v("添加照片")])]):e._e()],2)])])]:e._e(),e._v(" "),n("div",{staticClass:"act-aml-btn-group"},[n("div",{staticClass:"act-aml-back-btn",on:{click:e.toBack}},[e._v("\n 返回修改\n ")]),e._v(" "),n("div",{staticClass:"act-aml-confirm-btn",style:{background:e.computedBrandColor,opacity:e.canConfirm?1:.7},on:{click:e.confirm}},[e._v("\n 确认信息\n ")])])],2)])},r=[];n._withStripped=!0},1579:function(e,t){e.exports=c},16:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},168:function(e,t,i){i(169),e.exports=i(2).Object.keys},169:function(e,t,i){var n=i(29),r=i(26);i(156)("keys",function(){return function(e){return r(n(e))}})},17:function(e,t,i){var n=i(20);e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}}},171:function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=i(172),o=n(r),a=i(174),s=n(a),c="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===c(o.default)?function(e){return void 0===e?"undefined":c(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":c(e)}},172:function(e,t,i){e.exports={default:i(173),__esModule:!0}},173:function(e,t,i){i(45),i(48),e.exports=i(112).f("iterator")},174:function(e,t,i){e.exports={default:i(175),__esModule:!0}},175:function(e,t,i){i(176),i(67),i(180),i(181),e.exports=i(2).Symbol},176:function(e,t,i){"use strict";var n=i(0),r=i(7),o=i(3),a=i(10),s=i(47),c=i(131).KEY,u=i(13),f=i(27),l=i(25),d=i(24),p=i(1),v=i(112),y=i(113),h=i(177),m=i(153),b=i(4),g=i(6),x=i(29),T=i(12),_=i(34),k=i(23),C=i(46),w=i(178),j=i(179),S=i(52),I=i(9),P=i(26),O=j.f,N=I.f,V=w.f,E=n.Symbol,M=n.JSON,B=M&&M.stringify,U=p("_hidden"),D=p("toPrimitive"),A={}.propertyIsEnumerable,R=f("symbol-registry"),F=f("symbols"),L=f("op-symbols"),G=Object.prototype,q="function"==typeof E&&!!S.f,$=n.QObject,z=!$||!$.prototype||!$.prototype.findChild,W=o&&u(function(){return 7!=C(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(e,t,i){var n=O(G,t);n&&delete G[t],N(e,t,i),n&&e!==G&&N(G,t,n)}:N,Z=function(e){var t=F[e]=C(E.prototype);return t._k=e,t},H=q&&"symbol"==typeof E.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof E},K=function(e,t,i){return e===G&&K(L,t,i),b(e),t=_(t,!0),b(i),r(F,t)?(i.enumerable?(r(e,U)&&e[U][t]&&(e[U][t]=!1),i=C(i,{enumerable:k(0,!1)})):(r(e,U)||N(e,U,k(1,{})),e[U][t]=!0),W(e,t,i)):N(e,t,i)},Y=function(e,t){b(e);for(var i,n=h(t=T(t)),r=0,o=n.length;o>r;)K(e,i=n[r++],t[i]);return e},J=function(e,t){return void 0===t?C(e):Y(C(e),t)},X=function(e){var t=A.call(this,e=_(e,!0));return!(this===G&&r(F,e)&&!r(L,e))&&(!(t||!r(this,e)||!r(F,e)||r(this,U)&&this[U][e])||t)},Q=function(e,t){if(e=T(e),t=_(t,!0),e!==G||!r(F,t)||r(L,t)){var i=O(e,t);return!i||!r(F,t)||r(e,U)&&e[U][t]||(i.enumerable=!0),i}},ee=function(e){for(var t,i=V(T(e)),n=[],o=0;i.length>o;)r(F,t=i[o++])||t==U||t==c||n.push(t);return n},te=function(e){for(var t,i=e===G,n=V(i?L:T(e)),o=[],a=0;n.length>a;)!r(F,t=n[a++])||i&&!r(G,t)||o.push(F[t]);return o};q||(E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(i){this===G&&t.call(L,i),r(this,U)&&r(this[U],e)&&(this[U][e]=!1),W(this,e,k(1,i))};return o&&z&&W(G,e,{configurable:!0,set:t}),Z(e)},s(E.prototype,"toString",function(){return this._k}),j.f=Q,I.f=K,i(125).f=w.f=ee,i(44).f=X,S.f=te,o&&!i(18)&&s(G,"propertyIsEnumerable",X,!0),v.f=function(e){return Z(p(e))}),a(a.G+a.W+a.F*!q,{Symbol:E});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;ie.length>ne;)p(ie[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)y(re[oe++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return r(R,e+="")?R[e]:R[e]=E(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!q,"Object",{create:J,defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=u(function(){S.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return S.f(x(e))}}),M&&a(a.S+a.F*(!q||u(function(){var e=E();return"[null]"!=B([e])||"{}"!=B({a:e})||"{}"!=B(Object(e))})),"JSON",{stringify:function(e){for(var t,i,n=[e],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=t=n[1],(g(t)||void 0!==e)&&!H(e))return m(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!H(t))return t}),n[1]=t,B.apply(M,n)}}),E.prototype[D]||i(5)(E.prototype,D,E.prototype.valueOf),l(E,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},177:function(e,t,i){var n=i(26),r=i(52),o=i(44);e.exports=function(e){var t=n(e),i=r.f;if(i)for(var a,s=i(e),c=o.f,u=0;s.length>u;)c.call(e,a=s[u++])&&t.push(a);return t}},178:function(e,t,i){var n=i(12),r=i(125).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(n(e))}},179:function(e,t,i){var n=i(44),r=i(23),o=i(12),a=i(34),s=i(7),c=i(36),u=Object.getOwnPropertyDescriptor;t.f=i(3)?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(e){}if(s(e,t))return r(!n.f.call(e,t),e[t])}},18:function(e,t){e.exports=!0},180:function(e,t,i){i(113)("asyncIterator")},181:function(e,t,i){i(113)("observable")},19:function(e,t,i){var n=i(27)("keys"),r=i(24);e.exports=function(e){return n[e]||(n[e]=r(e))}},2:function(e,t){var i=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},20:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},21:function(e,t,i){var n=i(6),r=i(0).document,o=n(r)&&n(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},22:function(t,i){t.exports=e},23:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},24:function(e,t){var i=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+n).toString(36))}},25:function(e,t,i){var n=i(9).f,r=i(7),o=i(1)("toStringTag");e.exports=function(e,t,i){e&&!r(e=i?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},26:function(e,t,i){var n=i(37),r=i(28);e.exports=Object.keys||function(e){return n(e,r)}},27:function(e,t,i){var n=i(2),r=i(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:i(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},284:function(e,t){e.exports=r},29:function(e,t,i){var n=i(16);e.exports=function(e){return Object(n(e))}},3:function(e,t,i){e.exports=!i(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(e,t,i){var n=i(14);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},31:function(e,t,i){var n=i(15),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},32:function(e,i){e.exports=t},33:function(e,t,i){"use strict";var n=i(18),r=i(10),o=i(47),a=i(5),s=i(11),c=i(55),u=i(25),f=i(57),l=i(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,i,v,y,h,m){c(i,t,v);var b,g,x,T=function(e){if(!d&&e in w)return w[e];switch(e){case"keys":case"values":return function(){return new i(this,e)}}return function(){return new i(this,e)}},_=t+" Iterator",k="values"==y,C=!1,w=e.prototype,j=w[l]||w["@@iterator"]||y&&w[y],S=j||T(y),I=y?k?T("entries"):S:void 0,P="Array"==t?w.entries||j:j;if(P&&(x=f(P.call(new e)))!==Object.prototype&&x.next&&(u(x,_,!0),n||"function"==typeof x[l]||a(x,l,p)),k&&j&&"values"!==j.name&&(C=!0,S=function(){return j.call(this)}),n&&!m||!d&&!C&&w[l]||a(w,l,S),s[t]=S,s[_]=p,y)if(b={values:k?S:T("values"),keys:h?S:T("keys"),entries:I},m)for(g in b)g in w||o(w,g,b[g]);else r(r.P+r.F*(d||C),t,b);return b}},34:function(e,t,i){var n=i(6);e.exports=function(e,t){if(!n(e))return e;var i,r;if(t&&"function"==typeof(i=e.toString)&&!n(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!n(r=i.call(e)))return r;if(!t&&"function"==typeof(i=e.toString)&&!n(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},35:function(e,t){e.exports=i},36:function(e,t,i){e.exports=!i(3)&&!i(13)(function(){return 7!=Object.defineProperty(i(21)("div"),"a",{get:function(){return 7}}).a})},37:function(e,t,i){var n=i(7),r=i(12),o=i(41)(!1),a=i(19)("IE_PROTO");e.exports=function(e,t){var i,s=r(e),c=0,u=[];for(i in s)i!=a&&n(s,i)&&u.push(i);for(;t.length>c;)n(s,i=t[c++])&&(~o(u,i)||u.push(i));return u}},38:function(e,t,i){var n=i(0).document;e.exports=n&&n.documentElement},39:function(e,t,i){"use strict";function n(e){var t,i;this.promise=new e(function(e,n){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=e,i=n}),this.resolve=r(t),this.reject=r(i)}var r=i(20);e.exports.f=function(e){return new n(e)}},4:function(e,t,i){var n=i(6);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},40:function(e,t,i){var n=i(14),r=i(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,i,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=a(t=Object(e),r))?i:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},41:function(e,t,i){var n=i(12),r=i(31),o=i(42);e.exports=function(e){return function(t,i,a){var s,c=n(t),u=r(c.length),f=o(a,u);if(e&&i!=i){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((e||f in c)&&c[f]===i)return e||f||0;return!e&&-1}}},42:function(e,t,i){var n=i(15),r=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?r(e+t,0):o(e,t)}},44:function(e,t){t.f={}.propertyIsEnumerable},45:function(e,t,i){"use strict";var n=i(54)(!0);i(33)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=n(t,i),this._i+=e.length,{value:e,done:!1})})},46:function(e,t,i){var n=i(4),r=i(56),o=i(28),a=i(19)("IE_PROTO"),s=function(){},c=function(){var e,t=i(21)("iframe"),n=o.length;for(t.style.display="none",i(38).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;n--;)delete c.prototype[o[n]];return c()};e.exports=Object.create||function(e,t){var i;return null!==e?(s.prototype=n(e),i=new s,s.prototype=null,i[a]=e):i=c(),void 0===t?i:r(i,t)}},47:function(e,t,i){e.exports=i(5)},48:function(e,t,i){i(63);for(var n=i(0),r=i(5),o=i(11),a=i(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],f=n[u],l=f&&f.prototype;l&&!l[a]&&r(l,a,u),o[u]=o.Array}},5:function(e,t,i){var n=i(9),r=i(23);e.exports=i(3)?function(e,t,i){return n.f(e,t,r(1,i))}:function(e,t,i){return e[t]=i,e}},52:function(e,t){t.f=Object.getOwnPropertySymbols},53:function(e,t,i){var n=i(40),r=i(1)("iterator"),o=i(11);e.exports=i(2).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[n(e)]}},54:function(e,t,i){var n=i(15),r=i(16);e.exports=function(e){return function(t,i){var o,a,s=String(r(t)),c=n(i),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},55:function(e,t,i){"use strict";var n=i(46),r=i(23),o=i(25),a={};i(5)(a,i(1)("iterator"),function(){return this}),e.exports=function(e,t,i){e.prototype=n(a,{next:r(1,i)}),o(e,t+" Iterator")}},56:function(e,t,i){var n=i(9),r=i(4),o=i(26);e.exports=i(3)?Object.defineProperties:function(e,t){r(e);for(var i,a=o(t),s=a.length,c=0;s>c;)n.f(e,i=a[c++],t[i]);return e}},57:function(e,t,i){var n=i(7),r=i(29),o=i(19)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},58:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},59:function(e,t,i){var n=i(4),r=i(20),o=i(1)("species");e.exports=function(e,t){var i,a=n(e).constructor;return void 0===a||void 0==(i=n(a)[o])?t:r(i)}},6:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},60:function(e,t,i){var n,r,o,a=i(17),s=i(82),c=i(38),u=i(21),f=i(0),l=f.process,d=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,y=f.Dispatch,h=0,m={},b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){b.call(e.data)};d&&p||(d=function(e){for(var t=[],i=1;arguments.length>i;)t.push(arguments[i++]);return m[++h]=function(){s("function"==typeof e?e:Function(e),t)},n(h),h},p=function(e){delete m[e]},"process"==i(14)(l)?n=function(e){l.nextTick(a(b,e,1))}:y&&y.now?n=function(e){y.now(a(b,e,1))}:v?(r=new v,o=r.port2,r.port1.onmessage=g,n=a(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):n="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:d,clear:p}},61:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},62:function(e,t,i){var n=i(4),r=i(6),o=i(39);e.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var i=o.f(e);return(0,i.resolve)(t),i.promise}},63:function(e,t,i){"use strict";var n=i(64),r=i(58),o=i(11),a=i(12);e.exports=i(33)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,r(1)):"keys"==t?r(0,i):"values"==t?r(0,e[i]):r(0,[i,e[i]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},64:function(e,t){e.exports=function(){}},65:function(e,t,i){e.exports={default:i(68),__esModule:!0}},651:function(e,t,i){e.exports={default:i(652),__esModule:!0}},652:function(e,t,i){i(653),e.exports=i(2).Object.values},653:function(e,t,i){var n=i(10),r=i(654)(!1);n(n.S,"Object",{values:function(e){return r(e)}})},654:function(e,t,i){var n=i(3),r=i(26),o=i(12),a=i(44).f;e.exports=function(e){return function(t){for(var i,s=o(t),c=r(s),u=c.length,f=0,l=[];u>f;)i=c[f++],n&&!a.call(s,i)||l.push(e?[i,s[i]]:s[i]);return l}}},66:function(e,t,i){e.exports={default:i(80),__esModule:!0}},669:function(e,t){e.exports=o},67:function(e,t){},68:function(e,t,i){i(69),e.exports=i(2).Object.assign},69:function(e,t,i){var n=i(10);n(n.S+n.F,"Object",{assign:i(70)})},7:function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},70:function(e,t,i){"use strict";var n=i(3),r=i(26),o=i(52),a=i(44),s=i(29),c=i(30),u=Object.assign;e.exports=!u||i(13)(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=u({},e)[i]||Object.keys(u({},t)).join("")!=n})?function(e,t){for(var i=s(e),u=arguments.length,f=1,l=o.f,d=a.f;u>f;)for(var p,v=c(arguments[f++]),y=l?r(v).concat(l(v)):r(v),h=y.length,m=0;h>m;)p=y[m++],n&&!d.call(v,p)||(i[p]=v[p]);return i}:u},72:function(e,t,i){var n=i(17),r=i(73),o=i(74),a=i(4),s=i(31),c=i(53),u={},f={},t=e.exports=function(e,t,i,l,d){var p,v,y,h,m=d?function(){return e}:c(e),b=n(i,l,t?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(o(m)){for(p=s(e.length);p>g;g++)if((h=t?b(a(v=e[g])[0],v[1]):b(e[g]))===u||h===f)return h}else for(y=m.call(e);!(v=y.next()).done;)if((h=r(y,b,v.value,t))===u||h===f)return h};t.BREAK=u,t.RETURN=f},73:function(e,t,i){var n=i(4);e.exports=function(e,t,i,r){try{return r?t(n(i)[0],i[1]):t(i)}catch(t){var o=e.return;throw void 0!==o&&n(o.call(e)),t}}},74:function(e,t,i){var n=i(11),r=i(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[r]===e)}},75:function(e,t){e.exports=function(e,t,i,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(i+": incorrect invocation!");return e}},76:function(e,t,i){var n=i(5);e.exports=function(e,t,i){for(var r in t)i&&e[r]?e[r]=t[r]:n(e,r,t[r]);return e}},77:function(e,t,i){var n=i(1)("iterator"),r=!1;try{var o=[7][n]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var i=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:i=!0}},o[n]=function(){return a},e(o)}catch(e){}return i}},78:function(e,t,i){"use strict";var n=i(0),r=i(2),o=i(9),a=i(3),s=i(1)("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:n[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},8:function(e,t,i){"use strict";function n(e,t,i,n,r,o,a,s){e=e||{};var c=typeof e.default;"object"!==c&&"function"!==c||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var f;if(a?(f=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=f):r&&(f=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(e,t){return f.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,f):[f]}return{exports:e,options:u}}t.a=n},80:function(e,t,i){i(67),i(45),i(48),i(81),i(85),i(86),e.exports=i(2).Promise},81:function(e,t,i){"use strict";var n,r,o,a,s=i(18),c=i(0),u=i(17),f=i(40),l=i(10),d=i(6),p=i(20),v=i(75),y=i(72),h=i(59),m=i(60).set,b=i(83)(),g=i(39),x=i(61),T=i(84),_=i(62),k=c.TypeError,C=c.process,w=C&&C.versions,j=w&&w.v8||"",S=c.Promise,I="process"==f(C),P=function(){},O=r=g.f,N=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[i(1)("species")]=function(e){e(P,P)};return(I||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==j.indexOf("6.6")&&-1===T.indexOf("Chrome/66")}catch(e){}}(),V=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},E=function(e,t){if(!e._n){e._n=!0;var i=e._c;b(function(){for(var n=e._v,r=1==e._s,o=0;i.length>o;)!function(t){var i,o,a,s=r?t.ok:t.fail,c=t.resolve,u=t.reject,f=t.domain;try{s?(r||(2==e._h&&U(e),e._h=1),!0===s?i=n:(f&&f.enter(),i=s(n),f&&(f.exit(),a=!0)),i===t.promise?u(k("Promise-chain cycle")):(o=V(i))?o.call(i,c,u):c(i)):u(n)}catch(e){f&&!a&&f.exit(),u(e)}}(i[o++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){m.call(c,function(){var t,i,n,r=e._v,o=B(e);if(o&&(t=x(function(){I?C.emit("unhandledRejection",r,e):(i=c.onunhandledrejection)?i({promise:e,reason:r}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",r)}),e._h=I||B(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},B=function(e){return 1!==e._h&&0===(e._a||e._c).length},U=function(e){m.call(c,function(){var t;I?C.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),E(t,!0))},A=function(e){var t,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw k("Promise can't be resolved itself");(t=V(e))?b(function(){var n={_w:i,_d:!1};try{t.call(e,u(A,n,1),u(D,n,1))}catch(e){D.call(n,e)}}):(i._v=e,i._s=1,E(i,!1))}catch(e){D.call({_w:i,_d:!1},e)}}};N||(S=function(e){v(this,S,"Promise","_h"),p(e),n.call(this);try{e(u(A,this,1),u(D,this,1))}catch(e){D.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=i(76)(S.prototype,{then:function(e,t){var i=O(h(this,S));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=I?C.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&E(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(A,e,1),this.reject=u(D,e,1)},g.f=O=function(e){return e===S||e===a?new o(e):r(e)}),l(l.G+l.W+l.F*!N,{Promise:S}),i(25)(S,"Promise"),i(78)("Promise"),a=i(2).Promise,l(l.S+l.F*!N,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!N),"Promise",{resolve:function(e){return _(s&&this===a?S:this,e)}}),l(l.S+l.F*!(N&&i(77)(function(e){S.all(e).catch(P)})),"Promise",{all:function(e){var t=this,i=O(t),n=i.resolve,r=i.reject,o=x(function(){var i=[],o=0,a=1;y(e,!1,function(e){var s=o++,c=!1;i.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!0,i[s]=e,--a||n(i))},r)}),--a||n(i)});return o.e&&r(o.v),i.promise},race:function(e){var t=this,i=O(t),n=i.reject,r=x(function(){y(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})},82:function(e,t){e.exports=function(e,t,i){var n=void 0===i;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},83:function(e,t,i){var n=i(0),r=i(60).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==i(14)(a);e.exports=function(){var e,t,i,u=function(){var n,r;for(c&&(n=a.domain)&&n.exit();e;){r=e.fn,e=e.next;try{r()}catch(n){throw e?i():t=void 0,n}}t=void 0,n&&n.enter()};if(c)i=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);i=function(){f.then(u)}}else i=function(){r.call(n,u)};else{var l=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),i=function(){d.data=l=!l}}return function(n){var r={fn:n,next:void 0};t&&(t.next=r),e||(e=r,i()),t=r}}},84:function(e,t,i){var n=i(0),r=n.navigator;e.exports=r&&r.userAgent||""},85:function(e,t,i){"use strict";var n=i(10),r=i(2),o=i(0),a=i(59),s=i(62);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,r.Promise||o.Promise),i="function"==typeof e;return this.then(i?function(i){return s(t,e()).then(function(){return i})}:e,i?function(i){return s(t,e()).then(function(){throw i})}:e)}})},86:function(e,t,i){"use strict";var n=i(10),r=i(39),o=i(61);n(n.S,"Promise",{try:function(e){var t=r.f(this),i=o(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},9:function(e,t,i){var n=i(4),r=i(36),o=i(34),a=Object.defineProperty;t.f=i(3)?Object.defineProperty:function(e,t,i){if(n(e),t=o(t,!0),n(i),r)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},901:function(e,t){e.exports=a},902:function(e,t){e.exports=s}})});
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/PhotoBox/index.js"),require("@xysfe/actui/es/assets/img/tip.png"),require("@xysfe/actui/es/assets/img/upload.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/svgicon.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/GoldElement/index.js","@xysfe/actui/es/PhotoBox/index.js","@xysfe/actui/es/assets/img/tip.png","@xysfe/actui/es/assets/img/upload.png"],t):"object"==typeof exports?exports.GoldAml=t(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/svgicon.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/PhotoBox/index.js"),require("@xysfe/actui/es/assets/img/tip.png"),require("@xysfe/actui/es/assets/img/upload.png")):e.GoldAml=t(e["@xysfe/actui/es/assets/utils/create/index.js"],e["@xysfe/actui/es/assets/mixins/visible.js"],e["@xysfe/actui/es/assets/utils/helpers.js"],e["@xysfe/actui/es/assets/svgicon.js"],e["@xysfe/actui/es/FileUpload/index.js"],e["@xysfe/actui/es/GoldElement/index.js"],e["@xysfe/actui/es/PhotoBox/index.js"],e["@xysfe/actui/es/assets/img/tip.png"],e["@xysfe/actui/es/assets/img/upload.png"])}("undefined"!=typeof self?self:this,function(e,t,i,n,r,o,a,s,c){return function(e){function t(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=1572)}({0:function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},1:function(e,t,i){var n=i(27)("wks"),r=i(24),o=i(0).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=n},10:function(e,t,i){var n=i(0),r=i(2),o=i(17),a=i(5),s=i(7),c=function(e,t,i){var u,f,l,d=e&c.F,p=e&c.G,v=e&c.S,y=e&c.P,h=e&c.B,m=e&c.W,b=p?r:r[t]||(r[t]={}),g=b.prototype,x=p?n:v?n[t]:(n[t]||{}).prototype;p&&(i=t);for(u in i)(f=!d&&x&&void 0!==x[u])&&s(b,u)||(l=f?x[u]:i[u],b[u]=p&&"function"!=typeof x[u]?i[u]:h&&f?o(l,n):m&&x[u]==l?function(e){var t=function(t,i,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):y&&"function"==typeof l?o(Function.call,l):l,y&&((b.virtual||(b.virtual={}))[u]=l,e&c.R&&g&&!g[u]&&a(g,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},106:function(e,t){e.exports=n},1072:function(e,t,i){"use strict";var n=i(651),r=i.n(n),o=i(1575),a=i.n(o),s=i(66),c=i.n(s),u=i(65),f=i.n(u),l=i(171),d=i.n(l),p=i(155),v=i.n(p),y=i(114),h=i.n(y),m=i(32),b=i.n(m),g=i(284),x=i.n(g),T=i(901),_=i.n(T),k=i(669),C=i.n(k),w=i(35),j=(i.n(w),i(106)),S=i.n(j),I={0:"身份证",1:"出生证",2:"护照",3:"港澳通行证",4:"台胞证",5:"军官证",6:"户口本",7:"大陆通行证",8:"回乡证",9:"警官证",10:"港澳台通行证",11:"士兵证",12:"台湾通行证",13:"港澳居住证",14:"社会统一信用代码",15:"组织机构代码证",16:"税务登记证",17:"工商营业执照号",18:"港澳台居住证",99:"其他"};t.a={name:"ActGoldAml",mixins:[b.a],components:{PhotoBox:_.a,svgIcon:S.a,ActGoldElement:C.a},props:{applicant:{type:Object,default:function(){return{}}},insureds:{type:Array,default:function(){return[]}},bank:{type:Object,default:function(){return{}}},antiMoneyCfg:{type:Object,default:function(){return{}}},ext:{type:Object,default:function(){return{}}},appId:{type:String,default:""},sourceType:{type:Array,default:function(){return["camera"]}},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},reason:{type:String,default:""},antiMoneyTitle:{type:String,default:""},platform:{type:[Number,String],default:0},relation:{type:Object,default:function(){return{}}},showOcrFailDialog:{type:Boolean,default:!1},idValidFailConfirmText:{type:String,default:"去修改"}},data:function(){return{elements:[],personText:"",applicantData:null,insuredsData:null,bankData:null,antiMoneyCfgData:null,bodyOverflowOrigin:null,cacheIdtype:{},beneIdType:{},guardianIdType:{},hasPersionMap:[],imagePreview:null,relationElement:{},relationData:{},presetRelationPics:[]}},created:function(){this.bodyOverflowOrigin=document.body.style.overflow,document.body.style.overflow="hidden",this._initPage()},computed:{extraZindex:function(){return 2+~~this.zIndex},applicantInfo:function(){return this.applicantData||this.applicant},insuredsInfo:function(){return this.insuredsData||this.insureds},bankInfo:function(){return this.bankData||this.bank},relationInfo:function(){return this.relation||this.relationData||{}},antiMoneyConfig:function(){return this.antiMoneyCfgData||this.antiMoneyCfg},canConfirm:function(){var e=!0;if(this.elements&&this.elements.length)for(var t=this.elements,i=Array.isArray(t),n=0,t=i?t:h()(t);;){var r;if(i){if(n>=t.length)break;r=t[n++]}else{if(n=t.next(),n.done)break;r=n.value}var o=r;if(!(o.site||o.picId&&o.picBase)){e=!1;break}}else e=!1;return this.presetRelationPics.length||1!=~~this.relationInfo.needRelation||(e=!1),e},computedBrandColor:function(){return this.brandColor||"#8c7fee"},idTypeValidShow:function(){return this.antiMoneyConfig.applicant&&Number(this.antiMoneyConfig.applicant.idTypeValidShow)},list:function(){return this.presetRelationPics.map(function(e){return e.picUrl})}},methods:{handleBankNo:function(e){var t=/(\d{4})/g;return e.replace(t,"$1 ")},reset:function(){this.elements&&this.elements.forEach(function(e){e.picBase="",e.picId=""})},setData:function(e){var t=e.applicant,i=e.insureds,n=e.bank,r=e.antiMoneyCfg,o=e.relation;e.relationPics;this.applicantData=t,this.insuredsData=i,this.bankData=n,this.antiMoneyCfgData=r,this.relationData=o,this._initPage()},_initPage:function(){var e=this;this.hasPersionMap=[];var t=this.applicantInfo,i=this.insuredsInfo,n=this._getBeneficiaries(this.insuredsInfo),r=this._getGuardians(this.insuredsInfo),o=this.bankInfo,a=this.antiMoneyConfig,s=a.insured&&a.insured.id_config||[],c=a.beneficiary&&a.beneficiary.id_config||[],u=a.guardian&&a.guardian.id_config||[],f=[],l=[],p=[],y=[],m=[];if(t.cname&&t.certificate&&t.certificate.id){var b=t.cname,g=t.certificate,x=g.id,T=g.idType,_=g.presetIdPics,k=void 0===_?{}:_,C=g.idValidStartTime,w=g.idValidEndTime,j=g.idValidType,S=t.mobileOwners,I=void 0===S?[]:S,P=k.side1;P=void 0===P?{}:P;var O=P.picUrl,N=void 0===O?"":O,V=P.picid,E=void 0===V?"":V,M=k.side2;M=void 0===M?{}:M;var B=M.picUrl,U=void 0===B?"":B,D=M.picid,A=void 0===D?"":D;this.hasPersionMap.push({name:b,id:x,idType:T});var R={key:"applicant",name:b,id:x,idType:T,picBase:N,picId:E,side:"1",isCheck:!0,picType:0,desc:"投保人"+b+"身份证(头像面)",applicableType:1,errCount:0,hasUpdate:!0},F={key:"applicant",name:b,id:x,idType:T,idValidStartTime:C,idValidEndTime:w,idValidType:j,picBase:U,picId:A,side:"2",isCheck:!0,picType:0,desc:"投保人"+b+"身份证(国徽面)",applicableType:1,errCount:0,hasUpdate:!0};if(f.push(R),f.push(F),I&&I.length&&I[0].cname&&I[0].certificate&&I[0].certificate.id){var L=I[0],G=L.cname,q=L.certificate,$=q.id,z=q.idType,W=q.presetIdPics,Z=void 0===W?{}:W,H=Z.side1;H=void 0===H?{}:H;var K=H.picUrl,Y=void 0===K?"":K,J=H.picid,X=void 0===J?"":J,Q=Z.side2;Q=void 0===Q?{}:Q;var ee=Q.picUrl,te=void 0===ee?"":ee,ie=Q.picid,ne=void 0===ie?"":ie,re={key:"applicant",name:G,id:$,idType:z,picBase:Y,picId:X,side:"1",isCheck:!0,picType:0,desc:"投保人手机号机主"+G+"身份证(头像面)",applicableType:1,errCount:0,hasUpdate:!0},oe={key:"applicant",name:G,id:$,idType:z,picBase:te,picId:ne,side:"2",isCheck:!0,picType:0,desc:"投保人手机号机主"+G+"身份证(国徽面)",applicableType:1,errCount:0,hasUpdate:!0};f.push(re),f.push(oe)}if(this.antiMoneyConfig.applicant&&1===Number(this.antiMoneyConfig.applicant.idTypeValidShow)){var ae=this._initDateElements("applicant",x,b,C,w,j);f.push.apply(f,ae)}}for(var se=f.length,ce=i,ue=Array.isArray(ce),fe=0,ce=ue?ce:h()(ce);;){var le;if(ue){if(fe>=ce.length)break;le=ce[fe++]}else{if(fe=ce.next(),fe.done)break;le=fe.value}var de=le;if(1!==Number(de.relationToApply)||!se){var pe=de.cname,ve=de.certificate,ye=void 0===ve?{}:ve,he=de.presetRelationPics,me=void 0===he?[]:he,be=de.mobileOwners,ge=void 0===be?[]:be,xe=ye.id,Te=ye.idType,_e=ye.presetIdPics,ke=void 0===_e?{}:_e,Ce=ye.idValidStartTime,we=ye.idValidEndTime,je=ye.idValidType;if(pe&&xe){this.hasPersionMap.push({name:pe,id:xe,idType:Te}),this.cacheIdtype[Number(Te)]=1;var Se=this._getElementsInfo(Te,pe,xe,s,ke,Ce,we,je);if(ge&&ge.length&&ge[0].cname&&ge[0].certificate&&ge[0].certificate.id){var Ie=ge[0],Pe=Ie.cname,Oe=Ie.certificate,Ne=Oe.id,Ve=Oe.idType,Ee=Oe.presetIdPics,Me=void 0===Ee?{}:Ee,Be=Me.side1;Be=void 0===Be?{}:Be;var Ue=Be.picUrl,De=void 0===Ue?"":Ue,Ae=Be.picid,Re=void 0===Ae?"":Ae,Fe=Me.side2;Fe=void 0===Fe?{}:Fe;var Le=Fe.picUrl,Ge=void 0===Le?"":Le,qe=Fe.picid,$e=void 0===qe?"":qe;Se.push({key:"insured",needRelation:!0,name:Pe,id:Ne,idType:Ve,picBase:De,picId:Re,side:"1",isCheck:!0,picType:0,applicableType:2,desc:"被保人手机号机主"+Pe+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"insured",needRelation:!0,name:Pe,id:Ne,idType:Ve,picBase:Ge,picId:$e,side:"2",isCheck:!0,picType:0,applicableType:2,desc:"被保人手机号机主"+Pe+"身份证(国徽面)",errCount:0,hasUpdate:!0})}if(1==~~this.relationInfo.needRelation&&(this.relationElement={key:"presetRelationPics",name:pe,id:xe,idType:19,side:"1",isCheck:!0,picType:19,applicableType:2,desc:"投被保人关系证明",errCount:0,hasUpdate:!0},this.presetRelationPics=me),!Se)return!1;l=l.concat(Se)}}}for(var ze=n,We=Array.isArray(ze),Ze=0,ze=We?ze:h()(ze);;){var He;if(We){if(Ze>=ze.length)break;He=ze[Ze++]}else{if(Ze=ze.next(),Ze.done)break;He=Ze.value}var Ke=He,Ye=function(t){var i=t.cname,n=t.certificate,r=void 0===n?{}:n,o=r.id,a=r.idType,s=r.presetIdPics,u=void 0===s?{}:s,f=r.idValidStartTime,l=r.idValidEndTime,d=r.idValidType;if(!(i&&o&&a))return"continue";if(e.hasPersionMap.find(function(e){return e.name===i&&e.id===o&&e.idType===a}))return"continue";e.hasPersionMap.push({name:i,id:o,idType:a}),e.beneIdType[Number(a)]=1;var v=e._genBeneElement({idType:a,name:i,id:o,idConfig:c,presetIdPics:u,idValidStartTime:f,idValidEndTime:l,idValidType:d});if(!v)return{v:!1};p=p.concat(v)}(Ke);switch(Ye){case"continue":continue;default:if("object"===(void 0===Ye?"undefined":d()(Ye)))return Ye.v}}for(var Je=r,Xe=Array.isArray(Je),Qe=0,Je=Xe?Je:h()(Je);;){var et;if(Xe){if(Qe>=Je.length)break;et=Je[Qe++]}else{if(Qe=Je.next(),Qe.done)break;et=Qe.value}var tt=et,it=function(t){var i=t.cname,n=t.certificate,r=void 0===n?{}:n,o=r.id,a=r.idType,s=r.presetIdPics,c=void 0===s?{}:s,f=r.idValidStartTime,l=r.idValidEndTime,d=r.idValidType;if(!(i&&o&&a))return"continue";if(e.hasPersionMap.find(function(e){return e.name===i&&e.id===o&&e.idType===a}))return"continue";e.hasPersionMap.push({name:i,id:o,idType:a}),e.guardianIdType[Number(a)]=1;var p=e._getGuardianElement({idType:a,name:i,id:o,idConfig:u,presetIdPics:c,idValidStartTime:f,idValidEndTime:l,idValidType:d});if(!p)return{v:!1};y=y.concat(p)}(tt);switch(it){case"continue":continue;default:if("object"===(void 0===it?"undefined":d()(it)))return it.v}}var nt=p.length,rt=y.length;if(o&&o.cname&&o.bankNo){var ot=o.cname,at=o.certificateId,st=o.needBankCard,ct=o.presetBankPics,ut=o.bankNo,ft=ct||{},lt=ft.side1;lt=void 0===lt?{}:lt;var dt=lt.picUrl,pt=void 0===dt?"":dt,vt=lt.picid,yt=void 0===vt?"":vt,ht=ft.side2;ht=void 0===ht?{}:ht;var mt=ht.picUrl,bt=void 0===mt?"":mt,gt=ht.picid,xt=void 0===gt?"":gt,Tt=2===Number(st)||4===Number(st),_t=3===Number(st)||4===Number(st),kt={bankInfo:o},Ct={key:"bank",name:ot,id:at,bankNo:ut,picBase:pt,picId:yt,side:"1",isCheck:Tt,picType:1,applicableType:1,desc:"投保人"+ot+"银行卡正面照片",extParams:kt,errCount:0,hasUpdate:!0};if(m.push(Ct),_t){var wt={name:ot,id:at,picBase:bt,picId:xt,side:"2",isCheck:Tt,picType:1,applicableType:1,desc:"投保人"+ot+"银行卡反面照片",extParams:kt,errCount:0,hasUpdate:!0};m.push(wt)}}var jt=l.length,St=[].concat(f,l,p,y,m);if(0===St.length)return this.showDialog({dialogType:1,dialogData:["反洗钱数据异常,可联系客服协助解决,客服电话:"+(1===Number(this.platform)?"400-646-9898":"400-919-7788")],confirmbtnText:"关闭"}),!1;this.elements=St,se&&jt?(this.personText="投、被保人身份证正反面照片",v()(this.cacheIdtype).map(function(t){"6"===t&&(e.personText+="、被保人户口本"),"1"===t&&(e.personText+="、被保人出生证")})):se?this.personText="投保人身份证正反面照片":jt&&v()(this.cacheIdtype).map(function(t){"0"===t&&(e.personText="被保人身份证正反面照片"),"6"===t&&(e.personText+="、被保人户口本"),"1"===t&&(e.personText+="、被保人出生证")}),nt&&v()(this.beneIdType).map(function(t){"0"===t&&(e.personText+="、受益人身份证正反面照片"),"6"===t&&(e.personText+="、受益人户口本"),"1"===t&&(e.personText+="、受益人出生证")}),rt&&v()(this.guardianIdType).map(function(t){"0"===t&&(e.personText+="、监护人身份证正反面照片")});var It=m.length;It&&(this.personText+=1===It?"、投保人银行卡正面照片":"、投保人银行卡正反面照片")},_getElementsInfo:function(e,t,i,n,r,o,a,s){var c=this,u=n.find(function(t){return 0!==Number(t.id_type)&&Number(t.id_type)===Number(e)})||null,f=this.antiMoneyConfig.insured&&1===Number(this.antiMoneyConfig.insured.idTypeValidShow);if(n.length&&0!==Number(e)&&(!u||0!==Number(u.id_type)&&0===Number(u.rule))){var l=I[e],d=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:"提示",content:"被保人:"+t+"购买本产品累计总保费已超过20万,暂不支持"+l+",请使用身份证进行投保",buttonType:"sticky",confirmButtonText:"确定",confirmButtonColor:this.brandColor,onConfirm:function(){c.hide(),d&&d.remove()}});return d.show(),!1}if(0===Number(e)){var p=r.side1;p=void 0===p?{}:p;var v=p.picUrl,y=void 0===v?"":v,h=p.picid,m=void 0===h?"":h,b=r.side2;b=void 0===b?{}:b;var g=b.picUrl,x=void 0===g?"":g,T=b.picid,_=void 0===T?"":T,k=[{key:"insured",needRelation:!0,name:t,id:i,idType:e,picBase:y,picId:m,side:"1",isCheck:!0,picType:0,applicableType:2,desc:"被保人"+t+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"insured",needRelation:!0,name:t,id:i,idType:e,idValidStartTime:o,idValidEndTime:a,idValidType:s,picBase:x,picId:_,side:"2",isCheck:!0,picType:0,applicableType:2,desc:"被保人"+t+"身份证(国徽面)",errCount:0,hasUpdate:!0}];if(f){var C=this._initDateElements("insured",i,t,o,a,s);k.push.apply(k,C)}return k}if(1===Number(e)){var w=n.length&&n.find(function(t){return Number(t.id_type)===Number(e)});return[{name:t,id:i,idType:e,picBase:"",picId:"",side:"1",isCheck:w&&2===Number(w.rule),picType:0,applicableType:2,desc:"被保人"+t+"出生证",errCount:0,hasUpdate:!0}]}if(6===Number(e)){var j=n.length&&n.find(function(t){return Number(t.id_type)===Number(e)}),S=r.side1;S=void 0===S?{}:S;var P=S.picUrl,O=void 0===P?"":P,N=S.picid,V=void 0===N?"":N,E=r.side2;E=void 0===E?{}:E;var M=E.picUrl,B=void 0===M?"":M,U=E.picid,D=void 0===U?"":U;return!j||3!==Number(j.rule)&&4!==Number(j.rule)?[{name:t,id:i,needRelation:!0,idType:e,picBase:O,picId:V,side:"1",isCheck:j&&2===Number(j.rule),picType:0,applicableType:2,desc:"被保人"+t+"户口本(被保人信息页)",errCount:0,hasUpdate:!0}]:[{name:t,id:i,needRelation:!0,idType:e,picBase:O,picId:V,side:"2",isCheck:j&&4===Number(j.rule),picType:0,applicableType:2,desc:"被保人"+t+"户口本(户主页)",errCount:0,hasUpdate:!0},{name:t,id:i,needRelation:!0,idType:e,picBase:B,picId:D,side:"1",isCheck:j&&4===Number(j.rule),picType:0,applicableType:2,desc:"被保人"+t+"户口本(被保人信息页)",errCount:0,hasUpdate:!0}]}return[]},_getBeneficiaries:function(e){var t=[];if(!e&&!e.length)return[];for(var i=e,n=Array.isArray(i),r=0,i=n?i:h()(i);;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;if(a.dutyBeneficiarys||"[object Object]"===Object.prototype.toString.call(a.dutyBeneficiarys)){var s=a.dutyBeneficiarys;for(var c in s)if(s[c].beneficiaries.length)for(var u=s[c].beneficiaries,f=u,l=Array.isArray(f),d=0,f=l?f:h()(f);;){var p;if(l){if(d>=f.length)break;p=f[d++]}else{if(d=f.next(),d.done)break;p=d.value}var v=p;!function(e){t.find(function(t){return t.cname===e.cname&&t.certificate.idType===e.certificate.idType&&t.certificate.id===e.certificate.id})||t.push(e)}(v)}}}return t},_genBeneElement:function(e){var t=this,i=e.idType,n=e.name,r=e.id,o=e.idConfig,a=e.presetIdPics,s=e.idValidStartTime,c=e.idValidEndTime,u=e.idValidType,f=o.find(function(e){return 0!==Number(e.id_type)&&Number(e.id_type)===Number(i)})||null,l=this.antiMoneyConfig.beneficiary&&1===Number(this.antiMoneyConfig.beneficiary.idTypeValidShow);if(o.length&&0!==Number(i)&&(!f||0!==Number(f.id_type)&&1===Number(f.rule))){var d=I[i],p=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:"提示",content:"受益人:"+n+"购买本产品累计总保费已超过20万,暂不支持"+d+",请使用身份证进行投保",buttonType:"sticky",confirmButtonText:"确定",confirmButtonColor:this.brandColor,onConfirm:function(){t.hide(),p&&p.remove()}});return p.show(),!1}if(0===Number(i)){var v=a.side1;v=void 0===v?{}:v;var y=v.picUrl,h=void 0===y?"":y,m=v.picid,b=void 0===m?"":m,g=a.side2;g=void 0===g?{}:g;var x=g.picUrl,T=void 0===x?"":x,_=g.picid,k=void 0===_?"":_,C=[{key:"beneficiary",name:n,id:r,idType:i,picBase:h,picId:b,side:"1",isCheck:!0,picType:0,applicableType:3,desc:"受益人"+n+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"beneficiary",name:n,id:r,idType:i,picBase:T,picId:k,side:"2",isCheck:!0,picType:0,applicableType:3,desc:"受益人"+n+"身份证(国徽面)",errCount:0,hasUpdate:!0}];if(l){var w=this._initDateElements("beneficiary",r,n,s,c,u);C.push.apply(C,w)}return C}if(1===Number(i)){var j=o.length&&o.find(function(e){return Number(e.id_type)===Number(i)});return[{name:n,id:r,idType:i,picBase:"",picId:"",side:"1",isCheck:j&&3===Number(j.rule),picType:0,applicableType:3,desc:"受益人"+n+"出生证",errCount:0,hasUpdate:!0}]}if(6===Number(i)){var S=o.length&&o.find(function(e){return Number(e.id_type)===Number(i)}),P=a.side1;P=void 0===P?{}:P;var O=P.picUrl,N=void 0===O?"":O,V=P.picid,E=void 0===V?"":V,M=a.side2;M=void 0===M?{}:M;var B=M.picUrl,U=void 0===B?"":B,D=M.picid,A=void 0===D?"":D;return!S||4!==Number(S.rule)&&5!==Number(S.rule)?[{name:n,id:r,idType:i,picBase:N,picId:E,side:"1",isCheck:S&&3===Number(S.rule),picType:0,applicableType:3,desc:"受益人"+n+"户口本(受益人信息页)",errCount:0,hasUpdate:!0}]:[{name:n,id:r,idType:i,picBase:N,picId:E,side:"2",isCheck:S&&5===Number(S.rule),picType:0,applicableType:3,desc:"受益人"+n+"户口本(户主页)",errCount:0,hasUpdate:!0},{name:n,id:r,idType:i,picBase:U,picId:A,side:"1",isCheck:S&&5===Number(S.rule),picType:0,applicableType:3,desc:"受益人"+n+"户口本(受益人信息页)",errCount:0,hasUpdate:!0}]}return[]},_getGuardians:function(e){var t=[];if(!e||!e.length)return[];for(var i=e,n=Array.isArray(i),r=0,i=n?i:h()(i);;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;if(a.guardians&&Object(w.isArray)(a.guardians))for(var s=a.guardians,c=s,u=Array.isArray(c),f=0,c=u?c:h()(c);;){var l;if(u){if(f>=c.length)break;l=c[f++]}else{if(f=c.next(),f.done)break;l=f.value}var d=l;!function(e){var i=e.cname,n=e.certificate,r=n.id,o=n.idType;t.find(function(e){return e.cname===i&&r===e.certificate.id&&o===e.certificate.idType})||t.push(e)}(d)}}return t},_getGuardianElement:function(e){var t=this,i=e.idType,n=e.name,r=e.id,o=e.idConfig,a=e.presetIdPics,s=e.idValidStartTime,c=e.idValidEndTime,u=e.idValidType,f=o.find(function(e){return 0!==Number(e.id_type)&&Number(e.id_type)===Number(i)})||null,l=this.antiMoneyConfig.guardian&&1===Number(this.antiMoneyConfig.guardian.idTypeValidShow);if(o.length&&0!==Number(i)&&(!f||0!==Number(f.id_type)&&1===Number(f.rule))){var d=I[i],p=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:"提示",content:"监护人:"+n+"购买本产品累计总保费已超过20万,暂不支持"+d+",请使用身份证进行投保",buttonType:"sticky",confirmButtonText:"确定",confirmButtonColor:this.brandColor,onConfirm:function(){t.hide(),p&&p.remove()}});return p.show(),!1}if(0===Number(i)){var v=a.side1;v=void 0===v?{}:v;var y=v.picUrl,h=void 0===y?"":y,m=v.picid,b=void 0===m?"":m,g=a.side2;g=void 0===g?{}:g;var x=g.picUrl,T=void 0===x?"":x,_=g.picid,k=void 0===_?"":_,C=[{key:"guarndian",name:n,id:r,idType:i,picBase:h,picId:b,side:"1",isCheck:!0,picType:0,applicableType:3,desc:"监护人"+n+"身份证(头像面)",errCount:0,hasUpdate:!0},{key:"guarndian",name:n,id:r,idType:i,picBase:T,picId:k,side:"2",isCheck:!0,picType:0,applicableType:3,desc:"监护人"+n+"身份证(国徽面)",errCount:0,hasUpdate:!0}];if(l){var w=this._initDateElements("guardian",r,n,s,c,u);C.push.apply(C,w)}return C}return[]},deleteFile:function(e){e.picBase="",e.picId=""},_chooseFile:function(e){var t=this;if(~~e.errCount>3)return this.showDialog({dialogType:1,dialogData:["您已多次识别失败,可联系客服协助解决,客服电话:"+(1===Number(this.platform)?"400-646-9898":"400-919-7788")],confirmbtnText:"关闭"}),!1;var i=this.appId||"",n=e.id,r=e.name,o=e.side,a=e.picType,s=e.extParams,u=void 0===s?{}:s,l=e.idType,d=void 0===l?"":l,p=e.applicableType,v=this.ext,y={picType:a,idtype:d,identity:n,name:r,applicableType:p,side:o};0==~~e.idType&&2==~~e.side&&["insured","applicant"].includes(e.key)&&(y.idValidStartTime=e.idValidStartTime||"",y.idValidEndTime=e.idValidEndTime||"",y.idValidType=e.idValidType||-1);var h=f()(y,u,v);x.a.ocr({sourceType:this.sourceType,appId:i,url:"/file/checkAntiMoneyPic",ext:h,beforeUpload:function(){t.showToast("上传中,请稍等...",0)},complete:function(){t.hideToast()}}).then(function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=i.ret,o=i.data,a=i.errmsg;if(0===Number(n)){var s=o||{},u=s.dataBase,f=s.localId,l=s.picId,p=s.url,v=s.ocrResult;if(e.key&&t.antiMoneyConfig[e.key]&&1===Number(t.antiMoneyConfig[e.key].idTypeValidShow)&&2==~~e.side){var y=v||{},h=y.idValidStartTime,m=void 0===h?"":h,b=y.idValidEndTime,g=void 0===b?"":b,x=y.idValidType,T=void 0===x?1:x,_=t.elements.find(function(t){return t.key===e.key+".idValidStartTime"}),k=t.elements.find(function(t){return t.key===e.key+".idValidEndTime"}),C=t.elements.find(function(t){return t.key===e.key+".idValidType"});_.defaultValue=m,k.defaultValue=g,C.defaultValue=T,k.display=~~T}if("presetRelationPics"===e.key)return void t.presetRelationPics.push({picUrl:p||u||f,picid:l});e.picBase=p||u||f,e.picId=l}else{if(!(t.showOcrFailDialog&&o&&o.detail_err&&o.detail_err.codes))return c.a.reject({errmsg:a});t.toOcrFail({code:o.detail_err.codes,idType:d,name:r})}}).catch(function(i){t.hideToast(),e.errCount+=1;var n=Object(w.getErrmsg)(i),r=i&&Object(w.isObject)(i)&&i.isWxInterfaceFail;t.showDialog({dialogType:1,dialogData:r?["系统异常,操作失败,请重试"]:[n],confirmbtnText:r?"我知道了":"重新上传",onConfirm:function(){r&&location.reload()}})})},toOcrFail:function(e){var t=this,i=e.code,n=e.idType,r=e.name,o=[],a="",s="重新上传";"ocr_fail"===i?(a=""+r+I[n]+"识别失败,请重新上传",o=['<p style="text-align:center;">'+I[n]+"识别失败,请重新上传</p>","请按要求上传证件,并确保上传的证件边框完整、字迹清晰、亮度均匀。","若确认照片无误,您也可以选择咨询客服"]):["name_neq","id_neq"].includes(i)?(a=""+r+I[n]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。",o=[I[n]+"照片中姓名/证件号码与填写投保信息填写的不一致,请重新上传。","若确认照片无误,您也可以选择咨询客服。"]):["id_valid_start_neq","id_valid_end_neq"].includes(i)&&(s=this.idValidFailConfirmText,a=""+r+I[n]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。",o=[I[n]+"照片中的有效起期或止期与填写投保信息填写的不一致,请前往修改投保信息。"]),this.showDialog({dialogType:2,dialogData:o,confirmbtnText:s,cancelbtnText:"咨询客服",onCancel:function(){window.XYSConsultV3&&window.XYSConsultV3.genConsultUrl({scene:"ocr",businessParam:{productTitle:"",errorWriting:a,tpl:"ocrfailed"}}).then(function(e){location.href=e})},onConfirm:function(){"去修改"===s&&t.$emit("amlOcrFailToModify")}})},_checkReady:function(){var e=this.elements||[],t=!0;if(e.length)for(var i=e,n=Array.isArray(i),r=0,i=n?i:h()(i);;){var o;if(n){if(r>=i.length)break;o=i[r++]}else{if(r=i.next(),r.done)break;o=r.value}var a=o;if(!a.picId||!a.picBase){t=!1;break}}t&&this._getResult()},_getResult:function(){var e=this.elements||[],t=a()(null);if(e.length)for(var i=e,n=Array.isArray(i),o=0,i=n?i:h()(i);;){var s;if(n){if(o>=i.length)break;s=i[o++]}else{if(o=i.next(),o.done)break;s=o.value}var c=s,u=c.name,f=c.id,l="";if(l=c.site?c.cname+"_"+f:u+"_"+f,t[l]||(t[l]={name:u,id:f,picInfo:[]}),c.site){var d=c.key.split(".")[1];t[l].certificate=t[l].certificate||{},t[l].certificate[d]=c.defaultValue}else{c.needRelation&&1==~~this.relationInfo.needRelation&&(t[l].relationPicId=this.presetRelationPics.map(function(e){return e.picid}));var p=Number(c.picType),v=Number(c.side),y=c.picId;0===p?1===v?(t[l].frontId=y,t[l].picInfo.push({idType:Number(c.idType),picId:y,side:v})):2===v&&(t[l].backId=y,t[l].picInfo.push({idType:Number(c.idType),picId:y,side:v})):1===p&&(1===v?t[l].frontBankId=y:2===v&&(t[l].backBankId=y))}}var m=r()(t);this.completed(m)},completed:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.$emit("completed",e)},refreshScroll:function(){var e=this;this.$nextTick(function(){e.$refs.scroll&&e.$refs.scroll.refresh()})},showDialog:function(e){var t=e.dialogType,i=void 0===t?1:t,n=e.dialogTitle,r=void 0===n?"":n,o=e.dialogData,a=e.cancelbtnText,s=void 0===a?"取消":a,c=e.confirmbtnText,u=void 0===c?"确定":c,f=e.onConfirm,l=void 0===f?function(){}:f,d=e.onCancel,p=void 0===d?function(){}:d,v=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:r,content:o.join("<br/>"),buttonType:"sticky",showCancelButton:1!==Number(i),cancelButtonText:s,confirmButtonText:u,confirmButtonColor:this.brandColor,onConfirm:function(){v&&v.remove(),l()},onCancel:function(){v&&v.remove(),p()}});v.show()},showToast:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast({zIndex:this.extraZindex})),this.toast.show(e,t)},hideToast:function(){this.toast&&this.toast.hide()},resetBodyOverflow:function(){document.body.style.overflow=this.bodyOverflowOrigin||"auto"},error:function(e){this.$emit("error",e)},toBack:function(){this.hide(),this.$emit("back")},confirm:function(){if(!this.canConfirm)return this.showToast("请上传所有图片",1e3),!1;this._getResult()},changeValue:function(e,t){var i=t.key,n=t.value;t.site;e.defaultValue=n;var r=i.split(".")[0];if(i.includes("idValidType")){var o=this.elements.find(function(e){return e.key===r+".idValidEndTime"});o&&0===Number(n)&&(o.display=0),o&&1===Number(n)&&(o.display=1)}console.log("key",i,"value",n)},_initDateElements:function(e,t,i,n,r,o){var a=(new Date).getFullYear(),s=a-50,c=((new Date).getMonth()+1+"").padStart(2,"0"),u=((new Date).getDate()+"").padStart(2,"0"),f=s+c+u;return[{id:t,cname:i,key:e+".idValidType",site:[""+e],name:"证件有效期",defaultValue:o||"1",attributeValues:[{value:"0",text:"长期",status:1},{value:"1",text:"非长期",status:1}],desc:"长期",type:"5",tips:"",display:1,element_attr:"",errorRemind:"",valueUnit:"0",defaultRemind:"请选择投保人证件有效期",pureDisplay:"1"},{id:t,cname:i,key:e+".idValidStartTime",site:[""+e],name:"证件有效起期",defaultValue:n||a-10+c+u,attributeValues:[{max:a+c+u,conMax:1,min:f,conMin:1}],type:"7",tips:"",display:1,element_attr:"",errorRemind:"",valueUnit:"0",defaultRemind:"请选择",pureDisplay:"1"},{id:t,cname:i,key:e+".idValidEndTime",site:[""+e],name:"证件有效止期",defaultValue:r||a+10+c+u,attributeValues:[{max:a+50+c+u,conMax:1,min:a+c+u,conMin:1}],type:"7",tips:"",display:1==~~o?1:0,element_attr:"",errorRemind:"",valueUnit:"0",defaultRemind:"请选择",pureDisplay:"1"}]},preview:function(e){this.imagePreview?this.imagePreview.setData(this.list,e):this.imagePreview=this.$createImagePreview({images:this.list,start:e,zIndex:this.zIndex}),this.imagePreview.show()},deleteImg:function(e){this.presetRelationPics.splice(e,1)}},beforeDestroy:function(){this.resetBodyOverflow()},watch:{isVisible:function(e){e?this.refreshScroll():this.resetBodyOverflow()}}}},11:function(e,t){e.exports={}},112:function(e,t,i){t.f=i(1)},113:function(e,t,i){var n=i(0),r=i(2),o=i(18),a=i(112),s=i(9).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},114:function(e,t,i){e.exports={default:i(117),__esModule:!0}},117:function(e,t,i){i(48),i(45),e.exports=i(118)},118:function(e,t,i){var n=i(4),r=i(53);e.exports=i(2).getIterator=function(e){var t=r(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},12:function(e,t,i){var n=i(30),r=i(16);e.exports=function(e){return n(r(e))}},125:function(e,t,i){var n=i(37),r=i(28).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},13:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},131:function(e,t,i){var n=i(24)("meta"),r=i(6),o=i(7),a=i(9).f,s=0,c=Object.isExtensible||function(){return!0},u=!i(13)(function(){return c(Object.preventExtensions({}))}),f=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},l=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!c(e))return"F";if(!t)return"E";f(e)}return e[n].i},d=function(e,t){if(!o(e,n)){if(!c(e))return!0;if(!t)return!1;f(e)}return e[n].w},p=function(e){return u&&v.NEED&&c(e)&&!o(e,n)&&f(e),e},v=e.exports={KEY:n,NEED:!1,fastKey:l,getWeak:d,onFreeze:p}},14:function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},15:function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:i)(e)}},153:function(e,t,i){var n=i(14);e.exports=Array.isArray||function(e){return"Array"==n(e)}},155:function(e,t,i){e.exports={default:i(168),__esModule:!0}},156:function(e,t,i){var n=i(10),r=i(2),o=i(13);e.exports=function(e,t){var i=(r.Object||{})[e]||Object[e],a={};a[e]=t(i),n(n.S+n.F*o(function(){i(1)}),"Object",a)}},1572:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(22),r=i.n(n),o=i(1573);o.a.install=function(e){e.component(o.a.name,o.a),e.prototype.$createGoldAml=r()(o.a,e)},t.default=o.a},1573:function(e,t,i){"use strict";function n(e){s||i(1574)}var r=i(1072),o=i(1578),a=i(8),s=!1,c=n,u=Object(a.a)(r.a,o.a,o.b,!1,c,"data-v-b9b9c744",null);u.options.__file="src\\components\\GoldAml\\src\\index.vue",t.a=u.exports},1574:function(e,t){},1575:function(e,t,i){e.exports={default:i(1576),__esModule:!0}},1576:function(e,t,i){i(1577);var n=i(2).Object;e.exports=function(e,t){return n.create(e,t)}},1577:function(e,t,i){var n=i(10);n(n.S,"Object",{create:i(46)})},1578:function(e,t,i){"use strict";i.d(t,"a",function(){return n}),i.d(t,"b",function(){return r});var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isVisible,expression:"isVisible"}],staticClass:"act-aml-box",style:{"z-index":e.zIndex},on:{click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"act-aml-hd"},[n("div",{staticClass:"act-aml-hd-tit"},[e._v("\n "+e._s(e.antiMoneyTitle?e.antiMoneyTitle:"尊敬的客户,"+(e.reason||"您购买本产品累计总保费已超过20万")+",按照监管要求,需要提供"+e.personText+"。上传验证过程需要5-7秒,请耐心等待。")+"\n ")])]),e._v(" "),e.elements&&e.elements.length?[n("div",{staticClass:"act-aml-list-box"},[n("div",{staticClass:"act-aml-tips"},[n("svg-icon",{attrs:{iconClass:"exclamation-mark"}}),e._v(" "),n("div",{staticClass:"title"},[n("span",[e._v("请确保证件边框完整,字体清晰,亮度均匀")])])],1),e._v(" "),n("div",{staticClass:"act-aml-bd"},[e._l(e.elements,function(t,r){return["bank"===t.key&&t.bankNo?n("div",{key:"tips"+t.key+r,staticClass:"act-title-tips"},[n("h5",{staticClass:"act-title"},[e._v("\n 上传银行卡\n ")]),e._v(" "),n("div",{staticClass:"act-tips"},[n("div",{staticClass:"bank-id"},[e._v("\n 银行卡号:"),n("span",[e._v(e._s(e.handleBankNo(t.bankNo)))])]),e._v(" "),n("p",{staticClass:"tip"},[n("img",{attrs:{src:i(902),alt:""}}),e._v(" "),n("span",[e._v("请核对银行卡号与上传银行卡影响是否一致")])])])]):e._e(),e._v(" "),t.site?n("act-gold-element",{key:""+t.key+r,attrs:{element:t,zIndex:e.zIndex,brandColor:e.brandColor,btnColor:e.btnColor},on:{change:function(i){for(var n=arguments.length,r=Array(n);n--;)r[n]=arguments[n];return e.changeValue.apply(void 0,[t].concat(r))}}}):n("photo-box",{key:""+t.key+r,attrs:{element:t},on:{chooseFile:e._chooseFile,deleteFile:e.deleteFile}})]})],2)])]:e._e(),e._v(" "),1==~~e.relationInfo.needRelation?[n("div",{staticClass:"act-aml-relation"},[n("h5",{staticClass:"act-aml-relation-title"},[e._v("\n 请上传投被保人关系证明照片\n ")]),e._v(" "),n("ul",{staticClass:"act-aml-relation-tip"},[n("li",[e._v("1.出生证明")]),e._v(" "),n("li",[e._v("2.居民户口薄索引页,若没有户口薄索引页,则传户口薄户主页、投保人本人页、被保人本人页")]),e._v(" "),n("li",[e._v("3.居委会、村委会、派出所开具的关系证明")])]),e._v(" "),n("div",{staticClass:"act-aml-relation-upload"},[n("ul",{staticClass:"relation-upload-list"},[e._l(e.presetRelationPics,function(t,i){return n("li",{key:"pic_"+i,staticClass:"relation-upload-item"},[n("img",{attrs:{src:t.picUrl,alt:""},on:{click:function(t){return t.stopPropagation(),e.preview(i)}}}),e._v(" "),n("p",{staticClass:"relation-upload-delete",on:{click:function(t){return t.stopPropagation(),e.deleteImg(i)}}},[e._v("\n ×\n ")])])}),e._v(" "),e.presetRelationPics.length<3?n("li",{key:"upload",staticClass:"relation-upload-add",on:{click:function(t){return e._chooseFile(e.relationElement)}}},[n("img",{attrs:{src:i(1579),alt:""}}),e._v(" "),n("p",[e._v("添加照片")])]):e._e()],2)])])]:e._e(),e._v(" "),n("div",{staticClass:"act-aml-btn-group"},[n("div",{staticClass:"act-aml-back-btn",on:{click:e.toBack}},[e._v("\n 返回修改\n ")]),e._v(" "),n("div",{staticClass:"act-aml-confirm-btn",style:{background:e.computedBrandColor,opacity:e.canConfirm?1:.7},on:{click:e.confirm}},[e._v("\n 确认信息\n ")])])],2)])},r=[];n._withStripped=!0},1579:function(e,t){e.exports=c},16:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},168:function(e,t,i){i(169),e.exports=i(2).Object.keys},169:function(e,t,i){var n=i(29),r=i(26);i(156)("keys",function(){return function(e){return r(n(e))}})},17:function(e,t,i){var n=i(20);e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}}},171:function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=i(172),o=n(r),a=i(174),s=n(a),c="function"==typeof s.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===c(o.default)?function(e){return void 0===e?"undefined":c(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":void 0===e?"undefined":c(e)}},172:function(e,t,i){e.exports={default:i(173),__esModule:!0}},173:function(e,t,i){i(45),i(48),e.exports=i(112).f("iterator")},174:function(e,t,i){e.exports={default:i(175),__esModule:!0}},175:function(e,t,i){i(176),i(67),i(180),i(181),e.exports=i(2).Symbol},176:function(e,t,i){"use strict";var n=i(0),r=i(7),o=i(3),a=i(10),s=i(47),c=i(131).KEY,u=i(13),f=i(27),l=i(25),d=i(24),p=i(1),v=i(112),y=i(113),h=i(177),m=i(153),b=i(4),g=i(6),x=i(29),T=i(12),_=i(34),k=i(23),C=i(46),w=i(178),j=i(179),S=i(52),I=i(9),P=i(26),O=j.f,N=I.f,V=w.f,E=n.Symbol,M=n.JSON,B=M&&M.stringify,U=p("_hidden"),D=p("toPrimitive"),A={}.propertyIsEnumerable,R=f("symbol-registry"),F=f("symbols"),L=f("op-symbols"),G=Object.prototype,q="function"==typeof E&&!!S.f,$=n.QObject,z=!$||!$.prototype||!$.prototype.findChild,W=o&&u(function(){return 7!=C(N({},"a",{get:function(){return N(this,"a",{value:7}).a}})).a})?function(e,t,i){var n=O(G,t);n&&delete G[t],N(e,t,i),n&&e!==G&&N(G,t,n)}:N,Z=function(e){var t=F[e]=C(E.prototype);return t._k=e,t},H=q&&"symbol"==typeof E.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof E},K=function(e,t,i){return e===G&&K(L,t,i),b(e),t=_(t,!0),b(i),r(F,t)?(i.enumerable?(r(e,U)&&e[U][t]&&(e[U][t]=!1),i=C(i,{enumerable:k(0,!1)})):(r(e,U)||N(e,U,k(1,{})),e[U][t]=!0),W(e,t,i)):N(e,t,i)},Y=function(e,t){b(e);for(var i,n=h(t=T(t)),r=0,o=n.length;o>r;)K(e,i=n[r++],t[i]);return e},J=function(e,t){return void 0===t?C(e):Y(C(e),t)},X=function(e){var t=A.call(this,e=_(e,!0));return!(this===G&&r(F,e)&&!r(L,e))&&(!(t||!r(this,e)||!r(F,e)||r(this,U)&&this[U][e])||t)},Q=function(e,t){if(e=T(e),t=_(t,!0),e!==G||!r(F,t)||r(L,t)){var i=O(e,t);return!i||!r(F,t)||r(e,U)&&e[U][t]||(i.enumerable=!0),i}},ee=function(e){for(var t,i=V(T(e)),n=[],o=0;i.length>o;)r(F,t=i[o++])||t==U||t==c||n.push(t);return n},te=function(e){for(var t,i=e===G,n=V(i?L:T(e)),o=[],a=0;n.length>a;)!r(F,t=n[a++])||i&&!r(G,t)||o.push(F[t]);return o};q||(E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(i){this===G&&t.call(L,i),r(this,U)&&r(this[U],e)&&(this[U][e]=!1),W(this,e,k(1,i))};return o&&z&&W(G,e,{configurable:!0,set:t}),Z(e)},s(E.prototype,"toString",function(){return this._k}),j.f=Q,I.f=K,i(125).f=w.f=ee,i(44).f=X,S.f=te,o&&!i(18)&&s(G,"propertyIsEnumerable",X,!0),v.f=function(e){return Z(p(e))}),a(a.G+a.W+a.F*!q,{Symbol:E});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;ie.length>ne;)p(ie[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)y(re[oe++]);a(a.S+a.F*!q,"Symbol",{for:function(e){return r(R,e+="")?R[e]:R[e]=E(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!q,"Object",{create:J,defineProperty:K,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=u(function(){S.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return S.f(x(e))}}),M&&a(a.S+a.F*(!q||u(function(){var e=E();return"[null]"!=B([e])||"{}"!=B({a:e})||"{}"!=B(Object(e))})),"JSON",{stringify:function(e){for(var t,i,n=[e],r=1;arguments.length>r;)n.push(arguments[r++]);if(i=t=n[1],(g(t)||void 0!==e)&&!H(e))return m(t)||(t=function(e,t){if("function"==typeof i&&(t=i.call(this,e,t)),!H(t))return t}),n[1]=t,B.apply(M,n)}}),E.prototype[D]||i(5)(E.prototype,D,E.prototype.valueOf),l(E,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},177:function(e,t,i){var n=i(26),r=i(52),o=i(44);e.exports=function(e){var t=n(e),i=r.f;if(i)for(var a,s=i(e),c=o.f,u=0;s.length>u;)c.call(e,a=s[u++])&&t.push(a);return t}},178:function(e,t,i){var n=i(12),r=i(125).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(n(e))}},179:function(e,t,i){var n=i(44),r=i(23),o=i(12),a=i(34),s=i(7),c=i(36),u=Object.getOwnPropertyDescriptor;t.f=i(3)?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(e){}if(s(e,t))return r(!n.f.call(e,t),e[t])}},18:function(e,t){e.exports=!0},180:function(e,t,i){i(113)("asyncIterator")},181:function(e,t,i){i(113)("observable")},19:function(e,t,i){var n=i(27)("keys"),r=i(24);e.exports=function(e){return n[e]||(n[e]=r(e))}},2:function(e,t){var i=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=i)},20:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},21:function(e,t,i){var n=i(6),r=i(0).document,o=n(r)&&n(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},22:function(t,i){t.exports=e},23:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},24:function(e,t){var i=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+n).toString(36))}},25:function(e,t,i){var n=i(9).f,r=i(7),o=i(1)("toStringTag");e.exports=function(e,t,i){e&&!r(e=i?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},26:function(e,t,i){var n=i(37),r=i(28);e.exports=Object.keys||function(e){return n(e,r)}},27:function(e,t,i){var n=i(2),r=i(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:i(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},284:function(e,t){e.exports=r},29:function(e,t,i){var n=i(16);e.exports=function(e){return Object(n(e))}},3:function(e,t,i){e.exports=!i(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(e,t,i){var n=i(14);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},31:function(e,t,i){var n=i(15),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},32:function(e,i){e.exports=t},33:function(e,t,i){"use strict";var n=i(18),r=i(10),o=i(47),a=i(5),s=i(11),c=i(55),u=i(25),f=i(57),l=i(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,i,v,y,h,m){c(i,t,v);var b,g,x,T=function(e){if(!d&&e in w)return w[e];switch(e){case"keys":case"values":return function(){return new i(this,e)}}return function(){return new i(this,e)}},_=t+" Iterator",k="values"==y,C=!1,w=e.prototype,j=w[l]||w["@@iterator"]||y&&w[y],S=j||T(y),I=y?k?T("entries"):S:void 0,P="Array"==t?w.entries||j:j;if(P&&(x=f(P.call(new e)))!==Object.prototype&&x.next&&(u(x,_,!0),n||"function"==typeof x[l]||a(x,l,p)),k&&j&&"values"!==j.name&&(C=!0,S=function(){return j.call(this)}),n&&!m||!d&&!C&&w[l]||a(w,l,S),s[t]=S,s[_]=p,y)if(b={values:k?S:T("values"),keys:h?S:T("keys"),entries:I},m)for(g in b)g in w||o(w,g,b[g]);else r(r.P+r.F*(d||C),t,b);return b}},34:function(e,t,i){var n=i(6);e.exports=function(e,t){if(!n(e))return e;var i,r;if(t&&"function"==typeof(i=e.toString)&&!n(r=i.call(e)))return r;if("function"==typeof(i=e.valueOf)&&!n(r=i.call(e)))return r;if(!t&&"function"==typeof(i=e.toString)&&!n(r=i.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},35:function(e,t){e.exports=i},36:function(e,t,i){e.exports=!i(3)&&!i(13)(function(){return 7!=Object.defineProperty(i(21)("div"),"a",{get:function(){return 7}}).a})},37:function(e,t,i){var n=i(7),r=i(12),o=i(41)(!1),a=i(19)("IE_PROTO");e.exports=function(e,t){var i,s=r(e),c=0,u=[];for(i in s)i!=a&&n(s,i)&&u.push(i);for(;t.length>c;)n(s,i=t[c++])&&(~o(u,i)||u.push(i));return u}},38:function(e,t,i){var n=i(0).document;e.exports=n&&n.documentElement},39:function(e,t,i){"use strict";function n(e){var t,i;this.promise=new e(function(e,n){if(void 0!==t||void 0!==i)throw TypeError("Bad Promise constructor");t=e,i=n}),this.resolve=r(t),this.reject=r(i)}var r=i(20);e.exports.f=function(e){return new n(e)}},4:function(e,t,i){var n=i(6);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},40:function(e,t,i){var n=i(14),r=i(1)("toStringTag"),o="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,i,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=a(t=Object(e),r))?i:o?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},41:function(e,t,i){var n=i(12),r=i(31),o=i(42);e.exports=function(e){return function(t,i,a){var s,c=n(t),u=r(c.length),f=o(a,u);if(e&&i!=i){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((e||f in c)&&c[f]===i)return e||f||0;return!e&&-1}}},42:function(e,t,i){var n=i(15),r=Math.max,o=Math.min;e.exports=function(e,t){return e=n(e),e<0?r(e+t,0):o(e,t)}},44:function(e,t){t.f={}.propertyIsEnumerable},45:function(e,t,i){"use strict";var n=i(54)(!0);i(33)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=n(t,i),this._i+=e.length,{value:e,done:!1})})},46:function(e,t,i){var n=i(4),r=i(56),o=i(28),a=i(19)("IE_PROTO"),s=function(){},c=function(){var e,t=i(21)("iframe"),n=o.length;for(t.style.display="none",i(38).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;n--;)delete c.prototype[o[n]];return c()};e.exports=Object.create||function(e,t){var i;return null!==e?(s.prototype=n(e),i=new s,s.prototype=null,i[a]=e):i=c(),void 0===t?i:r(i,t)}},47:function(e,t,i){e.exports=i(5)},48:function(e,t,i){i(63);for(var n=i(0),r=i(5),o=i(11),a=i(1)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],f=n[u],l=f&&f.prototype;l&&!l[a]&&r(l,a,u),o[u]=o.Array}},5:function(e,t,i){var n=i(9),r=i(23);e.exports=i(3)?function(e,t,i){return n.f(e,t,r(1,i))}:function(e,t,i){return e[t]=i,e}},52:function(e,t){t.f=Object.getOwnPropertySymbols},53:function(e,t,i){var n=i(40),r=i(1)("iterator"),o=i(11);e.exports=i(2).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[n(e)]}},54:function(e,t,i){var n=i(15),r=i(16);e.exports=function(e){return function(t,i){var o,a,s=String(r(t)),c=n(i),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},55:function(e,t,i){"use strict";var n=i(46),r=i(23),o=i(25),a={};i(5)(a,i(1)("iterator"),function(){return this}),e.exports=function(e,t,i){e.prototype=n(a,{next:r(1,i)}),o(e,t+" Iterator")}},56:function(e,t,i){var n=i(9),r=i(4),o=i(26);e.exports=i(3)?Object.defineProperties:function(e,t){r(e);for(var i,a=o(t),s=a.length,c=0;s>c;)n.f(e,i=a[c++],t[i]);return e}},57:function(e,t,i){var n=i(7),r=i(29),o=i(19)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},58:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},59:function(e,t,i){var n=i(4),r=i(20),o=i(1)("species");e.exports=function(e,t){var i,a=n(e).constructor;return void 0===a||void 0==(i=n(a)[o])?t:r(i)}},6:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},60:function(e,t,i){var n,r,o,a=i(17),s=i(82),c=i(38),u=i(21),f=i(0),l=f.process,d=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,y=f.Dispatch,h=0,m={},b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},g=function(e){b.call(e.data)};d&&p||(d=function(e){for(var t=[],i=1;arguments.length>i;)t.push(arguments[i++]);return m[++h]=function(){s("function"==typeof e?e:Function(e),t)},n(h),h},p=function(e){delete m[e]},"process"==i(14)(l)?n=function(e){l.nextTick(a(b,e,1))}:y&&y.now?n=function(e){y.now(a(b,e,1))}:v?(r=new v,o=r.port2,r.port1.onmessage=g,n=a(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):n="onreadystatechange"in u("script")?function(e){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:d,clear:p}},61:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},62:function(e,t,i){var n=i(4),r=i(6),o=i(39);e.exports=function(e,t){if(n(e),r(t)&&t.constructor===e)return t;var i=o.f(e);return(0,i.resolve)(t),i.promise}},63:function(e,t,i){"use strict";var n=i(64),r=i(58),o=i(11),a=i(12);e.exports=i(33)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,r(1)):"keys"==t?r(0,i):"values"==t?r(0,e[i]):r(0,[i,e[i]])},"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},64:function(e,t){e.exports=function(){}},65:function(e,t,i){e.exports={default:i(68),__esModule:!0}},651:function(e,t,i){e.exports={default:i(652),__esModule:!0}},652:function(e,t,i){i(653),e.exports=i(2).Object.values},653:function(e,t,i){var n=i(10),r=i(654)(!1);n(n.S,"Object",{values:function(e){return r(e)}})},654:function(e,t,i){var n=i(3),r=i(26),o=i(12),a=i(44).f;e.exports=function(e){return function(t){for(var i,s=o(t),c=r(s),u=c.length,f=0,l=[];u>f;)i=c[f++],n&&!a.call(s,i)||l.push(e?[i,s[i]]:s[i]);return l}}},66:function(e,t,i){e.exports={default:i(80),__esModule:!0}},669:function(e,t){e.exports=o},67:function(e,t){},68:function(e,t,i){i(69),e.exports=i(2).Object.assign},69:function(e,t,i){var n=i(10);n(n.S+n.F,"Object",{assign:i(70)})},7:function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},70:function(e,t,i){"use strict";var n=i(3),r=i(26),o=i(52),a=i(44),s=i(29),c=i(30),u=Object.assign;e.exports=!u||i(13)(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=u({},e)[i]||Object.keys(u({},t)).join("")!=n})?function(e,t){for(var i=s(e),u=arguments.length,f=1,l=o.f,d=a.f;u>f;)for(var p,v=c(arguments[f++]),y=l?r(v).concat(l(v)):r(v),h=y.length,m=0;h>m;)p=y[m++],n&&!d.call(v,p)||(i[p]=v[p]);return i}:u},72:function(e,t,i){var n=i(17),r=i(73),o=i(74),a=i(4),s=i(31),c=i(53),u={},f={},t=e.exports=function(e,t,i,l,d){var p,v,y,h,m=d?function(){return e}:c(e),b=n(i,l,t?2:1),g=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(o(m)){for(p=s(e.length);p>g;g++)if((h=t?b(a(v=e[g])[0],v[1]):b(e[g]))===u||h===f)return h}else for(y=m.call(e);!(v=y.next()).done;)if((h=r(y,b,v.value,t))===u||h===f)return h};t.BREAK=u,t.RETURN=f},73:function(e,t,i){var n=i(4);e.exports=function(e,t,i,r){try{return r?t(n(i)[0],i[1]):t(i)}catch(t){var o=e.return;throw void 0!==o&&n(o.call(e)),t}}},74:function(e,t,i){var n=i(11),r=i(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||o[r]===e)}},75:function(e,t){e.exports=function(e,t,i,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(i+": incorrect invocation!");return e}},76:function(e,t,i){var n=i(5);e.exports=function(e,t,i){for(var r in t)i&&e[r]?e[r]=t[r]:n(e,r,t[r]);return e}},77:function(e,t,i){var n=i(1)("iterator"),r=!1;try{var o=[7][n]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var i=!1;try{var o=[7],a=o[n]();a.next=function(){return{done:i=!0}},o[n]=function(){return a},e(o)}catch(e){}return i}},78:function(e,t,i){"use strict";var n=i(0),r=i(2),o=i(9),a=i(3),s=i(1)("species");e.exports=function(e){var t="function"==typeof r[e]?r[e]:n[e];a&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},8:function(e,t,i){"use strict";function n(e,t,i,n,r,o,a,s){e=e||{};var c=typeof e.default;"object"!==c&&"function"!==c||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=i,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var f;if(a?(f=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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=f):r&&(f=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(e,t){return f.call(t),l(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,f):[f]}return{exports:e,options:u}}t.a=n},80:function(e,t,i){i(67),i(45),i(48),i(81),i(85),i(86),e.exports=i(2).Promise},81:function(e,t,i){"use strict";var n,r,o,a,s=i(18),c=i(0),u=i(17),f=i(40),l=i(10),d=i(6),p=i(20),v=i(75),y=i(72),h=i(59),m=i(60).set,b=i(83)(),g=i(39),x=i(61),T=i(84),_=i(62),k=c.TypeError,C=c.process,w=C&&C.versions,j=w&&w.v8||"",S=c.Promise,I="process"==f(C),P=function(){},O=r=g.f,N=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[i(1)("species")]=function(e){e(P,P)};return(I||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof t&&0!==j.indexOf("6.6")&&-1===T.indexOf("Chrome/66")}catch(e){}}(),V=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},E=function(e,t){if(!e._n){e._n=!0;var i=e._c;b(function(){for(var n=e._v,r=1==e._s,o=0;i.length>o;)!function(t){var i,o,a,s=r?t.ok:t.fail,c=t.resolve,u=t.reject,f=t.domain;try{s?(r||(2==e._h&&U(e),e._h=1),!0===s?i=n:(f&&f.enter(),i=s(n),f&&(f.exit(),a=!0)),i===t.promise?u(k("Promise-chain cycle")):(o=V(i))?o.call(i,c,u):c(i)):u(n)}catch(e){f&&!a&&f.exit(),u(e)}}(i[o++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){m.call(c,function(){var t,i,n,r=e._v,o=B(e);if(o&&(t=x(function(){I?C.emit("unhandledRejection",r,e):(i=c.onunhandledrejection)?i({promise:e,reason:r}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",r)}),e._h=I||B(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},B=function(e){return 1!==e._h&&0===(e._a||e._c).length},U=function(e){m.call(c,function(){var t;I?C.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})})},D=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),E(t,!0))},A=function(e){var t,i=this;if(!i._d){i._d=!0,i=i._w||i;try{if(i===e)throw k("Promise can't be resolved itself");(t=V(e))?b(function(){var n={_w:i,_d:!1};try{t.call(e,u(A,n,1),u(D,n,1))}catch(e){D.call(n,e)}}):(i._v=e,i._s=1,E(i,!1))}catch(e){D.call({_w:i,_d:!1},e)}}};N||(S=function(e){v(this,S,"Promise","_h"),p(e),n.call(this);try{e(u(A,this,1),u(D,this,1))}catch(e){D.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=i(76)(S.prototype,{then:function(e,t){var i=O(h(this,S));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=I?C.domain:void 0,this._c.push(i),this._a&&this._a.push(i),this._s&&E(this,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n;this.promise=e,this.resolve=u(A,e,1),this.reject=u(D,e,1)},g.f=O=function(e){return e===S||e===a?new o(e):r(e)}),l(l.G+l.W+l.F*!N,{Promise:S}),i(25)(S,"Promise"),i(78)("Promise"),a=i(2).Promise,l(l.S+l.F*!N,"Promise",{reject:function(e){var t=O(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!N),"Promise",{resolve:function(e){return _(s&&this===a?S:this,e)}}),l(l.S+l.F*!(N&&i(77)(function(e){S.all(e).catch(P)})),"Promise",{all:function(e){var t=this,i=O(t),n=i.resolve,r=i.reject,o=x(function(){var i=[],o=0,a=1;y(e,!1,function(e){var s=o++,c=!1;i.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!0,i[s]=e,--a||n(i))},r)}),--a||n(i)});return o.e&&r(o.v),i.promise},race:function(e){var t=this,i=O(t),n=i.reject,r=x(function(){y(e,!1,function(e){t.resolve(e).then(i.resolve,n)})});return r.e&&n(r.v),i.promise}})},82:function(e,t){e.exports=function(e,t,i){var n=void 0===i;switch(t.length){case 0:return n?e():e.call(i);case 1:return n?e(t[0]):e.call(i,t[0]);case 2:return n?e(t[0],t[1]):e.call(i,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(i,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(i,t[0],t[1],t[2],t[3])}return e.apply(i,t)}},83:function(e,t,i){var n=i(0),r=i(60).set,o=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,c="process"==i(14)(a);e.exports=function(){var e,t,i,u=function(){var n,r;for(c&&(n=a.domain)&&n.exit();e;){r=e.fn,e=e.next;try{r()}catch(n){throw e?i():t=void 0,n}}t=void 0,n&&n.enter()};if(c)i=function(){a.nextTick(u)};else if(!o||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);i=function(){f.then(u)}}else i=function(){r.call(n,u)};else{var l=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),i=function(){d.data=l=!l}}return function(n){var r={fn:n,next:void 0};t&&(t.next=r),e||(e=r,i()),t=r}}},84:function(e,t,i){var n=i(0),r=n.navigator;e.exports=r&&r.userAgent||""},85:function(e,t,i){"use strict";var n=i(10),r=i(2),o=i(0),a=i(59),s=i(62);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,r.Promise||o.Promise),i="function"==typeof e;return this.then(i?function(i){return s(t,e()).then(function(){return i})}:e,i?function(i){return s(t,e()).then(function(){throw i})}:e)}})},86:function(e,t,i){"use strict";var n=i(10),r=i(39),o=i(61);n(n.S,"Promise",{try:function(e){var t=r.f(this),i=o(e);return(i.e?t.reject:t.resolve)(i.v),t.promise}})},9:function(e,t,i){var n=i(4),r=i(36),o=i(34),a=Object.defineProperty;t.f=i(3)?Object.defineProperty:function(e,t,i){if(n(e),t=o(t,!0),n(i),r)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},901:function(e,t){e.exports=a},902:function(e,t){e.exports=s}})});
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/GoldElement/index.js","@xysfe/actui/es/assets/img/photo.png"],e):"object"==typeof exports?exports.GoldCert=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png")):t.GoldCert=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/FileUpload/index.js"],t["@xysfe/actui/es/GoldElement/index.js"],t["@xysfe/actui/es/assets/img/photo.png"])}("undefined"!=typeof self?self:this,function(t,e,n,r,i,o,s){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2022)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),i=n(24),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),i=n(2),o=n(17),s=n(5),a=n(7),c=function(t,e,n){var u,f,l,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,y=t&c.B,m=t&c.W,_=p?i:i[e]||(i[e]={}),x=_.prototype,g=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(u in n)(f=!d&&g&&void 0!==g[u])&&a(_,u)||(l=f?g[u]:n[u],_[u]=p&&"function"!=typeof g[u]?n[u]:y&&f?o(l,r):m&&g[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[u]=l,t&c.R&&x&&!x[u]&&s(x,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},11:function(t,e){t.exports={}},1174:function(t,e,n){"use strict";var r=n(66),i=n.n(r),o=n(65),s=n.n(o),a=n(2025),c=n(32),u=n.n(c),f=n(2028),l=n(284),d=n.n(l),p=n(35),h=(n.n(p),n(2031)),v=n(95),y=n.n(v);e.a={name:"ActGoldCert",components:{photo:a.a,relateVerifyPhoto:f.a},mixins:[u.a],props:{certDetail:{type:Array,default:function(){return[]}},certTitle:{type:String,default:""},buyId:{type:String,default:""},taskId:{type:String,default:""},appId:{type:String,default:""},sourceType:{type:Array,default:function(){return["album","camera"]}},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},ocrApplyVerifyUrl:{type:String,default:"/offlineBuy/ocrApplyVerify"},hasSubmit:{type:Boolean,default:!1},ext:{type:Boolean,default:!1}},computed:{extraZindex:function(){return 2+~~this.zIndex},certDetailInfo:function(){return this.certDetailData||this.certDetail},hasSubmitInfo:function(){return Object(p.isUndefined)(this.hasSubmitData)?this.hasSubmit:this.hasSubmitData},canSubmit:function(){if(this.hasSubmitInfo)return!1;for(var t=0;t<this.module.length;t++)for(var e=this.module[t],n=e.certPic,r=0;r<n.length;r++){var i=n[r];if(!i.urls||!i.urls.length)return!1}return!0}},data:function(){return{module:[],bodyOverflowOrigin:null,certDetailData:null,hasSubmitData:void 0}},created:function(){this.bodyOverflowOrigin=document.body.style.overflow,document.body.style.overflow="hidden",this.initPage()},methods:{setData:function(t){var e=t.certDetail,n=t.hasSubmit;this.certDetailData=e||[],this.hasSubmitData=n,this.initPage()},initPage:function(){var t=this,e=[],n=this.certDetailInfo;if(n&&Object(p.isArray)(n))for(var r=0;r<n.length;r++)!function(r){var i=n[r],o=i.id,s=i.cert_belong,a=i.entity_cname,c=i.entity_cert_type,u=i.entity_cert,f=i.ocr_auth_id,l=i.ocr_result,d=i.up_state,p=i.side,v=i.ext,y=i.urls,m=e.find(function(t){return t.certName===i.entity_cname&&t.certNum===i.entity_cert&&t.certType===i.entity_cert_type}),_=t.getPicText({certType:c,side:p}),x=!(!y||!y.length)&&(t.hasSubmitInfo?3==~~d:1!=~~d),g="",b="";h.e[d]?(g=h.e[d].text,b=h.e[d].status):h.d[l]&&(g=h.d[l].text,b=h.d[l].status);var T={id:o,side:p,ext:v,urls:y,text:_,state:d,ocrResult:l,ocrAuthId:f,canReUplaod:x,stateText:g,stateIcon:b};if(m){if(2==~~p&&v&&1==~~v.idTypeValidShow){var w;m.elements=m.elements||[];var C=t.getValidElems(v);(w=m.elements).push.apply(w,C)}1==~~p?m.certPic.unshift(T):m.certPic.push(T)}else{var S="";S=19==~~c?"请上传投被保人关系证明照":22==~~c?"请上传银行卡照片":"请上传"+h.a[s]+"("+a+")"+h.b[c]+"照片";var j={certBelong:s,certName:a,certType:c,certNum:u,title:S,certPic:[T]};if(2==~~p&&v&&1==~~v.idTypeValidShow){var I;j.elements=j.elements||[];var P=t.getValidElems(v);(I=j.elements).push.apply(I,P)}e.push(j)}}(r);e.sort(function(t,e){return Number(t.certBelong)-Number(e.certBelong)}),e.sort(function(t,e){return t.certBelong===e.certBelong?Number(t.certType)-Number(e.certType):0});var i=[],o=[],s=e.filter(function(t){return 19===Number(t.certType)?(i.push(t),!1):22!==Number(t.certType)||(o.push(t),!1)});this.module=s.concat(i).concat(o)},getValidElems:function(t){var e=t.idValidStartTime,n=t.idValidEndTime,r=t.idValidType,i=(new Date).getFullYear(),o=i-50,s=((new Date).getMonth()+1+"").padStart(2,"0"),a=((new Date).getDate()+"").padStart(2,"0"),c=o+s+a;return[{key:"idValidType",name:"证件有效期",defaultValue:r||"1",attributeValues:[{value:"0",text:"长期",status:1},{value:"1",text:"非长期",status:1}],type:"5",defaultRemind:"请选择投保人证件有效期",display:1},{key:"idValidStartTime",name:"证件有效起期",defaultValue:e||i-10+s+a,attributeValues:[{max:i+s+a,conMax:1,min:c,conMin:1}],type:"7",defaultRemind:"请选择",display:1},{key:"idValidEndTime",name:"证件有效止期",defaultValue:n||i+10+s+a,attributeValues:[{max:i+50+s+a,conMax:1,min:i+s+a,conMin:1}],type:"7",defaultRemind:"请选择",display:1}]},getPicText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.certType,n=t.side,r=h.c[e];if(r)return r[n];var i=h.b[e];return 1==~~n?i+"正面":2==~~n?i+"反面":void 0},chooseFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.subModule,r=e.id,o=this.appId||"",a=n.certPic.find(function(t){return t.id===r});if(this.hasSubmitInfo&&3!=~~a.state)return void this.showToast("已提交,不可再次上传");var c={buyId:this.buyId,taskId:this.taskId,upCertId:r,side:a.side,name:n.certName||""},u=s()(c,this.ext);d.a.ocr({sourceType:this.sourceType,appId:o,url:"/file/upCertPic",ext:u,beforeUpload:function(){t.showToast("上传中,请稍等...",0)},complete:function(){t.hideToast()}}).then(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.ret,o=e.data,s=e.errmsg;if(0!==Number(r))return i.a.reject({errmsg:s});var c=o||{},u=c.dataBase,f=c.localId,l=c.picurl,d=c.pic_id,p=c.idValidStartTime,v=c.idValidEndTime,y=c.idValidType,m=c.ocr_auth_id,_=c.ocr_result,x=l||u||f;if(a.ocrAuthId=m,a.ocrResult=_,[1,2].includes(~~_)){a.urls=[{url:x,pic_id:d}],h.d[_]&&(a.stateText=h.d[_].text,a.stateIcon=h.d[_].status),a.canReUplaod=!t.hasSubmitInfo;var g=h.b[n.certType],b={1:g+"识别失败,请重新上传",2:g+"照片中的姓名/证件号与填写投保信息填写的信息不一致。请重新上传"};return void t.showDialog({dialogType:2,dialogData:[b[_],"请确认上传的照片边框完整,字体清晰,亮度均匀。若确认照片无误,您也可以选择【人工审核】"],confirmbtnText:"人工审核",cancelButtonText:"重新上传",onConfirm:function(){t.ocrVerify(a.ocrAuthId).then(function(e){h.e[e.up_state]&&(a.stateText=h.e[e.up_state].text,a.stateIcon=h.e[e.up_state].status),a.state=e.up_state,a.canReUplaod=t.hasSubmitInfo?3==~~e.up_state:1!=~~e.up_state,t.showToast("已提交人工审核,预计在24小时内完成审核。请短信留意审核结果")}).catch(function(e){t.showToast(e)})},onCancel:function(){a.state=0}})}if(a.state=4,a.canReUplaod=!t.hasSubmitInfo,a.stateText="",a.stateIcon="",a&&a.ext&&1===Number(a.ext.idTypeValidShow)&&2===Number(a.side)){(n.elements||[]).forEach(function(t){"idValidStartTime"===t.key&&(t.defaultValue=p),"idValidEndTime"===t.key&&(t.defaultValue=v,t.display=~~y),"idValidType"===t.key&&(t.defaultValue=y)})}if(19===Number(n.certType))return void a.urls.push({url:x,pic_id:d});a.urls=[{url:x,pic_id:d}]}).catch(function(e){t.hideToast();var n=Object(p.getErrmsg)(e),r=e&&Object(p.isObject)(e)&&e.isWxInterfaceFail;t.showDialog({dialogType:1,dialogData:r?["系统异常,操作失败,请重试"]:[n],confirmbtnText:r?"我知道了":"重新上传",onConfirm:function(){r&&location.reload()}})})},ocrVerify:function(t){return y()(this.ocrApplyVerifyUrl,{ocr_auth_id:t}).then(function(t){var e=t.data;return 0==~~e.ret?i.a.resolve(e.data):i.a.reject(e.errmsg)}).catch(function(t){return i.a.reject(t)})},deleteFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.urls,r=e.index,o=e.id,s=e.picId;if(this.hasSubmitInfo)return void this.showToast("已提交不可删除");var a={buyId:this.buyId,taskId:this.taskId,upCertId:o,opType:1,picId:s};y()("/file/upCertPic",a).then(function(t){var e=t.data;if(console.log(e),0!=~~e.ret)return i.a.reject(e.errmsg);n.splice(r,1)}).catch(function(e){t.showToast(e)})},checkUpcert:function(){var t=this;return new i.a(function(e,n){if(t.hasSubmitInfo)return n("已提交,不可再次提交");for(var r={},i=0;i<t.module.length;i++)for(var o=t.module[i],s=o.certPic,a=0;a<s.length;a++){var c=s[a];if(!c.urls||!c.urls.length)return console.log(c),n("还有图片未上传");if(3==~~c.state)return n("有图片人工审核不通过,请重新上传再提交");if(0==~~c.state){if(1==~~c.ocrResult)return n("有图片ocr识别失败,请重新上传再提交");if(2==~~c.ocrResult)return n("有图片ocr比对失败,请重新上传再提交")}if(2==~~c.side&&c.ext&&1==~~c.ext.idTypeValidShow){var u="",f="",l="",d=o.elements||[];d.forEach(function(t){"idValidType"===t.key&&(u=t.defaultValue),"idValidStartTime"===t.key&&(f=t.defaultValue),"idValidEndTime"===t.key&&(l=t.defaultValue)}),r[c.id]={idValidType:u,idValidStartTime:f,idValidEndTime:l}}}e(r)})},submitTaskUpcert:function(){var t=this;this.checkUpcert().then(function(e){t.$emit("completed",e)}).catch(function(e){t.showToast(e)})},cancel:function(){this.hide(),this.$emit("cancel")},changeValue:function(t){var e=t.elements,n=t.element,r=t.key,i=t.value;t.site;if(console.log(i),n.defaultValue=i,"idValidType"===r){var o=e.find(function(t){return"idValidEndTime"===t.key});o&&(o.display=Number(i))}},showDialog:function(t){var e=t.dialogType,n=void 0===e?1:e,r=t.dialogTitle,i=void 0===r?"":r,o=t.dialogData,s=t.cancelbtnText,a=void 0===s?"取消":s,c=t.confirmbtnText,u=void 0===c?"确定":c,f=t.onConfirm,l=void 0===f?function(){}:f,d=t.onCancel,p=void 0===d?function(){}:d,h=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:i,content:o.join("<br/>"),buttonType:"sticky",showCancelButton:1!==Number(n),cancelButtonText:a,confirmButtonText:u,confirmButtonColor:this.brandColor,onConfirm:function(){h&&h.remove(),l()},onCancel:function(){h&&h.remove(),p()}});h.show()},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast({zIndex:this.extraZindex})),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},error:function(t){this.$emit("error",t)},preview:function(t){var e=t.list,n=t.index;this.imagePreview?this.imagePreview.setData(e,n):this.imagePreview=this.$createImagePreview({images:e,start:n,zIndex:this.zIndex}),this.imagePreview.show()},resetBodyOverflow:function(){document.body.style.overflow=this.bodyOverflowOrigin||"auto"},beforeDestroy:function(){this.resetBodyOverflow()}},watch:{isVisible:function(t){t||this.resetBodyOverflow()}}}},1175:function(t,e,n){"use strict";var r=n(669),i=n.n(r);e.a={props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},zIndex:{type:Number,default:100}},components:{ActGoldElement:i.a},methods:{preview:function(t){var e={list:[{url:t}],index:0};this.$emit("preview",e)},chooseFile:function(t){this.$emit("chooseFile",{subModule:this.photoInfo,id:t.id})},changeValue:function(t,e){var n=e.key,r=e.value,i=e.site,o={elements:this.photoInfo.elements,element:t,key:n,value:r,site:i};this.$emit("changeValue",o)}}}},1176:function(t,e){t.exports=s},1177:function(t,e,n){"use strict";e.a={data:function(){return{intro:["1、出生证明;","2、居民户口簿索引页,若没有户口簿索引页,则传户口簿户主页、投保人本人页、被保人本人页;","3、居委会、村委会、派出所开具的关系证明。"]}},props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},hasSubmit:{type:Boolean,default:!1}},computed:{picsUrl:function(){return this.photoInfo.certPic[0].urls}},methods:{preview:function(t){var e=this.picsUrl.map(function(t){return{url:t.url}}),n={list:e,index:t};this.$emit("preview",n)},chooseFile:function(){var t={subModule:this.photoInfo,id:this.photoInfo.certPic[0].id};this.$emit("chooseFile",t)},deleteFile:function(t,e){var n={urls:this.photoInfo.certPic[0].urls||[],index:t,picId:e,id:this.photoInfo.certPic[0].id};this.$emit("deleteFile",n)}}}},12:function(t,e,n){var r=n(30),i=n(16);t.exports=function(t){return r(i(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(27)("keys"),i=n(24);t.exports=function(t){return r[t]||(r[t]=i(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2022:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(22),i=n.n(r),o=n(2023);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldCert=i()(o.a,t)},e.default=o.a},2023:function(t,e,n){"use strict";function r(t){a||n(2024)}var i=n(1174),o=n(2032),s=n(8),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-14ac88b2",null);u.options.__file="src\\components\\GoldCert\\src\\index.vue",e.a=u.exports},2024:function(t,e){},2025:function(t,e,n){"use strict";function r(t){a||n(2026)}var i=n(1175),o=n(2027),s=n(8),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-1242ee12",null);u.options.__file="src\\components\\GoldCert\\src\\photo.vue",e.a=u.exports},2026:function(t,e){},2027:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"photo_box"},[r("div",{staticClass:"title"},[r("p",{staticClass:"title_text"},[t._v("\n "+t._s(t.photoInfo.title||"")+"\n ")]),t._v(" "),r("div",{staticClass:"line"})]),t._v(" "),22==~~t.photoInfo.certType?r("div",{staticClass:"bank_intro"},[r("p",{staticClass:"bank_num"},[t._v("\n 银行卡号:"+t._s(t.photoInfo.certNum)+"\n ")]),t._v(" "),t._m(0)]):t._e(),t._v(" "),r("div",{staticClass:"photo"},t._l(t.photoInfo.certPic,function(e,i){return r("div",{key:i,staticClass:"photo_item"},[r("div",{staticClass:"photo_img_wrap",class:{id_human:0==~~t.photoInfo.certType&&1==~~e.side,id_emblem:0==~~t.photoInfo.certType&&2==~~e.side},on:{click:function(n){return t.chooseFile(e)}}},[e.urls&&e.urls.length?r("div",{staticClass:"photo_img_body",on:{click:function(n){return n.stopPropagation(),t.preview(e.urls[0].url)}}},[r("img",{staticClass:"photo_img",attrs:{src:e.urls[0].url,alt:""}})]):[r("img",{staticClass:"photo_icon",attrs:{src:n(1176),alt:""}}),t._v(" "),r("span",{staticClass:"photo_text"},[t._v("\n "+t._s(e.text)+"\n ")])],t._v(" "),e.canReUplaod?r("div",{staticClass:"repeat_upload",on:{click:function(n){return n.stopPropagation(),t.chooseFile(e)}}},[t._v("\n 重新上传\n ")]):t._e()],2),t._v(" "),e.stateText?r("div",{staticClass:"photo_status"},[r("i",{staticClass:"photo_status_icon",class:e.stateIcon}),t._v(" "),r("span",{staticClass:"photo_status_text"},[t._v(t._s(e.stateText))])]):t._e()])}),0),t._v(" "),t.photoInfo.elements&&t.photoInfo.elements.length?t._l(t.photoInfo.elements,function(e,n){return r("act-gold-element",{key:n,attrs:{element:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{change:function(n){for(var r=arguments.length,i=Array(r);r--;)i[r]=arguments[r];return t.changeValue.apply(void 0,[e].concat(i))}}})}):t._e()],2)},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tips"},[n("i",{staticClass:"tips_icon"}),t._v(" "),n("span",{staticClass:"tips_text"},[t._v("\n 请核对银行卡号与上传银行卡影像是否一致\n ")])])}];r._withStripped=!0},2028:function(t,e,n){"use strict";function r(t){a||n(2029)}var i=n(1177),o=n(2030),s=n(8),a=!1,c=r,u=Object(s.a)(i.a,o.a,o.b,!1,c,"data-v-8ae90600",null);u.options.__file="src\\components\\GoldCert\\src\\relateVerifyPhoto.vue",e.a=u.exports},2029:function(t,e){},2030:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"photo_box"},[t._m(0),t._v(" "),r("div",{staticClass:"intro"},t._l(t.intro,function(e,n){return r("p",{key:n},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),r("div",{staticClass:"photo"},[r("div",{staticClass:"photo_img photo_upload",on:{click:t.chooseFile}},[r("img",{staticClass:"photo_icon",attrs:{src:n(1176),alt:""}})]),t._v(" "),t._l(t.picsUrl,function(e,n){return r("div",{key:n,staticClass:"photo_img",on:{click:function(e){return e.stopPropagation(),t.preview(n)}}},[r("img",{attrs:{src:e.url,alt:""}}),t._v(" "),t.hasSubmit?t._e():r("div",{staticClass:"delete",on:{click:function(r){return r.stopPropagation(),t.deleteFile(n,e.pic_id)}}},[t._v("\n 删除\n ")])])})],2)])},i=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title"},[n("p",{staticClass:"title_text"},[t._v("\n 请上传投被保人关系证明照\n ")]),t._v(" "),n("div",{staticClass:"line"})])}];r._withStripped=!0},2031:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"e",function(){return s}),n.d(e,"d",function(){return a});var r={0:"身份证",1:"出生证",2:"护照",3:"港澳通行证",4:"台胞证",5:"军官证",6:"户口本",7:"大陆通行证",8:"回乡证",9:"警官证",10:"港澳台通行证",11:"士兵证",12:"台湾通行证",13:"港澳居住证",14:"社会统一信用代码",15:"组织机构代码证",16:"税务登记证",17:"工商营业执照号",19:"投被保人关系证明",20:"外国人永久居留身份证",21:"半身照",22:"银行卡"},i={1:"投保人",2:"被保人",3:"受益人",4:"代理人"},o={0:{1:"身份证人像面",2:"身份证国徽面"},6:{1:"本人页",2:"户主页"}},s={1:{text:"人工审核中",status:"process"},2:{text:"人工审核通过",status:"success"},3:{text:"人工审核不通过",status:"fail"}},a={1:{text:"OCR识别失败,请重新上传",status:"fail"},2:{text:"识别出的姓名/身份证号与填写的投保信息不一致,请重新上传",status:"fail"}}},2032:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-cert",style:{"z-index":t.zIndex},on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"act-cert-body"},[t.certTitle?n("div",{staticClass:"act-cert-title"},[t._v("\n "+t._s(t.certTitle)+"\n ")]):t._e(),t._v(" "),t._l(t.module,function(e,r){return[19==~~e.certType?n("relateVerifyPhoto",{key:r,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,hasSubmit:t.hasSubmitInfo},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.deleteFile,changeValue:t.changeValue}}):n("photo",{key:r,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{preview:t.preview,chooseFile:t.chooseFile,changeValue:t.changeValue}})]})],2),t._v(" "),n("div",{staticClass:"act-cert-footer"},[n("div",{staticClass:"back",on:{click:t.cancel}},[t._v("\n 返回\n ")]),t._v(" "),n("div",{staticClass:"submit",class:{disable:!t.canSubmit},on:{click:t.submitTaskUpcert}},[t._v("\n 立即上传\n ")])])])])},i=[];r._withStripped=!0},21:function(t,e,n){var r=n(6),i=n(0).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,i=n(7),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),i=n(28);t.exports=Object.keys||function(t){return r(t,i)}},27:function(t,e,n){var r=n(2),i=n(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},284:function(t,e){t.exports=i},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var r=n(18),i=n(10),o=n(47),s=n(5),a=n(11),c=n(55),u=n(25),f=n(57),l=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,y,m){c(n,e,h);var _,x,g,b=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w="values"==v,C=!1,S=t.prototype,j=S[l]||S["@@iterator"]||v&&S[v],I=j||b(v),P=v?w?b("entries"):I:void 0,O="Array"==e?S.entries||j:j;if(O&&(g=f(O.call(new t)))!==Object.prototype&&g.next&&(u(g,T,!0),r||"function"==typeof g[l]||s(g,l,p)),w&&j&&"values"!==j.name&&(C=!0,I=function(){return j.call(this)}),r&&!m||!d&&!C&&S[l]||s(S,l,I),a[e]=I,a[T]=p,v)if(_={values:w?I:b("values"),keys:y?I:b("keys"),entries:P},m)for(x in _)x in S||o(S,x,_[x]);else i(i.P+i.F*(d||C),e,_);return _}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){t.exports=n},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),i=n(12),o=n(41)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(20);t.exports.f=function(t){return new r(t)}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(14),i=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},41:function(t,e,n){var r=n(12),i=n(31),o=n(42);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),f=o(s,u);if(t&&n!=n){for(;u>f;)if((a=c[f++])!=a)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},42:function(t,e,n){var r=n(15),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},44:function(t,e){e.f={}.propertyIsEnumerable},45:function(t,e,n){"use strict";var r=n(54)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},46:function(t,e,n){var r=n(4),i=n(56),o=n(28),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),r=o.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},47:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(63);for(var r=n(0),i=n(5),o=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],f=r[u],l=f&&f.prototype;l&&!l[s]&&i(l,s,u),o[u]=o.Array}},5:function(t,e,n){var r=n(9),i=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},52:function(t,e){e.f=Object.getOwnPropertySymbols},53:function(t,e,n){var r=n(40),i=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},54:function(t,e,n){var r=n(15),i=n(16);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},55:function(t,e,n){"use strict";var r=n(46),i=n(23),o=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},56:function(t,e,n){var r=n(9),i=n(4),o=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},57:function(t,e,n){var r=n(7),i=n(29),o=n(19)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){var r=n(4),i=n(20),o=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){var r,i,o,s=n(17),a=n(82),c=n(38),u=n(21),f=n(0),l=f.process,d=f.setImmediate,p=f.clearImmediate,h=f.MessageChannel,v=f.Dispatch,y=0,m={},_=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){_.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},p=function(t){delete m[t]},"process"==n(14)(l)?r=function(t){l.nextTick(s(_,t,1))}:v&&v.now?r=function(t){v.now(s(_,t,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=x,r=s(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:d,clear:p}},61:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},62:function(t,e,n){var r=n(4),i=n(6),o=n(39);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},63:function(t,e,n){"use strict";var r=n(64),i=n(58),o=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},64:function(t,e){t.exports=function(){}},65:function(t,e,n){t.exports={default:n(68),__esModule:!0}},66:function(t,e,n){t.exports={default:n(80),__esModule:!0}},669:function(t,e){t.exports=o},67:function(t,e){},68:function(t,e,n){n(69),t.exports=n(2).Object.assign},69:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(70)})},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e,n){"use strict";var r=n(3),i=n(26),o=n(52),s=n(44),a=n(29),c=n(30),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,f=1,l=o.f,d=s.f;u>f;)for(var p,h=c(arguments[f++]),v=l?i(h).concat(l(h)):i(h),y=v.length,m=0;y>m;)p=v[m++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:u},72:function(t,e,n){var r=n(17),i=n(73),o=n(74),s=n(4),a=n(31),c=n(53),u={},f={},e=t.exports=function(t,e,n,l,d){var p,h,v,y,m=d?function(){return t}:c(t),_=r(n,l,e?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(o(m)){for(p=a(t.length);p>x;x++)if((y=e?_(s(h=t[x])[0],h[1]):_(t[x]))===u||y===f)return y}else for(v=m.call(t);!(h=v.next()).done;)if((y=i(v,_,h.value,e))===u||y===f)return y};e.BREAK=u,e.RETURN=f},73:function(t,e,n){var r=n(4);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},74:function(t,e,n){var r=n(11),i=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},75:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},76:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},77:function(t,e,n){var r=n(1)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},78:function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},8:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId=o);var f;if(s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=f):i&&(f=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,e){return f.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:u}}e.a=r},80:function(t,e,n){n(67),n(45),n(48),n(81),n(85),n(86),t.exports=n(2).Promise},81:function(t,e,n){"use strict";var r,i,o,s,a=n(18),c=n(0),u=n(17),f=n(40),l=n(10),d=n(6),p=n(20),h=n(75),v=n(72),y=n(59),m=n(60).set,_=n(83)(),x=n(39),g=n(61),b=n(84),T=n(62),w=c.TypeError,C=c.process,S=C&&C.versions,j=S&&S.v8||"",I=c.Promise,P="process"==f(C),O=function(){},V=i=x.f,k=!!function(){try{var t=I.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==j.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,f=e.domain;try{a?(i||(2==t._h&&R(t),t._h=1),!0===a?n=r:(f&&f.enter(),n=a(r),f&&(f.exit(),s=!0)),n===e.promise?u(w("Promise-chain cycle")):(o=E(n))?o.call(n,c,u):c(n)):u(r)}catch(t){f&&!s&&f.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){m.call(c,function(){var e,n,r,i=t._v,o=D(t);if(o&&(e=g(function(){P?C.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=P||D(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){m.call(c,function(){var e;P?C.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(e=E(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,u(N,r,1),u(A,r,1))}catch(t){A.call(r,t)}}):(n._v=t,n._s=1,F(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};k||(I=function(t){h(this,I,"Promise","_h"),p(t),r.call(this);try{t(u(N,this,1),u(A,this,1))}catch(t){A.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(76)(I.prototype,{then:function(t,e){var n=V(y(this,I));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(N,t,1),this.reject=u(A,t,1)},x.f=V=function(t){return t===I||t===s?new o(t):i(t)}),l(l.G+l.W+l.F*!k,{Promise:I}),n(25)(I,"Promise"),n(78)("Promise"),s=n(2).Promise,l(l.S+l.F*!k,"Promise",{reject:function(t){var e=V(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!k),"Promise",{resolve:function(t){return T(a&&this===s?I:this,t)}}),l(l.S+l.F*!(k&&n(77)(function(t){I.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=V(e),r=n.resolve,i=n.reject,o=g(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=V(e),r=n.reject,i=g(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},82:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},83:function(t,e,n){var r=n(0),i=n(60).set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=s.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);n=function(){f.then(u)}}else n=function(){i.call(r,u)};else{var l=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},84:function(t,e,n){var r=n(0),i=r.navigator;t.exports=i&&i.userAgent||""},85:function(t,e,n){"use strict";var r=n(10),i=n(2),o=n(0),s=n(59),a=n(62);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},86:function(t,e,n){"use strict";var r=n(10),i=n(39),o=n(61);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},9:function(t,e,n){var r=n(4),i=n(36),o=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},95:function(t,e){t.exports=r}})});
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/mixins/visible.js","@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/FileUpload/index.js","@xysfe/actui/es/GoldElement/index.js","@xysfe/actui/es/assets/img/photo.png"],e):"object"==typeof exports?exports.GoldCert=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/FileUpload/index.js"),require("@xysfe/actui/es/GoldElement/index.js"),require("@xysfe/actui/es/assets/img/photo.png")):t.GoldCert=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/FileUpload/index.js"],t["@xysfe/actui/es/GoldElement/index.js"],t["@xysfe/actui/es/assets/img/photo.png"])}("undefined"!=typeof self?self:this,function(t,e,n,i,r,o,s){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2022)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var i=n(27)("wks"),r=n(24),o=n(0).Symbol,s="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=s&&o[t]||(s?o:r)("Symbol."+t))}).store=i},10:function(t,e,n){var i=n(0),r=n(2),o=n(17),s=n(5),a=n(7),c=function(t,e,n){var u,l,f,d=t&c.F,p=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,_=p?r:r[e]||(r[e]={}),x=_.prototype,b=p?i:h?i[e]:(i[e]||{}).prototype;p&&(n=e);for(u in n)(l=!d&&b&&void 0!==b[u])&&a(_,u)||(f=l?b[u]:n[u],_[u]=p&&"function"!=typeof b[u]?n[u]:m&&l?o(f,i):y&&b[u]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((_.virtual||(_.virtual={}))[u]=f,t&c.R&&x&&!x[u]&&s(x,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},11:function(t,e){t.exports={}},1174:function(t,e,n){"use strict";var i=n(66),r=n.n(i),o=n(65),s=n.n(o),a=n(2025),c=n(32),u=n.n(c),l=n(2028),f=n(284),d=n.n(f),p=n(35),h=(n.n(p),n(2031)),v=n(95),m=n.n(v);e.a={name:"ActGoldCert",components:{photo:a.a,relateVerifyPhoto:l.a},mixins:[u.a],props:{certDetail:{type:Array,default:function(){return[]}},certTitle:{type:String,default:""},buyId:{type:String,default:""},taskId:{type:String,default:""},appId:{type:String,default:""},sourceType:{type:Array,default:function(){return["album","camera"]}},zIndex:{type:Number,default:100},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},ocrApplyVerifyUrl:{type:String,default:"/offlineBuy/ocrApplyVerify"},hasSubmit:{type:Boolean,default:!1},ext:{type:Boolean,default:!1}},computed:{extraZindex:function(){return 2+~~this.zIndex},certDetailInfo:function(){return this.certDetailData||this.certDetail},hasSubmitInfo:function(){return Object(p.isUndefined)(this.hasSubmitData)?this.hasSubmit:this.hasSubmitData},canSubmit:function(){if(this.hasSubmitInfo)return!1;for(var t=0;t<this.module.length;t++)for(var e=this.module[t],n=e.certPic,i=0;i<n.length;i++){var r=n[i];if(!r.urls||!r.urls.length)return!1}return!0}},data:function(){return{module:[],bodyOverflowOrigin:null,certDetailData:null,hasSubmitData:void 0}},created:function(){this.bodyOverflowOrigin=document.body.style.overflow,document.body.style.overflow="hidden",this.initPage()},methods:{setData:function(t){var e=t.certDetail,n=t.hasSubmit;this.certDetailData=e||[],this.hasSubmitData=n,this.initPage()},initPage:function(){var t=this,e=[],n=this.certDetailInfo;if(n&&Object(p.isArray)(n))for(var i=0;i<n.length;i++)!function(i){var r=n[i],o=r.id,s=r.cert_belong,a=r.entity_cname,c=r.entity_cert_type,u=r.entity_cert,l=r.ocr_auth_id,f=r.ocr_result,d=r.up_state,p=r.side,v=r.ext,m=r.urls,y=e.find(function(t){return t.certName===r.entity_cname&&t.certNum===r.entity_cert&&t.certType===r.entity_cert_type}),_=t.getPicText({certType:c,side:p}),x=!(!m||!m.length)&&(t.hasSubmitInfo?3==~~d:1!=~~d),b="",g="";h.e[d]?(b=h.e[d].text,g=h.e[d].status):h.d[f]&&(b=h.d[f].text,g=h.d[f].status);var T={id:o,side:p,ext:v,urls:m,text:_,state:d,ocrResult:f,ocrAuthId:l,canReUplaod:x,stateText:b,stateIcon:g};if(y){if(2==~~p&&v&&1==~~v.idTypeValidShow){var w;y.elements=y.elements||[];var S=t.getValidElems(v);(w=y.elements).push.apply(w,S)}1==~~p?y.certPic.unshift(T):y.certPic.push(T)}else{var C="";C=19==~~c?"请上传投被保人关系证明照":22==~~c?"请上传银行卡照片":"请上传"+h.a[s]+"("+a+")"+h.b[c]+"照片";var j={certBelong:s,certName:a,certType:c,certNum:u,title:C,certPic:[T]};if(2==~~p&&v&&1==~~v.idTypeValidShow){var I;j.elements=j.elements||[];var P=t.getValidElems(v);(I=j.elements).push.apply(I,P)}e.push(j)}}(i);e.sort(function(t,e){return Number(t.certBelong)-Number(e.certBelong)}),e.sort(function(t,e){return t.certBelong===e.certBelong?Number(t.certType)-Number(e.certType):0});var r=[],o=[],s=e.filter(function(t){return 19===Number(t.certType)?(r.push(t),!1):22!==Number(t.certType)||(o.push(t),!1)});this.module=s.concat(r).concat(o)},getValidElems:function(t){var e=t.idValidStartTime,n=t.idValidEndTime,i=t.idValidType,r=(new Date).getFullYear(),o=r-50,s=((new Date).getMonth()+1+"").padStart(2,"0"),a=((new Date).getDate()+"").padStart(2,"0"),c=o+s+a;return[{key:"idValidType",name:"证件有效期",defaultValue:i||"1",attributeValues:[{value:"0",text:"长期",status:1},{value:"1",text:"非长期",status:1}],type:"5",defaultRemind:"请选择投保人证件有效期",display:1},{key:"idValidStartTime",name:"证件有效起期",defaultValue:e||r-10+s+a,attributeValues:[{max:r+s+a,conMax:1,min:c,conMin:1}],type:"7",defaultRemind:"请选择",display:1},{key:"idValidEndTime",name:"证件有效止期",defaultValue:n||r+10+s+a,attributeValues:[{max:r+50+s+a,conMax:1,min:r+s+a,conMin:1}],type:"7",defaultRemind:"请选择",display:1}]},getPicText:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.certType,n=t.side,i=h.c[e];if(i)return i[n];var r=h.b[e];return 1==~~n?r+"正面":2==~~n?r+"反面":void 0},resetFile:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.subModule,n=t.id,i=e.certPic.find(function(t){return t.id===n});if(this.hasSubmitInfo&&3!=~~i.state)return void this.showToast("已提交,不可删除更换");i.urls=[],i.stateText=""},chooseFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.subModule,i=e.id,o=this.appId||"",a=n.certPic.find(function(t){return t.id===i});if(this.hasSubmitInfo&&3!=~~a.state)return void this.showToast("已提交,不可再次上传");var c={buyId:this.buyId,taskId:this.taskId,upCertId:i,side:a.side,name:n.certName||""},u=s()(c,this.ext);d.a.ocr({sourceType:this.sourceType,appId:o,url:"/file/upCertPic",ext:u,beforeUpload:function(){t.showToast("上传中,请稍等...",0)},complete:function(){t.hideToast()}}).then(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.ret,o=e.data,s=e.errmsg;if(0!==Number(i))return r.a.reject({errmsg:s});var c=o||{},u=c.dataBase,l=c.localId,f=c.picurl,d=c.pic_id,p=c.idValidStartTime,v=c.idValidEndTime,m=c.idValidType,y=c.ocr_auth_id,_=c.ocr_result,x=f||u||l;if(a.ocrAuthId=y,a.ocrResult=_,[1,2].includes(~~_)){a.urls=[{url:x,pic_id:d}],h.d[_]&&(a.stateText=h.d[_].text,a.stateIcon=h.d[_].status),a.canReUplaod=!t.hasSubmitInfo;var b=h.b[n.certType],g={1:b+"识别失败,请重新上传",2:b+"照片中的姓名/证件号与填写投保信息填写的信息不一致。请重新上传"};return void t.showDialog({dialogType:2,dialogData:[g[_],"请确认上传的照片边框完整,字体清晰,亮度均匀。若确认照片无误,您也可以选择【人工审核】"],confirmbtnText:"人工审核",cancelButtonText:"重新上传",onConfirm:function(){t.ocrVerify(a.ocrAuthId).then(function(e){h.e[e.up_state]&&(a.stateText=h.e[e.up_state].text,a.stateIcon=h.e[e.up_state].status),a.state=e.up_state,a.canReUplaod=t.hasSubmitInfo?3==~~e.up_state:1!=~~e.up_state,t.showToast("已提交人工审核,预计在24小时内完成审核。请短信留意审核结果")}).catch(function(e){t.showToast(e)})},onCancel:function(){a.state=0}})}if(a.state=4,a.canReUplaod=!t.hasSubmitInfo,a.stateText="",a.stateIcon="",a&&a.ext&&1===Number(a.ext.idTypeValidShow)&&2===Number(a.side)){(n.elements||[]).forEach(function(t){"idValidStartTime"===t.key&&(t.defaultValue=p),"idValidEndTime"===t.key&&(t.defaultValue=v,t.display=~~m),"idValidType"===t.key&&(t.defaultValue=m)})}if(19===Number(n.certType))return void a.urls.push({url:x,pic_id:d});a.urls=[{url:x,pic_id:d}]}).catch(function(e){t.hideToast();var n=Object(p.getErrmsg)(e),i=e&&Object(p.isObject)(e)&&e.isWxInterfaceFail;t.showDialog({dialogType:1,dialogData:i?["系统异常,操作失败,请重试"]:[n],confirmbtnText:i?"我知道了":"重新上传",onConfirm:function(){i&&location.reload()}})})},ocrVerify:function(t){return m()(this.ocrApplyVerifyUrl,{ocr_auth_id:t}).then(function(t){var e=t.data;return 0==~~e.ret?r.a.resolve(e.data):r.a.reject(e.errmsg)}).catch(function(t){return r.a.reject(t)})},deleteFile:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.urls,i=e.index,o=e.id,s=e.picId;if(this.hasSubmitInfo)return void this.showToast("已提交不可删除");var a={buyId:this.buyId,taskId:this.taskId,upCertId:o,opType:1,picId:s};m()("/file/upCertPic",a).then(function(t){var e=t.data;if(console.log(e),0!=~~e.ret)return r.a.reject(e.errmsg);n.splice(i,1)}).catch(function(e){t.showToast(e)})},checkUpcert:function(){var t=this;return new r.a(function(e,n){if(t.hasSubmitInfo)return n("已提交,不可再次提交");for(var i={},r=0;r<t.module.length;r++)for(var o=t.module[r],s=o.certPic,a=0;a<s.length;a++){var c=s[a];if(!c.urls||!c.urls.length)return console.log(c),n("还有图片未上传");if(3==~~c.state)return n("有图片人工审核不通过,请重新上传再提交");if(0==~~c.state){if(1==~~c.ocrResult)return n("有图片ocr识别失败,请重新上传再提交");if(2==~~c.ocrResult)return n("有图片ocr比对失败,请重新上传再提交")}if(2==~~c.side&&c.ext&&1==~~c.ext.idTypeValidShow){var u="",l="",f="",d=o.elements||[];d.forEach(function(t){"idValidType"===t.key&&(u=t.defaultValue),"idValidStartTime"===t.key&&(l=t.defaultValue),"idValidEndTime"===t.key&&(f=t.defaultValue)}),i[c.id]={idValidType:u,idValidStartTime:l,idValidEndTime:f}}}e(i)})},submitTaskUpcert:function(){var t=this;this.checkUpcert().then(function(e){t.$emit("completed",e)}).catch(function(e){t.showToast(e)})},cancel:function(){this.hide(),this.$emit("cancel")},changeValue:function(t){var e=t.elements,n=t.element,i=t.key,r=t.value;t.site;if(console.log(r),n.defaultValue=r,"idValidType"===i){var o=e.find(function(t){return"idValidEndTime"===t.key});o&&(o.display=Number(r))}},showDialog:function(t){var e=t.dialogType,n=void 0===e?1:e,i=t.dialogTitle,r=void 0===i?"":i,o=t.dialogData,s=t.cancelbtnText,a=void 0===s?"取消":s,c=t.confirmbtnText,u=void 0===c?"确定":c,l=t.onConfirm,f=void 0===l?function(){}:l,d=t.onCancel,p=void 0===d?function(){}:d,h=this.$createGoldDialog({zIndex:this.extraZindex,closable:!1,title:r,content:o.join("<br/>"),buttonType:"sticky",showCancelButton:1!==Number(n),cancelButtonText:a,confirmButtonText:u,confirmButtonColor:this.brandColor,onConfirm:function(){h&&h.remove(),f()},onCancel:function(){h&&h.remove(),p()}});h.show()},showToast:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3;this.hideToast(),this.toast||(this.toast=this.$createToast({zIndex:this.extraZindex})),this.toast.show(t,e)},hideToast:function(){this.toast&&this.toast.hide()},error:function(t){this.$emit("error",t)},preview:function(t){var e=t.list,n=t.index;this.imagePreview?this.imagePreview.setData(e,n):this.imagePreview=this.$createImagePreview({images:e,start:n,zIndex:this.zIndex}),this.imagePreview.show()},resetBodyOverflow:function(){document.body.style.overflow=this.bodyOverflowOrigin||"auto"},beforeDestroy:function(){this.resetBodyOverflow()}},watch:{isVisible:function(t){t||this.resetBodyOverflow()}}}},1175:function(t,e,n){"use strict";var i=n(669),r=n.n(i);e.a={props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},zIndex:{type:Number,default:100}},components:{ActGoldElement:r.a},methods:{preview:function(t){var e={list:[{url:t}],index:0};this.$emit("preview",e)},chooseFile:function(t){this.$emit("chooseFile",{subModule:this.photoInfo,id:t.id})},deleteFile:function(t){this.$emit("deleteFile",{subModule:this.photoInfo,id:t.id})},changeValue:function(t,e){var n=e.key,i=e.value,r=e.site,o={elements:this.photoInfo.elements,element:t,key:n,value:i,site:r};this.$emit("changeValue",o)}}}},1176:function(t,e){t.exports=s},1177:function(t,e,n){"use strict";e.a={data:function(){return{intro:["1、出生证明;","2、居民户口簿索引页,若没有户口簿索引页,则传户口簿户主页、投保人本人页、被保人本人页;","3、居委会、村委会、派出所开具的关系证明。"]}},props:{photoInfo:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:"#ff5a6e"},hasSubmit:{type:Boolean,default:!1}},computed:{picsUrl:function(){return this.photoInfo.certPic[0].urls}},methods:{preview:function(t){var e=this.picsUrl.map(function(t){return{url:t.url}}),n={list:e,index:t};this.$emit("preview",n)},chooseFile:function(){var t={subModule:this.photoInfo,id:this.photoInfo.certPic[0].id};this.$emit("chooseFile",t)},deleteFile:function(t,e){var n={urls:this.photoInfo.certPic[0].urls||[],index:t,picId:e,id:this.photoInfo.certPic[0].id};this.$emit("deleteFile",n)}}}},12:function(t,e,n){var i=n(30),r=n(16);t.exports=function(t){return i(r(t))}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},15:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},17:function(t,e,n){var i=n(20);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var i=n(27)("keys"),r=n(24);t.exports=function(t){return i[t]||(i[t]=r(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2022:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(22),r=n.n(i),o=n(2023);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldCert=r()(o.a,t)},e.default=o.a},2023:function(t,e,n){"use strict";function i(t){a||n(2024)}var r=n(1174),o=n(2032),s=n(8),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-14ac88b2",null);u.options.__file="src\\components\\GoldCert\\src\\index.vue",e.a=u.exports},2024:function(t,e){},2025:function(t,e,n){"use strict";function i(t){a||n(2026)}var r=n(1175),o=n(2027),s=n(8),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-1242ee12",null);u.options.__file="src\\components\\GoldCert\\src\\photo.vue",e.a=u.exports},2026:function(t,e){},2027:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_box"},[i("div",{staticClass:"title"},[i("p",{staticClass:"title_text"},[t._v("\n "+t._s(t.photoInfo.title||"")+"\n ")]),t._v(" "),i("div",{staticClass:"line"})]),t._v(" "),22==~~t.photoInfo.certType?i("div",{staticClass:"bank_intro"},[i("p",{staticClass:"bank_num"},[t._v("\n 银行卡号:"+t._s(t.photoInfo.certNum)+"\n ")]),t._v(" "),t._m(0)]):t._e(),t._v(" "),i("div",{staticClass:"photo"},t._l(t.photoInfo.certPic,function(e,r){return i("div",{key:r,staticClass:"photo_item"},[i("div",{staticClass:"photo_img_wrap",class:{id_human:0==~~t.photoInfo.certType&&1==~~e.side,id_emblem:0==~~t.photoInfo.certType&&2==~~e.side},on:{click:function(n){return t.chooseFile(e)}}},[e.urls&&e.urls.length?i("div",{staticClass:"photo_img_body",on:{click:function(n){return n.stopPropagation(),t.preview(e.urls[0].url)}}},[i("img",{staticClass:"photo_img",attrs:{src:e.urls[0].url,alt:""}})]):[i("img",{staticClass:"photo_icon",attrs:{src:n(1176),alt:""}}),t._v(" "),i("span",{staticClass:"photo_text"},[t._v("\n "+t._s(e.text)+"\n ")])],t._v(" "),e.canReUplaod&&e.urls&&e.urls.length?i("div",{staticClass:"repeat_upload",on:{click:function(n){return n.stopPropagation(),t.deleteFile(e)}}},[t._v("\n ×\n ")]):t._e()],2),t._v(" "),e.stateText?i("div",{staticClass:"photo_status"},[i("i",{staticClass:"photo_status_icon",class:e.stateIcon}),t._v(" "),i("span",{staticClass:"photo_status_text"},[t._v(t._s(e.stateText))])]):t._e()])}),0),t._v(" "),t.photoInfo.elements&&t.photoInfo.elements.length?t._l(t.photoInfo.elements,function(e,n){return i("act-gold-element",{key:n,attrs:{element:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{change:function(n){for(var i=arguments.length,r=Array(i);i--;)r[i]=arguments[i];return t.changeValue.apply(void 0,[e].concat(r))}}})}):t._e()],2)},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tips"},[n("i",{staticClass:"tips_icon"}),t._v(" "),n("span",{staticClass:"tips_text"},[t._v("\n 请核对银行卡号与上传银行卡影像是否一致\n ")])])}];i._withStripped=!0},2028:function(t,e,n){"use strict";function i(t){a||n(2029)}var r=n(1177),o=n(2030),s=n(8),a=!1,c=i,u=Object(s.a)(r.a,o.a,o.b,!1,c,"data-v-8ae90600",null);u.options.__file="src\\components\\GoldCert\\src\\relateVerifyPhoto.vue",e.a=u.exports},2029:function(t,e){},2030:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_box"},[t._m(0),t._v(" "),i("div",{staticClass:"intro"},t._l(t.intro,function(e,n){return i("p",{key:n},[t._v("\n "+t._s(e)+"\n ")])}),0),t._v(" "),i("div",{staticClass:"photo"},[i("div",{staticClass:"photo_img photo_upload",on:{click:t.chooseFile}},[i("img",{staticClass:"photo_icon",attrs:{src:n(1176),alt:""}})]),t._v(" "),t._l(t.picsUrl,function(e,n){return i("div",{key:n,staticClass:"photo_img",on:{click:function(e){return e.stopPropagation(),t.preview(n)}}},[i("img",{attrs:{src:e.url,alt:""}}),t._v(" "),t.hasSubmit?t._e():i("div",{staticClass:"delete",on:{click:function(i){return i.stopPropagation(),t.deleteFile(n,e.pic_id)}}},[t._v("\n 删除\n ")])])})],2)])},r=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"title"},[n("p",{staticClass:"title_text"},[t._v("\n 请上传投被保人关系证明照\n ")]),t._v(" "),n("div",{staticClass:"line"})])}];i._withStripped=!0},2031:function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"e",function(){return s}),n.d(e,"d",function(){return a});var i={0:"身份证",1:"出生证",2:"护照",3:"港澳通行证",4:"台胞证",5:"军官证",6:"户口本",7:"大陆通行证",8:"回乡证",9:"警官证",10:"港澳台通行证",11:"士兵证",12:"台湾通行证",13:"港澳居住证",14:"社会统一信用代码",15:"组织机构代码证",16:"税务登记证",17:"工商营业执照号",19:"投被保人关系证明",20:"外国人永久居留身份证",21:"半身照",22:"银行卡"},r={1:"投保人",2:"被保人",3:"受益人",4:"代理人"},o={0:{1:"身份证人像面",2:"身份证国徽面"},6:{1:"本人页",2:"户主页"}},s={1:{text:"人工审核中",status:"process"},2:{text:"人工审核通过",status:"success"},3:{text:"人工审核不通过",status:"fail"}},a={1:{text:"OCR识别失败,请重新上传",status:"fail"},2:{text:"识别出的姓名/身份证号与填写的投保信息不一致,请重新上传",status:"fail"}}},2032:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r});var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"act-gold-popup-move"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-cert",style:{"z-index":t.zIndex},on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"act-cert-body"},[t.certTitle?n("div",{staticClass:"act-cert-title"},[t._v("\n "+t._s(t.certTitle)+"\n ")]):t._e(),t._v(" "),t._l(t.module,function(e,i){return[19==~~e.certType?n("relateVerifyPhoto",{key:i,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,hasSubmit:t.hasSubmitInfo},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.deleteFile,changeValue:t.changeValue}}):n("photo",{key:i,attrs:{photoInfo:e,brandColor:t.brandColor,btnColor:t.btnColor,zIndex:t.zIndex},on:{preview:t.preview,chooseFile:t.chooseFile,deleteFile:t.resetFile,changeValue:t.changeValue}})]})],2),t._v(" "),n("div",{staticClass:"act-cert-footer"},[n("div",{staticClass:"back",on:{click:t.cancel}},[t._v("\n 返回\n ")]),t._v(" "),n("div",{staticClass:"submit",class:{disable:!t.canSubmit},on:{click:t.submitTaskUpcert}},[t._v("\n 立即上传\n ")])])])])},r=[];i._withStripped=!0},21:function(t,e,n){var i=n(6),r=n(0).document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},22:function(e,n){e.exports=t},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},25:function(t,e,n){var i=n(9).f,r=n(7),o=n(1)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},26:function(t,e,n){var i=n(37),r=n(28);t.exports=Object.keys||function(t){return i(t,r)}},27:function(t,e,n){var i=n(2),r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},284:function(t,e){t.exports=r},29:function(t,e,n){var i=n(16);t.exports=function(t){return Object(i(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var i=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},31:function(t,e,n){var i=n(15),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},32:function(t,n){t.exports=e},33:function(t,e,n){"use strict";var i=n(18),r=n(10),o=n(47),s=n(5),a=n(11),c=n(55),u=n(25),l=n(57),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,v,m,y){c(n,e,h);var _,x,b,g=function(t){if(!d&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",w="values"==v,S=!1,C=t.prototype,j=C[f]||C["@@iterator"]||v&&C[v],I=j||g(v),P=v?w?g("entries"):I:void 0,O="Array"==e?C.entries||j:j;if(O&&(b=l(O.call(new t)))!==Object.prototype&&b.next&&(u(b,T,!0),i||"function"==typeof b[f]||s(b,f,p)),w&&j&&"values"!==j.name&&(S=!0,I=function(){return j.call(this)}),i&&!y||!d&&!S&&C[f]||s(C,f,I),a[e]=I,a[T]=p,v)if(_={values:w?I:g("values"),keys:m?I:g("keys"),entries:P},y)for(x in _)x in C||o(C,x,_[x]);else r(r.P+r.F*(d||S),e,_);return _}},34:function(t,e,n){var i=n(6);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){t.exports=n},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var i=n(7),r=n(12),o=n(41)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=r(t),c=0,u=[];for(n in a)n!=s&&i(a,n)&&u.push(n);for(;e.length>c;)i(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},38:function(t,e,n){var i=n(0).document;t.exports=i&&i.documentElement},39:function(t,e,n){"use strict";function i(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=r(e),this.reject=r(n)}var r=n(20);t.exports.f=function(t){return new i(t)}},4:function(t,e,n){var i=n(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var i=n(14),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},41:function(t,e,n){var i=n(12),r=n(31),o=n(42);t.exports=function(t){return function(e,n,s){var a,c=i(e),u=r(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},42:function(t,e,n){var i=n(15),r=Math.max,o=Math.min;t.exports=function(t,e){return t=i(t),t<0?r(t+e,0):o(t,e)}},44:function(t,e){e.f={}.propertyIsEnumerable},45:function(t,e,n){"use strict";var i=n(54)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},46:function(t,e,n){var i=n(4),r=n(56),o=n(28),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(21)("iframe"),i=o.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;i--;)delete c.prototype[o[i]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=i(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:r(n,e)}},47:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(63);for(var i=n(0),r=n(5),o=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=i[u],f=l&&l.prototype;f&&!f[s]&&r(f,s,u),o[u]=o.Array}},5:function(t,e,n){var i=n(9),r=n(23);t.exports=n(3)?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},52:function(t,e){e.f=Object.getOwnPropertySymbols},53:function(t,e,n){var i=n(40),r=n(1)("iterator"),o=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},54:function(t,e,n){var i=n(15),r=n(16);t.exports=function(t){return function(e,n){var o,s,a=String(r(e)),c=i(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},55:function(t,e,n){"use strict";var i=n(46),r=n(23),o=n(25),s={};n(5)(s,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(s,{next:r(1,n)}),o(t,e+" Iterator")}},56:function(t,e,n){var i=n(9),r=n(4),o=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){r(t);for(var n,s=o(e),a=s.length,c=0;a>c;)i.f(t,n=s[c++],e[n]);return t}},57:function(t,e,n){var i=n(7),r=n(29),o=n(19)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){var i=n(4),r=n(20),o=n(1)("species");t.exports=function(t,e){var n,s=i(t).constructor;return void 0===s||void 0==(n=i(s)[o])?e:r(n)}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){var i,r,o,s=n(17),a=n(82),c=n(38),u=n(21),l=n(0),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,m=0,y={},_=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},x=function(t){_.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},i(m),m},p=function(t){delete y[t]},"process"==n(14)(f)?i=function(t){f.nextTick(s(_,t,1))}:v&&v.now?i=function(t){v.now(s(_,t,1))}:h?(r=new h,o=r.port2,r.port1.onmessage=x,i=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(t){l.postMessage(t+"","*")},l.addEventListener("message",x,!1)):i="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:d,clear:p}},61:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},62:function(t,e,n){var i=n(4),r=n(6),o=n(39);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},63:function(t,e,n){"use strict";var i=n(64),r=n(58),o=n(11),s=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==e?r(0,n):"values"==e?r(0,t[n]):r(0,[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},64:function(t,e){t.exports=function(){}},65:function(t,e,n){t.exports={default:n(68),__esModule:!0}},66:function(t,e,n){t.exports={default:n(80),__esModule:!0}},669:function(t,e){t.exports=o},67:function(t,e){},68:function(t,e,n){n(69),t.exports=n(2).Object.assign},69:function(t,e,n){var i=n(10);i(i.S+i.F,"Object",{assign:n(70)})},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e,n){"use strict";var i=n(3),r=n(26),o=n(52),s=n(44),a=n(29),c=n(30),u=Object.assign;t.exports=!u||n(13)(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=i})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=o.f,d=s.f;u>l;)for(var p,h=c(arguments[l++]),v=f?r(h).concat(f(h)):r(h),m=v.length,y=0;m>y;)p=v[y++],i&&!d.call(h,p)||(n[p]=h[p]);return n}:u},72:function(t,e,n){var i=n(17),r=n(73),o=n(74),s=n(4),a=n(31),c=n(53),u={},l={},e=t.exports=function(t,e,n,f,d){var p,h,v,m,y=d?function(){return t}:c(t),_=i(n,f,e?2:1),x=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(p=a(t.length);p>x;x++)if((m=e?_(s(h=t[x])[0],h[1]):_(t[x]))===u||m===l)return m}else for(v=y.call(t);!(h=v.next()).done;)if((m=r(v,_,h.value,e))===u||m===l)return m};e.BREAK=u,e.RETURN=l},73:function(t,e,n){var i=n(4);t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},74:function(t,e,n){var i=n(11),r=n(1)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},75:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},76:function(t,e,n){var i=n(5);t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},77:function(t,e,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},t(o)}catch(t){}return n}},78:function(t,e,n){"use strict";var i=n(0),r=n(2),o=n(9),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},8:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId=o);var l;if(s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=l):r&&(l=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}e.a=i},80:function(t,e,n){n(67),n(45),n(48),n(81),n(85),n(86),t.exports=n(2).Promise},81:function(t,e,n){"use strict";var i,r,o,s,a=n(18),c=n(0),u=n(17),l=n(40),f=n(10),d=n(6),p=n(20),h=n(75),v=n(72),m=n(59),y=n(60).set,_=n(83)(),x=n(39),b=n(61),g=n(84),T=n(62),w=c.TypeError,S=c.process,C=S&&S.versions,j=C&&C.v8||"",I=c.Promise,P="process"==l(S),O=function(){},V=r=x.f,k=!!function(){try{var t=I.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==j.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},F=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var i=t._v,r=1==t._s,o=0;n.length>o;)!function(e){var n,o,s,a=r?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(r||(2==t._h&&R(t),t._h=1),!0===a?n=i:(l&&l.enter(),n=a(i),l&&(l.exit(),s=!0)),n===e.promise?u(w("Promise-chain cycle")):(o=E(n))?o.call(n,c,u):c(n)):u(i)}catch(t){l&&!s&&l.exit(),u(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&M(t)})}},M=function(t){y.call(c,function(){var e,n,i,r=t._v,o=D(t);if(o&&(e=b(function(){P?S.emit("unhandledRejection",r,t):(n=c.onunhandledrejection)?n({promise:t,reason:r}):(i=c.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=P||D(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){y.call(c,function(){var e;P?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw w("Promise can't be resolved itself");(e=E(t))?_(function(){var i={_w:n,_d:!1};try{e.call(t,u(N,i,1),u(A,i,1))}catch(t){A.call(i,t)}}):(n._v=t,n._s=1,F(n,!1))}catch(t){A.call({_w:n,_d:!1},t)}}};k||(I=function(t){h(this,I,"Promise","_h"),p(t),i.call(this);try{t(u(N,this,1),u(A,this,1))}catch(t){A.call(this,t)}},i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(76)(I.prototype,{then:function(t,e){var n=V(m(this,I));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&F(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=u(N,t,1),this.reject=u(A,t,1)},x.f=V=function(t){return t===I||t===s?new o(t):r(t)}),f(f.G+f.W+f.F*!k,{Promise:I}),n(25)(I,"Promise"),n(78)("Promise"),s=n(2).Promise,f(f.S+f.F*!k,"Promise",{reject:function(t){var e=V(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!k),"Promise",{resolve:function(t){return T(a&&this===s?I:this,t)}}),f(f.S+f.F*!(k&&n(77)(function(t){I.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=V(e),i=n.resolve,r=n.reject,o=b(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=V(e),i=n.reject,r=b(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},82:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},83:function(t,e,n){var i=n(0),r=n(60).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var i,r;for(c&&(i=s.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){r.call(i,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},84:function(t,e,n){var i=n(0),r=i.navigator;t.exports=r&&r.userAgent||""},85:function(t,e,n){"use strict";var i=n(10),r=n(2),o=n(0),s=n(59),a=n(62);i(i.P+i.R,"Promise",{finally:function(t){var e=s(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},86:function(t,e,n){"use strict";var i=n(10),r=n(39),o=n(61);i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},9:function(t,e,n){var i=n(4),r=n(36),o=n(34),s=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},95:function(t,e){t.exports=i}})});
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/create/index.js"),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-1.png")}catch(e){}}(),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-2.png")}catch(e){}}(),require("@xysfe/actui/es/assets/img/fail.png"),require("@xysfe/actui/es/assets/img/success.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/img/cert-0-1.png","@xysfe/actui/es/assets/img/cert-0-2.png","@xysfe/actui/es/assets/img/fail.png","@xysfe/actui/es/assets/img/success.png"],t):"object"==typeof exports?exports.PhotoBox=t(require("@xysfe/actui/es/assets/utils/create/index.js"),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-1.png")}catch(e){}}(),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-2.png")}catch(e){}}(),require("@xysfe/actui/es/assets/img/fail.png"),require("@xysfe/actui/es/assets/img/success.png")):e.PhotoBox=t(e["@xysfe/actui/es/assets/utils/create/index.js"],e["@xysfe/actui/es/assets/img/cert-0-1.png"],e["@xysfe/actui/es/assets/img/cert-0-2.png"],e["@xysfe/actui/es/assets/img/fail.png"],e["@xysfe/actui/es/assets/img/success.png"])}("undefined"!=typeof self?self:this,function(e,t,s,n,i){return function(e){function t(n){if(s[n])return s[n].exports;var i=s[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var s={};return t.m=e,t.c=s,t.d=function(e,s,n){t.o(e,s)||Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=1702)}({1107:function(e,t,s){"use strict";t.a={name:"PhotoBox",props:{element:{type:Object,default:function(){return{}}}},computed:{updateBtnShow:function(){return!(!this.element.hasUpdate||!this.element.picBase)},background:function(){return this.element.picBase||0!==Number(this.element.idType)?"initial":"url("+s(1705)("./cert-"+this.element.idType+"-"+this.element.side+".png")+")"},uploadStatus:function(){return this.element.hasStatus&&this.element.picBase?0===this.element.status?s(1708):1===this.element.status?s(1709):"":""}},methods:{chooseFile:function(){this.$emit("chooseFile",this.element)},updateFile:function(){this.$emit("updateFile",this.element)},imgClick:function(){this.$emit("imgClick",this.element)}}}},1702:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(22),i=s.n(n),o=s(1703);o.a.install=function(e){e.component(o.a.name,o.a),e.prototype.$createPhotoBox=i()(o.a,e)},t.default=o.a},1703:function(e,t,s){"use strict";function n(e){c||s(1704)}var i=s(1107),o=s(1710),r=s(8),c=!1,a=n,u=Object(r.a)(i.a,o.a,o.b,!1,a,"data-v-e562d8f2",null);u.options.__file="src\\components\\PhotoBox\\src\\index.vue",t.a=u.exports},1704:function(e,t){},1705:function(e,t,s){function n(e){return s(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={"./cert-0-1.png":1706,"./cert-0-2.png":1707};n.keys=function(){return Object.keys(o)},n.resolve=i,e.exports=n,n.id=1705},1706:function(e,s){if(void 0===t){var n=new Error('Cannot find module "@xysfe/actui/es/assets/img/cert-0-1.png"');throw n.code="MODULE_NOT_FOUND",n}e.exports=t},1707:function(e,t){if(void 0===s){var n=new Error('Cannot find module "@xysfe/actui/es/assets/img/cert-0-2.png"');throw n.code="MODULE_NOT_FOUND",n}e.exports=s},1708:function(e,t){e.exports=n},1709:function(e,t){e.exports=i},1710:function(e,t,s){"use strict";s.d(t,"a",function(){return n}),s.d(t,"b",function(){return i});var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"act-photo-box",style:{"background-image":e.background},on:{click:function(t){return t.stopPropagation(),e.chooseFile(t)}}},[e.element.picBase?s("div",{staticClass:"act-photo-box-img",on:{click:function(t){return t.stopPropagation(),e.imgClick(t)}}},[s("img",{attrs:{src:e.element.picBase}})]):s("div",{staticClass:"act-photo-box-center",on:{click:function(t){return t.stopPropagation(),e.chooseFile(t)}}},[s("div",{staticClass:"act-photo-box-camera"}),e._v(" "),s("span",{staticClass:"act-photo-box-desc"},[e._v("\n "+e._s(e.element.desc||"上传照片")+"\n ")])]),e._v(" "),e.updateBtnShow?s("div",{staticClass:"update-btn",on:{click:function(t){return t.stopPropagation(),e.updateFile(t)}}},[e._v("\n 重新上传\n ")]):e._e(),e._v(" "),e.uploadStatus?s("img",{staticClass:"act-photo-box-status",attrs:{src:e.uploadStatus,alt:""}}):e._e()])},i=[];n._withStripped=!0},22:function(t,s){t.exports=e},8:function(e,t,s){"use strict";function n(e,t,s,n,i,o,r,c){e=e||{};var a=typeof e.default;"object"!==a&&"function"!==a||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=s,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var f;if(r?(f=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(r)},u._ssrRegister=f):i&&(f=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(u.functional){u._injectStyles=f;var p=u.render;u.render=function(e,t){return f.call(t),p(e,t)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,f):[f]}return{exports:e,options:u}}t.a=n}})});
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@xysfe/actui/es/assets/utils/create/index.js"),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-1.png")}catch(e){}}(),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-2.png")}catch(e){}}(),require("@xysfe/actui/es/assets/img/fail.png"),require("@xysfe/actui/es/assets/img/success.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/assets/img/cert-0-1.png","@xysfe/actui/es/assets/img/cert-0-2.png","@xysfe/actui/es/assets/img/fail.png","@xysfe/actui/es/assets/img/success.png"],t):"object"==typeof exports?exports.PhotoBox=t(require("@xysfe/actui/es/assets/utils/create/index.js"),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-1.png")}catch(e){}}(),function(){try{return require("@xysfe/actui/es/assets/img/cert-0-2.png")}catch(e){}}(),require("@xysfe/actui/es/assets/img/fail.png"),require("@xysfe/actui/es/assets/img/success.png")):e.PhotoBox=t(e["@xysfe/actui/es/assets/utils/create/index.js"],e["@xysfe/actui/es/assets/img/cert-0-1.png"],e["@xysfe/actui/es/assets/img/cert-0-2.png"],e["@xysfe/actui/es/assets/img/fail.png"],e["@xysfe/actui/es/assets/img/success.png"])}("undefined"!=typeof self?self:this,function(e,t,s,n,i){return function(e){function t(n){if(s[n])return s[n].exports;var i=s[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var s={};return t.m=e,t.c=s,t.d=function(e,s,n){t.o(e,s)||Object.defineProperty(e,s,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="../es",t(t.s=1702)}({1107:function(e,t,s){"use strict";t.a={name:"PhotoBox",props:{element:{type:Object,default:function(){return{}}}},computed:{updateBtnShow:function(){return!(!this.element.hasUpdate||!this.element.picBase)},background:function(){return this.element.picBase||0!==Number(this.element.idType)?"initial":"url("+s(1705)("./cert-"+this.element.idType+"-"+this.element.side+".png")+")"},uploadStatus:function(){return this.element.hasStatus&&this.element.picBase?0===this.element.status?s(1708):1===this.element.status?s(1709):"":""}},methods:{chooseFile:function(){this.$emit("chooseFile",this.element)},deleteFile:function(){this.$emit("deleteFile",this.element)},imgClick:function(){this.$emit("imgClick",this.element)}}}},1702:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(22),i=s.n(n),o=s(1703);o.a.install=function(e){e.component(o.a.name,o.a),e.prototype.$createPhotoBox=i()(o.a,e)},t.default=o.a},1703:function(e,t,s){"use strict";function n(e){c||s(1704)}var i=s(1107),o=s(1710),r=s(8),c=!1,a=n,u=Object(r.a)(i.a,o.a,o.b,!1,a,"data-v-e562d8f2",null);u.options.__file="src\\components\\PhotoBox\\src\\index.vue",t.a=u.exports},1704:function(e,t){},1705:function(e,t,s){function n(e){return s(i(e))}function i(e){var t=o[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var o={"./cert-0-1.png":1706,"./cert-0-2.png":1707};n.keys=function(){return Object.keys(o)},n.resolve=i,e.exports=n,n.id=1705},1706:function(e,s){if(void 0===t){var n=new Error('Cannot find module "@xysfe/actui/es/assets/img/cert-0-1.png"');throw n.code="MODULE_NOT_FOUND",n}e.exports=t},1707:function(e,t){if(void 0===s){var n=new Error('Cannot find module "@xysfe/actui/es/assets/img/cert-0-2.png"');throw n.code="MODULE_NOT_FOUND",n}e.exports=s},1708:function(e,t){e.exports=n},1709:function(e,t){e.exports=i},1710:function(e,t,s){"use strict";s.d(t,"a",function(){return n}),s.d(t,"b",function(){return i});var n=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"act-photo-box",style:{"background-image":e.background},on:{click:function(t){return t.stopPropagation(),e.chooseFile(t)}}},[e.element.picBase?s("div",{staticClass:"act-photo-box-img",on:{click:function(t){return t.stopPropagation(),e.imgClick(t)}}},[s("img",{attrs:{src:e.element.picBase}})]):s("div",{staticClass:"act-photo-box-center",on:{click:function(t){return t.stopPropagation(),e.chooseFile(t)}}},[s("div",{staticClass:"act-photo-box-camera"}),e._v(" "),s("span",{staticClass:"act-photo-box-desc"},[e._v("\n "+e._s(e.element.desc||"上传照片")+"\n ")])]),e._v(" "),e.updateBtnShow?s("div",{staticClass:"update-btn",on:{click:function(t){return t.stopPropagation(),e.deleteFile(t)}}},[e._v("\n x\n ")]):e._e(),e._v(" "),e.uploadStatus?s("img",{staticClass:"act-photo-box-status",attrs:{src:e.uploadStatus,alt:""}}):e._e()])},i=[];n._withStripped=!0},22:function(t,s){t.exports=e},8:function(e,t,s){"use strict";function n(e,t,s,n,i,o,r,c){e=e||{};var a=typeof e.default;"object"!==a&&"function"!==a||(e=e.default);var u="function"==typeof e?e.options:e;t&&(u.render=t,u.staticRenderFns=s,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var f;if(r?(f=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(r)},u._ssrRegister=f):i&&(f=c?function(){i.call(this,this.$root.$options.shadowRoot)}:i),f)if(u.functional){u._injectStyles=f;var p=u.render;u.render=function(e,t){return f.call(t),p(e,t)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,f):[f]}return{exports:e,options:u}}t.a=n}})});
@@ -1 +1 @@
1
- .act-photo-box[data-v-e562d8f2]{position:relative;width:312px;height:166.5px;margin:auto;background:#f5f5f5;background-size:cover;background-repeat:no-repeat;border:.5px solid #ddd;border-radius:8px;margin-bottom:26px}.act-photo-box-center[data-v-e562d8f2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:54.5px auto 0}.act-photo-box-camera[data-v-e562d8f2]{width:41.5px;height:33px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABRCAYAAAAtvqMwAAAEOUlEQVR4Xu2dO08jMRDHx0BBAYiHBA3pQApBgBBIF0IXKfAJuGvvo1173CdgU/M4nSIECIgUutCAxENAQQM+TY7lQrK73ldmnDDb7tpj/3/2eOz1ehXI1VCgXC7/1Fp/jSOHUmq7VCp9i5U2TqJeS5NEfFeLuBBUr4kZpz6O4+g46VrTbGxsRNYzcoI0CmpbHgKAmYgAYAYgYwAzAImCLADAVQQZhLmUf7MrAAQAswLM5n17wM7Ozhel1A8AyDKXsdvNV7XW3zc3N397VaQNgOM4qwDwp9trbWP5BwYGVovFYqW5bB8AlMvlba31lo2F75UyKaV+lUql90W/dwAiPh3iZggNAOJ26MR3LbnuyAWQymogfTW62yKunqq3aOegu6vSnaXXWueV4zjnEmqyAawiAHE/bPoDCABG8dG0ABAAzAowm5ceIACYFWA2Lz1AADArwGxeeoAACKfA8PAwTE9Pw9jYGCjV/h5Jaw13d3dweXkJj4+P4TK14Cmre8DIyAjkcjno7++PLNXLywucnZ3Bw8ND5LSUCawEMDo6CvPz86npcHp6Cvf396nll2ZG1gHI5/OxWrxJFOwRBwf2LfpaA2BoaAiWlpZMOia+f3R0BE9PT4nzSSsDKwBMTU3BzMxMWnUy5nNxcQFXV1fG5ygeYAcQRfzr62uo1+vw/Pzcps3g4CBkMhmYnJwMpZstEFgBhHE7r6+vcHh46Cm6n9IIY3l5Gfr6+gJh2OCOWAGsr68HClStVuHm5iZUi/Z6aGJiArLZ4H1lu7u7sfNPIyEbAFO0s7e3Bzi5SnrhpK1QKPhmwx0dsQAwxfmdaJVBvY1znsACIEiMtFp+a5M39YROQA/Te8kB4PLCwsKCZ9mS+nxThYPGhJOTE5ZlC3IAfr4fo539/X2Thonvr62teUZHXGMBOQA/91OpVCKFmnFJYIi6srLimZzDDZECwCXlxcVF9sr7NYLj42PypWxSAHNzczA+Pt4GAGe4tVotbqOOnG52dtZzxnx7ewvn57hRkO4iBYDxuNfLFCr348rq54Zw3oFRGOVFCsCv63P4XlvKIgBamjt1YxAAAgCAutWh5uKCmlqeACAa9iUKaheadAyQeQAzAJkJMwMIGvyoJmOfei0IAchq6MdeQDoGoGl5H8AMIMgN4T15I0YQkso74f8ik7sg17TsivinBBsAkyvC+0nfEcu+IIM7k51xzD0A+cjeUAvOiogCIY0YwZaNuexjQLOYYdxRGuLbsCG3uR6sg7CXoKboKC4Ern0/pvJaBwALbJonmCrVep9z76eprFYCcAstX0ma8BHel++ECcX+TKasdkGfAYQAYKYsACwAIMdW8kGoysGtfOLjR4h5ObqYEUDj6GK0L4d301P4cHg3mpfj6+kgtB1f75oWCJ2H4PsDB9e0uKPOQTD+wqTZtPzEJzUQgT/x+QtTesC8FxUShwAAAABJRU5ErkJggg==) no-repeat;margin-bottom:6px;background-size:contain}.act-photo-box-desc[data-v-e562d8f2]{font-size:13px;font-weight:500;color:#999;line-height:18.5px}.act-photo-box-img[data-v-e562d8f2],.act-photo-box-img img[data-v-e562d8f2]{width:100%;height:100%;border-radius:8px}.act-photo-box-status[data-v-e562d8f2]{position:absolute;top:-5.5px;left:-9px;width:20.5px;height:20.5px}.act-photo-box .update-btn[data-v-e562d8f2]{position:absolute;top:8px;right:8px;width:68px;height:26px;background:rgba(0,0,0,.5);border-radius:13px;color:#fff;font-size:12px;line-height:26px;text-align:center}.act-photo-box[data-v-e562d8f2]:last-child{margin-bottom:29px}
1
+ .act-photo-box[data-v-e562d8f2]{position:relative;width:312px;height:166.5px;margin:auto;background:#f5f5f5;background-size:cover;background-repeat:no-repeat;border:.5px solid #ddd;border-radius:8px;margin-bottom:26px}.act-photo-box-center[data-v-e562d8f2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin:54.5px auto 0}.act-photo-box-camera[data-v-e562d8f2]{width:41.5px;height:33px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABRCAYAAAAtvqMwAAAEOUlEQVR4Xu2dO08jMRDHx0BBAYiHBA3pQApBgBBIF0IXKfAJuGvvo1173CdgU/M4nSIECIgUutCAxENAQQM+TY7lQrK73ldmnDDb7tpj/3/2eOz1ehXI1VCgXC7/1Fp/jSOHUmq7VCp9i5U2TqJeS5NEfFeLuBBUr4kZpz6O4+g46VrTbGxsRNYzcoI0CmpbHgKAmYgAYAYgYwAzAImCLADAVQQZhLmUf7MrAAQAswLM5n17wM7Ozhel1A8AyDKXsdvNV7XW3zc3N397VaQNgOM4qwDwp9trbWP5BwYGVovFYqW5bB8AlMvlba31lo2F75UyKaV+lUql90W/dwAiPh3iZggNAOJ26MR3LbnuyAWQymogfTW62yKunqq3aOegu6vSnaXXWueV4zjnEmqyAawiAHE/bPoDCABG8dG0ABAAzAowm5ceIACYFWA2Lz1AADArwGxeeoAACKfA8PAwTE9Pw9jYGCjV/h5Jaw13d3dweXkJj4+P4TK14Cmre8DIyAjkcjno7++PLNXLywucnZ3Bw8ND5LSUCawEMDo6CvPz86npcHp6Cvf396nll2ZG1gHI5/OxWrxJFOwRBwf2LfpaA2BoaAiWlpZMOia+f3R0BE9PT4nzSSsDKwBMTU3BzMxMWnUy5nNxcQFXV1fG5ygeYAcQRfzr62uo1+vw/Pzcps3g4CBkMhmYnJwMpZstEFgBhHE7r6+vcHh46Cm6n9IIY3l5Gfr6+gJh2OCOWAGsr68HClStVuHm5iZUi/Z6aGJiArLZ4H1lu7u7sfNPIyEbAFO0s7e3Bzi5SnrhpK1QKPhmwx0dsQAwxfmdaJVBvY1znsACIEiMtFp+a5M39YROQA/Te8kB4PLCwsKCZ9mS+nxThYPGhJOTE5ZlC3IAfr4fo539/X2Thonvr62teUZHXGMBOQA/91OpVCKFmnFJYIi6srLimZzDDZECwCXlxcVF9sr7NYLj42PypWxSAHNzczA+Pt4GAGe4tVotbqOOnG52dtZzxnx7ewvn57hRkO4iBYDxuNfLFCr348rq54Zw3oFRGOVFCsCv63P4XlvKIgBamjt1YxAAAgCAutWh5uKCmlqeACAa9iUKaheadAyQeQAzAJkJMwMIGvyoJmOfei0IAchq6MdeQDoGoGl5H8AMIMgN4T15I0YQkso74f8ik7sg17TsivinBBsAkyvC+0nfEcu+IIM7k51xzD0A+cjeUAvOiogCIY0YwZaNuexjQLOYYdxRGuLbsCG3uR6sg7CXoKboKC4Ern0/pvJaBwALbJonmCrVep9z76eprFYCcAstX0ma8BHel++ECcX+TKasdkGfAYQAYKYsACwAIMdW8kGoysGtfOLjR4h5ObqYEUDj6GK0L4d301P4cHg3mpfj6+kgtB1f75oWCJ2H4PsDB9e0uKPOQTD+wqTZtPzEJzUQgT/x+QtTesC8FxUShwAAAABJRU5ErkJggg==) no-repeat;margin-bottom:6px;background-size:contain}.act-photo-box-desc[data-v-e562d8f2]{font-size:13px;font-weight:500;color:#999;line-height:18.5px}.act-photo-box-img[data-v-e562d8f2],.act-photo-box-img img[data-v-e562d8f2]{width:100%;height:100%;border-radius:8px}.act-photo-box-status[data-v-e562d8f2]{position:absolute;top:-5.5px;left:-9px;width:20.5px;height:20.5px}.act-photo-box .update-btn[data-v-e562d8f2]{position:absolute;top:8px;right:8px;width:56px;height:24px;background:rgba(0,0,0,.5);border-radius:13px;color:#fff;font-size:16px;line-height:24px;text-align:center}.act-photo-box[data-v-e562d8f2]:last-child{margin-bottom:29px}