@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 465 kB
JavaScript
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):"object"==typeof exports?exports.Recognition=e(require("vue")):n.Recognition=e(n.Vue)}("undefined"!=typeof self?self:this,function(n){return function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="../lib",e(e.s=1983)}({0:function(n,e){var t=n.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},1:function(n,e,t){"use strict";function r(n,e,t,r,o,c,i,f){n=n||{};var u=typeof n.default;"object"!==u&&"function"!==u||(n=n.default);var s="function"==typeof n?n.options:n;e&&(s.render=e,s.staticRenderFns=t,s._compiled=!0),r&&(s.functional=!0),c&&(s._scopeId=c);var A;if(i?(A=function(n){n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,n||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(i)},s._ssrRegister=A):o&&(A=f?function(){o.call(this,this.$root.$options.shadowRoot)}:o),A)if(s.functional){s._injectStyles=A;var a=s.render;s.render=function(n,e){return A.call(e),a(n,e)}}else{var g=s.beforeCreate;s.beforeCreate=g?[].concat(g,A):[A]}return{exports:n,options:s}}e.a=r},10:function(n,e){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},100:function(n,e,t){n.exports={default:t(101),__esModule:!0}},101:function(n,e,t){t(55),n.exports=t(0).Object.getOwnPropertySymbols},105:function(n,e,t){"use strict";var r=t(20),o=t(64);e.a={name:"ActPopup",mixins:[r.a,o.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(n){this.$emit("mask-click",n)}}}},106:function(n,e,t){"use strict";e.__esModule=!0;var r=t(28),o=function(n){return n&&n.__esModule?n:{default:n}}(r);e.default=o.default||function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n}},107:function(n,e,t){var r=t(26),o=t(3)("toStringTag"),c="Arguments"==r(function(){return arguments}()),i=function(n,e){try{return n[e]}catch(n){}};n.exports=function(n){var e,t,f;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(t=i(e=Object(n),o))?t:c?r(e):"Object"==(f=r(e))&&"function"==typeof e.callee?"Arguments":f}},108:function(n,e,t){"use strict";function r(n){f||t(120)}var o=t(105),c=t(121),i=t(1),f=!1,u=r,s=Object(i.a)(o.a,c.a,c.b,!1,u,null,null);s.options.__file="src\\components\\common\\popup.vue",e.a=s.exports},11:function(n,e,t){var r=t(47),o=t(29);n.exports=function(n){return r(o(n))}},110:function(n,e,t){var r=t(9),o=t(40),c=t(3)("species");n.exports=function(n,e){var t,i=r(n).constructor;return void 0===i||void 0==(t=r(i)[c])?e:o(t)}},111:function(n,e,t){var r,o,c,i=t(38),f=t(146),u=t(60),s=t(41),A=t(2),a=A.process,g=A.setImmediate,w=A.clearImmediate,p=A.MessageChannel,h=A.Dispatch,v=0,l={},D=function(){var n=+this;if(l.hasOwnProperty(n)){var e=l[n];delete l[n],e()}},j=function(n){D.call(n.data)};g&&w||(g=function(n){for(var e=[],t=1;arguments.length>t;)e.push(arguments[t++]);return l[++v]=function(){f("function"==typeof n?n:Function(n),e)},r(v),v},w=function(n){delete l[n]},"process"==t(26)(a)?r=function(n){a.nextTick(i(D,n,1))}:h&&h.now?r=function(n){h.now(i(D,n,1))}:p?(o=new p,c=o.port2,o.port1.onmessage=j,r=i(c.postMessage,c,1)):A.addEventListener&&"function"==typeof postMessage&&!A.importScripts?(r=function(n){A.postMessage(n+"","*")},A.addEventListener("message",j,!1)):r="onreadystatechange"in s("script")?function(n){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),D.call(n)}}:function(n){setTimeout(i(D,n,1),0)}),n.exports={set:g,clear:w}},112:function(n,e){n.exports=function(n){try{return{e:!1,v:n()}}catch(n){return{e:!0,v:n}}}},113:function(n,e,t){var r=t(9),o=t(10),c=t(68);n.exports=function(n,e){if(r(n),o(e)&&e.constructor===n)return e;var t=c.f(n);return(0,t.resolve)(e),t.promise}},114:function(n,e,t){"use strict";function r(n){n.interceptors.response.use(function(n){return n},function(n){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},t="";return t=n&&n.response&&n.response.status?e[n.response.status]?e[n.response.status]+"("+n.response.status+")":"请求失败,请稍后重试("+n.response.status+")":n&&n.message&&/timeout/i.test(n.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",f.a.reject(new Error(t))})}function o(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new f.a(function(o,c){var i=s.a.create();r(i),i.request({method:"post",url:n,data:e,timeout:t,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(n){o(n)}).catch(function(n){c(n)})})}function c(n){return s.a.get(n).then(function(n){return f.a.resolve(n.data)})}e.a=r,e.d=o,e.c=c;var i=t(52),f=t.n(i),u=t(164),s=t.n(u);e.b=function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new f.a(function(o,c){var i=s.a.create();r(i),i.request({method:"post",url:n,data:e,timeout:t,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(n){function e(n,e){var t=0,r=n.length;if(void 0===r||"[object Function]"===Object.prototype.toString.call(n)){for(var o in n)if(!1===e.call(n[o],o,n[o]))break}else for(var c=n[0];t<r&&!1!==e.call(c,t,c);c=n[++t]);return n}function t(n,r,o){var c=void 0,i="[object Array]"===Object.prototype.toString.call(r),f="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){c=Object.prototype.toString.call(r),o&&(e=o+"["+(f||"[object Object]"===c||"[object Array]"===c?e:"")+"]"),!o&&i?n.add(r.name,r.value):"[object Array]"===c||"[object Object]"===c?t(n,r,e):n.add(e,r)})}if(n){return function(n){var e=[];return e.add=function(n,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(n)+"="+encodeURIComponent(e))},t(e,n),e.join("&").replace(/%20/g,"+")}(n)}}]}).then(function(n){o(n)}).catch(function(n){c(n)})})}},115:function(n,e,t){var r=t(107),o=t(3)("iterator"),c=t(18);n.exports=t(0).getIteratorMethod=function(n){if(void 0!=n)return n[o]||n["@@iterator"]||c[r(n)]}},12:function(n,e){n.exports=function(n){try{return!!n()}catch(n){return!0}}},120:function(n,e){},121:function(n,e,t){"use strict";t.d(e,"a",function(){return r}),t.d(e,"b",function(){return o});var r=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{directives:[{name:"show",rawName:"v-show",value:n.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:n.typeClass,style:{pointerEvents:n.pointerEvent,zIndex:n.zIndex}},[t("div",{directives:[{name:"show",rawName:"v-show",value:n.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:n.maskBgColor},on:{click:n.maskClick}},[n._t("mask")],2),n._v(" "),t("div",{staticClass:"act-popup-container",class:{"act-popup-center":n.center}},[n.$slots.default?t("div",{class:{"act-popup-content":!0,"act-popup-top-radius":n.topBorderRadius}},[n._t("default")],2):t("div",{class:{"act-popup-content":!0,"act-popup-top-radius":n.topBorderRadius},domProps:{innerHTML:n._s(n.content)}})])])},o=[];r._withStripped=!0},123:function(n,e,t){var r=t(38),o=t(136),c=t(137),i=t(9),f=t(59),u=t(115),s={},A={},e=n.exports=function(n,e,t,a,g){var w,p,h,v,l=g?function(){return n}:u(n),D=r(t,a,e?2:1),j=0;if("function"!=typeof l)throw TypeError(n+" is not iterable!");if(c(l)){for(w=f(n.length);w>j;j++)if((v=e?D(i(p=n[j])[0],p[1]):D(n[j]))===s||v===A)return v}else for(h=l.call(n);!(p=h.next()).done;)if((v=o(h,D,p.value,e))===s||v===A)return v};e.BREAK=s,e.RETURN=A},125:function(n,e,t){"use strict";n.exports=function(n,e){return function(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];return n.apply(e,t)}}},126:function(n,e,t){"use strict";function r(n){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=t(17);n.exports=function(n,e,t){if(!e)return n;var c;if(t)c=t(e);else if(o.isURLSearchParams(e))c=e.toString();else{var i=[];o.forEach(e,function(n,e){null!==n&&void 0!==n&&(o.isArray(n)?e+="[]":n=[n],o.forEach(n,function(n){o.isDate(n)?n=n.toISOString():o.isObject(n)&&(n=JSON.stringify(n)),i.push(r(e)+"="+r(n))}))}),c=i.join("&")}if(c){var f=n.indexOf("#");-1!==f&&(n=n.slice(0,f)),n+=(-1===n.indexOf("?")?"?":"&")+c}return n}},127:function(n,e,t){"use strict";n.exports=function(n){return!(!n||!n.__CANCEL__)}},128:function(n,e,t){"use strict";(function(e){function r(n,e){!o.isUndefined(n)&&o.isUndefined(n["Content-Type"])&&(n["Content-Type"]=e)}var o=t(17),c=t(170),i={"Content-Type":"application/x-www-form-urlencoded"},f={adapter:function(){var n;return"undefined"!=typeof XMLHttpRequest?n=t(129):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(n=t(129)),n}(),transformRequest:[function(n,e){return c(e,"Accept"),c(e,"Content-Type"),o.isFormData(n)||o.isArrayBuffer(n)||o.isBuffer(n)||o.isStream(n)||o.isFile(n)||o.isBlob(n)?n:o.isArrayBufferView(n)?n.buffer:o.isURLSearchParams(n)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),n.toString()):o.isObject(n)?(r(e,"application/json;charset=utf-8"),JSON.stringify(n)):n}],transformResponse:[function(n){if("string"==typeof n)try{n=JSON.parse(n)}catch(n){}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(n){return n>=200&&n<300}};f.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(n){f.headers[n]={}}),o.forEach(["post","put","patch"],function(n){f.headers[n]=o.merge(i)}),n.exports=f}).call(e,t(153))},129:function(n,e,t){"use strict";var r=t(17),o=t(171),c=t(126),i=t(173),f=t(176),u=t(177),s=t(130);n.exports=function(n){return new Promise(function(e,A){var a=n.data,g=n.headers;r.isFormData(a)&&delete g["Content-Type"];var w=new XMLHttpRequest;if(n.auth){var p=n.auth.username||"",h=n.auth.password||"";g.Authorization="Basic "+btoa(p+":"+h)}var v=i(n.baseURL,n.url);if(w.open(n.method.toUpperCase(),c(v,n.params,n.paramsSerializer),!0),w.timeout=n.timeout,w.onreadystatechange=function(){if(w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in w?f(w.getAllResponseHeaders()):null,r=n.responseType&&"text"!==n.responseType?w.response:w.responseText,c={data:r,status:w.status,statusText:w.statusText,headers:t,config:n,request:w};o(e,A,c),w=null}},w.onabort=function(){w&&(A(s("Request aborted",n,"ECONNABORTED",w)),w=null)},w.onerror=function(){A(s("Network Error",n,null,w)),w=null},w.ontimeout=function(){var e="timeout of "+n.timeout+"ms exceeded";n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),A(s(e,n,"ECONNABORTED",w)),w=null},r.isStandardBrowserEnv()){var l=t(178),D=(n.withCredentials||u(v))&&n.xsrfCookieName?l.read(n.xsrfCookieName):void 0;D&&(g[n.xsrfHeaderName]=D)}if("setRequestHeader"in w&&r.forEach(g,function(n,e){void 0===a&&"content-type"===e.toLowerCase()?delete g[e]:w.setRequestHeader(e,n)}),r.isUndefined(n.withCredentials)||(w.withCredentials=!!n.withCredentials),n.responseType)try{w.responseType=n.responseType}catch(e){if("json"!==n.responseType)throw e}"function"==typeof n.onDownloadProgress&&w.addEventListener("progress",n.onDownloadProgress),"function"==typeof n.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",n.onUploadProgress),n.cancelToken&&n.cancelToken.promise.then(function(n){w&&(w.abort(),A(n),w=null)}),void 0===a&&(a=null),w.send(a)})}},13:function(n,e,t){var r=t(2),o=t(0),c=t(38),i=t(7),f=t(6),u=function(n,e,t){var s,A,a,g=n&u.F,w=n&u.G,p=n&u.S,h=n&u.P,v=n&u.B,l=n&u.W,D=w?o:o[e]||(o[e]={}),j=D.prototype,d=w?r:p?r[e]:(r[e]||{}).prototype;w&&(t=e);for(s in t)(A=!g&&d&&void 0!==d[s])&&f(D,s)||(a=A?d[s]:t[s],D[s]=w&&"function"!=typeof d[s]?t[s]:v&&A?c(a,r):l&&d[s]==a?function(n){var e=function(e,t,r){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,t)}return new n(e,t,r)}return n.apply(this,arguments)};return e.prototype=n.prototype,e}(a):h&&"function"==typeof a?c(Function.call,a):a,h&&((D.virtual||(D.virtual={}))[s]=a,n&u.R&&j&&!j[s]&&i(j,s,a)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,n.exports=u},130:function(n,e,t){"use strict";var r=t(172);n.exports=function(n,e,t,o,c){var i=new Error(n);return r(i,e,t,o,c)}},131:function(n,e,t){"use strict";var r=t(17);n.exports=function(n,e){e=e||{};var t={},o=["url","method","params","data"],c=["headers","auth","proxy"],i=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(n){void 0!==e[n]&&(t[n]=e[n])}),r.forEach(c,function(o){r.isObject(e[o])?t[o]=r.deepMerge(n[o],e[o]):void 0!==e[o]?t[o]=e[o]:r.isObject(n[o])?t[o]=r.deepMerge(n[o]):void 0!==n[o]&&(t[o]=n[o])}),r.forEach(i,function(r){void 0!==e[r]?t[r]=e[r]:void 0!==n[r]&&(t[r]=n[r])});var f=o.concat(c).concat(i),u=Object.keys(e).filter(function(n){return-1===f.indexOf(n)});return r.forEach(u,function(r){void 0!==e[r]?t[r]=e[r]:void 0!==n[r]&&(t[r]=n[r])}),t}},1314:function(n,e,t){"use strict";function r(n,e){"function"==typeof n&&n(e)}function o(n,e,t){if(!t)return n;var r=new URL(n),o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),c=r.search?"&":"?";return r.search=function(n){return n.match(o)?n.replace(o,"$1"+e+"="+t+"$2"):n+c+e+"="+t}(r.search),r.href}function c(n,e){var t=n;for(var r in e)t=o(t,r,e[r]);return t}function i(n,e){return c(n,{mucType:e})}Object.defineProperty(e,"__esModule",{value:!0});var f=t(65),u=t.n(f),s=t(106),A=t.n(s),a=t(207),g=t.n(a),w=t(52),p=t.n(w),h=t(208),v=t.n(h),l=t(214),D=t.n(l),j=t(4),d=t(114),O=t(1315),x=(t.n(O),"undefined"!=typeof window&&window.navigator.userAgent.toLowerCase()),N=null;j.K.isKcbApp?N=window.kcbJs:j.K.isXysApp&&(N=window.xysJs);var B={supportedProviders:["TENCENT","FACEID"],business:1,environment:1},b={wx:{environment:1,business:1,id:1001},app:{environment:3,muckacabao:{business:3,id:3003},mucyanxuan:{business:2,id:3002},mucxiaoyusan:{business:1,id:3001},mucconsultant:{business:4,id:3004},other:{environment:3,business:1,id:4002}},h5:{environment:2,business:1,id:4001}},y=["muckacabao","mucyanxuan","mucconsultant","mucxiaoyusan"],m="/faceCheck/index/middle",G=function(){function n(e){if(D()(this,n),!e.succUrl)throw new Error("succUrl为必传参数");e.failUrl||(e.failUrl=e.succUrl),e.redirectUrl=e.redirectUrl?e.redirectUrl:location.href,this.h5MiddleUrl=e.domain?""+e.domain+m:m,e.redirectType=e.redirectType||"",e.config=e.config||b,e.appUa=e.appUa||y,e.title=e.title||"",e.desc=e.desc||"",this.options=e}return n.prototype._isAPP=function(){for(var n=0;n<this.options.appUa.length;n++)if(x.indexOf(this.options.appUa[n])>-1)return this.options.appUa[n];return!1},n.prototype.getId=function(){function n(){return e.apply(this,arguments)}var e=v()(g.a.mark(function n(){var e,t,r;return g.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!(e=this._isAPP())){n.next=12;break}return B.environment=this.options.config.app.environment,B.business=this.options.config.app[e].business,n.next=6,this.getAppSupportList().catch(function(){return[]});case 6:return t=n.sent,r=Array.isArray(t)&&t.length>0,B.supportedProviders=t||[],n.abrupt("return",r?{id:this.options.config.app[e].id,scene:"app"}:{id:this.options.config.app.other.id,scene:"h5"});case 12:if(!j.K.isWx){n.next=18;break}return B.environment=this.options.config.wx.environment,B.business=this.options.config.wx.business,n.abrupt("return",{scene:"wx",id:this.options.config.wx.id});case 18:if(!j.K.isMobile){n.next=24;break}return B.environment=this.options.config.h5.environment,B.business=this.options.config.h5.business,n.abrupt("return",{scene:"h5",id:this.options.config.h5.id});case 24:return n.abrupt("return",p.a.reject({errmsg:"不支持",ret:10002}));case 25:case"end":return n.stop()}},n,this)}));return n}(),n.prototype._wxFace=function(n){this._h5JumpToVerify(n)},n.prototype._appFace=function(n){var e=n.data.ext.provider;if(!B.supportedProviders.includes(e))return void this._h5JumpToVerify(n);var t={};t="FACEID"===e?{provider:e,faceToken:n.data.ext.initData}:A()({provider:e},n.data.ext.initData),this._invokeAppSdk(t)},n.prototype._h5Face=function(n){this._h5JumpToVerify(n)},n.prototype._miniFace=function(n){wx.miniProgram.navigateTo({url:"/pages/faceverify/index?bizToken="+n.data.ext.initData.bizToken+"&ret=0&redirectUrl="+encodeURIComponent(this.options.redirectUrl+"&mucType=mini")})},n.prototype._h5JumpToVerify=function(n){"FACEID"===n.data.ext.provider?location.href="https://api.megvii.com/faceid/lite/do?token="+n.data.ext.initData:location.href=n.data.ext.initData.url},n.prototype._invokeAppSdk=function(n){var e=this;N.invoke({path:"/faceVerify/faceService",data:n,unsupport:function(){return r(e.options.fail,{errmsg:"不支持"})},success:function(t){if("FACEID"!==n.provider)return r(e.options.succ,t);e._faceIdSuccess(t)},fail:function(n){return r(e.options.fail,n)}})},n.prototype._faceIdSuccess=function(){function n(n){return e.apply(this,arguments)}var e=v()(g.a.mark(function n(e){var t,o,c,i=this;return g.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return",r(this.options.fail,{errmsg:"验证失败,未上传验证"}));case 2:return t=e||{},o=t.deltaData,n.next=5,Object(d.b)("/faceCheck/uploadFaceidAppLiveness",{faceCheckId:this.options.id,liveness:o}).catch(function(n){r(i.options.fail,n)});case 5:c=n.sent,c&&c.data&&0===c.data.ret?this.getResult():r(this.options.fail,{errmsg:"上传验证失败"});case 7:case"end":return n.stop()}},n,this)}));return n}(),n.prototype.goFace=function(){var n=this.formatUrl(this.h5MiddleUrl),e={redirectType:this.options.redirectType,mucId:this.options.id,succUrl:encodeURIComponent(this.options.succUrl),failUrl:encodeURIComponent(this.options.failUrl)};this.options.title&&(e.title=encodeURIComponent(this.options.title)),this.options.desc&&(e.desc=encodeURIComponent(this.options.desc));var t=u()(e).map(function(n){return n+"="+e[n]}).join("&");location.href=n+"?"+t},n.prototype.goFaceCheck=function(){var n=this;this.getId().then(function(e){n.faceCheck({xysScene:e.scene,xysScenemucId:e.id})}).catch(function(e){if(e&&10001===e.ret)return wx.miniProgram.navigateTo({url:"/pages/faceverify/index?ret=1"});e&&10002===e.ret?alert("暂不支持PC页面使用"):r(n.options.fail,e)})},n.prototype.faceCheck=function(n){var e=this;this._getFaceCheck().then(function(t){0===t.ret?4===t.data.state?r(e.options.succ):5===t.data.state?r(e.options.fail,{errmsg:"人脸核身失败",data:{des:"业务id状态为关闭"}}):e._faceInit(n):r(e.options.fail,t)})},n.prototype._faceInit=function(n){var e=this;Object(d.b)("/faceCheck/init",A()({faceCheckId:this.options.id,confId:n.xysScenemucId,redirectUrl:i(this.options.redirectUrl,"h5"),redirectType:this.options.redirectType},B)).then(function(t){0===t.data.ret?"wx"===n.xysScene?e._wxFace(t.data):"app"===n.xysScene?e._appFace(t.data):"h5"===n.xysScene?e._h5Face(t.data):"mini"===n.xysScene&&e._miniFace(t.data):r(e.options.fail,{errmsg:t.data.errmsg})}).catch(function(n){return"ECONNABORTED"===n.code&&r(e.options.fail,{ret:999990,errmsg:"faceCheck/init超时"}),r(e.options.fail,{ret:99999,errmsg:"系统繁忙"})})},n.prototype.getResult=function(n){var e=this;return Object(d.b)("/faceCheck/getCheckResult",{faceCheckId:this.options.id}).then(function(t){if(n&&n.self)return p.a.resolve(t.data);0===t.data.ret&&4===t.data.data.state?location.replace(c(e.options.succUrl,{facecheckid:e.options.id,mucFaceType:1})):location.replace(c(e.options.failUrl,{facecheckid:e.options.id,mucFaceType:0}))}).catch(function(n){return p.a.reject({ret:99999,errmsg:"系统繁忙"})})},n.prototype._getFaceCheck=function(){return Object(d.b)("/faceCheck/getFaceCheck",{faceCheckId:this.options.id}).then(function(n){return p.a.resolve(n.data)}).catch(function(n){return p.a.resolve({ret:99999,errmsg:"系统繁忙",data:{des:"/faceCheck/getFaceCheck出错"}})})},n.prototype._checkTencentSupport=function(){return new p.a(function(n,e){N.checkJsApi({path:"/faceVerify/faceService",success:function(e){n(!0)},fail:function(e){n(!1)}})})},n.prototype.getAppSupportList=function(){var n=this;return new p.a(function(e,t){n._getSupportList().then(function(n){e(n)}).catch(function(r){n._checkTencentSupport().then(function(n){e(n?["TENCENT"]:[])}).catch(function(){t()})})})},n.prototype._getSupportList=function(){return new p.a(function(n,e){N.invoke({path:"/faceVerify/getSupportList",success:function(e){n(e)},fail:function(n){e()},unsupport:function(){e()}})})},n.prototype.formatUrl=function(n){var e=n.split("?")[0];return/^https?:\/\//.test(e)?e:/^\/\//.test(e)?location.protocol+e:/\./.test(e)?location.protocol+"//"+e:location.protocol+"//"+location.host+e},n}();G.config=b,e.default=G},1315:function(n,e){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(n,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),r=t.length>>>0;if(0===r)return!1;for(var o=0|e,c=Math.max(o>=0?o:r-Math.abs(o),0);c<r;){if(function(n,e){return n===e||"number"==typeof n&&"number"==typeof e&&isNaN(n)&&isNaN(e)}(t[c],n))return!0;c++}return!1}})},132:function(n,e,t){"use strict";function r(n){this.message=n}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,n.exports=r},136:function(n,e,t){var r=t(9);n.exports=function(n,e,t,o){try{return o?e(r(t)[0],t[1]):e(t)}catch(e){var c=n.return;throw void 0!==c&&r(c.call(n)),e}}},137:function(n,e,t){var r=t(18),o=t(3)("iterator"),c=Array.prototype;n.exports=function(n){return void 0!==n&&(r.Array===n||c[o]===n)}},139:function(n,e){n.exports=function(n,e,t,r){if(!(n instanceof e)||void 0!==r&&r in n)throw TypeError(t+": incorrect invocation!");return n}},140:function(n,e,t){var r=t(7);n.exports=function(n,e,t){for(var o in e)t&&n[o]?n[o]=e[o]:r(n,o,e[o]);return n}},141:function(n,e,t){var r=t(3)("iterator"),o=!1;try{var c=[7][r]();c.return=function(){o=!0},Array.from(c,function(){throw 2})}catch(n){}n.exports=function(n,e){if(!e&&!o)return!1;var t=!1;try{var c=[7],i=c[r]();i.next=function(){return{done:t=!0}},c[r]=function(){return i},n(c)}catch(n){}return t}},142:function(n,e,t){"use strict";var r=t(2),o=t(0),c=t(8),i=t(5),f=t(3)("species");n.exports=function(n){var e="function"==typeof o[n]?o[n]:r[n];i&&e&&!e[f]&&c.f(e,f,{configurable:!0,get:function(){return this}})}},144:function(n,e,t){t(61),t(53),t(56),t(145),t(149),t(150),n.exports=t(0).Promise},145:function(n,e,t){"use strict";var r,o,c,i,f=t(16),u=t(2),s=t(38),A=t(107),a=t(13),g=t(10),w=t(40),p=t(139),h=t(123),v=t(110),l=t(111).set,D=t(147)(),j=t(68),d=t(112),O=t(148),x=t(113),N=u.TypeError,B=u.process,b=B&&B.versions,y=b&&b.v8||"",m=u.Promise,G="process"==A(B),P=function(){},M=o=j.f,T=!!function(){try{var n=m.resolve(1),e=(n.constructor={})[t(3)("species")]=function(n){n(P,P)};return(G||"function"==typeof PromiseRejectionEvent)&&n.then(P)instanceof e&&0!==y.indexOf("6.6")&&-1===O.indexOf("Chrome/66")}catch(n){}}(),z=function(n){var e;return!(!g(n)||"function"!=typeof(e=n.then))&&e},H=function(n,e){if(!n._n){n._n=!0;var t=n._c;D(function(){for(var r=n._v,o=1==n._s,c=0;t.length>c;)!function(e){var t,c,i,f=o?e.ok:e.fail,u=e.resolve,s=e.reject,A=e.domain;try{f?(o||(2==n._h&&Y(n),n._h=1),!0===f?t=r:(A&&A.enter(),t=f(r),A&&(A.exit(),i=!0)),t===e.promise?s(N("Promise-chain cycle")):(c=z(t))?c.call(t,u,s):u(t)):s(r)}catch(n){A&&!i&&A.exit(),s(n)}}(t[c++]);n._c=[],n._n=!1,e&&!n._h&&E(n)})}},E=function(n){l.call(u,function(){var e,t,r,o=n._v,c=C(n);if(c&&(e=d(function(){G?B.emit("unhandledRejection",o,n):(t=u.onunhandledrejection)?t({promise:n,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),n._h=G||C(n)?2:1),n._a=void 0,c&&e.e)throw e.v})},C=function(n){return 1!==n._h&&0===(n._a||n._c).length},Y=function(n){l.call(u,function(){var e;G?B.emit("rejectionHandled",n):(e=u.onrejectionhandled)&&e({promise:n,reason:n._v})})},Q=function(n){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=n,e._s=2,e._a||(e._a=e._c.slice()),H(e,!0))},I=function(n){var e,t=this;if(!t._d){t._d=!0,t=t._w||t;try{if(t===n)throw N("Promise can't be resolved itself");(e=z(n))?D(function(){var r={_w:t,_d:!1};try{e.call(n,s(I,r,1),s(Q,r,1))}catch(n){Q.call(r,n)}}):(t._v=n,t._s=1,H(t,!1))}catch(n){Q.call({_w:t,_d:!1},n)}}};T||(m=function(n){p(this,m,"Promise","_h"),w(n),r.call(this);try{n(s(I,this,1),s(Q,this,1))}catch(n){Q.call(this,n)}},r=function(n){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=t(140)(m.prototype,{then:function(n,e){var t=M(v(this,m));return t.ok="function"!=typeof n||n,t.fail="function"==typeof e&&e,t.domain=G?B.domain:void 0,this._c.push(t),this._a&&this._a.push(t),this._s&&H(this,!1),t.promise},catch:function(n){return this.then(void 0,n)}}),c=function(){var n=new r;this.promise=n,this.resolve=s(I,n,1),this.reject=s(Q,n,1)},j.f=M=function(n){return n===m||n===i?new c(n):o(n)}),a(a.G+a.W+a.F*!T,{Promise:m}),t(27)(m,"Promise"),t(142)("Promise"),i=t(0).Promise,a(a.S+a.F*!T,"Promise",{reject:function(n){var e=M(this);return(0,e.reject)(n),e.promise}}),a(a.S+a.F*(f||!T),"Promise",{resolve:function(n){return x(f&&this===i?m:this,n)}}),a(a.S+a.F*!(T&&t(141)(function(n){m.all(n).catch(P)})),"Promise",{all:function(n){var e=this,t=M(e),r=t.resolve,o=t.reject,c=d(function(){var t=[],c=0,i=1;h(n,!1,function(n){var f=c++,u=!1;t.push(void 0),i++,e.resolve(n).then(function(n){u||(u=!0,t[f]=n,--i||r(t))},o)}),--i||r(t)});return c.e&&o(c.v),t.promise},race:function(n){var e=this,t=M(e),r=t.reject,o=d(function(){h(n,!1,function(n){e.resolve(n).then(t.resolve,r)})});return o.e&&r(o.v),t.promise}})},146:function(n,e){n.exports=function(n,e,t){var r=void 0===t;switch(e.length){case 0:return r?n():n.call(t);case 1:return r?n(e[0]):n.call(t,e[0]);case 2:return r?n(e[0],e[1]):n.call(t,e[0],e[1]);case 3:return r?n(e[0],e[1],e[2]):n.call(t,e[0],e[1],e[2]);case 4:return r?n(e[0],e[1],e[2],e[3]):n.call(t,e[0],e[1],e[2],e[3])}return n.apply(t,e)}},147:function(n,e,t){var r=t(2),o=t(111).set,c=r.MutationObserver||r.WebKitMutationObserver,i=r.process,f=r.Promise,u="process"==t(26)(i);n.exports=function(){var n,e,t,s=function(){var r,o;for(u&&(r=i.domain)&&r.exit();n;){o=n.fn,n=n.next;try{o()}catch(r){throw n?t():e=void 0,r}}e=void 0,r&&r.enter()};if(u)t=function(){i.nextTick(s)};else if(!c||r.navigator&&r.navigator.standalone)if(f&&f.resolve){var A=f.resolve(void 0);t=function(){A.then(s)}}else t=function(){o.call(r,s)};else{var a=!0,g=document.createTextNode("");new c(s).observe(g,{characterData:!0}),t=function(){g.data=a=!a}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),n||(n=o,t()),e=o}}},148:function(n,e,t){var r=t(2),o=r.navigator;n.exports=o&&o.userAgent||""},149:function(n,e,t){"use strict";var r=t(13),o=t(0),c=t(2),i=t(110),f=t(113);r(r.P+r.R,"Promise",{finally:function(n){var e=i(this,o.Promise||c.Promise),t="function"==typeof n;return this.then(t?function(t){return f(e,n()).then(function(){return t})}:n,t?function(t){return f(e,n()).then(function(){throw t})}:n)}})},15:function(n,e,t){var r=t(50),o=t(33);n.exports=Object.keys||function(n){return r(n,o)}},150:function(n,e,t){"use strict";var r=t(13),o=t(68),c=t(112);r(r.S,"Promise",{try:function(n){var e=o.f(this),t=c(n);return(t.e?e.reject:e.resolve)(t.v),e.promise}})},153:function(n,e){function t(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(n){if(A===setTimeout)return setTimeout(n,0);if((A===t||!A)&&setTimeout)return A=setTimeout,setTimeout(n,0);try{return A(n,0)}catch(e){try{return A.call(null,n,0)}catch(e){return A.call(this,n,0)}}}function c(n){if(a===clearTimeout)return clearTimeout(n);if((a===r||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(n);try{return a(n)}catch(e){try{return a.call(null,n)}catch(e){return a.call(this,n)}}}function i(){h&&w&&(h=!1,w.length?p=w.concat(p):v=-1,p.length&&f())}function f(){if(!h){var n=o(i);h=!0;for(var e=p.length;e;){for(w=p,p=[];++v<e;)w&&w[v].run();v=-1,e=p.length}w=null,h=!1,c(n)}}function u(n,e){this.fun=n,this.array=e}function s(){}var A,a,g=n.exports={};!function(){try{A="function"==typeof setTimeout?setTimeout:t}catch(n){A=t}try{a="function"==typeof clearTimeout?clearTimeout:r}catch(n){a=r}}();var w,p=[],h=!1,v=-1;g.nextTick=function(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];p.push(new u(n,e)),1!==p.length||h||o(f)},u.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=s,g.addListener=s,g.once=s,g.off=s,g.removeListener=s,g.removeAllListeners=s,g.emit=s,g.prependListener=s,g.prependOnceListener=s,g.listeners=function(n){return[]},g.binding=function(n){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(n){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},1564:function(n,e,t){"use strict";var r=t(108),o=t(1988),c=t.n(o),i=t(1989),f=t.n(i),u=t(1990),s=t.n(u),A=t(1991),a=t.n(A),g=t(1992),w=t.n(g),p=t(1993),h=t.n(p);e.a={name:"RecognitionDialog",components:{ActPopup:r.a},data:function(){return{visible:!1,options:{mode:[],theme:1,text1:"",text2:"",text3:""},imgs:{xys1:c.a,xys2:f.a,xys3:s.a,kcb1:a.a,kcb2:w.a,kcb3:h.a}}},computed:{themeClass:function(){return 2===parseInt(this.options.theme)?"kcb":"xys"}},methods:{close:function(){this.$emit("close")},handleClick:function(n){this.$emit("click",n)}}}},16:function(n,e){n.exports=!0},164:function(n,e,t){n.exports=t(165)},165:function(n,e,t){"use strict";function r(n){var e=new i(n),t=c(i.prototype.request,e);return o.extend(t,i.prototype,e),o.extend(t,e),t}var o=t(17),c=t(125),i=t(166),f=t(131),u=t(128),s=r(u);s.Axios=i,s.create=function(n){return r(f(s.defaults,n))},s.Cancel=t(132),s.CancelToken=t(179),s.isCancel=t(127),s.all=function(n){return Promise.all(n)},s.spread=t(180),n.exports=s,n.exports.default=s},166:function(n,e,t){"use strict";function r(n){this.defaults=n,this.interceptors={request:new i,response:new i}}var o=t(17),c=t(126),i=t(167),f=t(168),u=t(131);r.prototype.request=function(n){"string"==typeof n?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=u(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var e=[f,void 0],t=Promise.resolve(n);for(this.interceptors.request.forEach(function(n){e.unshift(n.fulfilled,n.rejected)}),this.interceptors.response.forEach(function(n){e.push(n.fulfilled,n.rejected)});e.length;)t=t.then(e.shift(),e.shift());return t},r.prototype.getUri=function(n){return n=u(this.defaults,n),c(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(n){r.prototype[n]=function(e,t){return this.request(o.merge(t||{},{method:n,url:e}))}}),o.forEach(["post","put","patch"],function(n){r.prototype[n]=function(e,t,r){return this.request(o.merge(r||{},{method:n,url:e,data:t}))}}),n.exports=r},167:function(n,e,t){"use strict";function r(){this.handlers=[]}var o=t(17);r.prototype.use=function(n,e){return this.handlers.push({fulfilled:n,rejected:e}),this.handlers.length-1},r.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},r.prototype.forEach=function(n){o.forEach(this.handlers,function(e){null!==e&&n(e)})},n.exports=r},168:function(n,e,t){"use strict";function r(n){n.cancelToken&&n.cancelToken.throwIfRequested()}var o=t(17),c=t(169),i=t(127),f=t(128);n.exports=function(n){return r(n),n.headers=n.headers||{},n.data=c(n.data,n.headers,n.transformRequest),n.headers=o.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete n.headers[e]}),(n.adapter||f.adapter)(n).then(function(e){return r(n),e.data=c(e.data,e.headers,n.transformResponse),e},function(e){return i(e)||(r(n),e&&e.response&&(e.response.data=c(e.response.data,e.response.headers,n.transformResponse))),Promise.reject(e)})}},169:function(n,e,t){"use strict";var r=t(17);n.exports=function(n,e,t){return r.forEach(t,function(t){n=t(n,e)}),n}},17:function(n,e,t){"use strict";function r(n){return"[object Array]"===b.call(n)}function o(n){return void 0===n}function c(n){return null!==n&&!o(n)&&null!==n.constructor&&!o(n.constructor)&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)}function i(n){return"[object ArrayBuffer]"===b.call(n)}function f(n){return"undefined"!=typeof FormData&&n instanceof FormData}function u(n){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(n):n&&n.buffer&&n.buffer instanceof ArrayBuffer}function s(n){return"string"==typeof n}function A(n){return"number"==typeof n}function a(n){return null!==n&&"object"==typeof n}function g(n){return"[object Date]"===b.call(n)}function w(n){return"[object File]"===b.call(n)}function p(n){return"[object Blob]"===b.call(n)}function h(n){return"[object Function]"===b.call(n)}function v(n){return a(n)&&h(n.pipe)}function l(n){return"undefined"!=typeof URLSearchParams&&n instanceof URLSearchParams}function D(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")}function j(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function d(n,e){if(null!==n&&void 0!==n)if("object"!=typeof n&&(n=[n]),r(n))for(var t=0,o=n.length;t<o;t++)e.call(null,n[t],t,n);else for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&e.call(null,n[c],c,n)}function O(){function n(n,t){"object"==typeof e[t]&&"object"==typeof n?e[t]=O(e[t],n):e[t]=n}for(var e={},t=0,r=arguments.length;t<r;t++)d(arguments[t],n);return e}function x(){function n(n,t){"object"==typeof e[t]&&"object"==typeof n?e[t]=x(e[t],n):e[t]="object"==typeof n?x({},n):n}for(var e={},t=0,r=arguments.length;t<r;t++)d(arguments[t],n);return e}function N(n,e,t){return d(e,function(e,r){n[r]=t&&"function"==typeof e?B(e,t):e}),n}var B=t(125),b=Object.prototype.toString;n.exports={isArray:r,isArrayBuffer:i,isBuffer:c,isFormData:f,isArrayBufferView:u,isString:s,isNumber:A,isObject:a,isUndefined:o,isDate:g,isFile:w,isBlob:p,isFunction:h,isStream:v,isURLSearchParams:l,isStandardBrowserEnv:j,forEach:d,merge:O,deepMerge:x,extend:N,trim:D}},170:function(n,e,t){"use strict";var r=t(17);n.exports=function(n,e){r.forEach(n,function(t,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(n[e]=t,delete n[r])})}},171:function(n,e,t){"use strict";var r=t(130);n.exports=function(n,e,t){var o=t.config.validateStatus;!o||o(t.status)?n(t):e(r("Request failed with status code "+t.status,t.config,null,t.request,t))}},172:function(n,e,t){"use strict";n.exports=function(n,e,t,r,o){return n.config=e,t&&(n.code=t),n.request=r,n.response=o,n.isAxiosError=!0,n.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},n}},173:function(n,e,t){"use strict";var r=t(174),o=t(175);n.exports=function(n,e){return n&&!r(e)?o(n,e):e}},174:function(n,e,t){"use strict";n.exports=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}},175:function(n,e,t){"use strict";n.exports=function(n,e){return e?n.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):n}},176:function(n,e,t){"use strict";var r=t(17),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];n.exports=function(n){var e,t,c,i={};return n?(r.forEach(n.split("\n"),function(n){if(c=n.indexOf(":"),e=r.trim(n.substr(0,c)).toLowerCase(),t=r.trim(n.substr(c+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([t]):i[e]?i[e]+", "+t:t}}),i):i}},177:function(n,e,t){"use strict";var r=t(17);n.exports=r.isStandardBrowserEnv()?function(){function n(n){var e=n;return t&&(o.setAttribute("href",e),e=o.href),o.setAttribute("href",e),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}var e,t=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=n(window.location.href),function(t){var o=r.isString(t)?n(t):t;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},178:function(n,e,t){"use strict";var r=t(17);n.exports=r.isStandardBrowserEnv()?function(){return{write:function(n,e,t,o,c,i){var f=[];f.push(n+"="+encodeURIComponent(e)),r.isNumber(t)&&f.push("expires="+new Date(t).toGMTString()),r.isString(o)&&f.push("path="+o),r.isString(c)&&f.push("domain="+c),!0===i&&f.push("secure"),document.cookie=f.join("; ")},read:function(n){var e=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},179:function(n,e,t){"use strict";function r(n){if("function"!=typeof n)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(n){e=n});var t=this;n(function(n){t.reason||(t.reason=new o(n),e(t.reason))})}var o=t(132);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var n;return{token:new r(function(e){n=e}),cancel:n}},n.exports=r},18:function(n,e){n.exports={}},180:function(n,e,t){"use strict";n.exports=function(n){return function(e){return n.apply(null,e)}}},19:function(n,e){n.exports=function(n,e){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:e}}},1983:function(n,e,t){"use strict";function r(n,e){return Object(u.t)(n)?n(e):n||""}Object.defineProperty(e,"__esModule",{value:!0});var o=t(214),c=t.n(o),i=t(62),f=t(1314),u=t(4),s=t(1984),A=t(1985),a=[1,2,3],g={id:null,redirectType:0,successUrl:null,failUrl:null,redirectUrl:null,domain:window.location.hostname,mode:[1,2],theme:1,text1:null,text2:null,text3:null,uploadText:function(n){return null}},w=function(){function n(e){c()(this,n),this.options=this.mergeOptions(e),this.validOptions(this.options)}return n.prototype.mergeOptions=function(n){var e=Object(i.a)({},g,n);return Object(u.r)(e.failUrl)||(e.failUrl=e.successUrl),Object(u.r)(e.mode)&&(Object(u.z)(e.mode)?e.mode=[e.mode]:Object(u.p)(e.mode)||(e.mode=g.mode),e.mode=e.mode.filter(function(n){return a.includes(n)})),Object(u.r)(e.domain)&&(e.domain=e.domain.split("?")[0]),e},n.prototype.validOptions=function(n){if(!Object(u.r)(n.id))throw new Error("id为必传参数");if(!Object(u.r)(n.successUrl))throw new Error("successUrl为必传参数");if(0===n.mode.length)throw new Error("mode不能为空数组")},n.prototype.start=function(){var n=this.options;if(n.redirectUrl=window.location.href,n.mode.length>1)Object(A.b)(n,this);else{var e=Object(s.b)(n.mode,1),t=Object(s.b)(n.mode,2),r=Object(s.b)(n.mode,3);e?this.image():t?this.face():r&&this.idCard()}},n.prototype.image=function(){var n=this.options,e={id:n.id,successUrl:n.successUrl,failUrl:n.failUrl,redirectUrl:window.location.href,uploadText:r(n.uploadText,1)};Object(u.n)("vconsole")&&(e.vconsole=1),A.a.visible=!1,window.location.href=Object(s.a)(n.domain+"/faceCheck/index/image",e)},n.prototype.face=function(){var n=this.options;this.faceRecognition=new f.default({id:n.id,domain:n.domain,redirectType:n.redirectType,succUrl:n.successUrl,failUrl:n.failUrl,uploadText:r(n.uploadText,2)}),A.a.visible=!1,this.faceRecognition.goFace()},n.prototype.idCard=function(){var n=this.options,e={id:n.id,successUrl:n.successUrl,failUrl:n.failUrl,redirectUrl:window.location.href,uploadText:r(n.uploadText,3)};Object(u.n)("vconsole")&&(e.vconsole=1),A.a.visible=!1,window.location.href=Object(s.a)(n.domain+"/faceCheck/index/idCard",e)},n}();e.default=w},1984:function(n,e,t){"use strict";function r(n){if(!(n=n.trim().replace(/^(\?|#|&)/,"")))return"";var e=n.indexOf("?"),t="";return e>=0&&(t=n.slice(e+1)),t}function o(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}function c(n,e){var t="";t=o(n)?n:/\./.test(n)?"//"+n:"//"+location.host+n;var c=A(e),i=document.createElement("a");return i.href=t||location.href,i.search?(i.search=i.search+"&"+c,i.href):i.hash&&r(i.hash)?(i.hash=i.hash+"&"+c,i.href):i.href+"?"+c}function i(n,e){return Object(s.e)(n,function(n){return n===e})>-1}e.a=c,e.b=i;var f=t(65),u=t.n(f),s=t(4),A=function(n){return u()(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&")}},1985:function(n,e,t){"use strict";t.d(e,"a",function(){return A}),t.d(e,"b",function(){return g});var r=t(65),o=t.n(r),c=t(309),i=t.n(c),f=t(1986),u=t(4),s=i.a.extend(f.a),A=void 0,a=function(){A=new s({el:document.createElement("div")})},g=function(n,e){A||a(),n&&o()(A.$data.options).forEach(function(e){Object(u.r)(n[e])&&""!==n[e]&&(A.$data.options[e]=n[e])}),A.$on("click",function(n){var t=parseInt(n);1===t?e.image():2===t?e.face():3===t&&e.idCard()}),A.$on("close",function(n){A.visible=!1}),document.body.appendChild(A.$el),i.a.nextTick(function(){A.visible=!0})}},1986:function(n,e,t){"use strict";function r(n){f||t(1987)}var o=t(1564),c=t(1994),i=t(1),f=!1,u=r,s=Object(i.a)(o.a,c.a,c.b,!1,u,"data-v-3cbc1d15",null);s.options.__file="src\\components\\Recognition\\src\\dialog.vue",e.a=s.exports},1987:function(n,e){},1988:function(n,e){n.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjcAAADiCAYAAACyROYbAAAgAElEQVR4Xu19B3gc1bX/mdkyq15sy00ukptk3ABTDC4YMMb0loSEkH8gEGroHV6eSQIBAqQASQgJhAQegRB6twGXmGIw7g3bklwkS5asLu3O7s7M/5u1Vp6tc2fmzu69ozvf974XvOece+455945Ouc393Jg4HnvPUWQumEw74Y8A2zOJw32TdELANH/TfCsRYJ1Q1NNnYFwmFTs+2/1nyKTi86w/x/6aPX+G2100qmID0Gt++gPRt1wcNx0KdvvdB1kkECWQHHxStgDPrFT7Aq6JVGs9A/2z1/MhQ2KYuQ2WoBDkf3x28rIQIglNGltRfgbhf53SLKEBiV6BwYN4eGX6AT6A9JQYDlmutQFmiE3mSZO5l/BIwRCPZ3dUl5h11VXcSHTwhmjKQukTW4+fE0pCwMUm5I80JgoWPSO2WD7Y6sv4emfWDQBct5MUZaTGoKUFA8PTWeAuckx06Vgr0NZL7hpUPzrUas+XqFjVyO0338/xyyJ2wkaeSmTm49eVSaEeECq7NioH/miKSjR0vfKj6vSRN6C0TaUpuUUaUdFH72WU/zv5IcWqoZUJjXOdUeC2+hbf2kij4L9DnXd4KKz6l9OlnuLwjkHv3sL58elE5MDicmLoijce6/DBGYcAxagbMGj/IVhYPZZIGWYm3RGJ/7PQceBUNIvAcdNl7L9LpMbFI69lQuHO664Me8Ax3FKJnV32lgJlZl3X1MmOm2SGZkP4W8UHIsuI3ZMOQjD3FCd0MQrT39AGloOjpku4fucIadgJLbLvyFR9jd35ex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