UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 63.5 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.TransferPay=e():t.TransferPay=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=2389)}({0:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},106:function(t,e,r){"use strict";e.__esModule=!0;var n=r(28),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}},107:function(t,e,r){var n=r(26),o=r(3)("toStringTag"),i="Arguments"==n(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=u(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},11:function(t,e,r){var n=r(47),o=r(29);t.exports=function(t){return n(o(t))}},110:function(t,e,r){var n=r(9),o=r(40),i=r(3)("species");t.exports=function(t,e){var r,u=n(t).constructor;return void 0===u||void 0==(r=n(u)[i])?e:o(r)}},111:function(t,e,r){var n,o,i,u=r(38),a=r(146),c=r(60),s=r(41),f=r(2),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,m=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},w=function(t){g.call(t.data)};p&&h||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++m]=function(){a("function"==typeof t?t:Function(t),e)},n(m),m},h=function(t){delete y[t]},"process"==r(26)(l)?n=function(t){l.nextTick(u(g,t,1))}:v&&v.now?n=function(t){v.now(u(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=w,n=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):n="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(u(g,t,1),0)}),t.exports={set:p,clear:h}},112:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,e,r){var n=r(9),o=r(10),i=r(68);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=i.f(t);return(0,r.resolve)(e),r.promise}},114:function(t,e,r){"use strict";function n(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},r="";return r=t&&t.response&&t.response.status?e[t.response.status]?e[t.response.status]+"("+t.response.status+")":"请求失败,请稍后重试("+t.response.status+")":t&&t.message&&/timeout/i.test(t.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",a.a.reject(new Error(r))})}function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new a.a(function(o,i){var u=s.a.create();n(u),u.request({method:"post",url:t,data:e,timeout:r,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){o(t)}).catch(function(t){i(t)})})}function i(t){return s.a.get(t).then(function(t){return a.a.resolve(t.data)})}e.a=n,e.d=o,e.c=i;var u=r(52),a=r.n(u),c=r(164),s=r.n(c);e.b=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new a.a(function(o,i){var u=s.a.create();n(u),u.request({method:"post",url:t,data:e,timeout:r,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var r=0,n=t.length;if(void 0===n||"[object Function]"===Object.prototype.toString.call(t)){for(var o in t)if(!1===e.call(t[o],o,t[o]))break}else for(var i=t[0];r<n&&!1!==e.call(i,r,i);i=t[++r]);return t}function r(t,n,o){var i=void 0,u="[object Array]"===Object.prototype.toString.call(n),a="[object Object]"===Object.prototype.toString.call(n);e(n,function(e,n){i=Object.prototype.toString.call(n),o&&(e=o+"["+(a||"[object Object]"===i||"[object Array]"===i?e:"")+"]"),!o&&u?t.add(n.name,n.value):"[object Array]"===i||"[object Object]"===i?r(t,n,e):t.add(e,n)})}if(t){return function(t){var e=[];return e.add=function(t,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(e))},r(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){o(t)}).catch(function(t){i(t)})})}},115:function(t,e,r){var n=r(107),o=r(3)("iterator"),i=r(18);t.exports=r(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},123:function(t,e,r){var n=r(38),o=r(136),i=r(137),u=r(9),a=r(59),c=r(115),s={},f={},e=t.exports=function(t,e,r,l,p){var h,d,v,m,y=p?function(){return t}:c(t),g=n(r,l,e?2:1),w=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(i(y)){for(h=a(t.length);h>w;w++)if((m=e?g(u(d=t[w])[0],d[1]):g(t[w]))===s||m===f)return m}else for(v=y.call(t);!(d=v.next()).done;)if((m=o(v,g,d.value,e))===s||m===f)return m};e.BREAK=s,e.RETURN=f},125:function(t,e,r){"use strict";t.exports=function(t,e){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return t.apply(e,r)}}},126:function(t,e,r){"use strict";function n(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=r(17);t.exports=function(t,e,r){if(!e)return t;var i;if(r)i=r(e);else if(o.isURLSearchParams(e))i=e.toString();else{var u=[];o.forEach(e,function(t,e){null!==t&&void 0!==t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),u.push(n(e)+"="+n(t))}))}),i=u.join("&")}if(i){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},127:function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},128:function(t,e,r){"use strict";(function(e){function n(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=r(17),i=r(170),u={"Content-Type":"application/x-www-form-urlencoded"},a={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=r(129):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=r(129)),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(n(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};a.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){a.headers[t]={}}),o.forEach(["post","put","patch"],function(t){a.headers[t]=o.merge(u)}),t.exports=a}).call(e,r(153))},129:function(t,e,r){"use strict";var n=r(17),o=r(171),i=r(126),u=r(173),a=r(176),c=r(177),s=r(130);t.exports=function(t){return new Promise(function(e,f){var l=t.data,p=t.headers;n.isFormData(l)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password||"";p.Authorization="Basic "+btoa(d+":"+v)}var m=u(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(m,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,n=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:n,status:h.status,statusText:h.statusText,headers:r,config:t,request:h};o(e,f,i),h=null}},h.onabort=function(){h&&(f(s("Request aborted",t,"ECONNABORTED",h)),h=null)},h.onerror=function(){f(s("Network Error",t,null,h)),h=null},h.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),f(s(e,t,"ECONNABORTED",h)),h=null},n.isStandardBrowserEnv()){var y=r(178),g=(t.withCredentials||c(m))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;g&&(p[t.xsrfHeaderName]=g)}if("setRequestHeader"in h&&n.forEach(p,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:h.setRequestHeader(e,t)}),n.isUndefined(t.withCredentials)||(h.withCredentials=!!t.withCredentials),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){h&&(h.abort(),f(t),h=null)}),void 0===l&&(l=null),h.send(l)})}},13:function(t,e,r){var n=r(2),o=r(0),i=r(38),u=r(7),a=r(6),c=function(t,e,r){var s,f,l,p=t&c.F,h=t&c.G,d=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,g=h?o:o[e]||(o[e]={}),w=g.prototype,x=h?n:d?n[e]:(n[e]||{}).prototype;h&&(r=e);for(s in r)(f=!p&&x&&void 0!==x[s])&&a(g,s)||(l=f?x[s]:r[s],g[s]=h&&"function"!=typeof x[s]?r[s]:m&&f?i(l,n):y&&x[s]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[s]=l,t&c.R&&w&&!w[s]&&u(w,s,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},130:function(t,e,r){"use strict";var n=r(172);t.exports=function(t,e,r,o,i){var u=new Error(t);return n(u,e,r,o,i)}},131:function(t,e,r){"use strict";var n=r(17);t.exports=function(t,e){e=e||{};var r={},o=["url","method","params","data"],i=["headers","auth","proxy"],u=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];n.forEach(o,function(t){void 0!==e[t]&&(r[t]=e[t])}),n.forEach(i,function(o){n.isObject(e[o])?r[o]=n.deepMerge(t[o],e[o]):void 0!==e[o]?r[o]=e[o]:n.isObject(t[o])?r[o]=n.deepMerge(t[o]):void 0!==t[o]&&(r[o]=t[o])}),n.forEach(u,function(n){void 0!==e[n]?r[n]=e[n]:void 0!==t[n]&&(r[n]=t[n])});var a=o.concat(i).concat(u),c=Object.keys(e).filter(function(t){return-1===a.indexOf(t)});return n.forEach(c,function(n){void 0!==e[n]?r[n]=e[n]:void 0!==t[n]&&(r[n]=t[n])}),r}},132:function(t,e,r){"use strict";function n(t){this.message=t}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,t.exports=n},136:function(t,e,r){var n=r(9);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var i=t.return;throw void 0!==i&&n(i.call(t)),e}}},137:function(t,e,r){var n=r(18),o=r(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},139:function(t,e){t.exports=function(t,e,r,n){if(!(t instanceof e)||void 0!==n&&n in t)throw TypeError(r+": incorrect invocation!");return t}},140:function(t,e,r){var n=r(7);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},141:function(t,e,r){var n=r(3)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var i=[7],u=i[n]();u.next=function(){return{done:r=!0}},i[n]=function(){return u},t(i)}catch(t){}return r}},142:function(t,e,r){"use strict";var n=r(2),o=r(0),i=r(8),u=r(5),a=r(3)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];u&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},144:function(t,e,r){r(61),r(53),r(56),r(145),r(149),r(150),t.exports=r(0).Promise},145:function(t,e,r){"use strict";var n,o,i,u,a=r(16),c=r(2),s=r(38),f=r(107),l=r(13),p=r(10),h=r(40),d=r(139),v=r(123),m=r(110),y=r(111).set,g=r(147)(),w=r(68),x=r(112),b=r(148),j=r(113),O=c.TypeError,S=c.process,_=S&&S.versions,E=_&&_.v8||"",T=c.Promise,P="process"==f(S),A=function(){},L=o=w.f,M=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[r(3)("species")]=function(t){t(A,A)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),k=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var n=t._v,o=1==t._s,i=0;r.length>i;)!function(e){var r,i,u,a=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{a?(o||(2==t._h&&I(t),t._h=1),!0===a?r=n:(f&&f.enter(),r=a(n),f&&(f.exit(),u=!0)),r===e.promise?s(O("Promise-chain cycle")):(i=k(r))?i.call(r,c,s):c(r)):s(n)}catch(t){f&&!u&&f.exit(),s(t)}}(r[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){y.call(c,function(){var e,r,n,o=t._v,i=C(t);if(i&&(e=x(function(){P?S.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=P||C(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},C=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){y.call(c,function(){var e;P?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=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()),R(e,!0))},B=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw O("Promise can't be resolved itself");(e=k(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,s(B,n,1),s(F,n,1))}catch(t){F.call(n,t)}}):(r._v=t,r._s=1,R(r,!1))}catch(t){F.call({_w:r,_d:!1},t)}}};M||(T=function(t){d(this,T,"Promise","_h"),h(t),n.call(this);try{t(s(B,this,1),s(F,this,1))}catch(t){F.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(140)(T.prototype,{then:function(t,e){var r=L(m(this,T));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=P?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&R(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=s(B,t,1),this.reject=s(F,t,1)},w.f=L=function(t){return t===T||t===u?new i(t):o(t)}),l(l.G+l.W+l.F*!M,{Promise:T}),r(27)(T,"Promise"),r(142)("Promise"),u=r(0).Promise,l(l.S+l.F*!M,"Promise",{reject:function(t){var e=L(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!M),"Promise",{resolve:function(t){return j(a&&this===u?T:this,t)}}),l(l.S+l.F*!(M&&r(141)(function(t){T.all(t).catch(A)})),"Promise",{all:function(t){var e=this,r=L(e),n=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,u=1;v(t,!1,function(t){var a=i++,c=!1;r.push(void 0),u++,e.resolve(t).then(function(t){c||(c=!0,r[a]=t,--u||n(r))},o)}),--u||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=L(e),n=r.reject,o=x(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},146:function(t,e){t.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},147:function(t,e,r){var n=r(2),o=r(111).set,i=n.MutationObserver||n.WebKitMutationObserver,u=n.process,a=n.Promise,c="process"==r(26)(u);t.exports=function(){var t,e,r,s=function(){var n,o;for(c&&(n=u.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){u.nextTick(s)};else if(!i||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);r=function(){f.then(s)}}else r=function(){o.call(n,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),r=function(){p.data=l=!l}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},148:function(t,e,r){var n=r(2),o=n.navigator;t.exports=o&&o.userAgent||""},149:function(t,e,r){"use strict";var n=r(13),o=r(0),i=r(2),u=r(110),a=r(113);n(n.P+n.R,"Promise",{finally:function(t){var e=u(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return a(e,t()).then(function(){return r})}:t,r?function(r){return a(e,t()).then(function(){throw r})}:t)}})},15:function(t,e,r){var n=r(50),o=r(33);t.exports=Object.keys||function(t){return n(t,o)}},150:function(t,e,r){"use strict";var n=r(13),o=r(68),i=r(112);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=i(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},153:function(t,e){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===n||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function u(){v&&h&&(v=!1,h.length?d=h.concat(d):m=-1,d.length&&a())}function a(){if(!v){var t=o(u);v=!0;for(var e=d.length;e;){for(h=d,d=[];++m<e;)h&&h[m].run();m=-1,e=d.length}h=null,v=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function s(){}var f,l,p=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(t){f=r}try{l="function"==typeof clearTimeout?clearTimeout:n}catch(t){l=n}}();var h,d=[],v=!1,m=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];d.push(new c(t,e)),1!==d.length||v||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},16:function(t,e){t.exports=!0},164:function(t,e,r){t.exports=r(165)},165:function(t,e,r){"use strict";function n(t){var e=new u(t),r=i(u.prototype.request,e);return o.extend(r,u.prototype,e),o.extend(r,e),r}var o=r(17),i=r(125),u=r(166),a=r(131),c=r(128),s=n(c);s.Axios=u,s.create=function(t){return n(a(s.defaults,t))},s.Cancel=r(132),s.CancelToken=r(179),s.isCancel=r(127),s.all=function(t){return Promise.all(t)},s.spread=r(180),t.exports=s,t.exports.default=s},166:function(t,e,r){"use strict";function n(t){this.defaults=t,this.interceptors={request:new u,response:new u}}var o=r(17),i=r(126),u=r(167),a=r(168),c=r(131);n.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=c(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],r=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)r=r.then(e.shift(),e.shift());return r},n.prototype.getUri=function(t){return t=c(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){n.prototype[t]=function(e,r){return this.request(o.merge(r||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){n.prototype[t]=function(e,r,n){return this.request(o.merge(n||{},{method:t,url:e,data:r}))}}),t.exports=n},167:function(t,e,r){"use strict";function n(){this.handlers=[]}var o=r(17);n.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},n.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},n.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=n},168:function(t,e,r){"use strict";function n(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=r(17),i=r(169),u=r(127),a=r(128);t.exports=function(t){return n(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return n(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return u(e)||(n(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},169:function(t,e,r){"use strict";var n=r(17);t.exports=function(t,e,r){return n.forEach(r,function(r){t=r(t,e)}),t}},17:function(t,e,r){"use strict";function n(t){return"[object Array]"===_.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function u(t){return"[object ArrayBuffer]"===_.call(t)}function a(t){return"undefined"!=typeof FormData&&t instanceof FormData}function c(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function s(t){return"string"==typeof t}function f(t){return"number"==typeof t}function l(t){return null!==t&&"object"==typeof t}function p(t){return"[object Date]"===_.call(t)}function h(t){return"[object File]"===_.call(t)}function d(t){return"[object Blob]"===_.call(t)}function v(t){return"[object Function]"===_.call(t)}function m(t){return l(t)&&v(t.pipe)}function y(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function g(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function x(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),n(t))for(var r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function b(){function t(t,r){"object"==typeof e[r]&&"object"==typeof t?e[r]=b(e[r],t):e[r]=t}for(var e={},r=0,n=arguments.length;r<n;r++)x(arguments[r],t);return e}function j(){function t(t,r){"object"==typeof e[r]&&"object"==typeof t?e[r]=j(e[r],t):e[r]="object"==typeof t?j({},t):t}for(var e={},r=0,n=arguments.length;r<n;r++)x(arguments[r],t);return e}function O(t,e,r){return x(e,function(e,n){t[n]=r&&"function"==typeof e?S(e,r):e}),t}var S=r(125),_=Object.prototype.toString;t.exports={isArray:n,isArrayBuffer:u,isBuffer:i,isFormData:a,isArrayBufferView:c,isString:s,isNumber:f,isObject:l,isUndefined:o,isDate:p,isFile:h,isBlob:d,isFunction:v,isStream:m,isURLSearchParams:y,isStandardBrowserEnv:w,forEach:x,merge:b,deepMerge:j,extend:O,trim:g}},170:function(t,e,r){"use strict";var n=r(17);t.exports=function(t,e){n.forEach(t,function(r,n){n!==e&&n.toUpperCase()===e.toUpperCase()&&(t[e]=r,delete t[n])})}},171:function(t,e,r){"use strict";var n=r(130);t.exports=function(t,e,r){var o=r.config.validateStatus;!o||o(r.status)?t(r):e(n("Request failed with status code "+r.status,r.config,null,r.request,r))}},172:function(t,e,r){"use strict";t.exports=function(t,e,r,n,o){return t.config=e,r&&(t.code=r),t.request=n,t.response=o,t.isAxiosError=!0,t.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}},t}},173:function(t,e,r){"use strict";var n=r(174),o=r(175);t.exports=function(t,e){return t&&!n(e)?o(t,e):e}},174:function(t,e,r){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},175:function(t,e,r){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},176:function(t,e,r){"use strict";var n=r(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"];t.exports=function(t){var e,r,i,u={};return t?(n.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=n.trim(t.substr(0,i)).toLowerCase(),r=n.trim(t.substr(i+1)),e){if(u[e]&&o.indexOf(e)>=0)return;u[e]="set-cookie"===e?(u[e]?u[e]:[]).concat([r]):u[e]?u[e]+", "+r:r}}),u):u}},177:function(t,e,r){"use strict";var n=r(17);t.exports=n.isStandardBrowserEnv()?function(){function t(t){var e=t;return r&&(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,r=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(r){var o=n.isString(r)?t(r):r;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},178:function(t,e,r){"use strict";var n=r(17);t.exports=n.isStandardBrowserEnv()?function(){return{write:function(t,e,r,o,i,u){var a=[];a.push(t+"="+encodeURIComponent(e)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===u&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},179:function(t,e,r){"use strict";function n(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var r=this;t(function(t){r.reason||(r.reason=new o(t),e(r.reason))})}var o=r(132);n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.source=function(){var t;return{token:new n(function(e){t=e}),cancel:t}},t.exports=n},18:function(t,e){t.exports={}},180:function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},19:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2:function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},207:function(t,e,r){t.exports=r(215)},208:function(t,e,r){"use strict";e.__esModule=!0;var n=r(52),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,r){function n(i,u){try{var a=e[i](u),c=a.value}catch(t){return void r(t)}if(!a.done)return o.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}return n("next")})}}},214:function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},215:function(t,e,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r(216),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},216:function(t,e){!function(e){"use strict";function r(t,e,r,n){var i=e&&e.prototype instanceof o?e:o,u=Object.create(i.prototype),a=new h(n||[]);return u._invoke=s(t,r,a),u}function n(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function u(){}function a(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(r,o,i,u){var a=n(t[r],t,o);if("throw"!==a.type){var c=a.arg,s=c.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,u)},function(t){e("throw",t,i,u)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},u)}u(a.arg)}function r(t,r){function n(){return new Promise(function(n,o){e(t,r,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=r}function s(t,e,r){var o=_;return function(i,u){if(o===T)throw new Error("Generator is already running");if(o===P){if("throw"===i)throw u;return v()}for(r.method=i,r.arg=u;;){var a=r.delegate;if(a){var c=f(a,r);if(c){if(c===A)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===_)throw o=P,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=T;var s=n(t,e,r);if("normal"===s.type){if(o=r.done?P:E,s.arg===A)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=P,r.method="throw",r.arg=s.arg)}}}function f(t,e){var r=t.iterator[e.method];if(r===m){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=m,f(t,e),"throw"===e.method))return A;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var o=n(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,A;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,A):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function p(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function d(t){if(t){var e=t[x];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(g.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=m,e.done=!0,e};return n.next=n}}return{next:v}}function v(){return{value:m,done:!0}}var m,y=Object.prototype,g=y.hasOwnProperty,w="function"==typeof Symbol?Symbol:{},x=w.iterator||"@@iterator",b=w.asyncIterator||"@@asyncIterator",j=w.toStringTag||"@@toStringTag",O="object"==typeof t,S=e.regeneratorRuntime;if(S)return void(O&&(t.exports=S));S=e.regeneratorRuntime=O?t.exports:{},S.wrap=r;var _="suspendedStart",E="suspendedYield",T="executing",P="completed",A={},L={};L[x]=function(){return this};var M=Object.getPrototypeOf,k=M&&M(M(d([])));k&&k!==y&&g.call(k,x)&&(L=k);var R=u.prototype=o.prototype=Object.create(L);i.prototype=R.constructor=u,u.constructor=i,u[j]=i.displayName="GeneratorFunction",S.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},S.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,j in t||(t[j]="GeneratorFunction")),t.prototype=Object.create(R),t},S.awrap=function(t){return{__await:t}},a(c.prototype),c.prototype[b]=function(){return this},S.AsyncIterator=c,S.async=function(t,e,n,o){var i=new c(r(t,e,n,o));return S.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},a(R),R[j]="Generator",R[x]=function(){return this},R.toString=function(){return"[object Generator]"},S.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},S.values=d,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=m)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,n){return i.type="throw",i.arg=t,r.next=e,n&&(r.method="next",r.arg=m),!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var u=g.call(o,"catchLoc"),a=g.call(o,"finallyLoc");if(u&&a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&g.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),A},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),p(r),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;p(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:d(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=m),A}}}(function(){return this}()||Function("return this")())},23:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},2389:function(t,e,r){"use strict";function n(){return new h.a(function(t){if(!d.K.isWx||!window.wx||!window.wx.miniProgram)return void t(!1);window.wx.miniProgram.getEnv(function(e){t(!0===e.miniprogram)})})}Object.defineProperty(e,"__esModule",{value:!0});var o=r(207),i=r.n(o),u=r(208),a=r.n(u),c=r(106),s=r.n(c),f=r(214),l=r.n(f),p=r(52),h=r.n(p),d=r(4),v=r(114),m=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l()(this,t),this.isWechatH5=null,this.messages=s()({success:"收款成功",cancel:"取消收款",failed:"转账失败"},e.messages)}return t.prototype.initEnvironment=function(){function t(){return e.apply(this,arguments)}var e=a()(i.a.mark(function t(){var e;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null===this.isWechatH5){t.next=2;break}return t.abrupt("return",this.isWechatH5);case 2:return t.next=4,n();case 4:return e=t.sent,this.isWechatH5=d.K.isWx&&!e,t.abrupt("return",this.isWechatH5);case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.formatError=function(t,e){var r=t&&t.errMsg||t&&t.message||(t?String(t):"操作失败"),n={errMsg:r};return void 0!==e&&(n.ret=e),n},t.prototype.requestTransfer=function(){function t(t){return e.apply(this,arguments)}var e=a()(i.a.mark(function t(e){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.initEnvironment();case 2:if(!this.isWechatH5){t.next=6;break}return t.abrupt("return",this.handleWechatH5Transfer(e));case 6:return t.abrupt("return",this.handleMiniProgramJumpTransfer(e));case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.handleWechatH5Transfer=function(){function t(t){return e.apply(this,arguments)}var e=a()(i.a.mark(function t(e){var r,n=this;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(window.wx){t.next=2;break}return t.abrupt("return",h.a.reject(this.formatError({errMsg:"window.wx不存在"})));case 2:return t.prev=2,t.next=5,this.fetchTransferParams(e.apiUrl,e.requestParams);case 5:return r=t.sent,t.abrupt("return",new h.a(function(t,e){window.wx.checkJsApi({jsApiList:["requestMerchantTransfer"],success:function(o){o.checkResult.requestMerchantTransfer?window.WeixinJSBridge&&window.WeixinJSBridge.invoke("requestMerchantTransfer",{mchId:r.mchId,appId:r.appId,package:r.packageInfo},function(r){console.log("requestMerchantTransfer res:",r),"requestMerchantTransfer:ok"===r.err_msg?t({errMsg:n.messages.success}):e("requestMerchantTransfer:cancel"===r.err_msg?n.formatError({errMsg:n.messages.cancel}):n.formatError({errMsg:n.messages.failed}))}):e(n.formatError({errMsg:"你的微信版本过低,请更新至最新版本。"}))},fail:function(){e(n.formatError({errMsg:"checkJsApi failed"}))}})}));case 9:if(t.prev=9,t.t0=t.catch(2),console.error("handleWechatH5Transfer-----:",t.t0),!t.t0.errMsg){t.next=14;break}return t.abrupt("return",h.a.reject(t.t0));case 14:return t.abrupt("return",h.a.reject(this.formatError(t.t0)));case 15:case"end":return t.stop()}},t,this,[[2,9]])}));return t}(),t.prototype.handleMiniProgramJumpTransfer=function(t){if(!t.miniProgramUrl)return h.a.reject(this.formatError({errMsg:"小程序跳转链接未提供"}));try{return window.location.href=t.miniProgramUrl,h.a.resolve()}catch(t){return console.error("MiniProgram transfer failed:",t),h.a.reject(this.formatError(t,void 0))}},t.prototype.fetchTransferParams=function(){function t(){return e.apply(this,arguments)}var e=a()(i.a.mark(function t(){var e,r=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=n||"/pay/getReceivePaymentData",t.abrupt("return",Object(v.b)(e,o).then(function(t){var e=t.data||{},n=e.ret,o=e.data,i=e.errmsg;if(0===n){if(!o.mchId||!o.appId||!o.packageInfo)throw r.formatError({errMsg:"接口返回的转账参数不完整"},n);return o}throw r.formatError({errMsg:i||"获取转账参数失败"},n)}).catch(function(t){if(console.error("接口获取转账参数失败:",t),void 0!==t.ret)throw t;throw r.formatError(t,void 0)}));case 2:case"end":return t.stop()}},t,this)}));return t}(),t}();e.default=m},24:function(t,e,r){var n=r(29);t.exports=function(t){return Object(n(t))}},25:function(t,e){e.f={}.propertyIsEnumerable},26:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},27:function(t,e,r){var n=r(8).f,o=r(6),i=r(3)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},28:function(t,e,r){t.exports={default:r(82),__esModule:!0}},29:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3:function(t,e,r){var n=r(32)("wks"),o=r(23),i=r(2).Symbol,u="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=n},30:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},31:function(t,e,r){var n=r(32)("keys"),o=r(23);t.exports=function(t){return n[t]||(n[t]=o(t))}},32:function(t,e,r){var n=r(0),o=r(2),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(16)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},33:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},34:function(t,e,r){var n=r(10);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},35:function(t,e){e.f=Object.getOwnPropertySymbols},36:function(t,e,r){e.f=r(3)},37:function(t,e,r){var n=r(2),o=r(0),i=r(16),u=r(36),a=r(8).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},38:function(t,e,r){var n=r(40);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},4:function(t,e,r){"use strict";function n(t,e){if(t.findIndex)return t.findIndex(e);var r=-1;return t.some(function(t,n,o){var i=e.call(this,t,n,o);if(i)return r=n,i}),r}function o(t){return t?JSON.parse(H()(t)):t}function i(t,e){for(var r in e)t[r]&&"object"===D()(t[r])?i(t[r],e[r]):t[r]=e[r]}function u(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object String]"===Object.prototype.toString.call(t)}function c(t){return"[object Number]"===Object.prototype.toString.call(t)}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return"[object Boolean]"===Object.prototype.toString.call(t)}function l(t){return null===t}function p(t){return void 0!==t&&null!==t}function h(t){return void 0===t}function d(t){return"[object Error]"===Object.prototype.toString.call(t)}function v(t){return"function"==typeof t}function m(t){return"[object Promise]"===Object.prototype.toString.call(t)||s(t)&&v(t.then)}function y(t,e,r){function n(e){var r=m,n=y;return m=y=void 0,j=e,w=t.apply(n,r)}function o(t,e){return E?(window.cancelAnimationFrame(x),window.requestAnimationFrame(t)):setTimeout(t,e)}function i(t){if(E)return window.cancelAnimationFrame(t);clearTimeout(t)}function u(t){return j=t,x=o(f,e),O?n(t):w}function a(t){var r=t-b,n=t-j,o=e-r;return S?Math.min(o,g-n):o}function c(t){var r=t-b,n=t-j;return void 0===b||r>=e||r<0||S&&n>=g}function f(){var t=Date.now();if(c(t))return l(t);x=o(f,a(t))}function l(t){return x=void 0,_&&m?n(t):(m=y=void 0,w)}function p(){void 0!==x&&i(x),j=0,m=b=y=x=void 0}function h(){return void 0===x?w:l(Date.now())}function d(){return void 0!==x}function v(){for(var t=Date.now(),r=c(t),i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];if(m=a,y=this,b=t,r){if(void 0===x)return u(b);if(S)return x=o(f,e),n(b)}return void 0===x&&(x=o(f,e)),w}var m=void 0,y=void 0,g=void 0,w=void 0,x=void 0,b=void 0,j=0,O=!1,S=!1,_=!0,E=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,s(r)&&(O=!!r.leading,S="maxWait"in r,g=S?Math.max(+r.maxWait||0,e):g,_="trailing"in r?!!r.trailing:_),v.cancel=p,v.flush=h,v.pending=d,v}function g(t,e,r){var n=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return s(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),y(t,e,{leading:n,trailing:o,maxWait:e})}function w(t){return!!/^1\d{10}$/.test(t)}function x(t){var e=t.length;return e>3&&e<8?t=t.replace(/\s/g,"").replace(/^(.{3})/g,"$1 "):e>=8&&(t=t.replace(/\s/g,"").replace(/^(.{3})(.+)/g,function(t,e,r){return e+" "+r.replace(/(.{4})(?=.)/g,"$1 ")})),t}function b(t){return t.replace(/\s/g,"").replace(/(.{4})(?=.)/g,"$1 ")}function j(t){if(void 0!==t||null!==t)return/^\d+(\.\d+)?$/.test(t+"")?t+"px":t}function O(t){if(!t)return"";var e=t.length;return 2===e?t.split("").join("&emsp;&emsp;"):3===e?t.split("").join("&ensp;"):t}function S(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.offsetHeight;if(e){var n=t.currentStyle||getComputedStyle(t);r+=parseInt(n.marginTop||0)+parseInt(n.marginBottom||0)}return r}function _(t,e){var r=/^#([a-f\d]{1})([a-f\d]{1})([a-f\d]{1})$/i.exec(t),n=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t),o=null;return r?o={r:parseInt(r[1]+r[1],16),g:parseInt(r[2]+r[2],16),b:parseInt(r[3]+r[3],16)}:n&&(o={r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}),o?void 0!==e?"rgba("+o.r+", "+o.g+", "+o.b+", "+e+")":"rgb("+o.r+", "+o.g+", "+o.b+")":""}function E(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefhijklmnopqrstuvwxyz",r=e.length,n="";t=t||32;for(var o=0;o<t;o++)n+=e.charAt(Math.floor(Math.random()*r));return n}function T(t,e){var r=e||location.href,n=new RegExp("(\\?|&)"+t+"=([^&#$\\s]+)"),o=r.match(n);return o&&o[2]}function P(t){var e=window.getComputedStyle(t),r="none"===e.display,n=null===t.offsetParent&&"fixed"!==e.position;return r||n}function A(t,e,r){return Math.min(Math.max(t,e),r)}function L(t){var e=/os (\d\d?_\d(_\d)?)/,r=e.exec(t);if(!r)return null;var n=r[1].split("_").map(function(t){return parseInt(t,10)});return{major:n[0],minor:n[1],patch:n[2]||0}}function M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var r=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),n=e.match(r);return decodeURIComponent(n?n[2]:"")}function k(t){return t?d(t)?t.message:a(t)?t:t.errmsg||"请求失败,请稍后重试":"请求失败,请稍后重试"}function R(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],r=new RegExp("https?://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]"),n=0;n<t.length;n++){var o=t[n];if(!r.test(o))return;e.push(o.split("?")[0])}return e}function N(t){var e=JSON.parse(H()(t)),r=e.attrModules,n=void 0===r?{}:r,o=e.plan,i=n.applicant,a=n.insureds,c=n.hcpics,s=n.hctext,f=n.makeup,l=n.apphctext,p=n.apphcpics,h={},d=function(t){var e=null,r=null,n=null,o=null,i={},a={},c={};for(var s in t){var f=t[s].defaultValue,l=t[s].required,p=t[s].display;if(u(f)){var h=R(f);h&&(f=h)}1!==Number(l)&&1!==Number(p)||("idType"===s||"id"===s||"idValidType"===s||"idValidEndTime"===s||"idValidStartTime"===s?(e=e||{},e[s]=f):"socialInsAddr"===s||"socialInsDetail"===s||"socialInsPost"===s||"socialInsTel"===s?(r=r||{},r[s]=f):"residentAddr"===s||"residentDetail"===s||"residentPost"===s||"residentTel"===s?(n=n||{},n[s]=f):"officeAddr"===s||"officeDetail"===s||"officePost"===s||"officeTel"===s?(o=o||{},o[s]=f):"companyIdType"===s||"companyId"===s?(a=a||{},a[s]=f):"detail"===s?(c=c||{},c[s]=f):i[s]=f)}return e&&(i.certificate=e),r&&(i.socialIns=r),n&&(i.resident=n),o&&(i.office=o),a&&(i.companyCertificate=a),c&&(i.companyAddress=c),i};if(n.plan&&(o=d(n.plan)),i&&(h.applicant={},i&&(h.applicant=d(i))),a||o){h.insureds=[];for(var v=a||[""],m=0;m<v.length;m++){var y=v[m],g=null,w={};y&&(g=d(y)),g&&(w.insured=g),o&&(w.plan=o),h.insureds.push(w)}}if(s&&(h.hctext=d(s)),l&&(h.apphctext=d(l)),c&&(h.hcpics=d(c)),p&&(h.apphcpics=d(p)),f){h.makeup={};for(var x=f||[""],b=0;b<x.length;b++){var j=x[b],O=null;j&&(O=d(j)),O&&(h.makeup=U()(h.makeup,O))}}return h}function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e=URL.createObjectURL(new Blob).toString();return URL.revokeObjectURL(e),(e.substring(e.lastIndexOf("/")+1)||"").replace(new RegExp("-","g"),"").substring(0,t)}function I(t){if("string"!=typeof t)return!1;var e=t.toLowerCase();try{return"pdf"===new URL(e.startsWith("http")?e:"https://"+e).pathname.split(".").pop()}catch(t){return/.pdf($|\?|#)/.test(e)}}function F(t){try{if(!t||"string"!=typeof t)return{id:"",originalName:"",error:"输入参数无效"};var e=t.trim();if(e.startsWith("http://")||e.startsWith("https://")){var r=e.split("/");if(0===r.length)return{id:"",originalName:"",error:"URL格式错误"};e=r.pop().split("?")[0]}if(!e.includes("~~"))return{id:"",originalName:e,error:"文件名不包含~~分隔符"};var n=e.split("~~");if(n.length<2)return{id:"",originalName:e,error:"文件名格式错误"};var o=n[0]||"",i=n[1].replace(/\.[^.]+$/,"");if(!i)return{id:o,originalName:"",error:"Base64编码部分为空"};for(var u=i.replace(/-/g,"+").replace(/_/g,"/");u.length%4;)u+="=";var a="";try{a=atob(u)}catch(t){return{id:o,originalName:"",error:"Base64解码失败: "+t.message}}var c="";try{var s=Uint8Array.from(a,function(t){return t.charCodeAt(0)});c=new TextDecoder("utf-8").decode(s)}catch(t){try{c=decodeURIComponent(a)}catch(t){c=a}}return{id:o,originalName:c,error:null}}catch(t){return console.error("parseEncodedFile 解析错误:",t),{id:"",originalName:"",error:t&&t.message||"未知错误"}}}r.d(e,"K",function(){return ut}),r.d(e,"x",function(){return at}),e.e=n,e.d=o,e.c=i,e.p=u,e.D=a,e.z=c,e.A=s,e.q=f,e.y=l,e.r=p,e.E=h,e.s=d,e.t=v,e.C=m,e.b=y,e.J=g,e.w=w,e.h=x,e.f=b,e.g=j,e.i=O,e.F=S,e.o=_,e.H=E,e.m=T,e.u=P,e.I=A,e.l=L,e.n=M,e.k=k,e.j=N,r.d(e,"v",function(){return ct}),e.a=C,e.B=I,e.G=F;var B=r(28),U=r.n(B),q=r(79),D=r.n(q),W=r(58),H=r.n(W),G="undefined"!=typeof window,J=G&&window.navigator.userAgent.toLowerCase(),V=J&&/msie|trident/.test(J),z=J&&J.indexOf("msie 9.0")>0,$=J&&J.indexOf("edge/")>0,K=J&&J.indexOf("android")>0,X=J&&/iphone|ipad|ipod|ios/.test(J),Y=J&&/arkweb|harmony/.test(J),Q=J&&/chrome\/\d+/.test(J)&&!$,Z=J&&/MicroMessenger/i.test(J),tt=J&&/wxwork/i.test(J),et=J&&/mucxiaoyusan/i.test(J),rt=J&&/muckacabao/i.te