(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2712abde"],{"04ba":function(t,e,r){var o=r("9535"),n=Math.floor,i=function(t,e){var r=t.length,c=n(r/2);return r<8?a(t,e):s(t,i(o(t,0,c),e),i(o(t,c),e),e)},a=function(t,e){var r,o,n=t.length,i=1;while(i0)t[o]=t[--o];o!==i++&&(t[o]=r)}return t},s=function(t,e,r,o){var n=e.length,i=r.length,a=0,s=0;while(a1?arguments[1]:void 0)}))},"1a4c":function(t,e,r){var o=r("d442");e.f=o},"1e45":function(t,e,r){"use strict";var o=r("3d8b"),n=r("bab7").indexOf,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("indexOf",(function(t){return n(i(this),t,arguments.length>1?arguments[1]:void 0)}))},"25c8":function(t,e,r){var o=r("90ca");o("Uint8",(function(t){return function(e,r,o){return t(this,e,r,o)}}))},"28fd":function(t,e,r){"use strict";var o=r("a5ba"),n=r("7c9e").filter,i=r("4718"),a=i("filter");o({target:"Array",proto:!0,forced:!a},{filter:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},"2bb8":function(t,e,r){"use strict";var o=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,s){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"===typeof t?i(a(t),(function(a){var s=encodeURIComponent(o(a))+r;return n(t[a])?i(t[a],(function(t){return s+encodeURIComponent(o(t))})).join(e):s+encodeURIComponent(o(t[a]))})).join(e):s?encodeURIComponent(o(s))+r+encodeURIComponent(o(t)):""};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function i(t,e){if(t.map)return t.map(e);for(var r=[],o=0;o1?arguments[1]:void 0,b=void 0!==w,x=h(m);if(x&&!u(x)){d=c(m,x),g=d.next,m=[];while(!(p=n(g,d)).done)m.push(p.value)}for(b&&y>2&&(w=o(w,arguments[2])),r=s(m),f=new(l(v))(r),e=0;r>e;e++)f[e]=b?w(m[e],e):m[e];return f}},"3a0b":function(t,e,r){var o=r("3d8b"),n=r("4228"),i=o.TYPED_ARRAY_CONSTRUCTOR,a=o.aTypedArrayConstructor;t.exports=function(t){return a(n(t,t[i]))}},"3d8b":function(t,e,r){"use strict";var o,n,i,a=r("ba70"),s=r("93a7"),c=r("c6da"),h=r("a9fd"),u=r("244f"),l=r("12ed"),f=r("4efb"),p=r("fc08"),d=r("d28a"),g=r("a3e9"),v=r("6f4d").f,m=r("99a6"),y=r("aba1"),w=r("d606"),b=r("d442"),x=r("026b"),C=c.Int8Array,I=C&&C.prototype,B=c.Uint8ClampedArray,A=B&&B.prototype,O=C&&y(C),k=I&&y(I),T=Object.prototype,S=c.TypeError,_=b("toStringTag"),M=x("TYPED_ARRAY_TAG"),E=x("TYPED_ARRAY_CONSTRUCTOR"),L=a&&!!w&&"Opera"!==f(c.opera),P=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},H=function(t){if(!u(t))return!1;var e=f(t);return"DataView"===e||l(R,e)||l(U,e)},j=function(t){if(!u(t))return!1;var e=f(t);return l(R,e)||l(U,e)},N=function(t){if(j(t))return t;throw S("Target is not a typed array")},z=function(t){if(h(t)&&(!w||m(O,t)))return t;throw S(p(t)+" is not a typed array constructor")},W=function(t,e,r){if(s){if(r)for(var o in R){var n=c[o];if(n&&l(n.prototype,t))try{delete n.prototype[t]}catch(i){}}k[t]&&!r||g(k,t,r?e:L&&I[t]||e)}},F=function(t,e,r){var o,n;if(s){if(w){if(r)for(o in R)if(n=c[o],n&&l(n,t))try{delete n[t]}catch(i){}if(O[t]&&!r)return;try{return g(O,t,r?e:L&&O[t]||e)}catch(i){}}for(o in R)n=c[o],!n||n[t]&&!r||g(n,t,e)}};for(o in R)n=c[o],i=n&&n.prototype,i?d(i,E,n):L=!1;for(o in U)n=c[o],i=n&&n.prototype,i&&d(i,E,n);if((!L||!h(O)||O===Function.prototype)&&(O=function(){throw S("Incorrect invocation")},L))for(o in R)c[o]&&w(c[o],O);if((!L||!k||k===T)&&(k=O.prototype,L))for(o in R)c[o]&&w(c[o].prototype,k);if(L&&y(A)!==k&&w(A,k),s&&!l(k,_))for(o in P=!0,v(k,_,{get:function(){return u(this)?this[M]:void 0}}),R)c[o]&&d(c[o],M,o);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_CONSTRUCTOR:E,TYPED_ARRAY_TAG:P&&M,aTypedArray:N,aTypedArrayConstructor:z,exportTypedArrayMethod:W,exportTypedArrayStaticMethod:F,isView:H,isTypedArray:j,TypedArray:O,TypedArrayPrototype:k}},"3e22":function(t,e,r){var o=r("93a7"),n=r("1111").EXISTS,i=r("e7ec"),a=r("6f4d").f,s=Function.prototype,c=i(s.toString),h=/^\s*function ([^ (]*)/,u=i(h.exec),l="name";o&&!n&&a(s,l,{configurable:!0,get:function(){try{return u(h,c(this))[1]}catch(t){return""}}})},"3e8e":function(t,e,r){"use strict";var o=r("3493"),n=r("ccb5"),i=r("67e7");t.exports=function(t){var e=o(this),r=i(e),a=arguments.length,s=n(a>1?arguments[1]:void 0,r),c=a>2?arguments[2]:void 0,h=void 0===c?r:n(c,r);while(h>s)e[s++]=t;return e}},"3f27":function(t,e,r){"use strict";r("3fab");var o=r("a5ba"),n=r("c6da"),i=r("7faf"),a=r("e7ec"),s=r("a9fd"),c=r("244f"),h=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),u=n.Error,l=a(/./.test);o({target:"RegExp",proto:!0,forced:!h},{test:function(t){var e=this.exec;if(!s(e))return l(this,t);var r=i(e,this,t);if(null!==r&&!c(r))throw new u("RegExp exec method returned something other than an Object or null");return!!r}})},"3f54":function(t,e,r){"use strict";var o=r("c3fb"),n=r("50dd"),i=r("9332"),a=r("67e7"),s=r("a3a6"),c=Math.min,h=[].lastIndexOf,u=!!h&&1/[1].lastIndexOf(1,-0)<0,l=s("lastIndexOf"),f=u||!l;t.exports=f?function(t){if(u)return o(h,this,arguments)||0;var e=n(this),r=a(e),s=r-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:h},"40c8":function(t,e,r){var o=r("d442"),n=o("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(o){}}return!1}},4429:function(t,e,r){"use strict";var o=r("c6da"),n=r("e7ec"),i=r("93a7"),a=r("ba70"),s=r("1111"),c=r("d28a"),h=r("ce45"),u=r("b68d"),l=r("fdda"),f=r("9332"),p=r("568e"),d=r("ec4a"),g=r("67e4"),v=r("aba1"),m=r("d606"),y=r("1b92").f,w=r("6f4d").f,b=r("3e8e"),x=r("9535"),C=r("2c47"),I=r("11d9"),B=s.PROPER,A=s.CONFIGURABLE,O=I.get,k=I.set,T="ArrayBuffer",S="DataView",_="prototype",M="Wrong length",E="Wrong index",L=o[T],P=L,R=P&&P[_],U=o[S],H=U&&U[_],j=Object.prototype,N=o.Array,z=o.RangeError,W=n(b),F=n([].reverse),Y=g.pack,X=g.unpack,D=function(t){return[255&t]},q=function(t){return[255&t,t>>8&255]},$=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},V=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},G=function(t){return Y(t,23,4)},J=function(t){return Y(t,52,8)},K=function(t,e){w(t[_],e,{get:function(){return O(this)[e]}})},Q=function(t,e,r,o){var n=d(r),i=O(t);if(n+e>i.byteLength)throw z(E);var a=O(i.buffer).bytes,s=n+i.byteOffset,c=x(a,s,s+e);return o?c:F(c)},Z=function(t,e,r,o,n,i){var a=d(r),s=O(t);if(a+e>s.byteLength)throw z(E);for(var c=O(s.buffer).bytes,h=a+s.byteOffset,u=o(+n),l=0;lot;)(et=rt[ot++])in P||c(P,et,L[et]);R.constructor=P}m&&v(H)!==j&&m(H,j);var nt=new U(new P(2)),it=n(H.setInt8);nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||h(H,{setInt8:function(t,e){it(this,t,e<<24>>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else P=function(t){l(this,R);var e=d(t);k(this,{bytes:W(N(e),0),byteLength:e}),i||(this.byteLength=e)},R=P[_],U=function(t,e,r){l(this,H),l(t,R);var o=O(t).byteLength,n=f(e);if(n<0||n>o)throw z("Wrong offset");if(r=void 0===r?o-n:p(r),n+r>o)throw z(M);k(this,{buffer:t,byteLength:r,byteOffset:n}),i||(this.buffer=t,this.byteLength=r,this.byteOffset=n)},H=U[_],i&&(K(P,"byteLength"),K(U,"buffer"),K(U,"byteLength"),K(U,"byteOffset")),h(H,{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return V(Q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return V(Q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return X(Q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return X(Q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){Z(this,1,t,D,e)},setUint8:function(t,e){Z(this,1,t,D,e)},setInt16:function(t,e){Z(this,2,t,q,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){Z(this,2,t,q,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){Z(this,4,t,$,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){Z(this,4,t,$,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){Z(this,4,t,G,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){Z(this,8,t,J,e,arguments.length>2?arguments[2]:void 0)}});C(P,T),C(U,S),t.exports={ArrayBuffer:P,DataView:U}},4877:function(t,e,r){var o=r("eede"),n=o.match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},"496f":function(t,e,r){var o=r("16bc"),n=r("12a9");t.exports=function(t,e,r,i){try{return i?e(o(r)[0],r[1]):e(r)}catch(a){n(t,"throw",a)}}},"49e9":function(t,e,r){"use strict";var o=r("a5ba"),n=r("c6da"),i=r("490d"),a=r("c3fb"),s=r("7faf"),c=r("e7ec"),h=r("a46b"),u=r("93a7"),l=r("fae0"),f=r("b68d"),p=r("12ed"),d=r("f1b6"),g=r("a9fd"),v=r("244f"),m=r("99a6"),y=r("7cd3"),w=r("16bc"),b=r("3493"),x=r("50dd"),C=r("e3d0"),I=r("78f8"),B=r("0252"),A=r("0572"),O=r("765d"),k=r("1b92"),T=r("5045"),S=r("5eb2"),_=r("3c3f"),M=r("6f4d"),E=r("bf05"),L=r("9535"),P=r("a3e9"),R=r("3ab3"),U=r("7398"),H=r("a706"),j=r("026b"),N=r("d442"),z=r("1a4c"),W=r("c7fc"),F=r("2c47"),Y=r("11d9"),X=r("7c9e").forEach,D=U("hidden"),q="Symbol",$="prototype",V=N("toPrimitive"),G=Y.set,J=Y.getterFor(q),K=Object[$],Q=n.Symbol,Z=Q&&Q[$],tt=n.TypeError,et=n.QObject,rt=i("JSON","stringify"),ot=_.f,nt=M.f,it=T.f,at=E.f,st=c([].push),ct=R("symbols"),ht=R("op-symbols"),ut=R("string-to-symbol-registry"),lt=R("symbol-to-string-registry"),ft=R("wks"),pt=!et||!et[$]||!et[$].findChild,dt=u&&f((function(){return 7!=A(nt({},"a",{get:function(){return nt(this,"a",{value:7}).a}})).a}))?function(t,e,r){var o=ot(K,e);o&&delete K[e],nt(t,e,r),o&&t!==K&&nt(K,e,o)}:nt,gt=function(t,e){var r=ct[t]=A(Z);return G(r,{type:q,tag:t,description:e}),u||(r.description=e),r},vt=function(t,e,r){t===K&&vt(ht,e,r),w(t);var o=C(e);return w(r),p(ct,o)?(r.enumerable?(p(t,D)&&t[D][o]&&(t[D][o]=!1),r=A(r,{enumerable:B(0,!1)})):(p(t,D)||nt(t,D,B(1,{})),t[D][o]=!0),dt(t,o,r)):nt(t,o,r)},mt=function(t,e){w(t);var r=x(e),o=O(r).concat(Ct(r));return X(o,(function(e){u&&!s(wt,r,e)||vt(t,e,r[e])})),t},yt=function(t,e){return void 0===e?A(t):mt(A(t),e)},wt=function(t){var e=C(t),r=s(at,this,e);return!(this===K&&p(ct,e)&&!p(ht,e))&&(!(r||!p(this,e)||!p(ct,e)||p(this,D)&&this[D][e])||r)},bt=function(t,e){var r=x(t),o=C(e);if(r!==K||!p(ct,o)||p(ht,o)){var n=ot(r,o);return!n||!p(ct,o)||p(r,D)&&r[D][o]||(n.enumerable=!0),n}},xt=function(t){var e=it(x(t)),r=[];return X(e,(function(t){p(ct,t)||p(H,t)||st(r,t)})),r},Ct=function(t){var e=t===K,r=it(e?ht:x(t)),o=[];return X(r,(function(t){!p(ct,t)||e&&!p(K,t)||st(o,ct[t])})),o};if(l||(Q=function(){if(m(Z,this))throw tt("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?I(arguments[0]):void 0,e=j(t),r=function(t){this===K&&s(r,ht,t),p(this,D)&&p(this[D],e)&&(this[D][e]=!1),dt(this,e,B(1,t))};return u&&pt&&dt(K,e,{configurable:!0,set:r}),gt(e,t)},Z=Q[$],P(Z,"toString",(function(){return J(this).tag})),P(Q,"withoutSetter",(function(t){return gt(j(t),t)})),E.f=wt,M.f=vt,_.f=bt,k.f=T.f=xt,S.f=Ct,z.f=function(t){return gt(N(t),t)},u&&(nt(Z,"description",{configurable:!0,get:function(){return J(this).description}}),h||P(K,"propertyIsEnumerable",wt,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Q}),X(O(ft),(function(t){W(t)})),o({target:q,stat:!0,forced:!l},{for:function(t){var e=I(t);if(p(ut,e))return ut[e];var r=Q(e);return ut[e]=r,lt[r]=e,r},keyFor:function(t){if(!y(t))throw tt(t+" is not a symbol");if(p(lt,t))return lt[t]},useSetter:function(){pt=!0},useSimple:function(){pt=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!u},{create:yt,defineProperty:vt,defineProperties:mt,getOwnPropertyDescriptor:bt}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:xt,getOwnPropertySymbols:Ct}),o({target:"Object",stat:!0,forced:f((function(){S.f(1)}))},{getOwnPropertySymbols:function(t){return S.f(b(t))}}),rt){var It=!l||f((function(){var t=Q();return"[null]"!=rt([t])||"{}"!=rt({a:t})||"{}"!=rt(Object(t))}));o({target:"JSON",stat:!0,forced:It},{stringify:function(t,e,r){var o=L(arguments),n=e;if((v(e)||void 0!==t)&&!y(t))return d(e)||(e=function(t,e){if(g(n)&&(e=s(n,this,t,e)),!y(e))return e}),o[1]=e,a(rt,null,o)}})}if(!Z[V]){var Bt=Z.valueOf;P(Z,V,(function(t){return s(Bt,this)}))}F(Q,q),H[D]=!0},"4c32":function(t,e,r){"use strict";var o=r("3d8b"),n=r("c3fb"),i=r("3f54"),a=o.aTypedArray,s=o.exportTypedArrayMethod;s("lastIndexOf",(function(t){var e=arguments.length;return n(i,a(this),e>1?[t,arguments[1]]:[t])}))},"4d08":function(t,e,r){var o=r("244f"),n=r("2b5b"),i=r("d442"),a=i("match");t.exports=function(t){var e;return o(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==n(t))}},"4fb6":function(t,e,r){"use strict";var o=r("a5ba"),n=r("e7ec"),i=r("f7fc"),a=r("41be"),s=r("78f8"),c=r("40c8"),h=n("".indexOf);o({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~h(s(a(this)),s(i(t)),arguments.length>1?arguments[1]:void 0)}})},5045:function(t,e,r){var o=r("2b5b"),n=r("50dd"),i=r("1b92").f,a=r("9535"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return i(t)}catch(e){return a(s)}};t.exports.f=function(t){return s&&"Window"==o(t)?c(t):i(n(t))}},"57b6":function(t,e,r){"use strict";var o=r("a5ba"),n=r("c6da"),i=r("f1b6"),a=r("fa17"),s=r("244f"),c=r("ccb5"),h=r("67e7"),u=r("50dd"),l=r("c854"),f=r("d442"),p=r("4718"),d=r("9535"),g=p("slice"),v=f("species"),m=n.Array,y=Math.max;o({target:"Array",proto:!0,forced:!g},{slice:function(t,e){var r,o,n,f=u(this),p=h(f),g=c(t,p),w=c(void 0===e?p:e,p);if(i(f)&&(r=f.constructor,a(r)&&(r===m||i(r.prototype))?r=void 0:s(r)&&(r=r[v],null===r&&(r=void 0)),r===m||void 0===r))return d(f,g,w);for(o=new(void 0===r?m:r)(y(w-g,0)),n=0;g2?arguments[2]:void 0,l=a((void 0===u?s:n(u,s))-h,s-c),f=1;h0)h in r?r[c]=r[h]:delete r[c],c+=f,h+=f;return r}},"5ee4":function(t,e,r){"use strict";e.decode=e.parse=r("a2d3"),e.encode=e.stringify=r("2bb8")},"5fb3":function(t,e,r){"use strict";var o=r("e7ec"),n=r("3d8b"),i=r("5e55"),a=o(i),s=n.aTypedArray,c=n.exportTypedArrayMethod;c("copyWithin",(function(t,e){return a(s(this),t,e,arguments.length>2?arguments[2]:void 0)}))},6288:function(t,e,r){"use strict";var o=r("3d8b"),n=r("7c9e").some,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("some",(function(t){return n(i(this),t,arguments.length>1?arguments[1]:void 0)}))},6352:function(t,e,r){"use strict";r("84cb")},"64b7":function(t,e,r){var o=r("a9fd"),n=r("244f"),i=r("d606");t.exports=function(t,e,r){var a,s;return i&&o(a=e.constructor)&&a!==r&&n(s=a.prototype)&&s!==r.prototype&&i(t,s),t}},"654d":function(t,e,r){"use strict";var o=r("3d8b"),n=r("67e7"),i=r("9332"),a=o.aTypedArray,s=o.exportTypedArrayMethod;s("at",(function(t){var e=a(this),r=n(e),o=i(t),s=o>=0?o:r+o;return s<0||s>=r?void 0:e[s]}))},"67e4":function(t,e,r){var o=r("c6da"),n=o.Array,i=Math.abs,a=Math.pow,s=Math.floor,c=Math.log,h=Math.LN2,u=function(t,e,r){var o,u,l,f=n(r),p=8*r-e-1,d=(1<>1,v=23===e?a(2,-24)-a(2,-77):0,m=t<0||0===t&&1/t<0?1:0,y=0;for(t=i(t),t!=t||t===1/0?(u=t!=t?1:0,o=d):(o=s(c(t)/h),t*(l=a(2,-o))<1&&(o--,l*=2),t+=o+g>=1?v/l:v*a(2,1-g),t*l>=2&&(o++,l/=2),o+g>=d?(u=0,o=d):o+g>=1?(u=(t*l-1)*a(2,e),o+=g):(u=t*a(2,g-1)*a(2,e),o=0));e>=8;f[y++]=255&u,u/=256,e-=8);for(o=o<0;f[y++]=255&o,o/=256,p-=8);return f[--y]|=128*m,f},l=function(t,e){var r,o=t.length,n=8*o-e-1,i=(1<>1,c=n-7,h=o-1,u=t[h--],l=127&u;for(u>>=7;c>0;l=256*l+t[h],h--,c-=8);for(r=l&(1<<-c)-1,l>>=-c,c+=e;c>0;r=256*r+t[h],h--,c-=8);if(0===l)l=1-s;else{if(l===i)return r?NaN:u?-1/0:1/0;r+=a(2,e),l-=s}return(u?-1:1)*r*a(2,l-e)};t.exports={pack:u,unpack:l}},"688d":function(t,e,r){"use strict";var o=r("a5ba"),n=r("bab7").includes,i=r("12fa");o({target:"Array",proto:!0},{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},"6a0a":function(t,e,r){"use strict";var o=r("3d8b").exportTypedArrayMethod,n=r("b68d"),i=r("c6da"),a=r("e7ec"),s=i.Uint8Array,c=s&&s.prototype||{},h=[].toString,u=a([].join);n((function(){h.call({})}))&&(h=function(){return u(this)});var l=c.toString!=h;o("toString",h,l)},"6cf2":function(t,e,r){var o=r("c6da"),n=r("750a"),i=r("3493"),a=r("27b9"),s=r("67e7"),c=o.TypeError,h=function(t){return function(e,r,o,h){n(r);var u=i(e),l=a(u),f=s(u),p=t?f-1:0,d=t?-1:1;if(o<2)while(1){if(p in l){h=l[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw c("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in l&&(h=r(h,l[p],p,u));return h}};t.exports={left:h(!1),right:h(!0)}},"6ead":function(t,e,r){"use strict";var o=r("7c9e").forEach,n=r("a3a6"),i=n("forEach");t.exports=i?[].forEach:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}},"6f78":function(t,e,r){"use strict";var o=r("c6da"),n=r("e7ec"),i=r("1111").PROPER,a=r("3d8b"),s=r("c8ba"),c=r("d442"),h=c("iterator"),u=o.Uint8Array,l=n(s.values),f=n(s.keys),p=n(s.entries),d=a.aTypedArray,g=a.exportTypedArrayMethod,v=u&&u.prototype[h],m=!!v&&"values"===v.name,y=function(){return l(d(this))};g("entries",(function(){return p(d(this))})),g("keys",(function(){return f(d(this))})),g("values",y,i&&!m),g(h,y,i&&!m)},"724c":function(t,e,r){"use strict";function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",(function(){return o}))},"73d6":function(t,e,r){"use strict";var o=r("c6da"),n=r("3d8b"),i=r("67e7"),a=r("06fb"),s=r("3493"),c=r("b68d"),h=o.RangeError,u=n.aTypedArray,l=n.exportTypedArrayMethod,f=c((function(){new Int8Array(1).set({})}));l("set",(function(t){u(this);var e=a(arguments.length>1?arguments[1]:void 0,1),r=this.length,o=s(t),n=i(o),c=0;if(n+e>r)throw h("Wrong length");while(c0&&1/r<0?1:-1:e>r}};g("sort",(function(t){return void 0!==t&&a(t),w?m(this,t):s(d(this),b(t))}),!w||y)},8372:function(t,e,r){"use strict";var o=r("93a7"),n=r("c6da"),i=r("e7ec"),a=r("4aee"),s=r("a3e9"),c=r("12ed"),h=r("64b7"),u=r("99a6"),l=r("7cd3"),f=r("2a15"),p=r("b68d"),d=r("1b92").f,g=r("3c3f").f,v=r("6f4d").f,m=r("fe34"),y=r("e280").trim,w="Number",b=n[w],x=b.prototype,C=n.TypeError,I=i("".slice),B=i("".charCodeAt),A=function(t){var e=f(t,"number");return"bigint"==typeof e?e:O(e)},O=function(t){var e,r,o,n,i,a,s,c,h=f(t,"number");if(l(h))throw C("Cannot convert a Symbol value to a number");if("string"==typeof h&&h.length>2)if(h=y(h),e=B(h,0),43===e||45===e){if(r=B(h,2),88===r||120===r)return NaN}else if(48===e){switch(B(h,1)){case 66:case 98:o=2,n=49;break;case 79:case 111:o=8,n=55;break;default:return+h}for(i=I(h,2),a=i.length,s=0;sn)return NaN;return parseInt(i,o)}return+h};if(a(w,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var k,T=function(t){var e=arguments.length<1?0:b(A(t)),r=this;return u(x,r)&&p((function(){m(r)}))?h(Object(e),r,T):e},S=o?d(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),_=0;S.length>_;_++)c(b,k=S[_])&&!c(T,k)&&v(T,k,g(b,k));T.prototype=x,x.constructor=T,s(n,w,T)}},"84cb":function(t,e,r){},"881b":function(t,e,r){var o=r("f86e"),n=r("3a0b");t.exports=function(t,e){return o(n(t),e)}},"89cf":function(t,e,r){"use strict";var o=r("c3fb"),n=r("7faf"),i=r("e7ec"),a=r("7314"),s=r("4d08"),c=r("16bc"),h=r("41be"),u=r("4228"),l=r("3975"),f=r("568e"),p=r("78f8"),d=r("0e65"),g=r("9535"),v=r("c64f"),m=r("ba60"),y=r("8caa"),w=r("b68d"),b=y.UNSUPPORTED_Y,x=4294967295,C=Math.min,I=[].push,B=i(/./.exec),A=i(I),O=i("".slice),k=!w((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));a("split",(function(t,e,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var i=p(h(this)),a=void 0===r?x:r>>>0;if(0===a)return[];if(void 0===t)return[i];if(!s(t))return n(e,i,t,a);var c,u,l,f=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,y=new RegExp(t.source,d+"g");while(c=n(m,y,i)){if(u=y.lastIndex,u>v&&(A(f,O(i,v,c.index)),c.length>1&&c.index=a))break;y.lastIndex===c.index&&y.lastIndex++}return v===i.length?!l&&B(y,"")||A(f,""):A(f,O(i,v)),f.length>a?g(f,0,a):f}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:n(e,this,t,r)}:e,[function(e,r){var o=h(this),a=void 0==e?void 0:d(e,t);return a?n(a,e,o,r):n(i,p(o),e,r)},function(t,o){var n=c(this),a=p(t),s=r(i,n,a,o,i!==e);if(s.done)return s.value;var h=u(n,RegExp),d=n.unicode,g=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(b?"g":"y"),m=new h(b?"^(?:"+n.source+")":n,g),y=void 0===o?x:o>>>0;if(0===y)return[];if(0===a.length)return null===v(m,a)?[a]:[];var w=0,I=0,B=[];while(I1&&void 0!==arguments[1]?arguments[1]:2,r=t.size/1024/1024i)h[i]=r[i++];return h}),h)},"90ca":function(t,e,r){"use strict";var o=r("a5ba"),n=r("c6da"),i=r("7faf"),a=r("93a7"),s=r("a42b"),c=r("3d8b"),h=r("4429"),u=r("fdda"),l=r("0252"),f=r("d28a"),p=r("f56e"),d=r("568e"),g=r("ec4a"),v=r("06fb"),m=r("e3d0"),y=r("12ed"),w=r("4efb"),b=r("244f"),x=r("7cd3"),C=r("0572"),I=r("99a6"),B=r("d606"),A=r("1b92").f,O=r("2d98"),k=r("7c9e").forEach,T=r("3ce7"),S=r("6f4d"),_=r("3c3f"),M=r("11d9"),E=r("64b7"),L=M.get,P=M.set,R=S.f,U=_.f,H=Math.round,j=n.RangeError,N=h.ArrayBuffer,z=N.prototype,W=h.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,Y=c.TYPED_ARRAY_CONSTRUCTOR,X=c.TYPED_ARRAY_TAG,D=c.TypedArray,q=c.TypedArrayPrototype,$=c.aTypedArrayConstructor,V=c.isTypedArray,G="BYTES_PER_ELEMENT",J="Wrong length",K=function(t,e){$(t);var r=0,o=e.length,n=new t(o);while(o>r)n[r]=e[r++];return n},Q=function(t,e){R(t,e,{get:function(){return L(this)[e]}})},Z=function(t){var e;return I(z,t)||"ArrayBuffer"==(e=w(t))||"SharedArrayBuffer"==e},tt=function(t,e){return V(t)&&!x(e)&&e in t&&p(+e)&&e>=0},et=function(t,e){return e=m(e),tt(t,e)?l(2,t[e]):U(t,e)},rt=function(t,e,r){return e=m(e),!(tt(t,e)&&b(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?R(t,e,r):(t[e]=r.value,t)};a?(F||(_.f=et,S.f=rt,Q(q,"buffer"),Q(q,"byteOffset"),Q(q,"byteLength"),Q(q,"length")),o({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:et,defineProperty:rt}),t.exports=function(t,e,r){var a=t.match(/\d+$/)[0]/8,c=t+(r?"Clamped":"")+"Array",h="get"+t,l="set"+t,p=n[c],m=p,y=m&&m.prototype,w={},x=function(t,e){var r=L(t);return r.view[h](e*a+r.byteOffset,!0)},I=function(t,e,o){var n=L(t);r&&(o=(o=H(o))<0?0:o>255?255:255&o),n.view[l](e*a+n.byteOffset,o,!0)},S=function(t,e){R(t,e,{get:function(){return x(this,e)},set:function(t){return I(this,e,t)},enumerable:!0})};F?s&&(m=e((function(t,e,r,o){return u(t,y),E(function(){return b(e)?Z(e)?void 0!==o?new p(e,v(r,a),o):void 0!==r?new p(e,v(r,a)):new p(e):V(e)?K(m,e):i(O,m,e):new p(g(e))}(),t,m)})),B&&B(m,D),k(A(p),(function(t){t in m||f(m,t,p[t])})),m.prototype=y):(m=e((function(t,e,r,o){u(t,y);var n,s,c,h=0,l=0;if(b(e)){if(!Z(e))return V(e)?K(m,e):i(O,m,e);n=e,l=v(r,a);var f=e.byteLength;if(void 0===o){if(f%a)throw j(J);if(s=f-l,s<0)throw j(J)}else if(s=d(o)*a,s+l>f)throw j(J);c=s/a}else c=g(e),s=c*a,n=new N(s);P(t,{buffer:n,byteOffset:l,byteLength:s,length:c,view:new W(n)});while(h=0&&c.splice(e,1)}function d(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var o=function(){return r.nc}();o&&(t.attrs.nonce=o)}return g(e,t.attrs),f(t,e),e}function g(t,e){Object.keys(e).forEach((function(r){t.setAttribute(r,e[r])}))}function v(t,e){var r,o,n,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var c=s++;r=a||(a=d(e)),o=y.bind(null,r,c,!1),n=y.bind(null,r,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),f(t,e),e}(e),o=function(t,e,r){var o=r.css,n=r.sourceMap,i=void 0===e.convertToAbsoluteUrls&&n;(e.convertToAbsoluteUrls||i)&&(o=h(o)),n&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,r,e),n=function(){p(r),r.href&&URL.revokeObjectURL(r.href)}):(r=d(e),o=function(t,e){var r=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}.bind(null,r),n=function(){p(r)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else n()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=n()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var r=l(t,e);return u(r,e),function(t){for(var n=[],i=0;i=8&&(s=r+o))),s)for(l=u.getUint16(s,n),h=0;h21?"-21px":"0px",t.width=this.cropW>0?this.cropW:0,t.height=this.cropH>0?this.cropH:0,this.infoTrue){var e=1;this.high&&!this.full&&(e=window.devicePixelRatio),1!==this.enlarge&!this.full&&(e=Math.abs(Number(this.enlarge))),t.width=t.width*e,t.height=t.height*e,this.full&&(t.width=t.width/this.scale,t.height=t.height/this.scale)}return t.width=t.width.toFixed(0),t.height=t.height.toFixed(0),t},isIE:function(){navigator.userAgent;var t=!!window.ActiveXObject||"ActiveXObject"in window;return t},passive:function(){return this.isIE?null:{passive:!1}}},watch:{img:function(){this.checkedImg()},imgs:function(t){""!==t&&this.reload()},cropW:function(){this.showPreview()},cropH:function(){this.showPreview()},cropOffsertX:function(){this.showPreview()},cropOffsertY:function(){this.showPreview()},scale:function(t,e){this.showPreview()},x:function(){this.showPreview()},y:function(){this.showPreview()},autoCrop:function(t){t&&this.goAutoCrop()},autoCropWidth:function(){this.autoCrop&&this.goAutoCrop()},autoCropHeight:function(){this.autoCrop&&this.goAutoCrop()},mode:function(){this.checkedImg()},rotate:function(){this.showPreview(),(this.autoCrop||this.cropW>0||this.cropH>0)&&this.goAutoCrop(this.cropW,this.cropH)}},methods:{getVersion:function(t){for(var e=navigator.userAgent.split(" "),r="",o=new RegExp(t,"i"),n=0;n=81)e=-1;else if(this.getVersion("safari")[0]>=605){var i=this.getVersion("version");i[0]>13&&i[1]>1&&(e=-1)}else{var a=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);if(a){var s=a[1];((s=s.split("_"))[0]>13||s[0]>=13&&s[1]>=4)&&(e=-1)}}var c=document.createElement("canvas"),h=c.getContext("2d");switch(h.save(),e){case 2:c.width=r,c.height=o,h.translate(r,0),h.scale(-1,1);break;case 3:c.width=r,c.height=o,h.translate(r/2,o/2),h.rotate(180*Math.PI/180),h.translate(-r/2,-o/2);break;case 4:c.width=r,c.height=o,h.translate(0,o),h.scale(1,-1);break;case 5:c.height=r,c.width=o,h.rotate(.5*Math.PI),h.scale(1,-1);break;case 6:c.width=o,c.height=r,h.translate(o/2,r/2),h.rotate(90*Math.PI/180),h.translate(-r/2,-o/2);break;case 7:c.height=r,c.width=o,h.rotate(.5*Math.PI),h.translate(r,-o),h.scale(-1,1);break;case 8:c.height=r,c.width=o,h.translate(o/2,r/2),h.rotate(-90*Math.PI/180),h.translate(-r/2,-o/2);break;default:c.width=r,c.height=o}h.drawImage(t,0,0,r,o),h.restore(),c.toBlob((function(t){var e=URL.createObjectURL(t);URL.revokeObjectURL(n.imgs),n.imgs=e}),"image/"+this.outputType,1)},checkedImg:function(){var t=this;if(null===this.img||""===this.img)return this.imgs="",void this.clearCrop();this.loading=!0,this.scale=1,this.rotate=0,this.clearCrop();var e=new Image;if(e.onload=function(){if(""===t.img)return t.$emit("imgLoad","error"),t.$emit("img-load","error"),!1;var r=e.width,o=e.height;i.getData(e).then((function(n){t.orientation=n.orientation||1;var i=Number(t.maxImgSize);!t.orientation&&ri&&(o=o/r*i,r=i),o>i&&(r=r/o*i,o=i),t.checkOrientationImage(e,t.orientation,r,o))}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},"data"!==this.img.substr(0,4)&&(e.crossOrigin=""),this.isIE){var r=new XMLHttpRequest;r.onload=function(){var t=URL.createObjectURL(this.response);e.src=t},r.open("GET",this.img,!0),r.responseType="blob",r.send()}else e.src=this.img},startMove:function(t){if(t.preventDefault(),this.move&&!this.crop){if(!this.canMove)return!1;this.moveX=("clientX"in t?t.clientX:t.touches[0].clientX)-this.x,this.moveY=("clientY"in t?t.clientY:t.touches[0].clientY)-this.y,t.touches?(window.addEventListener("touchmove",this.moveImg),window.addEventListener("touchend",this.leaveImg),2==t.touches.length&&(this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale))):(window.addEventListener("mousemove",this.moveImg),window.addEventListener("mouseup",this.leaveImg)),this.$emit("imgMoving",{moving:!0,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!0,axis:this.getImgAxis()})}else this.cropping=!0,window.addEventListener("mousemove",this.createCrop),window.addEventListener("mouseup",this.endCrop),window.addEventListener("touchmove",this.createCrop),window.addEventListener("touchend",this.endCrop),this.cropOffsertX=t.offsetX?t.offsetX:t.touches[0].pageX-this.$refs.cropper.offsetLeft,this.cropOffsertY=t.offsetY?t.offsetY:t.touches[0].pageY-this.$refs.cropper.offsetTop,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.cropW=0,this.cropH=0},touchScale:function(t){var e=this;t.preventDefault();var r=this.scale,o=this.touches[0].clientX,n=this.touches[0].clientY,i=t.touches[0].clientX,a=t.touches[0].clientY,s=this.touches[1].clientX,c=this.touches[1].clientY,h=t.touches[1].clientX,u=t.touches[1].clientY,l=Math.sqrt(Math.pow(o-s,2)+Math.pow(n-c,2)),f=Math.sqrt(Math.pow(i-h,2)+Math.pow(a-u,2))-l,p=1,d=(p=(p=p/this.trueWidth>p/this.trueHeight?p/this.trueHeight:p/this.trueWidth)>.1?.1:p)*f;if(!this.touchNow){if(this.touchNow=!0,f>0?r+=Math.abs(d):f<0&&r>Math.abs(d)&&(r-=Math.abs(d)),this.touches=t.touches,setTimeout((function(){e.touchNow=!1}),8),!this.checkoutImgAxis(this.x,this.y,r))return!1;this.scale=r}},cancelTouchScale:function(t){window.removeEventListener("touchmove",this.touchScale)},moveImg:function(t){var e=this;if(t.preventDefault(),t.touches&&2===t.touches.length)return this.touches=t.touches,window.addEventListener("touchmove",this.touchScale),window.addEventListener("touchend",this.cancelTouchScale),window.removeEventListener("touchmove",this.moveImg),!1;var r,o,n="clientX"in t?t.clientX:t.touches[0].clientX,i="clientY"in t?t.clientY:t.touches[0].clientY;r=n-this.moveX,o=i-this.moveY,this.$nextTick((function(){if(e.centerBox){var t,n,i,a,s=e.getImgAxis(r,o,e.scale),c=e.getCropAxis(),h=e.trueHeight*e.scale,u=e.trueWidth*e.scale;switch(e.rotate){case 1:case-1:case 3:case-3:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2+(h-u)/2,n=e.cropOffsertY-e.trueHeight*(1-e.scale)/2+(u-h)/2,i=t-h+e.cropW,a=n-u+e.cropH;break;default:t=e.cropOffsertX-e.trueWidth*(1-e.scale)/2,n=e.cropOffsertY-e.trueHeight*(1-e.scale)/2,i=t-u+e.cropW,a=n-h+e.cropH}s.x1>=c.x1&&(r=t),s.y1>=c.y1&&(o=n),s.x2<=c.x2&&(r=i),s.y2<=c.y2&&(o=a)}e.x=r,e.y=o,e.$emit("imgMoving",{moving:!0,axis:e.getImgAxis()}),e.$emit("img-moving",{moving:!0,axis:e.getImgAxis()})}))},leaveImg:function(t){window.removeEventListener("mousemove",this.moveImg),window.removeEventListener("touchmove",this.moveImg),window.removeEventListener("mouseup",this.leaveImg),window.removeEventListener("touchend",this.leaveImg),this.$emit("imgMoving",{moving:!1,axis:this.getImgAxis()}),this.$emit("img-moving",{moving:!1,axis:this.getImgAxis()})},scaleImg:function(){this.canScale&&window.addEventListener(this.support,this.changeSize,this.passive)},cancelScale:function(){this.canScale&&window.removeEventListener(this.support,this.changeSize)},changeSize:function(t){var e=this;t.preventDefault();var r=this.scale,o=t.deltaY||t.wheelDelta;o=navigator.userAgent.indexOf("Firefox")>0?30*o:o,this.isIE&&(o=-o);var n=this.coe,i=(n=n/this.trueWidth>n/this.trueHeight?n/this.trueHeight:n/this.trueWidth)*o;i<0?r+=Math.abs(i):r>Math.abs(i)&&(r-=Math.abs(i));var a=i<0?"add":"reduce";if(a!==this.coeStatus&&(this.coeStatus=a,this.coe=.2),this.scaling||(this.scalingSet=setTimeout((function(){e.scaling=!1,e.coe=e.coe+=.01}),50)),this.scaling=!0,!this.checkoutImgAxis(this.x,this.y,r))return!1;this.scale=r},changeScale:function(t){var e=this.scale;t=t||1;var r=20;if((t*=r=r/this.trueWidth>r/this.trueHeight?r/this.trueHeight:r/this.trueWidth)>0?e+=Math.abs(t):e>Math.abs(t)&&(e-=Math.abs(t)),!this.checkoutImgAxis(this.x,this.y,e))return!1;this.scale=e},createCrop:function(t){var e=this;t.preventDefault();var r="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,o="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0;this.$nextTick((function(){var t=r-e.cropX,n=o-e.cropY;if(t>0?(e.cropW=t+e.cropChangeX>e.w?e.w-e.cropChangeX:t,e.cropOffsertX=e.cropChangeX):(e.cropW=e.w-e.cropChangeX+Math.abs(t)>e.w?e.cropChangeX:Math.abs(t),e.cropOffsertX=e.cropChangeX+t>0?e.cropChangeX+t:0),e.fixed){var i=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];i+e.cropOffsertY>e.h?(e.cropH=e.h-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0],e.cropOffsertX=t>0?e.cropChangeX:e.cropChangeX-e.cropW):e.cropH=i,e.cropOffsertY=e.cropOffsertY}else n>0?(e.cropH=n+e.cropChangeY>e.h?e.h-e.cropChangeY:n,e.cropOffsertY=e.cropChangeY):(e.cropH=e.h-e.cropChangeY+Math.abs(n)>e.h?e.cropChangeY:Math.abs(n),e.cropOffsertY=e.cropChangeY+n>0?e.cropChangeY+n:0)}))},changeCropSize:function(t,e,r,o,n){t.preventDefault(),window.addEventListener("mousemove",this.changeCropNow),window.addEventListener("mouseup",this.changeCropEnd),window.addEventListener("touchmove",this.changeCropNow),window.addEventListener("touchend",this.changeCropEnd),this.canChangeX=e,this.canChangeY=r,this.changeCropTypeX=o,this.changeCropTypeY=n,this.cropX="clientX"in t?t.clientX:t.touches[0].clientX,this.cropY="clientY"in t?t.clientY:t.touches[0].clientY,this.cropOldW=this.cropW,this.cropOldH=this.cropH,this.cropChangeX=this.cropOffsertX,this.cropChangeY=this.cropOffsertY,this.fixed&&this.canChangeX&&this.canChangeY&&(this.canChangeY=0),this.$emit("change-crop-size",{width:this.cropW,height:this.cropH})},changeCropNow:function(t){var e=this;t.preventDefault();var r="clientX"in t?t.clientX:t.touches?t.touches[0].clientX:0,o="clientY"in t?t.clientY:t.touches?t.touches[0].clientY:0,n=this.w,i=this.h,a=0,s=0;if(this.centerBox){var c=this.getImgAxis(),h=c.x2,u=c.y2;a=c.x1>0?c.x1:0,s=c.y1>0?c.y1:0,n>h&&(n=h),i>u&&(i=u)}this.$nextTick((function(){var t=r-e.cropX,c=o-e.cropY;if(e.canChangeX&&(1===e.changeCropTypeX?e.cropOldW-t>0?(e.cropW=n-e.cropChangeX-t<=n-a?e.cropOldW-t:e.cropOldW+e.cropChangeX-a,e.cropOffsertX=n-e.cropChangeX-t<=n-a?e.cropChangeX+t:a):(e.cropW=Math.abs(t)+e.cropChangeX<=n?Math.abs(t)-e.cropOldW:n-e.cropOldW-e.cropChangeX,e.cropOffsertX=e.cropChangeX+e.cropOldW):2===e.changeCropTypeX&&(e.cropOldW+t>0?(e.cropW=e.cropOldW+t+e.cropOffsertX<=n?e.cropOldW+t:n-e.cropOffsertX,e.cropOffsertX=e.cropChangeX):(e.cropW=n-e.cropChangeX+Math.abs(t+e.cropOldW)<=n-a?Math.abs(t+e.cropOldW):e.cropChangeX-a,e.cropOffsertX=n-e.cropChangeX+Math.abs(t+e.cropOldW)<=n-a?e.cropChangeX-Math.abs(t+e.cropOldW):a))),e.canChangeY&&(1===e.changeCropTypeY?e.cropOldH-c>0?(e.cropH=i-e.cropChangeY-c<=i-s?e.cropOldH-c:e.cropOldH+e.cropChangeY-s,e.cropOffsertY=i-e.cropChangeY-c<=i-s?e.cropChangeY+c:s):(e.cropH=Math.abs(c)+e.cropChangeY<=i?Math.abs(c)-e.cropOldH:i-e.cropOldH-e.cropChangeY,e.cropOffsertY=e.cropChangeY+e.cropOldH):2===e.changeCropTypeY&&(e.cropOldH+c>0?(e.cropH=e.cropOldH+c+e.cropOffsertY<=i?e.cropOldH+c:i-e.cropOffsertY,e.cropOffsertY=e.cropChangeY):(e.cropH=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-s?Math.abs(c+e.cropOldH):e.cropChangeY-s,e.cropOffsertY=i-e.cropChangeY+Math.abs(c+e.cropOldH)<=i-s?e.cropChangeY-Math.abs(c+e.cropOldH):s))),e.canChangeX&&e.fixed){var h=e.cropW/e.fixedNumber[0]*e.fixedNumber[1];h+e.cropOffsertY>i?(e.cropH=i-e.cropOffsertY,e.cropW=e.cropH/e.fixedNumber[1]*e.fixedNumber[0]):e.cropH=h}if(e.canChangeY&&e.fixed){var u=e.cropH/e.fixedNumber[1]*e.fixedNumber[0];u+e.cropOffsertX>n?(e.cropW=n-e.cropOffsertX,e.cropH=e.cropW/e.fixedNumber[0]*e.fixedNumber[1]):e.cropW=u}e.$emit("crop-sizing",{cropW:e.cropW,cropH:e.cropH})}))},checkCropLimitSize:function(){this.cropW,this.cropH;var t=this.limitMinSize,e=new Array;return e=Array.isArray[t]?t:[t,t],[parseFloat(e[0]),parseFloat(e[1])]},changeCropEnd:function(t){window.removeEventListener("mousemove",this.changeCropNow),window.removeEventListener("mouseup",this.changeCropEnd),window.removeEventListener("touchmove",this.changeCropNow),window.removeEventListener("touchend",this.changeCropEnd)},endCrop:function(){0===this.cropW&&0===this.cropH&&(this.cropping=!1),window.removeEventListener("mousemove",this.createCrop),window.removeEventListener("mouseup",this.endCrop),window.removeEventListener("touchmove",this.createCrop),window.removeEventListener("touchend",this.endCrop)},startCrop:function(){this.crop=!0},stopCrop:function(){this.crop=!1},clearCrop:function(){this.cropping=!1,this.cropW=0,this.cropH=0},cropMove:function(t){if(t.preventDefault(),!this.canMoveBox)return this.crop=!1,this.startMove(t),!1;if(t.touches&&2===t.touches.length)return this.crop=!1,this.startMove(t),this.leaveCrop(),!1;window.addEventListener("mousemove",this.moveCrop),window.addEventListener("mouseup",this.leaveCrop),window.addEventListener("touchmove",this.moveCrop),window.addEventListener("touchend",this.leaveCrop);var e,r,o="clientX"in t?t.clientX:t.touches[0].clientX,n="clientY"in t?t.clientY:t.touches[0].clientY;e=o-this.cropOffsertX,r=n-this.cropOffsertY,this.cropX=e,this.cropY=r,this.$emit("cropMoving",{moving:!0,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!0,axis:this.getCropAxis()})},moveCrop:function(t,e){var r=this,o=0,n=0;t&&(t.preventDefault(),o="clientX"in t?t.clientX:t.touches[0].clientX,n="clientY"in t?t.clientY:t.touches[0].clientY),this.$nextTick((function(){var t,i,a=o-r.cropX,s=n-r.cropY;if(e&&(a=r.cropOffsertX,s=r.cropOffsertY),t=a<=0?0:a+r.cropW>r.w?r.w-r.cropW:a,i=s<=0?0:s+r.cropH>r.h?r.h-r.cropH:s,r.centerBox){var c=r.getImgAxis();t<=c.x1&&(t=c.x1),t+r.cropW>c.x2&&(t=c.x2-r.cropW),i<=c.y1&&(i=c.y1),i+r.cropH>c.y2&&(i=c.y2-r.cropH)}r.cropOffsertX=t,r.cropOffsertY=i,r.$emit("cropMoving",{moving:!0,axis:r.getCropAxis()}),r.$emit("crop-moving",{moving:!0,axis:r.getCropAxis()})}))},getImgAxis:function(t,e,r){t=t||this.x,e=e||this.y,r=r||this.scale;var o={x1:0,x2:0,y1:0,y2:0},n=this.trueWidth*r,i=this.trueHeight*r;switch(this.rotate){case 0:o.x1=t+this.trueWidth*(1-r)/2,o.x2=o.x1+this.trueWidth*r,o.y1=e+this.trueHeight*(1-r)/2,o.y2=o.y1+this.trueHeight*r;break;case 1:case-1:case 3:case-3:o.x1=t+this.trueWidth*(1-r)/2+(n-i)/2,o.x2=o.x1+this.trueHeight*r,o.y1=e+this.trueHeight*(1-r)/2+(i-n)/2,o.y2=o.y1+this.trueWidth*r;break;default:o.x1=t+this.trueWidth*(1-r)/2,o.x2=o.x1+this.trueWidth*r,o.y1=e+this.trueHeight*(1-r)/2,o.y2=o.y1+this.trueHeight*r}return o},getCropAxis:function(){var t={x1:0,x2:0,y1:0,y2:0};return t.x1=this.cropOffsertX,t.x2=t.x1+this.cropW,t.y1=this.cropOffsertY,t.y2=t.y1+this.cropH,t},leaveCrop:function(t){window.removeEventListener("mousemove",this.moveCrop),window.removeEventListener("mouseup",this.leaveCrop),window.removeEventListener("touchmove",this.moveCrop),window.removeEventListener("touchend",this.leaveCrop),this.$emit("cropMoving",{moving:!1,axis:this.getCropAxis()}),this.$emit("crop-moving",{moving:!1,axis:this.getCropAxis()})},getCropChecked:function(t){var e=this,r=document.createElement("canvas"),o=new Image,n=this.rotate,i=this.trueWidth,a=this.trueHeight,s=this.cropOffsertX,c=this.cropOffsertY;function h(t,e){r.width=Math.round(t),r.height=Math.round(e)}o.onload=function(){if(0!==e.cropW){var u=r.getContext("2d"),l=1;e.high&!e.full&&(l=window.devicePixelRatio),1!==e.enlarge&!e.full&&(l=Math.abs(Number(e.enlarge)));var f=e.cropW*l,p=e.cropH*l,d=i*e.scale*l,g=a*e.scale*l,v=(e.x-s+e.trueWidth*(1-e.scale)/2)*l,m=(e.y-c+e.trueHeight*(1-e.scale)/2)*l;switch(h(f,p),u.save(),n){case 0:e.full?(h(f/e.scale,p/e.scale),u.drawImage(o,v/e.scale,m/e.scale,d/e.scale,g/e.scale)):u.drawImage(o,v,m,d,g);break;case 1:case-3:e.full?(h(f/e.scale,p/e.scale),v=v/e.scale+(d/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-d/e.scale)/2,u.rotate(90*n*Math.PI/180),u.drawImage(o,m,-v-g/e.scale,d/e.scale,g/e.scale)):(v+=(d-g)/2,m+=(g-d)/2,u.rotate(90*n*Math.PI/180),u.drawImage(o,m,-v-g,d,g));break;case 2:case-2:e.full?(h(f/e.scale,p/e.scale),u.rotate(90*n*Math.PI/180),v/=e.scale,m/=e.scale,u.drawImage(o,-v-d/e.scale,-m-g/e.scale,d/e.scale,g/e.scale)):(u.rotate(90*n*Math.PI/180),u.drawImage(o,-v-d,-m-g,d,g));break;case 3:case-1:e.full?(h(f/e.scale,p/e.scale),v=v/e.scale+(d/e.scale-g/e.scale)/2,m=m/e.scale+(g/e.scale-d/e.scale)/2,u.rotate(90*n*Math.PI/180),u.drawImage(o,-m-d/e.scale,v,d/e.scale,g/e.scale)):(v+=(d-g)/2,m+=(g-d)/2,u.rotate(90*n*Math.PI/180),u.drawImage(o,-m-d,v,d,g));break;default:e.full?(h(f/e.scale,p/e.scale),u.drawImage(o,v/e.scale,m/e.scale,d/e.scale,g/e.scale)):u.drawImage(o,v,m,d,g)}u.restore()}else{var y=i*e.scale,w=a*e.scale,b=r.getContext("2d");switch(b.save(),n){case 0:h(y,w),b.drawImage(o,0,0,y,w);break;case 1:case-3:h(w,y),b.rotate(90*n*Math.PI/180),b.drawImage(o,0,-w,y,w);break;case 2:case-2:h(y,w),b.rotate(90*n*Math.PI/180),b.drawImage(o,-y,-w,y,w);break;case 3:case-1:h(w,y),b.rotate(90*n*Math.PI/180),b.drawImage(o,-y,0,y,w);break;default:h(y,w),b.drawImage(o,0,0,y,w)}b.restore()}t(r)},"data"!==this.img.substr(0,4)&&(o.crossOrigin="Anonymous"),o.src=this.imgs},getCropData:function(t){var e=this;this.getCropChecked((function(r){t(r.toDataURL("image/"+e.outputType,e.outputSize))}))},getCropBlob:function(t){var e=this;this.getCropChecked((function(r){r.toBlob((function(e){return t(e)}),"image/"+e.outputType,e.outputSize)}))},showPreview:function(){var t=this;if(!this.isCanShow)return!1;this.isCanShow=!1,setTimeout((function(){t.isCanShow=!0}),16);var e=this.cropW,r=this.cropH,o=this.scale,n={};n.div={width:"".concat(e,"px"),height:"".concat(r,"px")};var i=(this.x-this.cropOffsertX)/o,a=(this.y-this.cropOffsertY)/o;n.w=e,n.h=r,n.url=this.imgs,n.img={width:"".concat(this.trueWidth,"px"),height:"".concat(this.trueHeight,"px"),transform:"scale(".concat(o,")translate3d(").concat(i,"px, ").concat(a,"px, ").concat(0,"px)rotateZ(").concat(90*this.rotate,"deg)")},n.html='\n
\n
\n \n
\n
'),this.$emit("realTime",n),this.$emit("real-time",n)},reload:function(){var t=this,e=new Image;e.onload=function(){t.w=parseFloat(window.getComputedStyle(t.$refs.cropper).width),t.h=parseFloat(window.getComputedStyle(t.$refs.cropper).height),t.trueWidth=e.width,t.trueHeight=e.height,t.original?t.scale=1:t.scale=t.checkedMode(),t.$nextTick((function(){t.x=-(t.trueWidth-t.trueWidth*t.scale)/2+(t.w-t.trueWidth*t.scale)/2,t.y=-(t.trueHeight-t.trueHeight*t.scale)/2+(t.h-t.trueHeight*t.scale)/2,t.loading=!1,t.autoCrop&&t.goAutoCrop(),t.$emit("img-load","success"),t.$emit("imgLoad","success"),setTimeout((function(){t.showPreview()}),20)}))},e.onerror=function(){t.$emit("imgLoad","error"),t.$emit("img-load","error")},e.src=this.imgs},checkedMode:function(){var t=1,e=(this.trueWidth,this.trueHeight),r=this.mode.split(" ");switch(r[0]){case"contain":this.trueWidth>this.w&&(t=this.w/this.trueWidth),this.trueHeight*t>this.h&&(t=this.h/this.trueHeight);break;case"cover":(e*=t=this.w/this.trueWidth)0,i=(n?this.trueHeight:this.trueWidth)*this.scale,a=(n?this.trueWidth:this.trueHeight)*this.scale;r=ir?r:s,c=c>o?o:c,this.fixed&&(c=s/this.fixedNumber[0]*this.fixedNumber[1]),c>this.h&&(s=(c=this.h)/this.fixedNumber[1]*this.fixedNumber[0]),this.changeCrop(s,c)}},changeCrop:function(t,e){var r=this;if(this.centerBox){var o=this.getImgAxis();t>o.x2-o.x1&&(e=(t=o.x2-o.x1)/this.fixedNumber[0]*this.fixedNumber[1]),e>o.y2-o.y1&&(t=(e=o.y2-o.y1)/this.fixedNumber[1]*this.fixedNumber[0])}this.cropW=t,this.cropH=e,this.checkCropLimitSize(),this.$nextTick((function(){r.cropOffsertX=(r.w-r.cropW)/2,r.cropOffsertY=(r.h-r.cropH)/2,r.centerBox&&r.moveCrop(null,!0)}))},refresh:function(){var t=this;this.img,this.imgs="",this.scale=1,this.crop=!1,this.rotate=0,this.w=0,this.h=0,this.trueWidth=0,this.trueHeight=0,this.clearCrop(),this.$nextTick((function(){t.checkedImg()}))},rotateLeft:function(){this.rotate=this.rotate<=-3?0:this.rotate-1},rotateRight:function(){this.rotate=this.rotate>=3?0:this.rotate+1},rotateClear:function(){this.rotate=0},checkoutImgAxis:function(t,e,r){t=t||this.x,e=e||this.y,r=r||this.scale;var o=!0;if(this.centerBox){var n=this.getImgAxis(t,e,r),i=this.getCropAxis();n.x1>=i.x1&&(o=!1),n.x2<=i.x2&&(o=!1),n.y1>=i.y1&&(o=!1),n.y2<=i.y2&&(o=!1)}return o}},mounted:function(){this.support="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";var t=this,e=navigator.userAgent;this.isIOS=!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(e,r,o){for(var n=atob(this.toDataURL(r,o).split(",")[1]),i=n.length,a=new Uint8Array(i),s=0;s1?arguments[1]:void 0);return i(this,e)}))},"9d16":function(t,e,r){var o=r("a5ba"),n=r("3493"),i=r("765d"),a=r("b68d"),s=a((function(){i(1)}));o({target:"Object",stat:!0,forced:s},{keys:function(t){return i(n(t))}})},a0c3:function(t,e,r){var o=r("eede");t.exports=/MSIE|Trident/.test(o)},a2d3:function(t,e,r){"use strict";function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,i){e=e||"&",r=r||"=";var a={};if("string"!==typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var c=1e3;i&&"number"===typeof i.maxKeys&&(c=i.maxKeys);var h=t.length;c>0&&h>c&&(h=c);for(var u=0;u=0?(l=g.substr(0,v),f=g.substr(v+1)):(l=g,f=""),p=decodeURIComponent(l),d=decodeURIComponent(f),o(a,p)?n(a[p])?a[p].push(d):a[p]=[a[p],d]:a[p]=d}return a};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},a361:function(t,e,r){"use strict";var o,n=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();(function(t){t["InvalidFile"]="InvalidFile",t["InvalidToken"]="InvalidToken",t["InvalidMetadata"]="InvalidMetadata",t["InvalidChunkSize"]="InvalidChunkSize",t["InvalidCustomVars"]="InvalidCustomVars",t["NotAvailableUploadHost"]="NotAvailableUploadHost",t["ReadCacheFailed"]="ReadCacheFailed",t["InvalidCacheData"]="InvalidCacheData",t["WriteCacheFailed"]="WriteCacheFailed",t["RemoveCacheFailed"]="RemoveCacheFailed",t["GetCanvasContextFailed"]="GetCanvasContextFailed",t["UnsupportedFileType"]="UnsupportedFileType",t["FileReaderReadFailed"]="FileReaderReadFailed",t["NotAvailableXMLHttpRequest"]="NotAvailableXMLHttpRequest",t["InvalidProgressEventTarget"]="InvalidProgressEventTarget",t["RequestError"]="RequestError"})(o||(o={}));var i=function(){function t(t,e){this.name=t,this.message=e,this.stack=(new Error).stack}return t}(),a=function(t){function e(e,r,n,i){var a=t.call(this,o.RequestError,n)||this;return a.code=e,a.reqId=r,a.isRequestError=!0,a.data=i,a}return n(e,t),e}(i),s=function(t){function e(e,r){return void 0===r&&(r=""),t.call(this,0,r,e)||this}return n(e,t),e}(a),c=function(){function t(t,e){this.runTask=t,this.limit=e,this.queue=[],this.processing=[]}return t.prototype.enqueue=function(t){var e=this;return new Promise((function(r,o){e.queue.push({task:t,resolve:r,reject:o}),e.check()}))},t.prototype.run=function(t){var e=this;this.queue=this.queue.filter((function(e){return e!==t})),this.processing.push(t),this.runTask(t.task).then((function(){e.processing=e.processing.filter((function(e){return e!==t})),t.resolve(),e.check()}),(function(e){return t.reject(e)}))},t.prototype.check=function(){var t=this,e=this.processing.length,r=this.limit-e;this.queue.slice(0,r).forEach((function(e){t.run(e)}))},t}(),h=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),u=function(){return u=Object.assign||function(t){for(var e,r=1,o=arguments.length;r127&&s<2048)c=String.fromCharCode(s>>6|192,63&s|128);else if((63488&s^55296)>0)c=String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128);else{if((64512&s^55296)>0)throw new RangeError("Unmatched trail surrogate at "+a);var h=o.charCodeAt(++a);if((64512&h^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(a-1));s=((1023&s)<<10)+(1023&h)+65536,c=String.fromCharCode(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}null!==c&&(r>e&&(n+=o.slice(e,r)),n+=c,e=r=a+1)}return r>e&&(n+=o.slice(e,i)),n}function d(t){var e=[],r=0,o=0,n=0;t+="";while(r>10&1023)),e.push(String.fromCharCode(56320|1023&o))):e.push(String.fromCharCode(o)),r+=n}return e.join("")}function g(t){var e,r,o,n,i,a,s,c,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=0,l=0,f="",d=[];if(!t)return t;t=p(t+"");do{e=t.charCodeAt(u++),r=t.charCodeAt(u++),o=t.charCodeAt(u++),c=e<<16|r<<8|o,n=c>>18&63,i=c>>12&63,a=c>>6&63,s=63&c,d[l++]=h.charAt(n)+h.charAt(i)+h.charAt(a)+h.charAt(s)}while(u>16&255,r=c>>8&255,o=255&c,p[l++]=64===a?String.fromCharCode(e):64===s?String.fromCharCode(e,r):String.fromCharCode(e,r,o)}while(u0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]t.size)r=t.size;else while(t.size>1e4*r)r*=2;for(var o=[],n=Math.ceil(t.size/r),i=0;i3?e[1]:e[0];if(!r)throw new i(o.InvalidToken,"missing assess key field.");var n=null;try{n=JSON.parse(y(e[e.length-1]))}catch(s){throw new i(o.InvalidToken,"token parse failed.")}if(null==n)throw new i(o.InvalidToken,"putPolicy is null.");if(null==n.scope)throw new i(o.InvalidToken,"scope field is null.");var a=n.scope.split(":")[0];if(!a)throw new i(o.InvalidToken,"resolve bucketName failed.");return{assessKey:r,bucketName:a,scope:n.scope}}function X(t){var e=window.URL||window.webkitURL||window.mozURL;return e.createObjectURL(t)}var D={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},q=(w={},w[D.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},w[D.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},w[D.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},w[D.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},w[D.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},w[D.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},r("5ee4")),$=function(){return $=Object.assign||function(t){for(var e,r=1,o=arguments.length;r0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]0)&&!(o=i.next()).done)a.push(o.value)}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(n)throw n.error}}return a},at=function(){for(var t=[],e=0;e1e4*ht)return this.handleError(new i(o.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!T(this.putExtra.customVars))return this.handleError(new i(o.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!k(this.putExtra.metadata))return this.handleError(new i(o.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];h.label=1;case 1:return h.trys.push([1,4,,5]),this.uploadAt=(new Date).getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return h.sent(),[4,this.run()];case 3:return t=h.sent(),this.onComplete(t.data),this.checkAndUnfreezeHost(),this.sendLog(t.reqId,200),[2];case 4:return e=h.sent(),this.logger.error(e),this.clear(),e instanceof a&&(r=this.aborted?"":e.reqId,n=this.aborted?-2:e.code,this.sendLog(r,n),this.checkAndFreezeHost(e),s=++this.retryCount<=this.config.retryCount,c=!this.aborted&&ct.includes(e.code),c&&s)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(e),[3,5]);case 5:return[2]}}))}))},t.prototype.clear=function(){this.logger.info("start cleaning all xhr."),this.xhrList.forEach((function(t){t.onreadystatechange=null,t.abort()})),this.logger.info("cleanup completed."),this.xhrList=[]},t.prototype.stop=function(){this.logger.info("stop."),this.clear(),this.aborted=!0},t.prototype.addXhr=function(t){this.xhrList.push(t)},t.prototype.sendLog=function(t,e){var r,o;this.logger.report({code:e,reqId:t,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:W(null===(r=this.uploadHost)||void 0===r?void 0:r.getUrl()),host:F(null===(o=this.uploadHost)||void 0===o?void 0:o.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor(((new Date).getTime()-this.uploadAt)/1e3)})},t.prototype.getProgressInfoItem=function(t,e,r){return rt({size:e,loaded:t,percent:t/e*100},null==r?{}:{fromCache:r})},t}(),lt=ut,ft=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),pt=function(){return pt=Object.assign||function(t){for(var e,r=1,o=arguments.length;r0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]1024)throw new i(o.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:u.sent(),t=new c((function(t){return h.uploadChunk(t)}),this.config.concurrentRequestLimit),e=null,r=this.getLocalKey(),n=this.chunks.map((function(e,r){return t.enqueue({chunk:e,index:r})})),u.label=2;case 2:return u.trys.push([2,5,,6]),[4,Promise.all(n)];case 3:return u.sent(),[4,this.mkFileReq()];case 4:return e=u.sent(),[3,6];case 5:throw s=u.sent(),s instanceof a&&(612===s.code||400===s.code)&&E(r,this.logger),s;case 6:return E(r,this.logger),[2,e]}}))}))},e.prototype.uploadChunk=function(t){return dt(this,void 0,void 0,(function(){var e,r,o,n,i,a,s,c,h,u=this;return gt(this,(function(l){switch(l.label){case 0:return e=t.index,r=t.chunk,o=this.cachedUploadedList[e],this.logger.info("upload part "+e+", cache:",o),n=this.config.checkByMD5,i=function(){u.usedCacheList[e]=!0,u.updateChunkProgress(r.size,e),u.uploadedList[e]=o,u.updateLocalCache()},o&&!n?(i(),[2]):[4,j(r)];case 1:return a=l.sent(),this.logger.info("computed part md5.",a),o&&a===o.md5?(i(),[2]):(this.usedCacheList[e]=!1,s=function(t){u.updateChunkProgress(t.loaded,e)},c={body:r,md5:this.config.checkByServer?a:void 0,onProgress:s,onCreate:function(t){return u.addXhr(t)}},this.logger.info("part "+e+" start uploading."),[4,Z(this.token,this.key,t.index+1,this.getUploadInfo(),c)]);case 2:return h=l.sent(),this.logger.info("part "+e+" upload completed."),s({loaded:r.size,total:r.size}),this.uploadedList[e]={etag:h.data.etag,md5:h.data.md5,size:r.size},this.updateLocalCache(),[2]}}))}))},e.prototype.mkFileReq=function(){return dt(this,void 0,void 0,(function(){var t,e,r=this;return gt(this,(function(o){switch(o.label){case 0:return t=pt(pt(pt({parts:this.uploadedList.map((function(t,e){return{etag:t.etag,partNumber:e+1}})),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",t),[4,tt(this.token,this.key,this.getUploadInfo(),{onCreate:function(t){return r.addXhr(t)},body:JSON.stringify(t)})];case 1:return e=o.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,e]}}))}))},e.prototype.initBeforeUploadChunks=function(){return dt(this,void 0,void 0,(function(){var t,e,r;return gt(this,(function(o){switch(o.label){case 0:return this.uploadedList=[],this.usedCacheList=[],t=L(this.getLocalKey(),this.logger),t?[3,2]:(this.logger.info("init upload parts from api."),[4,Q(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return e=o.sent(),this.logger.info("initd upload parts of id: "+e.data.uploadId+"."),this.uploadId=e.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:r=["resume upload parts from local cache,","total "+t.data.length+" part,","id is "+t.id+"."],this.logger.info(r.join(" ")),this.cachedUploadedList=t.data,this.uploadId=t.id,o.label=3;case 3:return this.chunks=O(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map((function(t){return 0}))},this.notifyResumeProgress(),[2]}}))}))},e.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},e.prototype.getLocalKey=function(){return M(this.file.name,this.key,this.file.size)},e.prototype.updateLocalCache=function(){_(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},e.prototype.updateChunkProgress=function(t,e){this.loaded.chunks[e]=t,this.notifyResumeProgress()},e.prototype.updateMkFileProgress=function(t){this.loaded.mkFileProgress=t,this.notifyResumeProgress()},e.prototype.notifyResumeProgress=function(){var t=this;this.progress={total:this.getProgressInfoItem(S(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map((function(e,r){var o=t.usedCacheList[r];return t.getProgressInfoItem(t.loaded.chunks[r],e.size,o)})),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)}})(lt);var mt=function(t,e,r,o){function n(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,i){function a(t){try{c(o.next(t))}catch(e){i(e)}}function s(t){try{c(o["throw"](t))}catch(e){i(e)}}function c(t){t.done?r(t.value):n(t.value).then(a,s)}c((o=o.apply(t,e||[])).next())}))},yt=function(t,e){var r,o,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return c([t,e])}}function c(i){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,o&&(n=2&i[0]?o["return"]:i[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(n=a.trys,!(n=n.length>0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]>>1^3988292384:r>>>=1;t[e]=r}return t},t.prototype.append=function(t){for(var e=this.crc,r=0;r>>8^this.table[255&(e^t[r])];this.crc=e},t.prototype.compute=function(){return(-1^this.crc)>>>0},t.prototype.readAsUint8Array=function(t){return mt(this,void 0,void 0,(function(){var e;return yt(this,(function(r){switch(r.label){case 0:return"function"!==typeof t.arrayBuffer?[3,2]:(e=Uint8Array.bind,[4,t.arrayBuffer()]);case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))];case 2:return[2,new Promise((function(e,r){var o=new FileReader;o.onload=function(){null!=o.result&&"string"!==typeof o.result?e(new Uint8Array(o.result)):r()},o.readAsArrayBuffer(t)}))]}}))}))},t.prototype.file=function(t){return mt(this,void 0,void 0,(function(){var e,r,o,n,i,a;return yt(this,(function(s){switch(s.label){case 0:return t.size<=A?(e=this.append,[4,this.readAsUint8Array(t)]):[3,2];case 1:return e.apply(this,[s.sent()]),[2,this.compute()];case 2:r=Math.ceil(t.size/A),o=0,s.label=3;case 3:return o0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]0&&It(t,e,r-1)};var n=[e.code||"",e.reqId||"",e.host||"",e.remoteIp||"",e.port||"",e.duration||"",e.time||"",e.bytesSent||"",e.upType||"",e.size||""].join(",");o.send(n)}var Bt=function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var o,n,i=r.call(t),a=[];try{while((void 0===e||e-- >0)&&!(o=i.next()).done)a.push(o.value)}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(n)throw n.error}}return a},At=function(){for(var t=[],e=0;e0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]0)&&!(o=i.next()).done)a.push(o.value)}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i["return"])&&r.call(i)}finally{if(n)throw n.error}}return a},St=function(){for(var t=[],e=0;e=t},t.prototype.freeze=function(t){void 0===t&&(t=20);var e=(new Date).getTime()+1e3*t;_t.set(this.host,e)},t.prototype.unfreeze=function(){_t["delete"](this.host)},t.prototype.getUrl=function(){return this.protocol+"://"+this.host},t.prototype.getUnfreezeTime=function(){return _t.get(this.host)},t}();(function(){function t(t){void 0===t&&(t=[]),this.initHosts=t,this.cachedHostsMap=new Map}t.prototype.register=function(t,e,r,o){this.cachedHostsMap.set(t+"@"+e,r.map((function(t){return new Mt(t,o)})))},t.prototype.refresh=function(t,e,r){var o,n,i,a;return Ot(this,void 0,void 0,(function(){var s,c,h;return kt(this,(function(u){switch(u.label){case 0:return s=this.cachedHostsMap.get(t+"@"+e)||[],s.length>0?[2]:this.initHosts.length>0?(this.register(t,e,this.initHosts,r),[2]):[4,J(t,e,r)];case 1:return c=u.sent(),null!=(null===c||void 0===c?void 0:c.data)&&(h=St((null===(n=null===(o=c.data.up)||void 0===o?void 0:o.acc)||void 0===n?void 0:n.main)||[],(null===(a=null===(i=c.data.up)||void 0===i?void 0:i.acc)||void 0===a?void 0:a.backup)||[]),this.register(t,e,h,r)),[2]}}))}))},t.prototype.getUp=function(t,e,r){return Ot(this,void 0,void 0,(function(){var o,n,i;return kt(this,(function(a){switch(a.label){case 0:return[4,this.refresh(t,e,r)];case 1:return a.sent(),o=this.cachedHostsMap.get(t+"@"+e)||[],0===o.length?[2,null]:(n=o.filter((function(t){return!t.isFrozen()})),n.length>0?[2,n[0]]:(i=o.slice().sort((function(t,e){return(t.getUnfreezeTime()||0)-(e.getUnfreezeTime()||0)})),[2,i[0]]))}}))}))}})();var Et=function(){return Et=Object.assign||function(t){for(var e,r=1,o=arguments.length;r0&&n[n.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:t.width,height:t.height}]:[2,{dist:s,width:a.width,height:a.height}]}}))}))},t.prototype.clear=function(t,e,r){this.outputType===Nt?(t.fillStyle="#fff",t.fillRect(0,0,e,r)):t.clearRect(0,0,e,r)},t.prototype.getOriginImage=function(){var t=this;return new Promise((function(e,r){var o=X(t.file),n=new Image;n.onload=function(){e(n)},n.onerror=function(){r("image load error")},n.src=o}))},t.prototype.getCanvas=function(t){var e=this;return new Promise((function(r,n){var a=document.createElement("canvas"),s=a.getContext("2d");if(s){var c=t.width,h=t.height;a.height=h,a.width=c,e.clear(s,c,h),s.drawImage(t,0,0),r(a)}else n(new i(o.GetCanvasContextFailed,"context is null"))}))},t.prototype.doScale=function(t,e){return Lt(this,void 0,void 0,(function(){var r,n,a,s,c,h,u,l,f,p,d,g,v,m,y,w;return Pt(this,(function(b){if(1===e)return[2,t];if(r=t.getContext("2d"),n=Math.min(Ut,Math.ceil(1/e/Ht)),a=Math.pow(e,1/n),s=document.createElement("canvas"),c=s.getContext("2d"),h=t.width,u=t.height,l=h,f=u,s.width=h,s.height=u,!c||!r)throw new i(o.GetCanvasContextFailed,"mctx or sctx can't be null");for(g=0;g1?arguments[1]:void 0)}))},ba70:function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},c06a:function(t,e,r){"use strict";var o=r("3d8b"),n=r("7faf"),i=r("3e8e"),a=o.aTypedArray,s=o.exportTypedArrayMethod;s("fill",(function(t){var e=arguments.length;return n(i,a(this),t,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}))},c1fe:function(t,e,r){"use strict";var o=r("3d8b"),n=r("568e"),i=r("ccb5"),a=r("3a0b"),s=o.aTypedArray,c=o.exportTypedArrayMethod;c("subarray",(function(t,e){var r=s(this),o=r.length,c=i(t,o),h=a(r);return new h(r.buffer,r.byteOffset+c*r.BYTES_PER_ELEMENT,n((void 0===e?o:i(e,o))-c))}))},c284:function(t,e,r){var o=r("c6da"),n=r("3ec5"),i=r("77bc"),a=r("6ead"),s=r("d28a"),c=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var h in n)n[h]&&c(o[h]&&o[h].prototype);c(i)},c2e6:function(t,e,r){"use strict";var o=r("a5ba"),n=r("93a7"),i=r("c6da"),a=r("e7ec"),s=r("12ed"),c=r("a9fd"),h=r("99a6"),u=r("78f8"),l=r("6f4d").f,f=r("9a56"),p=i.Symbol,d=p&&p.prototype;if(n&&c(p)&&(!("description"in d)||void 0!==p().description)){var g={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),e=h(d,this)?new p(t):void 0===t?p():p(t);return""===t&&(g[e]=!0),e};f(v,p),v.prototype=d,d.constructor=v;var m="Symbol(test)"==String(p("test")),y=a(d.toString),w=a(d.valueOf),b=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),C=a("".slice);l(d,"description",{configurable:!0,get:function(){var t=w(this),e=y(t);if(s(g,t))return"";var r=m?C(e,7,-1):x(e,b,"$1");return""===r?void 0:r}}),o({global:!0,forced:!0},{Symbol:v})}},c7fc:function(t,e,r){var o=r("8ac3"),n=r("12ed"),i=r("1a4c"),a=r("6f4d").f;t.exports=function(t){var e=o.Symbol||(o.Symbol={});n(e,t)||a(e,t,{value:i.f(t)})}},c854:function(t,e,r){"use strict";var o=r("e3d0"),n=r("6f4d"),i=r("0252");t.exports=function(t,e,r){var a=o(e);a in t?n.f(t,a,i(0,r)):t[a]=r}},d0b6:function(t,e,r){"use strict";var o=r("3d8b"),n=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){var t,e=this,r=n(e).length,o=a(r/2),i=0;while(i1?arguments[1]:void 0,v=void 0!==g;v&&(g=n(g,o>2?arguments[2]:void 0));var m,y,w,b,x,C,I=p(e),B=0;if(!I||this==d&&c(I))for(m=u(e),y=r?new this(m):d(m);m>B;B++)C=v?g(e[B],B):e[B],l(y,B,C);else for(b=f(e,I),x=b.next,y=r?new this:[];!(w=i(x,b)).done;B++)C=v?s(b,g,[w.value,B],!0):w.value,l(y,B,C);return y.length=B,y}},d2ac:function(t,e,r){"use strict";r("95b4")},d382:function(t,e,r){var o=r("a5ba"),n=r("93a7"),i=r("c07f"),a=r("50dd"),s=r("3c3f"),c=r("c854");o({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(t){var e,r,o=a(t),n=s.f,h=i(o),u={},l=0;while(h.length>l)r=n(o,e=h[l++]),void 0!==r&&c(u,e,r);return u}})},d597:function(t,e,r){"use strict";var o=r("3d8b"),n=r("7c9e").findIndex,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("findIndex",(function(t){return n(i(this),t,arguments.length>1?arguments[1]:void 0)}))},d988:function(t,e,r){(function(e){t.exports=e()})((function(t){"use strict";var e=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(t,e){var r=t[0],o=t[1],n=t[2],i=t[3];r+=(o&n|~o&i)+e[0]-680876936|0,r=(r<<7|r>>>25)+o|0,i+=(r&o|~r&n)+e[1]-389564586|0,i=(i<<12|i>>>20)+r|0,n+=(i&r|~i&o)+e[2]+606105819|0,n=(n<<17|n>>>15)+i|0,o+=(n&i|~n&r)+e[3]-1044525330|0,o=(o<<22|o>>>10)+n|0,r+=(o&n|~o&i)+e[4]-176418897|0,r=(r<<7|r>>>25)+o|0,i+=(r&o|~r&n)+e[5]+1200080426|0,i=(i<<12|i>>>20)+r|0,n+=(i&r|~i&o)+e[6]-1473231341|0,n=(n<<17|n>>>15)+i|0,o+=(n&i|~n&r)+e[7]-45705983|0,o=(o<<22|o>>>10)+n|0,r+=(o&n|~o&i)+e[8]+1770035416|0,r=(r<<7|r>>>25)+o|0,i+=(r&o|~r&n)+e[9]-1958414417|0,i=(i<<12|i>>>20)+r|0,n+=(i&r|~i&o)+e[10]-42063|0,n=(n<<17|n>>>15)+i|0,o+=(n&i|~n&r)+e[11]-1990404162|0,o=(o<<22|o>>>10)+n|0,r+=(o&n|~o&i)+e[12]+1804603682|0,r=(r<<7|r>>>25)+o|0,i+=(r&o|~r&n)+e[13]-40341101|0,i=(i<<12|i>>>20)+r|0,n+=(i&r|~i&o)+e[14]-1502002290|0,n=(n<<17|n>>>15)+i|0,o+=(n&i|~n&r)+e[15]+1236535329|0,o=(o<<22|o>>>10)+n|0,r+=(o&i|n&~i)+e[1]-165796510|0,r=(r<<5|r>>>27)+o|0,i+=(r&n|o&~n)+e[6]-1069501632|0,i=(i<<9|i>>>23)+r|0,n+=(i&o|r&~o)+e[11]+643717713|0,n=(n<<14|n>>>18)+i|0,o+=(n&r|i&~r)+e[0]-373897302|0,o=(o<<20|o>>>12)+n|0,r+=(o&i|n&~i)+e[5]-701558691|0,r=(r<<5|r>>>27)+o|0,i+=(r&n|o&~n)+e[10]+38016083|0,i=(i<<9|i>>>23)+r|0,n+=(i&o|r&~o)+e[15]-660478335|0,n=(n<<14|n>>>18)+i|0,o+=(n&r|i&~r)+e[4]-405537848|0,o=(o<<20|o>>>12)+n|0,r+=(o&i|n&~i)+e[9]+568446438|0,r=(r<<5|r>>>27)+o|0,i+=(r&n|o&~n)+e[14]-1019803690|0,i=(i<<9|i>>>23)+r|0,n+=(i&o|r&~o)+e[3]-187363961|0,n=(n<<14|n>>>18)+i|0,o+=(n&r|i&~r)+e[8]+1163531501|0,o=(o<<20|o>>>12)+n|0,r+=(o&i|n&~i)+e[13]-1444681467|0,r=(r<<5|r>>>27)+o|0,i+=(r&n|o&~n)+e[2]-51403784|0,i=(i<<9|i>>>23)+r|0,n+=(i&o|r&~o)+e[7]+1735328473|0,n=(n<<14|n>>>18)+i|0,o+=(n&r|i&~r)+e[12]-1926607734|0,o=(o<<20|o>>>12)+n|0,r+=(o^n^i)+e[5]-378558|0,r=(r<<4|r>>>28)+o|0,i+=(r^o^n)+e[8]-2022574463|0,i=(i<<11|i>>>21)+r|0,n+=(i^r^o)+e[11]+1839030562|0,n=(n<<16|n>>>16)+i|0,o+=(n^i^r)+e[14]-35309556|0,o=(o<<23|o>>>9)+n|0,r+=(o^n^i)+e[1]-1530992060|0,r=(r<<4|r>>>28)+o|0,i+=(r^o^n)+e[4]+1272893353|0,i=(i<<11|i>>>21)+r|0,n+=(i^r^o)+e[7]-155497632|0,n=(n<<16|n>>>16)+i|0,o+=(n^i^r)+e[10]-1094730640|0,o=(o<<23|o>>>9)+n|0,r+=(o^n^i)+e[13]+681279174|0,r=(r<<4|r>>>28)+o|0,i+=(r^o^n)+e[0]-358537222|0,i=(i<<11|i>>>21)+r|0,n+=(i^r^o)+e[3]-722521979|0,n=(n<<16|n>>>16)+i|0,o+=(n^i^r)+e[6]+76029189|0,o=(o<<23|o>>>9)+n|0,r+=(o^n^i)+e[9]-640364487|0,r=(r<<4|r>>>28)+o|0,i+=(r^o^n)+e[12]-421815835|0,i=(i<<11|i>>>21)+r|0,n+=(i^r^o)+e[15]+530742520|0,n=(n<<16|n>>>16)+i|0,o+=(n^i^r)+e[2]-995338651|0,o=(o<<23|o>>>9)+n|0,r+=(n^(o|~i))+e[0]-198630844|0,r=(r<<6|r>>>26)+o|0,i+=(o^(r|~n))+e[7]+1126891415|0,i=(i<<10|i>>>22)+r|0,n+=(r^(i|~o))+e[14]-1416354905|0,n=(n<<15|n>>>17)+i|0,o+=(i^(n|~r))+e[5]-57434055|0,o=(o<<21|o>>>11)+n|0,r+=(n^(o|~i))+e[12]+1700485571|0,r=(r<<6|r>>>26)+o|0,i+=(o^(r|~n))+e[3]-1894986606|0,i=(i<<10|i>>>22)+r|0,n+=(r^(i|~o))+e[10]-1051523|0,n=(n<<15|n>>>17)+i|0,o+=(i^(n|~r))+e[1]-2054922799|0,o=(o<<21|o>>>11)+n|0,r+=(n^(o|~i))+e[8]+1873313359|0,r=(r<<6|r>>>26)+o|0,i+=(o^(r|~n))+e[15]-30611744|0,i=(i<<10|i>>>22)+r|0,n+=(r^(i|~o))+e[6]-1560198380|0,n=(n<<15|n>>>17)+i|0,o+=(i^(n|~r))+e[13]+1309151649|0,o=(o<<21|o>>>11)+n|0,r+=(n^(o|~i))+e[4]-145523070|0,r=(r<<6|r>>>26)+o|0,i+=(o^(r|~n))+e[11]-1120210379|0,i=(i<<10|i>>>22)+r|0,n+=(r^(i|~o))+e[2]+718787259|0,n=(n<<15|n>>>17)+i|0,o+=(i^(n|~r))+e[9]-343485551|0,o=(o<<21|o>>>11)+n|0,t[0]=r+t[0]|0,t[1]=o+t[1]|0,t[2]=n+t[2]|0,t[3]=i+t[3]|0}function o(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}function n(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t[e]+(t[e+1]<<8)+(t[e+2]<<16)+(t[e+3]<<24);return r}function i(t){var e,n,i,a,s,c,h=t.length,u=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=h;e+=64)r(u,o(t.substring(e-64,e)));for(t=t.substring(e-64),n=t.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(r(u,i),e=0;e<16;e+=1)i[e]=0;return a=8*h,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),c=parseInt(a[1],16)||0,i[14]=s,i[15]=c,r(u,i),u}function a(t){var e,o,i,a,s,c,h=t.length,u=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=h;e+=64)r(u,n(t.subarray(e-64,e)));for(t=e-64>2]|=t[e]<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(r(u,i),e=0;e<16;e+=1)i[e]=0;return a=8*h,a=a.toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),c=parseInt(a[1],16)||0,i[14]=s,i[15]=c,r(u,i),u}function s(t){var r,o="";for(r=0;r<4;r+=1)o+=e[t>>8*r+4&15]+e[t>>8*r&15];return o}function c(t){var e;for(e=0;e>16)+(e>>16)+(r>>16);return o<<16|65535&r},"undefined"===typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function e(t,e){return t=0|t||0,t<0?Math.max(t+e,0):Math.min(t,e)}ArrayBuffer.prototype.slice=function(r,o){var n,i,a,s,c=this.byteLength,h=e(r,c),u=c;return o!==t&&(u=e(o,c)),h>u?new ArrayBuffer(0):(n=u-h,i=new ArrayBuffer(n),a=new Uint8Array(i),s=new Uint8Array(this,h,n),a.set(s),i)}}(),d.prototype.append=function(t){return this.appendBinary(h(t)),this},d.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var e,n=this._buff.length;for(e=64;e<=n;e+=64)r(this._hash,o(this._buff.substring(e-64,e)));return this._buff=this._buff.substring(e-64),this},d.prototype.end=function(t){var e,r,o=this._buff,n=o.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=o.charCodeAt(e)<<(e%4<<3);return this._finish(i,n),r=c(this._hash),t&&(r=p(r)),this.reset(),r},d.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},d.prototype.setState=function(t){return this._buff=t.buff,this._length=t.length,this._hash=t.hash,this},d.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},d.prototype._finish=function(t,e){var o,n,i,a=e;if(t[a>>2]|=128<<(a%4<<3),a>55)for(r(this._hash,t),a=0;a<16;a+=1)t[a]=0;o=8*this._length,o=o.toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(o[2],16),i=parseInt(o[1],16)||0,t[14]=n,t[15]=i,r(this._hash,t)},d.hash=function(t,e){return d.hashBinary(h(t),e)},d.hashBinary=function(t,e){var r=i(t),o=c(r);return e?p(o):o},d.ArrayBuffer=function(){this.reset()},d.ArrayBuffer.prototype.append=function(t){var e,o=f(this._buff.buffer,t,!0),i=o.length;for(this._length+=t.byteLength,e=64;e<=i;e+=64)r(this._hash,n(o.subarray(e-64,e)));return this._buff=e-64>2]|=o[e]<<(e%4<<3);return this._finish(i,n),r=c(this._hash),t&&(r=p(r)),this.reset(),r},d.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},d.ArrayBuffer.prototype.getState=function(){var t=d.prototype.getState.call(this);return t.buff=l(t.buff),t},d.ArrayBuffer.prototype.setState=function(t){return t.buff=u(t.buff,!0),d.prototype.setState.call(this,t)},d.ArrayBuffer.prototype.destroy=d.prototype.destroy,d.ArrayBuffer.prototype._finish=d.prototype._finish,d.ArrayBuffer.hash=function(t,e){var r=a(new Uint8Array(t)),o=c(r);return e?p(o):o},d}))},de35:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},dee8:function(t,e,r){var o=r("eede"),n=o.match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},e186:function(t,e,r){var o=function(t){"use strict";var e,r=Object.prototype,o=r.hasOwnProperty,n="function"===typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(E){c=function(t,e,r){return t[e]=r}}function h(t,e,r,o){var n=e&&e.prototype instanceof v?e:v,i=Object.create(n.prototype),a=new S(o||[]);return i._invoke=A(t,r,a),i}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(E){return{type:"throw",arg:E}}}t.wrap=h;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",g={};function v(){}function m(){}function y(){}var w={};c(w,i,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(_([])));x&&x!==r&&o.call(x,i)&&(w=x);var C=y.prototype=v.prototype=Object.create(w);function I(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function B(t,e){function r(n,i,a,s){var c=u(t[n],t,i);if("throw"!==c.type){var h=c.arg,l=h.value;return l&&"object"===typeof l&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){h.value=t,a(h)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var n;function i(t,o){function i(){return new e((function(e,n){r(t,o,e,n)}))}return n=n?n.then(i,i):i()}this._invoke=i}function A(t,e,r){var o=l;return function(n,i){if(o===p)throw new Error("Generator is already running");if(o===d){if("throw"===n)throw i;return M()}r.method=n,r.arg=i;while(1){var a=r.delegate;if(a){var s=O(a,r);if(s){if(s===g)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===l)throw o=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=p;var c=u(t,e,r);if("normal"===c.type){if(o=r.done?d:f,c.arg===g)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=d,r.method="throw",r.arg=c.arg)}}}function O(t,r){var o=t.iterator[r.method];if(o===e){if(r.delegate=null,"throw"===r.method){if(t.iterator["return"]&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var n=u(o,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;var i=n.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(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 T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function _(t){if(t){var r=t[i];if(r)return r.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function r(){while(++n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),h=o.call(a,"finallyLoc");if(c&&h){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var o=r.completion;if("throw"===o.type){var n=o.arg;T(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,o){return this.delegate={iterator:_(t),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=o}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},e199:function(t,e,r){"use strict";var o=r("3d8b"),n=r("7c9e").map,i=r("3a0b"),a=o.aTypedArray,s=o.exportTypedArrayMethod;s("map",(function(t){return n(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(i(t))(e)}))}))},e280:function(t,e,r){var o=r("e7ec"),n=r("41be"),i=r("78f8"),a=r("de35"),s=o("".replace),c="["+a+"]",h=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),l=function(t){return function(e){var r=i(n(e));return 1&t&&(r=s(r,h,"")),2&t&&(r=s(r,u,"")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},e8eb:function(t){t.exports=JSON.parse('{"name":"vue-img-cutter","version":"2.2.5","description":"A image crop plug-in for Vue,you can use it to rotate、zoom images and cut any size","author":"acccccccb ","private":false,"scripts":{"dev":"webpack-dev-server --inline --progress --config build/webpack.dev.conf.js","start":"npm run dev","build":"node build/build.js","lint":"eslint --ext .js --ext .vue src/","lint:fix":"eslint --fix --ext .js --ext .vue src/"},"dependencies":{"vue":"^2.5.2"},"devDependencies":{"@vue/cli-plugin-eslint":"^4.5.13","@vue/eslint-config-standard":"^6.0.0","autoprefixer":"^7.1.2","babel-core":"^6.22.1","babel-eslint":"^10.1.0","babel-helper-vue-jsx-merge-props":"^2.0.3","babel-loader":"^7.1.1","babel-plugin-syntax-jsx":"^6.18.0","babel-plugin-transform-runtime":"^6.22.0","babel-plugin-transform-vue-jsx":"^3.5.0","babel-preset-env":"^1.3.2","babel-preset-stage-2":"^6.22.0","chalk":"^2.0.1","copy-webpack-plugin":"^4.0.1","css-loader":"^0.28.0","eslint":"^7.29.0","eslint-plugin-html":"^6.1.2","eslint-plugin-vue":"^7.11.1","extract-text-webpack-plugin":"^3.0.0","file-loader":"^1.1.4","friendly-errors-webpack-plugin":"^1.6.1","html-webpack-plugin":"^2.30.1","js-yaml":"^3.13.1","lodash":"^4.17.15","mem":"^6.0.0","mixin-deep":"^2.0.1","node-notifier":"^8.0.1","optimize-css-assets-webpack-plugin":"^3.2.0","ora":"^1.2.0","portfinder":"^1.0.13","postcss-import":"^11.0.0","postcss-loader":"^2.0.8","postcss-url":"^7.2.1","rimraf":"^2.6.0","semver":"^5.3.0","set-value":"^3.0.1","shelljs":"^0.7.6","uglifyjs-webpack-plugin":"^1.1.1","url-loader":"^0.5.8","vue-loader":"^13.3.0","vue-style-loader":"^3.0.1","vue-template-compiler":"^2.5.2","webpack":"^3.12.0","webpack-bundle-analyzer":"^3.3.2","webpack-dev-server":"^2.11.5","webpack-merge":"^4.1.0"},"engines":{"node":">= 6.0.0","npm":">= 3.0.0"},"browserslist":["> 1%","last 2 versions","not ie <= 8"],"main":"./src/index.js","repository":{"type":"git","url":"git+https://github.com/acccccccb/vue-img-cutter.git"},"keywords":["image","crop","cutter","vue","裁剪"],"license":"Apache2.0","bugs":{"url":"https://github.com/acccccccb/vue-img-cutter/issues"},"homepage":"https://ihtmlcss.com/demo/dist/#/croptool","__npminstall_done":"Fri Nov 26 2021 14:22:06 GMT+0800 (中国标准时间)","_from":"vue-img-cutter@2.2.5","_resolved":"https://registry.nlark.com/vue-img-cutter/download/vue-img-cutter-2.2.5.tgz"}')},eb30:function(t,e,r){"use strict";var o=r("3d8b"),n=r("6cf2").left,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("reduce",(function(t){var e=arguments.length;return n(i(this),t,e,e>1?arguments[1]:void 0)}))},ec4a:function(t,e,r){var o=r("c6da"),n=r("9332"),i=r("568e"),a=o.RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw a("Wrong length or index");return r}},ed3f:function(t,e,r){var o=r("c6da"),n=r("9332"),i=o.RangeError;t.exports=function(t){var e=n(t);if(e<0)throw i("The argument can't be less than 0");return e}},f329:function(t,e,r){"use strict";var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[!0===t.showChooseBtn&&!0===t.isModal?r("div",{on:{click:t.handleOpen}},[t._t("openImgCutter"),t._t("open")],2):t._e(),t.$slots.openImgCutter||t.$slots.open||!0!==t.isModal?t._e():r("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.handleOpen}},[t._v(" "+t._s(t.label)+" ")]),r("transition",{attrs:{name:"fade"}},[t.visible?r("div",{ref:"mask",class:!0===t.isModal?"mask vue-img-cutter":""},[t.visible?r("div",{class:!0===t.isModal?"dialogBoxModal":"dialogBox"},[r("transition",{attrs:{name:"fade","enter-class":"fade-in-enter","enter-active-class":"fade-in-active","leave-class":"fade-out-enter","leave-active-class":"fade-out-active"}},[r("div",{ref:"dialogMainModalRef",class:!0===t.isModal?"dialogMainModal":"dialogMain",style:"width:"+(!0===t.isModal?t.boxWidth+32:t.boxWidth)+"px"},[r("div",{staticClass:"toolMain"},[!0===t.isModal?r("div",{staticClass:"tool-title"},[t._v(" 图片裁剪 "),r("span",{staticClass:"closeIcon",on:{click:t.handleClose}},[t._v("×")])]):t._e(),r("div",{ref:"toolBox",staticClass:"toolBox",style:"height:"+t.boxHeight+"px;width:"+t.boxWidth+"px",on:{mousemove:t.controlBtnMouseMove,mouseup:t.controlBtnMouseUp,mouseleave:t.controlBtnMouseUp}},[r("div",{directives:[{name:"show",rawName:"v-show",value:!t.drawImg.img&&!0===t.showChooseBtn,expression:"!drawImg.img && showChooseBtn === true"}],staticClass:"tips"},[r("div",{staticClass:"btn btn-warning btn-xs",on:{click:t.chooseImg}},[t._v(" "+t._s(t.label)+" ")])]),1==t.tool?r("div",{directives:[{name:"show",rawName:"v-show",value:t.drawImg.img&&!0!==t.dropImg.active&&1==t.controlBox.disable&&1==t.toolBox.disable,expression:"\n drawImg.img &&\n dropImg.active !== true &&\n controlBox.disable == true &&\n toolBox.disable == true\n "}],staticClass:"dockMain",style:"background:"+t.toolBgc,on:{mouseenter:t.dropImgOff}},[t.rate?r("div",{staticClass:"dockBtn"},[t._t("ratio",(function(){return[t._v(" Ratio: ")]})),t._v(" "+t._s(t.rate)+" ")],2):t._e(),r("div",{staticClass:"dockBtn",on:{click:t.scaleReset}},[t._t("scaleReset",(function(){return[t._v(" Scale: ")]})),t._v(" "+t._s(t.drawImg.swidth>0?(t.drawImg.width/t.drawImg.swidth).toFixed(2):"-")+" ")],2),!1===t.originalGraph?r("div",{staticClass:"dockBtn",on:{click:function(e){return t.turnImg(-90)}}},[t._t("turnLeft",(function(){return[t._v(" ↳ ")]}))],2):t._e(),!1===t.originalGraph?r("div",{staticClass:"dockBtn",on:{click:function(e){return t.turnImg(90)}}},[t._t("turnRight",(function(){return[t._v(" ↲ ")]}))],2):t._e(),!1===t.originalGraph?r("div",{staticClass:"dockBtn",on:{click:function(e){return t.turnReset()}}},[t._t("reset",(function(){return[t._v(" ↻ ")]}))],2):t._e(),!1===t.originalGraph?r("div",{staticClass:"dockBtnScrollBar"},[r("div",{ref:"dockBtnScrollControl",staticClass:"scrollBarControl",style:"left:"+t.rotateControl.position+"px",on:{mousemove:t.scrollBarControlMove,mousedown:t.scrollBarControlOn,mouseleave:t.scrollBarControlOff,mouseup:t.scrollBarControlOff}}),1==t.rotateControl.active?r("div",{staticClass:"scrollBarText",style:"left:"+t.rotateControl.position+"px"},[t._v(" "+t._s(t.rotateImg.angle.toFixed(0)+"°")+" ")]):t._e()]):t._e(),!1===t.originalGraph?r("div",{staticClass:"dockBtn",on:{click:t.flipHorizontal}},[t._t("flipHorizontal",(function(){return[t._v(" ⇆ ")]}))],2):t._e(),!1===t.originalGraph?r("div",{staticClass:"dockBtn",on:{click:t.flipVertically}},[t._t("turnRight",(function(){return[t._v(" ⇅ ")]}))],2):t._e()]):t._e(),r("div",{directives:[{name:"show",rawName:"v-show",value:null!=t.drawImg.img,expression:"drawImg.img != null"}],ref:"toolBoxControl",staticClass:"toolBoxControl",on:{mousedown:t.toolBoxMouseDown,mouseup:t.toolBoxMouseUp,mousemove:t.toolBoxMouseMove,mouseleave:t.toolBoxMouseLeave}},[r("div",{staticClass:"toolBoxControlBox"},[r("div",{staticClass:"controlBox"},[r("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineTop"}),r("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineBottom"}),r("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineLeft"}),r("div",{staticClass:"controlBoxInnerLine controlBoxInnerLineRight"}),!1===t.originalGraph?r("div",{staticClass:"selectArea"},[t._v(" 宽:"+t._s(t.toolBox.width)+" 高:"+t._s(t.toolBox.height)+" (x:"+t._s(t.toolBoxPosition.x)+",y:"+t._s(t.toolBoxPosition.y)+") ")]):t._e(),!0===t.originalGraph?r("div",{staticClass:"selectArea"},[t._v(" 宽:"+t._s((t.toolBox.width/(t.drawImg.width/t.drawImg.swidth)).toFixed(0))+" 高:"+t._s((t.toolBox.height/(t.drawImg.width/t.drawImg.swidth)).toFixed(0))+" (x:"+t._s(t.toolBoxPosition.x)+",y:"+t._s(t.toolBoxPosition.y)+") ")]):t._e(),!0===t.sizeChange?r("div",{staticClass:"leftUp controlBtn",attrs:{"data-name":"leftUp"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"leftUp")}}}):t._e(),!0===t.sizeChange?r("div",{staticClass:"leftDown controlBtn",attrs:{"data-name":"leftDown"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"leftDown")}}}):t._e(),!0===t.sizeChange?r("div",{staticClass:"rightUp controlBtn",attrs:{"data-name":"rightUp"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"rightUp")}}}):t._e(),!0===t.sizeChange?r("div",{staticClass:"rightDown controlBtn",attrs:{"data-name":"rightDown"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"rightDown")}}}):t._e(),!0===t.sizeChange&&!t.rate&&t.toolBox.width>20?r("div",{staticClass:"topCenter controlBtn",attrs:{"data-name":"topCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"topCenter")}}}):t._e(),!0===t.sizeChange&&!t.rate&&t.toolBox.width>20?r("div",{staticClass:"downCenter controlBtn",attrs:{"data-name":"downCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"downCenter")}}}):t._e(),!0===t.sizeChange&&!t.rate&&t.toolBox.height>20?r("div",{staticClass:"leftCenter controlBtn",attrs:{"data-name":"leftCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"leftCenter")}}}):t._e(),!0===t.sizeChange&&!t.rate&&t.toolBox.height>20?r("div",{staticClass:"rightCenter controlBtn",attrs:{"data-name":"rightCenter"},on:{mousedown:function(e){return t.controlBtnMouseDown(e,"rightCenter")}}}):t._e()]),r("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-1"}),r("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-2"}),r("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-3"}),r("div",{staticClass:"toolBoxControlLine toolBoxControlLineItem-4"})])]),r("div",{staticClass:"copyright"},[t.DoNotDisplayCopyright?t._e():r("a",{attrs:{target:"_blank",href:"https://github.com/acccccccb/vue-img-cutter",rel:"nofollow"}},[t._v(" vue-img-cutter "+t._s(t.version)+" ")])]),r("canvas",{ref:"canvasSelectBox",staticClass:"canvasSelectBox",attrs:{width:t.boxWidth,height:t.boxHeight},on:{mousedown:t.dropImgOn,mouseup:t.dropImgOff,mousemove:t.dropImgMove}}),r("canvas",{ref:"canvas",staticClass:"canvas",attrs:{width:t.boxWidth,height:t.boxHeight}})])]),r("div",{staticClass:"i-dialog-footer"},[r("input",{ref:"inputFile",staticStyle:{width:"1px",height:"1px",border:"none",opacity:"0"},attrs:{type:"file",accept:"image/gif, image/jpeg ,image/png"},on:{change:t.putImgToCanv}}),r("span",{on:{click:t.chooseImg}},[t._t("choose",(function(){return[!0===t.showChooseBtn?r("div",{staticClass:"btn btn-primary btn-primary-plain"},[t._v(" "+t._s(t.label)+" ")]):t._e()]}))],2),r("div",{staticClass:"btn-group fr"},[r("span",{on:{click:t.handleClose}},[t._t("cancel",(function(){return[r("button",{staticClass:"btn btn-default",attrs:{type:"button"}},[t._v("取消")])]}))],2),r("span",{on:{click:function(e){return t.cropPicture(!1)}}},[t._t("confirm",(function(){return[r("button",{staticClass:"btn btn-primary",staticStyle:{"margin-left":"15px"},attrs:{type:"button",disabled:!t.drawImg.img}},[t._v(" 确定 ")])]}))],2)])])])]),r("div",{staticStyle:{clear:"both"}})],1):t._e()]):t._e()])],1)},n=[],i=(r("9d16"),r("49e9"),r("28fd"),r("a9b6"),r("8ee7"),r("c284"),r("d382"),r("724c"));function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function s(t){for(var e=1;eo?"scroll":"hidden"}t&&"function"===typeof t&&t()};if(t&&"object"==c(t)&&t.src){if(!t.name)throw new Error("传入参数必须包含:src,name");var o=new Image;!0===this.crossOrigin&&(o.crossOrigin=this.crossOriginHeader),o.name=t.name,o.style.position="fixed",o.style.top=-5e3,o.style.opacity=0,o.onerror=function(t){console.error("图片加载失败"),e.$emit("error",{index:e.index,event:t,msg:"图片加载失败"}),e.clearCutImageObj()},o.onload=function(){if(!0!==o.complete)throw new Error("图片加载失败");e.visible=!0,e.$nextTick((function(){r((function(){e.importImgToCanv(o)}))}))},o.src=t.src,this.cutImageObj=o,document.body.appendChild(o),this.$emit("onChooseImg",t,this.index)}else this.visible=!0,this.$nextTick((function(){r()}))},handleClose:function(){var t=this;this.clearAll(),!0===this.isModal&&(!0===this.lockScroll&&(document.body.style.overflowY="scroll"),this.$nextTick((function(){t.visible=!1})))},chooseImg:function(){this.$refs["inputFile"].click()},importImgToCanv:function(t){var e,r=t.height,o=t.width,n=this.boxWidth,i=this.boxHeight,a=s({},this.drawImg);this.fileName=t.name,a.img=t,this.scaleImg.rate=o/r,rthis.boxWidth?this.boxWidth:this.cutWidth,this.toolBox.height=this.cutHeight>this.boxHeight?this.boxHeight:this.cutHeight),(0===this.toolBox.x&&0===this.toolBox.y||!1===this.saveCutPosition)&&(this.toolBox.x=this.boxWidth/2-this.toolBox.width/2,this.toolBox.y=this.boxHeight/2-this.toolBox.height/2)):(this.toolBox.x=this.drawImg.x,this.toolBox.y=this.drawImg.y,this.toolBox.width=this.drawImg.width,this.toolBox.height=this.drawImg.height),this.drawControlBox(this.toolBox.width,this.toolBox.height,this.toolBox.x,this.toolBox.y)},isSupportFileApi:function(){return!!(window.File&&window.FileList&&window.FileReader&&window.Blob&&-1===navigator.userAgent.indexOf("Edge")&&-1===navigator.userAgent.indexOf("MSIE")&&-1===navigator.userAgent.indexOf("Trident"))},dataURLtoFile:function(t,e){var r=t.split(","),o=r[0].match(/:(.*?);/)[1],n=atob(r[1]),i=n.length,a=new Uint8Array(i);while(i--)a[i]=n.charCodeAt(i);if(this.isSupportFileApi()){var s=new File([a],e,{type:o});return s}return"不支持File对象"},clearAll:function(){var t=this,e=t.$refs["canvas"],r=e.getContext("2d");r.clearRect(0,0,e.width,e.height);var o=t.$refs["canvasSelectBox"],n=o.getContext("2d");n.clearRect(0,0,o.width,o.height);var i=t.drawImg.sx,a=t.drawImg.sy;this.drawImg={img:null,sx:i,sy:a,swidth:0,sheight:0,x:0,y:0,width:0,height:0},this.isFlipHorizontal=!1,this.isFlipVertically=!1,this.$refs["inputFile"].value="",this.rotateImg.angle=0,this.drawImg.img=null,this.turnReset(),this.clearCutImageObj(),this.$emit("onClearAll",this.index)},clearCutImageObj:function(){null!==this.cutImageObj&&void 0!==this.cutImageObj&&("function"===typeof this.cutImageObj.remove?this.cutImageObj.remove():this.cutImageObj.removeNode()),this.cutImageObj=null},drawControlBox:function(t,e,r,o){var n=this;this.toolBoxOverflow?(t>this.boxWidth&&(t=this.boxWidth),e>this.boxHeight&&(e=this.boxHeight),r<0&&(r=0),o<0&&(o=0)):(t>this.drawImg.width&&(t=this.drawImg.width),e>this.drawImg.height&&(e=this.drawImg.height),rthis.drawImg.x+this.drawImg.width-t&&(r=this.drawImg.x+this.drawImg.width-t),o>this.drawImg.y+this.drawImg.height-e&&(o=this.drawImg.y+this.drawImg.height-e));var i,a,s=this.$refs["toolBoxControl"],c=this.$refs["canvasSelectBox"],h=c.getContext("2d");if(h.fillStyle=this.selectBoxColor,h.clearRect(0,0,c.width,c.height),h.fillRect(0,0,c.width,c.height),this.rate&&""!==this.rate){var u=this.rate.split(":")[0]/this.rate.split(":")[1];u>=1?(i=t,a=t/u):(i=e*u,a=e)}else i=t,a=e;this.toolBox.width=i,this.toolBox.height=a,s.style.width=Math.abs(i)+"px",s.style.height=Math.abs(a)+"px",this.toolBox.boxMove.moveTo.x=r,this.toolBox.boxMove.moveTo.y=o,i<0&&(r+=i),a<0&&(o+=a),r+this.toolBox.width>this.boxWidth&&(r=this.boxWidth-this.toolBox.width),r<0&&(r=0),o+this.toolBox.height>this.boxHeight&&(o=this.boxHeight-this.toolBox.height),o<0&&(o=0),this.toolBoxPosition.x=r,this.toolBoxPosition.y=o,s.style.left=r+"px",s.style.top=o+"px",h.clearRect(r,o,Math.abs(i),Math.abs(a)),this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout((function(){n.cropPicture(!0)}),100)},resetToolBox:function(){this.toolBox.width<0&&(this.toolBox.boxMove.moveTo.x=this.toolBox.x-this.toolBox.width),this.toolBox.height<0&&(this.toolBox.boxMove.moveTo.y=this.toolBox.y-this.toolBox.height),this.toolBox.width=Math.abs(this.toolBox.width),this.toolBox.height=Math.abs(this.toolBox.height)},toolBoxMouseDown:function(t){var e=this.$refs["toolBoxControl"];this.toolBox.x=parseInt(e.style.left.split("px")[0]),this.toolBox.y=parseInt(e.style.top.split("px")[0]),this.toolBox.disable=!1,this.dropImg.active=!1,this.toolBox.boxMove.start={x:t.pageX,y:t.pageY}},toolBoxMouseMove:function(t){if(this.dropImg.active&&this.dropImgMove(t),!1===this.toolBox.disable&&!0===this.moveAble){var e=t.pageX-this.toolBox.boxMove.start.x,r=t.pageY-this.toolBox.boxMove.start.y,o=this.toolBox.x+e,n=this.toolBox.y+r;this.drawControlBox(this.toolBox.width,this.toolBox.height,o,n)}},toolBoxMouseLeave:function(){var t=this;this.toolBox.disable=!0,this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout((function(){t.cropPicture(!0)}),100),this.resetToolBox()},toolBoxMouseUp:function(){this.toolBox.x=parseInt(this.toolBoxPosition.x),this.toolBox.y=parseInt(this.toolBoxPosition.y),this.toolBox.disable=!0,this.dropImg.active=!1,this.resetToolBox()},printImg:function(){var t=this;if(this.drawImg.img){var e=this.$refs["canvas"],r=e.getContext("2d");r.font="18px bold 黑体",r.fillStyle="#ff0",r.textAlign="center",r.textBaseline="middle",r.save(),r.clearRect(0,0,e.width,e.height),r.translate(this.drawImg.x+this.drawImg.width/2,this.drawImg.y+this.drawImg.height/2),r.rotate(this.rotateImg.angle*Math.PI/180),r.translate(-(this.drawImg.x+this.drawImg.width/2),-(this.drawImg.y+this.drawImg.height/2)),r.translate(this.drawImg.x,this.drawImg.y),r.scale(this.isFlipHorizontal?-1:1,this.isFlipVertically?-1:1),r.drawImage(this.drawImg.img,this.drawImg.sx,this.drawImg.sy,this.drawImg.swidth,this.drawImg.sheight,this.isFlipHorizontal?-this.drawImg.width:0,this.isFlipVertically?-this.drawImg.height:0,this.drawImg.width,this.drawImg.height),r.translate(-this.drawImg.x,this.drawImg.y),r.restore(),this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout((function(){t.cropPicture(!0)}),100)}},dropImgOn:function(t){!0===this.imgMove&&(this.dropImg.active=!0,this.dropImg.params=s({},this.drawImg),this.dropImg.pageX=t.pageX,this.dropImg.pageY=t.pageY)},dropImgOff:function(){var t=this;this.dropImg.active=!1,this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout((function(){t.cropPicture(!0)}),100)},dropImgMove:function(t){if(this.dropImg.active&&this.drawImg.img){var e=s({},this.drawImg);e.x=this.dropImg.params.x-(this.dropImg.pageX-t.pageX),e.y=this.dropImg.params.y-(this.dropImg.pageY-t.pageY),this.toolBoxOverflow||(e.x>this.toolBox.x&&(e.x=this.toolBox.x),e.xthis.toolBox.y&&(e.y=this.toolBox.y),e.yn?this.drawImg.x+3*r:this.drawImg.x,this.drawImg.y=this.drawImg.width-9*r>n?this.drawImg.y+3*r:this.drawImg.y,this.drawImg.width=this.drawImg.width-9*r>n?this.drawImg.width-9*r:n,this.drawImg.height=this.drawImg.width/this.scaleImg.rate}else{var i=this.toolBox.width;this.drawImg.x=this.drawImg.width-9*r>i?this.drawImg.x+3*r:this.drawImg.x,this.drawImg.y=this.drawImg.width-9*r>i?this.drawImg.y+3*r:this.drawImg.y,(this.drawImg.x>this.toolBox.x||this.drawImg.x+this.drawImg.widththis.toolBox.y||this.drawImg.y+this.drawImg.heighti?this.drawImg.width-9*r:i,this.drawImg.height=this.drawImg.width/this.scaleImg.rate}this.printImg(),this.onPrintImgTimmer&&clearTimeout(this.onPrintImgTimmer),this.onPrintImgTimmer=setTimeout((function(){e.cropPicture(!0)}),100)}return t.preventDefault(),t.returnValue=!1,!1},flipHorizontal:function(){this.drawImg.img&&(0==this.isFlipHorizontal?this.isFlipHorizontal=!0:this.isFlipHorizontal=!1,this.printImg())},flipVertically:function(){this.drawImg.img&&(0==this.isFlipVertically?this.isFlipVertically=!0:this.isFlipVertically=!1,this.printImg())},turnImg:function(t){var e=this.rotateImg.angle,r=e+t;r>=-180&&r<=180&&(this.rotateImg.angle=r,this.rotateControl.position=r/180*100+100,this.printImg("rotate"))},turnReset:function(){this.rotateImg.angle=0,this.rotateControl.position=100,this.printImg("rotate")},controlBtnMouseDown:function(t,e){this.controlBox.disable=!1,this.controlBox.btnName=e,this.controlBox.start.x=t.clientX,this.controlBox.start.y=t.clientY,this.controlBox.start.width=this.toolBox.width,this.controlBox.start.height=this.toolBox.height,t.stopPropagation()},controlBtnMouseUp:function(t){this.controlBox.disable=!0,this.dropImgOff(),this.resetToolBox(),this.toolBoxMouseUp(),t.stopPropagation()},controlBtnMouseMove:function(t){if(!1===this.controlBox.disable){var e,r,o=t.clientX-this.controlBox.start.x,n=t.clientY-this.controlBox.start.y;if("leftUp"==this.controlBox.btnName){if(this.rate){var i=this.rate.split(":")[0]/this.rate.split(":")[1];i>=1?(e=this.toolBox.x+o,r=this.toolBox.y+o/i):(e=this.toolBox.x+n*i,r=this.toolBox.y+n)}else e=this.toolBox.x+o,r=this.toolBox.y+n;this.toolBox.width=this.controlBox.start.width-o,this.toolBox.height=this.controlBox.start.height-n}if("rightUp"==this.controlBox.btnName){if(this.rate){var a=this.rate.split(":")[0]/this.rate.split(":")[1];a>=1?(e=this.toolBox.x,r=this.toolBox.y-o/a):(e=this.toolBox.x,r=this.toolBox.y+n)}else e=this.toolBox.x,r=this.toolBox.y+n;this.toolBox.width=this.controlBox.start.width+o,this.toolBox.height=this.controlBox.start.height-n}if("rightDown"==this.controlBox.btnName&&(e=this.toolBox.x,r=this.toolBox.y,this.toolBox.width=this.controlBox.start.width+o,this.toolBox.height=this.controlBox.start.height+n),"leftDown"==this.controlBox.btnName){if(this.rate){var s=this.rate.split(":")[0]/this.rate.split(":")[1];s>=1?(e=this.toolBox.x+o,r=this.toolBox.y):(e=this.toolBox.x+-n*s,r=this.toolBox.y)}else e=this.toolBox.x+o,r=this.toolBox.y;this.toolBox.width=this.controlBox.start.width-o,this.toolBox.height=this.controlBox.start.height+n}"topCenter"==this.controlBox.btnName&&(e=this.toolBox.x,r=this.toolBox.y+n,this.toolBox.width=this.controlBox.start.width,this.toolBox.height=this.controlBox.start.height-n),"downCenter"==this.controlBox.btnName&&(e=this.toolBox.x,r=this.toolBox.y,this.toolBox.width=this.controlBox.start.width,this.toolBox.height=this.controlBox.start.height+n),"leftCenter"==this.controlBox.btnName&&(e=this.toolBox.x+o,r=this.toolBox.y,this.toolBox.width=this.controlBox.start.width-o,this.toolBox.height=this.controlBox.start.height),"rightCenter"==this.controlBox.btnName&&(e=this.toolBox.x,r=this.toolBox.y,this.toolBox.width=this.controlBox.start.width+o,this.toolBox.height=this.controlBox.start.height),this.drawControlBox(this.toolBox.width,this.toolBox.height,e,r)}t.stopPropagation()},changeFileName:function(t,e){var r=t.lastIndexOf(".");return t.substr(0,r+1)+("jpeg"===e?"jpg":e)},cropPicture:function(t){var e=this;if(this.drawImg.img){var r=this.$refs["canvas"];if(this.WatermarkText&&!t){var o=r.getContext("2d");o.font=this.WatermarkTextFont,o.fillStyle=this.WatermarkTextColor,o.textAlign="right",o.textBaseline="bottom",o.fillText(this.WatermarkText,this.toolBox.x+this.toolBox.width*this.WatermarkTextX,this.toolBox.y+this.toolBox.height*this.WatermarkTextY)}var n=new Image;!0===this.crossOrigin&&(n.crossOrigin=this.crossOriginHeader),n.src=r.toDataURL("image/".concat(this.fileType)),HTMLCanvasElement.prototype.toBlob||Object.defineProperty(HTMLCanvasElement.prototype,"toBlob",{value:function(t,o,n){window.atob?setTimeout((function(){for(var i,a=atob(r.toDataURL(o,n).split(",")[1]),s=a.length,c=new Uint8Array(s),h=0;h=m?a.drawImage(n,d.x,d.y,d.width,d.width*g,0,0,d.width,d.width*g):a.drawImage(n,d.x,d.y,d.width,d.width/g,0,0,d.width,d.width/g)}else a.drawImage(n,d.x,d.y,d.width,d.height,0,0,d.width,d.height)}i.toBlob((function(r){var o=e.changeFileName(e.fileName,e.fileType);t?e.previewMode&&e.$emit("onPrintImg",{index:e.index,fileName:o,blob:r,file:e.dataURLtoFile(i.toDataURL("image/".concat(e.fileType)),o),dataURL:i.toDataURL("image/".concat(e.fileType))}):(e.handleClose(),e.$emit("cutDown",{index:e.index,fileName:o,blob:r,file:e.dataURLtoFile(i.toDataURL("image/".concat(e.fileType)),o),dataURL:i.toDataURL("image/".concat(e.fileType))}))}),"image/".concat(e.fileType),.95)}}),200)}}else{var i=document.createElement("canvas");i.width=e.toolBox.width,i.height=e.toolBox.height;var a=i.getContext("2d"),s=e.toolBox;if(e.rate){var c=e.rate.split(":")[0]/e.rate.split(":")[1];a.drawImage(n,s.x,s.y,s.width,s.width*c,0,0,s.width,s.width*c)}else a.drawImage(n,s.x,s.y,s.width,s.height,0,0,s.width,s.height);var h=e.changeFileName(e.fileName,e.fileType);t?e.$emit("onPrintImg",{fileName:h,dataURL:i.toDataURL("image/".concat(e.fileType))}):(e.handleClose(),e.$emit("cutDown",{fileName:h,dataURL:i.toDataURL("image/".concat(e.fileType))}))}})),"image/".concat(e.fileType)}else t||(console.warn("No picture selected"),e.$emit("error",{err:1,msg:"No picture selected"}))},scrollBarControlMove:function(t){if(this.rotateControl.active){var e=t.pageX-this.rotateControl.start.x,r=this.rotateControl.start.position+e;r<=0&&(r=0),r>=200&&(r=200),this.rotateControl.position=r,this.rotateImg.angle=(r-100)/100*180,this.printImg()}},scrollBarControlOn:function(t){this.rotateControl.active=!0,this.rotateControl.start.x=t.pageX,this.rotateControl.start.y=t.pageY,this.rotateControl.start.position=this.rotateControl.position},scrollBarControlOff:function(){this.rotateControl.active=!1}}},l=u,f=(r("6352"),r("cba8")),p=Object(f["a"])(l,o,n,!1,null,"8a2eb98c",null),d=p.exports;e["a"]=d},f4c5:function(t,e,r){var o=r("a5ba"),n=r("d16e"),i=r("3e60"),a=!i((function(t){Array.from(t)}));o({target:"Array",stat:!0,forced:a},{from:n})},f56e:function(t,e,r){var o=r("244f"),n=Math.floor;t.exports=Number.isInteger||function(t){return!o(t)&&isFinite(t)&&n(t)===t}},f680:function(t,e,r){"use strict";var o=r("3d8b"),n=r("bab7").includes,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("includes",(function(t){return n(i(this),t,arguments.length>1?arguments[1]:void 0)}))},f6a9:function(t,e,r){"use strict";var o=r("c6da"),n=r("c3fb"),i=r("3d8b"),a=r("b68d"),s=r("9535"),c=o.Int8Array,h=i.aTypedArray,u=i.exportTypedArrayMethod,l=[].toLocaleString,f=!!c&&a((function(){l.call(new c(1))})),p=a((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])}));u("toLocaleString",(function(){return n(l,f?s(h(this)):h(this),s(arguments))}),p)},f7fc:function(t,e,r){var o=r("c6da"),n=r("4d08"),i=o.TypeError;t.exports=function(t){if(n(t))throw i("The method doesn't accept regular expressions");return t}},f86e:function(t,e){t.exports=function(t,e){var r=0,o=e.length,n=new t(o);while(o>r)n[r]=e[r++];return n}},fbc1:function(t,e,r){"use strict";var o=r("3d8b"),n=r("7c9e").find,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("find",(function(t){return n(i(this),t,arguments.length>1?arguments[1]:void 0)}))},fdbc:function(t,e,r){"use strict";var o=r("3d8b"),n=r("7c9e").forEach,i=o.aTypedArray,a=o.exportTypedArrayMethod;a("forEach",(function(t){n(i(this),t,arguments.length>1?arguments[1]:void 0)}))},fe34:function(t,e,r){var o=r("e7ec");t.exports=o(1..valueOf)}}]);