@xysfe/actui 1.6.46 → 1.6.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/BankSelect/index.js +1 -1
- package/es/ClaimsContact/index.js +1 -1
- package/es/Contact/index.js +1 -1
- package/es/ContactBook/index.js +1 -1
- package/es/CouponLayer/index.js +1 -1
- package/es/DatePicker/index.js +1 -1
- package/es/DiseaseSelect/index.js +1 -1
- package/es/FaceRecognition/index.js +1 -1
- package/es/FigurePic/index.js +1 -1
- package/es/GoldAml/index.js +1 -1
- package/es/GoldBankPayLimit/index.js +1 -1
- package/es/GoldBenefitDemo/index.js +1 -1
- package/es/GoldCareerLayer/index.js +1 -1
- package/es/GoldCareerLayer/style.css +1 -1
- package/es/GoldDoubleRecordTable/index.js +1 -1
- package/es/GoldFinance/index.js +1 -1
- package/es/GoldFinanceChart/index.js +1 -1
- package/es/GoldFinanceV2/index.js +1 -1
- package/es/GoldMailPrecheckV2/index.js +1 -1
- package/es/GoldMulSelect/index.js +1 -1
- package/es/GoldPayLimitLayer/index.js +1 -1
- package/es/GoldPhoto/index.js +1 -1
- package/es/GoldSelect/index.js +1 -1
- package/es/IndexBar/index.js +1 -1
- package/es/Keyframe/index.js +1 -1
- package/es/Login/index.js +1 -1
- package/es/LoginLayer/index.js +1 -1
- package/es/Marketing/index.js +1 -1
- package/es/Picker/index.js +1 -1
- package/es/ProPosterLayer/index.js +1 -1
- package/es/ProductLayer/index.js +1 -1
- package/es/Recognition/index.js +1 -1
- package/es/RecordRuleLayer/index.js +1 -1
- package/es/Rule/index.js +1 -1
- package/es/Scroll/index.js +1 -1
- package/es/UserAuth/index.js +1 -1
- package/es/index.js +1 -1
- package/es/style.css +1 -1
- package/es/toBase64/index.js +1 -1
- package/lib/GoldCareerLayer/index.js +1 -1
- package/lib/GoldCareerLayer/style.css +1 -1
- package/lib/Login/index.js +1 -1
- package/lib/LoginLayer/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js"],e):"object"==typeof exports?exports.FaceRecognition=e(require("@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js")):t.FaceRecognition=e(t["@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js"])}("undefined"!=typeof self?self:this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=694)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),c=n(5),u=n(7),a=function(t,e,n){var s,f,p,l=t&a.F,h=t&a.G,d=t&a.S,v=t&a.P,y=t&a.B,m=t&a.W,g=h?o:o[e]||(o[e]={}),x=g.prototype,w=h?r:d?r[e]:(r[e]||{}).prototype;h&&(n=e);for(s in n)(f=!l&&w&&void 0!==w[s])&&u(g,s)||(p=f?w[s]:n[s],g[s]=h&&"function"!=typeof w[s]?n[s]:y&&f?i(p,r):m&&w[s]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((g.virtual||(g.virtual={}))[s]=p,t&a.R&&x&&!x[s]&&c(x,s,p)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},108:function(t,e,n){e.f=n(1)},109:function(t,e,n){var r=n(0),o=n(2),i=n(18),c=n(108),u=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:c.f(t)})}},11:function(t,e){t.exports={}},117:function(t,e,n){"use strict";function r(t){return"[object Array]"===O.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 c(t){return"[object ArrayBuffer]"===O.call(t)}function u(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(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 p(t){return null!==t&&"object"==typeof t}function l(t){return"[object Date]"===O.call(t)}function h(t){return"[object File]"===O.call(t)}function d(t){return"[object Blob]"===O.call(t)}function v(t){return"[object Function]"===O.call(t)}function y(t){return p(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function g(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function w(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,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,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)w(arguments[n],t);return e}function _(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=_(e[n],t):e[n]="object"==typeof t?_({},t):t}for(var e={},n=0,r=arguments.length;n<r;n++)w(arguments[n],t);return e}function S(t,e,n){return w(e,function(e,r){t[r]=n&&"function"==typeof e?j(e,n):e}),t}var j=n(570),O=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:a,isString:s,isNumber:f,isObject:p,isUndefined:o,isDate:l,isFile:h,isBlob:d,isFunction:v,isStream:y,isURLSearchParams:m,isStandardBrowserEnv:x,forEach:w,merge:b,deepMerge:_,extend:S,trim:g}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},124:function(t,e,n){var r=n(37),o=n(28).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},132:function(t,e,n){var r=n(24)("meta"),o=n(6),i=n(7),c=n(9).f,u=0,a=Object.isExtensible||function(){return!0},s=!n(13)(function(){return a(Object.preventExtensions({}))}),f=function(t){c(t,r,{value:{i:"O"+ ++u,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[r].i},l=function(t,e){if(!i(t,r)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&d.NEED&&a(t)&&!i(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:p,getWeak:l,onFreeze:h}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},142:function(t,e,n){var r=n(14);t.exports=Array.isArray||function(t){return"Array"==r(t)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},157:function(t,e,n){t.exports=n(182)},158:function(t,e,n){"use strict";e.__esModule=!0;var r=n(66),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,n){function r(i,c){try{var u=e[i](c),a=u.value}catch(t){return void n(t)}if(!u.done)return o.default.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},161:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(162),i=r(o),c=n(164),u=r(c),a="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===a(i.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":a(t)}},162:function(t,e,n){t.exports={default:n(163),__esModule:!0}},163:function(t,e,n){n(44),n(48),t.exports=n(108).f("iterator")},164:function(t,e,n){t.exports={default:n(165),__esModule:!0}},165:function(t,e,n){n(166),n(70),n(170),n(171),t.exports=n(2).Symbol},166:function(t,e,n){"use strict";var r=n(0),o=n(7),i=n(3),c=n(10),u=n(46),a=n(132).KEY,s=n(13),f=n(27),p=n(25),l=n(24),h=n(1),d=n(108),v=n(109),y=n(167),m=n(142),g=n(4),x=n(6),w=n(29),b=n(12),_=n(34),S=n(23),j=n(45),O=n(168),E=n(169),T=n(49),k=n(9),A=n(26),P=E.f,C=k.f,L=O.f,R=r.Symbol,F=r.JSON,N=F&&F.stringify,M=h("_hidden"),U=h("toPrimitive"),I={}.propertyIsEnumerable,D=f("symbol-registry"),B=f("symbols"),q=f("op-symbols"),G=Object.prototype,J="function"==typeof R&&!!T.f,V=r.QObject,W=!V||!V.prototype||!V.prototype.findChild,H=i&&s(function(){return 7!=j(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(G,e);r&&delete G[e],C(t,e,n),r&&t!==G&&C(G,e,r)}:C,z=function(t){var e=B[t]=j(R.prototype);return e._k=t,e},K=J&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},X=function(t,e,n){return t===G&&X(q,e,n),g(t),e=_(e,!0),g(n),o(B,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=j(n,{enumerable:S(0,!1)})):(o(t,M)||C(t,M,S(1,{})),t[M][e]=!0),H(t,e,n)):C(t,e,n)},$=function(t,e){g(t);for(var n,r=y(e=b(e)),o=0,i=r.length;i>o;)X(t,n=r[o++],e[n]);return t},Y=function(t,e){return void 0===e?j(t):$(j(t),e)},Q=function(t){var e=I.call(this,t=_(t,!0));return!(this===G&&o(B,t)&&!o(q,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,M)&&this[M][t])||e)},Z=function(t,e){if(t=b(t),e=_(e,!0),t!==G||!o(B,e)||o(q,e)){var n=P(t,e);return!n||!o(B,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=L(b(t)),r=[],i=0;n.length>i;)o(B,e=n[i++])||e==M||e==a||r.push(e);return r},et=function(t){for(var e,n=t===G,r=L(n?q:b(t)),i=[],c=0;r.length>c;)!o(B,e=r[c++])||n&&!o(G,e)||i.push(B[e]);return i};J||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),e=function(n){this===G&&e.call(q,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),H(this,t,S(1,n))};return i&&W&&H(G,t,{configurable:!0,set:e}),z(t)},u(R.prototype,"toString",function(){return this._k}),E.f=Z,k.f=X,n(124).f=O.f=tt,n(43).f=Q,T.f=et,i&&!n(18)&&u(G,"propertyIsEnumerable",Q,!0),d.f=function(t){return z(h(t))}),c(c.G+c.W+c.F*!J,{Symbol:R});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var ot=A(h.store),it=0;ot.length>it;)v(ot[it++]);c(c.S+c.F*!J,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=R(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in D)if(D[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),c(c.S+c.F*!J,"Object",{create:Y,defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var ct=s(function(){T.f(1)});c(c.S+c.F*ct,"Object",{getOwnPropertySymbols:function(t){return T.f(w(t))}}),F&&c(c.S+c.F*(!J||s(function(){var t=R();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,N.apply(F,r)}}),R.prototype[U]||n(5)(R.prototype,U,R.prototype.valueOf),p(R,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},167:function(t,e,n){var r=n(26),o=n(49),i=n(43);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var c,u=n(t),a=i.f,s=0;u.length>s;)a.call(t,c=u[s++])&&e.push(c);return e}},168:function(t,e,n){var r=n(12),o=n(124).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?u(t):o(r(t))}},169:function(t,e,n){var r=n(43),o=n(23),i=n(12),c=n(34),u=n(7),a=n(36),s=Object.getOwnPropertyDescriptor;e.f=n(3)?s:function(t,e){if(t=i(t),e=c(e,!0),a)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},170:function(t,e,n){n(109)("asyncIterator")},171:function(t,e,n){n(109)("observable")},18:function(t,e){t.exports=!0},182:function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(183),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},183:function(t,e){!function(e){"use strict";function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,c=Object.create(i.prototype),u=new h(r||[]);return c._invoke=s(t,n,u),c}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function c(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function a(t){function e(n,o,i,c){var u=r(t[n],t,o);if("throw"!==u.type){var a=u.arg,s=a.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},c)}c(u.arg)}function n(t,n){function r(){return new Promise(function(r,o){e(t,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function s(t,e,n){var o=O;return function(i,c){if(o===T)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw c;return v()}for(n.method=i,n.arg=c;;){var u=n.delegate;if(u){var a=f(u,n);if(a){if(a===A)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===O)throw o=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=T;var s=r(t,e,n);if("normal"===s.type){if(o=n.done?k:E,s.arg===A)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=k,n.method="throw",n.arg=s.arg)}}}function f(t,e){var n=t.iterator[e.method];if(n===y){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=y,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=r(n,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=y),e.delegate=null,A):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function p(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 l(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function d(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(g.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=y,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:y,done:!0}}var y,m=Object.prototype,g=m.hasOwnProperty,x="function"==typeof Symbol?Symbol:{},w=x.iterator||"@@iterator",b=x.asyncIterator||"@@asyncIterator",_=x.toStringTag||"@@toStringTag",S="object"==typeof t,j=e.regeneratorRuntime;if(j)return void(S&&(t.exports=j));j=e.regeneratorRuntime=S?t.exports:{},j.wrap=n;var O="suspendedStart",E="suspendedYield",T="executing",k="completed",A={},P={};P[w]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(d([])));L&&L!==m&&g.call(L,w)&&(P=L);var R=c.prototype=o.prototype=Object.create(P);i.prototype=R.constructor=c,c.constructor=i,c[_]=i.displayName="GeneratorFunction",j.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},j.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(R),t},j.awrap=function(t){return{__await:t}},u(a.prototype),a.prototype[b]=function(){return this},j.AsyncIterator=a,j.async=function(t,e,r,o){var i=new a(n(t,e,r,o));return j.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(R),R[_]="Generator",R[w]=function(){return this},R.toString=function(){return"[object Generator]"},j.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},j.values=d,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(l),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},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,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=g.call(o,"catchLoc"),u=g.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),l(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;l(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=y),A}}}(function(){return this}()||Function("return this")())},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},200:function(t,e,n){"use strict";function r(t,e){if(t.findIndex)return t.findIndex(e);var n=-1;return t.some(function(t,r,o){var i=e.call(this,t,r,o);if(i)return n=r,i}),n}function o(t){return t?JSON.parse(y()(t)):t}function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function c(t){return"[object String]"===Object.prototype.toString.call(t)}function u(t){return"[object Number]"===Object.prototype.toString.call(t)}function a(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0!==t&&null!==t}function f(t){return"function"==typeof t}function p(t,e,n){function r(e){var n=y,r=m;return y=m=void 0,_=e,x=t.apply(r,n)}function o(t,e){return E?(window.cancelAnimationFrame(w),window.requestAnimationFrame(t)):setTimeout(t,e)}function i(t){if(E)return window.cancelAnimationFrame(t);clearTimeout(t)}function c(t){return _=t,w=o(f,e),S?r(t):x}function u(t){var n=t-b,r=t-_,o=e-n;return j?Math.min(o,g-r):o}function s(t){var n=t-b,r=t-_;return void 0===b||n>=e||n<0||j&&r>=g}function f(){var t=Date.now();if(s(t))return p(t);w=o(f,u(t))}function p(t){return w=void 0,O&&y?r(t):(y=m=void 0,x)}function l(){void 0!==w&&i(w),_=0,y=b=m=w=void 0}function h(){return void 0===w?x:p(Date.now())}function d(){return void 0!==w}function v(){for(var t=Date.now(),n=s(t),i=arguments.length,u=Array(i),a=0;a<i;a++)u[a]=arguments[a];if(y=u,m=this,b=t,n){if(void 0===w)return c(b);if(j)return w=o(f,e),r(b)}return void 0===w&&(w=o(f,e)),x}var y=void 0,m=void 0,g=void 0,x=void 0,w=void 0,b=void 0,_=0,S=!1,j=!1,O=!0,E=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,a(n)&&(S=!!n.leading,j="maxWait"in n,g=j?Math.max(+n.maxWait||0,e):g,O="trailing"in n?!!n.trailing:O),v.cancel=l,v.flush=h,v.pending=d,v}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var n=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=e.match(n);return decodeURIComponent(r?r[2]:"")}n.d(e,"j",function(){return L}),e.c=r,e.b=o,e.e=i,e.i=c,e.h=u,e.f=s,e.g=f,e.a=p,e.d=l;var h=n(65),d=(n.n(h),n(161)),v=(n.n(d),n(90)),y=n.n(v),m="undefined"!=typeof window,g=m&&window.navigator.userAgent.toLowerCase(),x=g&&/msie|trident/.test(g),w=g&&g.indexOf("msie 9.0")>0,b=g&&g.indexOf("edge/")>0,_=g&&g.indexOf("android")>0,S=g&&/iphone|ipad|ipod|ios/.test(g),j=g&&/chrome\/\d+/.test(g)&&!b,O=g&&/MicroMessenger/i.test(g),E=g&&/wxwork/i.test(g),T=g&&/mucxiaoyusan/i.test(g),k=g&&/muckacabao/i.test(g),A=g&&/mucyanxuan/i.test(g),P=T||k,C=g&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(g),L={isIE:x,isMobile:C,isIE9:w,isEdge:b,isAndroid:_,isIOS:S,isChrome:j,isWx:O,isWxWork:E,isApp:P,isXysApp:T,isKcbApp:k,isYxApp:A};/MucWebAutoTester/.test(window.navigator.userAgent)},21:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},218:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),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:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(46),c=n(5),u=n(11),a=n(52),s=n(25),f=n(54),p=n(1)("iterator"),l=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,d,v,y,m){a(n,e,d);var g,x,w,b=function(t){if(!l&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,j=!1,O=t.prototype,E=O[p]||O["@@iterator"]||v&&O[v],T=E||b(v),k=v?S?b("entries"):T:void 0,A="Array"==e?O.entries||E:E;if(A&&(w=f(A.call(new t)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[p]||c(w,p,h)),S&&E&&"values"!==E.name&&(j=!0,T=function(){return E.call(this)}),r&&!m||!l&&!j&&O[p]||c(O,p,T),u[e]=T,u[_]=h,v)if(g={values:S?T:b("values"),keys:y?T:b("keys"),entries:k},m)for(x in g)x in O||i(O,x,g[x]);else o(o.P+o.F*(l||j),e,g);return g}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),o=n(12),i=n(39)(!1),c=n(19)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),a=0,s=[];for(n in u)n!=c&&r(u,n)&&s.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(s,n)||s.push(n));return s}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){var r=n(12),o=n(31),i=n(40);t.exports=function(t){return function(e,n,c){var u,a=r(e),s=o(a.length),f=i(c,s);if(t&&n!=n){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},41:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},42:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(51)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),o=n(53),i=n(28),c=n(19)("IE_PROTO"),u=function(){},a=function(){var t,e=n(21)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[c]=t):n=a(),void 0===e?n:o(n,e)}},46:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),c=n(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var s=u[a],f=r[s],p=f&&f.prototype;p&&!p[c]&&o(p,c,s),i[s]=i.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(41),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},51:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,c,u=String(o(e)),a=r(n),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},52:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),c={};n(5)(c,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(c,{next:o(1,n)}),i(t,e+" Iterator")}},53:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,c=i(e),u=c.length,a=0;u>a;)r.f(t,n=c[a++],e[n]);return t}},54:function(t,e,n){var r=n(7),o=n(29),i=n(19)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},570:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},571:function(t,e,n){"use strict";function r(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=n(117);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var c=[];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)),c.push(r(e)+"="+r(t))}))}),i=c.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},572:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},573:function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(117),i=n(702),c={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(574):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(574)),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)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(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}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){u.headers[t]={}}),o.forEach(["post","put","patch"],function(t){u.headers[t]=o.merge(c)}),t.exports=u}).call(e,n(665))},574:function(t,e,n){"use strict";var r=n(117),o=n(703),i=n(571),c=n(705),u=n(708),a=n(709),s=n(575);t.exports=function(t){return new Promise(function(e,f){var p=t.data,l=t.headers;r.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password||"";l.Authorization="Basic "+btoa(d+":"+v)}var y=c(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(y,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 n="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:h.status,statusText:h.statusText,headers:n,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},r.isStandardBrowserEnv()){var m=n(710),g=(t.withCredentials||a(y))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(l,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)}),r.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===p&&(p=null),h.send(p)})}},575:function(t,e,n){"use strict";var r=n(704);t.exports=function(t,e,n,o,i){var c=new Error(t);return r(c,e,n,o,i)}},576:function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],c=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(i,function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(c,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])});var u=o.concat(i).concat(c),a=Object.keys(e).filter(function(t){return-1===u.indexOf(t)});return r.forEach(a,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},577:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),o=n(58),i=n(11),c=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=c(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[i])?e:o(n)}},62:function(t,e,n){var r,o,i,c=n(17),u=n(81),a=n(38),s=n(21),f=n(0),p=f.process,l=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){g.call(t.data)};l&&h||(l=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete m[t]},"process"==n(14)(p)?r=function(t){p.nextTick(c(g,t,1))}:v&&v.now?r=function(t){v.now(c(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),t.exports={set:l,clear:h}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,n){var r=n(4),o=n(6),i=n(42);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},65:function(t,e,n){t.exports={default:n(67),__esModule:!0}},66:function(t,e,n){t.exports={default:n(79),__esModule:!0}},665:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!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(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function c(){v&&h&&(v=!1,h.length?d=h.concat(d):y=-1,d.length&&u())}function u(){if(!v){var t=o(c);v=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,v=!1,i(t)}}function a(t,e){this.fun=t,this.array=e}function s(){}var f,p,l=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var h,d=[],v=!1,y=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new a(t,e)),1!==d.length||v||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=s,l.addListener=s,l.once=s,l.off=s,l.removeListener=s,l.removeAllListeners=s,l.emit=s,l.prependListener=s,l.prependOnceListener=s,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},67:function(t,e,n){n(68),t.exports=n(2).Object.assign},68:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(69)})},69:function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(49),c=n(43),u=n(29),a=n(30),s=Object.assign;t.exports=!s||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){for(var n=u(t),s=arguments.length,f=1,p=i.f,l=c.f;s>f;)for(var h,d=a(arguments[f++]),v=p?o(d).concat(p(d)):o(d),y=v.length,m=0;y>m;)h=v[m++],r&&!l.call(d,h)||(n[h]=d[h]);return n}:s},694:function(t,e,n){"use strict";function r(t,e){"function"==typeof t&&t(e)}function o(t,e,n){if(!n)return t;var r=new URL(t),o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=r.search?"&":"?";return r.search=function(t){return t.match(o)?t.replace(o,"$1"+e+"="+n+"$2"):t+i+e+"="+n}(r.search),r.href}function i(t,e){var n=t;for(var r in e)n=o(n,r,e[r]);return n}function c(t,e){return i(t,{mucType:e})}Object.defineProperty(e,"__esModule",{value:!0});var u=n(87),a=n.n(u),s=n(157),f=n.n(s),p=n(66),l=n.n(p),h=n(158),d=n.n(h),v=n(218),y=n.n(v),m=n(200),g=n(695),x=n(713),w=(n.n(x),"undefined"!=typeof window&&window.navigator.userAgent.toLowerCase()),b=null;m.j.isKcbApp?b=window.kcbJs:m.j.isXysApp&&(b=window.xysJs);var _={supportedProviders:["TENCENT","FACEID"],business:1,environment:1},S={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}},j=["muckacabao","mucyanxuan","mucconsultant","mucxiaoyusan"],O="/faceCheck/index/middle",E=function(){function t(e){if(y()(this,t),!e.succUrl)throw new Error("succUrl为必传参数");e.failUrl||(e.failUrl=e.succUrl),e.redirectUrl=e.redirectUrl?e.redirectUrl:location.href,O=e.domain?e.domain+"/faceCheck/index/middle":"/faceCheck/index/middle",e.redirectType=e.redirectType||"",e.config=e.config||S,e.appUa=e.appUa||j,this.options=e}return t.prototype._isAPP=function(){for(var t=0;t<this.options.appUa.length;t++)if(w.indexOf(this.options.appUa[t])>-1)return this.options.appUa[t];return!1},t.prototype.getId=function(){function t(){return e.apply(this,arguments)}var e=d()(f.a.mark(function t(){var e,n,r;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=this._isAPP())){t.next=12;break}return _.environment=this.options.config.app.environment,_.business=this.options.config.app[e].business,t.next=6,this.getAppSupportList().catch(function(){return[]});case 6:return n=t.sent,r=Array.isArray(n)&&n.length>0,_.supportedProviders=n||[],t.abrupt("return",r?{id:this.options.config.app[e].id,scene:"app"}:{id:this.options.config.app.other.id,scene:"h5"});case 12:if(!m.j.isWx){t.next=18;break}return _.environment=this.options.config.wx.environment,_.business=this.options.config.wx.business,t.abrupt("return",{scene:"wx",id:this.options.config.wx.id});case 18:if(!m.j.isMobile){t.next=24;break}return _.environment=this.options.config.h5.environment,_.business=this.options.config.h5.business,t.abrupt("return",{scene:"h5",id:this.options.config.h5.id});case 24:return t.abrupt("return",l.a.reject({errmsg:"不支持",ret:10002}));case 25:case"end":return t.stop()}},t,this)}));return t}(),t.prototype._wxFace=function(t){this._h5JumpToVerify(t)},t.prototype._appFace=function(t){var e=t.data.ext.provider;if(!_.supportedProviders.includes(e))return void this._h5JumpToVerify(t);var n={};n="FACEID"===e?{provider:e,faceToken:t.data.ext.initData}:a()({provider:e},t.data.ext.initData),this._invokeAppSdk(n)},t.prototype._h5Face=function(t){this._h5JumpToVerify(t)},t.prototype._miniFace=function(t){wx.miniProgram.navigateTo({url:"/pages/faceverify/index?bizToken="+t.data.ext.initData.bizToken+"&ret=0&redirectUrl="+encodeURIComponent(this.options.redirectUrl+"&mucType=mini")})},t.prototype._h5JumpToVerify=function(t){"FACEID"===t.data.ext.provider?location.href="https://api.megvii.com/faceid/lite/do?token="+t.data.ext.initData:location.href=t.data.ext.initData.url},t.prototype._invokeAppSdk=function(t){var e=this;b.invoke({path:"/faceVerify/faceService",data:t,unsupport:function(){return r(e.options.fail,{errmsg:"不支持"})},success:function(n){if("FACEID"!==t.provider)return r(e.options.succ,n);e._faceIdSuccess(n)},fail:function(t){return r(e.options.fail,t)}})},t.prototype._faceIdSuccess=function(){function t(t){return e.apply(this,arguments)}var e=d()(f.a.mark(function t(e){var n,o,i,c=this;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",r(this.options.fail,{errmsg:"验证失败,未上传验证"}));case 2:return n=e||{},o=n.deltaData,t.next=5,Object(g.a)("/faceCheck/uploadFaceidAppLiveness",{faceCheckId:this.options.id,liveness:o}).catch(function(t){r(c.options.fail,t)});case 5:i=t.sent,i&&i.data&&0===i.data.ret?this.getResult():r(this.options.fail,{errmsg:"上传验证失败"});case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.goFace=function(){var t=this.formatUrl(O);location.href=t+"?redirectType="+this.options.redirectType+"&mucId="+this.options.id+"&succUrl="+encodeURIComponent(this.options.succUrl)+"&failUrl="+encodeURIComponent(this.options.failUrl)},t.prototype.goFaceCheck=function(){var t=this;this.getId().then(function(e){t.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(t.options.fail,e)})},t.prototype.faceCheck=function(t){var e=this;this._getFaceCheck().then(function(n){0===n.ret?4===n.data.state?r(e.options.succ):5===n.data.state?r(e.options.fail,{errmsg:"人脸核身失败",data:{des:"业务id状态为关闭"}}):e._faceInit(t):r(e.options.fail,n)})},t.prototype._faceInit=function(t){var e=this;Object(g.a)("/faceCheck/init",a()({faceCheckId:this.options.id,confId:t.xysScenemucId,redirectUrl:c(this.options.redirectUrl,"h5"),redirectType:this.options.redirectType},_)).then(function(n){0===n.data.ret?"wx"===t.xysScene?e._wxFace(n.data):"app"===t.xysScene?e._appFace(n.data):"h5"===t.xysScene?e._h5Face(n.data):"mini"===t.xysScene&&e._miniFace(n.data):r(e.options.fail,{errmsg:n.data.errmsg})}).catch(function(t){return"ECONNABORTED"===t.code&&r(e.options.fail,{ret:999990,errmsg:"faceCheck/init超时"}),r(e.options.fail,{ret:99999,errmsg:"系统繁忙"})})},t.prototype.getResult=function(t){var e=this;return Object(g.a)("/faceCheck/getCheckResult",{faceCheckId:this.options.id}).then(function(n){if(t&&t.self)return l.a.resolve(n.data);0===n.data.ret&&4===n.data.data.state?location.replace(i(e.options.succUrl,{facecheckid:e.options.id,mucFaceType:1})):location.replace(i(e.options.failUrl,{facecheckid:e.options.id,mucFaceType:0}))}).catch(function(t){return l.a.reject({ret:99999,errmsg:"系统繁忙"})})},t.prototype._getFaceCheck=function(){return Object(g.a)("/faceCheck/getFaceCheck",{faceCheckId:this.options.id}).then(function(t){return l.a.resolve(t.data)}).catch(function(t){return l.a.resolve({ret:99999,errmsg:"系统繁忙",data:{des:"/faceCheck/getFaceCheck出错"}})})},t.prototype._checkTencentSupport=function(){return new l.a(function(t,e){b.checkJsApi({path:"/faceVerify/faceService",success:function(e){t(!0)},fail:function(e){t(!1)}})})},t.prototype.getAppSupportList=function(){var t=this;return new l.a(function(e,n){t._getSupportList().then(function(t){e(t)}).catch(function(r){t._checkTencentSupport().then(function(t){e(t?["TENCENT"]:[])}).catch(function(){n()})})})},t.prototype._getSupportList=function(){return new l.a(function(t,e){b.invoke({path:"/faceVerify/getSupportList",success:function(e){t(e)},fail:function(t){e()},unsupport:function(){e()}})})},t.prototype.formatUrl=function(t){var e=t.split("?")[0];return/^https?:\/\//.test(e)?e:/^\/\//.test(e)?location.protocol+e:/\./.test(e)?location.protocol+"//"+e:location.protocol+"//"+location.host+e},t}();E.config=S,e.default=E},695:function(t,e,n){"use strict";function r(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},n="";return n=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)?"请求超时,请稍后重试":"请求失败,请稍后重试",i.a.reject(new Error(n))})}var o=n(66),i=n.n(o),c=n(696),u=n.n(c);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new i.a(function(o,i){var c=u.a.create();r(c),c.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var n=0,r=t.length;if(void 0===r||"[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];n<r&&!1!==e.call(i,n,i);i=t[++n]);return t}function n(t,r,o){var i=void 0,c="[object Array]"===Object.prototype.toString.call(r),u="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){i=Object.prototype.toString.call(r),o&&(e=o+"["+(u||"[object Object]"===i||"[object Array]"===i?e:"")+"]"),!o&&c?t.add(r.name,r.value):"[object Array]"===i||"[object Object]"===i?n(t,r,e):t.add(e,r)})}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))},n(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){o(t)}).catch(function(t){i(t)})})}},696:function(t,e,n){t.exports=n(697)},697:function(t,e,n){"use strict";function r(t){var e=new c(t),n=i(c.prototype.request,e);return o.extend(n,c.prototype,e),o.extend(n,e),n}var o=n(117),i=n(570),c=n(698),u=n(576),a=n(573),s=r(a);s.Axios=c,s.create=function(t){return r(u(s.defaults,t))},s.Cancel=n(577),s.CancelToken=n(711),s.isCancel=n(572),s.all=function(t){return Promise.all(t)},s.spread=n(712),t.exports=s,t.exports.default=s},698:function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new c,response:new c}}var o=n(117),i=n(571),c=n(699),u=n(700),a=n(576);r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[u,void 0],n=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;)n=n.then(e.shift(),e.shift());return n},r.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},699:function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(117);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e){},700:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(117),i=n(701),c=n(572),u=n(573);t.exports=function(t){return r(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||u.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return c(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},701:function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},702:function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},703:function(t,e,n){"use strict";var r=n(575);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},704:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,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}},705:function(t,e,n){"use strict";var r=n(706),o=n(707);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},706:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},707:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},708:function(t,e,n){"use strict";var r=n(117),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,n,i,c={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([n]):c[e]?c[e]+", "+n:n}}),c):c}},709:function(t,e,n){"use strict";var r=n(117);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(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,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},710:function(t,e,n){"use strict";var r=n(117);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,c){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===c&&u.push("secure"),document.cookie=u.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(){}}}()},711:function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(577);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},712:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},713:function(e,n){e.exports=t},72:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},73:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},74:function(t,e,n){var r=n(17),o=n(72),i=n(73),c=n(4),u=n(31),a=n(50),s={},f={},e=t.exports=function(t,e,n,p,l){var h,d,v,y,m=l?function(){return t}:a(t),g=r(n,p,e?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>x;x++)if((y=e?g(c(d=t[x])[0],d[1]):g(t[x]))===s||y===f)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},75:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},76:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},77:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},78:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(9),c=n(3),u=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];c&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},79:function(t,e,n){n(70),n(44),n(48),n(80),n(84),n(85),t.exports=n(2).Promise},80:function(t,e,n){"use strict";var r,o,i,c,u=n(18),a=n(0),s=n(17),f=n(41),p=n(10),l=n(6),h=n(20),d=n(76),v=n(74),y=n(61),m=n(62).set,g=n(82)(),x=n(42),w=n(63),b=n(83),_=n(64),S=a.TypeError,j=a.process,O=j&&j.versions,E=O&&O.v8||"",T=a.Promise,k="process"==f(j),A=function(){},P=o=x.f,C=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(A,A)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,c,u=o?e.ok:e.fail,a=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&M(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),c=!0)),n===e.promise?s(S("Promise-chain cycle")):(i=L(n))?i.call(n,a,s):a(n)):s(r)}catch(t){f&&!c&&f.exit(),s(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){m.call(a,function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=w(function(){k?j.emit("unhandledRejection",o,t):(n=a.onunhandledrejection)?n({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(t){m.call(a,function(){var e;k?j.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})})},U=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))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=L(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(I,r,1),s(U,r,1))}catch(t){U.call(r,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){U.call({_w:n,_d:!1},t)}}};C||(T=function(t){d(this,T,"Promise","_h"),h(t),r.call(this);try{t(s(I,this,1),s(U,this,1))}catch(t){U.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(77)(T.prototype,{then:function(t,e){var n=P(y(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?j.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(I,t,1),this.reject=s(U,t,1)},x.f=P=function(t){return t===T||t===c?new i(t):o(t)}),p(p.G+p.W+p.F*!C,{Promise:T}),n(25)(T,"Promise"),n(78)("Promise"),c=n(2).Promise,p(p.S+p.F*!C,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(u||!C),"Promise",{resolve:function(t){return _(u&&this===c?T:this,t)}}),p(p.S+p.F*!(C&&n(75)(function(t){T.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,c=1;v(t,!1,function(t){var u=i++,a=!1;n.push(void 0),c++,e.resolve(t).then(function(t){a||(a=!0,n[u]=t,--c||r(n))},o)}),--c||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,o=w(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},81:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},82:function(t,e,n){var r=n(0),o=n(62).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==n(14)(c);t.exports=function(){var t,e,n,s=function(){var r,o;for(a&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(a)n=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var p=!0,l=document.createTextNode("");new i(s).observe(l,{characterData:!0}),n=function(){l.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},83:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""},84:function(t,e,n){"use strict";var r=n(10),o=n(2),i=n(0),c=n(61),u=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=c(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},85:function(t,e,n){"use strict";var r=n(10),o=n(42),i=n(63);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},87:function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),c=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},90:function(t,e,n){t.exports={default:n(95),__esModule:!0}},95:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js"],e):"object"==typeof exports?exports.FaceRecognition=e(require("@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js")):t.FaceRecognition=e(t["@xysfe/actui/es/assets/utils/polyfill/Array.prototype.includes.js"])}("undefined"!=typeof self?self:this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=694)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var r=n(27)("wks"),o=n(24),i=n(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},10:function(t,e,n){var r=n(0),o=n(2),i=n(17),c=n(5),u=n(7),a=function(t,e,n){var s,f,p,l=t&a.F,h=t&a.G,d=t&a.S,v=t&a.P,y=t&a.B,m=t&a.W,g=h?o:o[e]||(o[e]={}),x=g.prototype,w=h?r:d?r[e]:(r[e]||{}).prototype;h&&(n=e);for(s in n)(f=!l&&w&&void 0!==w[s])&&u(g,s)||(p=f?w[s]:n[s],g[s]=h&&"function"!=typeof w[s]?n[s]:y&&f?i(p,r):m&&w[s]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((g.virtual||(g.virtual={}))[s]=p,t&a.R&&x&&!x[s]&&c(x,s,p)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},108:function(t,e,n){e.f=n(1)},109:function(t,e,n){var r=n(0),o=n(2),i=n(18),c=n(108),u=n(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:c.f(t)})}},11:function(t,e){t.exports={}},117:function(t,e,n){"use strict";function r(t){return"[object Array]"===O.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 c(t){return"[object ArrayBuffer]"===O.call(t)}function u(t){return"undefined"!=typeof FormData&&t instanceof FormData}function a(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 p(t){return null!==t&&"object"==typeof t}function l(t){return"[object Date]"===O.call(t)}function h(t){return"[object File]"===O.call(t)}function d(t){return"[object Blob]"===O.call(t)}function v(t){return"[object Function]"===O.call(t)}function y(t){return p(t)&&v(t.pipe)}function m(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function g(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function x(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function w(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,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,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)w(arguments[n],t);return e}function _(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=_(e[n],t):e[n]="object"==typeof t?_({},t):t}for(var e={},n=0,r=arguments.length;n<r;n++)w(arguments[n],t);return e}function S(t,e,n){return w(e,function(e,r){t[r]=n&&"function"==typeof e?j(e,n):e}),t}var j=n(570),O=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:a,isString:s,isNumber:f,isObject:p,isUndefined:o,isDate:l,isFile:h,isBlob:d,isFunction:v,isStream:y,isURLSearchParams:m,isStandardBrowserEnv:x,forEach:w,merge:b,deepMerge:_,extend:S,trim:g}},12:function(t,e,n){var r=n(30),o=n(16);t.exports=function(t){return r(o(t))}},124:function(t,e,n){var r=n(37),o=n(28).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},132:function(t,e,n){var r=n(24)("meta"),o=n(6),i=n(7),c=n(9).f,u=0,a=Object.isExtensible||function(){return!0},s=!n(13)(function(){return a(Object.preventExtensions({}))}),f=function(t){c(t,r,{value:{i:"O"+ ++u,w:{}}})},p=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[r].i},l=function(t,e){if(!i(t,r)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&d.NEED&&a(t)&&!i(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:p,getWeak:l,onFreeze:h}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},144:function(t,e,n){var r=n(14);t.exports=Array.isArray||function(t){return"Array"==r(t)}},15:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},159:function(t,e,n){t.exports=n(182)},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},160:function(t,e,n){"use strict";e.__esModule=!0;var r=n(66),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,n){function r(i,c){try{var u=e[i](c),a=u.value}catch(t){return void n(t)}if(!u.done)return o.default.resolve(a).then(function(t){r("next",t)},function(t){r("throw",t)});t(a)}return r("next")})}}},161:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(162),i=r(o),c=n(164),u=r(c),a="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===a(i.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":a(t)}},162:function(t,e,n){t.exports={default:n(163),__esModule:!0}},163:function(t,e,n){n(44),n(48),t.exports=n(108).f("iterator")},164:function(t,e,n){t.exports={default:n(165),__esModule:!0}},165:function(t,e,n){n(166),n(70),n(170),n(171),t.exports=n(2).Symbol},166:function(t,e,n){"use strict";var r=n(0),o=n(7),i=n(3),c=n(10),u=n(46),a=n(132).KEY,s=n(13),f=n(27),p=n(25),l=n(24),h=n(1),d=n(108),v=n(109),y=n(167),m=n(144),g=n(4),x=n(6),w=n(29),b=n(12),_=n(34),S=n(23),j=n(45),O=n(168),E=n(169),T=n(49),k=n(9),A=n(26),P=E.f,C=k.f,L=O.f,R=r.Symbol,F=r.JSON,N=F&&F.stringify,M=h("_hidden"),U=h("toPrimitive"),I={}.propertyIsEnumerable,D=f("symbol-registry"),B=f("symbols"),q=f("op-symbols"),G=Object.prototype,J="function"==typeof R&&!!T.f,V=r.QObject,W=!V||!V.prototype||!V.prototype.findChild,H=i&&s(function(){return 7!=j(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=P(G,e);r&&delete G[e],C(t,e,n),r&&t!==G&&C(G,e,r)}:C,z=function(t){var e=B[t]=j(R.prototype);return e._k=t,e},K=J&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},X=function(t,e,n){return t===G&&X(q,e,n),g(t),e=_(e,!0),g(n),o(B,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=j(n,{enumerable:S(0,!1)})):(o(t,M)||C(t,M,S(1,{})),t[M][e]=!0),H(t,e,n)):C(t,e,n)},$=function(t,e){g(t);for(var n,r=y(e=b(e)),o=0,i=r.length;i>o;)X(t,n=r[o++],e[n]);return t},Y=function(t,e){return void 0===e?j(t):$(j(t),e)},Q=function(t){var e=I.call(this,t=_(t,!0));return!(this===G&&o(B,t)&&!o(q,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,M)&&this[M][t])||e)},Z=function(t,e){if(t=b(t),e=_(e,!0),t!==G||!o(B,e)||o(q,e)){var n=P(t,e);return!n||!o(B,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=L(b(t)),r=[],i=0;n.length>i;)o(B,e=n[i++])||e==M||e==a||r.push(e);return r},et=function(t){for(var e,n=t===G,r=L(n?q:b(t)),i=[],c=0;r.length>c;)!o(B,e=r[c++])||n&&!o(G,e)||i.push(B[e]);return i};J||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=l(arguments.length>0?arguments[0]:void 0),e=function(n){this===G&&e.call(q,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),H(this,t,S(1,n))};return i&&W&&H(G,t,{configurable:!0,set:e}),z(t)},u(R.prototype,"toString",function(){return this._k}),E.f=Z,k.f=X,n(124).f=O.f=tt,n(43).f=Q,T.f=et,i&&!n(18)&&u(G,"propertyIsEnumerable",Q,!0),d.f=function(t){return z(h(t))}),c(c.G+c.W+c.F*!J,{Symbol:R});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var ot=A(h.store),it=0;ot.length>it;)v(ot[it++]);c(c.S+c.F*!J,"Symbol",{for:function(t){return o(D,t+="")?D[t]:D[t]=R(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in D)if(D[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),c(c.S+c.F*!J,"Object",{create:Y,defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var ct=s(function(){T.f(1)});c(c.S+c.F*ct,"Object",{getOwnPropertySymbols:function(t){return T.f(w(t))}}),F&&c(c.S+c.F*(!J||s(function(){var t=R();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(x(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,N.apply(F,r)}}),R.prototype[U]||n(5)(R.prototype,U,R.prototype.valueOf),p(R,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},167:function(t,e,n){var r=n(26),o=n(49),i=n(43);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var c,u=n(t),a=i.f,s=0;u.length>s;)a.call(t,c=u[s++])&&e.push(c);return e}},168:function(t,e,n){var r=n(12),o=n(124).f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?u(t):o(r(t))}},169:function(t,e,n){var r=n(43),o=n(23),i=n(12),c=n(34),u=n(7),a=n(36),s=Object.getOwnPropertyDescriptor;e.f=n(3)?s:function(t,e){if(t=i(t),e=c(e,!0),a)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},17:function(t,e,n){var r=n(20);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},170:function(t,e,n){n(109)("asyncIterator")},171:function(t,e,n){n(109)("observable")},18:function(t,e){t.exports=!0},182:function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(183),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},183:function(t,e){!function(e){"use strict";function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,c=Object.create(i.prototype),u=new h(r||[]);return c._invoke=s(t,n,u),c}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function c(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function a(t){function e(n,o,i,c){var u=r(t[n],t,o);if("throw"!==u.type){var a=u.arg,s=a.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},c)}c(u.arg)}function n(t,n){function r(){return new Promise(function(r,o){e(t,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function s(t,e,n){var o=O;return function(i,c){if(o===T)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw c;return v()}for(n.method=i,n.arg=c;;){var u=n.delegate;if(u){var a=f(u,n);if(a){if(a===A)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===O)throw o=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=T;var s=r(t,e,n);if("normal"===s.type){if(o=n.done?k:E,s.arg===A)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=k,n.method="throw",n.arg=s.arg)}}}function f(t,e){var n=t.iterator[e.method];if(n===y){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=y,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=r(n,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=y),e.delegate=null,A):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function p(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 l(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(p,this),this.reset(!0)}function d(t){if(t){var e=t[w];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(g.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=y,e.done=!0,e};return r.next=r}}return{next:v}}function v(){return{value:y,done:!0}}var y,m=Object.prototype,g=m.hasOwnProperty,x="function"==typeof Symbol?Symbol:{},w=x.iterator||"@@iterator",b=x.asyncIterator||"@@asyncIterator",_=x.toStringTag||"@@toStringTag",S="object"==typeof t,j=e.regeneratorRuntime;if(j)return void(S&&(t.exports=j));j=e.regeneratorRuntime=S?t.exports:{},j.wrap=n;var O="suspendedStart",E="suspendedYield",T="executing",k="completed",A={},P={};P[w]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(d([])));L&&L!==m&&g.call(L,w)&&(P=L);var R=c.prototype=o.prototype=Object.create(P);i.prototype=R.constructor=c,c.constructor=i,c[_]=i.displayName="GeneratorFunction",j.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},j.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(R),t},j.awrap=function(t){return{__await:t}},u(a.prototype),a.prototype[b]=function(){return this},j.AsyncIterator=a,j.async=function(t,e,r,o){var i=new a(n(t,e,r,o));return j.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(R),R[_]="Generator",R[w]=function(){return this},R.toString=function(){return"[object Generator]"},j.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},j.values=d,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(l),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},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,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=g.call(o,"catchLoc"),u=g.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;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 n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),l(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;l(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=y),A}}}(function(){return this}()||Function("return this")())},19:function(t,e,n){var r=n(27)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},200:function(t,e,n){"use strict";function r(t,e){if(t.findIndex)return t.findIndex(e);var n=-1;return t.some(function(t,r,o){var i=e.call(this,t,r,o);if(i)return n=r,i}),n}function o(t){return t?JSON.parse(y()(t)):t}function i(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function c(t){return"[object String]"===Object.prototype.toString.call(t)}function u(t){return"[object Number]"===Object.prototype.toString.call(t)}function a(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0!==t&&null!==t}function f(t){return"function"==typeof t}function p(t,e,n){function r(e){var n=y,r=m;return y=m=void 0,_=e,x=t.apply(r,n)}function o(t,e){return E?(window.cancelAnimationFrame(w),window.requestAnimationFrame(t)):setTimeout(t,e)}function i(t){if(E)return window.cancelAnimationFrame(t);clearTimeout(t)}function c(t){return _=t,w=o(f,e),S?r(t):x}function u(t){var n=t-b,r=t-_,o=e-n;return j?Math.min(o,g-r):o}function s(t){var n=t-b,r=t-_;return void 0===b||n>=e||n<0||j&&r>=g}function f(){var t=Date.now();if(s(t))return p(t);w=o(f,u(t))}function p(t){return w=void 0,O&&y?r(t):(y=m=void 0,x)}function l(){void 0!==w&&i(w),_=0,y=b=m=w=void 0}function h(){return void 0===w?x:p(Date.now())}function d(){return void 0!==w}function v(){for(var t=Date.now(),n=s(t),i=arguments.length,u=Array(i),a=0;a<i;a++)u[a]=arguments[a];if(y=u,m=this,b=t,n){if(void 0===w)return c(b);if(j)return w=o(f,e),r(b)}return void 0===w&&(w=o(f,e)),x}var y=void 0,m=void 0,g=void 0,x=void 0,w=void 0,b=void 0,_=0,S=!1,j=!1,O=!0,E=!e&&0!==e&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof t)throw new TypeError("Expected a function");return e=+e||0,a(n)&&(S=!!n.leading,j="maxWait"in n,g=j?Math.max(+n.maxWait||0,e):g,O="trailing"in n?!!n.trailing:O),v.cancel=l,v.flush=h,v.pending=d,v}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e=e||window.location.href;var n=new RegExp("(\\?|#|&)"+t+"=([^&#]*)(&|#|$)"),r=e.match(n);return decodeURIComponent(r?r[2]:"")}n.d(e,"j",function(){return L}),e.c=r,e.b=o,e.e=i,e.i=c,e.h=u,e.f=s,e.g=f,e.a=p,e.d=l;var h=n(65),d=(n.n(h),n(161)),v=(n.n(d),n(90)),y=n.n(v),m="undefined"!=typeof window,g=m&&window.navigator.userAgent.toLowerCase(),x=g&&/msie|trident/.test(g),w=g&&g.indexOf("msie 9.0")>0,b=g&&g.indexOf("edge/")>0,_=g&&g.indexOf("android")>0,S=g&&/iphone|ipad|ipod|ios/.test(g),j=g&&/chrome\/\d+/.test(g)&&!b,O=g&&/MicroMessenger/i.test(g),E=g&&/wxwork/i.test(g),T=g&&/mucxiaoyusan/i.test(g),k=g&&/muckacabao/i.test(g),A=g&&/mucyanxuan/i.test(g),P=T||k,C=g&&/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/i.test(g),L={isIE:x,isMobile:C,isIE9:w,isEdge:b,isAndroid:_,isIOS:S,isChrome:j,isWx:O,isWxWork:E,isApp:P,isXysApp:T,isKcbApp:k,isYxApp:A};/MucWebAutoTester/.test(window.navigator.userAgent)},21:function(t,e,n){var r=n(6),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},218:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(9).f,o=n(7),i=n(1)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},26:function(t,e,n){var r=n(37),o=n(28);t.exports=Object.keys||function(t){return r(t,o)}},27:function(t,e,n){var r=n(2),o=n(0),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:r.version,mode:n(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},3:function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},31:function(t,e,n){var r=n(15),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},33:function(t,e,n){"use strict";var r=n(18),o=n(10),i=n(46),c=n(5),u=n(11),a=n(52),s=n(25),f=n(54),p=n(1)("iterator"),l=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,d,v,y,m){a(n,e,d);var g,x,w,b=function(t){if(!l&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,j=!1,O=t.prototype,E=O[p]||O["@@iterator"]||v&&O[v],T=E||b(v),k=v?S?b("entries"):T:void 0,A="Array"==e?O.entries||E:E;if(A&&(w=f(A.call(new t)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[p]||c(w,p,h)),S&&E&&"values"!==E.name&&(j=!0,T=function(){return E.call(this)}),r&&!m||!l&&!j&&O[p]||c(O,p,T),u[e]=T,u[_]=h,v)if(g={values:S?T:b("values"),keys:y?T:b("keys"),entries:k},m)for(x in g)x in O||i(O,x,g[x]);else o(o.P+o.F*(l||j),e,g);return g}},34:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},36:function(t,e,n){t.exports=!n(3)&&!n(13)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,n){var r=n(7),o=n(12),i=n(39)(!1),c=n(19)("IE_PROTO");t.exports=function(t,e){var n,u=o(t),a=0,s=[];for(n in u)n!=c&&r(u,n)&&s.push(n);for(;e.length>a;)r(u,n=e[a++])&&(~i(s,n)||s.push(n));return s}},38:function(t,e,n){var r=n(0).document;t.exports=r&&r.documentElement},39:function(t,e,n){var r=n(12),o=n(31),i=n(40);t.exports=function(t){return function(e,n,c){var u,a=r(e),s=o(a.length),f=i(c,s);if(t&&n!=n){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===n)return t||f||0;return!t&&-1}}},4:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,n){var r=n(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},41:function(t,e,n){var r=n(14),o=n(1)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),o))?n:i?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},42:function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(51)(!0);n(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,n){var r=n(4),o=n(53),i=n(28),c=n(19)("IE_PROTO"),u=function(){},a=function(){var t,e=n(21)("iframe"),r=i.length;for(e.style.display="none",n(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;r--;)delete a.prototype[i[r]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[c]=t):n=a(),void 0===e?n:o(n,e)}},46:function(t,e,n){t.exports=n(5)},48:function(t,e,n){n(59);for(var r=n(0),o=n(5),i=n(11),c=n(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var s=u[a],f=r[s],p=f&&f.prototype;p&&!p[c]&&o(p,c,s),i[s]=i.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,n){var r=n(9),o=n(23);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},50:function(t,e,n){var r=n(41),o=n(1)("iterator"),i=n(11);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},51:function(t,e,n){var r=n(15),o=n(16);t.exports=function(t){return function(e,n){var i,c,u=String(o(e)),a=r(n),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},52:function(t,e,n){"use strict";var r=n(45),o=n(23),i=n(25),c={};n(5)(c,n(1)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(c,{next:o(1,n)}),i(t,e+" Iterator")}},53:function(t,e,n){var r=n(9),o=n(4),i=n(26);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,c=i(e),u=c.length,a=0;u>a;)r.f(t,n=c[a++],e[n]);return t}},54:function(t,e,n){var r=n(7),o=n(29),i=n(19)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},570:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},571:function(t,e,n){"use strict";function r(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=n(117);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var c=[];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)),c.push(r(e)+"="+r(t))}))}),i=c.join("&")}if(i){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},572:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},573:function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(117),i=n(702),c={"Content-Type":"application/x-www-form-urlencoded"},u={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(574):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(574)),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)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(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}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){u.headers[t]={}}),o.forEach(["post","put","patch"],function(t){u.headers[t]=o.merge(c)}),t.exports=u}).call(e,n(665))},574:function(t,e,n){"use strict";var r=n(117),o=n(703),i=n(571),c=n(705),u=n(708),a=n(709),s=n(575);t.exports=function(t){return new Promise(function(e,f){var p=t.data,l=t.headers;r.isFormData(p)&&delete l["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",v=t.auth.password||"";l.Authorization="Basic "+btoa(d+":"+v)}var y=c(t.baseURL,t.url);if(h.open(t.method.toUpperCase(),i(y,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 n="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,i={data:r,status:h.status,statusText:h.statusText,headers:n,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},r.isStandardBrowserEnv()){var m=n(710),g=(t.withCredentials||a(y))&&t.xsrfCookieName?m.read(t.xsrfCookieName):void 0;g&&(l[t.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(l,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:h.setRequestHeader(e,t)}),r.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===p&&(p=null),h.send(p)})}},575:function(t,e,n){"use strict";var r=n(704);t.exports=function(t,e,n,o,i){var c=new Error(t);return r(c,e,n,o,i)}},576:function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],c=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(i,function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(c,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])});var u=o.concat(i).concat(c),a=Object.keys(e).filter(function(t){return-1===u.indexOf(t)});return r.forEach(a,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},577:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,n){"use strict";var r=n(60),o=n(58),i=n(11),c=n(12);t.exports=n(33)(Array,"Array",function(t,e){this._t=c(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[i])?e:o(n)}},62:function(t,e,n){var r,o,i,c=n(17),u=n(81),a=n(38),s=n(21),f=n(0),p=f.process,l=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},x=function(t){g.call(t.data)};l&&h||(l=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete m[t]},"process"==n(14)(p)?r=function(t){p.nextTick(c(g,t,1))}:v&&v.now?r=function(t){v.now(c(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),t.exports={set:l,clear:h}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,n){var r=n(4),o=n(6),i=n(42);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},65:function(t,e,n){t.exports={default:n(67),__esModule:!0}},66:function(t,e,n){t.exports={default:n(79),__esModule:!0}},665:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!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(p===clearTimeout)return clearTimeout(t);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(t);try{return p(t)}catch(e){try{return p.call(null,t)}catch(e){return p.call(this,t)}}}function c(){v&&h&&(v=!1,h.length?d=h.concat(d):y=-1,d.length&&u())}function u(){if(!v){var t=o(c);v=!0;for(var e=d.length;e;){for(h=d,d=[];++y<e;)h&&h[y].run();y=-1,e=d.length}h=null,v=!1,i(t)}}function a(t,e){this.fun=t,this.array=e}function s(){}var f,p,l=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(t){p=r}}();var h,d=[],v=!1,y=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new a(t,e)),1!==d.length||v||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=s,l.addListener=s,l.once=s,l.off=s,l.removeListener=s,l.removeAllListeners=s,l.emit=s,l.prependListener=s,l.prependOnceListener=s,l.listeners=function(t){return[]},l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},67:function(t,e,n){n(68),t.exports=n(2).Object.assign},68:function(t,e,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(69)})},69:function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(49),c=n(43),u=n(29),a=n(30),s=Object.assign;t.exports=!s||n(13)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r})?function(t,e){for(var n=u(t),s=arguments.length,f=1,p=i.f,l=c.f;s>f;)for(var h,d=a(arguments[f++]),v=p?o(d).concat(p(d)):o(d),y=v.length,m=0;y>m;)h=v[m++],r&&!l.call(d,h)||(n[h]=d[h]);return n}:s},694:function(t,e,n){"use strict";function r(t,e){"function"==typeof t&&t(e)}function o(t,e,n){if(!n)return t;var r=new URL(t),o=new RegExp("([?&])"+e+"=.*?(&|$)","i"),i=r.search?"&":"?";return r.search=function(t){return t.match(o)?t.replace(o,"$1"+e+"="+n+"$2"):t+i+e+"="+n}(r.search),r.href}function i(t,e){var n=t;for(var r in e)n=o(n,r,e[r]);return n}function c(t,e){return i(t,{mucType:e})}Object.defineProperty(e,"__esModule",{value:!0});var u=n(87),a=n.n(u),s=n(159),f=n.n(s),p=n(66),l=n.n(p),h=n(160),d=n.n(h),v=n(218),y=n.n(v),m=n(200),g=n(695),x=n(713),w=(n.n(x),"undefined"!=typeof window&&window.navigator.userAgent.toLowerCase()),b=null;m.j.isKcbApp?b=window.kcbJs:m.j.isXysApp&&(b=window.xysJs);var _={supportedProviders:["TENCENT","FACEID"],business:1,environment:1},S={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}},j=["muckacabao","mucyanxuan","mucconsultant","mucxiaoyusan"],O="/faceCheck/index/middle",E=function(){function t(e){if(y()(this,t),!e.succUrl)throw new Error("succUrl为必传参数");e.failUrl||(e.failUrl=e.succUrl),e.redirectUrl=e.redirectUrl?e.redirectUrl:location.href,O=e.domain?e.domain+"/faceCheck/index/middle":"/faceCheck/index/middle",e.redirectType=e.redirectType||"",e.config=e.config||S,e.appUa=e.appUa||j,this.options=e}return t.prototype._isAPP=function(){for(var t=0;t<this.options.appUa.length;t++)if(w.indexOf(this.options.appUa[t])>-1)return this.options.appUa[t];return!1},t.prototype.getId=function(){function t(){return e.apply(this,arguments)}var e=d()(f.a.mark(function t(){var e,n,r;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=this._isAPP())){t.next=12;break}return _.environment=this.options.config.app.environment,_.business=this.options.config.app[e].business,t.next=6,this.getAppSupportList().catch(function(){return[]});case 6:return n=t.sent,r=Array.isArray(n)&&n.length>0,_.supportedProviders=n||[],t.abrupt("return",r?{id:this.options.config.app[e].id,scene:"app"}:{id:this.options.config.app.other.id,scene:"h5"});case 12:if(!m.j.isWx){t.next=18;break}return _.environment=this.options.config.wx.environment,_.business=this.options.config.wx.business,t.abrupt("return",{scene:"wx",id:this.options.config.wx.id});case 18:if(!m.j.isMobile){t.next=24;break}return _.environment=this.options.config.h5.environment,_.business=this.options.config.h5.business,t.abrupt("return",{scene:"h5",id:this.options.config.h5.id});case 24:return t.abrupt("return",l.a.reject({errmsg:"不支持",ret:10002}));case 25:case"end":return t.stop()}},t,this)}));return t}(),t.prototype._wxFace=function(t){this._h5JumpToVerify(t)},t.prototype._appFace=function(t){var e=t.data.ext.provider;if(!_.supportedProviders.includes(e))return void this._h5JumpToVerify(t);var n={};n="FACEID"===e?{provider:e,faceToken:t.data.ext.initData}:a()({provider:e},t.data.ext.initData),this._invokeAppSdk(n)},t.prototype._h5Face=function(t){this._h5JumpToVerify(t)},t.prototype._miniFace=function(t){wx.miniProgram.navigateTo({url:"/pages/faceverify/index?bizToken="+t.data.ext.initData.bizToken+"&ret=0&redirectUrl="+encodeURIComponent(this.options.redirectUrl+"&mucType=mini")})},t.prototype._h5JumpToVerify=function(t){"FACEID"===t.data.ext.provider?location.href="https://api.megvii.com/faceid/lite/do?token="+t.data.ext.initData:location.href=t.data.ext.initData.url},t.prototype._invokeAppSdk=function(t){var e=this;b.invoke({path:"/faceVerify/faceService",data:t,unsupport:function(){return r(e.options.fail,{errmsg:"不支持"})},success:function(n){if("FACEID"!==t.provider)return r(e.options.succ,n);e._faceIdSuccess(n)},fail:function(t){return r(e.options.fail,t)}})},t.prototype._faceIdSuccess=function(){function t(t){return e.apply(this,arguments)}var e=d()(f.a.mark(function t(e){var n,o,i,c=this;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",r(this.options.fail,{errmsg:"验证失败,未上传验证"}));case 2:return n=e||{},o=n.deltaData,t.next=5,Object(g.a)("/faceCheck/uploadFaceidAppLiveness",{faceCheckId:this.options.id,liveness:o}).catch(function(t){r(c.options.fail,t)});case 5:i=t.sent,i&&i.data&&0===i.data.ret?this.getResult():r(this.options.fail,{errmsg:"上传验证失败"});case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.goFace=function(){var t=this.formatUrl(O);location.href=t+"?redirectType="+this.options.redirectType+"&mucId="+this.options.id+"&succUrl="+encodeURIComponent(this.options.succUrl)+"&failUrl="+encodeURIComponent(this.options.failUrl)},t.prototype.goFaceCheck=function(){var t=this;this.getId().then(function(e){t.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(t.options.fail,e)})},t.prototype.faceCheck=function(t){var e=this;this._getFaceCheck().then(function(n){0===n.ret?4===n.data.state?r(e.options.succ):5===n.data.state?r(e.options.fail,{errmsg:"人脸核身失败",data:{des:"业务id状态为关闭"}}):e._faceInit(t):r(e.options.fail,n)})},t.prototype._faceInit=function(t){var e=this;Object(g.a)("/faceCheck/init",a()({faceCheckId:this.options.id,confId:t.xysScenemucId,redirectUrl:c(this.options.redirectUrl,"h5"),redirectType:this.options.redirectType},_)).then(function(n){0===n.data.ret?"wx"===t.xysScene?e._wxFace(n.data):"app"===t.xysScene?e._appFace(n.data):"h5"===t.xysScene?e._h5Face(n.data):"mini"===t.xysScene&&e._miniFace(n.data):r(e.options.fail,{errmsg:n.data.errmsg})}).catch(function(t){return"ECONNABORTED"===t.code&&r(e.options.fail,{ret:999990,errmsg:"faceCheck/init超时"}),r(e.options.fail,{ret:99999,errmsg:"系统繁忙"})})},t.prototype.getResult=function(t){var e=this;return Object(g.a)("/faceCheck/getCheckResult",{faceCheckId:this.options.id}).then(function(n){if(t&&t.self)return l.a.resolve(n.data);0===n.data.ret&&4===n.data.data.state?location.replace(i(e.options.succUrl,{facecheckid:e.options.id,mucFaceType:1})):location.replace(i(e.options.failUrl,{facecheckid:e.options.id,mucFaceType:0}))}).catch(function(t){return l.a.reject({ret:99999,errmsg:"系统繁忙"})})},t.prototype._getFaceCheck=function(){return Object(g.a)("/faceCheck/getFaceCheck",{faceCheckId:this.options.id}).then(function(t){return l.a.resolve(t.data)}).catch(function(t){return l.a.resolve({ret:99999,errmsg:"系统繁忙",data:{des:"/faceCheck/getFaceCheck出错"}})})},t.prototype._checkTencentSupport=function(){return new l.a(function(t,e){b.checkJsApi({path:"/faceVerify/faceService",success:function(e){t(!0)},fail:function(e){t(!1)}})})},t.prototype.getAppSupportList=function(){var t=this;return new l.a(function(e,n){t._getSupportList().then(function(t){e(t)}).catch(function(r){t._checkTencentSupport().then(function(t){e(t?["TENCENT"]:[])}).catch(function(){n()})})})},t.prototype._getSupportList=function(){return new l.a(function(t,e){b.invoke({path:"/faceVerify/getSupportList",success:function(e){t(e)},fail:function(t){e()},unsupport:function(){e()}})})},t.prototype.formatUrl=function(t){var e=t.split("?")[0];return/^https?:\/\//.test(e)?e:/^\/\//.test(e)?location.protocol+e:/\./.test(e)?location.protocol+"//"+e:location.protocol+"//"+location.host+e},t}();E.config=S,e.default=E},695:function(t,e,n){"use strict";function r(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},n="";return n=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)?"请求超时,请稍后重试":"请求失败,请稍后重试",i.a.reject(new Error(n))})}var o=n(66),i=n.n(o),c=n(696),u=n.n(c);e.a=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new i.a(function(o,i){var c=u.a.create();r(c),c.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var n=0,r=t.length;if(void 0===r||"[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];n<r&&!1!==e.call(i,n,i);i=t[++n]);return t}function n(t,r,o){var i=void 0,c="[object Array]"===Object.prototype.toString.call(r),u="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){i=Object.prototype.toString.call(r),o&&(e=o+"["+(u||"[object Object]"===i||"[object Array]"===i?e:"")+"]"),!o&&c?t.add(r.name,r.value):"[object Array]"===i||"[object Object]"===i?n(t,r,e):t.add(e,r)})}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))},n(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){o(t)}).catch(function(t){i(t)})})}},696:function(t,e,n){t.exports=n(697)},697:function(t,e,n){"use strict";function r(t){var e=new c(t),n=i(c.prototype.request,e);return o.extend(n,c.prototype,e),o.extend(n,e),n}var o=n(117),i=n(570),c=n(698),u=n(576),a=n(573),s=r(a);s.Axios=c,s.create=function(t){return r(u(s.defaults,t))},s.Cancel=n(577),s.CancelToken=n(711),s.isCancel=n(572),s.all=function(t){return Promise.all(t)},s.spread=n(712),t.exports=s,t.exports.default=s},698:function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new c,response:new c}}var o=n(117),i=n(571),c=n(699),u=n(700),a=n(576);r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=a(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[u,void 0],n=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;)n=n.then(e.shift(),e.shift());return n},r.prototype.getUri=function(t){return t=a(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},699:function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(117);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},7:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},70:function(t,e){},700:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(117),i=n(701),c=n(572),u=n(573);t.exports=function(t){return r(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||u.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return c(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},701:function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},702:function(t,e,n){"use strict";var r=n(117);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},703:function(t,e,n){"use strict";var r=n(575);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},704:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,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}},705:function(t,e,n){"use strict";var r=n(706),o=n(707);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},706:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},707:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},708:function(t,e,n){"use strict";var r=n(117),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,n,i,c={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(c[e]&&o.indexOf(e)>=0)return;c[e]="set-cookie"===e?(c[e]?c[e]:[]).concat([n]):c[e]?c[e]+", "+n:n}}),c):c}},709:function(t,e,n){"use strict";var r=n(117);t.exports=r.isStandardBrowserEnv()?function(){function t(t){var e=t;return n&&(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,n=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a");return e=t(window.location.href),function(n){var o=r.isString(n)?t(n):n;return o.protocol===e.protocol&&o.host===e.host}}():function(){return function(){return!0}}()},710:function(t,e,n){"use strict";var r=n(117);t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,i,c){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===c&&u.push("secure"),document.cookie=u.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(){}}}()},711:function(t,e,n){"use strict";function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new o(t),e(n.reason))})}var o=n(577);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},712:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},713:function(e,n){e.exports=t},72:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},73:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},74:function(t,e,n){var r=n(17),o=n(72),i=n(73),c=n(4),u=n(31),a=n(50),s={},f={},e=t.exports=function(t,e,n,p,l){var h,d,v,y,m=l?function(){return t}:a(t),g=r(n,p,e?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>x;x++)if((y=e?g(c(d=t[x])[0],d[1]):g(t[x]))===s||y===f)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},75:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},76:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},77:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},78:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(9),c=n(3),u=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];c&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},79:function(t,e,n){n(70),n(44),n(48),n(80),n(84),n(85),t.exports=n(2).Promise},80:function(t,e,n){"use strict";var r,o,i,c,u=n(18),a=n(0),s=n(17),f=n(41),p=n(10),l=n(6),h=n(20),d=n(76),v=n(74),y=n(61),m=n(62).set,g=n(82)(),x=n(42),w=n(63),b=n(83),_=n(64),S=a.TypeError,j=a.process,O=j&&j.versions,E=O&&O.v8||"",T=a.Promise,k="process"==f(j),A=function(){},P=o=x.f,C=!!function(){try{var t=T.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(A,A)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==E.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!l(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,c,u=o?e.ok:e.fail,a=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&M(t),t._h=1),!0===u?n=r:(f&&f.enter(),n=u(r),f&&(f.exit(),c=!0)),n===e.promise?s(S("Promise-chain cycle")):(i=L(n))?i.call(n,a,s):a(n)):s(r)}catch(t){f&&!c&&f.exit(),s(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&F(t)})}},F=function(t){m.call(a,function(){var e,n,r,o=t._v,i=N(t);if(i&&(e=w(function(){k?j.emit("unhandledRejection",o,t):(n=a.onunhandledrejection)?n({promise:t,reason:o}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=k||N(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},M=function(t){m.call(a,function(){var e;k?j.emit("rejectionHandled",t):(e=a.onrejectionhandled)&&e({promise:t,reason:t._v})})},U=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))},I=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=L(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(I,r,1),s(U,r,1))}catch(t){U.call(r,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){U.call({_w:n,_d:!1},t)}}};C||(T=function(t){d(this,T,"Promise","_h"),h(t),r.call(this);try{t(s(I,this,1),s(U,this,1))}catch(t){U.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(77)(T.prototype,{then:function(t,e){var n=P(y(this,T));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?j.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(I,t,1),this.reject=s(U,t,1)},x.f=P=function(t){return t===T||t===c?new i(t):o(t)}),p(p.G+p.W+p.F*!C,{Promise:T}),n(25)(T,"Promise"),n(78)("Promise"),c=n(2).Promise,p(p.S+p.F*!C,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),p(p.S+p.F*(u||!C),"Promise",{resolve:function(t){return _(u&&this===c?T:this,t)}}),p(p.S+p.F*!(C&&n(75)(function(t){T.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=P(e),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,c=1;v(t,!1,function(t){var u=i++,a=!1;n.push(void 0),c++,e.resolve(t).then(function(t){a||(a=!0,n[u]=t,--c||r(n))},o)}),--c||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,o=w(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},81:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},82:function(t,e,n){var r=n(0),o=n(62).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,u=r.Promise,a="process"==n(14)(c);t.exports=function(){var t,e,n,s=function(){var r,o;for(a&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(a)n=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var p=!0,l=document.createTextNode("");new i(s).observe(l,{characterData:!0}),n=function(){l.data=p=!p}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},83:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""},84:function(t,e,n){"use strict";var r=n(10),o=n(2),i=n(0),c=n(61),u=n(64);r(r.P+r.R,"Promise",{finally:function(t){var e=c(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},85:function(t,e,n){"use strict";var r=n(10),o=n(42),i=n(63);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},87:function(t,e,n){"use strict";e.__esModule=!0;var r=n(65),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},9:function(t,e,n){var r=n(4),o=n(36),i=n(34),c=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},90:function(t,e,n){t.exports={default:n(95),__esModule:!0}},95:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}}})});
|
package/es/FigurePic/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/utils/assign.js"],e):"object"==typeof exports?exports.FigurePic=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):t.FigurePic=e(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/utils/assign.js"])}("undefined"!=typeof self?self:this,function(t,e,r){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="../es",e(e.s=1508)}({0: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)},1:function(t,e,r){var n=r(27)("wks"),o=r(24),i=r(0).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},10:function(t,e,r){var n=r(0),o=r(2),i=r(17),a=r(5),u=r(7),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,y=t&c.B,m=t&c.W,g=h?o:o[e]||(o[e]={}),b=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])&&u(g,s)||(l=f?x[s]:r[s],g[s]=h&&"function"!=typeof x[s]?r[s]:y&&f?i(l,n):m&&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&&b&&!b[s]&&a(b,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},108:function(t,e,r){e.f=r(1)},109:function(t,e,r){var n=r(0),o=r(2),i=r(18),a=r(108),u=r(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},11:function(t,e){t.exports={}},12:function(t,e,r){var n=r(30),o=r(16);t.exports=function(t){return n(o(t))}},124:function(t,e,r){var n=r(37),o=r(28).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},132:function(t,e,r){var n=r(24)("meta"),o=r(6),i=r(7),a=r(9).f,u=0,c=Object.isExtensible||function(){return!0},s=!r(13)(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!c(t))return"F";if(!e)return"E";f(t)}return t[n].i},p=function(t,e){if(!i(t,n)){if(!c(t))return!0;if(!e)return!1;f(t)}return t[n].w},h=function(t){return s&&d.NEED&&c(t)&&!i(t,n)&&f(t),t},d=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},14:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},141:function(t,e){t.exports=r},142:function(t,e,r){var n=r(14);t.exports=Array.isArray||function(t){return"Array"==n(t)}},15:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},1508:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(157),o=r.n(n),i=r(158),a=r.n(i),u=r(65),c=r.n(u),s=r(66),f=r.n(s),l=r(908),p=r(688),h=r(1509),d=this,v={type:"face",bizId:1010,compress:!1,compressSize:23},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new f.a(function(e,r){window.kcbJs&&window.kcbJs.invoke({path:"/image/guideShoot",data:{type:t.type},success:function(t){e({ret:0,data:{base64:t||""}})},unsupport:function(){console.log("不支持该拍照api"),e({ret:10088,errmsg:"当前版本不支持该拍照api"})},fail:function(t){Object(p.b)("appGuideShoot[/image/guideShoot] error: "+t),e({ret:10099,errmsg:t.msg||""})}})})},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=c()({},v,t);return y(e).then(function(){var t=a()(o.a.mark(function t(r){var n,i;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!r||r.ret||!r.data.base64){t.next=10;break}return n=r.data,e.compress&&e.compressSize&&e.beforeCompress&&"function"==typeof e.beforeCompress&&e.beforeCompress(n),t.next=5,g(e,n.base64);case 5:return i=t.sent,e.beforeUpload&&"function"==typeof e.beforeUpload&&e.beforeUpload({base64:i}),t.abrupt("return",Object(l.a)(e,{base64:i}));case 10:return t.abrupt("return",r);case 11:case"end":return t.stop()}},t,d)}));return function(e){return t.apply(this,arguments)}}())},g=function(){var t=a()(o.a.mark(function t(){var e,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments[1];return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!i.compress||!i.compressSize){t.next=18;break}return t.prev=1,t.next=4,h.a.dataURLtoFile(a);case 4:return e=t.sent,t.next=7,h.a.compressAccurately(e,i.compressSize);case 7:return r=t.sent,t.next=10,h.a.filetoDataURL(r);case 10:return n=t.sent,t.abrupt("return",n);case 14:return t.prev=14,t.t0=t.catch(1),console.log(t.t0,"compress error"),t.abrupt("return",a);case 18:return t.abrupt("return",a);case 19:case"end":return t.stop()}},t,d,[[1,14]])}));return function(){return t.apply(this,arguments)}}();e.default={startPic:y,uploadPic:m}},1509:function(t,e,r){"use strict";var n=r(1510),o=r.n(n),i=r(65),a=r.n(i),u=r(161),c=r.n(u),s=r(157),f=r.n(s),l=r(158),p=r.n(l),h=r(66),d=r.n(h),v=r(218),y=r.n(v),m=function(){function t(e){y()(this,t),this.defaultMimeType=e.defaultMimeType}return t.prototype.checkImageType=function(t){return["image/png","image/jpeg","image/gif"].some(function(e){return e===t})},t.prototype.dataURLtoImage=function(t){return new d.a(function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=function(){return r(new Error("dataURLtoImage(): dataURL is illegal"))},n.src=t})},t.prototype.filetoDataURL=function(t){return new d.a(function(e){var r=new FileReader;r.onloadend=function(t){return e(t.target.result)},r.readAsDataURL(t)})},t.prototype.imagetoCanvas=function(){function t(t){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e){var r,n,o,i,a,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=document.createElement("canvas"),n=r.getContext("2d"),o=void 0,i=void 0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(c[a]=Number(c[a]));c.scale?(u=c.scale>0&&c.scale<10?c.scale:1,i=e.width*u,o=e.height*u):(i=c.width||c.height*e.width/e.height||e.width,o=c.height||c.width*e.height/e.width||e.height),[5,6,7,8].some(function(t){return t===c.orientation})?(r.height=i,r.width=o):(r.height=o,r.width=i),t.t0=c.orientation,t.next=3===t.t0?10:6===t.t0?13:8===t.t0?16:2===t.t0?19:4===t.t0?23:5===t.t0?28:7===t.t0?33:38;break;case 10:return n.rotate(180*Math.PI/180),n.drawImage(e,-r.width,-r.height,r.width,r.height),t.abrupt("break",39);case 13:return n.rotate(90*Math.PI/180),n.drawImage(e,0,-r.width,r.height,r.width),t.abrupt("break",39);case 16:return n.rotate(270*Math.PI/180),n.drawImage(e,-r.height,0,r.height,r.width),t.abrupt("break",39);case 19:return n.translate(r.width,0),n.scale(-1,1),n.drawImage(e,0,0,r.width,r.height),t.abrupt("break",39);case 23:return n.translate(r.width,0),n.scale(-1,1),n.rotate(180*Math.PI/180),n.drawImage(e,-r.width,-r.height,r.width,r.height),t.abrupt("break",39);case 28:return n.translate(r.width,0),n.scale(-1,1),n.rotate(90*Math.PI/180),n.drawImage(e,0,-r.width,r.height,r.width),t.abrupt("break",39);case 33:return n.translate(r.width,0),n.scale(-1,1),n.rotate(270*Math.PI/180),n.drawImage(e,-r.height,0,r.height,r.width),t.abrupt("break",39);case 38:n.drawImage(e,0,0,r.width,r.height);case 39:return t.abrupt("return",r);case 40:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.dataURLtoFile=function(){function t(t,r){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e,r){var n,o,i,a,u;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=e.split(","),o=n[0].match(/:(.*?);/)[1],i=atob(n[1]),a=i.length,u=new Uint8Array(a);a--;)u[a]=i.charCodeAt(a);return this.checkImageType(r)&&(o=r),t.abrupt("return",new Blob([u],{type:o}));case 8:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.canvastoDataURL=function(){function t(t,r,n){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e,r,n){return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkImageType(n)||(n="image/jpeg"),t.abrupt("return",e.toDataURL(n,r));case 2:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.compressAccurately=function(){function t(t){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e){var r,n,i,u,s,l,p,h,d,v,y,m,g,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Blob){t.next=2;break}throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");case 2:if("object"!==(void 0===b?"undefined":c()(b))&&(b=a()({size:b})),b.size=Number(b.size),!o()(b.size)){t.next=6;break}return t.abrupt("return",e);case 6:if(!(1024*b.size>e.size)){t.next=8;break}return t.abrupt("return",e);case 8:return b.accuracy=Number(b.accuracy),(!b.accuracy||b.accuracy<.8||b.accuracy>.99)&&(b.accuracy=.95),r={max:b.size*(2-b.accuracy)*1024,accurate:1024*b.size,min:b.size*b.accuracy*1024},t.next=13,this.filetoDataURL(e);case 13:return n=t.sent,i=n.split(",")[0].match(/:(.*?);/)[1],u="image/jpeg",this.checkImageType(b.type)&&(u=b.type,i=b.type),t.next=19,this.dataURLtoImage(n);case 19:return s=t.sent,t.next=22,this.imagetoCanvas(s,a()({},b));case 22:l=t.sent,p=.75,h=.5,d=void 0,v=[null,null],y=1;case 28:if(!(y<=7)){t.next=50;break}return t.next=31,this.canvastoDataURL(l,h,u);case 31:if(d=t.sent,m=d.length*p,7!==y){t.next=36;break}return(r.max<m||r.min>m)&&(d=[d].concat(v).filter(function(t){return t}).sort(function(t,e){return Math.abs(t.length*p-r.accurate)-Math.abs(e.length*p-r.accurate)})[0]),t.abrupt("break",50);case 36:if(!(r.max<m)){t.next=41;break}v[1]=d,h-=Math.pow(.5,y+1),t.next=47;break;case 41:if(!(r.min>m)){t.next=46;break}v[0]=d,h+=Math.pow(.5,y+1),t.next=47;break;case 46:return t.abrupt("break",50);case 47:y++,t.next=28;break;case 50:return t.next=52,this.dataURLtoFile(d,i);case 52:if(g=t.sent,!(g.size>e.size)){t.next=55;break}return t.abrupt("return",e);case 55:return t.abrupt("return",g);case 56:case"end":return t.stop()}},t,this)}));return t}(),t}();e.a=new m({defaultMimeType:"image/jpeg"})},1510:function(t,e,r){t.exports={default:r(1511),__esModule:!0}},1511:function(t,e,r){r(1512),t.exports=r(2).Number.isNaN},1512:function(t,e,r){var n=r(10);n(n.S,"Number",{isNaN:function(t){return t!=t}})},157:function(t,e,r){t.exports=r(182)},158:function(t,e,r){"use strict";e.__esModule=!0;var n=r(66),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,a){try{var u=e[i](a),c=u.value}catch(t){return void r(t)}if(!u.done)return o.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}return n("next")})}}},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},161:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=r(162),i=n(o),a=r(164),u=n(a),c="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":c(t)}},162:function(t,e,r){t.exports={default:r(163),__esModule:!0}},163:function(t,e,r){r(44),r(48),t.exports=r(108).f("iterator")},164:function(t,e,r){t.exports={default:r(165),__esModule:!0}},165:function(t,e,r){r(166),r(70),r(170),r(171),t.exports=r(2).Symbol},166:function(t,e,r){"use strict";var n=r(0),o=r(7),i=r(3),a=r(10),u=r(46),c=r(132).KEY,s=r(13),f=r(27),l=r(25),p=r(24),h=r(1),d=r(108),v=r(109),y=r(167),m=r(142),g=r(4),b=r(6),x=r(29),w=r(12),_=r(34),j=r(23),O=r(45),S=r(168),P=r(169),L=r(49),k=r(9),E=r(26),M=P.f,I=k.f,T=S.f,F=n.Symbol,N=n.JSON,R=N&&N.stringify,z=h("_hidden"),A=h("toPrimitive"),U={}.propertyIsEnumerable,C=f("symbol-registry"),D=f("symbols"),G=f("op-symbols"),q=Object.prototype,B="function"==typeof F&&!!L.f,W=n.QObject,J=!W||!W.prototype||!W.prototype.findChild,V=i&&s(function(){return 7!=O(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=M(q,e);n&&delete q[e],I(t,e,r),n&&t!==q&&I(q,e,n)}:I,H=function(t){var e=D[t]=O(F.prototype);return e._k=t,e},K=B&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},$=function(t,e,r){return t===q&&$(G,e,r),g(t),e=_(e,!0),g(r),o(D,e)?(r.enumerable?(o(t,z)&&t[z][e]&&(t[z][e]=!1),r=O(r,{enumerable:j(0,!1)})):(o(t,z)||I(t,z,j(1,{})),t[z][e]=!0),V(t,e,r)):I(t,e,r)},Y=function(t,e){g(t);for(var r,n=y(e=w(e)),o=0,i=n.length;i>o;)$(t,r=n[o++],e[r]);return t},Q=function(t,e){return void 0===e?O(t):Y(O(t),e)},X=function(t){var e=U.call(this,t=_(t,!0));return!(this===q&&o(D,t)&&!o(G,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,z)&&this[z][t])||e)},Z=function(t,e){if(t=w(t),e=_(e,!0),t!==q||!o(D,e)||o(G,e)){var r=M(t,e);return!r||!o(D,e)||o(t,z)&&t[z][e]||(r.enumerable=!0),r}},tt=function(t){for(var e,r=T(w(t)),n=[],i=0;r.length>i;)o(D,e=r[i++])||e==z||e==c||n.push(e);return n},et=function(t){for(var e,r=t===q,n=T(r?G:w(t)),i=[],a=0;n.length>a;)!o(D,e=n[a++])||r&&!o(q,e)||i.push(D[e]);return i};B||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===q&&e.call(G,r),o(this,z)&&o(this[z],t)&&(this[z][t]=!1),V(this,t,j(1,r))};return i&&J&&V(q,t,{configurable:!0,set:e}),H(t)},u(F.prototype,"toString",function(){return this._k}),P.f=Z,k.f=$,r(124).f=S.f=tt,r(43).f=X,L.f=et,i&&!r(18)&&u(q,"propertyIsEnumerable",X,!0),d.f=function(t){return H(h(t))}),a(a.G+a.W+a.F*!B,{Symbol:F});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;rt.length>nt;)h(rt[nt++]);for(var ot=E(h.store),it=0;ot.length>it;)v(ot[it++]);a(a.S+a.F*!B,"Symbol",{for:function(t){return o(C,t+="")?C[t]:C[t]=F(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in C)if(C[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),a(a.S+a.F*!B,"Object",{create:Q,defineProperty:$,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=s(function(){L.f(1)});a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return L.f(x(t))}}),N&&a(a.S+a.F*(!B||s(function(){var t=F();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(b(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!K(e))return e}),n[1]=e,R.apply(N,n)}}),F.prototype[A]||r(5)(F.prototype,A,F.prototype.valueOf),l(F,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},167:function(t,e,r){var n=r(26),o=r(49),i=r(43);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var a,u=r(t),c=i.f,s=0;u.length>s;)c.call(t,a=u[s++])&&e.push(a);return e}},168:function(t,e,r){var n=r(12),o=r(124).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(n(t))}},169:function(t,e,r){var n=r(43),o=r(23),i=r(12),a=r(34),u=r(7),c=r(36),s=Object.getOwnPropertyDescriptor;e.f=r(3)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!n.f.call(t,e),t[e])}},17:function(t,e,r){var n=r(20);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)}}},170:function(t,e,r){r(109)("asyncIterator")},171:function(t,e,r){r(109)("observable")},18:function(t,e){t.exports=!0},182: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(183),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},183:function(t,e){!function(e){"use strict";function r(t,e,r,n){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),u=new h(n||[]);return a._invoke=s(t,r,u),a}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 a(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(r,o,i,a){var u=n(t[r],t,o);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},a)}a(u.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=S;return function(i,a){if(o===L)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw a;return v()}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=f(u,r);if(c){if(c===E)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===S)throw o=k,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=L;var s=n(t,e,r);if("normal"===s.type){if(o=r.done?k:P,s.arg===E)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=k,r.method="throw",r.arg=s.arg)}}}function f(t,e){var r=t.iterator[e.method];if(r===y){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=y,f(t,e),"throw"===e.method))return E;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return E}var o=n(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,E;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=y),e.delegate=null,E):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,E)}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=y,e.done=!0,e};return n.next=n}}return{next:v}}function v(){return{value:y,done:!0}}var y,m=Object.prototype,g=m.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},x=b.iterator||"@@iterator",w=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",j="object"==typeof t,O=e.regeneratorRuntime;if(O)return void(j&&(t.exports=O));O=e.regeneratorRuntime=j?t.exports:{},O.wrap=r;var S="suspendedStart",P="suspendedYield",L="executing",k="completed",E={},M={};M[x]=function(){return this};var I=Object.getPrototypeOf,T=I&&I(I(d([])));T&&T!==m&&g.call(T,x)&&(M=T);var F=a.prototype=o.prototype=Object.create(M);i.prototype=F.constructor=a,a.constructor=i,a[_]=i.displayName="GeneratorFunction",O.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(F),t},O.awrap=function(t){return{__await:t}},u(c.prototype),c.prototype[w]=function(){return this},O.AsyncIterator=c,O.async=function(t,e,n,o){var i=new c(r(t,e,n,o));return O.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(F),F[_]="Generator",F[x]=function(){return this},F.toString=function(){return"[object Generator]"},O.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}},O.values=d,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},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=y),!!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 a=g.call(o,"catchLoc"),u=g.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)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,E):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),E},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),E}},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=y),E}}}(function(){return this}()||Function("return this")())},19:function(t,e,r){var n=r(27)("keys"),o=r(24);t.exports=function(t){return n[t]||(n[t]=o(t))}},2:function(t,e){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,r){var n=r(6),o=r(0).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},218: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")}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},25:function(t,e,r){var n=r(9).f,o=r(7),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},26:function(t,e,r){var n=r(37),o=r(28);t.exports=Object.keys||function(t){return n(t,o)}},27:function(t,e,r){var n=r(2),o=r(0),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(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,r){var n=r(16);t.exports=function(t){return Object(n(t))}},3:function(t,e,r){t.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,r){var n=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},31:function(t,e,r){var n=r(15),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},33:function(t,e,r){"use strict";var n=r(18),o=r(10),i=r(46),a=r(5),u=r(11),c=r(52),s=r(25),f=r(54),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,r,d,v,y,m){c(r,e,d);var g,b,x,w=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},_=e+" Iterator",j="values"==v,O=!1,S=t.prototype,P=S[l]||S["@@iterator"]||v&&S[v],L=P||w(v),k=v?j?w("entries"):L:void 0,E="Array"==e?S.entries||P:P;if(E&&(x=f(E.call(new t)))!==Object.prototype&&x.next&&(s(x,_,!0),n||"function"==typeof x[l]||a(x,l,h)),j&&P&&"values"!==P.name&&(O=!0,L=function(){return P.call(this)}),n&&!m||!p&&!O&&S[l]||a(S,l,L),u[e]=L,u[_]=h,v)if(g={values:j?L:w("values"),keys:y?L:w("keys"),entries:k},m)for(b in g)b in S||i(S,b,g[b]);else o(o.P+o.F*(p||O),e,g);return g}},34:function(t,e,r){var n=r(6);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(e,r){e.exports=t},36:function(t,e,r){t.exports=!r(3)&&!r(13)(function(){return 7!=Object.defineProperty(r(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,r){var n=r(7),o=r(12),i=r(39)(!1),a=r(19)("IE_PROTO");t.exports=function(t,e){var r,u=o(t),c=0,s=[];for(r in u)r!=a&&n(u,r)&&s.push(r);for(;e.length>c;)n(u,r=e[c++])&&(~i(s,r)||s.push(r));return s}},38:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},39:function(t,e,r){var n=r(12),o=r(31),i=r(40);t.exports=function(t){return function(e,r,a){var u,c=n(e),s=o(c.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}}},4:function(t,e,r){var n=r(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,r){var n=r(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},41:function(t,e,r){var n=r(14),o=r(1)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},42:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=o(e),this.reject=o(r)}var o=r(20);t.exports.f=function(t){return new n(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,r){"use strict";var n=r(51)(!0);r(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,r){var n=r(4),o=r(53),i=r(28),a=r(19)("IE_PROTO"),u=function(){},c=function(){var t,e=r(21)("iframe"),n=i.length;for(e.style.display="none",r(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c.prototype[i[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(u.prototype=n(t),r=new u,u.prototype=null,r[a]=t):r=c(),void 0===e?r:o(r,e)}},46:function(t,e,r){t.exports=r(5)},48:function(t,e,r){r(59);for(var n=r(0),o=r(5),i=r(11),a=r(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<u.length;c++){var s=u[c],f=n[s],l=f&&f.prototype;l&&!l[a]&&o(l,a,s),i[s]=i.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,r){var n=r(9),o=r(23);t.exports=r(3)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},50:function(t,e,r){var n=r(41),o=r(1)("iterator"),i=r(11);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},51:function(t,e,r){var n=r(15),o=r(16);t.exports=function(t){return function(e,r){var i,a,u=String(o(e)),c=n(r),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c),i<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},52:function(t,e,r){"use strict";var n=r(45),o=r(23),i=r(25),a={};r(5)(a,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(a,{next:o(1,r)}),i(t,e+" Iterator")}},53:function(t,e,r){var n=r(9),o=r(4),i=r(26);t.exports=r(3)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),u=a.length,c=0;u>c;)n.f(t,r=a[c++],e[r]);return t}},54:function(t,e,r){var n=r(7),o=r(29),i=r(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,r){"use strict";var n=r(60),o=r(58),i=r(11),a=r(12);t.exports=r(33)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,r){var n=r(4),o=r(20),i=r(1)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[i])?e:o(r)}},62:function(t,e,r){var n,o,i,a=r(17),u=r(81),c=r(38),s=r(21),f=r(0),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){g.call(t.data)};p&&h||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),e)},n(y),y},h=function(t){delete m[t]},"process"==r(14)(l)?n=function(t){l.nextTick(a(g,t,1))}:v&&v.now?n=function(t){v.now(a(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):n="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:h}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,r){var n=r(4),o=r(6),i=r(42);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}},65:function(t,e,r){t.exports={default:r(67),__esModule:!0}},66:function(t,e,r){t.exports={default:r(79),__esModule:!0}},67:function(t,e,r){r(68),t.exports=r(2).Object.assign},68:function(t,e,r){var n=r(10);n(n.S+n.F,"Object",{assign:r(69)})},688:function(t,e,r){"use strict";function n(t){t="FileUpload前端错误[xxid:"+(a("xxid")||a("cps_xxid"))+"]:"+t;l()("/muc/util/reportErr",{errMsg:t}).catch(function(t){})}function o(t,e){var r=t&&t.errMsg,n=!1;if(r&&s.ua.isWx){var o="";if(/permission\sdenied/.test(r)){var i=e.sourceType;i.indexOf("album")>-1?o="请在设置-应用-微信-权限中开启存储权限":i.indexOf("camera")>-1&&(o="请在设置-应用-微信-权限中开启相机权限")}else/offline\sverifying/.test(r)&&(o="微信接口注册失败,请刷新页面重试",n=!0);return c.a.reject({ret:999999,errmsg:o,isWxInterfaceFail:n})}return c.a.resolve()}function i(t,e){if(t=t||"0.0.0",e=e||"0.0.0",t===e)return 0;for(var r=t.split("."),n=e.split("."),o=Math.max(r.length,n.length),i=0;i<o;i++){var a=~~n[i],u=~~r[i];if(a<u)return-1;if(a>u)return 1}return-1}function a(t){var e=new RegExp("(?:^|;+|\\s+)"+t+"=([^;]*)"),r=document.cookie.match(e);return r?r[1]:""}e.b=n,e.a=o,e.c=i;var u=r(66),c=r.n(u),s=r(35),f=(r.n(s),r(93)),l=r.n(f)},69:function(t,e,r){"use strict";var n=r(3),o=r(26),i=r(49),a=r(43),u=r(29),c=r(30),s=Object.assign;t.exports=!s||r(13)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=s({},t)[r]||Object.keys(s({},e)).join("")!=n})?function(t,e){for(var r=u(t),s=arguments.length,f=1,l=i.f,p=a.f;s>f;)for(var h,d=c(arguments[f++]),v=l?o(d).concat(l(d)):o(d),y=v.length,m=0;y>m;)h=v[m++],n&&!p.call(d,h)||(r[h]=d[h]);return r}:s},7:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},70:function(t,e){},72:function(t,e,r){var n=r(4);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}}},73:function(t,e,r){var n=r(11),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},74:function(t,e,r){var n=r(17),o=r(72),i=r(73),a=r(4),u=r(31),c=r(50),s={},f={},e=t.exports=function(t,e,r,l,p){var h,d,v,y,m=p?function(){return t}:c(t),g=n(r,l,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>b;b++)if((y=e?g(a(d=t[b])[0],d[1]):g(t[b]))===s||y===f)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},75:function(t,e,r){var n=r(1)("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],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(t){}return r}},76: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}},77:function(t,e,r){var n=r(5);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}},78:function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(9),a=r(3),u=r(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},79:function(t,e,r){r(70),r(44),r(48),r(80),r(84),r(85),t.exports=r(2).Promise},80:function(t,e,r){"use strict";var n,o,i,a,u=r(18),c=r(0),s=r(17),f=r(41),l=r(10),p=r(6),h=r(20),d=r(76),v=r(74),y=r(61),m=r(62).set,g=r(82)(),b=r(42),x=r(63),w=r(83),_=r(64),j=c.TypeError,O=c.process,S=O&&O.versions,P=S&&S.v8||"",L=c.Promise,k="process"==f(O),E=function(){},M=o=b.f,I=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(E,E)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),T=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},F=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,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&z(t),t._h=1),!0===u?r=n:(f&&f.enter(),r=u(n),f&&(f.exit(),a=!0)),r===e.promise?s(j("Promise-chain cycle")):(i=T(r))?i.call(r,c,s):c(r)):s(n)}catch(t){f&&!a&&f.exit(),s(t)}}(r[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){m.call(c,function(){var e,r,n,o=t._v,i=R(t);if(i&&(e=x(function(){k?O.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=k||R(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},z=function(t){m.call(c,function(){var e;k?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},U=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(e=T(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,s(U,n,1),s(A,n,1))}catch(t){A.call(n,t)}}):(r._v=t,r._s=1,F(r,!1))}catch(t){A.call({_w:r,_d:!1},t)}}};I||(L=function(t){d(this,L,"Promise","_h"),h(t),n.call(this);try{t(s(U,this,1),s(A,this,1))}catch(t){A.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(77)(L.prototype,{then:function(t,e){var r=M(y(this,L));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=k?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(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(U,t,1),this.reject=s(A,t,1)},b.f=M=function(t){return t===L||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!I,{Promise:L}),r(25)(L,"Promise"),r(78)("Promise"),a=r(2).Promise,l(l.S+l.F*!I,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!I),"Promise",{resolve:function(t){return _(u&&this===a?L:this,t)}}),l(l.S+l.F*!(I&&r(75)(function(t){L.all(t).catch(E)})),"Promise",{all:function(t){var e=this,r=M(e),n=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,a=1;v(t,!1,function(t){var u=i++,c=!1;r.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,r[u]=t,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=M(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}})},81: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)}},82:function(t,e,r){var n=r(0),o=r(62).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,u=n.Promise,c="process"==r(14)(a);t.exports=function(){var t,e,r,s=function(){var n,o;for(c&&(n=a.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(){a.nextTick(s)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.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}}},83:function(t,e,r){var n=r(0),o=n.navigator;t.exports=o&&o.userAgent||""},84:function(t,e,r){"use strict";var n=r(10),o=r(2),i=r(0),a=r(61),u=r(64);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then(function(){return r})}:t,r?function(r){return u(e,t()).then(function(){throw r})}:t)}})},85:function(t,e,r){"use strict";var n=r(10),o=r(42),i=r(63);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}})},87:function(t,e,r){"use strict";e.__esModule=!0;var n=r(65),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}},9:function(t,e,r){var n=r(4),o=r(36),i=r(34),a=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},90:function(t,e,r){t.exports={default:r(95),__esModule:!0}},908:function(t,e,r){"use strict";function n(t,e){return t=g()({},j,t),i(t,e)}function o(t,e){var r=t.appId,n=t.url,o=t.ext,i=void 0===o?{}:o;return n?w()(n,d()({rawData:e.base64,serverid:e.serverId,appid:r},i)).then(function(t){var r=t.data,n=void 0===r?{}:r;return n.data=p()({},n.data,{dataBase:e.base64,localId:e.localId}),n},function(t){return y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t)})}):y.a.resolve({ret:999999,errmsg:"uploadOcr url is required"})}function i(t,e){return e.base64?a(t,e.base64,e.size):e.localId?u(t,e.localId,e.serverId):e.file?c(t,e.file):void 0}function a(t,e,r){var n=t.maxSize&&1024*t.maxSize*1024||null;if(n&&r&&r>n)return y.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var o="/platform/file/uploadPicture";t.extParam=t.extParam||{};var i=d()({},t.extParam,{imgdata:e,bizid:t.bizId});return t.requrestUrl&&(o=t.requrestUrl),w()(o,i,6e5).then(function(t){var r=t.data,n=void 0===r?{}:r,o={ret:n.ret,errmsg:n.errmsg,data:{base64:e,response:n.data}};return Object(_.isObject)(n.data)&&n.data.url&&(o.data.url=n.data.url,o.data.origUrl=n.data.url.replace(/\?.*$/,"")),0===n.ret&&Object(_.isString)(n.data)&&(o.data.url=n.data,o.data.origUrl=n.data.replace(/\?.*$/,"")),o},function(t){return Object(b.b)("uploadBase64 error "+f()(t)),y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t),data:{base64:e}})})}function u(t,e,r){var n="/platform/file/uploadWxPicture";t.extParam=t.extParam||{};var o=d()({},t.extParam,{serverid:r,bizid:t.bizId,appid:t.appId});return t.requrestUrl&&(n=t.requrestUrl),w()(n,o,6e5).then(function(t){var n=t.data,o=void 0===n?{}:n,i={ret:o.ret,errmsg:o.errmsg,data:{localId:e,serverId:r,response:o.data}};return Object(_.isObject)(o.data)&&o.data.url&&(i.data.url=o.data.url,i.data.origUrl=o.data.url.replace(/\?.*$/,"")),0===o.ret&&Object(_.isString)(o.data)&&(i.data.url=o.data,i.data.origUrl=o.data.replace(/\?.*$/,"")),i},function(t){return Object(b.b)("uploadLocalId error "+f()(t)),y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t),data:{localId:e,serverId:r}})})}function c(t,e){var r=t.maxSize&&1024*t.maxSize*1024||O;if(e.size&&e.size>r)return y.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var n=new window.FormData;return n.append("file",e),n.append("bizid",t.bizId),Object(x.upload)("/platform/file/uploadFile",n,6e5).then(function(t){var r=t.data,n=void 0===r?{}:r,o={ret:n.ret,errmsg:n.errmsg,data:{name:e.name,type:e.type,size:e.size}};return 0===n.ret&&(o.data.name=n.data.name,o.data.url=n.data.url,o.data.origUrl=n.data.url.replace(/\?.*$/,"")),o},function(t){return Object(b.b)("uploadOtherFile error "+f()(t)),y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t),data:{}})})}e.a=n,e.b=o;var s=r(90),f=r.n(s),l=r(65),p=r.n(l),h=r(87),d=r.n(h),v=r(66),y=r.n(v),m=r(141),g=r.n(m),b=r(688),x=r(93),w=r.n(x),_=r(35),j=(r.n(_),{appId:"",bizId:""}),O=20971520},93:function(t,r){t.exports=e},95:function(t,e,r){var n=r(2),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}}})});
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js","@xysfe/actui/es/assets/utils/assign.js"],e):"object"==typeof exports?exports.FigurePic=e(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js"),require("@xysfe/actui/es/assets/utils/assign.js")):t.FigurePic=e(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"],t["@xysfe/actui/es/assets/utils/assign.js"])}("undefined"!=typeof self?self:this,function(t,e,r){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="../es",e(e.s=1508)}({0: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)},1:function(t,e,r){var n=r(27)("wks"),o=r(24),i=r(0).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},10:function(t,e,r){var n=r(0),o=r(2),i=r(17),a=r(5),u=r(7),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,y=t&c.B,m=t&c.W,g=h?o:o[e]||(o[e]={}),b=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])&&u(g,s)||(l=f?x[s]:r[s],g[s]=h&&"function"!=typeof x[s]?r[s]:y&&f?i(l,n):m&&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&&b&&!b[s]&&a(b,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},108:function(t,e,r){e.f=r(1)},109:function(t,e,r){var n=r(0),o=r(2),i=r(18),a=r(108),u=r(9).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},11:function(t,e){t.exports={}},12:function(t,e,r){var n=r(30),o=r(16);t.exports=function(t){return n(o(t))}},124:function(t,e,r){var n=r(37),o=r(28).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},13:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},132:function(t,e,r){var n=r(24)("meta"),o=r(6),i=r(7),a=r(9).f,u=0,c=Object.isExtensible||function(){return!0},s=!r(13)(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,n,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!c(t))return"F";if(!e)return"E";f(t)}return t[n].i},p=function(t,e){if(!i(t,n)){if(!c(t))return!0;if(!e)return!1;f(t)}return t[n].w},h=function(t){return s&&d.NEED&&c(t)&&!i(t,n)&&f(t),t},d=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},14:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},141:function(t,e){t.exports=r},144:function(t,e,r){var n=r(14);t.exports=Array.isArray||function(t){return"Array"==n(t)}},15:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},1508:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(159),o=r.n(n),i=r(160),a=r.n(i),u=r(65),c=r.n(u),s=r(66),f=r.n(s),l=r(908),p=r(688),h=r(1509),d=this,v={type:"face",bizId:1010,compress:!1,compressSize:23},y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new f.a(function(e,r){window.kcbJs&&window.kcbJs.invoke({path:"/image/guideShoot",data:{type:t.type},success:function(t){e({ret:0,data:{base64:t||""}})},unsupport:function(){console.log("不支持该拍照api"),e({ret:10088,errmsg:"当前版本不支持该拍照api"})},fail:function(t){Object(p.b)("appGuideShoot[/image/guideShoot] error: "+t),e({ret:10099,errmsg:t.msg||""})}})})},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=c()({},v,t);return y(e).then(function(){var t=a()(o.a.mark(function t(r){var n,i;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!r||r.ret||!r.data.base64){t.next=10;break}return n=r.data,e.compress&&e.compressSize&&e.beforeCompress&&"function"==typeof e.beforeCompress&&e.beforeCompress(n),t.next=5,g(e,n.base64);case 5:return i=t.sent,e.beforeUpload&&"function"==typeof e.beforeUpload&&e.beforeUpload({base64:i}),t.abrupt("return",Object(l.a)(e,{base64:i}));case 10:return t.abrupt("return",r);case 11:case"end":return t.stop()}},t,d)}));return function(e){return t.apply(this,arguments)}}())},g=function(){var t=a()(o.a.mark(function t(){var e,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments[1];return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!i.compress||!i.compressSize){t.next=18;break}return t.prev=1,t.next=4,h.a.dataURLtoFile(a);case 4:return e=t.sent,t.next=7,h.a.compressAccurately(e,i.compressSize);case 7:return r=t.sent,t.next=10,h.a.filetoDataURL(r);case 10:return n=t.sent,t.abrupt("return",n);case 14:return t.prev=14,t.t0=t.catch(1),console.log(t.t0,"compress error"),t.abrupt("return",a);case 18:return t.abrupt("return",a);case 19:case"end":return t.stop()}},t,d,[[1,14]])}));return function(){return t.apply(this,arguments)}}();e.default={startPic:y,uploadPic:m}},1509:function(t,e,r){"use strict";var n=r(1510),o=r.n(n),i=r(65),a=r.n(i),u=r(161),c=r.n(u),s=r(159),f=r.n(s),l=r(160),p=r.n(l),h=r(66),d=r.n(h),v=r(218),y=r.n(v),m=function(){function t(e){y()(this,t),this.defaultMimeType=e.defaultMimeType}return t.prototype.checkImageType=function(t){return["image/png","image/jpeg","image/gif"].some(function(e){return e===t})},t.prototype.dataURLtoImage=function(t){return new d.a(function(e,r){var n=new Image;n.onload=function(){return e(n)},n.onerror=function(){return r(new Error("dataURLtoImage(): dataURL is illegal"))},n.src=t})},t.prototype.filetoDataURL=function(t){return new d.a(function(e){var r=new FileReader;r.onloadend=function(t){return e(t.target.result)},r.readAsDataURL(t)})},t.prototype.imagetoCanvas=function(){function t(t){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e){var r,n,o,i,a,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=document.createElement("canvas"),n=r.getContext("2d"),o=void 0,i=void 0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(c[a]=Number(c[a]));c.scale?(u=c.scale>0&&c.scale<10?c.scale:1,i=e.width*u,o=e.height*u):(i=c.width||c.height*e.width/e.height||e.width,o=c.height||c.width*e.height/e.width||e.height),[5,6,7,8].some(function(t){return t===c.orientation})?(r.height=i,r.width=o):(r.height=o,r.width=i),t.t0=c.orientation,t.next=3===t.t0?10:6===t.t0?13:8===t.t0?16:2===t.t0?19:4===t.t0?23:5===t.t0?28:7===t.t0?33:38;break;case 10:return n.rotate(180*Math.PI/180),n.drawImage(e,-r.width,-r.height,r.width,r.height),t.abrupt("break",39);case 13:return n.rotate(90*Math.PI/180),n.drawImage(e,0,-r.width,r.height,r.width),t.abrupt("break",39);case 16:return n.rotate(270*Math.PI/180),n.drawImage(e,-r.height,0,r.height,r.width),t.abrupt("break",39);case 19:return n.translate(r.width,0),n.scale(-1,1),n.drawImage(e,0,0,r.width,r.height),t.abrupt("break",39);case 23:return n.translate(r.width,0),n.scale(-1,1),n.rotate(180*Math.PI/180),n.drawImage(e,-r.width,-r.height,r.width,r.height),t.abrupt("break",39);case 28:return n.translate(r.width,0),n.scale(-1,1),n.rotate(90*Math.PI/180),n.drawImage(e,0,-r.width,r.height,r.width),t.abrupt("break",39);case 33:return n.translate(r.width,0),n.scale(-1,1),n.rotate(270*Math.PI/180),n.drawImage(e,-r.height,0,r.height,r.width),t.abrupt("break",39);case 38:n.drawImage(e,0,0,r.width,r.height);case 39:return t.abrupt("return",r);case 40:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.dataURLtoFile=function(){function t(t,r){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e,r){var n,o,i,a,u;return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(n=e.split(","),o=n[0].match(/:(.*?);/)[1],i=atob(n[1]),a=i.length,u=new Uint8Array(a);a--;)u[a]=i.charCodeAt(a);return this.checkImageType(r)&&(o=r),t.abrupt("return",new Blob([u],{type:o}));case 8:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.canvastoDataURL=function(){function t(t,r,n){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e,r,n){return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.checkImageType(n)||(n="image/jpeg"),t.abrupt("return",e.toDataURL(n,r));case 2:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.compressAccurately=function(){function t(t){return e.apply(this,arguments)}var e=p()(f.a.mark(function t(e){var r,n,i,u,s,l,p,h,d,v,y,m,g,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Blob){t.next=2;break}throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");case 2:if("object"!==(void 0===b?"undefined":c()(b))&&(b=a()({size:b})),b.size=Number(b.size),!o()(b.size)){t.next=6;break}return t.abrupt("return",e);case 6:if(!(1024*b.size>e.size)){t.next=8;break}return t.abrupt("return",e);case 8:return b.accuracy=Number(b.accuracy),(!b.accuracy||b.accuracy<.8||b.accuracy>.99)&&(b.accuracy=.95),r={max:b.size*(2-b.accuracy)*1024,accurate:1024*b.size,min:b.size*b.accuracy*1024},t.next=13,this.filetoDataURL(e);case 13:return n=t.sent,i=n.split(",")[0].match(/:(.*?);/)[1],u="image/jpeg",this.checkImageType(b.type)&&(u=b.type,i=b.type),t.next=19,this.dataURLtoImage(n);case 19:return s=t.sent,t.next=22,this.imagetoCanvas(s,a()({},b));case 22:l=t.sent,p=.75,h=.5,d=void 0,v=[null,null],y=1;case 28:if(!(y<=7)){t.next=50;break}return t.next=31,this.canvastoDataURL(l,h,u);case 31:if(d=t.sent,m=d.length*p,7!==y){t.next=36;break}return(r.max<m||r.min>m)&&(d=[d].concat(v).filter(function(t){return t}).sort(function(t,e){return Math.abs(t.length*p-r.accurate)-Math.abs(e.length*p-r.accurate)})[0]),t.abrupt("break",50);case 36:if(!(r.max<m)){t.next=41;break}v[1]=d,h-=Math.pow(.5,y+1),t.next=47;break;case 41:if(!(r.min>m)){t.next=46;break}v[0]=d,h+=Math.pow(.5,y+1),t.next=47;break;case 46:return t.abrupt("break",50);case 47:y++,t.next=28;break;case 50:return t.next=52,this.dataURLtoFile(d,i);case 52:if(g=t.sent,!(g.size>e.size)){t.next=55;break}return t.abrupt("return",e);case 55:return t.abrupt("return",g);case 56:case"end":return t.stop()}},t,this)}));return t}(),t}();e.a=new m({defaultMimeType:"image/jpeg"})},1510:function(t,e,r){t.exports={default:r(1511),__esModule:!0}},1511:function(t,e,r){r(1512),t.exports=r(2).Number.isNaN},1512:function(t,e,r){var n=r(10);n(n.S,"Number",{isNaN:function(t){return t!=t}})},159:function(t,e,r){t.exports=r(182)},16:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},160:function(t,e,r){"use strict";e.__esModule=!0;var n=r(66),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,a){try{var u=e[i](a),c=u.value}catch(t){return void r(t)}if(!u.done)return o.default.resolve(c).then(function(t){n("next",t)},function(t){n("throw",t)});t(c)}return n("next")})}}},161:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=r(162),i=n(o),a=r(164),u=n(a),c="function"==typeof u.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":typeof t};e.default="function"==typeof u.default&&"symbol"===c(i.default)?function(t){return void 0===t?"undefined":c(t)}:function(t){return t&&"function"==typeof u.default&&t.constructor===u.default&&t!==u.default.prototype?"symbol":void 0===t?"undefined":c(t)}},162:function(t,e,r){t.exports={default:r(163),__esModule:!0}},163:function(t,e,r){r(44),r(48),t.exports=r(108).f("iterator")},164:function(t,e,r){t.exports={default:r(165),__esModule:!0}},165:function(t,e,r){r(166),r(70),r(170),r(171),t.exports=r(2).Symbol},166:function(t,e,r){"use strict";var n=r(0),o=r(7),i=r(3),a=r(10),u=r(46),c=r(132).KEY,s=r(13),f=r(27),l=r(25),p=r(24),h=r(1),d=r(108),v=r(109),y=r(167),m=r(144),g=r(4),b=r(6),x=r(29),w=r(12),_=r(34),j=r(23),O=r(45),S=r(168),P=r(169),L=r(49),k=r(9),E=r(26),M=P.f,I=k.f,T=S.f,F=n.Symbol,N=n.JSON,R=N&&N.stringify,z=h("_hidden"),A=h("toPrimitive"),U={}.propertyIsEnumerable,C=f("symbol-registry"),D=f("symbols"),G=f("op-symbols"),q=Object.prototype,B="function"==typeof F&&!!L.f,W=n.QObject,J=!W||!W.prototype||!W.prototype.findChild,V=i&&s(function(){return 7!=O(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=M(q,e);n&&delete q[e],I(t,e,r),n&&t!==q&&I(q,e,n)}:I,H=function(t){var e=D[t]=O(F.prototype);return e._k=t,e},K=B&&"symbol"==typeof F.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof F},$=function(t,e,r){return t===q&&$(G,e,r),g(t),e=_(e,!0),g(r),o(D,e)?(r.enumerable?(o(t,z)&&t[z][e]&&(t[z][e]=!1),r=O(r,{enumerable:j(0,!1)})):(o(t,z)||I(t,z,j(1,{})),t[z][e]=!0),V(t,e,r)):I(t,e,r)},Y=function(t,e){g(t);for(var r,n=y(e=w(e)),o=0,i=n.length;i>o;)$(t,r=n[o++],e[r]);return t},Q=function(t,e){return void 0===e?O(t):Y(O(t),e)},X=function(t){var e=U.call(this,t=_(t,!0));return!(this===q&&o(D,t)&&!o(G,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,z)&&this[z][t])||e)},Z=function(t,e){if(t=w(t),e=_(e,!0),t!==q||!o(D,e)||o(G,e)){var r=M(t,e);return!r||!o(D,e)||o(t,z)&&t[z][e]||(r.enumerable=!0),r}},tt=function(t){for(var e,r=T(w(t)),n=[],i=0;r.length>i;)o(D,e=r[i++])||e==z||e==c||n.push(e);return n},et=function(t){for(var e,r=t===q,n=T(r?G:w(t)),i=[],a=0;n.length>a;)!o(D,e=n[a++])||r&&!o(q,e)||i.push(D[e]);return i};B||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===q&&e.call(G,r),o(this,z)&&o(this[z],t)&&(this[z][t]=!1),V(this,t,j(1,r))};return i&&J&&V(q,t,{configurable:!0,set:e}),H(t)},u(F.prototype,"toString",function(){return this._k}),P.f=Z,k.f=$,r(124).f=S.f=tt,r(43).f=X,L.f=et,i&&!r(18)&&u(q,"propertyIsEnumerable",X,!0),d.f=function(t){return H(h(t))}),a(a.G+a.W+a.F*!B,{Symbol:F});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;rt.length>nt;)h(rt[nt++]);for(var ot=E(h.store),it=0;ot.length>it;)v(ot[it++]);a(a.S+a.F*!B,"Symbol",{for:function(t){return o(C,t+="")?C[t]:C[t]=F(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in C)if(C[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),a(a.S+a.F*!B,"Object",{create:Q,defineProperty:$,defineProperties:Y,getOwnPropertyDescriptor:Z,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=s(function(){L.f(1)});a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return L.f(x(t))}}),N&&a(a.S+a.F*(!B||s(function(){var t=F();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,r,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=e=n[1],(b(e)||void 0!==t)&&!K(t))return m(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!K(e))return e}),n[1]=e,R.apply(N,n)}}),F.prototype[A]||r(5)(F.prototype,A,F.prototype.valueOf),l(F,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},167:function(t,e,r){var n=r(26),o=r(49),i=r(43);t.exports=function(t){var e=n(t),r=o.f;if(r)for(var a,u=r(t),c=i.f,s=0;u.length>s;)c.call(t,a=u[s++])&&e.push(a);return e}},168:function(t,e,r){var n=r(12),o=r(124).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(n(t))}},169:function(t,e,r){var n=r(43),o=r(23),i=r(12),a=r(34),u=r(7),c=r(36),s=Object.getOwnPropertyDescriptor;e.f=r(3)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!n.f.call(t,e),t[e])}},17:function(t,e,r){var n=r(20);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)}}},170:function(t,e,r){r(109)("asyncIterator")},171:function(t,e,r){r(109)("observable")},18:function(t,e){t.exports=!0},182: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(183),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},183:function(t,e){!function(e){"use strict";function r(t,e,r,n){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),u=new h(n||[]);return a._invoke=s(t,r,u),a}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 a(){}function u(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function c(t){function e(r,o,i,a){var u=n(t[r],t,o);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(s).then(function(t){c.value=t,i(c)},a)}a(u.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=S;return function(i,a){if(o===L)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw a;return v()}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=f(u,r);if(c){if(c===E)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===S)throw o=k,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=L;var s=n(t,e,r);if("normal"===s.type){if(o=r.done?k:P,s.arg===E)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=k,r.method="throw",r.arg=s.arg)}}}function f(t,e){var r=t.iterator[e.method];if(r===y){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=y,f(t,e),"throw"===e.method))return E;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return E}var o=n(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,E;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=y),e.delegate=null,E):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,E)}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=y,e.done=!0,e};return n.next=n}}return{next:v}}function v(){return{value:y,done:!0}}var y,m=Object.prototype,g=m.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},x=b.iterator||"@@iterator",w=b.asyncIterator||"@@asyncIterator",_=b.toStringTag||"@@toStringTag",j="object"==typeof t,O=e.regeneratorRuntime;if(O)return void(j&&(t.exports=O));O=e.regeneratorRuntime=j?t.exports:{},O.wrap=r;var S="suspendedStart",P="suspendedYield",L="executing",k="completed",E={},M={};M[x]=function(){return this};var I=Object.getPrototypeOf,T=I&&I(I(d([])));T&&T!==m&&g.call(T,x)&&(M=T);var F=a.prototype=o.prototype=Object.create(M);i.prototype=F.constructor=a,a.constructor=i,a[_]=i.displayName="GeneratorFunction",O.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e.name))},O.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,a):(t.__proto__=a,_ in t||(t[_]="GeneratorFunction")),t.prototype=Object.create(F),t},O.awrap=function(t){return{__await:t}},u(c.prototype),c.prototype[w]=function(){return this},O.AsyncIterator=c,O.async=function(t,e,n,o){var i=new c(r(t,e,n,o));return O.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(F),F[_]="Generator",F[x]=function(){return this},F.toString=function(){return"[object Generator]"},O.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}},O.values=d,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!t)for(var e in this)"t"===e.charAt(0)&&g.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=y)},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=y),!!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 a=g.call(o,"catchLoc"),u=g.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)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,E):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),E},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),E}},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=y),E}}}(function(){return this}()||Function("return this")())},19:function(t,e,r){var n=r(27)("keys"),o=r(24);t.exports=function(t){return n[t]||(n[t]=o(t))}},2:function(t,e){var r=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},21:function(t,e,r){var n=r(6),o=r(0).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},218: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")}},23:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},24:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},25:function(t,e,r){var n=r(9).f,o=r(7),i=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,i)&&n(t,i,{configurable:!0,value:e})}},26:function(t,e,r){var n=r(37),o=r(28);t.exports=Object.keys||function(t){return n(t,o)}},27:function(t,e,r){var n=r(2),o=r(0),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(18)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},28:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},29:function(t,e,r){var n=r(16);t.exports=function(t){return Object(n(t))}},3:function(t,e,r){t.exports=!r(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,r){var n=r(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},31:function(t,e,r){var n=r(15),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},33:function(t,e,r){"use strict";var n=r(18),o=r(10),i=r(46),a=r(5),u=r(11),c=r(52),s=r(25),f=r(54),l=r(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,r,d,v,y,m){c(r,e,d);var g,b,x,w=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},_=e+" Iterator",j="values"==v,O=!1,S=t.prototype,P=S[l]||S["@@iterator"]||v&&S[v],L=P||w(v),k=v?j?w("entries"):L:void 0,E="Array"==e?S.entries||P:P;if(E&&(x=f(E.call(new t)))!==Object.prototype&&x.next&&(s(x,_,!0),n||"function"==typeof x[l]||a(x,l,h)),j&&P&&"values"!==P.name&&(O=!0,L=function(){return P.call(this)}),n&&!m||!p&&!O&&S[l]||a(S,l,L),u[e]=L,u[_]=h,v)if(g={values:j?L:w("values"),keys:y?L:w("keys"),entries:k},m)for(b in g)b in S||i(S,b,g[b]);else o(o.P+o.F*(p||O),e,g);return g}},34:function(t,e,r){var n=r(6);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(e,r){e.exports=t},36:function(t,e,r){t.exports=!r(3)&&!r(13)(function(){return 7!=Object.defineProperty(r(21)("div"),"a",{get:function(){return 7}}).a})},37:function(t,e,r){var n=r(7),o=r(12),i=r(39)(!1),a=r(19)("IE_PROTO");t.exports=function(t,e){var r,u=o(t),c=0,s=[];for(r in u)r!=a&&n(u,r)&&s.push(r);for(;e.length>c;)n(u,r=e[c++])&&(~i(s,r)||s.push(r));return s}},38:function(t,e,r){var n=r(0).document;t.exports=n&&n.documentElement},39:function(t,e,r){var n=r(12),o=r(31),i=r(40);t.exports=function(t){return function(e,r,a){var u,c=n(e),s=o(c.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}}},4:function(t,e,r){var n=r(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},40:function(t,e,r){var n=r(15),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},41:function(t,e,r){var n=r(14),o=r(1)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=a(e=Object(t),o))?r:i?n(e):"Object"==(u=n(e))&&"function"==typeof e.callee?"Arguments":u}},42:function(t,e,r){"use strict";function n(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=o(e),this.reject=o(r)}var o=r(20);t.exports.f=function(t){return new n(t)}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,r){"use strict";var n=r(51)(!0);r(33)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})})},45:function(t,e,r){var n=r(4),o=r(53),i=r(28),a=r(19)("IE_PROTO"),u=function(){},c=function(){var t,e=r(21)("iframe"),n=i.length;for(e.style.display="none",r(38).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;n--;)delete c.prototype[i[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(u.prototype=n(t),r=new u,u.prototype=null,r[a]=t):r=c(),void 0===e?r:o(r,e)}},46:function(t,e,r){t.exports=r(5)},48:function(t,e,r){r(59);for(var n=r(0),o=r(5),i=r(11),a=r(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<u.length;c++){var s=u[c],f=n[s],l=f&&f.prototype;l&&!l[a]&&o(l,a,s),i[s]=i.Array}},49:function(t,e){e.f=Object.getOwnPropertySymbols},5:function(t,e,r){var n=r(9),o=r(23);t.exports=r(3)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},50:function(t,e,r){var n=r(41),o=r(1)("iterator"),i=r(11);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},51:function(t,e,r){var n=r(15),o=r(16);t.exports=function(t){return function(e,r){var i,a,u=String(o(e)),c=n(r),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c),i<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536)}}},52:function(t,e,r){"use strict";var n=r(45),o=r(23),i=r(25),a={};r(5)(a,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(a,{next:o(1,r)}),i(t,e+" Iterator")}},53:function(t,e,r){var n=r(9),o=r(4),i=r(26);t.exports=r(3)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),u=a.length,c=0;u>c;)n.f(t,r=a[c++],e[r]);return t}},54:function(t,e,r){var n=r(7),o=r(29),i=r(19)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},58:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},59:function(t,e,r){"use strict";var n=r(60),o=r(58),i=r(11),a=r(12);t.exports=r(33)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e){t.exports=function(){}},61:function(t,e,r){var n=r(4),o=r(20),i=r(1)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[i])?e:o(r)}},62:function(t,e,r){var n,o,i,a=r(17),u=r(81),c=r(38),s=r(21),f=r(0),l=f.process,p=f.setImmediate,h=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},b=function(t){g.call(t.data)};p&&h||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),e)},n(y),y},h=function(t){delete m[t]},"process"==r(14)(l)?n=function(t){l.nextTick(a(g,t,1))}:v&&v.now?n=function(t){v.now(a(g,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=b,n=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):n="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:p,clear:h}},63:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},64:function(t,e,r){var n=r(4),o=r(6),i=r(42);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}},65:function(t,e,r){t.exports={default:r(67),__esModule:!0}},66:function(t,e,r){t.exports={default:r(79),__esModule:!0}},67:function(t,e,r){r(68),t.exports=r(2).Object.assign},68:function(t,e,r){var n=r(10);n(n.S+n.F,"Object",{assign:r(69)})},688:function(t,e,r){"use strict";function n(t){t="FileUpload前端错误[xxid:"+(a("xxid")||a("cps_xxid"))+"]:"+t;l()("/muc/util/reportErr",{errMsg:t}).catch(function(t){})}function o(t,e){var r=t&&t.errMsg,n=!1;if(r&&s.ua.isWx){var o="";if(/permission\sdenied/.test(r)){var i=e.sourceType;i.indexOf("album")>-1?o="请在设置-应用-微信-权限中开启存储权限":i.indexOf("camera")>-1&&(o="请在设置-应用-微信-权限中开启相机权限")}else/offline\sverifying/.test(r)&&(o="微信接口注册失败,请刷新页面重试",n=!0);return c.a.reject({ret:999999,errmsg:o,isWxInterfaceFail:n})}return c.a.resolve()}function i(t,e){if(t=t||"0.0.0",e=e||"0.0.0",t===e)return 0;for(var r=t.split("."),n=e.split("."),o=Math.max(r.length,n.length),i=0;i<o;i++){var a=~~n[i],u=~~r[i];if(a<u)return-1;if(a>u)return 1}return-1}function a(t){var e=new RegExp("(?:^|;+|\\s+)"+t+"=([^;]*)"),r=document.cookie.match(e);return r?r[1]:""}e.b=n,e.a=o,e.c=i;var u=r(66),c=r.n(u),s=r(35),f=(r.n(s),r(93)),l=r.n(f)},69:function(t,e,r){"use strict";var n=r(3),o=r(26),i=r(49),a=r(43),u=r(29),c=r(30),s=Object.assign;t.exports=!s||r(13)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=s({},t)[r]||Object.keys(s({},e)).join("")!=n})?function(t,e){for(var r=u(t),s=arguments.length,f=1,l=i.f,p=a.f;s>f;)for(var h,d=c(arguments[f++]),v=l?o(d).concat(l(d)):o(d),y=v.length,m=0;y>m;)h=v[m++],n&&!p.call(d,h)||(r[h]=d[h]);return r}:s},7:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},70:function(t,e){},72:function(t,e,r){var n=r(4);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}}},73:function(t,e,r){var n=r(11),o=r(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},74:function(t,e,r){var n=r(17),o=r(72),i=r(73),a=r(4),u=r(31),c=r(50),s={},f={},e=t.exports=function(t,e,r,l,p){var h,d,v,y,m=p?function(){return t}:c(t),g=n(r,l,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>b;b++)if((y=e?g(a(d=t[b])[0],d[1]):g(t[b]))===s||y===f)return y}else for(v=m.call(t);!(d=v.next()).done;)if((y=o(v,g,d.value,e))===s||y===f)return y};e.BREAK=s,e.RETURN=f},75:function(t,e,r){var n=r(1)("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],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},t(i)}catch(t){}return r}},76: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}},77:function(t,e,r){var n=r(5);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}},78:function(t,e,r){"use strict";var n=r(0),o=r(2),i=r(9),a=r(3),u=r(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];a&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},79:function(t,e,r){r(70),r(44),r(48),r(80),r(84),r(85),t.exports=r(2).Promise},80:function(t,e,r){"use strict";var n,o,i,a,u=r(18),c=r(0),s=r(17),f=r(41),l=r(10),p=r(6),h=r(20),d=r(76),v=r(74),y=r(61),m=r(62).set,g=r(82)(),b=r(42),x=r(63),w=r(83),_=r(64),j=c.TypeError,O=c.process,S=O&&O.versions,P=S&&S.v8||"",L=c.Promise,k="process"==f(O),E=function(){},M=o=b.f,I=!!function(){try{var t=L.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(E,E)};return(k||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),T=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},F=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,a,u=o?e.ok:e.fail,c=e.resolve,s=e.reject,f=e.domain;try{u?(o||(2==t._h&&z(t),t._h=1),!0===u?r=n:(f&&f.enter(),r=u(n),f&&(f.exit(),a=!0)),r===e.promise?s(j("Promise-chain cycle")):(i=T(r))?i.call(r,c,s):c(r)):s(n)}catch(t){f&&!a&&f.exit(),s(t)}}(r[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){m.call(c,function(){var e,r,n,o=t._v,i=R(t);if(i&&(e=x(function(){k?O.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=k||R(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},z=function(t){m.call(c,function(){var e;k?O.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},A=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),F(e,!0))},U=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw j("Promise can't be resolved itself");(e=T(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,s(U,n,1),s(A,n,1))}catch(t){A.call(n,t)}}):(r._v=t,r._s=1,F(r,!1))}catch(t){A.call({_w:r,_d:!1},t)}}};I||(L=function(t){d(this,L,"Promise","_h"),h(t),n.call(this);try{t(s(U,this,1),s(A,this,1))}catch(t){A.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(77)(L.prototype,{then:function(t,e){var r=M(y(this,L));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=k?O.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(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(U,t,1),this.reject=s(A,t,1)},b.f=M=function(t){return t===L||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!I,{Promise:L}),r(25)(L,"Promise"),r(78)("Promise"),a=r(2).Promise,l(l.S+l.F*!I,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(u||!I),"Promise",{resolve:function(t){return _(u&&this===a?L:this,t)}}),l(l.S+l.F*!(I&&r(75)(function(t){L.all(t).catch(E)})),"Promise",{all:function(t){var e=this,r=M(e),n=r.resolve,o=r.reject,i=x(function(){var r=[],i=0,a=1;v(t,!1,function(t){var u=i++,c=!1;r.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,r[u]=t,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(t){var e=this,r=M(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}})},81: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)}},82:function(t,e,r){var n=r(0),o=r(62).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,u=n.Promise,c="process"==r(14)(a);t.exports=function(){var t,e,r,s=function(){var n,o;for(c&&(n=a.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(){a.nextTick(s)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.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}}},83:function(t,e,r){var n=r(0),o=n.navigator;t.exports=o&&o.userAgent||""},84:function(t,e,r){"use strict";var n=r(10),o=r(2),i=r(0),a=r(61),u=r(64);n(n.P+n.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(e,t()).then(function(){return r})}:t,r?function(r){return u(e,t()).then(function(){throw r})}:t)}})},85:function(t,e,r){"use strict";var n=r(10),o=r(42),i=r(63);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}})},87:function(t,e,r){"use strict";e.__esModule=!0;var n=r(65),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}},9:function(t,e,r){var n=r(4),o=r(36),i=r(34),a=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},90:function(t,e,r){t.exports={default:r(95),__esModule:!0}},908:function(t,e,r){"use strict";function n(t,e){return t=g()({},j,t),i(t,e)}function o(t,e){var r=t.appId,n=t.url,o=t.ext,i=void 0===o?{}:o;return n?w()(n,d()({rawData:e.base64,serverid:e.serverId,appid:r},i)).then(function(t){var r=t.data,n=void 0===r?{}:r;return n.data=p()({},n.data,{dataBase:e.base64,localId:e.localId}),n},function(t){return y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t)})}):y.a.resolve({ret:999999,errmsg:"uploadOcr url is required"})}function i(t,e){return e.base64?a(t,e.base64,e.size):e.localId?u(t,e.localId,e.serverId):e.file?c(t,e.file):void 0}function a(t,e,r){var n=t.maxSize&&1024*t.maxSize*1024||null;if(n&&r&&r>n)return y.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var o="/platform/file/uploadPicture";t.extParam=t.extParam||{};var i=d()({},t.extParam,{imgdata:e,bizid:t.bizId});return t.requrestUrl&&(o=t.requrestUrl),w()(o,i,6e5).then(function(t){var r=t.data,n=void 0===r?{}:r,o={ret:n.ret,errmsg:n.errmsg,data:{base64:e,response:n.data}};return Object(_.isObject)(n.data)&&n.data.url&&(o.data.url=n.data.url,o.data.origUrl=n.data.url.replace(/\?.*$/,"")),0===n.ret&&Object(_.isString)(n.data)&&(o.data.url=n.data,o.data.origUrl=n.data.replace(/\?.*$/,"")),o},function(t){return Object(b.b)("uploadBase64 error "+f()(t)),y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t),data:{base64:e}})})}function u(t,e,r){var n="/platform/file/uploadWxPicture";t.extParam=t.extParam||{};var o=d()({},t.extParam,{serverid:r,bizid:t.bizId,appid:t.appId});return t.requrestUrl&&(n=t.requrestUrl),w()(n,o,6e5).then(function(t){var n=t.data,o=void 0===n?{}:n,i={ret:o.ret,errmsg:o.errmsg,data:{localId:e,serverId:r,response:o.data}};return Object(_.isObject)(o.data)&&o.data.url&&(i.data.url=o.data.url,i.data.origUrl=o.data.url.replace(/\?.*$/,"")),0===o.ret&&Object(_.isString)(o.data)&&(i.data.url=o.data,i.data.origUrl=o.data.replace(/\?.*$/,"")),i},function(t){return Object(b.b)("uploadLocalId error "+f()(t)),y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t),data:{localId:e,serverId:r}})})}function c(t,e){var r=t.maxSize&&1024*t.maxSize*1024||O;if(e.size&&e.size>r)return y.a.resolve({ret:10001,errmsg:"上传的文件大小不能超过"+(t.maxSize||"20")+"MB",data:{}});var n=new window.FormData;return n.append("file",e),n.append("bizid",t.bizId),Object(x.upload)("/platform/file/uploadFile",n,6e5).then(function(t){var r=t.data,n=void 0===r?{}:r,o={ret:n.ret,errmsg:n.errmsg,data:{name:e.name,type:e.type,size:e.size}};return 0===n.ret&&(o.data.name=n.data.name,o.data.url=n.data.url,o.data.origUrl=n.data.url.replace(/\?.*$/,"")),o},function(t){return Object(b.b)("uploadOtherFile error "+f()(t)),y.a.resolve({ret:999999,errmsg:Object(_.getErrmsg)(t),data:{}})})}e.a=n,e.b=o;var s=r(90),f=r.n(s),l=r(65),p=r.n(l),h=r(87),d=r.n(h),v=r(66),y=r.n(v),m=r(141),g=r.n(m),b=r(688),x=r(93),w=r.n(x),_=r(35),j=(r.n(_),{appId:"",bizId:""}),O=20971520},93:function(t,r){t.exports=e},95:function(t,e,r){var n=r(2),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}}})});
|