...
|
...
|
@@ -58,7 +58,7 @@ |
|
|
/*!*****************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_array-includes.js ***!
|
|
|
\*****************************************************************/
|
|
|
/*! no static exports found */function(e,o,r){var l=r(/*! ./_to-iobject */"./node_modules/core-js/library/modules/_to-iobject.js"),c=r(/*! ./_to-length */"./node_modules/core-js/library/modules/_to-length.js"),d=r(/*! ./_to-absolute-index */"./node_modules/core-js/library/modules/_to-absolute-index.js");e.exports=function(u){return function(e,o,r){var n,t=l(e),s=c(t.length),i=d(r,s);if(u&&o!=o){for(;i<s;)if((n=t[i++])!=n)return!0}else for(;i<s;i++)if((u||i in t)&&t[i]===o)return u||i||0;return!u&&-1}}},"./node_modules/core-js/library/modules/_classof.js":
|
|
|
/*! no static exports found */function(e,o,r){var l=r(/*! ./_to-iobject */"./node_modules/core-js/library/modules/_to-iobject.js"),c=r(/*! ./_to-length */"./node_modules/core-js/library/modules/_to-length.js"),a=r(/*! ./_to-absolute-index */"./node_modules/core-js/library/modules/_to-absolute-index.js");e.exports=function(u){return function(e,o,r){var n,t=l(e),s=c(t.length),i=a(r,s);if(u&&o!=o){for(;i<s;)if((n=t[i++])!=n)return!0}else for(;i<s;i++)if((u||i in t)&&t[i]===o)return u||i||0;return!u&&-1}}},"./node_modules/core-js/library/modules/_classof.js":
|
|
|
/*!**********************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_classof.js ***!
|
|
|
\**********************************************************/
|
...
|
...
|
@@ -94,7 +94,7 @@ |
|
|
/*!*********************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_export.js ***!
|
|
|
\*********************************************************/
|
|
|
/*! no static exports found */function(e,o,r){var _=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),j=r(/*! ./_core */"./node_modules/core-js/library/modules/_core.js"),y=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),b=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),h=r(/*! ./_has */"./node_modules/core-js/library/modules/_has.js"),g="prototype",v=function(e,o,r){var n,t,s,i=e&v.F,u=e&v.G,l=e&v.S,c=e&v.P,d=e&v.B,a=e&v.W,m=u?j:j[o]||(j[o]={}),f=m[g],p=u?_:l?_[o]:(_[o]||{})[g];for(n in u&&(r=o),r)(t=!i&&p&&void 0!==p[n])&&h(m,n)||(s=t?p[n]:r[n],m[n]=u&&"function"!=typeof p[n]?r[n]:d&&t?y(s,_):a&&p[n]==s?function(n){var e=function(e,o,r){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,o)}return new n(e,o,r)}return n.apply(this,arguments)};return e[g]=n[g],e}(s):c&&"function"==typeof s?y(Function.call,s):s,c&&((m.virtual||(m.virtual={}))[n]=s,e&v.R&&f&&!f[n]&&b(f,n,s)))};v.F=1,v.G=2,v.S=4,v.P=8,v.B=16,v.W=32,v.U=64,v.R=128,e.exports=v},"./node_modules/core-js/library/modules/_fails.js":
|
|
|
/*! no static exports found */function(e,o,r){var _=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),j=r(/*! ./_core */"./node_modules/core-js/library/modules/_core.js"),y=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),b=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),h=r(/*! ./_has */"./node_modules/core-js/library/modules/_has.js"),v="prototype",g=function(e,o,r){var n,t,s,i=e&g.F,u=e&g.G,l=e&g.S,c=e&g.P,a=e&g.B,d=e&g.W,m=u?j:j[o]||(j[o]={}),f=m[v],p=u?_:l?_[o]:(_[o]||{})[v];for(n in u&&(r=o),r)(t=!i&&p&&void 0!==p[n])&&h(m,n)||(s=t?p[n]:r[n],m[n]=u&&"function"!=typeof p[n]?r[n]:a&&t?y(s,_):d&&p[n]==s?function(n){var e=function(e,o,r){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,o)}return new n(e,o,r)}return n.apply(this,arguments)};return e[v]=n[v],e}(s):c&&"function"==typeof s?y(Function.call,s):s,c&&((m.virtual||(m.virtual={}))[n]=s,e&g.R&&f&&!f[n]&&b(f,n,s)))};g.F=1,g.G=2,g.S=4,g.P=8,g.B=16,g.W=32,g.U=64,g.R=128,e.exports=g},"./node_modules/core-js/library/modules/_fails.js":
|
|
|
/*!********************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_fails.js ***!
|
|
|
\********************************************************/
|
...
|
...
|
@@ -102,7 +102,7 @@ |
|
|
/*!*********************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_for-of.js ***!
|
|
|
\*********************************************************/
|
|
|
/*! no static exports found */function(e,o,r){var m=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),f=r(/*! ./_iter-call */"./node_modules/core-js/library/modules/_iter-call.js"),p=r(/*! ./_is-array-iter */"./node_modules/core-js/library/modules/_is-array-iter.js"),_=r(/*! ./_an-object */"./node_modules/core-js/library/modules/_an-object.js"),j=r(/*! ./_to-length */"./node_modules/core-js/library/modules/_to-length.js"),y=r(/*! ./core.get-iterator-method */"./node_modules/core-js/library/modules/core.get-iterator-method.js"),b={},h={};(o=e.exports=function(e,o,r,n,t){var s,i,u,l,c=t?function(){return e}:y(e),d=m(r,n,o?2:1),a=0;if("function"!=typeof c)throw TypeError(e+" is not iterable!");if(p(c)){for(s=j(e.length);a<s;a++)if((l=o?d(_(i=e[a])[0],i[1]):d(e[a]))===b||l===h)return l}else for(u=c.call(e);!(i=u.next()).done;)if((l=f(u,d,i.value,o))===b||l===h)return l}).BREAK=b,o.RETURN=h},"./node_modules/core-js/library/modules/_global.js":
|
|
|
/*! no static exports found */function(e,o,r){var m=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),f=r(/*! ./_iter-call */"./node_modules/core-js/library/modules/_iter-call.js"),p=r(/*! ./_is-array-iter */"./node_modules/core-js/library/modules/_is-array-iter.js"),_=r(/*! ./_an-object */"./node_modules/core-js/library/modules/_an-object.js"),j=r(/*! ./_to-length */"./node_modules/core-js/library/modules/_to-length.js"),y=r(/*! ./core.get-iterator-method */"./node_modules/core-js/library/modules/core.get-iterator-method.js"),b={},h={};(o=e.exports=function(e,o,r,n,t){var s,i,u,l,c=t?function(){return e}:y(e),a=m(r,n,o?2:1),d=0;if("function"!=typeof c)throw TypeError(e+" is not iterable!");if(p(c)){for(s=j(e.length);d<s;d++)if((l=o?a(_(i=e[d])[0],i[1]):a(e[d]))===b||l===h)return l}else for(u=c.call(e);!(i=u.next()).done;)if((l=f(u,a,i.value,o))===b||l===h)return l}).BREAK=b,o.RETURN=h},"./node_modules/core-js/library/modules/_global.js":
|
|
|
/*!*********************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_global.js ***!
|
|
|
\*********************************************************/
|
...
|
...
|
@@ -150,7 +150,7 @@ |
|
|
/*!**************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_iter-define.js ***!
|
|
|
\**************************************************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";var h=r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js"),g=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),v=r(/*! ./_redefine */"./node_modules/core-js/library/modules/_redefine.js"),w=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),x=r(/*! ./_iterators */"./node_modules/core-js/library/modules/_iterators.js"),k=r(/*! ./_iter-create */"./node_modules/core-js/library/modules/_iter-create.js"),S=r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js"),I=r(/*! ./_object-gpo */"./node_modules/core-js/library/modules/_object-gpo.js"),M=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("iterator"),T=!([].keys&&"next"in[].keys()),P="values",O=function(){return this};e.exports=function(e,o,r,n,t,s,i){k(r,o,n);var u,l,c,d=function(e){if(!T&&e in p)return p[e];switch(e){case"keys":case P:return function(){return new r(this,e)}}return function(){return new r(this,e)}},a=o+" Iterator",m=t==P,f=!1,p=e.prototype,_=p[M]||p["@@iterator"]||t&&p[t],j=_||d(t),y=t?m?d("entries"):j:void 0,b="Array"==o&&p.entries||_;if(b&&(c=I(b.call(new e)))!==Object.prototype&&c.next&&(S(c,a,!0),h||"function"==typeof c[M]||w(c,M,O)),m&&_&&_.name!==P&&(f=!0,j=function(){return _.call(this)}),h&&!i||!T&&!f&&p[M]||w(p,M,j),x[o]=j,x[a]=O,t)if(u={values:m?j:d(P),keys:s?j:d("keys"),entries:y},i)for(l in u)l in p||v(p,l,u[l]);else g(g.P+g.F*(T||f),o,u);return u}},"./node_modules/core-js/library/modules/_iter-detect.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";var h=r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js"),v=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),g=r(/*! ./_redefine */"./node_modules/core-js/library/modules/_redefine.js"),w=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),x=r(/*! ./_iterators */"./node_modules/core-js/library/modules/_iterators.js"),k=r(/*! ./_iter-create */"./node_modules/core-js/library/modules/_iter-create.js"),S=r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js"),T=r(/*! ./_object-gpo */"./node_modules/core-js/library/modules/_object-gpo.js"),I=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("iterator"),M=!([].keys&&"next"in[].keys()),O="values",P=function(){return this};e.exports=function(e,o,r,n,t,s,i){k(r,o,n);var u,l,c,a=function(e){if(!M&&e in p)return p[e];switch(e){case"keys":case O:return function(){return new r(this,e)}}return function(){return new r(this,e)}},d=o+" Iterator",m=t==O,f=!1,p=e.prototype,_=p[I]||p["@@iterator"]||t&&p[t],j=_||a(t),y=t?m?a("entries"):j:void 0,b="Array"==o&&p.entries||_;if(b&&(c=T(b.call(new e)))!==Object.prototype&&c.next&&(S(c,d,!0),h||"function"==typeof c[I]||w(c,I,P)),m&&_&&_.name!==O&&(f=!0,j=function(){return _.call(this)}),h&&!i||!M&&!f&&p[I]||w(p,I,j),x[o]=j,x[d]=P,t)if(u={values:m?j:a(O),keys:s?j:a("keys"),entries:y},i)for(l in u)l in p||g(p,l,u[l]);else v(v.P+v.F*(M||f),o,u);return u}},"./node_modules/core-js/library/modules/_iter-detect.js":
|
|
|
/*!**************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_iter-detect.js ***!
|
|
|
\**************************************************************/
|
...
|
...
|
@@ -170,7 +170,7 @@ |
|
|
/*!************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_microtask.js ***!
|
|
|
\************************************************************/
|
|
|
/*! no static exports found */function(e,o,r){var u=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),l=r(/*! ./_task */"./node_modules/core-js/library/modules/_task.js").set,c=u.MutationObserver||u.WebKitMutationObserver,d=u.process,a=u.Promise,m="process"==r(/*! ./_cof */"./node_modules/core-js/library/modules/_cof.js")(d);e.exports=function(){var r,n,t,e=function(){var e,o;for(m&&(e=d.domain)&&e.exit();r;){o=r.fn,r=r.next;try{o()}catch(e){throw r?t():n=void 0,e}}n=void 0,e&&e.enter()};if(m)t=function(){d.nextTick(e)};else if(!c||u.navigator&&u.navigator.standalone)if(a&&a.resolve){var o=a.resolve(void 0);t=function(){o.then(e)}}else t=function(){l.call(u,e)};else{var s=!0,i=document.createTextNode("");new c(e).observe(i,{characterData:!0}),t=function(){i.data=s=!s}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),r||(r=o,t()),n=o}}},"./node_modules/core-js/library/modules/_new-promise-capability.js":
|
|
|
/*! no static exports found */function(e,o,r){var u=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),l=r(/*! ./_task */"./node_modules/core-js/library/modules/_task.js").set,c=u.MutationObserver||u.WebKitMutationObserver,a=u.process,d=u.Promise,m="process"==r(/*! ./_cof */"./node_modules/core-js/library/modules/_cof.js")(a);e.exports=function(){var r,n,t,e=function(){var e,o;for(m&&(e=a.domain)&&e.exit();r;){o=r.fn,r=r.next;try{o()}catch(e){throw r?t():n=void 0,e}}n=void 0,e&&e.enter()};if(m)t=function(){a.nextTick(e)};else if(!c||u.navigator&&u.navigator.standalone)if(d&&d.resolve){var o=d.resolve(void 0);t=function(){o.then(e)}}else t=function(){l.call(u,e)};else{var s=!0,i=document.createTextNode("");new c(e).observe(i,{characterData:!0}),t=function(){i.data=s=!s}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),r||(r=o,t()),n=o}}},"./node_modules/core-js/library/modules/_new-promise-capability.js":
|
|
|
/*!*************************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_new-promise-capability.js ***!
|
|
|
\*************************************************************************/
|
...
|
...
|
@@ -178,7 +178,7 @@ |
|
|
/*!****************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_object-create.js ***!
|
|
|
\****************************************************************/
|
|
|
/*! no static exports found */function(e,o,n){var t=n(/*! ./_an-object */"./node_modules/core-js/library/modules/_an-object.js"),s=n(/*! ./_object-dps */"./node_modules/core-js/library/modules/_object-dps.js"),i=n(/*! ./_enum-bug-keys */"./node_modules/core-js/library/modules/_enum-bug-keys.js"),u=n(/*! ./_shared-key */"./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),l=function(){},c="prototype",d=function(){var e,o=n(/*! ./_dom-create */"./node_modules/core-js/library/modules/_dom-create.js")("iframe"),r=i.length;for(o.style.display="none",n(/*! ./_html */"./node_modules/core-js/library/modules/_html.js").appendChild(o),o.src="javascript:",(e=o.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),d=e.F;r--;)delete d[c][i[r]];return d()};e.exports=Object.create||function(e,o){var r;return null!==e?(l[c]=t(e),r=new l,l[c]=null,r[u]=e):r=d(),void 0===o?r:s(r,o)}},"./node_modules/core-js/library/modules/_object-dp.js":
|
|
|
/*! no static exports found */function(e,o,n){var t=n(/*! ./_an-object */"./node_modules/core-js/library/modules/_an-object.js"),s=n(/*! ./_object-dps */"./node_modules/core-js/library/modules/_object-dps.js"),i=n(/*! ./_enum-bug-keys */"./node_modules/core-js/library/modules/_enum-bug-keys.js"),u=n(/*! ./_shared-key */"./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),l=function(){},c="prototype",a=function(){var e,o=n(/*! ./_dom-create */"./node_modules/core-js/library/modules/_dom-create.js")("iframe"),r=i.length;for(o.style.display="none",n(/*! ./_html */"./node_modules/core-js/library/modules/_html.js").appendChild(o),o.src="javascript:",(e=o.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),a=e.F;r--;)delete a[c][i[r]];return a()};e.exports=Object.create||function(e,o){var r;return null!==e?(l[c]=t(e),r=new l,l[c]=null,r[u]=e):r=a(),void 0===o?r:s(r,o)}},"./node_modules/core-js/library/modules/_object-dp.js":
|
|
|
/*!************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_object-dp.js ***!
|
|
|
\************************************************************/
|
...
|
...
|
@@ -250,7 +250,7 @@ |
|
|
/*!*******************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_task.js ***!
|
|
|
\*******************************************************/
|
|
|
/*! no static exports found */function(e,o,r){var n,t,s,i=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),u=r(/*! ./_invoke */"./node_modules/core-js/library/modules/_invoke.js"),l=r(/*! ./_html */"./node_modules/core-js/library/modules/_html.js"),c=r(/*! ./_dom-create */"./node_modules/core-js/library/modules/_dom-create.js"),d=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),a=d.process,m=d.setImmediate,f=d.clearImmediate,p=d.MessageChannel,_=d.Dispatch,j=0,y={},b="onreadystatechange",h=function(){var e=+this;if(y.hasOwnProperty(e)){var o=y[e];delete y[e],o()}},g=function(e){h.call(e.data)};m&&f||(m=function(e){for(var o=[],r=1;arguments.length>r;)o.push(arguments[r++]);return y[++j]=function(){u("function"==typeof e?e:Function(e),o)},n(j),j},f=function(e){delete y[e]},"process"==r(/*! ./_cof */"./node_modules/core-js/library/modules/_cof.js")(a)?n=function(e){a.nextTick(i(h,e,1))}:_&&_.now?n=function(e){_.now(i(h,e,1))}:p?(s=(t=new p).port2,t.port1.onmessage=g,n=i(s.postMessage,s,1)):d.addEventListener&&"function"==typeof postMessage&&!d.importScripts?(n=function(e){d.postMessage(e+"","*")},d.addEventListener("message",g,!1)):n=b in c("script")?function(e){l.appendChild(c("script"))[b]=function(){l.removeChild(this),h.call(e)}}:function(e){setTimeout(i(h,e,1),0)}),e.exports={set:m,clear:f}},"./node_modules/core-js/library/modules/_to-absolute-index.js":
|
|
|
/*! no static exports found */function(e,o,r){var n,t,s,i=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),u=r(/*! ./_invoke */"./node_modules/core-js/library/modules/_invoke.js"),l=r(/*! ./_html */"./node_modules/core-js/library/modules/_html.js"),c=r(/*! ./_dom-create */"./node_modules/core-js/library/modules/_dom-create.js"),a=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),d=a.process,m=a.setImmediate,f=a.clearImmediate,p=a.MessageChannel,_=a.Dispatch,j=0,y={},b="onreadystatechange",h=function(){var e=+this;if(y.hasOwnProperty(e)){var o=y[e];delete y[e],o()}},v=function(e){h.call(e.data)};m&&f||(m=function(e){for(var o=[],r=1;arguments.length>r;)o.push(arguments[r++]);return y[++j]=function(){u("function"==typeof e?e:Function(e),o)},n(j),j},f=function(e){delete y[e]},"process"==r(/*! ./_cof */"./node_modules/core-js/library/modules/_cof.js")(d)?n=function(e){d.nextTick(i(h,e,1))}:_&&_.now?n=function(e){_.now(i(h,e,1))}:p?(s=(t=new p).port2,t.port1.onmessage=v,n=i(s.postMessage,s,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(n=function(e){a.postMessage(e+"","*")},a.addEventListener("message",v,!1)):n=b in c("script")?function(e){l.appendChild(c("script"))[b]=function(){l.removeChild(this),h.call(e)}}:function(e){setTimeout(i(h,e,1),0)}),e.exports={set:m,clear:f}},"./node_modules/core-js/library/modules/_to-absolute-index.js":
|
|
|
/*!********************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/_to-absolute-index.js ***!
|
|
|
\********************************************************************/
|
...
|
...
|
@@ -310,7 +310,7 @@ |
|
|
/*!*************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/es6.promise.js ***!
|
|
|
\*************************************************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";var n,t,s,i,u=r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js"),l=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),c=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),d=r(/*! ./_classof */"./node_modules/core-js/library/modules/_classof.js"),a=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),m=r(/*! ./_is-object */"./node_modules/core-js/library/modules/_is-object.js"),f=r(/*! ./_a-function */"./node_modules/core-js/library/modules/_a-function.js"),p=r(/*! ./_an-instance */"./node_modules/core-js/library/modules/_an-instance.js"),_=r(/*! ./_for-of */"./node_modules/core-js/library/modules/_for-of.js"),j=r(/*! ./_species-constructor */"./node_modules/core-js/library/modules/_species-constructor.js"),y=r(/*! ./_task */"./node_modules/core-js/library/modules/_task.js").set,b=r(/*! ./_microtask */"./node_modules/core-js/library/modules/_microtask.js")(),h=r(/*! ./_new-promise-capability */"./node_modules/core-js/library/modules/_new-promise-capability.js"),g=r(/*! ./_perform */"./node_modules/core-js/library/modules/_perform.js"),v=r(/*! ./_user-agent */"./node_modules/core-js/library/modules/_user-agent.js"),w=r(/*! ./_promise-resolve */"./node_modules/core-js/library/modules/_promise-resolve.js"),x="Promise",k=l.TypeError,S=l.process,I=S&&S.versions,M=I&&I.v8||"",T=l[x],P="process"==d(S),O=function(){},C=t=h.f,A=!!function(){try{var e=T.resolve(1),o=(e.constructor={})[r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("species")]=function(e){e(O,O)};return(P||"function"==typeof PromiseRejectionEvent)&&e.then(O)instanceof o&&0!==M.indexOf("6.6")&&-1===v.indexOf("Chrome/66")}catch(e){}}(),L=function(e){var o;return!(!m(e)||"function"!=typeof(o=e.then))&&o},E=function(d,r){if(!d._n){d._n=!0;var n=d._c;b(function(){for(var l=d._v,c=1==d._s,e=0,o=function(e){var o,r,n,t=c?e.ok:e.fail,s=e.resolve,i=e.reject,u=e.domain;try{t?(c||(2==d._h&&R(d),d._h=1),!0===t?o=l:(u&&u.enter(),o=t(l),u&&(u.exit(),n=!0)),o===e.promise?i(k("Promise-chain cycle")):(r=L(o))?r.call(o,s,i):s(o)):i(l)}catch(e){u&&!n&&u.exit(),i(e)}};n.length>e;)o(n[e++]);d._c=[],d._n=!1,r&&!d._h&&B(d)})}},B=function(s){y.call(l,function(){var e,o,r,n=s._v,t=V(s);if(t&&(e=g(function(){P?S.emit("unhandledRejection",n,s):(o=l.onunhandledrejection)?o({promise:s,reason:n}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",n)}),s._h=P||V(s)?2:1),s._a=void 0,t&&e.e)throw e.v})},V=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(o){y.call(l,function(){var e;P?S.emit("rejectionHandled",o):(e=l.onrejectionhandled)&&e({promise:o,reason:o._v})})},N=function(e){var o=this;o._d||(o._d=!0,(o=o._w||o)._v=e,o._s=2,o._a||(o._a=o._c.slice()),E(o,!0))},U=function(e){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(r=L(e))?b(function(){var o={_w:n,_d:!1};try{r.call(e,c(U,o,1),c(N,o,1))}catch(e){N.call(o,e)}}):(n._v=e,n._s=1,E(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};A||(T=function(e){p(this,T,x,"_h"),f(e),n.call(this);try{e(c(U,this,1),c(N,this,1))}catch(e){N.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(/*! ./_redefine-all */"./node_modules/core-js/library/modules/_redefine-all.js")(T.prototype,{then:function(e,o){var r=C(j(this,T));return r.ok="function"!=typeof e||e,r.fail="function"==typeof o&&o,r.domain=P?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&E(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new n;this.promise=e,this.resolve=c(U,e,1),this.reject=c(N,e,1)},h.f=C=function(e){return e===T||e===i?new s(e):t(e)}),a(a.G+a.W+a.F*!A,{Promise:T}),r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js")(T,x),r(/*! ./_set-species */"./node_modules/core-js/library/modules/_set-species.js")(x),i=r(/*! ./_core */"./node_modules/core-js/library/modules/_core.js")[x],a(a.S+a.F*!A,x,{reject:function(e){var o=C(this);return(0,o.reject)(e),o.promise}}),a(a.S+a.F*(u||!A),x,{resolve:function(e){return w(u&&this===i?T:this,e)}}),a(a.S+a.F*!(A&&r(/*! ./_iter-detect */"./node_modules/core-js/library/modules/_iter-detect.js")(function(e){T.all(e).catch(O)})),x,{all:function(e){var i=this,o=C(i),u=o.resolve,l=o.reject,r=g(function(){var n=[],t=0,s=1;_(e,!1,function(e){var o=t++,r=!1;n.push(void 0),s++,i.resolve(e).then(function(e){r||(r=!0,n[o]=e,--s||u(n))},l)}),--s||u(n)});return r.e&&l(r.v),o.promise},race:function(e){var o=this,r=C(o),n=r.reject,t=g(function(){_(e,!1,function(e){o.resolve(e).then(r.resolve,n)})});return t.e&&n(t.v),r.promise}})},"./node_modules/core-js/library/modules/es6.string.iterator.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";var n,t,s,i,u=r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js"),l=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),c=r(/*! ./_ctx */"./node_modules/core-js/library/modules/_ctx.js"),a=r(/*! ./_classof */"./node_modules/core-js/library/modules/_classof.js"),d=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),m=r(/*! ./_is-object */"./node_modules/core-js/library/modules/_is-object.js"),f=r(/*! ./_a-function */"./node_modules/core-js/library/modules/_a-function.js"),p=r(/*! ./_an-instance */"./node_modules/core-js/library/modules/_an-instance.js"),_=r(/*! ./_for-of */"./node_modules/core-js/library/modules/_for-of.js"),j=r(/*! ./_species-constructor */"./node_modules/core-js/library/modules/_species-constructor.js"),y=r(/*! ./_task */"./node_modules/core-js/library/modules/_task.js").set,b=r(/*! ./_microtask */"./node_modules/core-js/library/modules/_microtask.js")(),h=r(/*! ./_new-promise-capability */"./node_modules/core-js/library/modules/_new-promise-capability.js"),v=r(/*! ./_perform */"./node_modules/core-js/library/modules/_perform.js"),g=r(/*! ./_user-agent */"./node_modules/core-js/library/modules/_user-agent.js"),w=r(/*! ./_promise-resolve */"./node_modules/core-js/library/modules/_promise-resolve.js"),x="Promise",k=l.TypeError,S=l.process,T=S&&S.versions,I=T&&T.v8||"",M=l[x],O="process"==a(S),P=function(){},C=t=h.f,A=!!function(){try{var e=M.resolve(1),o=(e.constructor={})[r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("species")]=function(e){e(P,P)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(P)instanceof o&&0!==I.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(e){}}(),L=function(e){var o;return!(!m(e)||"function"!=typeof(o=e.then))&&o},E=function(a,r){if(!a._n){a._n=!0;var n=a._c;b(function(){for(var l=a._v,c=1==a._s,e=0,o=function(e){var o,r,n,t=c?e.ok:e.fail,s=e.resolve,i=e.reject,u=e.domain;try{t?(c||(2==a._h&&B(a),a._h=1),!0===t?o=l:(u&&u.enter(),o=t(l),u&&(u.exit(),n=!0)),o===e.promise?i(k("Promise-chain cycle")):(r=L(o))?r.call(o,s,i):s(o)):i(l)}catch(e){u&&!n&&u.exit(),i(e)}};n.length>e;)o(n[e++]);a._c=[],a._n=!1,r&&!a._h&&R(a)})}},R=function(s){y.call(l,function(){var e,o,r,n=s._v,t=V(s);if(t&&(e=v(function(){O?S.emit("unhandledRejection",n,s):(o=l.onunhandledrejection)?o({promise:s,reason:n}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",n)}),s._h=O||V(s)?2:1),s._a=void 0,t&&e.e)throw e.v})},V=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(o){y.call(l,function(){var e;O?S.emit("rejectionHandled",o):(e=l.onrejectionhandled)&&e({promise:o,reason:o._v})})},N=function(e){var o=this;o._d||(o._d=!0,(o=o._w||o)._v=e,o._s=2,o._a||(o._a=o._c.slice()),E(o,!0))},U=function(e){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw k("Promise can't be resolved itself");(r=L(e))?b(function(){var o={_w:n,_d:!1};try{r.call(e,c(U,o,1),c(N,o,1))}catch(e){N.call(o,e)}}):(n._v=e,n._s=1,E(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};A||(M=function(e){p(this,M,x,"_h"),f(e),n.call(this);try{e(c(U,this,1),c(N,this,1))}catch(e){N.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(/*! ./_redefine-all */"./node_modules/core-js/library/modules/_redefine-all.js")(M.prototype,{then:function(e,o){var r=C(j(this,M));return r.ok="function"!=typeof e||e,r.fail="function"==typeof o&&o,r.domain=O?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&E(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new n;this.promise=e,this.resolve=c(U,e,1),this.reject=c(N,e,1)},h.f=C=function(e){return e===M||e===i?new s(e):t(e)}),d(d.G+d.W+d.F*!A,{Promise:M}),r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js")(M,x),r(/*! ./_set-species */"./node_modules/core-js/library/modules/_set-species.js")(x),i=r(/*! ./_core */"./node_modules/core-js/library/modules/_core.js")[x],d(d.S+d.F*!A,x,{reject:function(e){var o=C(this);return(0,o.reject)(e),o.promise}}),d(d.S+d.F*(u||!A),x,{resolve:function(e){return w(u&&this===i?M:this,e)}}),d(d.S+d.F*!(A&&r(/*! ./_iter-detect */"./node_modules/core-js/library/modules/_iter-detect.js")(function(e){M.all(e).catch(P)})),x,{all:function(e){var i=this,o=C(i),u=o.resolve,l=o.reject,r=v(function(){var n=[],t=0,s=1;_(e,!1,function(e){var o=t++,r=!1;n.push(void 0),s++,i.resolve(e).then(function(e){r||(r=!0,n[o]=e,--s||u(n))},l)}),--s||u(n)});return r.e&&l(r.v),o.promise},race:function(e){var o=this,r=C(o),n=r.reject,t=v(function(){_(e,!1,function(e){o.resolve(e).then(r.resolve,n)})});return t.e&&n(t.v),r.promise}})},"./node_modules/core-js/library/modules/es6.string.iterator.js":
|
|
|
/*!*********************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/es6.string.iterator.js ***!
|
|
|
\*********************************************************************/
|
...
|
...
|
@@ -326,39 +326,63 @@ |
|
|
/*!******************************************************************!*\
|
|
|
!*** ./node_modules/core-js/library/modules/web.dom.iterable.js ***!
|
|
|
\******************************************************************/
|
|
|
/*! no static exports found */function(e,o,r){r(/*! ./es6.array.iterator */"./node_modules/core-js/library/modules/es6.array.iterator.js");for(var n=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),t=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),s=r(/*! ./_iterators */"./node_modules/core-js/library/modules/_iterators.js"),i=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("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(","),l=0;l<u.length;l++){var c=u[l],d=n[c],a=d&&d.prototype;a&&!a[i]&&t(a,i,c),s[c]=s.Array}},"./node_modules/fetch-jsonp/build/fetch-jsonp.js":
|
|
|
/*! no static exports found */function(e,o,r){r(/*! ./es6.array.iterator */"./node_modules/core-js/library/modules/es6.array.iterator.js");for(var n=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),t=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),s=r(/*! ./_iterators */"./node_modules/core-js/library/modules/_iterators.js"),i=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("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(","),l=0;l<u.length;l++){var c=u[l],a=n[c],d=a&&a.prototype;d&&!d[i]&&t(d,i,c),s[c]=s.Array}},"./node_modules/fetch-jsonp/build/fetch-jsonp.js":
|
|
|
/*!*******************************************************!*\
|
|
|
!*** ./node_modules/fetch-jsonp/build/fetch-jsonp.js ***!
|
|
|
\*******************************************************/
|
|
|
/*! no static exports found */function(e,o,r){var n,t,s;t=[o,e],void 0===(s="function"==typeof(n=function(e,o){"use strict";var r={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function a(o){try{delete window[o]}catch(e){window[o]=void 0}}function m(e){var o=document.getElementById(e);o&&document.getElementsByTagName("head")[0].removeChild(o)}o.exports=function(s){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],u=s,l=i.timeout||r.timeout,c=i.jsonpCallback||r.jsonpCallback,d=void 0;return new Promise(function(o,e){var r=i.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),n=c+"_"+r;window[r]=function(e){o({ok:!0,json:function(){return Promise.resolve(e)}}),d&&clearTimeout(d),m(n),a(r)},u+=-1===u.indexOf("?")?"?":"&";var t=document.createElement("script");t.setAttribute("src",""+u+c+"="+r),i.charset&&t.setAttribute("charset",i.charset),t.id=n,document.getElementsByTagName("head")[0].appendChild(t),d=setTimeout(function(){e(new Error("JSONP request to "+s+" timed out")),a(r),m(n),window[r]=function(){a(r)}},l),t.onerror=function(){e(new Error("JSONP request to "+s+" failed")),a(r),m(n),d&&clearTimeout(d)}})}})?n.apply(o,t):n)||(e.exports=s)},"./node_modules/weixin-js-sdk/index.js":
|
|
|
/*! no static exports found */function(e,o,r){var n,t,s;t=[o,e],void 0===(s="function"==typeof(n=function(e,o){"use strict";var r={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function d(o){try{delete window[o]}catch(e){window[o]=void 0}}function m(e){var o=document.getElementById(e);o&&document.getElementsByTagName("head")[0].removeChild(o)}o.exports=function(s){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],u=s,l=i.timeout||r.timeout,c=i.jsonpCallback||r.jsonpCallback,a=void 0;return new Promise(function(o,e){var r=i.jsonpCallbackFunction||"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random()),n=c+"_"+r;window[r]=function(e){o({ok:!0,json:function(){return Promise.resolve(e)}}),a&&clearTimeout(a),m(n),d(r)},u+=-1===u.indexOf("?")?"?":"&";var t=document.createElement("script");t.setAttribute("src",""+u+c+"="+r),i.charset&&t.setAttribute("charset",i.charset),t.id=n,document.getElementsByTagName("head")[0].appendChild(t),a=setTimeout(function(){e(new Error("JSONP request to "+s+" timed out")),d(r),m(n),window[r]=function(){d(r)}},l),t.onerror=function(){e(new Error("JSONP request to "+s+" failed")),d(r),m(n),a&&clearTimeout(a)}})}})?n.apply(o,t):n)||(e.exports=s)},"./node_modules/process/browser.js":
|
|
|
/*!*****************************************!*\
|
|
|
!*** ./node_modules/process/browser.js ***!
|
|
|
\*****************************************/
|
|
|
/*! no static exports found */function(e,o){var r,n,t=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function u(o){if(r===setTimeout)return setTimeout(o,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(o,0);try{return r(o,0)}catch(e){try{return r.call(null,o,0)}catch(e){return r.call(this,o,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(e){r=s}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var l,c=[],a=!1,d=-1;function m(){a&&l&&(a=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!a){var e=u(m);a=!0;for(var o=c.length;o;){for(l=c,c=[];++d<o;)l&&l[d].run();d=-1,o=c.length}l=null,a=!1,function(o){if(n===clearTimeout)return clearTimeout(o);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(o);try{n(o)}catch(e){try{return n.call(null,o)}catch(e){return n.call(this,o)}}}(e)}}function p(e,o){this.fun=e,this.array=o}function _(){}t.nextTick=function(e){var o=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)o[r-1]=arguments[r];c.push(new p(e,o)),1!==c.length||a||u(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=_,t.addListener=_,t.once=_,t.off=_,t.removeListener=_,t.removeAllListeners=_,t.emit=_,t.prependListener=_,t.prependOnceListener=_,t.listeners=function(e){return[]},t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},"./node_modules/promise-polyfill/src/finally.js":
|
|
|
/*!******************************************************!*\
|
|
|
!*** ./node_modules/promise-polyfill/src/finally.js ***!
|
|
|
\******************************************************/
|
|
|
/*! exports provided: default */function(e,o,r){"use strict";r.r(o),o.default=function(o){var r=this.constructor;return this.then(function(e){return r.resolve(o()).then(function(){return e})},function(e){return r.resolve(o()).then(function(){return r.reject(e)})})}},"./node_modules/promise-polyfill/src/index.js":
|
|
|
/*!****************************************************!*\
|
|
|
!*** ./node_modules/promise-polyfill/src/index.js ***!
|
|
|
\****************************************************/
|
|
|
/*! exports provided: default */function(e,d,m){"use strict";m.r(d),function(o){var e=m(/*! ./finally */"./node_modules/promise-polyfill/src/finally.js"),r=setTimeout;function n(){}function s(e){if(!(this instanceof s))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],a(e,this)}function t(r,n){for(;3===r._state;)r=r._value;0!==r._state?(r._handled=!0,s._immediateFn(function(){var e=1===r._state?n.onFulfilled:n.onRejected;if(null!==e){var o;try{o=e(r._value)}catch(e){return void u(n.promise,e)}i(n.promise,o)}else(1===r._state?i:u)(n.promise,r._value)})):r._deferreds.push(n)}function i(o,e){try{if(e===o)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if(e instanceof s)return o._state=3,o._value=e,void l(o);if("function"==typeof r)return void a((n=r,t=e,function(){n.apply(t,arguments)}),o)}o._state=1,o._value=e,l(o)}catch(e){u(o,e)}var n,t}function u(e,o){e._state=2,e._value=o,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&s._immediateFn(function(){e._handled||s._unhandledRejectionFn(e._value)});for(var o=0,r=e._deferreds.length;o<r;o++)t(e,e._deferreds[o]);e._deferreds=null}function c(e,o,r){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof o?o:null,this.promise=r}function a(e,o){var r=!1;try{e(function(e){r||(r=!0,i(o,e))},function(e){r||(r=!0,u(o,e))})}catch(e){if(r)return;r=!0,u(o,e)}}s.prototype.catch=function(e){return this.then(null,e)},s.prototype.then=function(e,o){var r=new this.constructor(n);return t(this,new c(e,o,r)),r},s.prototype.finally=e.default,s.all=function(o){return new s(function(n,t){if(!o||void 0===o.length)throw new TypeError("Promise.all accepts an array");var s=Array.prototype.slice.call(o);if(0===s.length)return n([]);var i=s.length;function u(o,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void r.call(e,function(e){u(o,e)},t)}s[o]=e,0==--i&&n(s)}catch(e){t(e)}}for(var e=0;e<s.length;e++)u(e,s[e])})},s.resolve=function(o){return o&&"object"==typeof o&&o.constructor===s?o:new s(function(e){e(o)})},s.reject=function(r){return new s(function(e,o){o(r)})},s.race=function(t){return new s(function(e,o){for(var r=0,n=t.length;r<n;r++)t[r].then(e,o)})},s._immediateFn="function"==typeof o&&function(e){o(e)}||function(e){r(e,0)},s._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},d.default=s}.call(this,m(/*! ./../../timers-browserify/main.js */"./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/setimmediate/setImmediate.js":
|
|
|
/*!***************************************************!*\
|
|
|
!*** ./node_modules/setimmediate/setImmediate.js ***!
|
|
|
\***************************************************/
|
|
|
/*! no static exports found */function(e,o,r){(function(e,p){!function(r,n){"use strict";if(!r.setImmediate){var t,s,o,i,e,u=1,l={},c=!1,a=r.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(r);d=d&&d.setTimeout?d:r,t="[object process]"==={}.toString.call(r.process)?function(e){p.nextTick(function(){f(e)})}:function(){if(r.postMessage&&!r.importScripts){var e=!0,o=r.onmessage;return r.onmessage=function(){e=!1},r.postMessage("","*"),r.onmessage=o,e}}()?(i="setImmediate$"+Math.random()+"$",e=function(e){e.source===r&&"string"==typeof e.data&&0===e.data.indexOf(i)&&f(+e.data.slice(i.length))},r.addEventListener?r.addEventListener("message",e,!1):r.attachEvent("onmessage",e),function(e){r.postMessage(i+e,"*")}):r.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){o.port2.postMessage(e)}):a&&"onreadystatechange"in a.createElement("script")?(s=a.documentElement,function(e){var o=a.createElement("script");o.onreadystatechange=function(){f(e),o.onreadystatechange=null,s.removeChild(o),o=null},s.appendChild(o)}):function(e){setTimeout(f,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var o=new Array(arguments.length-1),r=0;r<o.length;r++)o[r]=arguments[r+1];var n={callback:e,args:o};return l[u]=n,t(u),u++},d.clearImmediate=m}function m(e){delete l[e]}function f(e){if(c)setTimeout(f,0,e);else{var o=l[e];if(o){c=!0;try{!function(e){var o=e.callback,r=e.args;switch(r.length){case 0:o();break;case 1:o(r[0]);break;case 2:o(r[0],r[1]);break;case 3:o(r[0],r[1],r[2]);break;default:o.apply(n,r)}}(o)}finally{m(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,r(/*! ./../webpack/buildin/global.js */"./node_modules/webpack/buildin/global.js"),r(/*! ./../process/browser.js */"./node_modules/process/browser.js"))},"./node_modules/timers-browserify/main.js":
|
|
|
/*!************************************************!*\
|
|
|
!*** ./node_modules/timers-browserify/main.js ***!
|
|
|
\************************************************/
|
|
|
/*! no static exports found */function(e,t,s){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function n(e,o){this._id=e,this._clearFn=o}t.setTimeout=function(){return new n(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new n(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},n.prototype.unref=n.prototype.ref=function(){},n.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,o){clearTimeout(e._idleTimeoutId),e._idleTimeout=o},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var o=e._idleTimeout;0<=o&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},o))},s(/*! setimmediate */"./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,s(/*! ./../webpack/buildin/global.js */"./node_modules/webpack/buildin/global.js"))},"./node_modules/webpack/buildin/global.js":
|
|
|
/*!***********************************!*\
|
|
|
!*** (webpack)/buildin/global.js ***!
|
|
|
\***********************************/
|
|
|
/*! no static exports found */function(os,ps){var qs;qs=function(){return this}();try{qs=qs||Function("return this")()||eval("this")}catch(e){"object"==typeof window&&(qs=window)}os.exports=qs},"./node_modules/weixin-js-sdk/index.js":
|
|
|
/*!*********************************************!*\
|
|
|
!*** ./node_modules/weixin-js-sdk/index.js ***!
|
|
|
\*********************************************/
|
|
|
/*! no static exports found */function(e,o){var r;r=window,e.exports=function(t,e){function u(o,e,r){t.WeixinJSBridge?WeixinJSBridge.invoke(o,s(e),function(e){i(o,e,r)}):c(o,r)}function o(o,r,n){t.WeixinJSBridge?WeixinJSBridge.on(o,function(e){n&&n.trigger&&n.trigger(e),i(o,e,r)}):c(o,n||r)}function s(e){return(e=e||{}).appId=S.appId,e.verifyAppId=S.appId,e.verifySignType="sha1",e.verifyTimestamp=S.timestamp+"",e.verifyNonceStr=S.nonceStr,e.verifySignature=S.signature,e}function r(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function i(e,o,r){"openEnterpriseChat"==e&&(o.errCode=o.err_code),delete o.err_code,delete o.err_desc,delete o.err_detail;var n=o.errMsg;n||(n=o.err_msg,delete o.err_msg,n=function(e,o){var r=e,n=f[r];n&&(r=n);var t="ok";if(o){var s=o.indexOf(":");"confirm"==(t=o.substring(s+1))&&(t="ok"),"failed"==t&&(t="fail"),-1!=t.indexOf("failed_")&&(t=t.substring(7)),-1!=t.indexOf("fail_")&&(t=t.substring(5)),"access denied"!=(t=(t=t.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=t||(t="permission denied"),"config"==r&&"function not exist"==t&&(t="ok"),""==t&&(t="fail")}return o=r+":"+t}(e,n),o.errMsg=n),(r=r||{})._complete&&(r._complete(o),delete r._complete),n=o.errMsg||"",S.debug&&!r.isInnerInvoke&&alert(JSON.stringify(o));var t=n.indexOf(":");switch(n.substring(t+1)){case"ok":r.success&&r.success(o);break;case"cancel":r.cancel&&r.cancel(o);break;default:r.fail&&r.fail(o)}r.complete&&r.complete(o)}function l(e){if(e){for(var o=0,r=e.length;o<r;++o){var n=e[o],t=m[n];t&&(e[o]=t)}return e}}function c(e,o){if(!(!S.debug||o&&o.isInnerInvoke)){var r=f[e];r&&(e=r),o&&o._complete&&delete o._complete,console.log('"'+e+'",',o||"")}}function d(){return(new Date).getTime()}function a(e){h&&(t.WeixinJSBridge?"preInject"===n.__wxjsjs__isPreInject?n.addEventListener&&n.addEventListener("WeixinJSBridgeReady",e,!1):e():n.addEventListener&&n.addEventListener("WeixinJSBridgeReady",e,!1))}if(!t.jWeixin){var m={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},f=function(){var e={};for(var o in m)e[m[o]]=o;return e}(),n=t.document,p=n.title,_=navigator.userAgent.toLowerCase(),j=navigator.platform.toLowerCase(),y=!(!j.match("mac")&&!j.match("win")),b=-1!=_.indexOf("wxdebugger"),h=-1!=_.indexOf("micromessenger"),g=-1!=_.indexOf("android"),v=-1!=_.indexOf("iphone")||-1!=_.indexOf("ipad"),w=(L=_.match(/micromessenger\/(\d+\.\d+\.\d+)/)||_.match(/micromessenger\/(\d+\.\d+)/))?L[1]:"",x={initStartTime:d(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},k={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:v?1:g?2:-1,clientVersion:w,url:encodeURIComponent(location.href)},S={},I={_completes:[]},M={state:0,data:{}};a(function(){x.initEndTime=d()});var T=!1,P=[],O={config:function(e){c("config",S=e);var n=!1!==S.check;a(function(){if(n)u(m.config,{verifyJsApiList:l(S.jsApiList)},function(){I._complete=function(e){x.preVerifyEndTime=d(),M.state=1,M.data=e},I.success=function(e){k.isPreVerifyOk=0},I.fail=function(e){I._fail?I._fail(e):M.state=-1};var n=I._completes;return n.push(function(){!function(e){if(!(y||b||S.debug||w<"6.0.2"||k.systemType<0)){var r=new Image;k.appId=S.appId,k.initTime=x.initEndTime-x.initStartTime,k.preVerifyTime=x.preVerifyEndTime-x.preVerifyStartTime,O.getNetworkType({isInnerInvoke:!0,success:function(e){k.networkType=e.networkType;var o="https://open.weixin.qq.com/sdk/report?v="+k.version+"&o="+k.isPreVerifyOk+"&s="+k.systemType+"&c="+k.clientVersion+"&a="+k.appId+"&n="+k.networkType+"&i="+k.initTime+"&p="+k.preVerifyTime+"&u="+k.url;r.src=o}})}}()}),I.complete=function(e){for(var o=0,r=n.length;o<r;++o)n[o]();I._completes=[]},I}()),x.preVerifyStartTime=d();else{M.state=1;for(var e=I._completes,o=0,r=e.length;o<r;++o)e[o]();I._completes=[]}}),O.invoke||(O.invoke=function(e,o,r){t.WeixinJSBridge&&WeixinJSBridge.invoke(e,s(o),r)},O.on=function(e,o){t.WeixinJSBridge&&WeixinJSBridge.on(e,o)})},ready:function(e){0!=M.state?e():(I._completes.push(e),!h&&S.debug&&e())},error:function(e){w<"6.0.2"||(-1==M.state?e(M.data):I._fail=e)},checkJsApi:function(e){u("checkJsApi",{jsApiList:l(e.jsApiList)},(e._complete=function(e){if(g){var o=e.checkResult;o&&(e.checkResult=JSON.parse(o))}e=function(e){var o=e.checkResult;for(var r in o){var n=f[r];n&&(o[n]=o[r],delete o[r])}return e}(e)},e))},onMenuShareTimeline:function(e){o(m.onMenuShareTimeline,{complete:function(){u("shareTimeline",{title:e.title||p,desc:e.title||p,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){o(m.onMenuShareAppMessage,{complete:function(){u("sendAppMessage",{title:e.title||p,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){o(m.onMenuShareQQ,{complete:function(){u("shareQQ",{title:e.title||p,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){o(m.onMenuShareWeibo,{complete:function(){u("shareWeiboApp",{title:e.title||p,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){o(m.onMenuShareQZone,{complete:function(){u("shareQZone",{title:e.title||p,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},startRecord:function(e){u("startRecord",{},e)},stopRecord:function(e){u("stopRecord",{},e)},onVoiceRecordEnd:function(e){o("onVoiceRecordEnd",e)},playVoice:function(e){u("playVoice",{localId:e.localId},e)},pauseVoice:function(e){u("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){u("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){o("onVoicePlayEnd",e)},uploadVoice:function(e){u("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){u("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){u("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){u("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(g){var o=e.localIds;o&&(e.localIds=JSON.parse(o))}},e))},getLocation:function(e){},previewImage:function(e){u(m.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){u("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){u("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===T?(T=!0,u("getLocalImgData",{localId:e.localId},(e._complete=function(e){if(T=!1,0<P.length){var o=P.shift();O.getLocalImgData(o)}},e))):P.push(e)},getNetworkType:function(e){u("getNetworkType",{},(e._complete=function(e){e=function(e){var o=e.errMsg;e.errMsg="getNetworkType:ok";var r=e.subtype;if(delete e.subtype,r)e.networkType=r;else{var n=o.indexOf(":"),t=o.substring(n+1);switch(t){case"wifi":case"edge":case"wwan":e.networkType=t;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){u("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},getLocation:function(e){u(m.getLocation,{type:(e=e||{}).type||"wgs84"},(e._complete=function(e){delete e.type},e))},hideOptionMenu:function(e){u("hideOptionMenu",{},e)},showOptionMenu:function(e){u("showOptionMenu",{},e)},closeWindow:function(e){u("closeWindow",{},e=e||{})},hideMenuItems:function(e){u("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){u("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){u("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){u("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){u("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(v){var o=e.resultStr;if(o){var r=JSON.parse(o);e.resultStr=r&&r.scan_code&&r.scan_code.scan_result}}},e))},openAddress:function(e){u(m.openAddress,{},(e._complete=function(e){var o;(o=e).postalCode=o.addressPostalCode,delete o.addressPostalCode,o.provinceName=o.proviceFirstStageName,delete o.proviceFirstStageName,o.cityName=o.addressCitySecondStageName,delete o.addressCitySecondStageName,o.countryName=o.addressCountiesThirdStageName,delete o.addressCountiesThirdStageName,o.detailInfo=o.addressDetailInfo,delete o.addressDetailInfo,e=o},e))},openProductSpecificView:function(e){u(m.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var o=e.cardList,r=[],n=0,t=o.length;n<t;++n){var s=o[n],i={card_id:s.cardId,card_ext:s.cardExt};r.push(i)}u(m.addCard,{card_list:r},(e._complete=function(e){var o=e.card_list;if(o){for(var r=0,n=(o=JSON.parse(o)).length;r<n;++r){var t=o[r];t.cardId=t.card_id,t.cardExt=t.card_ext,t.isSuccess=!!t.is_succ,delete t.card_id,delete t.card_ext,delete t.is_succ}e.cardList=o,delete e.card_list}},e))},chooseCard:function(e){u("chooseCard",{app_id:S.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))},openCard:function(e){for(var o=e.cardList,r=[],n=0,t=o.length;n<t;++n){var s=o[n],i={card_id:s.cardId,code:s.code};r.push(i)}u(m.openCard,{card_list:r},e)},consumeAndShareCard:function(e){u(m.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)},chooseWXPay:function(e){u(m.chooseWXPay,r(e),e)},openEnterpriseRedPacket:function(e){u(m.openEnterpriseRedPacket,r(e),e)},startSearchBeacons:function(e){u(m.startSearchBeacons,{ticket:e.ticket},e)},stopSearchBeacons:function(e){u(m.stopSearchBeacons,{},e)},onSearchBeacons:function(e){o(m.onSearchBeacons,e)},openEnterpriseChat:function(e){u("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)},launchMiniProgram:function(e){u("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){if("string"==typeof e&&0<e.length){var o=e.split("?")[0],r=e.split("?")[1];return o+=".html",void 0!==r?o+"?"+r:o}}(e.path),envVersion:e.envVersion},e)},miniProgram:{navigateBack:function(e){e=e||{},a(function(){u("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)})},navigateTo:function(e){a(function(){u("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)})},redirectTo:function(e){a(function(){u("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)})},switchTab:function(e){a(function(){u("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)})},reLaunch:function(e){a(function(){u("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)})},postMessage:function(e){a(function(){u("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)})},getEnv:function(e){a(function(){e({miniprogram:"miniprogram"===t.__wxjs_environment})})}}},C=1,A={};return n.addEventListener("error",function(e){if(!g){var o=e.target,r=o.tagName,n=o.src;if(("IMG"==r||"VIDEO"==r||"AUDIO"==r||"SOURCE"==r)&&-1!=n.indexOf("wxlocalresource://")){e.preventDefault(),e.stopPropagation();var t=o["wx-id"];if(t||(t=C++,o["wx-id"]=t),A[t])return;A[t]=!0,O.ready(function(){O.getLocalImgData({localId:n,success:function(e){o.src=e.localData}})})}}},!0),n.addEventListener("load",function(e){if(!g){var o=e.target,r=o.tagName;if(o.src,"IMG"==r||"VIDEO"==r||"AUDIO"==r||"SOURCE"==r){var n=o["wx-id"];n&&(A[n]=!1)}}},!0),e&&(t.wx=t.jWeixin=O),O}var L}(r)},"./src/index.js":
|
|
|
/*! no static exports found */function(e,o){var r;r=window,e.exports=function(t,e){function u(o,e,r){t.WeixinJSBridge?WeixinJSBridge.invoke(o,s(e),function(e){i(o,e,r)}):c(o,r)}function o(o,r,n){t.WeixinJSBridge?WeixinJSBridge.on(o,function(e){n&&n.trigger&&n.trigger(e),i(o,e,r)}):c(o,n||r)}function s(e){return(e=e||{}).appId=S.appId,e.verifyAppId=S.appId,e.verifySignType="sha1",e.verifyTimestamp=S.timestamp+"",e.verifyNonceStr=S.nonceStr,e.verifySignature=S.signature,e}function r(e){return{timeStamp:e.timestamp+"",nonceStr:e.nonceStr,package:e.package,paySign:e.paySign,signType:e.signType||"SHA1"}}function i(e,o,r){"openEnterpriseChat"==e&&(o.errCode=o.err_code),delete o.err_code,delete o.err_desc,delete o.err_detail;var n=o.errMsg;n||(n=o.err_msg,delete o.err_msg,n=function(e,o){var r=e,n=f[r];n&&(r=n);var t="ok";if(o){var s=o.indexOf(":");"confirm"==(t=o.substring(s+1))&&(t="ok"),"failed"==t&&(t="fail"),-1!=t.indexOf("failed_")&&(t=t.substring(7)),-1!=t.indexOf("fail_")&&(t=t.substring(5)),"access denied"!=(t=(t=t.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=t||(t="permission denied"),"config"==r&&"function not exist"==t&&(t="ok"),""==t&&(t="fail")}return o=r+":"+t}(e,n),o.errMsg=n),(r=r||{})._complete&&(r._complete(o),delete r._complete),n=o.errMsg||"",S.debug&&!r.isInnerInvoke&&alert(JSON.stringify(o));var t=n.indexOf(":");switch(n.substring(t+1)){case"ok":r.success&&r.success(o);break;case"cancel":r.cancel&&r.cancel(o);break;default:r.fail&&r.fail(o)}r.complete&&r.complete(o)}function l(e){if(e){for(var o=0,r=e.length;o<r;++o){var n=e[o],t=m[n];t&&(e[o]=t)}return e}}function c(e,o){if(!(!S.debug||o&&o.isInnerInvoke)){var r=f[e];r&&(e=r),o&&o._complete&&delete o._complete,console.log('"'+e+'",',o||"")}}function a(){return(new Date).getTime()}function d(e){h&&(t.WeixinJSBridge?"preInject"===n.__wxjsjs__isPreInject?n.addEventListener&&n.addEventListener("WeixinJSBridgeReady",e,!1):e():n.addEventListener&&n.addEventListener("WeixinJSBridgeReady",e,!1))}if(!t.jWeixin){var m={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},f=function(){var e={};for(var o in m)e[m[o]]=o;return e}(),n=t.document,p=n.title,_=navigator.userAgent.toLowerCase(),j=navigator.platform.toLowerCase(),y=!(!j.match("mac")&&!j.match("win")),b=-1!=_.indexOf("wxdebugger"),h=-1!=_.indexOf("micromessenger"),v=-1!=_.indexOf("android"),g=-1!=_.indexOf("iphone")||-1!=_.indexOf("ipad"),w=(L=_.match(/micromessenger\/(\d+\.\d+\.\d+)/)||_.match(/micromessenger\/(\d+\.\d+)/))?L[1]:"",x={initStartTime:a(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},k={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:g?1:v?2:-1,clientVersion:w,url:encodeURIComponent(location.href)},S={},T={_completes:[]},I={state:0,data:{}};d(function(){x.initEndTime=a()});var M=!1,O=[],P={config:function(e){c("config",S=e);var n=!1!==S.check;d(function(){if(n)u(m.config,{verifyJsApiList:l(S.jsApiList)},function(){T._complete=function(e){x.preVerifyEndTime=a(),I.state=1,I.data=e},T.success=function(e){k.isPreVerifyOk=0},T.fail=function(e){T._fail?T._fail(e):I.state=-1};var n=T._completes;return n.push(function(){!function(e){if(!(y||b||S.debug||w<"6.0.2"||k.systemType<0)){var r=new Image;k.appId=S.appId,k.initTime=x.initEndTime-x.initStartTime,k.preVerifyTime=x.preVerifyEndTime-x.preVerifyStartTime,P.getNetworkType({isInnerInvoke:!0,success:function(e){k.networkType=e.networkType;var o="https://open.weixin.qq.com/sdk/report?v="+k.version+"&o="+k.isPreVerifyOk+"&s="+k.systemType+"&c="+k.clientVersion+"&a="+k.appId+"&n="+k.networkType+"&i="+k.initTime+"&p="+k.preVerifyTime+"&u="+k.url;r.src=o}})}}()}),T.complete=function(e){for(var o=0,r=n.length;o<r;++o)n[o]();T._completes=[]},T}()),x.preVerifyStartTime=a();else{I.state=1;for(var e=T._completes,o=0,r=e.length;o<r;++o)e[o]();T._completes=[]}}),P.invoke||(P.invoke=function(e,o,r){t.WeixinJSBridge&&WeixinJSBridge.invoke(e,s(o),r)},P.on=function(e,o){t.WeixinJSBridge&&WeixinJSBridge.on(e,o)})},ready:function(e){0!=I.state?e():(T._completes.push(e),!h&&S.debug&&e())},error:function(e){w<"6.0.2"||(-1==I.state?e(I.data):T._fail=e)},checkJsApi:function(e){u("checkJsApi",{jsApiList:l(e.jsApiList)},(e._complete=function(e){if(v){var o=e.checkResult;o&&(e.checkResult=JSON.parse(o))}e=function(e){var o=e.checkResult;for(var r in o){var n=f[r];n&&(o[n]=o[r],delete o[r])}return e}(e)},e))},onMenuShareTimeline:function(e){o(m.onMenuShareTimeline,{complete:function(){u("shareTimeline",{title:e.title||p,desc:e.title||p,img_url:e.imgUrl||"",link:e.link||location.href,type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareAppMessage:function(e){o(m.onMenuShareAppMessage,{complete:function(){u("sendAppMessage",{title:e.title||p,desc:e.desc||"",link:e.link||location.href,img_url:e.imgUrl||"",type:e.type||"link",data_url:e.dataUrl||""},e)}},e)},onMenuShareQQ:function(e){o(m.onMenuShareQQ,{complete:function(){u("shareQQ",{title:e.title||p,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareWeibo:function(e){o(m.onMenuShareWeibo,{complete:function(){u("shareWeiboApp",{title:e.title||p,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},onMenuShareQZone:function(e){o(m.onMenuShareQZone,{complete:function(){u("shareQZone",{title:e.title||p,desc:e.desc||"",img_url:e.imgUrl||"",link:e.link||location.href},e)}},e)},startRecord:function(e){u("startRecord",{},e)},stopRecord:function(e){u("stopRecord",{},e)},onVoiceRecordEnd:function(e){o("onVoiceRecordEnd",e)},playVoice:function(e){u("playVoice",{localId:e.localId},e)},pauseVoice:function(e){u("pauseVoice",{localId:e.localId},e)},stopVoice:function(e){u("stopVoice",{localId:e.localId},e)},onVoicePlayEnd:function(e){o("onVoicePlayEnd",e)},uploadVoice:function(e){u("uploadVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadVoice:function(e){u("downloadVoice",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},translateVoice:function(e){u("translateVoice",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},chooseImage:function(e){u("chooseImage",{scene:"1|2",count:e.count||9,sizeType:e.sizeType||["original","compressed"],sourceType:e.sourceType||["album","camera"]},(e._complete=function(e){if(v){var o=e.localIds;o&&(e.localIds=JSON.parse(o))}},e))},getLocation:function(e){},previewImage:function(e){u(m.previewImage,{current:e.current,urls:e.urls},e)},uploadImage:function(e){u("uploadImage",{localId:e.localId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},downloadImage:function(e){u("downloadImage",{serverId:e.serverId,isShowProgressTips:0==e.isShowProgressTips?0:1},e)},getLocalImgData:function(e){!1===M?(M=!0,u("getLocalImgData",{localId:e.localId},(e._complete=function(e){if(M=!1,0<O.length){var o=O.shift();P.getLocalImgData(o)}},e))):O.push(e)},getNetworkType:function(e){u("getNetworkType",{},(e._complete=function(e){e=function(e){var o=e.errMsg;e.errMsg="getNetworkType:ok";var r=e.subtype;if(delete e.subtype,r)e.networkType=r;else{var n=o.indexOf(":"),t=o.substring(n+1);switch(t){case"wifi":case"edge":case"wwan":e.networkType=t;break;default:e.errMsg="getNetworkType:fail"}}return e}(e)},e))},openLocation:function(e){u("openLocation",{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""},e)},getLocation:function(e){u(m.getLocation,{type:(e=e||{}).type||"wgs84"},(e._complete=function(e){delete e.type},e))},hideOptionMenu:function(e){u("hideOptionMenu",{},e)},showOptionMenu:function(e){u("showOptionMenu",{},e)},closeWindow:function(e){u("closeWindow",{},e=e||{})},hideMenuItems:function(e){u("hideMenuItems",{menuList:e.menuList},e)},showMenuItems:function(e){u("showMenuItems",{menuList:e.menuList},e)},hideAllNonBaseMenuItem:function(e){u("hideAllNonBaseMenuItem",{},e)},showAllNonBaseMenuItem:function(e){u("showAllNonBaseMenuItem",{},e)},scanQRCode:function(e){u("scanQRCode",{needResult:(e=e||{}).needResult||0,scanType:e.scanType||["qrCode","barCode"]},(e._complete=function(e){if(g){var o=e.resultStr;if(o){var r=JSON.parse(o);e.resultStr=r&&r.scan_code&&r.scan_code.scan_result}}},e))},openAddress:function(e){u(m.openAddress,{},(e._complete=function(e){var o;(o=e).postalCode=o.addressPostalCode,delete o.addressPostalCode,o.provinceName=o.proviceFirstStageName,delete o.proviceFirstStageName,o.cityName=o.addressCitySecondStageName,delete o.addressCitySecondStageName,o.countryName=o.addressCountiesThirdStageName,delete o.addressCountiesThirdStageName,o.detailInfo=o.addressDetailInfo,delete o.addressDetailInfo,e=o},e))},openProductSpecificView:function(e){u(m.openProductSpecificView,{pid:e.productId,view_type:e.viewType||0,ext_info:e.extInfo},e)},addCard:function(e){for(var o=e.cardList,r=[],n=0,t=o.length;n<t;++n){var s=o[n],i={card_id:s.cardId,card_ext:s.cardExt};r.push(i)}u(m.addCard,{card_list:r},(e._complete=function(e){var o=e.card_list;if(o){for(var r=0,n=(o=JSON.parse(o)).length;r<n;++r){var t=o[r];t.cardId=t.card_id,t.cardExt=t.card_ext,t.isSuccess=!!t.is_succ,delete t.card_id,delete t.card_ext,delete t.is_succ}e.cardList=o,delete e.card_list}},e))},chooseCard:function(e){u("chooseCard",{app_id:S.appId,location_id:e.shopId||"",sign_type:e.signType||"SHA1",card_id:e.cardId||"",card_type:e.cardType||"",card_sign:e.cardSign,time_stamp:e.timestamp+"",nonce_str:e.nonceStr},(e._complete=function(e){e.cardList=e.choose_card_info,delete e.choose_card_info},e))},openCard:function(e){for(var o=e.cardList,r=[],n=0,t=o.length;n<t;++n){var s=o[n],i={card_id:s.cardId,code:s.code};r.push(i)}u(m.openCard,{card_list:r},e)},consumeAndShareCard:function(e){u(m.consumeAndShareCard,{consumedCardId:e.cardId,consumedCode:e.code},e)},chooseWXPay:function(e){u(m.chooseWXPay,r(e),e)},openEnterpriseRedPacket:function(e){u(m.openEnterpriseRedPacket,r(e),e)},startSearchBeacons:function(e){u(m.startSearchBeacons,{ticket:e.ticket},e)},stopSearchBeacons:function(e){u(m.stopSearchBeacons,{},e)},onSearchBeacons:function(e){o(m.onSearchBeacons,e)},openEnterpriseChat:function(e){u("openEnterpriseChat",{useridlist:e.userIds,chatname:e.groupName},e)},launchMiniProgram:function(e){u("launchMiniProgram",{targetAppId:e.targetAppId,path:function(e){if("string"==typeof e&&0<e.length){var o=e.split("?")[0],r=e.split("?")[1];return o+=".html",void 0!==r?o+"?"+r:o}}(e.path),envVersion:e.envVersion},e)},miniProgram:{navigateBack:function(e){e=e||{},d(function(){u("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:e.delta||1}},e)})},navigateTo:function(e){d(function(){u("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:e.url}},e)})},redirectTo:function(e){d(function(){u("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:e.url}},e)})},switchTab:function(e){d(function(){u("invokeMiniProgramAPI",{name:"switchTab",arg:{url:e.url}},e)})},reLaunch:function(e){d(function(){u("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:e.url}},e)})},postMessage:function(e){d(function(){u("invokeMiniProgramAPI",{name:"postMessage",arg:e.data||{}},e)})},getEnv:function(e){d(function(){e({miniprogram:"miniprogram"===t.__wxjs_environment})})}}},C=1,A={};return n.addEventListener("error",function(e){if(!v){var o=e.target,r=o.tagName,n=o.src;if(("IMG"==r||"VIDEO"==r||"AUDIO"==r||"SOURCE"==r)&&-1!=n.indexOf("wxlocalresource://")){e.preventDefault(),e.stopPropagation();var t=o["wx-id"];if(t||(t=C++,o["wx-id"]=t),A[t])return;A[t]=!0,P.ready(function(){P.getLocalImgData({localId:n,success:function(e){o.src=e.localData}})})}}},!0),n.addEventListener("load",function(e){if(!v){var o=e.target,r=o.tagName;if(o.src,"IMG"==r||"VIDEO"==r||"AUDIO"==r||"SOURCE"==r){var n=o["wx-id"];n&&(A[n]=!1)}}},!0),e&&(t.wx=t.jWeixin=P),P}var L}(r)},"./src/index.js":
|
|
|
/*!**********************!*\
|
|
|
!*** ./src/index.js ***!
|
|
|
\**********************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=u(r(/*! ./public/base */"./src/public/base.js")),t=u(r(/*! ./public/login */"./src/public/login.js")),s=u(r(/*! ./public/goto */"./src/public/goto.js")),i=u(r(/*! ./public/share */"./src/public/share.js"));function u(e){return e&&e.__esModule?e:{default:e}}var l=n.default.env(),c=n.default.loginUrl(),d=new t.default({loginUrl:c,env:l}),a=new s.default(l);o.default={auth:d.auth,goLogin:d.goLogin,getUid:n.default.getUid,env:l,link:a.link,goBack:a.goBack,wxShare:i.default.wxShare,wxSignature:i.default.wxSignature}},"./src/public/base.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=l(r(/*! ./public/base */"./src/public/base.js")),t=l(r(/*! ./public/login */"./src/public/login.js")),s=l(r(/*! ./public/goto */"./src/public/goto.js")),i=l(r(/*! ./public/share */"./src/public/share.js")),u=r(/*! ./utils/common */"./src/utils/common.js");function l(e){return e&&e.__esModule?e:{default:e}}var c=n.default.env(),a=n.default.loginUrl(),d=new t.default({loginUrl:a,env:c}),m=new s.default(c),f=new i.default;o.default={auth:d.auth.bind(d),goLogin:d.goLogin.bind(d),getUid:n.default.getUid,env:c,link:m.link.bind(m),goBack:m.goBack.bind(m),wxShare:f.wxShare.bind(f),wxSignature:f.wxSignature,getQueryObj:u.getQueryObj,invokeMethod:u.invokeMethod}},"./src/public/base.js":
|
|
|
/*!****************************!*\
|
|
|
!*** ./src/public/base.js ***!
|
|
|
\****************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=u(r(/*! babel-runtime/core-js/json/stringify */"./node_modules/babel-runtime/core-js/json/stringify.js")),t=u(r(/*! ../utils/jsonp */"./src/utils/jsonp.js")),s=u(r(/*! ../utils/cookie */"./src/utils/cookie.js")),i=r(/*! ../utils/common */"./src/utils/common.js");function u(e){return e&&e.__esModule?e:{default:e}}var l="";o.default={env:function(){var e=window.__wxjs_environment;return l=!e&&navigator.userAgent.match(/yohobuy/i)?(document.addEventListener("deviceready",function(){}),"app"):!e&&navigator.userAgent.match(/miniProgram/i)||"miniprogram"==e?"miniprogram":"https://www.yohobuy.com"===location.origin?"pc":"h5"},loginUrl:function(){var e=void 0,o=location.href.split("?")[0];return e="http://m.yohobuy.com/signin.html?refer="+encodeURIComponent(o),"app"===l?(o=function(e){var o={},r=void 0,n=void 0,t=void 0;if((r=((e=(e||"").split("?"))[1]||"").split("&"))&&r.length)for(t=0;t<r.length;t++)o[(n=r[t].split("="))[0]]=n[1];return{path:e[0],query:o}}(o),/Android/i.test(navigator.userAgent||"")?(e.indexOf("?")<0&&(e+="?appLogin=1"),0<=location.href.indexOf("&openby")&&(e=e.substring(0,e.indexOf("&openby"))),e+="&"):(0<=location.href.indexOf("#openby")&&(e=e.substring(0,e.indexOf("#openby"))),e+="#"),e+="openby:yohobuy="+(0,n.default)({action:"go.weblogin",params:{priority:"N",jumpurl:{url:o.path,param:o.query},needlogout:"Y"}})):"pc"===l?e="https://www.yoho/signin.html?refer="+encodeURIComponent(location.href)+'&openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"'+o.replace(/\//g,"\\/")+'","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}':"miniprogram"===l&&(e="/pages/userCenter/userCenter"),e},getUid:function(r){if("h5"===l||"pc"===l)(0,t.default)("https://m.yohobuy.com/passport/login/user").then(function(e){var o=0;200===e.code&&(o=Number(e.data)),r&&r(o)});else{var e=Number(s.default.cookie("app_uid"))||Number((0,i.getQueryObj)().uid)||0;r&&r(e)}}}},"./src/public/goto.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=l(r(/*! babel-runtime/core-js/json/stringify */"./node_modules/babel-runtime/core-js/json/stringify.js")),t=l(r(/*! ../utils/jsonp */"./src/utils/jsonp.js")),s=l(r(/*! ../utils/cookie */"./src/utils/cookie.js")),i=r(/*! ../utils/common */"./src/utils/common.js"),u=l(r(/*! promise-polyfill */"./node_modules/promise-polyfill/src/index.js"));function l(e){return e&&e.__esModule?e:{default:e}}var c="";o.default={env:function(){var e=window.__wxjs_environment;return c=!e&&navigator.userAgent.match(/yohobuy/i)?(document.addEventListener("deviceready",function(){}),"app"):!e&&navigator.userAgent.match(/miniProgram/i)||"miniprogram"===e?"miniprogram":"https://www.yohobuy.com"===location.origin?"pc":"h5"},loginUrl:function(){var e=void 0,o=location.href;return"app"===c?(e="//m.yohobuy.com/signin.html?refer="+encodeURIComponent(o),o=function(e){var o={},r=void 0,n=void 0,t=void 0;if((r=((e=(e||"").split("?"))[1]||"").split("&"))&&r.length)for(t=0;t<r.length;t++)o[(n=r[t].split("="))[0]]=n[1];return{path:e[0],query:o}}(o),/Android/i.test(navigator.userAgent||"")?(e.indexOf("?")<0&&(e+="?appLogin=1"),0<=location.href.indexOf("&openby")&&(e=e.substring(0,e.indexOf("&openby"))),e+="&"):(0<=location.href.indexOf("#openby")&&(e=e.substring(0,e.indexOf("#openby"))),e+="#"),e+="openby:yohobuy="+(0,n.default)({action:"go.weblogin",params:{priority:"N",jumpurl:{url:o.path,param:o.query},needlogout:"Y"}})):e="pc"===c?"https://www.yoho/signin.html?refer="+encodeURIComponent(location.href):"miniprogram"===c?"/pages/userCenter/userCenter":(o.indexOf("?")<0?o+="?skcall=1":o+="&skcall=1","//m.yohobuy.com/signin.html?refer="+encodeURIComponent(o)),e},getUid:function(){return new u.default(function(r){if("h5"===c||"pc"===c)(0,t.default)("//m.yohobuy.com/passport/login/user").then(function(e){var o=0;200===e.code&&(o=Number(e.data)),r(o)});else{var e=Number(s.default.cookie("app_uid"))||Number((0,i.getQueryObj)().uid)||0;r(e)}})}}},"./src/public/goto.js":
|
|
|
/*!****************************!*\
|
|
|
!*** ./src/public/goto.js ***!
|
|
|
\****************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=i(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),t=i(r(/*! babel-runtime/helpers/createClass */"./node_modules/babel-runtime/helpers/createClass.js")),s=i(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js")),l=r(/*! ../utils/common */"./src/utils/common.js");function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0,u=function(){function o(e){(0,n.default)(this,o),c=e}return(0,t.default)(o,[{key:"link",value:function(e){var o=e.currentTarget,r=o.getAttribute("data-type")||"other",n=o.getAttribute("data-id")||"",t=o.getAttribute("data-url")||"",s=o.getAttribute("data-name")||"",i="";if("miniprogram"===c)return i="product"===r?"/pages/goodsDetail/goodsDetail?productSkn="+n+"&page_name=goodsList&page_param=5":"brand"===r?"/pages/goodsList/brandStore?shop_id="+n+"&shop_name="+s:t.split("?")[0],(0,l.linkToMiniApp)(i,r);if(i="pc"===c?"product"===r?"https://www.yohobuy.com/product/"+n+".html":"brand"===r?"https://www.yohobuy.com/shop/"+s+"-"+n+".html":t:"product"===r?"https://m.yohobuy.com/product/"+n+'.html?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":'+n+"}}":"brand"===r?"https://m.yohobuy.com/product/index/brand?shop_id="+n+'&openby:yohobuy={"action":"go.shop","params":{"shop_id":"'+n+'","shop_template_type":"1","shop_name":"'+s+'","is_red_shop":"1"}}':t,"app"===c){document.getElementById("yosdk-goto")&&(0,l.createLinkButton)(i,"yosdk-goto");var u=document.getElementById("yosdk-goto");return u.setAttribute("href",i),u.click()}window.location.href=i}},{key:"goBack",value:function(){"app"===c?(0,l.invokeMethod)({method:"go.back"}):"miniprogram"===c?s.default.miniProgram.navigateBack():history.go(-1)}}]),o}();o.default=u},"./src/public/login.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=i(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),t=i(r(/*! babel-runtime/helpers/createClass */"./node_modules/babel-runtime/helpers/createClass.js")),s=i(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js")),l=r(/*! ../utils/common */"./src/utils/common.js");function i(e){return e&&e.__esModule?e:{default:e}}var u=function(){function o(e){(0,n.default)(this,o),this.env=e}return(0,t.default)(o,[{key:"link",value:function(e){var o=e.currentTarget,r=o.getAttribute("data-type")||"other",n=o.getAttribute("data-id")||"",t=o.getAttribute("data-url")||"",s=o.getAttribute("data-name")||"",i="";if("miniprogram"===this.env)return i="product"===r?"/pages/goodsDetail/goodsDetail?productSkn="+n+"&page_name=goodsList&page_param=5":"brand"===r?"/pages/goodsList/brandStore?shop_id="+n+"&shop_name="+s:t.split("?")[0],(0,l.linkToMiniApp)(i,r);if(i="pc"===this.env?"product"===r?"https://www.yohobuy.com/product/"+n+".html":"brand"===r?"https://www.yohobuy.com/shop/"+s+"-"+n+".html":t:"product"===r?"https://m.yohobuy.com/product/"+n+'.html?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":'+n+"}}":"brand"===r?"https://m.yohobuy.com/product/index/brand?shop_id="+n+'&openby:yohobuy={"action":"go.shop","params":{"shop_id":"'+n+'","shop_template_type":"1","shop_name":"'+s+'","is_red_shop":"1"}}':t,"app"===this.env){var u=document.getElementById("yosdk-goto");return u?u.setAttribute("href",i):u=(0,l.createLinkButton)(i,"yosdk-goto"),u.click()}window.location.href=i}},{key:"goBack",value:function(){"app"===this.env?(0,l.invokeMethod)({method:"go.back"}):"miniprogram"===this.env?s.default.miniProgram.navigateBack():history.go(-1)}}]),o}();o.default=u},"./src/public/login.js":
|
|
|
/*!*****************************!*\
|
|
|
!*** ./src/public/login.js ***!
|
|
|
\*****************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=l(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),t=l(r(/*! babel-runtime/helpers/createClass */"./node_modules/babel-runtime/helpers/createClass.js")),s=l(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js")),i=r(/*! ../utils/common */"./src/utils/common.js"),u=l(r(/*! ./base */"./src/public/base.js"));function l(e){return e&&e.__esModule?e:{default:e}}var c=void 0,d=void 0,a=function(){function o(e){(0,n.default)(this,o),c=e.env,d=e.loginUrl}return(0,t.default)(o,[{key:"auth",value:function(){var r=this.goLogin;u.default.getUid(function(e){if(console.log(e),!e){var o=document.querySelectorAll(".auth");if(o.length)return o.forEach(function(e){e.onclick=function(e){e.preventDefault(),r()}}),!0}})}},{key:"goLogin",value:function(){if("miniprogram"===c)s.default.miniProgram.switchTab({url:d});else if("app"===c){document.getElementById("yosdk-login")||(0,i.createLinkButton)(d,"yosdk-login"),document.getElementById("yosdk-login").click()}else window.location.href=d;return!1}}]),o}();o.default=a},"./src/public/share.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=l(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),t=l(r(/*! babel-runtime/helpers/createClass */"./node_modules/babel-runtime/helpers/createClass.js")),s=l(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js")),i=r(/*! ../utils/common */"./src/utils/common.js"),u=l(r(/*! ./base */"./src/public/base.js"));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function o(e){(0,n.default)(this,o),this.env=e.env,this.url=e.loginUrl}return(0,t.default)(o,[{key:"auth",value:function(){var r=this;u.default.getUid().then(function(e){if(!e){var o=document.querySelectorAll(".auth");if(o.length)return o.forEach(function(e){e.onclick=function(e){e.preventDefault(),r.goLogin()}}),!0}})}},{key:"goLogin",value:function(){if("miniprogram"===this.env)s.default.miniProgram.switchTab({url:this.url});else if("app"===this.env){var e=document.getElementById("yosdk-login");e||(e=(0,i.createLinkButton)(this.url,"yosdk-login")),e.click()}else window.location.href=this.url;return!1}}]),o}();o.default=c},"./src/public/share.js":
|
|
|
/*!*****************************!*\
|
|
|
!*** ./src/public/share.js ***!
|
|
|
\*****************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=s(r(/*! babel-runtime/core-js/json/stringify */"./node_modules/babel-runtime/core-js/json/stringify.js")),t=s(r(/*! ../utils/jsonp */"./src/utils/jsonp.js")),i=s(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js"));function s(e){return e&&e.__esModule?e:{default:e}}o.default={wxSignature:function(s){(0,t.default)("//action.yoho.cn/api/share/getSignPackage?pageurl="+encodeURIComponent(location.href.split("#")[0])).then(function(e){if(e.appId){document.getElementById("share").innerText="true";var o=e.appId.toString(),r=e.timestamp,n=e.nonceStr.toString(),t=e.signature.toString();return i.default.config({debug:!1,appId:o,timestamp:r,nonceStr:n,signature:t,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onVoiceRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","onVoicePlayEnd","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}),s&&setTimeout(s,500),!0}return!(document.getElementById("share").innerText="false")})},wxShare:function(e){document.getElementById("share").innerText="wxShare";var o=e||{title:"",imgUrl:"",desc:"",link:document.location.href,success:function(){}};i.default.ready(function(){document.getElementById("share").innerText=(0,n.default)(o),i.default.onMenuShareAppMessage(o),i.default.onMenuShareTimeline(o),i.default.onMenuShareQQ(o),i.default.onMenuShareWeibo(o)})}}},"./src/utils/common.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n=s(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),t=s(r(/*! ../utils/jsonp */"./src/utils/jsonp.js")),i=s(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js"));function s(e){return e&&e.__esModule?e:{default:e}}o.default=function e(){var r=this;(0,n.default)(this,e),this.wxSignature=function(s){(0,t.default)("//action.yoho.cn/api/share/getSignPackage?pageurl="+encodeURIComponent(location.href.split("#")[0])).then(function(e){if(e.appId){var o=e.appId.toString(),r=e.timestamp,n=e.nonceStr.toString(),t=e.signature.toString();return i.default.config({debug:!1,appId:o,timestamp:r,nonceStr:n,signature:t,jsApiList:["checkJsApi","onMenuShareTimeline","onMenuShareAppMessage","onMenuShareQQ","onMenuShareWeibo","hideMenuItems","showMenuItems","hideAllNonBaseMenuItem","showAllNonBaseMenuItem","translateVoice","startRecord","stopRecord","onVoiceRecordEnd","playVoice","pauseVoice","stopVoice","uploadVoice","onVoicePlayEnd","downloadVoice","chooseImage","previewImage","uploadImage","downloadImage","getNetworkType","openLocation","getLocation","hideOptionMenu","showOptionMenu","closeWindow","scanQRCode","chooseWXPay","openProductSpecificView","addCard","chooseCard","openCard"]}),s&&setTimeout(s,500),!0}return!1})},this.wxShare=function(o){r.wxSignature(function(){var e=o||{title:"",imgUrl:"",desc:"",link:document.location.href,success:function(){}};i.default.ready(function(){i.default.onMenuShareAppMessage(e),i.default.onMenuShareTimeline(e),i.default.onMenuShareQQ(e),i.default.onMenuShareWeibo(e)})})}}},"./src/utils/common.js":
|
|
|
/*!*****************************!*\
|
|
|
!*** ./src/utils/common.js ***!
|
|
|
\*****************************/
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createLinkButton=o.linkToMiniApp=o.getQueryObj=o.invokeMethod=void 0;var u=n(r(/*! babel-runtime/core-js/object/keys */"./node_modules/babel-runtime/core-js/object/keys.js")),l=n(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js"));function n(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var o=decodeURIComponent(document.location.href);e&&(o=decodeURIComponent(e));var r="",n=[],t=[];0<o.indexOf("?")&&(r=o.split("?")[1]),0<r.length&&(n=r.split("#")[0].split("&"));for(var s=0;s<n.length;s++){var i={};i.name=n[s].split("=")[0],i.value=n[s].split("=")[1],t.push(i)}for(var u={},l=0;l<t.length;l++)u[t[l].name]=t[l].value;return u};o.invokeMethod=function(e){var o=window.yohoInterface;o?o.triggerEvent(e.success||function(){},e.fail||function(){},{method:e.method,arguments:e.args}):console.log("暂不支持,请在YOHO!BUY应用中打开")},o.getQueryObj=c,o.linkToMiniApp=function(e,o){var r=e||"";if(r&&r.indexOf("http")<0&&"other"===o&&(r=document.location.protocol+"//"+document.location.host+r),r){var n=void 0;if("product"===o||"brand"===o)n=r;else{var t=decodeURIComponent(r).split("?")[0],s=c(r),i="";(0,u.default)(s).forEach(function(e){i+=""===i?"?"+e+"="+s[e]:"&"+e+"="+s[e]}),n="/pages/webview/webview?url="+t+encodeURIComponent(i)}return l.default.miniProgram.navigateTo({url:n}),!1}return!0},o.createLinkButton=function(e,o){var r=document.createElement("a");r.style.position="fixed",r.style.top=0,r.style.left=0,r.style.border="none",r.style.outline="none",r.style.resize="none",r.style.background="transparent",r.style.color="transparent",r.setAttribute("id",o),r.setAttribute("href",e),document.body.appendChild(r)}},"./src/utils/cookie.js":
|
|
|
/*! no static exports found */function(e,o,r){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createLinkButton=o.linkToMiniApp=o.getQueryObj=o.invokeMethod=void 0;var u=n(r(/*! babel-runtime/core-js/object/keys */"./node_modules/babel-runtime/core-js/object/keys.js")),l=n(r(/*! weixin-js-sdk */"./node_modules/weixin-js-sdk/index.js"));function n(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var o=decodeURIComponent(document.location.href);e&&(o=decodeURIComponent(e));var r="",n=[],t=[];0<o.indexOf("?")&&(r=o.split("?")[1]),0<r.length&&(n=r.split("#")[0].split("&"));for(var s=0;s<n.length;s++){var i={};if(i.name=n[s].split("=")[0],i.value=n[s].split("=")[1],2<n[s].split("=").length)for(var u=2;u<n[s].split("=").length;u++)i.value+="="+n[s].split("=")[u];t.push(i)}for(var l={},c=0;c<t.length;c++)l[t[c].name]=t[c].value;return l};o.invokeMethod=function(e){var o=window.yohoInterface;o?o.triggerEvent(e.success||function(){},e.fail||function(){},{method:e.method,arguments:e.args}):console.log("暂不支持,请在YOHO!BUY应用中打开")},o.getQueryObj=c,o.linkToMiniApp=function(e,o){var r=e||"";if(r&&r.indexOf("http")<0&&"other"===o&&(r=document.location.protocol+"//"+document.location.host+r),r){var n=void 0;if("product"===o||"brand"===o)n=r;else{var t=decodeURIComponent(r).split("?")[0],s=c(r),i="";(0,u.default)(s).forEach(function(e){i+=""===i?"?"+e+"="+s[e]:"&"+e+"="+s[e]}),n="/pages/webview/webview?url="+t+encodeURIComponent(i)}return l.default.miniProgram.navigateTo({url:n}),!1}return!0},o.createLinkButton=function(e,o){var r=document.createElement("a");return r.style.position="fixed",r.style.top=0,r.style.left=0,r.style.border="none",r.style.outline="none",r.style.resize="none",r.style.background="transparent",r.style.color="transparent",r.setAttribute("id",o),r.setAttribute("href",e),document.body.appendChild(r),r}},"./src/utils/cookie.js":
|
|
|
/*!*****************************!*\
|
|
|
!*** ./src/utils/cookie.js ***!
|
|
|
\*****************************/
|
...
|
...
|
|